/*
Theme Name: SaifCodes Listings
Theme URI: https://saifcodes.com
Author: Saifcodes
Author URI: https://saifcodes.com
Description: A professional listings directory theme similar to whitelabels.io
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saifcodes-listings
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary-color: #64748b;
    --bg-color: #f8fafc;
    --bg-light: #ffffff;
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --white: #ffffff;
    --dark: #0f172a;
    --gradient-start: #2563eb;
    --gradient-end: #7c3aed;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== HEADER ==================== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
}

.site-title a,
.custom-logo-link {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    gap: 8px;
}

.site-title a:hover {
    color: var(--text-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: inline-block;
    padding: 10px 18px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.main-navigation a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.nav-btn {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.nav-btn:hover {
    background: var(--primary-hover) !important;
    color: var(--white) !important;
}

/* Header CTA Button */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white) !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 16px;
    white-space: nowrap;
}

.header-cta-btn:hover {
    background: var(--primary-hover);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    margin: 5px 0;
    transition: 0.3s ease;
}

/* Hamburger to X animation */
.menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Dropdown Styles */
@media (max-width: 768px) {
    .site-header .container {
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .main-navigation {
        position: static;
    }
    
    .main-navigation ul#primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .main-navigation ul#primary-menu.is-open {
        display: flex;
    }
    
    .main-navigation ul#primary-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-navigation ul#primary-menu li:last-child {
        border-bottom: none;
    }
    
    .main-navigation ul#primary-menu li a {
        display: block;
        padding: 14px 24px;
        font-size: 15px;
        font-weight: 500;
        color: var(--text-color);
        transition: all 0.2s ease;
    }
    
    .main-navigation ul#primary-menu li a:hover {
        background: var(--bg-color);
        color: var(--primary-color);
        padding-left: 28px;
    }
    
    /* Submenu styles */
    .main-navigation .menu-item-has-children {
        position: relative;
    }
    
    .main-navigation .menu-item-has-children > a {
        padding-right: 50px;
    }
    
    .submenu-toggle {
        position: absolute;
        right: 12px;
        top: 8px;
        width: 36px;
        height: 36px;
        background: var(--bg-color);
        border: none;
        border-radius: 6px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        color: var(--text-muted);
    }
    
    .submenu-toggle:hover {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .submenu-toggle.is-active {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .submenu-toggle.is-active svg {
        transform: rotate(180deg);
    }
    
    .submenu-toggle svg {
        transition: transform 0.2s ease;
    }
    
    .main-navigation .sub-menu {
        display: none;
        background: var(--bg-color);
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .main-navigation .sub-menu.is-open {
        display: block;
    }
    
    .main-navigation .sub-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-navigation .sub-menu li:last-child {
        border-bottom: none;
    }
    
    .main-navigation .sub-menu li a {
        padding-left: 40px;
        font-size: 14px;
        color: var(--text-muted);
    }
    
    .main-navigation .sub-menu li a:hover {
        color: var(--primary-color);
        padding-left: 44px;
    }
    
    /* Header CTA button in mobile */
    .header-cta-btn {
        padding: 10px 18px;
        font-size: 13px;
        margin-left: 0;
        margin-right: 12px;
    }
    
    /* Prevent body scroll when menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }
}

/* Desktop submenu styles */
@media (min-width: 769px) {
    .submenu-toggle {
        display: none !important;
    }
    
    .main-navigation .menu-item-has-children {
        position: relative;
    }
    
    .main-navigation .menu-item-has-children > a::after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 6px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid currentColor;
        vertical-align: middle;
    }
    
    .main-navigation .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: var(--white);
        border-radius: 8px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s ease;
        z-index: 1000;
        list-style: none;
    }
    
    .main-navigation .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-navigation .sub-menu li a {
        display: block;
        padding: 10px 20px;
        font-size: 14px;
        color: var(--text-color);
        transition: all 0.2s ease;
    }
    
    .main-navigation .sub-menu li a:hover {
        background: var(--bg-color);
        color: var(--primary-color);
    }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 16px 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 0 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Form */
.hero-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-form label {
    flex: 1;
    margin: 0;
}

.search-field {
    width: 100%;
    border: none;
    padding: 20px 24px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    background: transparent;
}

.search-field::placeholder {
    color: var(--text-light);
}

.search-submit {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 20px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-submit:hover {
    background: var(--primary-hover);
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 16px 0;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.step-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 12px 0;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* ==================== POPULAR PROVIDERS ==================== */
.popular-providers {
    padding: 80px 0;
    background: var(--bg-color);
}

.providers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.providers-header .section-title {
    margin: 0;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.view-all-link:hover {
    gap: 12px;
}

.view-all-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Listing Card */
.listing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.listing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.listing-rank {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.listing-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.listing-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.listing-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-light);
}

.listing-content {
    text-align: center;
    flex: 1;
}

.listing-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.listing-title a {
    color: var(--text-color);
}

.listing-title a:hover {
    color: var(--primary-color);
}

.listing-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-excerpt p {
    margin: 0;
}

/* ==================== BOOST SECTION ==================== */
.boost-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.boost-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.boost-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.boost-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.boost-text p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin: 0 0 32px 0;
    line-height: 1.7;
}

.boost-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.boost-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #e2e8f0;
}

.boost-feature svg {
    width: 24px;
    height: 24px;
    color: var(--success-color);
    flex-shrink: 0;
}

.boost-image {
    position: relative;
}

.boost-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.boost-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.boost-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boost-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.boost-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.boost-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.boost-stat {
    text-align: center;
}

.boost-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.boost-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: var(--radius-xl);
    padding: 60px;
    color: var(--white);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 32px 0;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--white);
    color: var(--text-color);
}

.btn-white:hover {
    background: #f8fafc;
    color: var(--text-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* Outline button for light backgrounds */
.btn-outline-dark {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-outline-dark:hover {
    background: var(--light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.footer-logo-custom {
    margin-bottom: 20px;
}

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

.footer-logo-custom a {
    display: inline-block;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social .social-link svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 24px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.9rem;
}

.footer-credit {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #64748b;
}

.footer-credit a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: var(--white);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ==================== SINGLE LISTING ==================== */
.single-listing-header {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.listing-header-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.listing-logo-large {
    width: 160px;
    height: 160px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.listing-logo-large img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

.listing-info {
    flex: 1;
}

.listing-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--text-color);
}

.listing-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.listing-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    color: #d97706;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
}

.listing-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.listing-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.listing-actions {
    display: flex;
    gap: 16px;
}

/* ==================== ARCHIVE ==================== */
.archive-header {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.archive-header[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.archive-header[style*="background-image"] .container {
    position: relative;
    z-index: 2;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 16px 0;
}

.archive-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.archive-content {
    padding: 60px 0;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .providers-grid,
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .boost-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .providers-grid,
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .providers-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .listing-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .listing-meta,
    .listing-actions {
        justify-content: center;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
}

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

/* Pagination */
.navigation {
    margin: 40px 0;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumbs {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: var(--text-light);
}

.breadcrumbs .current {
    color: var(--text-color);
}

.single-breadcrumbs {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ==================== INDUSTRIES PAGE ==================== */
.industries-page {
    padding: 60px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.industry-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.industry-icon svg {
    width: 28px;
    height: 28px;
}

.industry-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
}

.industry-subcategories {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
}

.industry-subcategories li a {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
    padding: 4px 0;
    transition: color 0.2s;
}

.industry-subcategories li a:hover {
    color: var(--primary-color);
}

.industry-browse-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.industry-browse-link:hover {
    gap: 12px;
}

/* ==================== CATEGORY ARCHIVE WITH SIDEBAR ==================== */
.archive-header-compact {
    padding: 40px 0;
}

.category-archive {
    padding: 40px 0 80px;
}

.archive-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.archive-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s;
}

.filter-list li a:hover,
.filter-list li.active a {
    background: var(--primary-light);
    color: var(--primary-color);
}

.filter-list .count {
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-color);
    padding: 2px 8px;
    border-radius: 10px;
}

.filter-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
}

.filter-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

/* Archive Toolbar */
.archive-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.results-count {
    font-size: 14px;
    color: var(--text-muted);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.sort-dropdown label {
    color: var(--text-muted);
}

.sort-dropdown select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: var(--white);
}

/* ==================== LISTING ROW CARD ==================== */
.listings-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.listing-row-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: 40px 100px 1fr;
    gap: 20px;
    transition: all 0.3s ease;
}

.listing-row-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.listing-row-rank {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 4px;
}

.listing-row-logo {
    width: 100px;
    height: 100px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.listing-row-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.listing-row-content {
    min-width: 0;
}

.listing-row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.listing-row-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.listing-row-title a {
    color: var(--text-color);
}

.listing-row-title a:hover {
    color: var(--primary-color);
}

.listing-row-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-outline-sm {
    padding: 8px 16px;
    font-size: 13px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-sm:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary-sm {
    padding: 8px 16px;
    font-size: 13px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary-sm:hover {
    background: var(--primary-hover);
    color: var(--white);
}

.listing-row-tagline {
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px 0;
    font-size: 0.95rem;
}

.listing-row-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-row-excerpt p {
    margin: 0;
}

.listing-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 12px;
}

.listing-row-meta .meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.listing-row-meta .meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.listing-row-meta .meta-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}

.listing-row-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== SINGLE LISTING PAGE ==================== */
.single-listing-header {
    background: var(--white);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.listing-header-grid {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.listing-logo-wrapper {
    width: 140px;
    height: 140px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.listing-logo-wrapper img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.listing-logo-placeholder.large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--primary-light);
}

.listing-header-info {
    flex: 1;
}

.listing-industry-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.listing-company-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: var(--text-color);
}

.listing-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 24px 0;
}

.listing-header-actions {
    display: flex;
    gap: 12px;
}

/* Tabs Navigation */
.listing-tabs-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 65px;
    z-index: 100;
}

.tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tabs-list li a {
    display: block;
    padding: 16px 20px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tabs-list li a:hover,
.tabs-list li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Single Listing Content */
.single-listing-content {
    padding: 48px 0 80px;
}

.listing-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.overview-text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 32px;
}

.overview-text p:last-child {
    margin-bottom: 0;
}

.overview-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.meta-card {
    background: var(--bg-color);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
}

.meta-card .meta-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.meta-card .meta-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-color);
    border-radius: 8px;
}

.detail-label {
    color: var(--text-muted);
    font-size: 14px;
}

.detail-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.platform-support h4 {
    font-size: 14px;
    margin: 0 0 12px 0;
    color: var(--text-muted);
}

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

.tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.pricing-card {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}

.pricing-card.highlight {
    background: var(--primary-light);
}

.pricing-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.pricing-card.highlight .pricing-value {
    color: var(--primary-color);
}

.pricing-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-group h4,
.feature-group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 16px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-color);
}

.feature-list li svg {
    color: var(--success-color);
    flex-shrink: 0;
}

/* Payment Features */
.payment-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-color);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-color);
}

.payment-badge svg {
    color: var(--success-color);
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.support-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-badge {
    background: var(--bg-color);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-color);
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.no-data {
    color: var(--text-muted);
    font-style: italic;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

/* ==================== RESPONSIVE FOR NEW SECTIONS ==================== */
@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-layout {
        grid-template-columns: 1fr;
    }
    
    .archive-sidebar {
        position: static;
    }
    
    .listing-row-card {
        grid-template-columns: 30px 80px 1fr;
    }
    
    .overview-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .listing-row-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .listing-row-rank {
        display: none;
    }
    
    .listing-row-logo {
        margin: 0 auto;
    }
    
    .listing-row-header {
        flex-direction: column;
        align-items: center;
    }
    
    .listing-row-meta {
        justify-content: center;
    }
    
    .listing-row-location {
        justify-content: center;
    }
    
    .listing-header-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .listing-header-actions {
        justify-content: center;
    }
    
    .tabs-list {
        padding: 0 16px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cta {
        flex-direction: column;
    }
}

/* ==================== PAGE CONTENT LAYOUT ==================== */
.page-content-area {
    background: var(--bg-color);
}

.page-article {
    width: 100%;
}

.entry-content.boxed-content {
    transition: all 0.3s ease;
}

.entry-content.full-width-content {
    width: 100%;
}

/* Entry Content Typography */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }
.entry-content h5 { font-size: 1.1rem; }
.entry-content h6 { font-size: 1rem; }

.entry-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: var(--primary-hover);
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    margin: 24px 0;
    padding: 16px 24px;
    background: var(--bg-color);
    border-radius: 0 8px 8px 0;
}

.entry-content blockquote p {
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.entry-content th,
.entry-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.entry-content th {
    background: var(--bg-color);
    font-weight: 600;
}

.entry-content pre,
.entry-content code {
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
}

.entry-content code {
    background: var(--bg-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.entry-content pre {
    background: var(--dark);
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ==================== CONTACT FORM 7 BASE STYLES ==================== */
.wpcf7 {
    max-width: 100%;
}

.wpcf7-form {
    font-family: inherit;
}

.wpcf7-form p {
    margin-bottom: 0;
}

.wpcf7-form br {
    display: none;
}

/* Required Asterisk */
.wpcf7-form .required {
    color: #ef4444;
}

/* Placeholder Styling */
.wpcf7-form ::placeholder {
    color: var(--text-light);
    opacity: 1;
}

.wpcf7-form ::-webkit-input-placeholder {
    color: var(--text-light);
}

.wpcf7-form ::-moz-placeholder {
    color: var(--text-light);
}

/* Select Dropdown Arrow */
.wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

/* Loading State */
.wpcf7-form.submitting input[type="submit"],
.wpcf7-form.submitting .wpcf7-submit {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Quiz and Captcha Fields */
.wpcf7-quiz label {
    font-weight: 600;
}

.wpcf7-captcha img {
    border-radius: 8px;
    margin-top: 8px;
}

/* Date Picker Enhancements */
.wpcf7-form input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
}

.wpcf7-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

.wpcf7-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Honeypot Field (spam protection) */
.wpcf7-form .wpcf7-honeypot {
    display: none !important;
}

/* Form Layout Helpers */
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.wpcf7-form .form-row.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .wpcf7-form .form-row,
    .wpcf7-form .form-row.three-cols {
        grid-template-columns: 1fr;
    }
    
    .entry-content h1 { font-size: 2rem; }
    .entry-content h2 { font-size: 1.75rem; }
    .entry-content h3 { font-size: 1.375rem; }
}

/* Accessibility - Focus States */
.wpcf7-form input:focus-visible,
.wpcf7-form select:focus-visible,
.wpcf7-form textarea:focus-visible {
    outline: none;
}

/* Print Styles */
@media print {
    .wpcf7-form {
        display: none;
    }
}

/* ==================== GUTENBERG BLOCK STYLES ==================== */

/* Wide and Full Width Alignments */
.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

/* Button Block */
.wp-block-button__link {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.875em 1.75em;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    background: var(--primary-color);
    color: var(--white);
}

.wp-block-button__link:hover {
    background: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

/* Buttons Block (multiple buttons) */
.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Quote Block */
.wp-block-quote {
    border-left: 4px solid var(--primary-color);
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: var(--bg-color);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.wp-block-quote p {
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
    color: var(--text-color);
}

.wp-block-quote cite,
.wp-block-quote__citation {
    display: block;
    margin-top: 0.75em;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--text-muted);
}

.wp-block-quote.is-style-large,
.wp-block-quote.is-large {
    padding: 1.5em 2em;
}

.wp-block-quote.is-style-large p,
.wp-block-quote.is-large p {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Pullquote Block */
.wp-block-pullquote {
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
    padding: 2em 0;
    margin: 2em 0;
    text-align: center;
}

.wp-block-pullquote blockquote {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.wp-block-pullquote p {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
}

.wp-block-pullquote cite {
    font-size: 1rem;
    font-style: normal;
    color: var(--text-muted);
}

/* Code Block */
.wp-block-code {
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
    background: var(--dark);
    color: #e2e8f0;
    padding: 1.25em 1.5em;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.wp-block-code code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* Preformatted Block */
.wp-block-preformatted {
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
    background: var(--bg-color);
    padding: 1.25em 1.5em;
    border-radius: var(--radius);
    white-space: pre-wrap;
    font-size: 0.9rem;
}

/* Cover Block */
.wp-block-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
}

.wp-block-cover.alignfull {
    border-radius: 0;
}

.wp-block-cover__inner-container {
    max-width: 800px;
}

/* Columns Block */
.wp-block-columns {
    gap: 2em;
    margin: 1.5em 0;
}

.wp-block-column {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }
}

/* Group Block */
.wp-block-group.has-background {
    padding: 2em;
    border-radius: var(--radius-lg);
}

/* Media & Text Block */
.wp-block-media-text {
    margin: 1.5em 0;
    gap: 2em;
}

.wp-block-media-text__content {
    padding: 0 1em;
}

@media (max-width: 600px) {
    .wp-block-media-text {
        display: block;
    }
    
    .wp-block-media-text__content {
        padding: 1.5em 0 0 0;
    }
}

/* Separator Block */
.wp-block-separator {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2em auto;
    width: 100%;
    max-width: 100px;
}

.wp-block-separator.is-style-wide {
    max-width: 100%;
}

.wp-block-separator.is-style-dots {
    border: none;
    text-align: center;
    max-width: 100%;
}

.wp-block-separator.is-style-dots::before {
    content: '···';
    color: var(--text-light);
    font-size: 1.5em;
    letter-spacing: 1em;
}

/* Table Block */
.wp-block-table {
    margin: 1.5em 0;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
    padding: 0.75em 1em;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.wp-block-table th {
    background: var(--bg-color);
    font-weight: 600;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background: var(--bg-color);
}

.wp-block-table figcaption {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75em;
}

/* Image Block */
.wp-block-image {
    margin: 1.5em 0;
}

.wp-block-image img {
    border-radius: var(--radius);
}

.wp-block-image.is-style-rounded img {
    border-radius: 50%;
}

.wp-block-image figcaption {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75em;
}

/* Gallery Block */
.wp-block-gallery {
    margin: 1.5em 0;
    gap: 1em;
}

.wp-block-gallery .wp-block-image {
    margin: 0;
}

.wp-block-gallery figcaption {
    font-size: 0.875rem;
    color: var(--white);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1em;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Video Block */
.wp-block-video {
    margin: 1.5em 0;
}

.wp-block-video video {
    border-radius: var(--radius);
    width: 100%;
}

/* Audio Block */
.wp-block-audio {
    margin: 1.5em 0;
}

.wp-block-audio audio {
    width: 100%;
}

/* Embed Blocks */
.wp-block-embed {
    margin: 1.5em 0;
}

.wp-block-embed__wrapper {
    border-radius: var(--radius);
    overflow: hidden;
}

/* File Block */
.wp-block-file {
    margin: 1.5em 0;
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

.wp-block-file a:not(.wp-block-file__button) {
    color: var(--primary-color);
    font-weight: 500;
}

.wp-block-file .wp-block-file__button {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75em 1.25em;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wp-block-file .wp-block-file__button:hover {
    background: var(--primary-hover);
    color: var(--white);
}

/* Details Block */
.wp-block-details {
    margin: 1.5em 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.wp-block-details summary {
    padding: 1em 1.25em;
    cursor: pointer;
    font-weight: 600;
    background: var(--bg-color);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.wp-block-details summary:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.wp-block-details[open] summary {
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: 1px solid var(--border-color);
}

.wp-block-details > *:not(summary) {
    padding: 1em 1.25em;
}

/* List Block */
.wp-block-list {
    margin: 0 0 1.5em 1.5em;
    padding: 0;
}

/* Drop Cap */
.has-drop-cap:not(:focus)::first-letter {
    float: left;
    font-size: 4em;
    line-height: 0.8;
    font-weight: 700;
    margin: 0.1em 0.15em 0 0;
    color: var(--primary-color);
}

/* ==================== GUTENBERG COLOR PALETTE CLASSES ==================== */

/* Text Colors */
.has-primary-color { color: var(--primary-color); }
.has-primary-hover-color { color: var(--primary-hover); }
.has-primary-light-color { color: var(--primary-light); }
.has-secondary-color { color: var(--secondary-color); }
.has-text-color-color { color: var(--text-color); }
.has-text-muted-color { color: var(--text-muted); }
.has-text-light-color { color: var(--text-light); }
.has-white-color { color: var(--white); }
.has-dark-color { color: var(--dark); }
.has-success-color { color: var(--success-color); }
.has-warning-color { color: var(--warning-color); }

/* Background Colors */
.has-primary-background-color { background-color: var(--primary-color); }
.has-primary-hover-background-color { background-color: var(--primary-hover); }
.has-primary-light-background-color { background-color: var(--primary-light); }
.has-secondary-background-color { background-color: var(--secondary-color); }
.has-text-color-background-color { background-color: var(--text-color); }
.has-text-muted-background-color { background-color: var(--text-muted); }
.has-background-background-color { background-color: var(--bg-color); }
.has-white-background-color { background-color: var(--white); }
.has-dark-background-color { background-color: var(--dark); }
.has-success-background-color { background-color: var(--success-color); }
.has-warning-background-color { background-color: var(--warning-color); }

/* Gradients */
.has-primary-gradient-gradient-background {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.has-dark-gradient-gradient-background {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.has-light-gradient-gradient-background {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.has-success-gradient-gradient-background {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* ==================== GUTENBERG FONT SIZE CLASSES ==================== */

.has-small-font-size { font-size: 14px; }
.has-normal-font-size { font-size: 16px; }
.has-medium-font-size { font-size: 18px; }
.has-large-font-size { font-size: 20px; }
.has-x-large-font-size { font-size: 24px; }
.has-huge-font-size { font-size: 32px; }
.has-gigantic-font-size { font-size: 48px; }

/* ==================== BLOG STYLES ==================== */

/* Blog Header */
.blog-header {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    padding: 48px 0 60px;
    text-align: center;
}

.blog-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.blog-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Archive */
.blog-archive {
    padding: 60px 0 80px;
}

/* Featured Post */
.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 48px;
    transition: all 0.3s ease;
}

.featured-post:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.featured-post-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.03);
}

.featured-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
}

.featured-post-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.featured-post-title a {
    color: var(--text-color);
}

.featured-post-title a:hover {
    color: var(--primary-color);
}

.featured-post-excerpt {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.featured-post-excerpt p {
    margin: 0;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.post-category:hover {
    background: var(--primary-color);
    color: var(--white);
}

.post-date {
    color: var(--text-muted);
    font-size: 14px;
}

.reading-time {
    color: var(--text-light);
    font-size: 14px;
}

/* Post Author */
.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar img {
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Blog Card */
.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.blog-card-placeholder {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    color: var(--primary-color);
    opacity: 0.5;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.blog-card-title a {
    color: var(--text-color);
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.post-author-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.post-author-small img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

/* ==================== SINGLE POST STYLES (News Style) ==================== */

/* Single Post Container */
.single-post-container {
    background: var(--white);
    padding: 40px 0 60px;
}

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* Main Content Area */
.single-post-main {
    min-width: 0;
}

/* Post Title */
.post-main-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-color);
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

/* Post Meta Row */
.post-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.post-meta-left {
    display: flex;
    align-items: center;
}

.post-author-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author-inline img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-color);
}

.author-info-inline {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name-inline {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.author-name-inline:hover {
    color: var(--primary-color);
}

.post-meta-date {
    font-size: 13px;
    color: var(--text-muted);
}

.post-meta-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Inline Share */
.share-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.share-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-icon:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.reading-time-inline {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
}

/* Featured Image Small */
.post-featured-image-small {
    margin: 0 0 24px 0;
    max-width: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.post-featured-image-small figcaption {
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Content Title */
.content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 20px 0;
}

/* Post Tags Inline */
.post-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.tag-link {
    background: var(--bg-color);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Share Bottom */
.post-share-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.share-buttons-row {
    display: flex;
    gap: 8px;
}

.share-btn-bottom {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.share-btn-bottom:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ==================== SIDEBAR STYLES ==================== */

.single-post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.title-accent {
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Latest Posts Widget */
.latest-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.latest-post-item {
    display: flex;
    gap: 12px;
}

.latest-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.latest-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-post-info {
    flex: 1;
    min-width: 0;
}

.latest-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-post-title a {
    color: var(--text-color);
}

.latest-post-title a:hover {
    color: var(--primary-color);
}

.latest-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.latest-post-cat {
    color: var(--primary-color);
    font-weight: 500;
}

.latest-post-date {
    color: var(--text-light);
}

/* Post Navigation (Previous/Next) */
.post-navigation {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.nav-links-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.nav-post {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-post:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.nav-post-empty {
    visibility: hidden;
}

.nav-post-prev {
    align-items: flex-start;
}

.nav-post-next {
    align-items: flex-end;
    text-align: right;
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-post-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-post:hover .nav-post-title {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links-posts {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .nav-post-prev,
    .nav-post-next {
        align-items: flex-start;
        text-align: left;
    }
    
    .nav-post-empty {
        display: none;
    }
}

/* Page Links (multi-page posts) */
.page-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.page-links-title {
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 8px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-color);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.page-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .featured-post {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .featured-post-content {
        padding: 0;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Single Post Layout */
    .single-post-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .single-post-sidebar {
        position: static;
    }
    
    .post-featured-image-small {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-post-title {
        font-size: 1.5rem;
    }
    
    /* Single Post Mobile */
    .post-main-title {
        font-size: 1.75rem;
    }
    
    .post-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .post-meta-right {
        flex-wrap: wrap;
    }
    
    .reading-time-inline {
        border-left: none;
        padding-left: 0;
    }
    
    .share-inline {
        flex-wrap: wrap;
    }
    
    .content-title {
        font-size: 1.25rem;
    }
    
    .latest-post-item {
        flex-direction: column;
    }
    
    .latest-post-thumb {
        width: 100%;
        height: 140px;
    }
}
