/* King Scorpio: site-wide type. Fraunces Light for titles, Jost for text. */
@font-face { font-family: "KS Fraunces"; font-style: normal; font-weight: 300 400; font-display: swap; src: url("/wp-content/uploads/ks-fonts/fr.woff2") format("woff2"); }
@font-face { font-family: "KS Fraunces"; font-style: italic; font-weight: 300 400; font-display: swap; src: url("/wp-content/uploads/ks-fonts/fr-italic.woff2") format("woff2"); }

:root { --ks-title: "KS Fraunces", Georgia, "Times New Roman", serif; --ks-text: "Jost", "Helvetica Neue", Arial, sans-serif; }

/* Text (the Private Events page sets its own type inside .ks2) */
body:not(.page-id-12209), body:not(.page-id-12209) p, body:not(.page-id-12209) li, body:not(.page-id-12209) dd, body:not(.page-id-12209) dt, body:not(.page-id-12209) td, body:not(.page-id-12209) th, body:not(.page-id-12209) label, body:not(.page-id-12209) blockquote, body:not(.page-id-12209) cite, body:not(.page-id-12209) figcaption,
body:not(.page-id-12209) input, body:not(.page-id-12209) textarea, body:not(.page-id-12209) select, body:not(.page-id-12209) button, body:not(.page-id-12209) .button, body:not(.page-id-12209) .elementor-button,
body:not(.page-id-12209) .elementor-widget-text-editor, body:not(.page-id-12209) .elementor-icon-list-text, body:not(.page-id-12209) .elementor-tab-title,
body:not(.page-id-12209) a:not([class*="icon"]):not([class*="fa-"]):not([class^="fa"]):not([class*="eicon"]) {
  font-family: var(--ks-text) !important;
}

/* Titles */
body:not(.page-id-12209) h1, body:not(.page-id-12209) h2, body:not(.page-id-12209) h3, body:not(.page-id-12209) h4, body:not(.page-id-12209) h5, body:not(.page-id-12209) h6,
body:not(.page-id-12209) .elementor-heading-title, body:not(.page-id-12209) .jeg-elementor-kit .jkit-heading-title, body:not(.page-id-12209) .jkit-heading .heading-title,
body:not(.page-id-12209) .elementor-widget-heading .elementor-heading-title, body:not(.page-id-12209) .entry-title, body:not(.page-id-12209) .page-title, body:not(.page-id-12209) .widget-title,
body:not(.page-id-12209) .elementor-testimonial-content, body:not(.page-id-12209) .elementor-counter-number-wrapper {
  font-family: var(--ks-title) !important;
  font-weight: 300 !important;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}
body:not(.page-id-12209) h4, body:not(.page-id-12209) h5, body:not(.page-id-12209) h6 { letter-spacing: 0; }

/* Spans inside titles keep the title face (theme splits words into spans) */
body:not(.page-id-12209) h1 span:not([class*="icon"]), body:not(.page-id-12209) h2 span:not([class*="icon"]), body:not(.page-id-12209) h3 span:not([class*="icon"]),
body:not(.page-id-12209) .elementor-heading-title span:not([class*="icon"]) { font-family: inherit !important; font-weight: inherit !important; }

/* Main menu: the large overlay menu uses the title face (#ks-none lifts specificity above the link rule) */
body .menu-item > a:not(#ks-none), body .main-navigation a:not(#ks-none), body .kinsley-menu a:not(#ks-none), body .elementor-nav-menu a:not(#ks-none) {
  font-family: var(--ks-title) !important;
  font-weight: 300 !important;
}
/* Small menus (header utility, footer, submenus) read better in Jost */
body .sub-menu a:not(#ks-none), body footer .menu-item > a:not(#ks-none), body .elementor-location-footer .menu-item > a:not(#ks-none) {
  font-family: var(--ks-text) !important;
  font-weight: 400 !important;
}

/* Any leftover inline use of the old faces falls through to the new ones */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/wp-content/uploads/ks-fonts/fr.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/wp-content/uploads/ks-fonts/fr-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/wp-content/uploads/omgf/kinsley-primary-fonts/jost-normal-latin.woff2") format("woff2"); }

/* Small labels built as non-heading title widgets (overlines) read as Jost */
body:not(.page-id-12209) div.elementor-heading-title, body:not(.page-id-12209) span.elementor-heading-title, body:not(.page-id-12209) p.elementor-heading-title {
  font-family: var(--ks-text) !important;
  font-weight: 400 !important;
  letter-spacing: .2em;
}

/* Chaty points its faint WhatsApp pattern at /images/whatsapp.png, which 404s through WordPress on every page */
.chaty-whatsapp-form::before { background-image: none !important; }
