/* Typography of the invitation templates page (Cormorant Garamond headings, Jost text),
   applied to every header, page banner and footer, and to the whole of the pages whose body has the
   class "ilara-type" (home, about, sign in, sign up). Loaded from header.php. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* the theme reads these two variables everywhere: --aspro-font for text, --aspro-font-two for headings */
.main-header,
.stricky-header,
.mobile-nav__wrapper,
.page-header,
.site-footer,
body.ilara-type {
    --aspro-font: 'Jost', sans-serif;
    --aspro-font-two: 'Cormorant Garamond', Georgia, serif;
}

body.ilara-type {
    font-family: var(--aspro-font);
}

/* Cormorant is a display serif: lighter weights and no tight tracking, as on the templates page */
body.ilara-type :is(h1, h2, h3, h4, h5, h6),
.page-header :is(h1, h2, h3, h4, h5, h6),
.site-footer :is(h1, h2, h3, h4, h5, h6) {
    font-family: var(--aspro-font-two);
    font-weight: 500;
    letter-spacing: 0;
}

/* running text stays in Jost even where the theme gave it the heading font */
body.ilara-type p,
body.ilara-type li,
.site-footer p,
.site-footer li {
    font-family: 'Jost', sans-serif;
}

/* menu, buttons and small labels: Jost, like the templates page's pills and links */
.main-menu__list > li > a,
.mobile-nav__content a,
.main-menu__auth-item,
body.ilara-type .thm-btn,
.site-footer .thm-btn {
    font-family: 'Jost', sans-serif;
    letter-spacing: 0.12em;
}

/* ---------- templates-page styling: spaced uppercase Jost labels, light Jost text, Cormorant titles ---------- */

/* header (normal + sticky) */
.main-menu__list > li > a {
    font-family: 'Jost', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;   /* the theme and index.php set 100 / tight tracking with higher specificity */
    letter-spacing: 0.22em !important;
}
.main-menu__account-text,
.main-menu__account-text strong,
.main-menu__auth-item span {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
}
.main-menu__account-text small {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    letter-spacing: 0.06em;
}
.mobile-nav__content a {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    letter-spacing: 0.08em;
}

/* sign-in / sign-up popup opened from the header */
.mbi-auth,
.mbi-auth button,
.mbi-auth input,
.mbi-auth label {
    font-family: 'Jost', sans-serif;
}
.mbi-auth__head h2,
.mbi-auth__head h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
}

/* footer */
.site-footer .footer-widget__title {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: #a9cfa6;
}
.site-footer p,
.site-footer li,
.site-footer a {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
}
.site-footer .footer-widget__link-list a,
.site-footer .footer-widget__link-list li {
    font-size: 15px !important;   /* theme list styles are more specific */
    font-weight: 300 !important;
}
.site-footer a:hover {
    color: #a9cfa6;
}
.site-footer__bottom p,
.site-footer__bottom-text {
    font-size: 13px;
    letter-spacing: 0.04em;
}

/* homepage sections */
body.ilara-type .section-title__tagline,
body.ilara-type .occasion-cards__eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #5c8a5a;
}
body.ilara-type .section-title__title,
body.ilara-type .occasion-cards__heading,
body.ilara-type .cta-one__title,
body.ilara-type .unforgettable-features-section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.1;
}
body.ilara-type section p:not(.section-title__tagline):not(.occasion-cards__eyebrow):not(.main-slider__star) {
    font-weight: 300;
    line-height: 1.75;
}
body.ilara-type .main-slider__text {
    font-weight: 400;
}
body.ilara-type section li {
    font-weight: 400;
}
body.ilara-type .thm-btn,
body.ilara-type .occasion-cards__all,
body.ilara-type .occasion-card__cta {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 11.5px;
}
