/* October 28: explicit interior roles only; the portal does not load this file. */
/* Measured lettering-to-line gaps were 14.8px desktop and 14px in the
   expanded menu. Lift only the line by half of those visible gaps. */
body #masthead #primary-menu > li:not(.menu-brand) > a::after { bottom:9.4px; }
body #masthead #primary-menu > li:not(.menu-brand) > a:hover::after { width:100%; }
body #masthead #primary-menu > .products-navigation > .products-unified-link::after { content:""; position:absolute; left:0; bottom:9.4px; height:1px; width:0; background:currentColor; transition:width .25s; }
body #masthead #primary-menu > .products-navigation > .products-unified-link:hover::after {
 /* Exclude the existing 10px gap and 7px arrow from the word's underline. */
 width:calc(100% - 17px);
}
/* The inline Home link used to leave a 32px anonymous line box around its
   18px lettering. Removing that box matches the portal's 44px desktop strip. */
body #page #colophon,
body #page #colophon .footer-bottom,
body #page #colophon .footer-bottom .columns-container,
body.search #primary { transition-property:color,background-color; }
body #page #colophon .footer-portal { display:flex; align-items:center; }
/* Padding cannot collapse against a preceding page margin. It fills only
   surplus space, leaving the thin strip in normal document flow. */
body #page #colophon:is(.footer-bar-only,.contact-bottom-only) {
 margin-top:0; padding-top:var(--footer-bottom-space,0px);
}

body #page .glossary-entries { grid-auto-rows:1fr; }
body #page .glossary-entry { grid-template-columns:132px minmax(0,1fr); }
body #page .glossary-entry img { width:132px; height:132px; object-fit:cover; }
body #page .glossary-entry > div { margin-top:var(--glossary-font-offset,0px); }
@media(max-width:900px) {
 body #page .glossary-entry { grid-template-columns:110px minmax(0,1fr); }
 body #page .glossary-entry img { width:110px; height:110px; }
}

body #page #cactus-classic-one.video-library {
 display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:26.666667px;
 padding:0; margin-inline:auto;
}
@media(min-width:960px) {
 /* Four existing 380px thumbnails plus three 12px visible-heading gaps.
    The desktop compiler scales this whole composition and retains its cap. */
 body #page #cactus-classic-one.video-library { width:1556px; column-gap:12px; }
}
body #page .video-library-card { display:block; min-width:0; color:#eeeae3; text-decoration:none; opacity:1; }
/* Keep the accepted 4:3 image rendering intact and trim 10% at each edge.
   This also preserves the first video's existing horizontal crop/zoom. */
body #page .video-thumbnail-frame { display:block; position:relative; aspect-ratio:5/3; overflow:hidden; }
body #page .video-library-card img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; object-position:center; border:0; filter:none; position:absolute; top:50%; transform:translateY(-50%); }
body #page #primary .video-library-card h3 {
 margin:12px 0 0; padding:0; text-align:center; font:400 20px/1.5 'Manrope',sans-serif!important;
 color:#eeeae3; letter-spacing:0!important; text-transform:none; font-kerning:normal;
 /* Keep the original card/row footprint and click area; move only the title. */
 text-box-trim:trim-both; text-box-edge:cap alphabetic; transition-property:color;
}
body #page #primary .video-library-card h3 .video-title-text {
 font:inherit!important; letter-spacing:inherit!important; font-kerning:inherit!important;
 color:inherit; text-transform:none; text-decoration:none;
}
body #page #primary .video-library-card:hover h3 .video-title-text {
 color:#d2c8ae;
}
body #page .video-library-card:is(:hover,:focus-visible) { opacity:1; color:#eeeae3; }
body #page .video-library-card::after { content:none; }
body #page .video-library-card:focus-visible { outline:2px solid #d2c8ae; outline-offset:5px; }
@media(max-width:959px) {
 body #page #cactus-classic-one.video-library { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
}
@media(max-width:599px) {
 body #page #cactus-classic-one.video-library { grid-template-columns:1fr; gap:24px; }
}

body.search #page #primary #search-page-heading {
 font-family:'Manrope',sans-serif!important; font-weight:400!important; font-size:32px;
 color:#eeeae3; line-height:1.3; text-transform:none; font-kerning:normal!important;
 position:relative; top:var(--search-label-offset,0px); transition:none;
}
body.search #page .search-heading-row { align-items:center; margin-bottom:12px; }
/* Layout measures the visible row after fonts and results are ready. */
@media(max-width:650px) { body.search #page #primary #search-page-heading { font-size:27px; } }
