/*
 * ShreeKundli Public Pages Stylesheet
 * For marketing/public pages (home, about, pricing, etc.)
 */

/* ============================================
   Variables & Base Styles
   ============================================ */
:root {
    --public-primary: var(--primary, #d42020);
    --public-primary-dark: #b91c1c;
    --public-secondary: var(--secondary-foreground, #d42020);
    --public-accent: #f59e0b;
    --public-dark: var(--foreground, #1a1a1a);
    --public-light: var(--background, #ffffff);
    --public-gray: var(--muted-foreground, #57534e);
    --font-heading: "Exo 2", sans-serif;
}

.public-page {
    background-color: var(--public-light);
}

/* ============================================
   Heading Font (Exo 2 for public pages)
   ============================================ */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-heading);
}

.hero-title,
.section-title,
.page-header h1,
.content-page h1,
.content-page h2,
.content-page h3 {
    font-family: var(--font-heading);
}

/* ============================================
   Header Styles
   ============================================ */
.public-header .navbar {
    padding: 1rem 0;
}

.public-header .navbar-brand {
    font-size: 1.5rem;
    color: var(--public-dark);
}

.public-header .nav-link {
    color: var(--public-gray);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.public-header .nav-link:hover,
.public-header .nav-link.active {
    color: var(--public-primary);
}

/* Desktop Navigation */
.public-header .desktop-nav {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.public-header .desktop-nav > a,
.public-header .desktop-nav > .nav-dropdown {
    display: inline-flex;
}

@media (min-width: 992px) {
    .public-header .desktop-nav {
        display: flex;
    }
}

/* Navigation Dropdown */
.public-header .nav-dropdown {
    position: relative;
    display: inline-block;
}

.public-header .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    color: var(--public-gray);
    font-weight: 500;
}

.public-header .nav-dropdown-toggle:hover {
    color: var(--public-primary);
}

.public-header .nav-dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.public-header .nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown Menu - HIDDEN by default */
.public-header .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #f5e8d2);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.5rem 0;
    padding-top: 0.75rem;
}

/* Invisible bridge to prevent hover gap between toggle and menu */
.public-header .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

/* Show dropdown on hover */
.public-header .nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.public-header .nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    color: var(--public-dark);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.public-header .nav-dropdown-item:hover,
.public-header .nav-dropdown-item.active {
    background-color: var(--muted, #f0ebe8);
}

.public-header .nav-dropdown-item i {
    font-size: 0.95rem;
    color: var(--primary, #d42020);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.public-header .nav-dropdown-title {
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--public-dark);
}

.public-header .nav-dropdown-desc {
    font-size: 0.75rem;
    color: var(--public-gray);
    margin-top: 0.1rem;
}

/* Active parent toggle highlight */
.public-header .nav-dropdown-toggle.active {
    color: var(--public-primary);
}

/* Wide dropdown for Analysis (2-column grid) */
.public-header .nav-dropdown-wide .nav-dropdown-menu {
    min-width: 340px;
}

.public-header .nav-dropdown-grid {
    display: none;
    grid-template-columns: 1fr 1fr;
    padding: 0.5rem;
}

.public-header .nav-dropdown-wide:hover .nav-dropdown-grid {
    display: grid;
}

.public-header .nav-dropdown-grid .nav-dropdown-item {
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
}

.public-header .nav-dropdown-grid .nav-dropdown-item i {
    font-size: 1rem;
    width: 20px;
}

.public-header .nav-dropdown-grid .nav-dropdown-title {
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ============================================
   Mobile Nav Accordion
   ============================================ */
.mobile-nav-section {
    margin-bottom: 0.25rem;
}

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--public-gray);
    transition: color 0.2s ease, background-color 0.15s ease;
}

.mobile-nav-toggle:hover {
    color: var(--public-primary);
    background-color: var(--muted, #f0ebe8);
}

.mobile-nav-toggle.active {
    color: var(--public-primary);
}

.mobile-nav-toggle span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav-toggle .toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.mobile-nav-section.open .toggle-icon {
    transform: rotate(180deg);
}

.mobile-nav-children {
    display: none;
    padding-left: 1rem;
}

.mobile-nav-section.open .mobile-nav-children {
    display: block;
}

.mobile-nav-children .nav-link,
.mobile-nav-children .nav-dropdown-item {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--public-gray);
    text-decoration: none;
    border-radius: 0.375rem;
}

.mobile-nav-children .nav-link:hover,
.mobile-nav-children .nav-dropdown-item:hover {
    background-color: var(--muted, #f0ebe8);
    color: var(--public-primary);
}

.mobile-nav-children .nav-link.active,
.mobile-nav-children .nav-dropdown-item.active {
    color: var(--public-primary);
    background-color: var(--secondary, #fef3c7);
}

.mobile-nav-children .nav-link i,
.mobile-nav-children .nav-dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    color: var(--public-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--public-primary) 0%, var(--public-secondary) 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-icon.primary {
    background: rgba(212, 32, 32, 0.1);
    color: var(--public-primary);
}

.feature-icon.secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--public-secondary);
}

.feature-icon.accent {
    background: rgba(245, 158, 11, 0.1);
    color: var(--public-accent);
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--public-primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--public-primary);
    color: white;
    padding: 0.25rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--public-dark);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--public-gray);
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-card .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--public-gray);
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--public-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--public-dark) 0%, #334155 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ============================================
   Footer Styles
   ============================================ */
.public-footer {
    background: var(--public-dark);
}

.public-footer a {
    transition: color 0.2s ease;
}

.public-footer a:hover {
    color: var(--public-primary) !important;
}

/* ============================================
   Utility Classes
   ============================================ */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--public-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--public-gray);
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--public-primary);
    border-color: var(--public-primary);
}

.btn-primary:hover {
    background: var(--public-primary-dark);
    border-color: var(--public-primary-dark);
}

.text-primary {
    color: var(--public-primary) !important;
}

/* ============================================
   Blog Styles
   ============================================ */
.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--public-dark);
    margin-bottom: 0.5rem;
}

.blog-card-excerpt {
    color: var(--public-gray);
    font-size: 0.9rem;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
}

.contact-form .form-control:focus {
    border-color: var(--public-primary);
    box-shadow: 0 0 0 3px rgba(212, 32, 32, 0.1);
}

/* ============================================
   Animation Classes
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Hero Section Extended
   ============================================ */
.hero-section.hero-gradient {
    background: linear-gradient(135deg, var(--public-primary) 0%, var(--public-secondary) 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
}

.hero-section .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-section .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-section .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-section .hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-section .hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-section .hero-title {
        font-size: 2.25rem;
    }
    .hero-section .hero-subtitle {
        font-size: 1rem;
    }
    .hero-section.hero-gradient {
        min-height: auto;
        padding: 4rem 0;
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-kundli {
    width: 350px;
    height: 350px;
    position: relative;
}

.hero-kundli-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

@media (max-width: 991px) {
    .hero-kundli {
        width: 280px;
        height: 280px;
    }
}

/* ============================================
   Page Headers
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--public-primary) 0%, var(--public-secondary) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header .lead {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Feature Icons
   ============================================ */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-icon-sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.25rem;
}

.feature-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    font-size: 2rem;
}

/* ============================================
   Step Numbers
   ============================================ */
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--public-primary);
    color: white;
}

.step-number-sm {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
}

/* ============================================
   Cards with Hover
   ============================================ */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================
   Stats Section
   ============================================ */
.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--public-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--public-gray);
    font-size: 0.95rem;
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--public-gray);
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--public-primary);
}

/* ============================================
   About Page
   ============================================ */
.about-mission {
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--public-primary);
}

.about-values .value-item {
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Team Section
   ============================================ */
.team-card {
    text-align: center;
    padding: 2rem;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

/* ============================================
   Technology Stack
   ============================================ */
.tech-item {
    text-align: center;
    padding: 1.5rem;
}

.tech-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ============================================
   Accordion Custom
   ============================================ */
.accordion-custom .accordion-item {
    border: none;
    background: white;
    border-radius: 0.75rem !important;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-custom .accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background: var(--public-light);
    color: var(--public-primary);
    box-shadow: none;
}

.accordion-custom .accordion-body {
    padding: 1rem 1.5rem 1.5rem;
    color: var(--public-gray);
}

/* ============================================
   Additional Utility Classes
   ============================================ */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--public-primary) 0%, var(--public-secondary) 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--public-dark) 0%, #334155 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--public-primary) 0%, var(--public-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--public-primary), var(--public-secondary)) border-box;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bg-purple {
    background-color: rgba(102, 16, 242, 0.1) !important;
}

.text-purple {
    color: #6610f2 !important;
}

/* ============================================
   Content Pages (CMS/Legal/Blog)
   ============================================ */
.content-page {
    padding: 4rem 0;
}

.content-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--public-dark);
    margin-bottom: 1.5rem;
}

.content-page h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--public-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-page h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--public-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content-page p {
    color: var(--public-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-page ul, .content-page ol {
    color: var(--public-gray);
    margin-bottom: 1.5rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

/* ============================================
   Empty States
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 5rem;
    color: var(--public-gray);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: var(--public-dark);
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--public-gray);
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   Blog Article Content
   ============================================ */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--public-gray);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--public-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid var(--public-primary);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--public-gray);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--public-primary);
}

.article-content a:hover {
    color: var(--public-primary-dark);
}

/* Blog Card */
.blog-article {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.blog-article .blog-image {
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.sidebar-cta {
    background: var(--public-primary);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

/* ============================================
   Legal / CMS Content
   ============================================ */
.legal-content,
.cms-content {
    line-height: 1.8;
    color: var(--public-gray);
}

.legal-content h2,
.cms-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--public-dark);
}

.legal-content h3,
.cms-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--public-dark);
}

.legal-content h4,
.cms-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--public-dark);
}

.legal-content p,
.cms-content p {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol,
.cms-content ul,
.cms-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li,
.cms-content li {
    margin-bottom: 0.5rem;
}

.legal-content a,
.cms-content a {
    color: var(--public-primary);
}

.legal-content a:hover,
.cms-content a:hover {
    color: var(--public-primary-dark);
}

.cms-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.cms-content th,
.cms-content td {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
}

.cms-content th {
    background-color: var(--public-light);
    font-weight: 600;
    color: var(--public-dark);
}

/* FAQ Accordion Categories */
.faq-category {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--public-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--public-primary);
}
