/*
Theme Name: Steigens Distribution
Theme URI: https://steigensdistribution.com/
Description: Editable block theme for STEIGENS DISTRIBUTION. Every page is built from normal WordPress blocks, with a hero slider, scrolling brand-logo strip, sliding card carousels and the "Our Global Brand Partners" page. Activating it creates the pages, menu and brand list automatically.
Version: 3.21.1
Requires at least: 6.6
Tested up to: 7.2
Requires PHP: 7.4
Text Domain: steigens
*/

:root {
	--ink: #0e1318;
	--slate: #18212b;
	--crimson: #b0122c;
	--crimson-2: #d11f3d;
	--crimson-light: #ff6b80;
	--tint: #f4f2ef;
	--line: #e2ded8;
	--text: #1a2028;
	--muted: #5a6370;
	--radius: 12px;
	--shadow: 0 1px 2px rgba(14, 19, 24, .06), 0 10px 30px rgba(14, 19, 24, .08);
	--head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--body: "Inter", "Helvetica Neue", Arial, sans-serif;
	--content: var(--wp--style--global--content-size, 1200px);
	--gutter: var(--wp--style--root--padding-left, clamp(16px, 4vw, 32px));
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--crimson-2); outline-offset: 3px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 6px; }
.container { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
[id] { scroll-margin-top: 100px; }

/* Text that sits in a centered (constrained) section but should line up with the left edge of the content */
.is-layout-constrained > :is(.eyebrow, .section-title, .lede, .page-title, .page-lede, .hero-title, .hero-text, .wp-block-buttons, .marquee-label) {
	margin-left: max(0px, calc((100% - var(--content)) / 2)) !important;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(14, 19, 24, .05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand__logo { height: 68px; width: auto; max-width: 260px; object-fit: contain; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
.nav__list a { display: block; padding: .55em .8em; border-radius: 6px; color: var(--text); font: 600 .8rem/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transition: color .2s, background .2s; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--crimson); background: var(--tint); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 12px 24px rgba(14, 19, 24, .08); }
	.site-header.is-open .nav { display: block; }
	.nav__list { flex-direction: column; padding: 8px var(--gutter) 16px; }
	.nav__list a { padding: .95em .5em; border-bottom: 1px solid var(--tint); border-radius: 0; }
	.site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
	.site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.brand__logo { height: 58px; }
}

/* ---------- Page wrappers ---------- */
.entry-content > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }
.entry-content--padded { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-banner { background: linear-gradient(160deg, var(--ink), #243140); color: #fff; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.page-banner__inner { max-width: var(--content); margin: 0 auto; }
.marquee-label { max-width: calc(var(--content) + 2 * var(--gutter)); margin-left: auto !important; margin-right: auto !important; }
.page-banner h1 { margin: 0; color: #fff; }
.post-item { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }

/* ---------- Typography helpers ---------- */
.eyebrow { display: flex; align-items: center; gap: .6em; font: 700 .74rem/1 var(--body) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex-shrink: 0; }
.has-white-color .eyebrow, .wp-block-cover .eyebrow, .section-dark .eyebrow { color: var(--crimson-light); }
.section-title { margin-top: 0; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.has-white-color .lede, .section-dark .lede { color: rgba(255, 255, 255, .72); }
.wp-block-heading strong { color: var(--crimson); font-weight: inherit; }
.wp-block-cover .wp-block-heading strong, .has-white-color .wp-block-heading strong { color: var(--crimson-light); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(64px, 8vw, 110px) !important; padding-bottom: clamp(64px, 8vw, 110px) !important; }
.section > * + .wp-block-group, .section > * + .wp-block-columns, .section > * + .wp-block-shortcode, .section > * + .marquee, .section > * + .brand-grid { margin-top: 2.5rem; }
.page-hero { padding-top: clamp(64px, 9vw, 120px) !important; padding-bottom: clamp(64px, 9vw, 120px) !important; background-image: radial-gradient(1200px 400px at 85% -10%, rgba(209, 31, 61, .35), transparent 60%), linear-gradient(160deg, #0e1318, #243140) !important; }
.page-title { margin-bottom: .3em !important; }
.page-lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255, 255, 255, .85); max-width: 62ch; }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section-dark .card p:not(.card-tag) { color: rgba(255, 255, 255, .7); }

/* Columns */
.wp-block-columns.split { gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.wp-block-columns.split.media { align-items: center; }
.rounded img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { transition: background .2s, color .2s, border-color .2s, transform .2s; border: 1.5px solid transparent; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-stg-primary .wp-block-button__link { background: var(--crimson); color: #fff; }
.wp-block-button.is-style-stg-primary .wp-block-button__link:hover { background: var(--crimson-2); }
.wp-block-button.is-style-stg-ghost .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.wp-block-button.is-style-stg-ghost .wp-block-button__link:hover { background: #fff; color: var(--ink); }
.wp-block-button.is-style-stg-outline .wp-block-button__link { background: transparent; border-color: var(--slate); color: var(--slate); }
.wp-block-button.is-style-stg-outline .wp-block-button__link:hover { background: var(--slate); color: #fff; }
.wp-block-button.is-style-stg-light .wp-block-button__link { background: #fff; color: var(--crimson); }
.wp-block-button.is-style-stg-light .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.wp-block-buttons { margin-top: 1.8rem; }

/* ---------- Hero (Cover) ---------- */
.wp-block-cover.hero { padding: clamp(72px, 10vw, 140px) var(--gutter) !important; align-items: center; }
.wp-block-cover.hero .wp-block-cover__background { background: linear-gradient(100deg, rgba(14, 19, 24, .95) 0%, rgba(14, 19, 24, .75) 45%, rgba(14, 19, 24, .2) 100%) !important; opacity: 1 !important; }
.hero .wp-block-cover__inner-container { width: 100%; max-width: var(--content); margin: 0 auto; }
.hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none; }
.hero-title { font-size: var(--wp--preset--font-size--huge) !important; max-width: 16ch !important; margin: 0 0 .4em !important; color: #fff; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 56ch !important; color: rgba(255, 255, 255, .85); }

/* ---------- Slider ( Group with class "stg-slider" ) ---------- */
.stg-slider.is-ready { display: grid; position: relative; overflow: hidden; isolation: isolate; }
.stg-slider.is-ready > .stg-slide { grid-area: 1 / 1; margin: 0 !important; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.stg-slider.is-ready > .stg-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); z-index: 1; }
.stg-slider.is-ready .is-active .wp-block-cover__image-background { animation: stg-kenburns 9s ease-out both; }
.stg-slider.is-ready .is-active .wp-block-cover__inner-container > * { animation: stg-rise .8s var(--ease) both; }
.stg-slider.is-ready .is-active .wp-block-cover__inner-container > :nth-child(2) { animation-delay: .1s; }
.stg-slider.is-ready .is-active .wp-block-cover__inner-container > :nth-child(3) { animation-delay: .2s; }
.stg-slider.is-ready .is-active .wp-block-cover__inner-container > :nth-child(4) { animation-delay: .3s; }
@keyframes stg-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes stg-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.slider-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(18px, 3vw, 32px); display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(var(--content), calc(100% - 2 * var(--gutter))); margin: 0 auto; pointer-events: none; }
.slider-ui > * { pointer-events: auto; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); cursor: pointer; position: relative; overflow: hidden; }
.slider-dot::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slider-dot.is-active::after { animation: stg-progress var(--slide-time, 6s) linear forwards; }
.stg-slider.is-paused .slider-dot.is-active::after, .slider-dot.is-done::after { animation-play-state: paused; }
.slider-dot.is-done::after { transform: scaleX(1); animation: none; }
@keyframes stg-progress { to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 8px; }
.slider-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(14, 19, 24, .35); color: #fff; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; backdrop-filter: blur(4px); }
.slider-arrow:hover { background: #fff; color: var(--ink); }

/* Image slider in a column (e.g. SITORA) */
.slider-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--tint); }
.slider-frame .wp-block-image { margin: 0; }
.slider-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.slider-frame .slider-ui { bottom: 14px; width: calc(100% - 28px); }
.slider-frame .slider-dot { width: 22px; }
.slider-frame .slider-arrow { width: 38px; height: 38px; }

/* ---------- Sliding cards ( Group with class "stg-carousel" ) ---------- */
.carousel-wrap { position: relative; }
.stg-carousel.is-ready { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 10px; margin-left: -2px; margin-right: -2px; }
.stg-carousel.is-ready::-webkit-scrollbar { display: none; }
.stg-carousel.is-ready > * { flex: 0 0 var(--card-w, min(340px, 82%)); margin: 0 !important; scroll-snap-align: start; }
.gallery-carousel.is-ready > * { --card-w: min(260px, 70%); }
.carousel-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.carousel-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.carousel-btn:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.carousel-btn:disabled { opacity: .35; pointer-events: none; }
.section-dark .carousel-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.gallery-carousel .wp-block-image { margin: 0; }
.gallery-carousel img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: #fff; display: block; transition: transform .5s var(--ease); }
.gallery-carousel .wp-block-image:hover img { transform: scale(1.03); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cards > * { margin: 0 !important; }
.card, .is-style-stg-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px !important;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card > * { margin-top: 0; }
.card h3 { margin-bottom: .5rem; }
.card p:not(.card-tag) { color: var(--muted); margin: 0; }
.card-tag { font: 700 .74rem/1 var(--body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); margin-bottom: 1.2rem !important; }
.section-dark .card-tag { color: var(--crimson-light); font-size: 1.6rem !important; font-family: var(--head) !important; letter-spacing: 0; }

/* ---------- Stats (Columns with class "stats") ---------- */
.wp-block-columns.stats { gap: 0 !important; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.stats > .wp-block-column { padding: 32px 28px; border-left: 1px solid var(--line); }
.stats > .wp-block-column:first-child { border-left: 0; }
@media (max-width: 781px) { .stats > .wp-block-column { border-left: 0; border-top: 1px solid var(--line); } .stats > .wp-block-column:first-child { border-top: 0; } }
.stat-num { font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--head) !important; color: var(--crimson); margin: 0 0 .5rem !important; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); margin: 0 !important; }

/* Lists */
.wp-block-list.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .wp-block-list.ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--crimson); border-bottom: 2px solid var(--crimson); transform: rotate(-45deg); }
.wp-block-list.contact-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 10px; }
.contact-list strong { display: inline-block; min-width: 120px; color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

.sitora-logo img { max-width: 220px; }

/* ---------- Brand logo marquee ---------- */
.marquee-band { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0 !important; }
.marquee-label { text-align: left; font: 700 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px !important; padding: 0 var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: stg-marquee var(--marquee-speed, 45s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(36px, 5vw, 72px); padding-right: clamp(36px, 5vw, 72px); }
.marquee__item { display: flex; align-items: center; height: 56px; text-decoration: none; opacity: .75; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.marquee__item:hover { opacity: 1; filter: none; }
.marquee__item img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; }
.marquee__word, .marquee__item .wordmark { font: 800 1.05rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
@keyframes stg-marquee { to { transform: translateX(-50%); } }

/* ---------- Brand carousel tiles (home) ---------- */
.brand-tile { display: flex !important; flex-direction: column; gap: 12px; color: var(--text); text-decoration: none; min-height: 100%; }
.brand-tile:hover { color: var(--text); }
.brand-tile__logo { height: 64px; display: flex; align-items: center; }
.brand-tile__logo img { max-height: 56px; max-width: 170px; width: auto; object-fit: contain; }
.brand-tile__name { font: 700 1.1rem/1.2 var(--head); }
.brand-tile__text { color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* ---------- Brand list ( [stg_brands] ) ---------- */
.wordmark { font: 800 clamp(1rem, 2vw, 1.25rem)/1.15 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); text-align: center; }
.brands { --gap: clamp(12px, 1.6vw, 18px); }

/* Featured spotlight: DELL + RICOH */
.spotlight { display: grid; gap: var(--gap); grid-template-columns: 1fr; margin-bottom: clamp(28px, 4vw, 44px); }
@media (min-width: 760px) { .spotlight { grid-template-columns: 1fr 1fr; } }
.spotlight__card {
	position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; isolation: isolate;
	border-radius: calc(var(--radius) + 6px); color: #fff; text-decoration: none; min-height: 340px;
	background: radial-gradient(600px 260px at 100% 0%, rgba(209, 31, 61, .45), transparent 65%), linear-gradient(150deg, #121a22, #23303f);
	box-shadow: 0 20px 50px -24px rgba(14, 19, 24, .6);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.spotlight__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, .07) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1s var(--ease); }
.spotlight__card.is-link:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(176, 18, 44, .55); color: #fff; }
.spotlight__card.is-link:hover::after { transform: translateX(100%); }
.spotlight__badge { position: absolute; top: 20px; left: 22px; font: 700 .66rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--crimson); padding: .6em .9em; border-radius: 999px; }
.spotlight__index { position: absolute; top: 14px; right: 22px; font: 800 clamp(3rem, 6vw, 4.5rem)/1 var(--head); color: rgba(255, 255, 255, .07); }
.spotlight__logo { display: flex; align-items: center; justify-content: center; margin: 64px 22px 0; min-height: 130px; background: #fff; border-radius: var(--radius); padding: 24px; }
.spotlight__logo img { max-height: 76px; max-width: 70%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.spotlight__card.is-link:hover .spotlight__logo img { transform: scale(1.06); }
.spotlight__logo .wordmark { font-size: clamp(2.2rem, 4.5vw, 3.2rem); letter-spacing: .12em; color: var(--ink); }
.spotlight__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.spotlight__name { font: 800 1.5rem/1.1 var(--head); }
.spotlight__text { color: rgba(255, 255, 255, .72); font-size: .95rem; line-height: 1.55; max-width: 46ch; }
.spotlight__cta { margin-top: auto; padding-top: 10px; font: 600 .85rem/1 var(--body); color: var(--crimson-light); }
.spotlight__cta span { display: inline-block; transition: transform .3s var(--ease); }
.spotlight__card:hover .spotlight__cta span { transform: translateX(4px); }

/* Count + search */
.brand-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brand-tools__count { margin: 0; color: var(--muted); font-size: .95rem; }
.brand-tools__count strong { color: var(--crimson); font: 800 1.4rem/1 var(--head); margin-right: 4px; }
.brand-search { position: relative; display: flex; align-items: center; flex: 0 1 320px; color: var(--muted); }
.brand-search svg { position: absolute; left: 14px; pointer-events: none; }
.brand-search input { width: 100%; font: inherit; font-size: .95rem; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .75em 1em .75em 2.6em; transition: border-color .2s, box-shadow .2s; }
.brand-search input:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(176, 18, 44, .12); }

/* Logo grid */
.logo-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1180px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
.logo-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; overflow: hidden; transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.logo-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--crimson); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.logo-card.is-link:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-5px); color: var(--text); }
.logo-card.is-link:hover::before { transform: scaleX(1); }
.logo-card__index { position: absolute; top: 10px; left: 12px; font: 700 .68rem/1 var(--body); letter-spacing: .08em; color: #b9b3aa; }
.logo-card__logo { flex: 1; display: flex; align-items: center; justify-content: center; padding: 34px 18px 24px; min-height: 128px; }
.logo-card__logo img { max-width: 80%; max-height: 68px; width: auto; height: auto; object-fit: contain; filter: grayscale(.15); transition: transform .4s var(--ease), filter .4s; }
.logo-card.is-link:hover .logo-card__logo img { transform: scale(1.07); filter: none; }
.logo-card__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--line); background: #fbfaf8; font: 600 .74rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.logo-card__arrow { color: var(--crimson); transition: transform .25s; }
.logo-card.is-link:hover .logo-card__arrow { transform: translate(2px, -2px); }
.logo-card.is-hidden, .spotlight__card.is-hidden { display: none; }
.brand-empty { text-align: center; color: var(--muted); padding: 32px 0; margin: 0; }

/* Brand Partners hero: text left, stats right */
.hero-split { align-items: center !important; }
.wp-block-columns.stats--hero { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); flex-direction: column; gap: 0 !important; }
.stats--hero > .wp-block-column { border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, .12); padding: 24px 28px; display: flex; align-items: baseline; gap: 16px; flex-basis: auto !important; }
.stats--hero > .wp-block-column:first-child { border-top: 0; }
.stats--hero .stat-num { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem) !important; margin: 0 !important; min-width: 3.2ch; }
.stats--hero .stat-label { color: rgba(255, 255, 255, .7); }

/* Two marquees running in opposite directions */
.marquee-band--double { display: grid; gap: 14px; }
.marquee--reverse .marquee__track { animation-direction: reverse; }

/* ---------- CTA band ---------- */
.cta { padding-top: clamp(56px, 7vw, 88px) !important; padding-bottom: clamp(56px, 7vw, 88px) !important; }
.cta-cols { align-items: center !important; gap: 28px; }
.cta-cols > .wp-block-column:last-child { flex: 0 0 auto !important; }
.cta-cols .wp-block-buttons { margin-top: 0; }
.cta-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem) !important; margin: 0 0 .4em; }
.cta-text { color: rgba(255, 255, 255, .85); max-width: 60ch; margin: 0; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 16px; color: var(--text); }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font: 600 .82rem/1.2 var(--body); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--tint); border: 1px solid var(--line); border-radius: 8px; padding: .8em .9em; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--crimson); background: #fff; box-shadow: 0 0 0 3px rgba(176, 18, 44, .12); }
.form__hp { position: absolute; left: -9999px; }
.form__submit { width: 100%; border: 0; border-radius: 999px; padding: 1em 1.6em; background: var(--crimson); color: #fff; font: 600 .95rem/1 var(--body); cursor: pointer; transition: background .2s; }
.form__submit:hover { background: var(--crimson-2); }
.form__notice { padding: .9em 1em; border-radius: 8px; margin: 0; font-size: .95rem; }
.form__notice--ok { background: #e7f6ec; color: #13582e; }
.form__notice--err { background: #fdecef; color: #8a0f24; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: 64px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--crimson-light); }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__name { font: 800 1.3rem/1.2 var(--head); color: #fff; letter-spacing: .04em; margin: 0 0 .4rem; }
.site-footer__tag { margin: 0; }
.site-footer__label { font: 700 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--crimson-light); margin: 0 0 1rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 28px; font-size: .82rem; }
.site-footer__strap { letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Scroll reveal (added by script, never in the editor) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
	.marquee__track { flex-wrap: wrap; width: auto; }
	.marquee__group[aria-hidden] { display: none; }
}

/* Logos that come on a coloured background read as neat badges */
.logo-card__logo img, .spotlight__logo img, .marquee__item img, .brand-tile__logo img { border-radius: 4px; }

/* ---------- Phone refinements ---------- */
@media (max-width: 699px) {
	/* Slimmer sticky header */
	.site-header__inner { min-height: 72px; }
	.brand__logo { height: 54px; max-width: 200px; }
	[id] { scroll-margin-top: 76px; }

	/* Card rows become a swipeable strip instead of a long stack */
	.cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; margin-left: -2px; margin-right: -2px; }
	.cards::-webkit-scrollbar { display: none; }
	.cards > * { flex: 0 0 82%; scroll-snap-align: start; }
	.cards::after { content: ""; flex: 0 0 1px; }

	/* Stats sit side by side */
	.wp-block-columns.stats:not(.stats--hero) { flex-wrap: nowrap !important; }
	.stats:not(.stats--hero) > .wp-block-column { padding: 18px 10px; text-align: center; border-top: 0 !important; border-left: 1px solid var(--line) !important; }
	.stats:not(.stats--hero) > .wp-block-column:first-child { border-left: 0 !important; }
	.stats:not(.stats--hero) .stat-num { font-size: 1.9rem !important; }
	.stats:not(.stats--hero) .stat-label { font-size: .78rem; line-height: 1.35; }
	.stats--hero > .wp-block-column { padding: 16px 20px; }

	/* Hero */
	.wp-block-cover.hero { min-height: 560px !important; padding-top: 56px !important; padding-bottom: 96px !important; }
	.hero-text { font-size: .98rem; }
	.wp-block-buttons > .wp-block-button { flex: 1 1 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; text-align: center; padding-top: 1em; padding-bottom: 1em; }
	.cta-cols .wp-block-buttons > .wp-block-button { flex: 0 0 auto; }
	.slider-arrow { width: 40px; height: 40px; }

	/* Brand list */
	.spotlight__card { min-height: 0; }
	.spotlight__logo { margin-top: 56px; min-height: 104px; }
	.brand-search { flex: 1 1 100%; }
	.brand-search input { padding-top: .9em; padding-bottom: .9em; font-size: 16px; } /* 16px stops iPhone zooming in */
	.logo-card__logo { min-height: 104px; padding: 28px 12px 18px; }
	.logo-card__name { font-size: .68rem; padding: 10px 12px; }

	/* Bigger tap targets in the footer */
	.site-footer__links a, .site-footer address a { display: inline-block; padding: 6px 0; }
	.site-footer__links { gap: 2px; }

	/* Forms */
	.field input, .field textarea { font-size: 16px; }
	.contact-list strong { display: block; min-width: 0; }
}

/* ---------- Theme sections inside Elementor ----------
   When a page built with the theme's blocks is opened in Elementor, Elementor wraps the
   whole page in one boxed container. These rules keep banners and sections full width,
   with the text lined up with the rest of the site instead of stuck to the left edge. */
.entry-content > .elementor { max-width: none !important; }
.elementor .alignfull { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; box-sizing: border-box; }
.elementor .wp-block-group.alignfull { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }
.elementor .is-layout-constrained > :not(.alignfull):not(.alignwide) { max-width: var(--content); margin-left: max(0px, calc((100% - var(--content)) / 2)) !important; margin-right: auto !important; }
/* narrower items (titles, intro text) start at the same left edge instead of being centred */
.elementor .e-con-inner:has(> .elementor-widget-text-editor .alignfull) { padding-top: 0; padding-bottom: 0; }
.elementor .elementor-widget-text-editor:has(.alignfull) { margin-bottom: 0 !important; }
.elementor .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.elementor .is-layout-constrained > :is(.lede, .page-lede, .hero-text, .cta-text) { max-width: 62ch !important; margin-left: max(0px, calc((100% - var(--content)) / 2)) !important; margin-right: auto !important; }
@media (max-width: 699px) {
	.elementor .wp-block-buttons { flex-direction: column; align-items: stretch; gap: 12px !important; }
	.elementor .wp-block-buttons > .wp-block-button { width: 100%; margin: 0 !important; }
	.elementor .wp-block-buttons .wp-block-button__link { display: block; width: 100%; text-align: center; box-sizing: border-box; }
}

/* Elementor text widget defaults (grey Roboto) shouldn't override the theme's sections */
.elementor .elementor-widget-text-editor:has(.alignfull) { font-family: var(--body); color: var(--text); font-size: 16px; line-height: 1.65; }
/* Elementor's editor leaves empty paragraphs around the block markers — hide them */
.elementor .elementor-widget-text-editor p:empty { display: none; }
/* Content inside full-width sections lines up with the logo and menu */
.elementor .wp-block-group.alignfull > :not(.alignfull):not(.alignwide) { max-width: var(--content); margin-left: max(0px, calc((100% - var(--content)) / 2)) !important; margin-right: auto !important; }
/* Lists that Elementor's editor nested inside each other: show them as one clean list */
.elementor .wp-block-list.contact-list { margin: 0; padding: 0; list-style: none; display: block; }
.elementor .contact-list > li { list-style: none; margin: 0; padding: 0; }
.elementor .contact-list .contact-list { margin: 0 !important; }
.elementor .wp-block-column > ul.contact-list:first-of-type { margin-top: 1.6rem; }
.elementor .contact-list .contact-list > li { padding: 6px 0; }
.elementor .contact-list .contact-list > li:empty, .elementor .contact-list > li:has(> .contact-list:empty) { display: none; }
.elementor .contact-list + h3 { margin-top: 1.6rem; }
.elementor .wp-block-cover.hero .wp-block-cover__inner-container { padding-left: 0 !important; padding-right: 0 !important; }
.elementor .wp-block-group.alignfull.stg-slider, .elementor .wp-block-group.alignfull.marquee-band { padding-left: 0 !important; padding-right: 0 !important; }
.elementor .marquee-band > .marquee-label { padding-left: 0 !important; padding-right: 0 !important; }

/* ---------- Category & brand detail pages ---------- */
.review-note { background: #fff8db; border: 1px solid #f0d77a; border-left: 4px solid #e0b100; color: #4d3b00; border-radius: 8px; padding: 16px 20px; margin: 16px auto !important; max-width: var(--content); font-size: .95rem; }
.review-note ul { margin: 8px 0 0; padding-left: 20px; }
.review-note li { margin: 4px 0; }
.detail-logo { background: #fff; border-radius: var(--radius); min-height: 200px; display: flex; align-items: center; justify-content: center; padding: 32px; box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6); }
.detail-logo img { max-width: 75%; max-height: 120px; width: auto; object-fit: contain; }
.detail-logo .wordmark { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: .12em; color: var(--ink); }
.detail-gallery.is-ready > * { --card-w: min(360px, 82%); }
.detail-gallery .wp-block-image { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 12px; border-radius: 0; }
.image-credit { font-size: .82rem !important; color: var(--muted); margin-top: 14px !important; }
.logo-grid--compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important; }
@media (max-width: 699px) { .detail-logo { min-height: 140px; } }

/* ---------- Drop-down menus (sub-menus from Appearance → Menus) ---------- */
.nav__list li { position: relative; }
.nav__list .menu-item-has-children > a { display: flex; align-items: center; gap: 6px; }
.nav__list .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav__list .sub-menu { list-style: none; margin: 0; padding: 8px; }
.sub-toggle { display: none; }
@media (min-width: 1081px) {
	.nav__list .sub-menu {
		position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; z-index: 60;
		background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -12px rgba(14, 19, 24, .22);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s;
	}
	.nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* hover bridge */
	.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu, .nav__list li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
	.nav__list li:hover > a::after, .nav__list li:focus-within > a::after { transform: rotate(225deg) translateY(-2px); }
	.nav__list .sub-menu a { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; padding: .7em .9em; white-space: normal; }
	.nav__list .sub-menu .sub-menu { top: -9px; left: 100%; margin-left: 6px; }
	.nav__list .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-left: auto; }
	/* last menus open towards the left so they stay on screen */
	.nav__list > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
}
@media (max-width: 1080px) {
	.nav { max-height: calc(100vh - 72px); overflow-y: auto; }
	.nav__list .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.nav__list .menu-item-has-children > a { flex: 1; }
	.nav__list .menu-item-has-children > a::after { display: none; }
	.sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--text); border-bottom: 1px solid var(--tint); }
	.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
	.is-open > .sub-toggle::before { transform: rotate(225deg); }
	.nav__list .sub-menu { display: none; width: 100%; padding: 0 0 6px 16px; }
	.nav__list .is-open > .sub-menu { display: block; }
	.nav__list .sub-menu a { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; }
}

/* Model cards with product photos (detail pages) */
.cards--models { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 1.5rem; }
.card--model { display: flex; flex-direction: column; }
.card--model .model-img { margin: 0 0 1rem !important; background: #fff; border-radius: 10px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card--model .model-img img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Product catalogue (brand pages) ---------- */
.catalogue-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.catalogue-filters button { font: 600 .8rem/1 var(--body); letter-spacing: .03em; padding: .75em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.catalogue-filters button:hover { border-color: var(--slate); }
.catalogue-filters button[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: #fff; }
.catalogue-filters .count { opacity: .6; margin-left: .35em; font-weight: 500; }
.product-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-grid > * { margin: 0 !important; max-width: none !important; }
.product-card { display: flex !important; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 20px; transition: transform .3s var(--ease), box-shadow .3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card[hidden] { display: none !important; }
.product-card > * { margin: 0 !important; }
.product-card .product-card__img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 14px !important; }
.product-card .product-card__img img { width: 100%; height: 100%; object-fit: contain; }
.product-card__cat { font: 600 .68rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); margin-bottom: 6px !important; }
.product-card__name { font: 700 1.15rem/1.25 var(--head); margin-bottom: 4px !important; }
.product-card__tagline { font-size: .9rem; color: var(--muted); margin-bottom: 12px !important; }
.product-card__specs { list-style: none; padding: 0 !important; margin-bottom: 16px !important; font-size: .86rem; line-height: 1.45; flex: 1; }
.product-card__specs li { position: relative; padding-left: 14px; margin: 0 0 5px; }
.product-card__specs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); }
.product-card .wp-block-buttons { margin-top: auto !important; }
.product-card .wp-block-button__link { padding: .6em 1.2em; font-size: .85rem; }
.catalogue-more { display: flex; justify-content: center; margin-top: 28px; }
.catalogue-more[hidden], .catalogue-filters[hidden] { display: none !important; }
.catalogue-more button { font: 600 .85rem/1 var(--body); padding: .9em 1.6em; border-radius: 999px; border: 1px solid var(--slate); background: transparent; color: var(--slate); cursor: pointer; }
.catalogue-more button:hover { background: var(--slate); color: #fff; }
@media (max-width: 600px) {
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.product-card { padding: 12px 12px 14px; }
	.product-card__name { font-size: 1rem; }
	.product-card__specs { font-size: .8rem; }
	.catalogue-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: calc(-1 * var(--gutter)); }
	.catalogue-filters button { flex: 0 0 auto; }
}

/* ---------- Thank You page ---------- */
.thank-you-hero .page-lede { max-width: 640px; }
.thank-you-back { margin-top: 1.2em; }
.thank-you-back a { color: #fff; opacity: .85; text-decoration: underline; text-underline-offset: 3px; }
.thank-you-back a:hover { opacity: 1; }

/* ---------- Ricoh fi-8700 series launch content ---------- */
.feature-intro { align-items: center !important; gap: clamp(24px, 5vw, 64px) !important; }
.feature-img { margin: 0 !important; }
.feature-img img { width: 100%; height: auto; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature-img--photo img { border: 0; box-shadow: var(--shadow); }
.lineup-img { max-width: 920px; margin: 8px auto 0 !important; }
.subsection-title { margin-top: clamp(40px, 6vw, 64px) !important; margin-bottom: 20px !important; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.model-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.model-cards > * { margin: 0 !important; max-width: none !important; }
.model-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.model-card > * { margin: 0 !important; }
.model-card .model-photo { margin-bottom: 12px !important; }
.model-card .model-photo img { width: 100%; height: 180px; object-fit: contain; }
.model-card h3 { font-size: 1.2rem; margin-bottom: 4px !important; }
.model-card p { color: var(--muted); font-size: .9rem; }
.spec-table { margin-top: 0 !important; margin-bottom: 0 !important; overflow-x: auto; }
.spec-table table { width: 100%; min-width: 520px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table thead th { background: var(--slate); color: #fff; font: 700 .95rem/1.2 var(--head); }
.spec-table tbody th { color: var(--crimson); font-weight: 600; width: 28%; }
.spec-table tbody tr:last-child > * { border-bottom: 0; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.plain-list { list-style: none; padding: 0 !important; margin: 0 !important; font-size: .92rem; color: var(--muted); }
.plain-list li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.challenge-list { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0 !important; }
.challenge-list li { background: var(--slate); color: #fff; border-radius: 10px; padding: 16px 18px; font-weight: 500; line-height: 1.45; margin: 0 !important; }
.challenge-list li::before { display: none !important; }
.pillar-head { align-items: flex-start !important; gap: clamp(16px, 3vw, 32px) !important; margin-top: 0 !important; margin-bottom: clamp(24px, 4vw, 48px) !important; }
.pillar-head > .wp-block-column:first-child { flex: 0 0 auto !important; width: auto !important; }
.pillar-num { margin: 0 !important; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); display: grid; place-items: center; background: var(--slate); color: #fff; border-radius: 10px; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--head); box-shadow: 6px 6px 0 var(--crimson); }
.feature-row { align-items: center !important; gap: clamp(24px, 5vw, 64px) !important; padding: clamp(24px, 4vw, 40px) 0 !important; border-top: 1px solid var(--line); margin-top: 0 !important; margin-bottom: 0 !important; }
.feature-tag { display: inline-block; margin: 0 0 8px !important; font: 600 .7rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--crimson); padding: .45em .7em; border-radius: 4px; }
.feature-title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 0 0 12px !important; }
.feature-highlight { margin-top: 16px !important; padding: 12px 16px; background: #fde8eb; color: var(--crimson); border-left: 3px solid var(--crimson); border-radius: 0 8px 8px 0; font-weight: 600; font-size: .95rem; }
.feature-note { font-size: .85rem; color: var(--muted); font-style: italic; }
.feature-row .wp-block-list { font-size: .95rem; }
@media (max-width: 781px) { .feature-row.is-flipped > .wp-block-column:first-child { order: 2; } }
@media (max-width: 900px) {
	.cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.challenge-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.cards--4, .cards--3, .challenge-list { grid-template-columns: 1fr !important; }
	.model-cards { grid-template-columns: 1fr; }
	.model-card .model-photo img { height: 150px; }
	.pillar-head { flex-wrap: nowrap !important; }
}
.about-img img { border: 0; background: transparent; max-height: 460px; object-fit: contain; }
.feature-row .wp-block-buttons { margin-top: 16px !important; }
