/**
 * Jawhart Asia — Brand tweaks
 * Loaded last, after identity.css and modern-home.css
 *
 * NOTE: Cairo is already applied by identity.css on html/body and all text
 * elements, so everything inherits it. Do NOT add blanket font-family rules
 * with !important here — they leak into icon elements (czi-*, fi-*, tio-*,
 * fa-*) whose glyphs are rendered from their own icon fonts, and the icons
 * turn into empty boxes.
 */

/* ═══════════════════════════════════════
   1. CAIRO — top-up for classes identity.css doesn't list
   (safe: none of these ever wrap an icon glyph)
   ═══════════════════════════════════════ */

.heading,
.des,
.ja-footer-title,
.ja-footer-copy,
.ja-footer-newsletter-text,
.ja-hero-title,
.ja-hero-subtitle,
.ja-hero-btn,
.headerTitle,
table, thead, tbody, tr, th, td,
small, strong, b, em, blockquote, figcaption, caption,
optgroup, option {
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

/* ═══════════════════════════════════════
   2. OVAL FOOTER — elliptical top edge
   ═══════════════════════════════════════ */

.ja-footer {
    /* Horizontal radius = 50% of width, vertical radius = 80px
       → wide, shallow ellipse across the top edge */
    border-radius: 50% 50% 0 0 / 80px 80px 0 0 !important;
    overflow: hidden !important;
    border-top: none !important;
    margin-top: 1.5rem !important;
    position: relative;
}

/* Extra top padding so content clears the curve */
.ja-footer .ja-footer-main {
    padding-top: 5rem !important;
    padding-bottom: 0.5rem !important;
}

.ja-footer .ja-footer-bottom {
    border-radius: 0 !important;
}

@media (max-width: 991px) {
    .ja-footer {
        border-radius: 50% 50% 0 0 / 55px 55px 0 0 !important;
    }
    .ja-footer .ja-footer-main {
        padding-top: 3.5rem !important;
    }
}

@media (max-width: 575px) {
    .ja-footer {
        border-radius: 50% 50% 0 0 / 32px 32px 0 0 !important;
        margin-top: 1rem !important;
    }
    .ja-footer .ja-footer-main {
        padding-top: 2.25rem !important;
    }
}
