
/* ==========================================
   CA VINEET WEBSITE - RESPONSIVE OVERRIDES
   Preserve existing navy and gold theme
========================================== */

/* Prevent accidental horizontal overflow */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
iframe {
    max-width: 100%;
}

/* Keep grid and flex children from overflowing */
.about-container > *,
.contact-container > *,
.expertise-grid > *,
.insights-grid > *,
.about-approach-grid > *,
.qualifications-grid > * {
    min-width: 0;
}

/* Tablet */
@media (max-width: 900px) {
    .about-container,
    .contact-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .about-profile-image {
        height: 380px;
    }

    .about-approach-grid,
    .qualifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-content-container {
        width: calc(100% - 48px);
    }

    .footer-container {
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .about-container,
    .contact-container,
    .insights-grid,
    .about-approach-grid,
    .qualifications-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-container,
    .contact-container {
        gap: 28px;
    }

    .about-profile-image {
        height: 350px;
    }

    .about-page-hero .section-title {
        font-size: clamp(28px, 8vw, 34px);
        overflow-wrap: anywhere;
    }

    .about-approach-card,
    .qualification-card,
    .insight-card {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .legal-content-container {
        width: calc(100% - 36px);
    }

    .footer-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-legal-links {
        justify-content: flex-start;
        gap: 14px;
    }

    .faq-item summary {
        overflow-wrap: anywhere;
    }

    .insights-profile-cta h2,
    .faq-contact-cta h2 {
        overflow-wrap: anywhere;
    }
}

/* Small mobile devices */
@media (max-width: 380px) {
    .brand {
        gap: 8px;
    }

    .brand-monogram {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .brand-name {
        font-size: 12px;
    }

    .brand-subtitle {
        font-size: 6px;
        letter-spacing: 1px;
    }

    .header-inner {
        gap: 10px;
    }

    .menu-toggle {
        flex-shrink: 0;
    }

    .insight-card,
    .about-approach-card,
    .qualification-card {
        padding-right: 18px;
        padding-left: 18px;
    }
}
