/* Blog Styles */
/* Premium Navigation Override */
.navbar {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(221, 229, 240, 0.82);
    box-shadow: 0 8px 28px rgba(23, 32, 51, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 34px rgba(23, 32, 51, 0.08);
}

.nav-container {
    min-height: 54px;
}

.logo-full {
    height: 34px;
}

.nav-main {
    gap: 28px;
}

.nav-menu {
    gap: 8px;
}

.nav-link {
    min-height: 38px;
    padding: 8px 10px;
    color: #243044;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    overflow: visible;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::before {
    display: none;
}

.nav-link::after {
    left: 10px;
    right: 10px;
    bottom: 2px;
    height: 2px;
    background: #F89833;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #4C60AA;
    transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-link.active {
    color: #4C60AA;
    font-weight: 800;
}

.nav-icon {
    color: #64748b;
    font-size: 0.92rem;
    min-width: auto;
    transition: color 0.2s ease;
}

.nav-link:hover .nav-icon,
.nav-link:focus-visible .nav-icon,
.nav-link.active .nav-icon {
    color: #4C60AA;
}

.dropdown-arrow {
    color: #94a3b8;
    font-size: 0.7rem;
    margin-left: 2px;
}

.dropdown-menu {
    top: calc(100% + 10px);
    left: -12px;
    min-width: 258px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(221, 229, 240, 0.96);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 60px rgba(23, 32, 51, 0.14);
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.dropdown-menu a {
    min-height: 42px;
    padding: 10px 12px;
    border-left: 0;
    border-radius: 6px;
    color: #2f3a4d;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    padding-left: 12px;
    transform: translateX(2px);
    color: #4C60AA;
    background: #f6f8fc;
}

.dropdown-menu i {
    color: #F89833;
    font-size: 0.9rem;
}

.dropdown-menu a:hover i,
.dropdown-menu a:focus-visible i {
    color: #4C60AA;
}

.btn-nav {
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 6px;
    background: #F89833;
    color: #111827;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(248, 152, 51, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn-nav:hover,
.btn-nav:focus-visible {
    background: #f58b17;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(248, 152, 51, 0.28);
}

.nav-toggle {
    width: 28px;
    height: 22px;
}

.nav-toggle span {
    height: 2px;
    background: #243044;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 8px 0;
    }

    .nav-main {
        top: 64px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid rgba(221, 229, 240, 0.96);
        box-shadow: 0 18px 46px rgba(23, 32, 51, 0.12);
    }

    .nav-menu {
        gap: 8px;
    }

    .nav-link {
        min-height: 46px;
        padding: 12px 14px;
        border: 1px solid rgba(221, 229, 240, 0.96);
        border-radius: 6px;
        transform: none;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
        transform: none;
        background: #f6f8fc;
    }

    .nav-link::after {
        left: 14px;
        bottom: 7px;
        width: 24px;
    }

    .dropdown-menu {
        margin-top: 8px;
        padding: 6px;
        border: 1px solid rgba(221, 229, 240, 0.96);
        border-radius: 6px;
        background: #f8fafc;
    }

    .dropdown-menu a {
        padding: 10px 12px;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
        border-radius: 6px;
    }
}

/* Premium Contact Page */
.contact-page {
    --contact-blue: #4C60AA;
    --contact-orange: #F89833;
    --contact-ink: #172033;
    --contact-text: #4b5563;
    --contact-muted: #6b7280;
    --contact-line: #dde5f0;
    --contact-soft: #f6f8fc;
    background: #fff;
    color: var(--contact-text);
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
    color: var(--contact-ink);
    letter-spacing: 0;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--contact-blue);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--contact-orange);
}

.contact-hero {
    margin-top: 70px;
    padding: clamp(48px, 7vw, 82px) 0 clamp(36px, 5vw, 58px);
    background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 86%);
    border-bottom: 1px solid var(--contact-line);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.contact-hero-copy h1 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2.25rem, 4.6vw, 4.3rem);
    line-height: 1;
}

.contact-hero-copy p {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--contact-text);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.72;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.contact-page .btn {
    border-radius: 6px;
}

.contact-hero-panel,
.contact-form-shell,
.contact-context-card,
.contact-faq-card {
    border: 1px solid var(--contact-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
}

.contact-hero-panel {
    padding: 8px;
}

.contact-panel-row {
    display: grid;
    gap: 5px;
    padding: 16px;
    border-bottom: 1px solid var(--contact-line);
}

.contact-panel-row:last-child {
    border-bottom: 0;
}

.contact-panel-row span {
    color: var(--contact-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-panel-row strong,
.contact-panel-row a {
    color: var(--contact-ink);
    font-weight: 800;
    text-decoration: none;
}

.contact-panel-row a:hover {
    color: var(--contact-blue);
}

.contact-methods {
    padding: 20px 0;
    border-bottom: 1px solid var(--contact-line);
}

.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.contact-method-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--contact-line);
    border-radius: 6px;
    background: #fff;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-method-card:hover {
    transform: translateY(-3px);
    border-color: rgba(76, 96, 170, 0.42);
    box-shadow: 0 14px 34px rgba(23, 32, 51, 0.08);
}

.contact-method-card i {
    color: var(--contact-orange);
    font-size: 1.05rem;
}

.contact-method-card span {
    color: var(--contact-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-method-card strong {
    color: var(--contact-ink);
    font-size: 0.95rem;
    line-height: 1.35;
}

.contact-main-section,
.contact-faq-section {
    padding: clamp(58px, 8vw, 92px) 0;
}

.contact-main-section {
    background: var(--contact-soft);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: clamp(24px, 4vw, 44px);
    align-items: start;
}

.contact-form-shell {
    padding: clamp(24px, 4vw, 38px);
}

.contact-section-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.contact-section-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.08;
}

.contact-section-heading p {
    margin: 14px 0 0;
    color: var(--contact-text);
    line-height: 1.72;
}

.contact-premium-form {
    display: grid;
    gap: 18px;
}

.contact-premium-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-premium-form .form-group {
    margin: 0;
}

.contact-premium-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--contact-ink);
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-premium-form input,
.contact-premium-form select,
.contact-premium-form textarea {
    width: 100%;
    border: 1px solid var(--contact-line);
    border-radius: 6px;
    background: #fff;
    color: var(--contact-ink);
    padding: 13px 14px;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-premium-form textarea {
    resize: vertical;
}

.contact-premium-form input:focus,
.contact-premium-form select:focus,
.contact-premium-form textarea:focus {
    outline: none;
    border-color: var(--contact-blue);
    box-shadow: 0 0 0 4px rgba(76, 96, 170, 0.1);
}

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.contact-checkbox {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    color: var(--contact-text) !important;
    font-weight: 600 !important;
}

.contact-checkbox input {
    width: auto;
}

.contact-context {
    display: grid;
    gap: 16px;
}

.contact-context-card {
    padding: 24px;
}

.contact-context-card h3 {
    margin: 0 0 18px;
}

.contact-context-card ol {
    display: grid;
    gap: 16px;
    margin: 0;
    padding-left: 20px;
}

.contact-context-card li::marker {
    color: var(--contact-orange);
    font-weight: 900;
}

.contact-context-card strong {
    display: block;
    color: var(--contact-ink);
    margin-bottom: 4px;
}

.contact-context-card span {
    color: var(--contact-text);
    line-height: 1.55;
}

.contact-hours-card div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--contact-line);
}

.contact-hours-card div:last-child {
    border-bottom: 0;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-faq-card {
    padding: 22px;
}

.contact-faq-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.contact-faq-card p {
    margin: 0;
    color: var(--contact-text);
    line-height: 1.62;
}

@media (max-width: 1024px) {
    .contact-hero-grid,
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-method-grid,
    .contact-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .contact-hero {
        margin-top: 64px;
        padding: 38px 0 42px;
    }

    .contact-hero-copy h1 {
        max-width: 100%;
        font-size: 2.25rem;
    }

    .contact-method-grid,
    .contact-faq-grid,
    .contact-premium-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-footer .btn,
    .contact-hero-actions .btn {
        width: 100%;
    }
}

/* Premium Shared Page Overrides */
body:not(.nav-open) .hero {
    margin-top: 70px;
    padding: clamp(54px, 7vw, 86px) 0 clamp(44px, 6vw, 68px);
    background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 84%);
    color: #172033;
    border-bottom: 1px solid #dde5f0;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero .container {
    max-width: 1180px;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    color: #172033;
    font-size: clamp(2.25rem, 4.6vw, 4.25rem);
    line-height: 1;
    animation: none;
}

.hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: #4b5563;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.72;
    opacity: 1;
    animation: none;
}

.hero .hero-buttons {
    margin-top: 26px;
    animation: none;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 34px;
}

.section-header h2,
.services-overview h2,
.benefits h2,
.testimonials h2,
.service-content h2,
.cta-section h2 {
    color: #172033;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.08;
}

.section-header h2::after,
.services-overview h2::after,
.benefits h2::after,
.testimonials h2::after {
    background: #F89833;
}

.section-header p,
.section-subtitle,
.services-overview p,
.service-content p,
.cta-section p {
    color: #4b5563;
    line-height: 1.72;
}

.services-overview,
.features-section,
.process-section,
.case-studies,
.testimonials-section,
.industries-section,
.contact-info-section,
.benefits,
.testimonials,
.faq-section {
    background: #fff;
}

.services-section,
.service-detail:nth-of-type(even),
.process-section,
.contact-info-section {
    background: #f6f8fc;
}

.service-card,
.problem-card,
.feature-item,
.case-study-card,
.testimonial-card,
.industry-card,
.contact-card,
.benefit-item,
.faq-item,
.process-step {
    border: 1px solid #dde5f0;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.problem-card:hover,
.feature-item:hover,
.case-study-card:hover,
.testimonial-card:hover,
.industry-card:hover,
.contact-card:hover,
.benefit-item:hover,
.faq-item:hover,
.process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 96, 170, 0.4);
    box-shadow: 0 18px 44px rgba(23, 32, 51, 0.1);
}

.service-card-img,
.service-icon,
.feature-icon,
.contact-icon-wrapper,
.industry-card i {
    border-radius: 6px;
    color: #4C60AA;
}

.service-card h3,
.feature-item h3,
.problem-card h3,
.case-study-card h3,
.testimonial-author strong,
.contact-card h3,
.benefit-item h3,
.process-step h3 {
    color: #172033;
}

.service-detail-container {
    gap: clamp(34px, 5vw, 70px);
}

.service-image {
    border-radius: 8px;
    border: 1px solid #dde5f0;
    box-shadow: 0 18px 44px rgba(23, 32, 51, 0.08);
    background: #fff;
}

.service-proof span,
.client-pill,
.post-count,
.category-tag {
    border-radius: 6px;
}

.cta-section {
    background: #172033;
}

.cta-section::before {
    display: none;
}

.cta-section h2,
.cta-section p {
    color: #fff;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.76);
}

.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

@media (max-width: 768px) {
    body:not(.nav-open) .hero {
        margin-top: 64px;
        padding: 42px 0 46px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }
}

.home-page {
    --home-blue: #4C60AA;
    --home-orange: #F89833;
    --home-ink: #172033;
    --home-text: #4b5563;
    --home-muted: #6b7280;
    --home-line: #dde5f0;
    --home-soft: #f6f8fc;
    --home-card: #ffffff;
    background: #fff;
    color: var(--home-text);
}

.home-page .container {
    max-width: 1180px;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p {
    letter-spacing: 0;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    color: var(--home-ink);
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--home-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--home-orange);
}

.home-hero {
    margin-top: 70px;
    padding: clamp(42px, 6vw, 68px) 0 clamp(34px, 5vw, 54px);
    background:
        linear-gradient(180deg, #f7f9fd 0%, #ffffff 82%);
    border-bottom: 1px solid var(--home-line);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

.home-hero-copy h1 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.25rem, 4.5vw, 4.25rem);
    line-height: 1;
}

.home-hero-copy p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--home-text);
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    line-height: 1.72;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.home-page .btn {
    border-radius: 6px;
    min-height: 46px;
    padding: 12px 20px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.home-page .btn-primary {
    background: var(--home-orange);
    color: #111827;
    box-shadow: 0 12px 26px rgba(248, 152, 51, 0.24);
}

.home-page .btn-primary:hover {
    background: #f58b17;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(248, 152, 51, 0.3);
}

.home-page .btn-secondary {
    background: #fff;
    color: var(--home-blue);
    border: 1px solid var(--home-line);
}

.home-page .btn-secondary:hover {
    color: var(--home-ink);
    border-color: var(--home-blue);
    transform: translateY(-2px);
}

.home-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin-top: 26px;
}

.home-metrics div {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 6px;
}

.home-metrics strong {
    display: block;
    color: var(--home-blue);
    font-size: 1.35rem;
    line-height: 1;
}

.home-metrics span {
    display: block;
    margin-top: 8px;
    color: var(--home-muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.home-hero-visual {
    min-width: 0;
}

.home-system-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    box-shadow: 0 20px 46px rgba(23, 32, 51, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-system-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 58px rgba(23, 32, 51, 0.15);
}

.home-system-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border-bottom: 1px solid var(--home-line);
}

.home-system-header span {
    color: var(--home-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.home-system-header strong {
    color: var(--home-ink);
    font-size: 0.82rem;
}

.home-system-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.home-system-body picture {
    display: block;
    max-height: 330px;
    overflow: hidden;
    background: #eef2f8;
}

.home-system-body img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 330px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
}

.home-system-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--home-line);
}

.home-system-insights div {
    padding: 14px;
    border-right: 1px solid var(--home-line);
}

.home-system-insights div:last-child {
    border-right: 0;
}

.home-system-insights span {
    display: block;
    color: var(--home-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.home-system-insights strong {
    display: block;
    margin-top: 5px;
    color: var(--home-blue);
    font-size: 0.98rem;
}

.home-proof {
    padding: 18px 0;
    background: #fff;
    border-bottom: 1px solid var(--home-line);
}

.home-proof-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.home-proof-row span {
    color: var(--home-muted);
    font-weight: 800;
    font-size: 0.86rem;
    text-transform: uppercase;
}

.home-section {
    padding: clamp(58px, 8vw, 92px) 0;
}

.home-section:nth-of-type(even) {
    background: var(--home-soft);
}

.home-split,
.home-outcomes-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
    gap: clamp(30px, 6vw, 70px);
    align-items: start;
}

.home-section-copy h2,
.home-section-header h2,
.home-cta h2 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1.08;
}

.home-section-copy p,
.home-section-header p,
.home-cta p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--home-text);
    line-height: 1.72;
}

.home-section-header {
    max-width: 760px;
    margin-bottom: 34px;
}

.home-checklist {
    display: grid;
    gap: 12px;
}

.home-checklist div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-checklist div:hover {
    transform: translateX(4px);
    border-color: rgba(76, 96, 170, 0.42);
    box-shadow: 0 12px 28px rgba(23, 32, 51, 0.07);
}

.home-checklist i {
    color: var(--home-orange);
    margin-top: 3px;
}

.home-checklist span {
    color: var(--home-ink);
    font-weight: 700;
}

.home-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-solution-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.home-solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 96, 170, 0.45);
    box-shadow: 0 18px 44px rgba(23, 32, 51, 0.1);
}

.home-solution-card picture {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f8;
}

.home-solution-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-solution-card:hover img {
    transform: scale(1.04);
}

.home-solution-card div {
    padding: 18px;
}

.home-solution-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.home-solution-card p {
    margin: 0;
    color: var(--home-text);
    line-height: 1.55;
    font-size: 0.94rem;
}

.home-process {
    background: #fff;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--home-line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.home-process-grid div {
    padding: 24px;
    border-right: 1px solid var(--home-line);
    transition: background-color 0.22s ease;
}

.home-process-grid div:last-child {
    border-right: 0;
}

.home-process-grid div:hover {
    background: #f8fafc;
}

.home-process-grid span {
    display: inline-flex;
    margin-bottom: 36px;
    color: var(--home-orange);
    font-weight: 900;
}

.home-process-grid h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.home-process-grid p {
    margin: 0;
    color: var(--home-text);
    line-height: 1.58;
    font-size: 0.95rem;
}

.home-outcome-list {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    background: var(--home-line);
}

.home-outcome-list div {
    padding: 22px;
    background: #fff;
}

.home-outcome-list strong {
    display: block;
    color: var(--home-ink);
    margin-bottom: 7px;
}

.home-outcome-list span {
    color: var(--home-text);
    line-height: 1.58;
}

.home-cta {
    padding: clamp(58px, 8vw, 86px) 0;
    background: var(--home-ink);
    color: white;
}

.home-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
}

.home-cta h2,
.home-cta p {
    color: white;
}

.home-cta p {
    color: rgba(255, 255, 255, 0.76);
}

.home-cta .home-eyebrow {
    color: var(--home-orange);
}

.home-cta .btn-secondary {
    color: white;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.home-cta .btn-secondary:hover {
    border-color: white;
}

@media (max-width: 1024px) {
    .home-hero-grid,
    .home-split,
    .home-outcomes-grid,
    .home-cta-inner {
        grid-template-columns: 1fr;
    }

    .home-hero-copy h1 {
        max-width: 15ch;
    }

    .home-solutions-grid,
    .home-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-process-grid div:nth-child(2) {
        border-right: 0;
    }

    .home-process-grid div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--home-line);
    }
}

@media (max-width: 640px) {
    .home-hero {
        margin-top: 64px;
        padding: 34px 0 38px;
    }

    .home-hero-copy h1 {
        max-width: 100%;
        font-size: 2.15rem;
    }

    .home-actions .btn,
    .home-cta .btn {
        width: 100%;
    }

    .home-metrics,
    .home-solutions-grid,
    .home-process-grid {
        grid-template-columns: 1fr;
    }

    .home-system-body picture,
    .home-system-body img {
        max-height: 240px;
    }

    .home-system-insights {
        grid-template-columns: 1fr;
    }

    .home-system-insights div {
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .home-system-insights div:last-child {
        border-bottom: 0;
    }

    .home-process-grid div,
    .home-process-grid div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .home-process-grid div:last-child {
        border-bottom: 0;
    }

    .home-proof-row {
        justify-content: flex-start;
    }
}

.blog-hero {
    background: #f7f9fd;
    color: var(--dark-color);
    padding: 32px 0;
    margin-top: 70px;
    border-bottom: 1px solid var(--border-color);
}

.blog-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: 28px;
    max-width: 1160px;
    margin: 0 auto;
    text-align: left;
}

.blog-hero h1 {
    margin: 0;
    color: var(--dark-color);
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    line-height: 1.12;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-color);
    margin: 10px 0 0;
    max-width: 620px;
    line-height: 1.55;
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin: 28px 0 56px;
}

@media (max-width: 992px) {
    .blog-hero-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.post-image {
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    background: #eef2f8;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 22px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--light-text);
}

.post-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.post-category:hover {
    background: var(--primary-color);
    color: white;
}

.post-title {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.post-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 14px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition-base);
}

.read-more:hover {
    gap: 10px;
}

.post-stats {
    display: flex;
    gap: 15px;
    color: var(--light-text);
    font-size: 0.85rem;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

.widget-title i {
    color: var(--primary-color);
}

/* Categories List */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--light-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition-base);
}

.categories-list a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-count {
    background: var(--border-color);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    gap: 15px;
    align-items: center;
}

.popular-post-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.popular-post-content h4 a {
    color: var(--dark-color);
    text-decoration: none;
}

.popular-post-content h4 a:hover {
    color: var(--primary-color);
}

.popular-post-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--light-text);
}

/* Newsletter Widget */
.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.newsletter-form .btn {
    margin-bottom: 10px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--light-text);
    text-align: center;
    margin: 0;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--darker-color));
    color: white;
    text-align: center;
}

.cta-widget h3 {
    color: white;
    margin-bottom: 10px;
}

.cta-widget p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-widget .btn {
    background: white;
    color: var(--primary-color);
}

.cta-widget .btn:hover {
    background: var(--light-color);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all var(--transition-base);
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--primary-color);
    color: white;
}

/* Single Article Styles */
.article-hero {
    padding: 24px 0 18px;
    margin-top: 0;
    background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 78%);
    border-bottom: 1px solid var(--border-color);
}

.article-header {
    max-width: 820px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.article-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.article-category:hover {
    background: var(--primary-color);
    color: white;
}

.meta-details {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.meta-details i {
    margin-right: 5px;
}

.article-title {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.12;
    margin: 0 0 12px 0;
    color: var(--dark-color);
}

.article-excerpt {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.article-featured-image {
    margin: 24px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 820px;
    aspect-ratio: 16 / 9;
    background: #eef2f8;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    display: block;
    object-fit: cover;
}

/* Article Content Layout */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin: 28px 0 56px;
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark-color);
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.article-body p {
    margin-bottom: 14px;
}

.article-body h4 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: var(--dark-color);
}

.article-body ul,
.article-body ol {
    margin: 0 0 24px 24px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body strong,
.article-body b {
    color: var(--dark-color);
    font-weight: 800;
}

.article-body em,
.article-body i {
    color: #374151;
}

.article-body blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--secondary-color);
    background: #fff7ed;
    color: #374151;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body code {
    padding: 2px 6px;
    border-radius: 4px;
    background: #eef2f8;
    color: var(--dark-color);
    font-size: 0.95em;
}

.article-body pre {
    overflow-x: auto;
    padding: 18px;
    border-radius: var(--radius-md);
    background: #172033;
    color: white;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

/* Tags */
.article-tags {
    margin: 40px 0;
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--radius-lg);
}

.article-tags h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px 0;
    color: var(--dark-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: white;
    padding: 6px 15px;
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Social Sharing */
.social-sharing {
    margin: 40px 0;
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--radius-lg);
}

.social-sharing h4 {
    margin: 0 0 15px 0;
    color: var(--dark-color);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.linkedin {
    background: #0077B5;
    color: white;
}

.share-btn.email {
    background: var(--text-color);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--light-color);
    border-radius: var(--radius-lg);
    margin: 40px 0;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 3rem;
    color: var(--primary-color);
}

.author-info h4 {
    margin: 0 0 10px 0;
    color: var(--dark-color);
}

.author-info p {
    margin: 0 0 15px 0;
    color: var(--text-color);
}

.author-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.author-link:hover {
    gap: 10px;
}

/* Related Articles */
.related-articles {
    margin: 60px 0;
}

.related-articles h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-article {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-image {
    height: 180px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-article:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-content h4 a {
    color: var(--dark-color);
    text-decoration: none;
}

.related-content h4 a:hover {
    color: var(--primary-color);
}

.related-excerpt {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-meta {
    font-size: 0.85rem;
    color: var(--light-text);
}

/* Article CTA */
.article-cta {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--darker-color));
    color: white;
    border-radius: var(--radius-xl);
    margin: 60px 0;
}

.article-cta h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.article-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.article-cta .btn {
    min-width: 200px;
}

/* Table of Contents */
.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 8px;
}

.toc-nav a {
    display: block;
    padding: 8px 12px;
    background: var(--light-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all var(--transition-base);
    border-left: 3px solid transparent;
}

.toc-nav a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 15px;
}

.toc-nav .toc-h3 {
    padding-left: 20px;
    font-size: 0.85rem;
}

/* Breadcrumbs */
.breadcrumbs {
    margin-top: 70px;
    padding: 14px 0 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

.breadcrumbs a {
    color: var(--text-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Search Styles */
.search-form-large {
    max-width: 600px;
    margin: 30px auto;
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 96, 170, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 0 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: translateX(-2px);
}

.search-stats {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 40px;
}

/* Results List */
.results-list {
    max-width: 800px;
    margin: 0 auto;
}

.result-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.result-image {
    width: 200px;
    height: 150px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.result-item:hover .result-image img {
    transform: scale(1.05);
}

.result-content {
    flex: 1;
}

.result-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--light-text);
    flex-wrap: wrap;
}

.result-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
}

.result-title {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.result-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.result-title a:hover {
    color: var(--primary-color);
}

.result-excerpt {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.result-excerpt mark {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 2px 4px;
    border-radius: var(--radius-sm);
}

.result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* No Results/Search States */
.no-posts,
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-posts i,
.no-results i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-posts h3,
.no-results h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.no-posts p,
.no-results p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.suggested-categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: var(--light-color);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.category-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-tag .count {
    background: var(--border-color);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.category-tag:hover .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Admin Styles (Basic) */
body:has(.admin-container) {
    margin: 0;
    background: #f6f8fc;
    color: #263348;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.admin-container {
    --primary-color: #4C60AA;
    --primary-light: rgba(76, 96, 170, 0.1);
    --secondary-color: #F89833;
    --dark-color: #243044;
    --darker-color: #1c2536;
    --light-color: #f6f8fc;
    --text-color: #4b5563;
    --border-color: #dfe6f0;
    --error-color: #dc2626;
    --success-color: #15803d;
    --warning-color: #b45309;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-base: 180ms ease;
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--darker-color);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logo h2 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: all var(--transition-base);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 3px solid var(--primary-color);
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
    background: var(--light-color);
    min-height: 100vh;
}

.admin-main h1 {
    margin: 0 0 24px;
    color: var(--dark-color);
    font-size: 1.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card,
.quick-actions,
.posts-table-container,
.category-card,
.add-category,
.post-form {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 32px rgba(36, 48, 68, 0.08);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), #334486);
    color: white;
    font-size: 1.25rem;
}

.stat-content h3 {
    margin: 0 0 6px;
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 700;
}

.stat-number {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 800;
}

.quick-actions,
.add-category,
.post-form {
    padding: 24px;
}

.quick-actions h2,
.add-category h3 {
    margin: 0 0 16px;
    color: var(--dark-color);
}

.action-buttons,
.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(36, 48, 68, 0.12);
}

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

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

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

.posts-table-container {
    overflow-x: auto;
}

.posts-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.posts-table th,
.posts-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
}

.posts-table th {
    background: #eef2f8;
    color: var(--dark-color);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.posts-table td {
    color: var(--text-color);
}

.posts-table tbody tr:last-child td {
    border-bottom: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.category-card {
    padding: 20px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.category-header h3 {
    margin: 0;
    color: var(--dark-color);
}

.post-count {
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
}

.category-desc {
    color: var(--text-color);
    line-height: 1.5;
}

.category-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
    color: var(--secondary-color);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Image Preview */
.image-preview {
    margin-bottom: 15px;
    display: none;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.image-options {
    margin-top: 10px;
}

.image-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Delete Warning */
.delete-warning {
    text-align: center;
    padding: 20px;
    background: rgba(229, 62, 62, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--error-color);
}

.delete-warning i {
    font-size: 3rem;
    color: var(--error-color);
    margin-bottom: 15px;
}

.delete-warning h3 {
    color: var(--error-color);
    margin-bottom: 10px;
}

.delete-warning p {
    color: var(--text-color);
    margin-bottom: 5px;
}

/* Editor Toolbar */
.editor-toolbar {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--light-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.editor-btn {
    padding: 8px 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.editor-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Quick Edit Styles */
.quick-edit-form {
    display: none;
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    z-index: 100;
    min-width: 250px;
}

.quick-edit-form .form-group {
    margin-bottom: 15px;
}

.quick-edit-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-draft {
    background: #FEF3C7;
    color: #92400E;
}

.status-published {
    background: #D1FAE5;
    color: #065F46;
}

.status-archived {
    background: #F3F4F6;
    color: #374151;
}
/* Row selection */
.posts-table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.posts-table tbody tr:hover {
    background-color: rgba(76, 96, 170, 0.05);
}

.posts-table tbody tr.selected {
    background-color: rgba(76, 96, 170, 0.1);
    border-left: 3px solid var(--primary-color);
}

/* Loading states */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disabled state */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Status badges clickable */
.status-badge {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.status-badge:hover {
    transform: scale(1.05);
}

/* Loading states */
.btn-action.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-action.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert styles */
.alert {
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Image preview */
.image-preview {
    border: 2px dashed #ddd;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 4px;
}

/* Form improvements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    font-family: monospace;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Action buttons in table */
.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-action {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-action:active {
    transform: translateY(0);
}

/* Status badges */
.status-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-published {
    background-color: #d4edda;
    color: #155724;
}

.status-draft {
    background-color: #fff3cd;
    color: #856404;
}

.status-archived {
    background-color: #f8d7da;
    color: #721c24;
}
/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 24px 0;
        margin-top: 64px;
    }

    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.96rem;
    }

    .breadcrumbs {
        margin-top: 64px;
        padding: 12px 0 0;
    }

    .article-hero {
        padding: 18px 0 14px;
    }
    
    .article-title {
        font-size: 1.85rem;
    }

    .article-featured-image {
        margin-top: 18px;
        border-radius: 10px;
        max-width: 100%;
    }

    .article-layout {
        margin-top: 22px;
        gap: 28px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .result-item {
        flex-direction: column;
    }
    
    .result-image {
        width: 100%;
        height: 200px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meta-details {
        width: 100%;
        justify-content: space-between;
    }
    
    .admin-sidebar {
        width: 100%;
        position: static;
        height: auto;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-container {
        flex-direction: column;
    }
}
