/* FINAL TYPOGRAPHY REPAIR + CROSS-MODULE VISUAL CONSISTENCY
   Bengali text uses the bundled Unicode SutonnyMJ font (fonts/SutonnyOMJ.ttf).
   English glyphs use Times New Roman as requested. SutonnyOMJ contains no Latin
   letters, so Latin glyphs fall through to Times New Roman automatically. */
:root {
  --serif: "SutonnyMJ", "SutonnyOMJ", "Times New Roman", "Noto Serif Bengali", serif;
  --sans: "SutonnyMJ", "SutonnyOMJ", "Times New Roman", "Noto Sans Bengali", serif;
  --latin: "Times New Roman", Georgia, serif;
}
html[lang="bn"] body,
html[lang="bn"] body :is(h1,h2,h3,h4,h5,h6,p,span,strong,em,b,small,a,button,input,select,textarea,label,li,td,th,blockquote,summary,legend,figcaption) {
  font-family: "SutonnyMJ", "SutonnyOMJ", "Times New Roman", "Noto Serif Bengali", serif;
  font-kerning: normal;
}
html[lang="bn"] body :is(h1,h2,h3,h4,h5,h6) {
  letter-spacing: normal;
  line-height: 1.43;
  overflow-wrap: break-word;
}
html[lang="bn"] body :is(p,li,td,th,label,button,input,select,textarea) {
  line-height: 1.75;
  overflow-wrap: break-word;
}
/* Large headings in older phase-specific styles clipped Bengali vowel marks. */
html[lang="bn"] .hero-heading, html[lang="bn"] .ec-hero h1,
html[lang="bn"] .co-mast h1, html[lang="bn"] .p3-hero h1,
html[lang="bn"] .p-hero h1, html[lang="bn"] .cv h1,
html[lang="bn"] .section-title, html[lang="bn"] .page-heading,
html[lang="bn"] .final-inner h2 {
  letter-spacing: normal !important;
  line-height: 1.43 !important;
  padding-top: .10em;
  padding-bottom: .11em;
}
html[lang="bn"] .hero-heading .head-line {overflow:visible; padding-bottom:.07em;}
html[lang="bn"] .ec-hero-inner, html[lang="bn"] .p3-hero .container,
html[lang="bn"] .co-mast-copy {min-width:0;}
html[lang="bn"] .nav-link, html[lang="bn"] .drop-menu a,
html[lang="bn"] .button, html[lang="bn"] .ec-btn, html[lang="bn"] .co-btn,
html[lang="bn"] .cv-btn {line-height:1.5; white-space:normal;}
pre, code, kbd {font-family:Consolas,"Liberation Mono",monospace !important;white-space:pre-wrap;overflow-wrap:anywhere;}
html[lang="bn"] body :is(input,select,textarea) {
  line-height: 1.6;
}
html[lang="bn"] body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),select):not(.p3-sudoku input) {
  min-height: 46px;
  padding-top: 10px;
  padding-bottom: 10px;
}
html[lang="bn"] body :is(input,textarea)::placeholder,
html[lang="bn"] body :is(input,textarea)::-webkit-input-placeholder {
  color: #6b6380;
  opacity: 1;
  line-height: 1.6;
  overflow: visible;
  text-overflow: clip;
}
/* Improve mobile tap targets while retaining the approved artwork. */
@media(max-width:650px) {
  html[lang="bn"] .ec-hero h1, html[lang="bn"] .co-mast h1,
  html[lang="bn"] .p3-hero h1 {font-size:clamp(46.8px,12vw,69.6px);}
  html[lang="bn"] .hero-heading {font-size:clamp(52.8px,13.2vw,81.6px);}
  html[lang="bn"] body :is(input,select,textarea) {font-size:max(19.2px,1.2em);}
  html[lang="bn"] .cv-rules-table input {min-height:36px;padding:6px 4px;}
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto!important}
  *,*::before,*::after {animation-duration:0.01ms!important;transition-duration:0.01ms!important;scroll-behavior:auto!important}
}
html {zoom:1.1}

/* Global minimum 14px typography scale for Iskoverse public frontend */
html {
    zoom: 1;
    font-size: 19.2px;
}
body {
    font-size: 19.2px;
}
.top-note,
.nav-link,
.login-link,
.header-join,
.drop-menu > a,
.drop-menu span,
.button,
input,
select,
textarea,
label,
small,
.eyebrow,
.chip,
.pill,
.tag {
    font-size: max(16.8px, 1.05rem);
}
.brand-flag {
    font-size: 13.2px;
    max-width: 92px;
}
.drop-menu > a {
    font-size: 18px;
}
.drop-menu span {
    font-size: 16.8px;
}
.header-join {
    font-size: 16.8px;
    padding: 0 16px;
}
/* Enforce 14px minimum across Footer, Cards, Dialogs, and Mobile */
.footer,
.footer-brand p,
.footer-col p,
.footer-col a,
.footer-col button,
.footer-bottom,
.footer-bottom a,
.floating-join,
.dialog p,
.dialog-list li,
.dialog-note,
.dialog-footer,
.dialog-eyebrow,
.hero-description,
.manifesto-detail p,
.section-sidecopy,
.universe-card p,
.community-copy > p,
.pubs-copy p {
    font-size: 16.8px !important;
    line-height: 1.75;
}
.footer-col h3 {
    font-size: 16.8px !important;
    letter-spacing: 0.08em;
}

/* Tighter hero line-height for /publications, /shop, /checkout */
.co-mast h1,
.co-mast-copy h1 {
    line-height: 1.18 !important;
}
.co-mast p,
.co-mast-copy p {
    line-height: 1.55 !important;
}

/* Prevent Iskoverse home hero CTA buttons from cropping on hover */
.hero {
    height: auto !important;
    min-height: 765px;
    padding-bottom: 56px;
}
.hero-actions {
    padding: 8px 0;
    overflow: visible;
    flex-wrap: wrap;
}
.hero-actions .button:hover {
    transform: translateY(-2px);
}

/* Remove pink box-shadow below Iskoverse CTA buttons */
.button-pink,
.button-pink:hover,
.floating-join {
    box-shadow: none !important;
}

/* Logged-in member header pill */
.header-member-pill {
  gap: 8px;
  padding: 0 14px 0 8px;
  min-height: 40px;
  border-radius: 999px;
}
.header-member-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f155a5, #d82d80);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.header-member-logout {
  cursor: pointer;
}
body.iskoverse-member-authed .floating-join {
  display: none !important;
}
