/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e40af;
    white-space: nowrap;
}

.logo-text {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #2563eb;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cta {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(30, 64, 175, 0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

/* The header button already links to /get-verification/, so the menu entry
   with the same destination is hidden while the button is on screen. Below
   640px the button is hidden and the menu entry comes back. */
@media (min-width: 641px) {
    .nav-menu .menu-item-20 {
        display: none;
    }

    /* The hidden entry was the last one, so its neighbour becomes the last
       visible row and has to lose the separator. */
    .header-content.menu-open .nav-menu li:nth-last-child(2) a {
        border-bottom: 0;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #374151;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 3rem 0 5rem;
    text-align: center;
}

.hero-tagline {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-badge {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-box {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.verification-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
}

.search-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    width: 100%;
}

/* ==========================================================================
   Sections
   ========================================================================== */

section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works-section {
    background: #fff;
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.05);
    transition: transform 0.3s ease;
}

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

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-card p {
    color: #64748b;
    font-size: 0.9375rem;
}

.process-steps-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #e5e7eb;
}

.process-steps-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
}

.process-step .step-number {
    margin: 0 auto 1rem;
}

.process-step h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.process-step p {
    color: #64748b;
    font-size: 0.875rem;
}

/* ==========================================================================
   Report Content Section
   ========================================================================== */

.report-content-section {
    background: #f9fafb;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.content-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.content-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.content-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.content-item p {
    color: #64748b;
    font-size: 0.875rem;
}

/* ==========================================================================
   Use Cases Section
   ========================================================================== */

.use-cases-section {
    background: #fff;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.use-case-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #2563eb;
}

.use-case-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1e40af;
}

.use-case-card p {
    color: #475569;
    font-size: 0.9375rem;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    background: #f9fafb;
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #f59e0b;
}

.testimonial-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: #1e293b;
    font-size: 1rem;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.875rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 5rem 0;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn-large,
.about-cta .btn-large {
    width: auto;
    display: inline-block;
    padding: 1rem 2.5rem;
}

.cta-section .btn-primary {
    background: #fff;
    color: #1e40af;
}

.cta-section .btn-primary:hover {
    background: #f3f4f6;
    color: #1e3a8a;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

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

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.payment-icons span {
    background: #334155;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* On phones the auto-fit grid falls back to one long column — four sections
   stacked makes the footer taller than the page. Two columns halve it. */
@media (max-width: 700px) {
    .site-footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-section ul li {
        margin-bottom: 0.375rem;
    }

    .footer-section a {
        font-size: 0.9375rem;
    }

    .payment-icons span {
        padding: 0.4rem 0.75rem;
        font-size: 0.8125rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }
}

@media (max-width: 360px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* The menu labels are long ("Verification Hub", "Get Verification") and the
   logo got longer with the China Company Check rename, so the desktop bar
   runs out of room well before tablet width. Collapse to the hamburger at
   1150px instead of letting the labels wrap onto two lines. */
@media (max-width: 1149px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0.9rem;
    }

    /* With the menu collapsed the empty wrapper still eats the flexible space
       and pushes the hamburger onto a second row. */
    .main-navigation {
        flex: 0 0 auto;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Opened menu: a full-width panel under the logo bar. Without this the
       links stack in the narrow slot between the logo and the hamburger. */
    .header-content.menu-open {
        row-gap: 0;
    }

    .header-content.menu-open .main-navigation {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        margin-top: 0.5rem;
        border-top: 1px solid #e5e7eb;
    }

    .header-content.menu-open .nav-menu a {
        display: block;
        padding: 0.85rem 0;
        font-size: 1rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .header-content.menu-open .nav-menu li:last-child a {
        border-bottom: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

/* Narrow enough that the logo, the header button and the hamburger no longer
   fit on one row; the menu already carries "Get Verification". */
@media (max-width: 640px) {
    .header-cta {
        display: none;
    }
}

@media (max-width: 1199px) and (min-width: 1150px) {
    .nav-menu {
        gap: 1.1rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .steps-grid,
    .content-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .search-box {
        padding: 1.5rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    /* Keep the brand, header CTA and hamburger on one row. */
    .header-content {
        gap: 0.5rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

}

/* ==========================================================================
   Page Header (Generic)
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3.5rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    color: #64748b;
}

.page-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.6rem;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.verification-order-form,
.order-lookup-form,
.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.form-note {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
}

/* ==========================================================================
   Pricing Page
   ========================================================================== */

.pricing-section {
    background: #fff;
}

.pricing-card-wrapper {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.pricing-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.pricing-header h2 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price .currency {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
}

.price-note {
    color: #6b7280;
    font-size: 0.9375rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #374151;
    font-size: 1rem;
}

.pricing-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.delivery-time {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.9375rem;
}

.pricing-benefits {
    margin-top: 4rem;
}

.pricing-benefits h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
}

.benefit-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.benefit-item p {
    color: #64748b;
}

/* ==========================================================================
   Order Summary
   ========================================================================== */

.order-summary {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 2px solid #e5e7eb;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

/* ==========================================================================
   Verification Features / Process Steps
   ========================================================================== */

.verification-features {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.verification-features h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.process-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.process-steps li {
    counter-increment: step-counter;
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    color: #374151;
}

.process-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ==========================================================================
   Sample Report Page
   ========================================================================== */

.report-preview {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sample-report-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: #64748b;
}

.report-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.report-section:last-child {
    border-bottom: none;
}

.report-section h2 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.report-content ul {
    list-style: none;
    padding: 0;
}

.report-content li {
    padding: 0.5rem 0;
    color: #374151;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.report-table th,
.report-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.report-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #1e293b;
}

.status-good {
    color: #059669;
    font-weight: 600;
}

.sample-report-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 1rem;
}

.sample-report-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.sample-report-cta p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Order Details & Lookup
   ========================================================================== */

.order-lookup-section {
    background: #f9fafb;
}

.order-lookup-container {
    max-width: 600px;
    margin: 0 auto;
}

.order-result {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.order-result-content h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.order-details {
    margin-bottom: 1.5rem;
}

.order-details p {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.order-details p:last-child {
    border-bottom: none;
}

.order-report-download,
.order-report-pending {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    border-left: 4px solid #2563eb;
}

.order-report-download {
    border-left-color: #059669;
}

.order-report-download h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.order-report-download p,
.order-report-pending p {
    margin-bottom: 1rem;
    color: #374151;
}

.order-report-download p:last-child,
.order-report-pending p:last-child {
    margin-bottom: 0;
}

.order-error {
    text-align: center;
    padding: 2rem;
}

.order-error p {
    font-size: 1.125rem;
    font-weight: 600;
}

.order-help {
    margin-top: 2rem;
    text-align: center;
    padding: 2rem;
    background: #eff6ff;
    border-radius: 0.75rem;
}

.order-help h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.order-help p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.order-lookup-lead {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 18px;
}

.order-lookup-help {
    margin: 8px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.order-timeline {
    margin-top: 2rem;
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.order-timeline h3 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: #1e293b;
}

.order-timeline ol {
    margin: 0;
    padding-left: 20px;
    color: #374151;
    font-size: 14px;
    line-height: 1.8;
}

.order-timeline li {
    margin-bottom: 6px;
}

.od-account {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #374151;
}

.od-account p {
    margin: 0 0 6px;
}

.od-credits {
    color: #0b2a4a;
    font-size: 15px;
}

.od-order {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.od-order-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.od-order-head h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #111827;
}

.od-order-meta {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.od-badge {
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 10px;
    white-space: nowrap;
}

.od-badge--ok { background: #ecfdf5; color: #065f46; }
.od-badge--info { background: #eff6ff; color: #1d4ed8; }
.od-badge--warn { background: #fffbeb; color: #92400e; }
.od-badge--bad { background: #fef2f2; color: #b91c1c; }
.od-badge--muted { background: #f3f4f6; color: #4b5563; }

.od-companies {
    margin: 12px 0 0;
    padding-left: 20px;
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
}

.od-order-total {
    display: flex;
    justify-content: space-between;
    margin: 12px 0 0;
    font-size: 14px;
    color: #374151;
}

.od-order-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #4b5563;
    background: #f9fafb;
    border-left: 3px solid #cbd5e1;
    padding: 8px 12px;
    border-radius: 4px;
}

.od-report-ready {
    margin-top: 14px;
    background: #ecfdf5;
    border-left: 4px solid #059669;
    border-radius: 8px;
    padding: 12px 14px;
}

.od-report-ready p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #065f46;
}

.od-loading {
    text-align: center;
    color: #6b7280;
}

@media (max-width: 480px) {
    .od-order-head {
        flex-direction: column;
    }
}

/* ==========================================================================
   About & Hub Pages
   ========================================================================== */

.about-content-section,
.hub-content {
    background: #fff;
}

.about-intro,
.about-mission,
.about-values,
.about-team {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-intro h2,
.about-mission h2,
.about-values h2,
.about-team h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.about-intro p,
.about-mission p,
.about-team p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.125rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.05);
}

.value-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.value-item p {
    color: #64748b;
    font-size: 0.9375rem;
}

.about-cta {
    text-align: center;
    padding: 3rem 0;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

/* ==========================================================================
   Verification Hub
   ========================================================================== */

.hub-sections {
    max-width: 900px;
    margin: 0 auto;
}

.hub-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.hub-section:last-child {
    border-bottom: none;
}

.hub-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.hub-section h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: #1e293b;
}

.hub-section p,
.hub-section ul {
    color: #64748b;
    line-height: 1.8;
}

.hub-section ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.hub-section ul li {
    margin-bottom: 0.5rem;
}

.faq-item {
    margin-bottom: 1.25rem;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.05);
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.faq-item p {
    color: #64748b;
    margin: 0;
}

/* Hub hero */

.hub-hero {
    text-align: center;
    padding: 3.5rem 0 3rem;
}

.hub-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.6rem;
}

.hub-hero h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hub-hero p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #64748b;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hub-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.hub-hero-sample {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d4ed8;
}

/* Shared section chrome */

.hub-section-title {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.hub-section-sub {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 740px;
    margin-bottom: 2.25rem;
}

/* Process steps */

.hub-process-section {
    background: #f8fafc;
    padding: 3.5rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.hub-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    margin-top: 2rem;
}

.hub-step {
    position: relative;
    padding-left: 1rem;
}

.hub-step__num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.hub-step h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.hub-step p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #64748b;
    margin: 0;
}

/* Data sources */

.hub-sources-section {
    background: #fff;
    padding: 3.5rem 0;
}

.hub-sources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.hub-source {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.05);
}

.hub-source__flag {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.hub-source h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.3rem;
    line-height: 1.35;
}

.hub-source__cn {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 0.65rem !important;
}

.hub-source p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* Report breakdown */

.hub-breakdown-section {
    background: #fff;
    padding: 3.5rem 0;
    border-top: 1px solid #e5e7eb;
}

.hub-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.hub-breakdown-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.hub-breakdown-item:last-child {
    border-bottom: none;
}

.hub-breakdown-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: #eff6ff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-top: 0.1rem;
}

.hub-breakdown-body h3 {
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.hub-breakdown-body p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 0.5rem;
}

.hub-breakdown-source {
    font-size: 0.8rem !important;
    color: #94a3b8 !important;
    font-style: italic;
    margin-bottom: 0.9rem !important;
}

.hub-redflags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: flex-start;
    margin-top: 0.6rem;
}

.hub-redflag-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #dc2626;
    margin-right: 0.1rem;
    white-space: nowrap;
    padding-top: 0.1rem;
}

.hub-redflags span:not(.hub-redflag-label) {
    display: inline-block;
    font-size: 0.82rem;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    line-height: 1.5;
}

/* Mobile accordion for the nine report sections. The button is injected by
   js/main.js; without JavaScript every section stays expanded. */

.hub-breakdown-toggle {
    display: none;
}

/* Blog articles feed */

/* FAQ */

.hub-faq-section {
    background: #fff;
    padding: 3.5rem 0;
    border-top: 1px solid #e5e7eb;
}

.hub-faq {
    max-width: 880px;
}

.hub-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.hub-faq-item summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
}

.hub-faq-item summary::-webkit-details-marker {
    display: none;
}

.hub-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
}

.hub-faq-item[open] summary::after {
    content: "\2212";
}

.hub-faq-a {
    padding: 0 1.25rem 1.1rem;
}

.hub-faq-a p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #64748b;
    margin: 0;
}

.hub-articles-section {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 0;
}

.hub-articles-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0;
}

.hub-articles-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
    white-space: nowrap;
}

/* CTA */

.hub-cta {
    text-align: center;
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e5e7eb;
}

.hub-cta h2 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.hub-cta p {
    color: #64748b;
    max-width: 540px;
    margin: 0 auto 1.75rem;
    line-height: 1.7;
}

.hub-cta-links {
    margin-top: 1.1rem !important;
    margin-bottom: 0 !important;
    font-size: 0.9rem;
}

.hub-cta-links a {
    color: #475569;
}

.hub-cta-links a:hover {
    color: #1d4ed8;
}

/* Responsive */

@media (max-width: 1024px) {
    .hub-sources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hub-hero {
        padding: 2.5rem 0 2.25rem;
    }

    .hub-steps {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .hub-step {
        padding-left: 0;
    }

    .hub-sources-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .hub-breakdown-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hub-breakdown-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-top: 0.35rem;
        padding: 0;
        background: none;
        border: 0;
        font: inherit;
        font-size: 0.95rem;
        font-weight: 600;
        color: #2563eb;
        cursor: pointer;
    }

    .hub-breakdown-chevron {
        display: inline-block;
        transition: transform 0.2s ease;
    }

    .hub-breakdown-item.is-collapsed .hub-breakdown-chevron {
        transform: rotate(-90deg);
    }

    .hub-breakdown-item.is-collapsed .hub-breakdown-body > :not(h3):not(.hub-breakdown-toggle) {
        display: none;
    }

    .hub-breakdown-item.is-collapsed {
        padding-bottom: 1.1rem;
    }

    .hub-breakdown-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.1rem;
    }

    .hub-articles-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-section {
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper h2,
.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.contact-info-item {
    margin-bottom: 1.25rem;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.05);
}

.contact-info-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.contact-info-item p {
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   Default Page Content
   ========================================================================== */

.page-content {
    background: #fff;
    padding: 3rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #374151;
}

.content-wrapper h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: #1e293b;
}

.content-wrapper h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: #1e293b;
}

.content-wrapper p {
    margin-bottom: 1rem;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1rem 0 1rem 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Responsive Adjustments for New Pages
   ========================================================================== */

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .price .amount {
        font-size: 3rem;
    }

    .benefits-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WooCommerce account screen (password reset only)
   The My Account area is not linked anywhere; /my-account/lost-password/ is
   the one page WooCommerce still renders, so its native markup has to be
   brought up to the same form styling as the rest of the site.
   ========================================================================== */

.woocommerce-account .woocommerce {
    max-width: 560px;
}

.woocommerce-account .woocommerce form .form-row {
    margin-bottom: 1.25rem;
}

.woocommerce-account .woocommerce form .form-row label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0b2a4a;
}

.woocommerce-account .woocommerce .woocommerce-Input,
.woocommerce-account .woocommerce input[type="text"],
.woocommerce-account .woocommerce input[type="email"],
.woocommerce-account .woocommerce input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-account .woocommerce .woocommerce-Input:focus,
.woocommerce-account .woocommerce input[type="text"]:focus,
.woocommerce-account .woocommerce input[type="email"]:focus,
.woocommerce-account .woocommerce input[type="password"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.woocommerce-account .woocommerce .required {
    color: #dc2626;
}

.woocommerce-account .woocommerce button.button,
.woocommerce-account .woocommerce .button {
    display: inline-block;
    padding: 11px 24px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce-account .woocommerce button.button:hover,
.woocommerce-account .woocommerce .button:hover {
    background: #1d4ed8;
    color: #fff;
}

.woocommerce-account .woocommerce p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

.woocommerce-account .woocommerce .woocommerce-error,
.woocommerce-account .woocommerce .woocommerce-message,
.woocommerce-account .woocommerce .woocommerce-info {
    margin: 0 0 1.25rem;
    padding: 0.9rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    list-style: none;
}

.woocommerce-account .woocommerce .woocommerce-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b42318;
}

.woocommerce-account .woocommerce .woocommerce-message,
.woocommerce-account .woocommerce .woocommerce-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* ==========================================================================
   Blog — index, cards, article pages
   ========================================================================== */

.blog-page {
    background: #fff;
}

.blog-header {
    padding: 3.5rem 0 3rem;
}

.blog-header p {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
}

.blog-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.blog-content {
    padding: 2.5rem 0 1rem;
}

/* Topics row */

.blog-topics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-topics__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-right: 0.25rem;
}

.blog-topic {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    background: #fff;
    transition: all 0.2s ease;
}

.blog-topic:hover {
    border-color: #2563eb;
    color: #1d4ed8;
    background: #eff6ff;
}

.blog-topic__count {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
}

/* Cards */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.875rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.blog-card__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f1f5f9;
}

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

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.03);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.4rem 1.5rem 1.5rem;
}

.blog-card__cat,
.article-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 0.6rem;
}

.blog-card__title {
    font-size: 1.22rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
    color: #0f172a;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: #1d4ed8;
}

.blog-card__excerpt {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__meta {
    margin-top: auto;
    font-size: 0.82rem;
    color: #94a3b8;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* Pagination */

.blog-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    margin: 3rem 0 0;
    padding: 0;
}

.blog-pagination .page-numbers {
    display: inline-block;
    min-width: 2.6rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    background: #fff;
    transition: all 0.2s ease;
}

.blog-pagination a.page-numbers:hover {
    border-color: #2563eb;
    color: #1d4ed8;
}

.blog-pagination .page-numbers.current {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.blog-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* Empty state */

.blog-empty {
    max-width: 620px;
    margin: 1rem auto 3rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 0.875rem;
    color: #64748b;
}

.blog-empty p {
    margin-bottom: 0.6rem;
}

/* Call to action band */

.blog-cta {
    margin-top: 3.5rem;
    padding: 3.25rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.blog-cta h2 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.blog-cta p {
    max-width: 620px;
    margin: 0 auto 1.75rem;
    color: #64748b;
    line-height: 1.7;
}

/* .btn-large is full-width; this CTA reads better as a centered button. */
.blog-cta .btn {
    width: auto;
    min-width: 300px;
}

/* Article page */

.crumbs {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.75rem 0 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.crumbs a {
    color: #64748b;
}

.crumbs a:hover {
    color: #2563eb;
}

.crumbs span {
    margin: 0 0.35rem;
    color: #cbd5e1;
}

.article-page {
    background: #fff;
    padding-bottom: 1rem;
}

.article {
    max-width: 760px;
    margin: 0 auto;
}

.article-header {
    padding: 1.5rem 0 0;
}

.article-header h1 {
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    line-height: 1.2;
    color: #0f172a;
    margin: 0.4rem 0 1rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: #64748b;
}

.article-hero {
    margin: 2rem 0 0;
}

.article-hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.875rem;
}

.article-body {
    margin-top: 2rem;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #334155;
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body p {
    margin-bottom: 1.35rem;
}

.article-body h2 {
    font-size: 1.55rem;
    line-height: 1.3;
    color: #0f172a;
    margin: 2.6rem 0 1rem;
}

.article-body h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #0f172a;
    margin: 2rem 0 0.75rem;
}

.article-body h4 {
    font-size: 1.05rem;
    color: #0f172a;
    margin: 1.5rem 0 0.6rem;
}

.article-body ul,
.article-body ol {
    margin: 0 0 1.35rem 1.4rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.6rem;
    margin: 1.5rem 0;
}

.article-body figure.article-figure {
    margin: 2rem 0;
}

.article-body figure.article-figure img {
    margin: 0;
    display: block;
    width: 100%;
}

.article-body figcaption {
    margin-top: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
    text-align: center;
}

.article-body blockquote {
    margin: 1.85rem 0;
    padding: 1rem 1.35rem;
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #475569;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: 0.95rem;
}

.article-body th,
.article-body td {
    border: 1px solid #e5e7eb;
    padding: 0.65rem 0.85rem;
    text-align: left;
    vertical-align: top;
}

.article-body th {
    background: #f9fafb;
    color: #1e293b;
}

/* Wide tables scroll inside their own box. Without the wrapper a three-column
   table is clipped at the right edge on phones (and a Gutenberg table block
   would push the whole page sideways). */
.article-body .tbl-scroll,
.article-body figure.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.75rem 0;
}

.article-body .tbl-scroll > table,
.article-body figure.wp-block-table > table {
    margin: 0;
}

.article-body code {
    background: #f1f5f9;
    padding: 0.12rem 0.35rem;
    border-radius: 0.3rem;
    font-size: 0.9em;
}

.article-body hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2.5rem 0;
}

.article-cta {
    max-width: 760px;
    margin: 3rem auto 0;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
}

.article-cta h2 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 0.4rem;
}

.article-cta p {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #1e40af;
    margin: 0;
}

.article-cta .btn {
    white-space: nowrap;
}

.article-related {
    max-width: 1040px;
    margin: 3.5rem auto 0;
}

.article-related h2 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.article-related .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.35rem;
}

.blog-back {
    margin: 3rem 0 4rem;
    text-align: center;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .blog-header {
        padding: 2.5rem 0 2.25rem;
    }

    .blog-header h1 {
        font-size: 1.9rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .blog-content {
        padding: 2rem 0 0.5rem;
    }

    .article-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.4rem;
    }

    .article-cta .btn {
        width: 100%;
        text-align: center;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.35rem;
    }

    .blog-cta {
        padding: 2.5rem 0;
    }

    .blog-cta h2 {
        font-size: 1.45rem;
    }
}
