/* Shared content styles: the same definitions are loaded in the Gutenberg canvas and on the public page. */
:is(.on-prose,.editor-styles-wrapper) { --on-soft:#f4e5d9; --on-duration:320ms; --on-ease:cubic-bezier(.22,1,.36,1); color:var(--on-ink); }
:is(.on-prose,.editor-styles-wrapper) :where(h1,h2,h3,h4,h5,h6) { font-family:var(--on-heading,'Rajdhani','Arial Narrow','Roboto Condensed',system-ui,sans-serif); font-weight:var(--on-heading-weight,700); line-height:1.1; letter-spacing:-.01em; text-transform:var(--on-heading-transform,uppercase); }
:is(.on-prose,.editor-styles-wrapper) :where(h1) { font-size:var(--on-heading-current-size,calc(42px * var(--on-reading-scale,1))); }
:is(.on-prose,.editor-styles-wrapper) :where(h5) { font-size:var(--on-heading-current-size,calc(22px * var(--on-reading-scale,1))); }
:is(.on-prose,.editor-styles-wrapper) :where(h6) { font-size:var(--on-heading-current-size,calc(20px * var(--on-reading-scale,1))); }
:is(.on-prose,.editor-styles-wrapper) :where(img,video) { max-width:100%; height:auto; }
:is(.on-prose,.editor-styles-wrapper) :where(figure) { margin:0; }
:is(.on-prose,.editor-styles-wrapper) :where(p) { margin-top:0; }
:is(.on-prose,.editor-styles-wrapper) :where(a) { color:inherit; }
:is(.on-prose,.editor-styles-wrapper) { font:var(--on-content-weight,400) calc(var(--on-content-size,17px) * var(--on-reading-scale,1))/1.85 var(--on-font,'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif); overflow-wrap:anywhere; text-transform:var(--on-content-transform,none); }
:is(.on-prose,.editor-styles-wrapper) p { margin-bottom:1.35em; }
:is(.on-prose,.editor-styles-wrapper) h2 { font-size:var(--on-heading-current-size,calc(36px * var(--on-reading-scale,1))); line-height:1.15; margin:1.25em 0 .55em; }
:is(.on-prose,.editor-styles-wrapper) h3 { font-size:var(--on-heading-current-size,calc(28px * var(--on-reading-scale,1))); line-height:1.2; margin:1.3em 0 .55em; }
:is(.on-prose,.editor-styles-wrapper) h4 { font-size:var(--on-heading-current-size,calc(24px * var(--on-reading-scale,1))); margin:1.2em 0 .5em; }
:is(.on-prose,.editor-styles-wrapper)>:first-child { margin-top:0; }
:is(.on-prose,.editor-styles-wrapper)>:last-child { margin-bottom:0; }
/* Editorial text links only: functional components retain their own link/button states. */
:is(.on-prose,.editor-styles-wrapper) :where(a[href]:not(.wp-block-button__link,.wp-element-button,.on-button,[role="button"],[data-on-lightbox],.page-numbers,.post-page-numbers,.on-glossary-link):not(:is(nav,form,.on-toc,.on-card,.on-index,.on-account,.on-auth-layout,.on-content-infobox,.on-directory-logo-card,.on-partner-card,.on-map,.on-dialog,.wp-block-file) a):not(:has(img,picture,svg,video))) {
  text-decoration-line:underline; text-decoration-color:var(--on-accent,#fab900);
  text-decoration-thickness:2px; text-underline-offset:4px; text-decoration-skip-ink:auto;
}
:is(.on-prose,.editor-styles-wrapper) :where(a[href]:not(.wp-block-button__link,.wp-element-button,.on-button,[role="button"],[data-on-lightbox],.page-numbers,.post-page-numbers,.on-glossary-link):not(:is(nav,form,.on-toc,.on-card,.on-index,.on-account,.on-auth-layout,.on-content-infobox,.on-directory-logo-card,.on-partner-card,.on-map,.on-dialog,.wp-block-file) a):not(:has(img,picture,svg,video))):is(:hover,:focus-visible) { text-decoration-color:var(--on-ink,#002d5e); }
:is(.on-prose,.editor-styles-wrapper) ul,:is(.on-prose,.editor-styles-wrapper) ol { padding-left:1.5em; margin:0 0 1.3em; }
:is(.on-prose,.editor-styles-wrapper) li { margin-bottom:.3em; }
:is(.on-prose,.editor-styles-wrapper) blockquote,:is(.on-prose,.editor-styles-wrapper) .wp-block-quote { position:relative; border:1px solid var(--on-line); border-top:3px solid var(--on-accent); margin:28px 0; padding:26px 26px 22px 72px; background:linear-gradient(180deg,var(--on-soft),#fff); font-size:calc(var(--on-quote-size,21px) * var(--on-reading-scale,1)); line-height:1.7; font-family:var(--on-quote-font,'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif); font-weight:var(--on-quote-weight,400); text-transform:var(--on-quote-transform,none); }
:is(.on-prose,.editor-styles-wrapper) blockquote::before,:is(.on-prose,.editor-styles-wrapper) .wp-block-quote::before { content:'“'; position:absolute; left:22px; top:14px; color:var(--on-accent,#fab900); font:700 62px/.9 var(--on-heading,'Rajdhani','Arial Narrow','Roboto Condensed',system-ui,sans-serif); }
:is(.on-prose,.editor-styles-wrapper) blockquote p:last-of-type,:is(.on-prose,.editor-styles-wrapper) .wp-block-quote p:last-of-type { margin-bottom:0; }
:is(.on-prose,.editor-styles-wrapper) cite { display:block; font:600 calc(12px * var(--on-reading-scale,1))/1.6 var(--on-font,'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif); color:var(--on-ink); margin-top:12px; }
/* Native Gutenberg tables: full content height, horizontal scrolling only when needed. */
:is(.on-prose,.editor-styles-wrapper) table { width:100%; border-collapse:collapse; font:var(--on-content-weight,400) calc(var(--on-content-size,14px) * var(--on-reading-scale,1))/1.7 var(--on-font,'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif); }
:is(.on-prose,.editor-styles-wrapper) :is(td,th) { border:1px solid var(--on-line); padding:12px 16px; text-align:left; vertical-align:top; }
:is(.on-prose,.editor-styles-wrapper) th { background:var(--on-soft); font-weight:600; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table {
 --on-table-min-width:0px; max-width:100%; min-width:0; margin:28px 0; border:1px solid var(--on-line); border-top:3px solid var(--on-accent,#fab900);
 overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain;
 scrollbar-width:thin; scrollbar-color:var(--on-ink,#002d5e) var(--on-soft); background:var(--on-paper,#fff);
}
:is(.on-prose,.editor-styles-wrapper) .wp-block-table:has(tr>:nth-child(3)) { --on-table-min-width:30rem; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table:has(tr>:nth-child(5)) { --on-table-min-width:44rem; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table table { margin:0; border-collapse:separate; border-spacing:0; table-layout:auto; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table table.has-fixed-layout { table-layout:fixed; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table :is(td,th) { min-width:8rem; border:0; border-right:1px solid var(--on-line); border-bottom:1px solid var(--on-line); overflow-wrap:break-word; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table tr>:last-child { border-right:0; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table thead { border:0; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table thead th { background:var(--on-ink,#002d5e); color:var(--on-on-dark,#fff); border-color:var(--on-line); }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table tbody tr:nth-child(even) { background:var(--on-soft); }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background:var(--on-soft); }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table.is-style-stripes tbody tr:nth-child(even) { background:var(--on-paper,#fff); }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table tfoot { background:var(--on-soft); font-weight:600; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-table figcaption { margin:0; padding:12px 16px; background:var(--on-paper,#fff); }
.on-prose .wp-block-table:focus-visible { outline:2px solid var(--on-focus,var(--on-ink,#002d5e)); outline-offset:3px; }
@media(max-width:699px) {
 :is(.on-prose,.editor-styles-wrapper) .wp-block-table table { min-width:var(--on-table-min-width,32rem); }
 :is(.on-prose,.editor-styles-wrapper) .wp-block-table :is(th,td) { padding:10px 12px; }
}
:is(.on-prose,.editor-styles-wrapper) .wp-block-image { margin:26px 0; }
.on-content-image-link { display:inline-block; max-width:100%; vertical-align:top; cursor:zoom-in; }
.on-content-image-link>img,.on-content-image-link>picture>img { display:block; }
:is(.on-prose,.editor-styles-wrapper) figcaption { color:var(--on-ink); font-size:calc(12px * var(--on-reading-scale,1)); line-height:1.6; }
:is(.on-prose,.editor-styles-wrapper) .alignwide,:is(.on-prose,.editor-styles-wrapper) .alignfull { max-width:100%; margin-inline:0; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-embed { margin:26px 0; }
:is(.on-prose,.editor-styles-wrapper) iframe { max-width:100%; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-separator { margin:30px 0; border:0; border-top:1px solid var(--on-line); }
:is(.on-prose,.editor-styles-wrapper) .wp-block-details { padding:20px 0; border-bottom:1px solid var(--on-line); }
:is(.on-prose,.editor-styles-wrapper) .wp-block-details>summary { cursor:pointer; font:var(--on-heading-weight,700) calc(var(--on-heading-size,26px) * var(--on-reading-scale,1))/1.2 var(--on-heading,'Rajdhani','Arial Narrow','Roboto Condensed',system-ui,sans-serif); text-transform:var(--on-heading-transform,uppercase); }
:is(.on-prose,.editor-styles-wrapper) .wp-block-details[open]>summary { margin-bottom:18px; }
:is(.on-prose,.editor-styles-wrapper) .wp-block-columns { gap:24px; }

/* Shared format badge: cards, gallery covers and homepage slides. */
/* Rated media cards reserve opposite edges for rating and format metadata. */
.on-card-media-overlays { position:absolute; inset:0; z-index:2; pointer-events:none; }
.on-card-media-overlays .on-card-media-label { top:14px; bottom:auto; }
.on-card-media:has(.on-card-media-overlays)>.on-card-category { max-width:calc(100% - 140px); overflow-wrap:break-word; }
@media(max-width:699px) { .on-card-media-overlays .on-card-media-label { top:8px; right:8px; } }
.on-card-play-overlay { position:absolute; inset:50% auto auto 50%; z-index:2; transform:translate(-50%,-50%); display:grid; place-items:center; width:60px; height:60px; border:1px solid rgba(255,255,255,.75); background:color-mix(in srgb,var(--on-ink,#002d5e) 78%,transparent); color:var(--on-on-dark,#fff); pointer-events:none; }
.on-card-play-overlay .on-icon { width:28px; height:28px; margin-left:2px; }
.on-card-media-label { position:absolute; right:14px; bottom:14px; z-index:2; display:inline-flex; align-items:center; gap:8px; padding:8px 10px; background:var(--on-ink,#002d5e); color:var(--on-on-dark,#fff); font:600 calc(11px * var(--on-reading-scale,1))/1.4 var(--on-font,'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif); pointer-events:none; }
.on-card-media-label .on-icon { width:15px; height:15px; }
.on-card-media-label-detailed { gap:10px; min-width:156px; min-height:52px; padding:9px 12px; font-size:14px; line-height:1.2; text-align:left; white-space:nowrap; }
.on-card-media-label-detailed .on-icon { width:32px; height:32px; }
.on-card-media-label-detailed>span { display:grid; gap:1px; }
.on-card-media-label-detailed strong { font-weight:700; }
.on-card-media-label-detailed em { font-weight:400; }

@media(max-width:639px) {
 .on-card-play-overlay { width:50px; height:50px; }
 :is(.on-prose,.editor-styles-wrapper) { font-size:calc(var(--on-content-size,16px) * var(--on-reading-scale,1)); line-height:1.85; }
 :is(.on-prose,.editor-styles-wrapper) h2 { font-size:var(--on-heading-current-size,calc(31px * var(--on-reading-scale,1))); }
 :is(.on-prose,.editor-styles-wrapper) h3 { font-size:var(--on-heading-current-size,calc(26px * var(--on-reading-scale,1))); }
 :is(.on-prose,.editor-styles-wrapper) blockquote,:is(.on-prose,.editor-styles-wrapper) .wp-block-quote { font-size:calc(var(--on-quote-size,20px) * var(--on-reading-scale,1)); padding:18px 18px 18px 58px; }
 :is(.on-prose,.editor-styles-wrapper) blockquote::before,:is(.on-prose,.editor-styles-wrapper) .wp-block-quote::before { left:16px; top:12px; font-size:52px; }
}
@media print { .on-prose .wp-block-table { overflow:visible; } .on-prose .wp-block-table table { min-width:0; width:100%; } .on-prose { font-size:12pt; line-height:1.6; }.on-prose h2 { font-size:22pt; } }
