/*
Theme Name: Stations Directory
Theme URI: https://stations.ae
Description: A professional directory theme for stations in UAE - includes subway, bus, train, traffic police, fuel, gas, power, EV charging, and car inspection stations
Author: Stations.ae
Author URI: https://stations.ae
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stations-directory
Tags: directory, business, listings, locations, stations
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Retina-Ready Image Rendering */
img {
    max-width: 100%;
    height: auto;
    -ms-interpolation-mode: bicubic;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: opacity 0.3s;
}

.site-logo:hover {
    opacity: 0.8;
}

.logo-icon {
    font-size: 32px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WordPress custom logo */
.site-logo .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-logo .custom-logo {
    height: auto;
    object-fit: contain;
}

/* If you want to use an image logo instead of emoji */
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-navigation ul,
.main-navigation .primary-menu {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
    padding: 8px 14px;
    border-radius: 6px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    width: auto;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    transform: scaleX(1);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #667eea;
}

/* Dropdown indicator for menu items with children */
.main-navigation .menu-item-has-children > a::before {
    content: "▼";
    font-size: 9px;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.main-navigation .menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
    opacity: 1;
}

/* Bridge element to prevent submenu from closing */
.main-navigation .menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
    background: transparent;
}

/* Submenu styles */
.main-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    padding: 10px 0;
    min-width: 230px;
    border-radius: 12px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(0,0,0,0.06);
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.main-navigation .sub-menu li {
    width: 100%;
    display: block;
}

.main-navigation .sub-menu a {
    padding: 10px 20px;
    display: block;
    white-space: normal;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.2s ease;
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding-left: 26px;
    color: #667eea;
}

/* CTA Button */
.header-cta-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 10px 25px !important;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.header-cta-btn::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 0;
}

.menu-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 5px auto;
    transition: all 0.3s;
    border-radius: 3px;
}

.mobile-menu-toggle.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .logo-text {
        font-size: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        padding: 80px 30px 30px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 1000;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul,
    .main-navigation .primary-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-navigation li {
        width: 100%;
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .main-navigation .sub-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 0;
        border-radius: 0;
        background: rgba(102, 126, 234, 0.05);
        transition: all 0.3s ease;
        transform: none;
    }
    
    .main-navigation .menu-item-has-children.active > .sub-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }
    
    .main-navigation .menu-item-has-children > a {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .main-navigation .menu-item-has-children.active > a::after {
        transform: rotate(180deg);
    }
    
    .main-navigation .sub-menu a {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .header-cta-btn {
        margin-top: 20px;
        width: 100%;
        text-align: center;
        border-radius: 25px;
    }
    
    .header-info span {
        font-size: 12px;
    }
    
    .header-contact {
        font-size: 12px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M50 0L100 50 50 100 0 50z" fill="%23ffffff" opacity="0.03"/%3E%3C/svg%3E');
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: white;
    font-weight: 800;
}

/* Keyword Rotator */
.keyword-rotator {
    display: inline-block;
    position: relative;
    color: #ffd700;
    font-weight: 800;
}

.keyword-rotator .keyword {
    display: inline-block;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.keyword-rotator .keyword.active {
    opacity: 1;
    position: relative;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    color: white;
    opacity: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Enhanced Search Box */
.search-box-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.search-box {
    background: white;
    border-radius: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 0 20px;
    position: relative;
}

.search-icon {
    color: #6c757d;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-box input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 18px 0;
    font-size: 16px;
    outline: none;
    color: #2c3e50;
}

.search-box input[type="text"]::placeholder {
    color: #adb5bd;
}

.clear-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.clear-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.search-select {
    border: none;
    background: #f8f9fa;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 15px;
    color: #2c3e50;
    cursor: pointer;
    outline: none;
    font-weight: 500;
    min-width: 180px;
    transition: background 0.2s;
}

.search-select:hover {
    background: #e9ecef;
}

.search-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.search-submit svg {
    stroke: white;
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    border: 1px solid #e9ecef;
}

.search-results-content {
    padding: 8px;
}

.search-result-item {
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    border: 2px solid transparent;
}

.search-result-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 120, 229, 0.08) 100%);
    border-color: rgba(118, 120, 229, 0.2);
    transform: translateX(4px);
}

.search-result-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    font-size: 13px;
    color: #7678e5;
    font-weight: 500;
    background: rgba(118, 120, 229, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.search-result-item svg {
    color: #adb5bd;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-result-item:hover svg {
    color: #7678e5;
    transform: translateX(3px);
}

.search-no-results {
    padding: 50px 20px;
    text-align: center;
    color: #6c757d;
}

.search-no-results svg {
    margin-bottom: 15px;
    opacity: 0.4;
    color: #adb5bd;
}

/* Loading Indicator */
.search-loading {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #7678e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white !important;
}

.hero-stats .stat-label {
    font-size: 14px;
    color: white !important;
    opacity: 1;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-label {
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #7678e5;
    outline: none;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.filter-btn:hover,
.filter-btn.active {
    background: #7678e5;
    color: white;
    border-color: #7678e5;
}

/* Category Cards on Homepage */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.category-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.category-card:hover .category-icon svg {
    transform: scale(1.1);
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.category-count {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
}

.category-arrow {
    color: #7678e5;
    font-size: 24px;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Station Grid */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.station-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.06);
}

.station-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: rgba(118, 120, 229, 0.2);
}

.station-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    overflow: hidden;
    position: relative;
}

.station-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.station-content {
    padding: 22px;
}

.station-category {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.station-title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.4;
}

.station-address {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.station-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.stars {
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
}

.rating-text {
    color: #6c757d;
    font-size: 13px;
    font-weight: 400;
}

.station-meta {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    font-size: 13px;
}

.station-phone,
.station-website {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #7678e5;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.station-phone:hover,
.station-website:hover {
    background: #7678e5;
    color: white;
    border-color: #7678e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118, 120, 229, 0.3);
}

.station-phone svg,
.station-website svg {
    flex-shrink: 0;
}

/* Single Station Page */
.single-station-header {
    background: white;
    padding: 40px 0;
}

.single-station .station-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
}

.single-station h1 {
    font-size: 36px;
    line-height: 1.3;
    color: #2c3e50;
    margin-bottom: 15px;
}

.station-main-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.station-details h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.station-info-grid {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: #7678e5;
    box-shadow: 0 4px 12px rgba(118, 120, 229, 0.1);
}

.info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(118, 120, 229, 0.2);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content h3 {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-content p {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.5;
}

.station-map {
    background: #e0e0e0;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

/* Author Archive Template - Professional E-E-A-T Design */
.author-archive-professional {
    background: #fafbfc;
}

/* Author Profile Header */
.author-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
}

.author-profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 100 0 L 0 0 0 100" fill="none" stroke="white" stroke-width="1" opacity="0.05"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100" height="100" fill="url(%23grid)" /%3E%3C/svg%3E');
    opacity: 0.4;
}

.author-profile-hero {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.author-profile-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.author-profile-image:hover {
    transform: scale(1.05);
}

.author-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-profile-info {
    flex: 1;
}

.author-profile-name {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.author-profile-title {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 25px 0;
    line-height: 1.5;
    font-weight: 400;
}

.author-social-links {
    display: flex;
    gap: 14px;
    margin-top: 25px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.3);
}

.social-link.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-link.linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: #dc2743; }
.social-link.twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.social-link.youtube:hover { background: #ff0000; border-color: #ff0000; }
.social-link.website:hover { background: #7678e5; border-color: #7678e5; }
.social-link.email:hover { background: #34a853; border-color: #34a853; }

/* Author Sections */
.author-section {
    padding: 60px 0;
    background: white;
}

.author-section:nth-child(even) {
    background: #fafbfc;
}

.author-section:last-of-type {
    padding-bottom: 80px;
}

.author-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 35px 0;
    padding-bottom: 0;
    position: relative;
    letter-spacing: -0.5px;
}

.author-section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Expertise Section */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.expertise-tag {
    padding: 14px 28px;
    background: white;
    color: #333;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.expertise-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Education Section */
.education-content {
    font-size: 19px;
    line-height: 1.7;
    margin-top: 10px;
}

.education-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #7678e5;
    text-decoration: none;
    font-weight: 700;
    font-size: 19px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.education-link:hover {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.education-link svg {
    transition: transform 0.3s ease;
}

.education-link:hover svg {
    transform: translate(3px, -3px);
}

/* Highlights Section */
.highlights-content {
    position: relative;
}

.highlights-list {
    list-style: disc;
    margin: 0 0 0 25px;
    padding: 0;
}

.highlight-item {
    font-size: 17px;
    line-height: 1.9;
    position: relative;
    color: #333;
    margin-bottom: 20px;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-item strong {
    color: #1a1a1a;
    font-weight: 700;
}

.highlight-item p {
    margin: 8px 0;
    display: inline;
}

/* Experience Section */
.experience-content {
    font-size: 18px;
    line-height: 1.9;
    color: #374151;
    margin-top: 10px;
}

.experience-content p {
    margin-bottom: 22px;
}

.experience-content h3,
.experience-content h4 {
    color: #1a1a1a;
    font-weight: 800;
    margin: 35px 0 18px 0;
    letter-spacing: -0.3px;
}

.experience-content h3 {
    font-size: 24px;
}

.experience-content h4 {
    font-size: 20px;
}

.experience-content ul,
.experience-content ol {
    margin: 18px 0 18px 30px;
}

.experience-content li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.experience-content strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* Author Articles Section */
.author-posts-section {
    padding: 70px 0 90px;
    background: white;
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.articles-count {
    font-size: 16px;
    color: #7678e5;
    font-weight: 700;
    padding: 12px 24px;
    background: white;
    border-radius: 50px;
    border: 2px solid #7678e5;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.author-articles-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.author-article-item {
    background: white;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 35px;
    border: 2px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.author-article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-article-item:hover::before {
    height: 100%;
}

.author-article-item:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: #7678e5;
    transform: translateY(-4px);
}

.article-item-content {
    flex: 1;
}

.article-category {
    margin-bottom: 14px;
}

.article-category a {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.article-category a:hover {
    background: linear-gradient(135deg, #5558d9 0%, #6638a0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.article-item-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 14px 0;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.article-item-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-item-title a:hover {
    color: #7678e5;
}

.article-item-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

.article-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid #a5d6a7;
    box-shadow: 0 2px 6px rgba(46, 125, 50, 0.15);
}

.article-badge.reviewed {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border-color: #90caf9;
    box-shadow: 0 2px 6px rgba(21, 101, 192, 0.15);
}

.article-date {
    color: #9ca3af;
    font-weight: 500;
}

.article-item-image {
    width: 200px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-article-item:hover .article-item-image img {
    transform: scale(1.1);
}

/* Pagination */
.author-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.author-pagination a,
.author-pagination span {
    padding: 12px 20px;
    background: white;
    color: #374151;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.author-pagination a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.3);
}

.author-pagination .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.no-articles-message {
    text-align: center;
    padding: 100px 20px;
    color: #9ca3af;
    font-size: 18px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .author-profile-hero {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }
    
    .author-profile-image {
        width: 180px;
        height: 180px;
    }
    
    .author-profile-name {
        font-size: 44px;
    }
    
    .author-profile-title {
        font-size: 20px;
    }
    
    .author-social-links {
        justify-content: center;
    }
    
    .author-section-title {
        font-size: 28px;
    }
    
    .articles-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .author-article-item {
        flex-direction: column-reverse;
        padding: 28px;
    }
    
    .article-item-image {
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .author-profile-header {
        padding: 60px 0 60px;
    }
    
    .author-profile-image {
        width: 160px;
        height: 160px;
        border-width: 5px;
    }
    
    .author-profile-name {
        font-size: 38px;
    }
    
    .author-profile-title {
        font-size: 18px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .author-section {
        padding: 45px 0;
    }
    
    .author-section-title {
        font-size: 26px;
        margin-bottom: 28px;
    }
    
    .expertise-tag {
        padding: 12px 22px;
        font-size: 15px;
    }
    
    .highlights-content {
        padding: 30px 25px;
    }
    
    .experience-content {
        padding: 28px 22px;
    }
    
    .article-item-title {
        font-size: 21px;
    }
    
    .article-item-image {
        height: 200px;
    }
    
    .author-article-item {
        padding: 24px;
    }
    
    .author-posts-section {
        padding: 50px 0 70px;
    }
}

@media (max-width: 480px) {
    .author-profile-name {
        font-size: 32px;
    }
    
    .author-profile-title {
        font-size: 16px;
    }
    
    .author-section-title {
        font-size: 24px;
    }
    
    .expertise-tag {
        font-size: 14px;
        padding: 10px 18px;
    }
    
    .article-item-title {
        font-size: 19px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Footer */
.site-footer {
    background: #7678e5;
    color: white;
    margin-top: 80px;
    font-size: 17px;
    line-height: 1.8;
}

.footer-content {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 35px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    letter-spacing: -0.3px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin: 0;
    font-size: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 16px;
}

.footer-links a:hover {
    color: white;
    padding-left: 6px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
    font-size: 16px;
}

.footer-contact strong {
    color: white;
    font-weight: 700;
}

.footer-follow-us {
    text-align: center;
    padding: 25px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.follow-us-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px;
}

.footer-social {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.social-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.8);
    transition: fill 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    border-color: transparent;
}

.social-icon:hover svg {
    fill: white;
}

.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.twitter:hover {
    background: #1da1f2;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 15px;
    justify-self: start;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-self: end;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Disclaimer Banner */
.disclaimer-banner {
    padding: 60px 0;
    background: #f8f9fa;
}

.disclaimer-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: white;
    border: 2px solid #e8e0f3;
    border-left: 5px solid #7678e5;
    border-radius: 12px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(118, 120, 229, 0.08);
}

.disclaimer-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(118, 120, 229, 0.1);
    border-radius: 50%;
    color: #7678e5;
}

.disclaimer-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
}

.disclaimer-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.disclaimer-text strong {
    color: #7678e5;
    font-weight: 700;
}

@media (max-width: 600px) {
    .disclaimer-inner {
        flex-direction: column;
        padding: 28px 24px;
        gap: 18px;
    }
    
    .disclaimer-text h3 {
        font-size: 20px;
    }
    
    .disclaimer-text p {
        font-size: 16px;
    }
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .footer-content {
        padding: 55px 0 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        padding: 45px 0 35px;
    }
    
    .footer-heading {
        font-size: 20px;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }
    
    .footer-bottom p {
        justify-self: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        justify-self: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .search-bar button {
        border-radius: 8px;
    }
    
    .stations-grid {
        grid-template-columns: 1fr;
    }
    
    .station-main-info {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        width: 100%;
    }
}

/* Pagination */
.pagination-wrapper {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination,
.page-numbers {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap;
}

.pagination li,
.page-numbers li {
    display: inline-flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pagination li::before,
.page-numbers li::before {
    content: none !important;
    display: none !important;
}

.page-numbers a,
.page-numbers span.current,
.page-numbers span.dots {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    background: white;
    list-style: none !important;
}

.page-numbers a:hover {
    background: #f3f4f6 !important;
    border-color: #7678e5 !important;
    color: #7678e5 !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(118, 120, 229, 0.15);
}

.page-numbers span.current {
    background: #7678e5 !important;
    color: white !important;
    border-color: #7678e5 !important;
    box-shadow: 0 2px 8px rgba(118, 120, 229, 0.3);
}

.page-numbers span.dots {
    border: none !important;
    background: transparent !important;
    color: #9ca3af !important;
    font-weight: bold !important;
    min-width: 30px !important;
    pointer-events: none;
}

.page-numbers a.prev,
.page-numbers a.next {
    padding: 0 20px !important;
    min-width: auto;
}

/* Pagination responsive */
@media (max-width: 768px) {
    .page-numbers a,
    .page-numbers span.current {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .page-numbers a.prev,
    .page-numbers a.next {
        padding: 0 15px !important;
        font-size: 13px;
    }
    
    .pagination,
    .page-numbers {
        gap: 6px;
    }
}

/* Breadcrumb */
.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

/* SEO Breadcrumbs Navigation */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #7678e5;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #5557c0;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #6c757d;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 500;
}

/* Results header */
.results-header {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #777;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #555;
}

.no-results p {
    color: #777;
}
/* Station Features (About Section) */
.station-features {
    display: grid;
    gap: 20px;
}

.station-features .feature-section {
    background: white;
    padding: 15px 20px;
    border-radius: 6px;
    border-left: 3px solid #7678e5;
}

.station-features .feature-section h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 16px;
}

.station-features .feature-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.station-features .feature-section li {
    padding: 6px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.station-features .feature-section li:last-child {
    border-bottom: none;
}

/* Blog Styles */
.blog-header,
.archive-header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #7678e5 0%, #5b5dc9 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 40px;
}

.blog-title,
.archive-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.blog-description,
.archive-description {
    font-size: 18px;
    opacity: 0.9;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    --blog-card-text-align: left;
}

.blog-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.blog-post-card .post-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    align-items: stretch;
}

.blog-post-card .post-card-link:hover .post-card-title {
    color: #7678e5;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.blog-post-card .post-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.08);
}

.post-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: var(--blog-card-text-align);
}

.post-categories-badges {
    margin-bottom: 5px;
}

.category-badge {
    display: inline-block;
    background: transparent;
    color: #666;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
}

.post-card-title {
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
    font-weight: 600;
    flex: 1;
    transition: color 0.3s ease;
}

.post-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: #7678e5;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
    margin-top: auto;
    padding-top: 10px;
}

.post-card-meta .meta-separator {
    color: #ddd;
}

.post-card-meta .post-date,
.post-card-meta .post-reading-time,
.post-card-meta .post-author {
    color: #999;
}

.post-card-meta .meta-separator {
    margin: 0 6px;
    color: #999;
}

.post-card-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 15px 0;
}

.post-card-excerpt p {
    margin: 0;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: #7678e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #5b5dc9;
    transform: translateX(3px);
}

/* Responsive grid */
@media (max-width: 1200px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-post-card .post-thumbnail {
        height: 220px;
    }
}

/* Modern Page Layout */
.page-main {
    background: #f8f9fa;
    padding: 40px 0 80px;
}

.page-layout {
    max-width: 100%;
}

.page-content-wrapper {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.page-article {
    padding: 0;
}

.page-featured-image {
    width: 100%;
    margin-bottom: 0;
}

.page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-inner {
    padding: 45px 50px 50px;
}

.page-article-header {
    margin-bottom: 35px;
}

.page-article-title {
    font-size: 40px;
    color: #1a1a2e;
    margin: 0 0 18px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-title-divider {
    width: 60px;
    height: 4px;
    background: #7678e5;
    border-radius: 2px;
}

.page-article-content {
    font-size: 18px;
    line-height: 1.85;
    color: #444;
}

.page-article-content h2 {
    font-size: 30px;
    margin: 40px 0 18px;
    color: #1a1a2e;
    font-weight: 700;
    line-height: 1.3;
}

.page-article-content h3 {
    font-size: 24px;
    margin: 32px 0 14px;
    color: #1a1a2e;
    font-weight: 700;
    line-height: 1.35;
}

.page-article-content h4 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #2c3e50;
    font-weight: 600;
}

.page-article-content p {
    margin-bottom: 22px;
}

.page-article-content ul,
.page-article-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.page-article-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.page-article-content a {
    color: #7678e5;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.page-article-content a:hover {
    color: #5b5dc9;
}

.page-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.page-article-content blockquote {
    margin: 30px 0;
    padding: 20px 25px 20px 28px;
    border-left: 4px solid #7678e5;
    background: #f8f8ff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.page-article-content blockquote p:last-child {
    margin-bottom: 0;
}

.page-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 16px;
}

.page-article-content table th,
.page-article-content table td {
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.page-article-content table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a2e;
}

.page-article-content table tr:hover {
    background: #fafafe;
}

.page-comments-wrapper {
    padding: 40px 50px;
    border-top: 1px solid #f0f0f0;
}

.page-links {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-links-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-right: 4px;
}

.page-links a,
.page-links > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.page-links a {
    background: #f0f0ff;
    color: #7678e5;
}

.page-links a:hover {
    background: #7678e5;
    color: white;
}

.page-links > span {
    background: #7678e5;
    color: white;
}

/* Responsive Page Layout */
@media (max-width: 768px) {
    .page-main {
        padding: 20px 0 50px;
    }

    .page-inner {
        padding: 30px 20px 35px;
    }

    .page-article-title {
        font-size: 30px;
    }

    .page-article-content {
        font-size: 16px;
    }

    .page-article-content h2 {
        font-size: 24px;
        margin-top: 30px;
    }

    .page-article-content h3 {
        font-size: 20px;
    }

    .page-comments-wrapper {
        padding: 25px 20px;
    }
}

/* Contact Page Styles */
.contact-page {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.page-header-contact {
    background: linear-gradient(135deg, #7678e5 0%, #5b5dc9 100%);
    color: white;
    padding: 60px 50px;
    text-align: center;
}

.page-header-contact .page-title {
    font-size: 48px;
    color: white;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

/* Contact Info Bar */
.contact-info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid #eee;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    border-right: 1px solid #eee;
    transition: background 0.2s;
}

.contact-info-item:last-child {
    border-right: none;
}

.contact-info-item:hover {
    background: #f8f8ff;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0f0ff 0%, #e8e8ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7678e5;
    flex-shrink: 0;
}

.contact-info-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-info-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.contact-info-detail span,
.contact-info-detail a {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    word-break: break-word;
}

.contact-info-detail a:hover {
    color: #7678e5;
}

/* Contact Wrapper */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    padding: 0;
}

/* Contact Sidebar */
.contact-sidebar {
    padding: 45px 40px;
    border-right: 1px solid #eee;
}

.contact-sidebar h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-sidebar > p {
    color: #777;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-reason {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-reason:last-child {
    border-bottom: none;
}

.contact-reason-icon {
    width: 40px;
    height: 40px;
    background: #f5f5ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7678e5;
    flex-shrink: 0;
}

.contact-reason h4 {
    font-size: 15px;
    color: #2c3e50;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.contact-reason p {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fafafe;
    padding: 45px 40px;
}

.contact-form-wrapper h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2c3e50;
}

/* Alerts */
.contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 500;
}

.contact-alert--success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.contact-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7678e5;
    box-shadow: 0 0 0 3px rgba(118, 120, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #7678e5;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background: #5b5dc9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 120, 229, 0.3);
}

/* Contact Page Responsive */
@media (max-width: 968px) {
    .contact-info-bar {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info-item:nth-child(2) {
        border-right: none;
    }

    .contact-info-item:nth-child(1),
    .contact-info-item:nth-child(2) {
        border-bottom: 1px solid #eee;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 35px 30px;
    }
    
    .page-header-contact {
        padding: 40px 20px;
    }
    
    .page-header-contact .page-title {
        font-size: 36px;
    }
    
    .contact-form-wrapper {
        padding: 35px 30px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-info-bar {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .contact-info-item:last-child {
        border-bottom: none;
    }

    .contact-sidebar,
    .contact-form-wrapper {
        padding: 28px 20px;
    }
}

/* About Page Styles */
.about-page {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.about-header {
    background: linear-gradient(135deg, #7678e5 0%, #5b5dc9 100%);
    color: white;
    padding: 80px 50px;
    text-align: center;
}

.about-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.about-subtitle {
    font-size: 20px;
    opacity: 0.95;
}

.about-content {
    padding: 60px 50px;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f0ff 100%);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e8e8ff;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(118, 120, 229, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #7678e5;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.about-features {
    margin-bottom: 60px;
}

.about-features h2 {
    font-size: 36px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    background: #f9f9f9;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.feature-box:hover {
    background: #f0f0ff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(118, 120, 229, 0.15);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.about-mission {
    background: linear-gradient(135deg, #7678e5 0%, #5b5dc9 100%);
    color: white;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.mission-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.mission-content p {
    font-size: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
}

.custom-content {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

/* About Page Responsive */
@media (max-width: 968px) {
    .about-header {
        padding: 50px 30px;
    }
    
    .about-header h1 {
        font-size: 36px;
    }
    
    .about-content {
        padding: 40px 30px;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-mission {
        padding: 40px 30px;
    }
    
    .mission-content h2 {
        font-size: 28px;
    }
    
    .mission-content p {
        font-size: 18px;
    }
}

/* About Page — Clean Text Layout */
.about-content--text {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 50px;
}

.about-text-section {
    margin-bottom: 0;
    padding-bottom: 40px;
    padding-top: 40px;
    border-bottom: 1px solid #eaeaea;
}

.about-text-section:first-child {
    padding-top: 0;
}

.about-text-section:last-of-type {
    border-bottom: none;
}

.about-text-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    position: relative;
    padding-left: 18px;
}

.about-text-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: #7678e5;
}

.about-text-section p {
    font-size: 17px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 14px;
}

.about-text-section p:last-child {
    margin-bottom: 0;
}

.about-text-section a {
    color: #7678e5;
    text-decoration: underline;
    font-weight: 500;
}

.about-text-section a:hover {
    color: #5b5dc9;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    position: relative;
    padding: 12px 0 12px 28px;
    font-size: 17px;
    line-height: 1.75;
    color: #555;
    border-bottom: 1px solid #f3f3f3;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7678e5;
}

.about-list li strong {
    color: #2c3e50;
}

.about-text-section--closing {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
}

.about-text-section--closing h2 {
    padding-left: 0;
}

.about-text-section--closing h2::before {
    display: none;
}

.about-tagline {
    font-size: 19px !important;
    font-weight: 600;
    color: #7678e5 !important;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .about-content--text {
        padding: 35px 24px;
    }

    .about-text-section {
        padding-bottom: 30px;
        padding-top: 30px;
    }

    .about-text-section h2 {
        font-size: 23px;
    }

    .about-text-section p,
    .about-list li {
        font-size: 16px;
    }
}

/* Modern Single Post Layout */
.blog-single-main {
    background: #f8f9fa;
    padding: 40px 0 80px;
}

.blog-single-layout {
    max-width: 100%;
}

/* Main Content Area */
.blog-single-content {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.blog-single-article {
    padding: 0;
}

/* ── Featured Image ── */
.single-post-thumbnail {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: #1a1a2e;
}

.single-post-thumbnail img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(26,26,46,0.55) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.thumbnail-categories {
    position: absolute;
    bottom: 20px;
    left: 50px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-post-header {
    padding: 32px 50px 30px;
}

.post-category-links {
    margin-bottom: 15px;
}

.category-link {
    display: inline-block;
    background: #7678e5;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.thumbnail-categories .category-link {
    background: rgba(118,120,229,0.85);
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.category-link:hover {
    background: #5b5dc9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118,120,229,0.35);
}

.single-post-title {
    font-size: 42px;
    line-height: 1.3;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Post Meta Bar */
/* ── Post Meta Bar ── */
.post-meta-bar {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 28px 50px 0;
    padding: 20px 0;
    background: transparent;
    border-top: 1px solid #e9ecf2;
    border-bottom: 1px solid #e9ecf2;
}

.meta-author-section,
.meta-reviewer-section,
.meta-date-section {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
}

.meta-divider {
    width: 1px;
    height: 44px;
    background: #e2e5ec;
    flex-shrink: 0;
    margin: 0 20px;
}

.meta-author-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
    transition: opacity 0.2s;
}

.meta-author-link:hover {
    opacity: 0.85;
}

.meta-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2.5px solid #7678e5;
    box-shadow: 0 2px 8px rgba(118,120,229,0.18);
    background: #eee;
}

.meta-reviewer-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.meta-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(34,197,94,0.25);
}

.meta-author-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.meta-label {
    font-size: 10.5px;
    font-weight: 600;
    color: #9096a9;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.meta-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meta-author-role {
    font-size: 12.5px;
    color: #8a8fa3;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meta-date-section {
    gap: 12px;
}

.meta-date-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7678e5 0%, #5b5dc9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 3px 10px rgba(118,120,229,0.22);
}

.meta-date-value {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
}

.meta-date-updated {
    font-size: 12px;
    color: #8a8fa3;
    line-height: 1.3;
}

/* ── Responsive Meta Bar ── */
@media (max-width: 900px) {
    .post-meta-bar {
        flex-wrap: wrap;
        gap: 18px;
        margin: 24px 30px 0;
        padding: 18px 0;
    }
    .meta-divider {
        display: none;
    }
    .meta-author-section,
    .meta-reviewer-section {
        flex: 1 1 45%;
        min-width: 180px;
    }
    .meta-date-section {
        flex: 1 1 100%;
        border-top: 1px solid #e9ecf2;
        padding-top: 16px;
    }
}

@media (max-width: 580px) {
    .post-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin: 20px 20px 0;
    }
    .meta-author-section,
    .meta-reviewer-section,
    .meta-date-section {
        flex: 1 1 100%;
        width: 100%;
    }
    .meta-date-section {
        border-top: 1px solid #e9ecf2;
        padding-top: 14px;
    }
}

.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    padding: 0 50px 40px;
}

.single-post-content h2 {
    font-size: 32px;
    margin: 35px 0 20px;
    color: #2c3e50;
    font-weight: 700;
}

.single-post-content h3 {
    font-size: 26px;
    margin: 30px 0 18px;
    color: #2c3e50;
    font-weight: 600;
}

.single-post-content h4 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: #2c3e50;
    font-weight: 600;
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.single-post-content li {
    margin-bottom: 10px;
}

.single-post-content a {
    color: #7678e5;
    text-decoration: none;
    border-bottom: 1px solid rgba(118, 120, 229, 0.3);
}

.single-post-content a:hover {
    color: #5b5dc9;
    border-bottom-color: #5b5dc9;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

.single-post-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #f8f9ff;
    border-left: 4px solid #7678e5;
    font-style: italic;
    color: #555;
}

.post-page-links {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.page-links-title {
    font-weight: 600;
    margin-right: 10px;
}

.single-post-footer {
    margin-top: 40px;
    padding: 25px 50px;
    border-top: 2px solid #f0f0f0;
}

.post-tags-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: #2c3e50;
}

.post-tags-wrapper a {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.post-tags-wrapper a:hover {
    background: #7678e5;
    color: white;
}

/* Post Navigation */
.single-post-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 0 0;
    padding: 40px 50px 30px;
    background: #f8f9fa;
}

.nav-previous,
.nav-next {
    display: inline-block;
}

.nav-previous .nav-link,
.nav-next .nav-link {
    font-size: 15px;
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    padding: 12px 24px;
    display: inline-block;
    background: white;
    border: 1px solid #e5e5e5;
}

.nav-previous .nav-link {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.nav-next .nav-link {
    border-radius: 0 8px 8px 0;
}

.nav-previous .nav-link:hover,
.nav-next .nav-link:hover {
    color: white;
    background: #7678e5;
    border-color: #7678e5;
}

/* Comments */
.comments-wrapper {
    padding: 0 50px 50px;
}

/* Must Read Section */
.must-read-section {
    padding: 40px 50px 50px;
    background: #f8f9fa;
    margin: 0;
}

.must-read-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 35px;
}

.must-read-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.must-read-card {
    background: white;
    border-radius: 0;
    overflow: visible;
    transition: all 0.3s;
}

.must-read-card:hover {
    transform: translateY(-3px);
}

.must-read-image {
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}

.must-read-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.must-read-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.must-read-card:hover .must-read-image img {
    transform: scale(1.05);
}

.must-read-card-content {
    padding: 0;
}

.must-read-card-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.must-read-card-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.must-read-card-title a:hover {
    color: #7678e5;
}

.must-read-card-category {
    font-size: 14px;
}

.must-read-card-category a {
    color: #7678e5;
    text-decoration: none;
    font-weight: 500;
}

.must-read-card-category a:hover {
    color: #5b5dc9;
}

/* Comment Form Styling */
.comments-wrapper {
    padding: 60px 50px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.comments-wrapper .comments-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.comment-respond {
    margin-top: 40px;
}

.comment-respond .comment-reply-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.comment-notes,
.comment-form .comment-notes {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.comment-notes .required {
    color: #d63638;
    font-weight: 600;
}

.must-log-in {
    background: #f8f9fa;
    padding: 20px;
    border-left: 3px solid #7678e5;
    margin-bottom: 30px;
}

.must-log-in a {
    color: #7678e5;
    font-weight: 600;
}

.logged-in-as {
    display: none;
}

.comment-form {
    max-width: 100%;
}

.comment-form-comment {
    margin-bottom: 20px;
}

.comment-form-comment label {
    display: none;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.7;
    min-height: 180px;
    transition: all 0.3s ease;
    resize: vertical;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: #7678e5;
    background: white;
    box-shadow: 0 0 0 4px rgba(118, 120, 229, 0.1), 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.comment-form-comment textarea::placeholder {
    color: #aaa;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
    display: inline-block;
    width: calc(33.333% - 11px);
    margin-right: 16px;
    margin-bottom: 16px;
    vertical-align: top;
}

.comment-form .comment-form-author:nth-child(3n),
.comment-form .comment-form-url {
    margin-right: 0;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: none;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 13px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: #7678e5;
    background: white;
    box-shadow: 0 0 0 4px rgba(118, 120, 229, 0.1), 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.comment-form-author input::placeholder,
.comment-form-email input::placeholder,
.comment-form-url input::placeholder {
    color: #aaa;
}

.comment-form-cookies-consent {
    margin: 20px 0 25px;
    display: flex;
    align-items: flex-start;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #7678e5;
}

.comment-form-cookies-consent label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin: 0;
    line-height: 1.6;
}

.form-submit {
    margin: 0;
}

.form-submit .submit {
    background: linear-gradient(135deg, #7678e5 0%, #6365d8 100%);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: none;
    box-shadow: 0 4px 12px rgba(118, 120, 229, 0.3);
}

.form-submit .submit:hover {
    background: linear-gradient(135deg, #6365d8 0%, #5557c9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(118, 120, 229, 0.4);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.comment-list .comment {
    border-bottom: 1px solid #f0f0f0;
    padding: 30px 0;
}

.comment-list .comment:last-child {
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 20px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    margin-bottom: 12px;
}

.comment-author .fn {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    font-style: normal;
}

.comment-metadata {
    font-size: 13px;
    color: #999;
    margin-left: 10px;
}

.comment-metadata a {
    color: #999;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #7678e5;
}

.comment-content p {
    color: #555;
    line-height: 1.7;
}

.reply {
    margin-top: 12px;
}

.reply a {
    color: #7678e5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.reply a:hover {
    color: #5b5dc9;
}

/* Responsive Blog Single */
@media (max-width: 968px) {
    .single-post-thumbnail,
    .single-post-thumbnail img {
        max-height: 360px;
        height: 360px;
    }
    .thumbnail-categories {
        left: 20px;
        bottom: 16px;
    }
    .single-post-header {
        padding: 24px 20px 20px;
    }
    
    .single-post-title {
        font-size: 32px;
    }
    
    .single-post-content {
        font-size: 16px;
        padding: 0 20px 30px;
    }
    
    .single-post-footer {
        padding: 25px 20px;
    }
    
    .single-post-navigation {
        grid-template-columns: 1fr;
        margin: 30px 0;
        padding: 30px 20px;
        gap: 25px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .must-read-section {
        padding: 30px 20px;
    }
    
    .must-read-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comments-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 580px) {
    .single-post-thumbnail,
    .single-post-thumbnail img {
        max-height: 260px;
        height: 260px;
    }
    .thumbnail-categories {
        left: 16px;
        bottom: 12px;
    }
    .category-link {
        padding: 5px 12px;
        font-size: 11px;
    }
    .single-post-title {
        font-size: 26px;
    }
}

.post-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #7678e5 0%, #5b5dc9 100%);
}

.post-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(118, 120, 229, 0.92) 0%, rgba(91, 93, 201, 0.88) 100%);
}

.post-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    color: white;
    width: 100%;
}

.post-categories-hero {
    margin-bottom: 20px;
}

.category-badge-hero {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.category-badge-hero:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.post-hero-title {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 800;
    color: white;
}

.post-hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
}

.post-date-hero {
    font-size: 14px;
    opacity: 0.9;
}

.post-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.post-article {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.post-content-wrapper {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 40px;
    padding: 50px;
}

/* Share Sidebar */
.share-sidebar {
    position: relative;
}

.share-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.share-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-bottom: 5px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Post Content */
.post-main-content {
    min-width: 0;
}

.post-content {
    font-size: 19px;
    line-height: 1.8;
    color: #2c3e50;
}

.post-content h2 {
    font-size: 36px;
    margin: 40px 0 20px;
    color: #2c3e50;
    font-weight: 700;
}

.post-content h3 {
    font-size: 28px;
    margin: 35px 0 18px;
    color: #2c3e50;
    font-weight: 600;
}

.post-content h4 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #2c3e50;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 35px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content a {
    color: #7678e5;
    text-decoration: none;
    border-bottom: 2px solid rgba(118, 120, 229, 0.3);
    transition: all 0.2s;
}

.post-content a:hover {
    color: #5b5dc9;
    border-bottom-color: #5b5dc9;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: #f8f9ff;
    border-left: 4px solid #7678e5;
    border-radius: 8px;
    font-style: italic;
    color: #555;
}

.post-content code {
    background: #f4f4f4;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #e83e8c;
}

.post-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 25px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.page-links {
    margin: 40px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.page-links-title {
    font-weight: 600;
    margin-right: 15px;
}

.page-links span {
    display: inline-block;
    margin: 0 5px;
}

.page-links a {
    display: inline-block;
    padding: 8px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    color: #555;
    transition: all 0.2s;
}

.page-links a:hover {
    background: #7678e5;
    color: white;
    border-color: #7678e5;
}

/* Post Footer */
.post-footer-modern {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.post-tags-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tags-icon {
    font-size: 24px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-badge {
    display: inline-block;
    background: #f0f0ff;
    color: #7678e5;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-badge:hover {
    background: #7678e5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(118, 120, 229, 0.3);
}

/* Author Bio */
.author-bio-box {
    margin-top: 50px;
    padding: 35px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f0ff 100%);
    border-radius: 12px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.author-avatar img {
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.author-bio-content {
    flex: 1;
}

.author-bio-name {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.author-bio-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-posts-link {
    color: #7678e5;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.author-posts-link:hover {
    color: #5b5dc9;
    transform: translateX(3px);
}

/* Post Navigation */
.post-navigation-modern {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.nav-post {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.nav-post:hover {
    background: white;
    border-color: #7678e5;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(118, 120, 229, 0.15);
}

.nav-post.prev-post {
    text-align: left;
}

.nav-post.next-post {
    text-align: right;
}

.nav-label {
    font-size: 13px;
    color: #7678e5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-post-title {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
    display: block;
}

/* Responsive Modern Post */
@media (max-width: 968px) {
    .post-hero {
        min-height: 400px;
    }
    
    .post-hero-title {
        font-size: 36px;
    }
    
    .post-hero-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-content-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 25px;
    }
    
    .share-sidebar {
        display: none;
    }
    
    .post-content {
        font-size: 17px;
    }
    
    .post-content h2 {
        font-size: 28px;
    }
    
    .post-content h3 {
        font-size: 24px;
    }
    
    .author-bio-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .post-navigation-modern {
        grid-template-columns: 1fr;
    }
    
    .nav-post.next-post {
        text-align: left;
    }
}

/* ========================================
   ULTIMATE BLOCKS PLUGIN STYLING
   ======================================== */

/* Ultimate Blocks - Buttons */
.wp-block-ub-button,
.wp-block-button__link,
.ub-button-container .ub-button,
.wp-block-ub-content-toggle-accordion-title-wrap,
.ub-content-toggle-accordion-title-wrap {
    background-color: #7678e5 !important;
    background: #7678e5 !important;
    color: #ffffff !important;
    border: none !important;
}

.wp-block-ub-button:hover,
.wp-block-button__link:hover,
.ub-button-container .ub-button:hover {
    background-color: #5b5dc9 !important;
    background: #5b5dc9 !important;
    color: #ffffff !important;
}

/* Ultimate Blocks - Table of Contents */
.wp-block-ub-table-of-contents,
.ub-table-of-contents,
.ub-table-of-contents-container,
.wp-block-ub-table-of-contents-container {
    background-color: #7678e5 !important;
    background: #7678e5 !important;
    color: #ffffff !important;
    border-color: #7678e5 !important;
}

.wp-block-ub-table-of-contents .ub-table-of-contents-header,
.ub-table-of-contents-header,
.ub-table-of-contents-title,
.wp-block-ub-table-of-contents-title,
.wp-block-ub-table-of-contents .wp-block-ub-table-of-contents-header {
    color: #ffffff !important;
    background-color: #7678e5 !important;
    background: #7678e5 !important;
}

.wp-block-ub-table-of-contents a,
.ub-table-of-contents a,
.ub-table-of-contents-list a,
.wp-block-ub-table-of-contents ol a,
.wp-block-ub-table-of-contents ul a,
.wp-block-ub-table-of-contents-list a {
    color: #ffffff !important;
}

.wp-block-ub-table-of-contents a:hover,
.ub-table-of-contents a:hover,
.ub-table-of-contents-list a:hover {
    color: #e0e0ff !important;
    text-decoration: underline;
}

/* Table of Contents - Icons */
.wp-block-ub-table-of-contents .ub-table-of-contents-toggle-icon,
.ub-table-of-contents-toggle-icon,
.wp-block-ub-table-of-contents svg,
.ub-table-of-contents svg,
.wp-block-ub-table-of-contents .dashicons,
.ub-table-of-contents .dashicons {
    fill: #ffffff !important;
    color: #ffffff !important;
}

/* Table of Contents - List items */
.wp-block-ub-table-of-contents ol,
.wp-block-ub-table-of-contents ul,
.ub-table-of-contents ol,
.ub-table-of-contents ul,
.ub-table-of-contents-list {
    background-color: #7678e5 !important;
    color: #ffffff !important;
}

.wp-block-ub-table-of-contents li,
.ub-table-of-contents li,
.ub-table-of-contents-list li {
    color: #ffffff !important;
}

/* Table of Contents - Toggle button */
.wp-block-ub-table-of-contents .ub-table-of-contents-toggle,
.ub-table-of-contents-toggle {
    color: #ffffff !important;
    background: transparent !important;
}

/* More specific selectors for Table of Contents wrapper */
div[class*="wp-block-ub-table-of-contents"],
div[class*="ub-table-of-contents"] {
    background-color: #7678e5 !important;
    color: #ffffff !important;
}

/* Table of Contents - All text elements */
.wp-block-ub-table-of-contents *,
.ub-table-of-contents * {
    color: #ffffff !important;
}

/* Override any inline styles */
.wp-block-ub-table-of-contents[style],
.ub-table-of-contents[style] {
    background-color: #7678e5 !important;
    background: #7678e5 !important;
}

/* Table of Contents Header with any inline styles */
.wp-block-ub-table-of-contents .ub-table-of-contents-header[style],
.ub-table-of-contents-header[style] {
    background-color: #7678e5 !important;
    background: #7678e5 !important;
}

/* Ultimate Blocks - FAQ/Accordion */
.wp-block-ub-content-toggle,
.ub-content-toggle,
.wp-block-ub-styled-box {
    border-color: #7678e5 !important;
}

.wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion-title,
.ub-content-toggle-accordion-title,
.wp-block-ub-content-toggle-accordion-title-wrap {
    background-color: #7678e5 !important;
    color: #ffffff !important;
}

.wp-block-ub-content-toggle .wp-block-ub-content-toggle-accordion-title:hover,
.ub-content-toggle-accordion-title:hover {
    background-color: #5b5dc9 !important;
}

/* Ultimate Blocks - Styled List */
.wp-block-ub-styled-list li:before,
.ub-styled-list li:before {
    color: #7678e5 !important;
}

/* Ultimate Blocks - Call to Action */
.wp-block-ub-call-to-action,
.ub-call-to-action {
    border-color: #7678e5 !important;
}

.wp-block-ub-call-to-action .ub-call-to-action-button,
.ub-call-to-action-button {
    background-color: #7678e5 !important;
    color: #ffffff !important;
}

.wp-block-ub-call-to-action .ub-call-to-action-button:hover,
.ub-call-to-action-button:hover {
    background-color: #5b5dc9 !important;
}

/* Ultimate Blocks - Styled Box */
.wp-block-ub-styled-box.ub-styled-box {
    border-color: #7678e5 !important;
}

.wp-block-ub-styled-box .ub-styled-box-title {
    color: #7678e5 !important;
}

/* Ultimate Blocks - Progress Bar */
.wp-block-ub-progress-bar .ub-progress-bar-fill,
.ub-progress-bar-fill {
    background-color: #7678e5 !important;
}

/* Ultimate Blocks - Countdown */
.wp-block-ub-countdown .ub-countdown-digit,
.ub-countdown-digit {
    background-color: #7678e5 !important;
    color: #ffffff !important;
}

/* Ultimate Blocks - Tabbed Content */
.wp-block-ub-tabbed-content .wp-block-ub-tabbed-content-tab-title-wrap.ub-active,
.ub-tabbed-content-tab-title-wrap.ub-active {
    background-color: #7678e5 !important;
    color: #ffffff !important;
}

/* Ultimate Blocks - Star Rating */
.wp-block-ub-star-rating .ub-star-outer-container .ub-star-inner-container,
.ub-star-rating .ub-star-inner-container {
    color: #7678e5 !important;
}

/* Ultimate Blocks - Review */
.wp-block-ub-review .ub-review-item-score,
.ub-review-item-score {
    background-color: #7678e5 !important;
    color: #ffffff !important;
}

.wp-block-ub-review .ub-review-summary,
.ub-review-summary {
    background-color: #7678e5 !important;
    color: #ffffff !important;
}

/* Additional styling for content blocks */
.single-post-content .wp-block-ub-button,
.single-post-content .ub-button {
    margin: 10px 0;
    padding: 12px 30px;
    display: inline-block;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-post-content .wp-block-ub-table-of-contents {
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.single-post-content .wp-block-ub-content-toggle {
    margin: 20px 0;
    border-radius: 5px;
    overflow: hidden;
}

/* ========================================
   PAGINATION STYLES
   ======================================== */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px 0 40px;
    padding: 30px 20px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    margin: 0 5px;
    padding: 10px 16px;
    background: #ffffff;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pagination-wrapper .page-numbers:hover {
    background: #7678e5;
    color: #ffffff;
    border-color: #7678e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118, 120, 229, 0.3);
}

.pagination-wrapper .page-numbers.current {
    background: linear-gradient(135deg, #7678e5 0%, #5b5dc9 100%);
    color: #ffffff;
    border-color: #7678e5;
    box-shadow: 0 4px 12px rgba(118, 120, 229, 0.4);
    cursor: default;
}

.pagination-wrapper .page-numbers.dots {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #999;
    cursor: default;
    font-weight: 700;
    letter-spacing: 2px;
}

.pagination-wrapper .page-numbers.dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    color: #999;
}

/* Prev/Next buttons with special styling */
.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    padding: 10px 20px;
    font-weight: 700;
    background: #f8f9fa;
    color: #7678e5;
    border-color: #7678e5;
}

.pagination-wrapper .page-numbers.prev:hover,
.pagination-wrapper .page-numbers.next:hover {
    background: #7678e5;
    color: #ffffff;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 50px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 35px;
    }
    
    .search-box {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }
    
    .search-input-group {
        width: 100%;
    }
    
    .search-select {
        width: 100%;
        min-width: 100%;
    }
    
    .search-submit {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .stat-divider {
        width: 80px;
        height: 1px;
    }
    
    .pagination-wrapper {
        margin: 40px 0 30px;
        padding: 20px 10px;
    }
    
    .pagination-wrapper .page-numbers {
        min-width: 40px;
        height: 40px;
        margin: 0 3px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .pagination-wrapper .page-numbers.prev,
    .pagination-wrapper .page-numbers.next {
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .pagination-wrapper .page-numbers {
        min-width: 35px;
        height: 35px;
        margin: 0 2px;
        padding: 6px 10px;
        font-size: 13px;
    }
    
    /* Hide some numbers on very small screens */
    .pagination-wrapper .page-numbers:not(.current):not(.prev):not(.next):not(.dots) {
        display: none;
    }
    
    .pagination-wrapper .page-numbers:not(.current):not(.prev):not(.next):not(.dots):nth-child(-n+3),
    .pagination-wrapper .page-numbers:not(.current):not(.prev):not(.next):not(.dots):nth-last-child(-n+3) {
        display: inline-flex;
    }
}

/* ========================================
   ADVERTISING BANNERS
   ======================================== */

/* Header Banner (Site-wide) */
.header-banner-wrapper {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-banner-link,
.header-banner-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.header-banner-link {
    transition: opacity 0.3s ease;
}

.header-banner-link:hover {
    opacity: 0.9;
}

/* Blog Single Page Layout with Sidebar */
.blog-single-main .container-narrow {
    max-width: 900px;
}

.blog-single-main .has-sidebar {
    max-width: 1280px;
    margin: 0 auto;
}

.blog-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.blog-single-layout.has-sidebar {
    grid-template-columns: 180px 1fr 180px;
    gap: 30px;
}

.blog-single-content {
    min-width: 0;
    max-width: 100%;
    grid-column: 2;
}

/* Sidebar Banners */
.blog-sidebar {
    position: relative;
}

.blog-sidebar-left {
    grid-column: 1;
    grid-row: 1;
}

.blog-sidebar-right {
    grid-column: 3;
    grid-row: 1;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-banner {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    max-width: 160px;
}

.sidebar-banner:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.sidebar-banner a {
    display: block;
}

.sidebar-banner img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.sidebar-banner:hover img {
    transform: scale(1.02);
}

/* Responsive Sidebar */
@media (max-width: 1024px) {
    .blog-single-layout.has-sidebar {
        grid-template-columns: 160px 1fr 160px;
        gap: 20px;
    }
    
    .sidebar-sticky {
        top: 80px;
    }
}

@media (max-width: 968px) {
    .blog-single-layout.has-sidebar {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar-left {
        grid-column: 1;
        grid-row: 2;
    }
    
    .blog-single-content {
        grid-column: 1;
        grid-row: 1;
    }
    
    .blog-sidebar-right {
        grid-column: 1;
        grid-row: 3;
    }
    
    .sidebar-sticky {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .sidebar-banner {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .header-banner-wrapper {
        padding: 10px 0;
    }
    
    .sidebar-sticky {
        flex-direction: column;
        align-items: center;
    }
}

/* Retina Display Optimizations */
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi),
(min-resolution: 2dppx) {
    /* High-DPI background images */
    .category-card {
        background-size: cover;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Sharper borders on retina */
    .blog-post-card,
    .category-card,
    .pagination a,
    .comment-form input,
    .comment-form textarea {
        border-width: 0.5px;
    }
    
    /* Icon improvements */
    .category-icon,
    .feature-icon {
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
}

/* SVG optimization */
svg {
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
}

/* Background image optimization */
.hero-section,
.category-card,
.feature-card {
    background-size: cover;
    background-position: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* High quality image scaling */
img[src$=".jpg"],
img[src$=".jpeg"],
img[src$=".png"] {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Smooth scrolling for retina */
* {
    -webkit-overflow-scrolling: touch;
}

/* Sharper shadows on retina */
@media (-webkit-min-device-pixel-ratio: 2) {
    .blog-post-card,
    .category-card,
    .sidebar-banner img {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .pagination a:hover,
    .theme-button:hover {
        box-shadow: 0 4px 12px rgba(118, 120, 229, 0.15);
    }
}