/* ============================================
   Content Templates — Shared Styles
   State Pages | Apostille Countries | Documents
   ============================================ */

/* ---------- Layout Container ---------- */
.ct-page {
    padding: 60px 0 80px;
    font-family: 'Poppins', 'Raleway', sans-serif;
    color: #333;
    line-height: 1.75;
}

.ct-page h1 {
    color: #004085;
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.ct-page h2,
.ct-page h3 {
    color: #004085;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* ---------- Breadcrumb ---------- */
.ct-breadcrumb {
    background: #f0f4f8;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 35px;
    font-size: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.ct-breadcrumb a {
    color: #004085;
    text-decoration: none;
    transition: color 0.2s;
}
.ct-breadcrumb a:hover {
    color: #0069d9;
    text-decoration: underline;
}
.ct-breadcrumb .separator {
    color: #94a3b8;
    font-size: 1.2rem;
}
.ct-breadcrumb span:last-child {
    color: #64748b;
    font-weight: 500;
}

/* ---------- Intro Block ---------- */
.ct-intro {
    font-size: 1.6rem;
    color: #475569;
    margin-bottom: 30px;
    border-left: 5px solid #004085;
    background: #f8fafc;
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    line-height: 1.8;
}

/* ---------- Featured Image ---------- */
.ct-featured-image {
    width: 100%;
    max-width: 850px;
    height: auto;
    max-height: 450px;
    margin: 0 auto 35px;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ---------- Content Body ---------- */
.ct-content-body {
    font-size: 1.55rem;
    line-height: 1.85;
    color: #334155;
}

.ct-content-body h2 { font-size: 2.2rem; }
.ct-content-body h3 { font-size: 1.9rem; }
.ct-content-body h4 { font-size: 1.7rem; }

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

.ct-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.ct-content-body ul,
.ct-content-body ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

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

.ct-content-body a {
    color: #004085;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}
.ct-content-body a:hover {
    color: #0069d9;
}

/* Handle tables in content */
.ct-content-body table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: collapse;
}
.ct-content-body table th,
.ct-content-body table td {
    padding: 12px;
    border: 1px solid #e2e8f0;
}
.ct-content-body .table-responsive {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

/* ---------- Section Label ---------- */
.ct-section-label {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #004085, #0069d9);
    color: #fff;
    font-weight: 600;
    font-size: 1.4rem;
    padding: 10px 24px;
    border-radius: 30px;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ---------- Sidebar ---------- */
.ct-sidebar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ct-sidebar-title {
    color: #004085;
    font-weight: 700;
    font-size: 1.9rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ct-sidebar-title i {
    font-size: 1.6rem;
    color: #004085;
}

/* ---------- FAQ Section ---------- */
.ct-faq-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.ct-faq-section h2 {
    font-size: clamp(2rem, 4vw, 2.4rem);
    margin-bottom: 25px;
}

.ct-faq-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.ct-faq-accordion .accordion-item:hover {
    border-color: #cbd5e1;
}

.ct-faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.55rem;
    color: #1e293b;
    background: #fff;
    padding: 18px 24px;
    box-shadow: none !important;
}

.ct-faq-accordion .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: #004085;
}

.ct-faq-accordion .accordion-body {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #475569;
    padding: 10px 24px 24px;
    background: #f8fafc;
}

/* ---------- Date Badge ---------- */
.ct-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 1.35rem;
    margin-bottom: 25px;
    background: #f1f5f9;
    padding: 5px 15px;
    border-radius: 20px;
}
.ct-date-badge i {
    color: #004085;
}

/* ---------- CTA ---------- */
.ct-cta-block {
    background: linear-gradient(135deg, #001f3f, #004085);
    color: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.ct-cta-block h3 {
    color: #fff;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 15px;
    margin-top: 0;
}
.ct-cta-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.6rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.ct-cta-block .btn-cta {
    background: #fff;
    color: #004085;
    font-weight: 600;
    font-size: 1.6rem;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.ct-cta-block .btn-cta:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* ---------- Schema / SEO hidden ---------- */
.ct-schema-markup {
    display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .ct-page { padding: 40px 0 60px; }
}

@media (max-width: 991px) {
    .ct-sidebar {
        position: static;
        margin-top: 40px;
        padding: 25px;
    }
    .ct-featured-image {
        max-height: 380px;
    }
}

@media (max-width: 767px) {
    .ct-page {
        padding: 30px 0 50px;
    }
    .ct-page h1 {
        margin-bottom: 15px;
    }
    .ct-breadcrumb {
        padding: 10px 15px;
        margin-bottom: 25px;
        font-size: 1.3rem;
    }
    .ct-intro {
        font-size: 1.5rem;
        padding: 15px 20px;
    }
    .ct-featured-image {
        max-height: 280px;
        margin-bottom: 25px;
    }
    .ct-content-body {
        font-size: 1.5rem;
    }
    .ct-faq-accordion .accordion-button {
        padding: 15px 20px;
        font-size: 1.45rem;
    }
    .ct-faq-accordion .accordion-body {
        padding: 5px 20px 20px;
    }
    .ct-cta-block {
        padding: 30px 20px;
    }
    .ct-cta-block h3 {
        font-size: 1.9rem;
    }
    .ct-cta-block p {
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    .ct-featured-image {
        max-height: 220px;
    }
    .ct-section-label {
        font-size: 1.3rem;
        padding: 8px 20px;
    }
}

/* Legalization Map Responsive */
.legalization-map-container {
    max-width: 40%;
    min-width: 30%;
}
@media (max-width: 767px) {
    .legalization-map-container {
        max-width: 100%;
        min-width: 100%;
    }
}


