/* October 23: explicit title roles, not a global heading restyle. */
body #page :is(.oct23-main-title,#testimonials-title,#visit-heading,.search-heading) {
 font-family:'Cactus Stone Caps',sans-serif!important; font-weight:300!important;
 font-style:normal!important; font-kerning:none!important; letter-spacing:0!important;
 font-synthesis:none; text-transform:uppercase; color:#fff;
 font-size:clamp(26px,2.2vw,38px);
}
body #page :is(.videos-page,.glossary-page) > .oct23-main-title {
 margin:0 0 24px; line-height:1.3; text-align:center;
}
body #page main:is(.videos-page,.glossary-page) {
 padding-top:calc(var(--interior-content-top) - var(--interior-header-reduction)); padding-bottom:40px;
}
body #page .oct23-prose { white-space:pre-wrap; }
body #page .glossary-entries { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 48px; }
body #page .glossary-entry { display:grid; grid-template-columns:minmax(100px,26%) 1fr; gap:22px; align-items:start; }
body #page .glossary-entry img { width:100%; height:auto; }
body #page .glossary-entry h2 { font:400 20px/1.6 'Manrope',sans-serif!important; color:#d2c8ae; text-transform:none; margin:0 0 6px; }
body #page .glossary-entry p { font:400 20px/1.6 'Manrope',sans-serif!important; color:#eeeae3; margin:0; }
/* Portal changes are confined to its center footer group. Equal side tracks
   anchor the social icons to the page center independently of link lengths. */
body.portal-home #page .portal-footer-nav { width:clamp(370px,28vw,490px); grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:12px; }
body.portal-home #page .portal-footer-nav > div:not(.portal-social) { display:flex; align-items:center; gap:16px; }
body.portal-home #page .portal-footer-left { justify-content:flex-end; }
body.portal-home #page .portal-footer-right { justify-content:flex-start; }
body.portal-home #page .portal-footer-nav a { font:inherit; min-height:28px; display:flex; align-items:center; }
body.portal-home #page .portal-footer-nav .portal-social a { font-size:18px; }
@media(max-width:1100px) {
 body #page .glossary-entries { gap:30px; }
 body #page .glossary-entry { grid-template-columns:100px 1fr; gap:16px; }
 body #page .glossary-entry :is(h2,p) { font-size:18px!important; }
}
@media(max-width:900px) {
 body #page .glossary-entry { grid-template-columns:1fr; }
 body #page .glossary-entry img { width:130px; }
}
@media(max-width:599px) {
 body #page .glossary-entries { grid-template-columns:1fr; }
 body #page .glossary-entry { grid-template-columns:100px 1fr; gap:16px; }
 body #page .glossary-entry img { width:100%; }
 body.portal-home #page .portal-footer-nav { width:100%; max-width:420px; gap:8px; }
 body.portal-home #page .portal-footer-nav > div:not(.portal-social) { flex-direction:column; gap:0; }
 body.portal-home #page .portal-footer-nav a { min-height:36px; }
 body.portal-home #page .portal-footer-nav .portal-social a { min-height:44px; }
 body #page #testimonials-title { font-size:26px; padding-inline:8px; }
}
/* Six destinations keep their accepted type size. The compact mode is used
   before either group collides with the fixed-size logo or search control. */
@media(min-width:1201px) {
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu { display:flex; justify-content:center; width:100%; position:relative; height:auto; min-height:54px; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu > .menu-brand { position:relative; margin:0; left:auto; top:auto; transform:none; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu > li:not(.menu-brand) { position:absolute; left:var(--navigation-left); top:50%; transform:translateY(-50%); width:max-content; }
}
@media(min-width:901px) and (max-width:1200px) {
 body #masthead[data-october23-navigation] { --header-bar-height:calc(88px - var(--interior-header-reduction)); }
 body #masthead[data-october23-navigation] > .container { min-height:var(--header-bar-height); }
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu { display:block; width:100%; padding:0; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu > li:not(.menu-brand) { display:none; position:static; transform:none; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu > .menu-brand { position:absolute; left:50%; top:calc(var(--header-bar-height)/2); transform:translate(-50%,-50%); }
 body #masthead[data-october23-navigation] .container .navs-wrapper #site-navigation .menu-toggle { display:flex; align-items:center; justify-content:center; position:absolute; top:calc(var(--header-bar-height)/2 - 22px); left:2vw; width:44px; height:44px; margin:0; padding:0; font-size:21px; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #site-navigation.toggled #primary-menu { padding-top:var(--header-bar-height); padding-bottom:16px; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #site-navigation.toggled #primary-menu > li:not(.menu-brand) { display:block; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu > li > a { font-size:19px; line-height:1.5; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #secondary-navigation,
 body #masthead[data-october23-navigation].menu-open .container .navs-wrapper #secondary-navigation { top:calc(var(--header-bar-height)/2 - 22px)!important; }
 body #masthead[data-october23-navigation] .products-menu-toggle { left:calc(50% + var(--products-label-half-width) + 2px); top:22px; width:24px; }
 body #masthead[data-october23-navigation] #primary-menu .products-category-menu { position:static; transform:none; margin:0 auto; }
}
@media(max-width:1200px) {
 body #masthead[data-october23-navigation].menu-open { max-height:100dvh; overflow-y:auto; overflow-x:clip; }
}
/* Override the legacy heading role's nested-ID specificity explicitly. */
body #page #primary :is(.oct23-main-title,#testimonials-title,#visit-heading,.search-heading),
body #page #primary :is(.oct23-main-title,#visit-heading) > :is(span,strong) {
 font-family:'Cactus Stone Caps',sans-serif!important; font-weight:300!important;
 font-style:normal!important; font-kerning:none!important; letter-spacing:0!important;
}
@media(min-width:901px) and (max-width:1200px) {
 body #masthead[data-october23-navigation] .container .navs-wrapper #site-navigation { position:static; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu > li { float:none; margin:0; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu > li:not(.menu-brand) { width:100%; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #site-navigation.toggled { height:auto; background:transparent!important; }
 body #masthead[data-october23-navigation] .container .navs-wrapper #site-navigation .menu-main-navigation-container { position:static; width:100%; margin:0; }
}
@media(min-width:901px) and (max-width:1200px) {
 body #masthead[data-october23-navigation] .container .navs-wrapper #primary-menu > li.products-navigation { position:relative; }
}
