/* t102 typography floors at mobile (and as a site-wide minimum).
   Loaded last. !important is used only to beat page media queries
   that shrink copy below the floors; rules are scoped to known small
   selectors so large headings are left alone.
   Floors: body/paragraph >=16 (17 for long copy), captions >=14,
   buttons >=16, nav/lang >=15, labels >=13. */

/* ——— Nav tabs (Royce Chris / Build Studio) ——— */
.switch-track a{
  font-size:15px !important;
}

/* ——— Language switchers ——— */
.langs a,
.langs a .lang-code,
.languages a,
.languages a .lang-code,
.lang-switch a,
.lang-switch a .lang-code,
a.language,
.language-chip,
.language-tag{
  font-size:15px !important;
  line-height:1;
}
.langs a .flag,
.languages a .flag,
.lang-switch a .flag,
.language-chip .flag{
  font-size:16px;
  line-height:1;
}
@media (max-width:430px){
  .langs,
  .languages,
  .lang-switch{
    flex-wrap:nowrap !important;
    gap:0 !important;
  }
  .header-right,
  .nav-right{
    flex-wrap:nowrap !important;
  }
  .langs a,
  .languages a,
  .lang-switch a{
    padding-left:3px !important;
    padding-right:3px !important;
    gap:2px;
    height:32px;
    white-space:nowrap;
  }
}
@media (max-width:360px){
  .langs a,
  .languages a,
  .lang-switch a{
    padding-left:2px !important;
    padding-right:2px !important;
    height:30px;
  }
}

/* ——— Buttons ——— */
.buy-btn,
.gold-btn,
.gold-button,
.buy-button,
a.btn,
button.btn,
.offer-card .btn,
.offer-card a.btn,
.signup-submit,
input[type=submit],
.coaching-button,
.hero-buy .buy-button,
.page .buy-btn,
.page .gold-btn,
.booking-copy .gold-button{
  font-size:16px !important;
  line-height:1.2;
  white-space:normal;
  text-align:center;
  box-sizing:border-box;
}

/* ——— Body / paragraph (16px floor) ——— */
.credential-detail,
.world-card p,
.product-note,
.email,
.email a,
.email-link,
.hero-description,
.section-intro,
.signup-description,
.quick-description,
.term-copy p,
.term-copy ul,
.term-copy li,
.french-copy p,
.french-copy li,
.inside-copy p,
.learner-copy p,
.solution-info p,
.offer-card ul,
.offer-card li,
.benefit p,
.final-card > p,
.card-link,
.whatsapp-number,
.footer-mail,
.footer-mail a,
.pdf-lang-note,
.stat,
.about-copy p,
.booking-copy p{
  font-size:16px !important;
  line-height:1.5;
}

/* ——— Long copy prefers 17px ——— */
.section-preface,
.page-lead,
.page-note,
.hero-promise,
.audience-text,
.contents-intro,
.contents-note,
.faq-answer,
.faq-answer p,
.term-copy p,
.term-copy li,
.french-copy p,
.french-copy li,
.about-copy p,
.hero-description,
.inside-copy p,
.learner-copy p,
.solution-info p,
.offer-card ul,
.offer-card li,
.benefit p,
.final-card > p{
  font-size:17px !important;
  line-height:1.5;
}

/* ——— Captions / secondary >=14 ——— */
.media-title,
.video-title,
figcaption,
.pdf-cover-caption,
.pdf-lang-status,
.pdf-lang-view,
.contents-title,
.contents-number,
.footer-role,
.delivery,
.copyright,
.world-cta,
.page-meta,
.crumb,
.breadcrumb,
.product-price,
.footer-bottom,
.footer-bottom a,
small,
.term-copy strong,
.french-copy strong{
  font-size:14px !important;
  line-height:1.4;
}

/* ——— Labels >=13 ——— */
.product-badge,
.category-label,
.brand-subtitle,
.eyebrow,
.tag,
.credential-title,
.page-kicker,
.video-intro-label,
.category strong,
.category small,
.stat strong,
.language-tag{
  font-size:13px !important;
  line-height:1.3;
}
/* language-tag is also a lang control — keep it at the 15px nav floor */
.language-tag{
  font-size:15px !important;
}

/* ——— Footer / in-page nav links ——— */
.menu a,
.footer a,
.legal-link,
.nav-links,
.nav-links a,
.footer-links a,
.quick-links a,
.contact-line a{
  font-size:16px !important;
}

/* Shop contents headings */
.contents h3,
.contents-list h3,
.chapter-card h3,
.insight h3,
.shop-page h3{
  font-size:16px !important;
}

/* Build Studio brand subtitle can wrap */
.brand-subtitle{
  white-space:normal;
}

/* leftover t102 pass */
.rc-sub-links a,
nav.breadcrumb a,
.breadcrumb a,
.copyright a,
.copyright span a{
  font-size:16px !important;
}
article.benefit h3,
.benefit-list h3,
.benefit h3{
  font-size:16px !important;
  line-height:1.3;
}
.contents-part > span,
.contents-part span{
  font-size:14px !important;
  line-height:1.35;
}
.coaching-card p,
.section-intro{
  font-size:17px !important;
  line-height:1.5;
}
a.language .flag{
  font-size:16px !important;
  line-height:1;
}
.video-intro-label{
  font-size:15px !important;
}
.credential-title{
  font-size:14px !important;
}
.crumb,
.crumb a{
  font-size:16px !important;
}
main.page p:not([class]),
.page p:not([class]){
  font-size:17px !important;
  line-height:1.5;
}

/* Fit 5 lang codes + hamburger on one line on older header pages */
@media (max-width:430px){
  .header{padding-left:10px !important;padding-right:8px !important;}
  .header-inner{gap:6px !important;flex-wrap:nowrap !important;}
  .header-right{gap:2px !important;min-width:0;}
  .header .brand,.header-inner .brand{font-size:16px !important;}
  .menu-button{font-size:22px !important;padding:0 !important;width:30px;height:30px;flex-shrink:0;}
}
@media (max-width:360px){
  .header{padding-left:8px !important;padding-right:6px !important;}
  .header .brand,.header-inner .brand{font-size:15px !important;}
}
.buy-btn,.gold-btn,.gold-button,.buy-button,.offer-card .btn{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* t116: on narrow phones, relax the 16/17px body floor for tight cards
   and the hero tagline. Readable floor for this copy is 14px (titles 14–15px). */
@media (max-width:430px){
  .hero-tagline{
    font-size:15px !important;
    line-height:1.4;
  }
  .world-card p,
  .world-card .world-cta{
    font-size:14px !important;
    line-height:1.35;
  }
  .solution-info h3{
    font-size:14px !important;
    line-height:1.2;
  }
  .solution-info p,
  .solution-card .card-link{
    font-size:14px !important;
    line-height:1.35;
  }
}

/* t119: smaller credential sub-lines; compact offer-card checklists
   so 3-column pricing cards don't clip long words (e.g. Améliorations). */
.credential-detail{
  font-size:14px !important;
  line-height:1.35;
}
.offer-card ul,
.offer-card li{
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
}
@media (max-width:649px){
  .offer-card ul,
  .offer-card li{
    font-size:13px !important;
    line-height:1.35;
  }
}
@media (min-width:650px){
  .offer-card ul,
  .offer-card li{
    font-size:14px !important;
    line-height:1.4;
  }
}
