/*
Theme Name: Parapolitika English Version
Theme URI: https://en.parapolitika.gr/
Author: Komninos Doulgkeris
Author URI: https://parapolitika.gr/
Description: Theme for Parapolitika news site
Version: 1.0
Text Domain: parapolitika
Tags: news
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
}

.logo{
    left: 50%;
    position: absolute;
    top: 31%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.menu-toggle {
    border: none;
    background: none;
    color: #ef3e42;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.radio-player {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.radio-info {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.radio-frequency {
    font-weight: bold;
    font-size: 18px;
    color: #6f7690;
    margin-right: 5px;
}

.radio-icon {
    margin: 0 5px;
    color: #ef3e42;
}

.radio-play {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 5px;
}

.radio-host {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.host-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 5px;
}

.host-info {
    font-size: 12px;
    line-height: 1.2;
}

.host-title {
    color: #666;
    font-weight: normal;
}

.host-name {
    font-weight: bold;
}

.social-search {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    margin-right: 15px;
}

.social-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    color: #6f7690;
}

.search-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Main Navigation */
.main-navigation {
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.main-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-menu li {
    margin: 0 15px;
    position: relative;
}

.main-menu a {
    display: block;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6f7690;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: #ef3e42;
}

/* News Grid */
.news-grid {
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-gap: 20px;
}

.main-news {
    position: relative;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.news-category {
    display: inline-block;
    background: #ef3e42;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    margin-right: 10px;
    text-transform: uppercase;
}

.news-timestamp {
    font-size: 12px;
    color: #999;
}

.news-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.news-source {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.news-image-container {
    position: relative;
    margin-bottom: 15px;
}

.news-image {
    width: 100%;
    height: auto;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(239, 62, 66, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.side-news {
    display: flex;
    flex-direction: column;
}

.left-sidebar .side-news-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    border-left: 3px solid #5b65c0;
    padding-left: 10px;
}

.right-sidebar .side-news-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    border-right: 3px solid #ef3e42;
    padding-right: 10px;
}

.side-news-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Hide border on the last sidebar item */
.left-sidebar .side-news-item:last-child,
.right-sidebar .side-news-item:last-child {
    border-bottom: none;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination-item {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.pagination-item.active {
    background: #ef3e42;
}

/* Featured Section */
.featured-section {
    margin: 30px 0;
    background: #f8f8f8;
    padding: 30px 0;
}

.featured-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 20px;
}

.featured-item {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.featured-content {
    padding: 15px;
}

.featured-item-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.featured-date {
    font-size: 12px;
    color: #999;
}

/* Footer */
.site-footer {
    background: #1b2153;
    color: #fff;
    padding: 60px 0 0;
    position: relative;
}

.footer-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

/* Footer Navigation */
.footer-navigation {
    margin-bottom: 50px;
}

.footer-nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.footer-nav-menu li {
    margin: 0;
    flex-shrink: 0;
}

.footer-nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-nav-menu a:hover {
    color: #3498db;
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 300;
}

.newsletter-form {
    margin-bottom: 20px;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-submit {
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.newsletter-submit:hover {
    color: #3498db;
}

.newsletter-terms {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}

.newsletter-terms a {
    color: #3498db;
    text-decoration: underline;
}

/* Social Media Icons */
.footer-social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    background: #3498db;
    transform: translateY(-2px);
}

/* Partner Logos */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 40px;
    width: auto;
}

.partner-logo img[src$=".svg"] {
    filter: brightness(0) invert(1);
}

.partner-logo img[src$=".png"] {
    filter: brightness(1.2) contrast(1.1);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    gap: 20px;
    min-height: 70px;
}

.footer-copyright {
    font-weight: 600;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-member {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.esiea-logo {
    max-height: 50px;
    width: auto;
}

.member-number {
    font-weight: 600;
}

/* Footer Animations and Enhancements */
.footer-nav-menu a {
    position: relative;
    overflow: hidden;
}

.footer-nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-nav-menu a:hover::before {
    width: 100%;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

.partner-logos {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improved Newsletter Form */
.newsletter-input-wrapper:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Better checkbox styling */
.checkbox-container input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    background: transparent;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-container input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Advertisements 
.ad-container {
    margin: 30px 0;
    text-align: center;
}

.ad-container img {
    max-width: 100%;
    height: auto;
}*/

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(300px);
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-list {
    list-style: none;
    padding: 20px;
}

.mobile-menu-list li {
    margin-bottom: 15px;
}

.mobile-menu-list a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Skip link */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .news-grid {
        grid-template-columns: 1fr 2fr 1fr;
        grid-gap: 15px;
    }
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .main-news {
        grid-column: span 2;
        order: -1;
    }
    
    .left-sidebar {
        order: 1;
    }
    
    .right-sidebar {
        order: 2;
    }
    
    .social-icons .social-icon:not(:nth-child(-n+4)) {
        display: none;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .main-news {
        grid-column: span 1;
    }
    
    .header-inner {
        flex-wrap: wrap;
        position: relative;
        padding: 10px 0 15px;
    }
    
    .logo-container {
        order: 2;
        width: 100%;
        justify-content: center;
        margin: 20px 0 10px;
        position: relative;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    /* Burger menu on the LEFT - closer to top */
    .menu-toggle {
        order: 1;
        position: absolute;
        left: 0;
        top: 10px;
        z-index: 10;
    }
    
    /* Hide desktop search icon on mobile (from social-search area) */
    .desktop-search-icon {
        display: none !important;
    }
    
    /* Mobile search icon on the RIGHT - closer to top, aligned with burger */
    .mobile-search-icon {
        display: flex !important;
        position: absolute;
        right: 0;
        top: 10px;
        z-index: 10;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #f0f0f0;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #6f7690;
        transition: all 0.3s ease;
    }
    
    .mobile-search-icon:hover {
        background: #e0e0e0;
        color: #ef3e42;
    }
    
    /* Social icons area - centered under logo */
    .social-search {
        order: 3;
        justify-content: center;
        margin-top: 10px;
        width: 100%;
    }
    
    /* Remove margin for social icons and center them properly */
    .social-search .social-icons {
        margin-right: 0;
        justify-content: center;
    }
    
    .main-menu {
        display: none;
    }
    
    .radio-host {
        display: none;
    }
    
    .social-icons .social-icon:not(:nth-child(-n+2)) {
        display: none;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-nav-menu a {
        font-size: 14px;
    }

    .newsletter-section {
        margin-bottom: 40px;
    }

    .newsletter-title {
        font-size: 20px;
    }

    .footer-social-media {
        gap: 12px;
        margin-bottom: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .partner-logos {
        gap: 20px;
        margin-bottom: 30px;
    }

    .partner-logo img {
        max-height: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 0;
        min-height: auto;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hide mobile search icon on desktop */
@media (min-width: 769px) {
    .mobile-search-icon {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .header-inner {
        padding: 10px 0;
    }
    
    .radio-player {
        margin-left: 5px;
    }
    
    .radio-info {
        display: none;
    }
    
    .social-icons {
        margin-right: 5px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .news-title {
        font-size: 20px;
    }
    
    .side-news-title {
        font-size: 16px;
    }

    .footer-nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-nav-menu a {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .newsletter-title {
        font-size: 18px;
    }

    .newsletter-input-wrapper {
        flex-direction: column;
        border-radius: 25px;
    }

    .newsletter-input {
        border-radius: 25px 25px 0 0;
        text-align: center;
    }

    .newsletter-submit {
        border-radius: 0 0 25px 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-social-media {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-social-media .social-media-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }

    .footer-social-media .social-media-links a {
        flex-shrink: 0;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .partner-logos {
        gap: 15px;
    }

    .partner-logo img {
        max-height: 30px;
    }

    .footer-bottom {
        font-size: 11px;
    }

    .footer-member {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .esiea-logo {
        max-height: 40px;
    }
}

/* Header Search Form */
.header-search-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.header-search-form.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-form form {
    display: flex;
    position: relative;
}

.header-search-form input[type="search"] {
    flex: 1;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}

.header-search-form button {
    background: #ef3e42;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

.close-search {
    display: none;
}

/* Additional style for sticky header */
.site-header.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

@media (max-width: 768px) {
    .header-search-form {
        width: 100%;
        left: 0;
    }
}

/* Single Post Styles */
.single-post-main {
    padding: 30px 0;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 16px;
    color: #666;
}

.breadcrumbs a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #ef3e42;
}

/* Updated breadcrumbs styling for semantic markup */
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs li:after {
    content: '/';
    margin: 0 8px;
    color: #aaa;
}

.breadcrumbs li:last-child:after {
    display: none;
}

.breadcrumbs span {
    display: inline-block;
}

.content-sidebar-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.content-area {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.sidebar-container {
    width: 320px;
}

.single-article {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
}

.post-meta-top {
    margin-bottom: 15px;
}

.post-subtitle {
    display: inline-block;
    background-color: #f8f8f8;
    color: #666;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.entry-header {
    padding: 20px 20px 0;
}

.entry-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.post-excerpt {
    font-size: 20px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 20px;
    font-weight: 300;
}

.post-featured-media {
    margin-bottom: 20px;
}

.featured-image-container {
    margin-bottom: 20px;
    position: relative;
    clear: both;
    overflow: hidden;
    z-index: 1;
    background-color: #fff;
    display: block;
}

.featured-image {
    width: 100%;
    display: block;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

.featured-image-caption {
    padding: 10px 20px;
    font-size: 16px;
    font-style: italic;
    color: #666;
    background-color: #f8f8f8;
}

.post-meta-information {
    padding: 0 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    flex-wrap: nowrap;
    width: 100%;
}

.post-meta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: flex-start;
    width: auto;
    margin-right: 20px;
    gap: 20px;
}

.post-date {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    line-height: 1;
}

.post-date:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.post-date i {
    margin-right: 6px;
    color: #ef3e42;
    font-size: 13px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.post-category {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    background: rgba(239, 62, 66, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.post-category::before {
    content: '\f02b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 6px;
    color: #ef3e42;
    font-size: 12px;
}

.post-category:hover {
    background: rgba(239, 62, 66, 0.15);
    transform: translateY(-1px);
}

.post-category a {
    color: #ef3e42;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-category a:hover {
    color: #d63031;
}

.post-author {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.post-author::before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 6px;
    color: #6c757d;
    font-size: 12px;
}

.post-author:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.post-share {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    width: auto;
    flex-wrap: wrap;
}

.share-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 5px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.share-btn:first-child {
    margin-left: 0;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.email {
    background-color: #777;
}

.share-btn.print {
    background-color: #444;
}

.share-btn:hover {
    opacity: 0.8;
}

.entry-content {
    padding: 0 20px 20px;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    position: relative;
    z-index: 2;
    background: #fff;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 28px;
    margin: 30px 0 15px;
}

.entry-content h3 {
    font-size: 24px;
    margin: 30px 0 15px;
}

.entry-content h4 {
    font-size: 20px;
    margin: 30px 0 15px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.entry-content blockquote {
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid #ef3e42;
    background-color: #f9f9f9;
    font-style: italic;
}

.entry-footer {
    padding: 0 20px 20px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tags-title {
    font-size: 18px;
    margin-right: 10px;
    font-weight: 600;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    color: #666;
    font-size: 14px;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

.tag-link:hover {
    background-color: #ef3e42;
    color: #fff;
}

.related-posts {
    margin-bottom: 30px;
}

.related-title {
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.related-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ef3e42;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Use archive post card design for related posts */
.related-post-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
}

.related-post-card:hover {
    transform: translateY(-5px);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-post-meta {
    padding: 15px 15px 5px;
    font-size: 14px;
    color: #666;
}

.related-post-meta .post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.related-post-meta .post-type {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.related-post-meta .post-type a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1;
}

.related-post-meta .post-type a:hover {
    color: #ef3e42;
}

.related-post-meta .post-type i {
    font-size: 8px;
    margin-right: 5px;
    color: #ef3e42;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.related-post-meta .post-date {
    font-size: 12px;
    color: #888;
}

.related-post-meta .post-tags-label {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.related-post-meta .category-tag {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.related-post-meta .category-tag:hover {
    background-color: #ef3e42;
    color: #fff;
}

.related-post-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 10px 15px;
    font-weight: 700;
}

.related-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-title a:hover {
    color: #ef3e42;
}

.related-post-excerpt {
    padding: 0 15px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    flex-grow: 1;
}

/* Category color styling for related posts */
.related-post-card .category-politiki .post-type i,
.related-post-card .category-politiki .post-type { color: #e74c3c; }

.related-post-card .category-ellada .post-type i,
.related-post-card .category-ellada .post-type { color: #1abc9c; }

.related-post-card .category-oikonomia .post-type i,
.related-post-card .category-oikonomia .post-type { color: #3498db; }

.related-post-card .category-kosmos .post-type i,
.related-post-card .category-kosmos .post-type { color: #9b59b6; }

.related-post-card .category-media .post-type i,
.related-post-card .category-media .post-type { color: #f39c12; }

/* Sidebar styles */
.widget {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.widget-title {
    background-color: #f5f5f5;
    color: #333;
    padding: 15px;
    margin: 0;
    font-size: 20px;
    border-bottom: 1px solid #eee;
}

.roh-widget-content {
    padding: 15px;
}

.roh-news-item {
    display: flex;
    margin-bottom: 15px;
    position: relative;
}

.roh-news-item:last-child {
    margin-bottom: 0;
}

.roh-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    min-width: 50px;
}

.time-label {
    background-color: #ef3e42;
    color: white;
    font-size: 14px;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 5px;
    text-align: center;
}

.time-line {
    flex-grow: 1;
    width: 2px;
    background-color: #eee;
}

.roh-news-item:last-child .time-line {
    display: none;
}

.roh-content {
    padding-bottom: 15px;
}

.roh-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.roh-title a {
    color: #333;
    transition: color 0.3s;
}

.roh-title a:hover {
    color: #ef3e42;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .content-sidebar-wrap {
        flex-direction: column;
    }
    
    .content-area, 
    .sidebar-container {
        width: 100%;
        max-width: 100%;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .entry-title {
        font-size: 30px;
    }
    
    .post-excerpt {
        font-size: 18px;
    }
    
    .post-meta-information {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 15px;
    }
    
    .post-meta {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
    }
    
    .post-date,
    .post-category,
    .post-author {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .post-share {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
        justify-content: flex-start;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-post-meta .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .single-post-main {
        padding: 15px 0;
    }
    
    .entry-header, 
    .entry-content, 
    .entry-footer {
        padding: 15px;
    }
    
    .entry-title {
        font-size: 26px;
    }
    
    .post-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tags-title {
        margin-bottom: 10px;
    }
}

/* Archive Pages (Category & Tag) */
.archive-main {
    padding: 30px 0;
}

.category-header, .tag-header {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    position: relative;
}

.category-title, .tag-title {
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 15px;
    margin-bottom: 0;
    position: relative;
    text-transform: uppercase;
}

.category-title:after, .tag-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: #ef3e42;
}

.category-description, .tag-description {
    margin: 15px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.pagination-navigation {
    margin: 30px 0;
    text-align: center;
}

/* WordPress Pagination Styles */
.pagination-navigation .nav-links {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.pagination-navigation .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 10px 14px;
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 5px;
}

.pagination-navigation .page-numbers:hover,
.nav-links .page-numbers:hover {
    background: #f8f9fa;
    border-color: #ef3e42;
    color: #ef3e42;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 62, 66, 0.2);
}

.pagination-navigation .page-numbers.current,
.nav-links .page-numbers.current {
    background: #ef3e42;
    border-color: #ef3e42;
    color: #fff;
    cursor: default;
    box-shadow: 0 4px 12px rgba(239, 62, 66, 0.4);
    font-weight: 700;
}

.pagination-navigation .page-numbers.current:hover,
.nav-links .page-numbers.current:hover {
    background: #d63538;
    border-color: #d63538;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 62, 66, 0.5);
}

.pagination-navigation .page-numbers.prev,
.pagination-navigation .page-numbers.next,
.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
    padding: 10px 16px;
    font-weight: 600;
}

.pagination-navigation .page-numbers.prev:hover,
.pagination-navigation .page-numbers.next:hover,
.nav-links .page-numbers.prev:hover,
.nav-links .page-numbers.next:hover {
    background: #ef3e42;
    border-color: #ef3e42;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 62, 66, 0.3);
}

.pagination-navigation .page-numbers i,
.nav-links .page-numbers i {
    font-size: 12px;
}

.pagination-navigation .page-numbers.dots,
.nav-links .page-numbers.dots {
    background: transparent;
    border: none;
    color: #999;
    cursor: default;
}

.pagination-navigation .page-numbers.dots:hover,
.nav-links .page-numbers.dots:hover {
    background: transparent;
    border: none;
    color: #999;
    transform: none;
    box-shadow: none;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-navigation .page-numbers a,
    .pagination-navigation .page-numbers span {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .pagination-navigation .page-numbers {
        gap: 4px;
    }
    
    .pagination-navigation .page-numbers .prev,
    .pagination-navigation .page-numbers .next {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .pagination-navigation .page-numbers a,
    .pagination-navigation .page-numbers span {
        min-width: 32px;
        height: 32px;
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .pagination-navigation .page-numbers {
        gap: 2px;
    }
    
    .pagination-navigation .page-numbers .prev,
    .pagination-navigation .page-numbers .next {
        padding: 4px 10px;
    }
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.archive-post-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
}

.archive-post-card:hover {
    transform: translateY(-5px);
}

.archive-post-image {
    height: 200px;
    overflow: hidden;
}

.archive-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.archive-post-card:hover .archive-post-image img {
    transform: scale(1.05);
}

.archive-post-meta {
    padding: 15px 15px 5px;
    font-size: 14px;
    color: #666;
}

.post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.post-type {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.post-type a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1;
}

.post-type a:hover {
    color: #ef3e42;
}

.post-type i {
    font-size: 8px;
    margin-right: 5px;
    color: #ef3e42;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.post-date {
    font-size: 12px;
    color: #888;
}

.post-tags-label {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-tag {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.category-tag:hover {
    background-color: #ef3e42;
    color: #fff;
}

.archive-post-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 8px 15px;
}

.archive-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive-post-title a:hover {
    color: #ef3e42;
}

.archive-post-excerpt {
    padding: 0 15px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    flex-grow: 1;
}

/* Category color styling for news archive */
.archive-post-item .category-politiki .post-type i,
.archive-post-item .category-politiki .post-type { color: #e74c3c; }

.archive-post-item .category-ellada .post-type i,
.archive-post-item .category-ellada .post-type { color: #1abc9c; }

.archive-post-item .category-oikonomia .post-type i,
.archive-post-item .category-oikonomia .post-type { color: #3498db; }

.archive-post-item .category-kosmos .post-type i,
.archive-post-item .category-kosmos .post-type { color: #9b59b6; }

.archive-post-item .category-media .post-type i,
.archive-post-item .category-media .post-type { color: #f39c12; }

/* Responsive Design for News Archive */
@media (max-width: 992px) {
    .archive-post-item {
        flex-direction: row; /* Keep horizontal on tablet */
    }
    
    .archive-post-image {
        flex: 0 0 300px; /* Smaller image on tablet with 16:9 ratio */
        height: 169px; /* 300px ÷ 16 × 9 = 168.75px ≈ 169px */
    }
    
    .archive-post-content {
        padding: 20px;
    }
    
    .archive-post-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .archive-post-item {
        flex-direction: column; /* Stack vertically on mobile */
    }
    
    .archive-post-image {
        flex: none; /* Remove flex properties */
        width: 100%; /* Full width on mobile */
        height: 200px;
        order: -1; /* Image on top for mobile */
    }
    
    .archive-post-content {
        padding: 20px;
        order: 1; /* Content below image on mobile */
    }
    
    .archive-post-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .archive-post-excerpt {
        font-size: 14px;
        margin-top: 0; /* Remove auto margin on mobile */
    }
    
    .archive-post-meta .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .category-posts-grid {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .archive-post-content {
        padding: 15px;
    }
    
    .archive-post-title {
        font-size: 16px;
        line-height: 1.4;
        margin: 8px 15px;
    }
    
    .archive-post-excerpt {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .archive-post-image {
        height: 180px;
    }
    
    .archive-post-meta {
        padding: 12px 15px 5px;
    }
}

/* Search Results - Relevant Tags */
.search-relevant-tags {
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.relevant-tags-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.relevant-tags-title:before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: #ef3e42;
    margin-right: 8px;
}

.search-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.search-tag-link:hover {
    background: #ef3e42;
    color: #fff;
    border-color: #ef3e42;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(239, 62, 66, 0.2);
}

.search-tag-link i {
    font-size: 10px;
    opacity: 0.8;
}

.search-tag-link .tag-count {
    font-size: 11px;
    opacity: 0.7;
    margin-left: 2px;
}

.search-tag-link:hover .tag-count {
    opacity: 0.9;
}

/* No Results Suggestions */
.no-results-suggestions {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ef3e42;
}

.no-results-suggestions h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-results-suggestions .search-tags-list {
    margin-top: 10px;
}

/* Responsive Design for Search Tags */
@media (max-width: 768px) {
    .search-relevant-tags {
        margin-top: 15px;
        padding: 15px 0;
    }
    
    .relevant-tags-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .search-tags-list {
        gap: 6px;
    }
    
    .search-tag-link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .no-results-suggestions {
        margin: 20px 0;
        padding: 15px;
    }
    
    .no-results-suggestions h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .search-tag-link {
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 15px;
    }
    
    .search-tag-link i {
        font-size: 9px;
    }
    
    .search-tag-link .tag-count {
        font-size: 10px;
    }
}

/* Social Menu Styling */
.social-media-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.social-media-links li {
    margin: 0;
}

.social-media-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #6f7690;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media-links a:hover {
    background: #ef3e42;
    color: #fff;
    transform: translateY(-2px);
}

.social-media-links .screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

/* Social icons in header */
.social-icons .social-media-links a {
    width: 30px;
    height: 30px;
    background: transparent;
    color: #6f7690;
}

.social-icons .social-media-links a:hover {
    color: #ef3e42;
    background: transparent;
    transform: none;
}

/* Social icons in footer */
.footer-social-media .social-media-links {
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.footer-social-media .social-media-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 18px;
}

.footer-social-media .social-media-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

/* Footer Legal Menu */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-legal-links li {
    margin: 0;
    position: relative;
}

.footer-legal-links li:not(:last-child)::after {
    content: "|";
    color: rgba(255, 255, 255, 0.3);
    margin-left: 15px;
    font-size: 12px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    margin-right: 15px;
}

.footer-legal-links a:hover {
    color: #fff;
}

/* Base category posts grid */
.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .category-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .archive-post-meta .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Small mobile breakpoint */
@media (max-width: 576px) {
    .category-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .archive-post-content {
        padding: 15px;
    }
    
    .archive-post-title {
        font-size: 16px;
        line-height: 1.4;
        margin: 8px 15px;
    }
    
    .archive-post-excerpt {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .archive-post-image {
        height: 180px;
    }
    
    .archive-post-meta {
        padding: 12px 15px 5px;
    }
}

/* News Archive Page Layout */
.news-archive-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-archive-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: row;
    min-height: 200px;
}

.news-archive-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.news-archive-image {
    flex: 0 0 300px;
    overflow: hidden;
    position: relative;
}

.news-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-archive-item:hover .news-archive-image img {
    transform: scale(1.05);
}

.news-archive-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
}

.news-archive-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-archive-meta {
    margin-bottom: 15px;
}

.news-archive-meta .post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-archive-meta .post-tags-label {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.news-archive-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.news-archive-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-archive-title a:hover {
    color: #ef3e42;
}

.news-archive-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-top: auto;
}

/* Responsive behavior for news archive */
@media (max-width: 768px) {
    .news-archive-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-archive-image {
        flex: none;
        height: 200px;
    }
    
    .news-archive-content {
        padding: 15px;
    }
    
    .news-archive-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .news-archive-excerpt {
        font-size: 14px;
    }
    
    .news-archive-meta .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .news-archive-list {
        gap: 20px;
    }
    
    .news-archive-content {
        padding: 12px;
    }
    
    .news-archive-title {
        font-size: 16px;
    }
    
    .news-archive-excerpt {
        font-size: 13px;
    }
    
    .news-archive-image {
        height: 180px;
    }
}

/* News List Page Layout */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-list-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: row;
    min-height: 200px;
}

.news-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.news-list-image {
    flex: 0 0 365px;
    height: 205px;
    overflow: hidden;
    position: relative;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.05);
}

.news-list-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
}

.news-list-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-list-meta {
    margin-bottom: 15px;
}

.news-list-meta .post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-list-meta .post-tags-label {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.news-list-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.news-list-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-list-title a:hover {
    color: #ef3e42;
}

.news-list-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-top: auto;
}

/* Responsive behavior for news list */
@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-list-image {
        flex: none;
        width: 100%;
        height: 200px;
    }
    
    .news-list-content {
        padding: 15px;
    }
    
    .news-list-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .news-list-excerpt {
        font-size: 14px;
    }
    
    .news-list-meta .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .news-list {
        gap: 20px;
    }
    
    .news-list-content {
        padding: 12px;
    }
    
    .news-list-title {
        font-size: 16px;
    }
    
    .news-list-excerpt {
        font-size: 13px;
    }
    
    .news-list-image {
        height: 180px;
    }
}
