/*
 * Tersolusikan Design Typography v3.1
 * Plus Jakarta Sans: proportionate, medium-wide headings | PIALA: supporting text.
 * Plus Jakarta Sans is loaded as an OFL webfont; PIALA remains an optional licensed webfont.
 * No color, layout, spacing, slider or business logic changes.
 */
:root {
  --ts-font-display: "Plus Jakarta Sans", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  --ts-font-copy: "TS Piala", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}
/* Foundation typography across public site and internal Divi Child Theme pages. */
body:not(.wp-admin) {
  font-family: var(--ts-font-copy) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body :is(
  #main-content.ts-announce,
  .ts11-page, .ts-landing,
  .ts06-member, .ts07-page, .ts08-shell, .ts09-shell,
  .tsl-v101, .et_pb_text
) {
  font-family: var(--ts-font-copy) !important;
}
/* Balanced display hierarchy: avoid condensed, skinny or extra-heavy titles. */
body :is(
  #main-content.ts-announce,
  .ts11-page, .ts-landing,
  .ts06-member, .ts07-page, .ts08-shell, .ts09-shell,
  .et_pb_text
) :is(h1,h2) {
  font-family: var(--ts-font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.008em !important;
  line-height: 1.17 !important;
  text-wrap: balance;
}
/* Medium-weight section headings; preserve sizes and all existing colors. */
body :is(#main-content.ts-announce, .ts11-page, .ts-landing, .ts06-member, .ts07-page, .ts08-shell, .ts09-shell, .et_pb_text) h2 { font-weight: 500 !important; }
/* The home carousel uses an ID-specific heading rule; retain color and size. */
#main-content.ts-announce .ts-supreme-home h1 {
  font-family: var(--ts-font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.17 !important;
}
/* Cards, headings beneath level 2, introductions and form labels use PIALA. */
body :is(
  #main-content.ts-announce,
  .ts11-page, .ts-landing,
  .ts06-member, .ts07-page, .ts08-shell, .ts09-shell
) :is(h3,h4,h5,h6,p,li,small,label,summary,blockquote) {
  font-family: var(--ts-font-copy) !important;
}
body :is(
  #main-content.ts-announce,
  .ts11-page, .ts-landing,
  .ts06-member, .ts07-page, .ts08-shell, .ts09-shell
) :is(button,input,textarea,select) {
  font-family: var(--ts-font-copy) !important;
}
/* Give geometric copy room to breathe; do not rewrite existing font sizes. */
body :is(
  #main-content.ts-announce,
  .ts11-page, .ts-landing,
  .ts06-member, .ts07-page, .ts08-shell, .ts09-shell
) :is(p,li,blockquote) {
  line-height: 1.7;
  overflow-wrap: break-word;
}
body :is(
  #main-content.ts-announce,
  .ts11-page, .ts-landing
) :is(.ts11-eyebrow,.ts11-toplink,.ts11-kicker,.ts11-card-link,.ts22-primary-nav a,.ts22-room-cta) {
  font-family: var(--ts-font-copy) !important;
}
/* Keep big display type balanced on narrow screens without clipping. */
@media(max-width:700px) {
  body :is(
    #main-content.ts-announce,
    .ts11-page,.ts-landing,
    .ts06-member,.ts07-page,.ts08-shell,.ts09-shell
  ) :is(h1,h2) {
    overflow-wrap: break-word;
    text-wrap: pretty;
  }
}
/* Accessibility: user zoom and reduced-motion preferences are not overridden. */
