/*
Theme Name: UND1SPTD Network
Theme URI: https://und1sptd.com/
Author: UND1SPTD
Description: A mobile-first editorial, event, commerce, and culture theme for the UND1SPTD media network.
Version: 1.0.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: und1sptd-network
License: GPLv2 or later
*/

:root {
	--und1-bg: #050505;
	--und1-panel: #0d0d0d;
	--und1-panel-2: #151515;
	--und1-paper: #f2efe9;
	--und1-text: #ffffff;
	--und1-muted: #a9a9a9;
	--und1-line: rgba(255, 255, 255, .16);
	--und1-accent: #ed1c2f;
	--und1-accent-rgb: 237, 28, 47;
	--und1-width: 1480px;
	--und1-radius: 18px;
	--und1-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	--und1-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--und1-bg);
	color: var(--und1-text);
	font-family: var(--und1-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
body.und1-backdrop-grid {
	background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
	background-size: 42px 42px;
}
body.und1-backdrop-noise::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: .025;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--und1-accent); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px; clip: auto; background: #fff; color: #000; }

.und1-shell { width: min(calc(100% - 36px), var(--und1-width)); margin-inline: auto; }
.und1-site-main { min-height: 70vh; overflow: hidden; }
.und1-page-main { padding: clamp(48px, 8vw, 110px) 0; }
.und1-page-frame { width: min(calc(100% - 36px), 1120px); margin-inline: auto; }
.und1-page-frame--wide { width: min(calc(100% - 36px), var(--und1-width)); }

.und1-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--und1-line);
	background: rgba(5, 5, 5, .9);
	backdrop-filter: blur(18px);
}
.admin-bar .und1-site-header { top: 32px; }
.und1-header-inner { display: grid; grid-template-columns: minmax(180px, 270px) 1fr auto; align-items: center; min-height: 88px; gap: 28px; }
.und1-brand { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
.und1-brand img { display: block; width: auto; max-width: 250px; max-height: 58px; object-fit: contain; }
.und1-logo-white .und1-brand-wrap img { filter: grayscale(1) brightness(0) invert(1); }
.und1-logo-red .und1-brand-wrap img { filter: sepia(1) saturate(80) hue-rotate(329deg) brightness(.95); }
.und1-wordmark { font-family: var(--und1-display); font-size: 31px; letter-spacing: .035em; line-height: 1; text-transform: uppercase; }
.und1-brand-wrap img { display: block; width: auto; max-width: 250px; max-height: 58px; object-fit: contain; }
.und1-primary-nav { justify-self: end; }
.und1-primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.und1-primary-nav a { position: relative; color: #ddd; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.und1-primary-nav a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--und1-accent); transition: transform .2s ease; }
.und1-primary-nav a:hover::after, .und1-primary-nav .current-menu-item > a::after { transform: scaleX(1); }
.und1-primary-nav .sub-menu { position: absolute; display: none; min-width: 220px; margin-top: 12px; padding: 12px; border: 1px solid var(--und1-line); background: #090909; }
.und1-primary-nav li:hover > .sub-menu { display: grid; gap: 10px; }
.und1-header-actions { display: flex; align-items: center; gap: 10px; }
.und1-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--und1-line); background: transparent; color: #fff; cursor: pointer; }
.und1-menu-toggle span, .und1-menu-toggle::before, .und1-menu-toggle::after { content: ""; display: block; width: 19px; height: 2px; margin: 4px auto; background: currentColor; }

.und1-btn, .wp-block-button__link, button[type="submit"], input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 20px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--und1-accent);
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 950;
	letter-spacing: .09em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.und1-btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); background: #ff3043; color: #fff; }
.und1-btn--ghost { border-color: rgba(255,255,255,.4); background: transparent; }
.und1-btn--ghost:hover { border-color: #fff; background: #fff; color: #050505; }
.und1-btn--small { min-height: 42px; padding: 10px 15px; font-size: 10px; }
.und1-link { color: #fff; font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: 5px; }

.und1-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(70px, 10vw, 150px) 0; border-bottom: 1px solid var(--und1-line); background: #050505; }
.und1-section::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--und1-bg-image, none) center / cover no-repeat; opacity: var(--und1-image-opacity, 0); }
.und1-section::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.und1-section--tight { padding-block: 28px; }
.und1-section--full { min-height: min(840px, calc(100vh - 88px)); display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; }
.und1-section--bleed .und1-shell { width: min(100%, 1800px); }
.und1-section--spotlight::after { background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.22) 100%), radial-gradient(circle at 80% 30%, rgba(var(--und1-accent-rgb),.22), transparent 35%); }
.und1-section--redline { background: linear-gradient(130deg, #160306, #050505 58%); }
.und1-section--redline::after { background: linear-gradient(105deg, transparent 0 64%, rgba(var(--und1-accent-rgb),.17) 64% 70%, transparent 70%); }
.und1-section--chrome { background: linear-gradient(145deg, #050505 0%, #1e1e1e 35%, #050505 70%); }
.und1-section--chrome::after { background: repeating-linear-gradient(112deg, transparent 0 16%, rgba(255,255,255,.045) 16.1% 16.3%, transparent 16.4% 23%); }
.und1-section--newsprint { background: var(--und1-paper); color: #0b0b0b; }
.und1-section--newsprint .und1-kicker, .und1-section--newsprint .und1-card__meta { color: #8f101e; }
.und1-section--newsprint .und1-copy, .und1-section--newsprint .und1-card__excerpt { color: #424242; }
.und1-section--newsprint .und1-btn--ghost { border-color: #111; color: #111; }
.und1-section--newsprint .und1-btn--ghost:hover { background: #111; color: #fff; }
.und1-section--bleacher { background: #080808; }
.und1-section--bleacher::after { background-image: linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.07) 50%, transparent 50.5%), linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,.05) 50%, transparent 50.5%); background-size: 84px 84px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }

.und1-section-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.und1-section-grid--reverse .und1-section-copy { order: 2; }
.und1-section-copy { position: relative; z-index: 2; max-width: 850px; }
.und1-section-copy--center { max-width: 1000px; margin-inline: auto; text-align: center; }
.und1-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--und1-accent); font-size: 11px; font-weight: 950; letter-spacing: .22em; text-transform: uppercase; }
.und1-kicker::before { content: ""; width: 42px; height: 3px; background: currentColor; }
.und1-section-copy--center .und1-kicker { justify-content: center; }
.und1-title { max-width: 1100px; margin: 0; overflow-wrap: anywhere; font-family: var(--und1-display); font-size: clamp(58px, 9.2vw, 150px); font-stretch: condensed; font-weight: 950; letter-spacing: -.045em; line-height: .82; text-transform: uppercase; }
.und1-title--medium { font-size: clamp(48px, 7vw, 104px); }
.und1-title em { color: var(--und1-accent); font-style: normal; -webkit-text-stroke: 0; }
.und1-title .und1-outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.72); }
.und1-copy { max-width: 720px; margin: 28px 0 0; color: var(--und1-muted); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; }
.und1-section-copy--center .und1-copy { margin-inline: auto; }
.und1-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.und1-section-copy--center .und1-actions { justify-content: center; }
.und1-section-number { position: absolute; top: -50px; right: 0; z-index: -1; color: transparent; font-family: var(--und1-display); font-size: clamp(100px, 20vw, 320px); line-height: .8; -webkit-text-stroke: 1px rgba(255,255,255,.08); }

.und1-media-frame { position: relative; min-height: 500px; border: 1px solid var(--und1-line); background: #111; box-shadow: 24px 24px 0 rgba(var(--und1-accent-rgb), .22); }
.und1-media-frame::before { content: attr(data-label); position: absolute; top: 20px; left: -8px; z-index: 2; padding: 8px 12px; background: var(--und1-accent); color: #fff; font-size: 10px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.und1-media-frame img, .und1-media-frame video { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.und1-media-placeholder { display: grid; min-height: inherit; place-items: center; padding: 30px; background: radial-gradient(circle at 70% 25%, rgba(var(--und1-accent-rgb),.35), transparent 35%), #101010; color: transparent; font-family: var(--und1-display); font-size: clamp(70px, 12vw, 170px); line-height: .8; text-align: center; -webkit-text-stroke: 1px rgba(255,255,255,.22); }

.und1-marquee { overflow: hidden; border-block: 1px solid var(--und1-line); background: var(--und1-accent); color: #fff; }
.und1-marquee__track { display: flex; width: max-content; animation: und1-marquee 28s linear infinite; }
.und1-marquee__item { padding: 17px 22px; font-family: var(--und1-display); font-size: clamp(24px, 3vw, 46px); letter-spacing: .025em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.und1-marquee__item::after { content: "✦"; margin-left: 42px; color: #080808; }
@keyframes und1-marquee { to { transform: translateX(-50%); } }

.und1-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.und1-section-head .und1-actions { margin-top: 0; }
.und1-section-head + .und1-copy { margin-top: -12px; margin-bottom: 36px; }
.und1-section-head h2 { max-width: 900px; margin: 0; font-family: var(--und1-display); font-size: clamp(46px, 6vw, 92px); letter-spacing: -.035em; line-height: .88; text-transform: uppercase; }
.und1-card-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.und1-card { position: relative; grid-column: span 4; overflow: hidden; min-height: 420px; border: 1px solid var(--und1-line); background: var(--und1-panel); text-decoration: none; }
.und1-card--wide { grid-column: span 8; }
.und1-card--short { min-height: 330px; }
.und1-card__image { position: absolute; inset: 0; }
.und1-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.98) 0%, rgba(0,0,0,.25) 68%, rgba(0,0,0,.06)); }
.und1-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.und1-card:hover .und1-card__image img { transform: scale(1.045); }
.und1-card__body { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: clamp(20px, 3vw, 34px); }
.und1-card__meta { margin: 0 0 9px; color: var(--und1-accent); font-size: 10px; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.und1-card h3 { margin: 0; font-family: var(--und1-display); font-size: clamp(30px, 3.5vw, 57px); letter-spacing: -.025em; line-height: .91; text-transform: uppercase; }
.und1-card__excerpt { margin: 14px 0 0; color: #c3c3c3; }
.und1-card--plain { min-height: 0; padding: 30px; background: var(--und1-panel); }
.und1-card--plain .und1-card__body { position: static; padding: 0; }
.und1-card--plain h3 { font-size: clamp(28px, 3vw, 48px); }

.und1-event-strip { display: grid; grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr) auto; align-items: center; gap: 26px; padding: 22px 0; border-top: 1px solid var(--und1-line); text-decoration: none; }
.und1-event-strip:last-child { border-bottom: 1px solid var(--und1-line); }
.und1-event-strip__date { color: var(--und1-accent); font-family: var(--und1-display); font-size: clamp(31px, 4vw, 58px); line-height: .9; text-transform: uppercase; }
.und1-event-strip h3 { margin: 0 0 4px; font-family: var(--und1-display); font-size: clamp(28px, 4vw, 54px); letter-spacing: -.02em; line-height: .95; text-transform: uppercase; }
.und1-event-strip p { margin: 0; color: var(--und1-muted); }
.und1-event-strip__arrow { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--und1-line); font-size: 25px; transition: background .2s ease; }
.und1-event-strip:hover .und1-event-strip__arrow { background: var(--und1-accent); }

.und1-article { color: #e9e9e9; }
.und1-article-header { margin-bottom: 42px; }
.und1-article-header h1 { max-width: 1000px; margin: 8px 0 18px; font-family: var(--und1-display); font-size: clamp(50px, 8vw, 112px); letter-spacing: -.04em; line-height: .87; text-transform: uppercase; }
.und1-entry-meta { color: var(--und1-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.und1-featured { margin: 34px 0; }
.und1-featured img { width: 100%; max-height: 760px; object-fit: cover; }
.und1-entry-content { font-size: clamp(17px, 1.35vw, 20px); }
.und1-entry-content > * { max-width: 780px; margin-right: auto; margin-left: auto; }
.und1-entry-content > .alignwide { max-width: 1200px; }
.und1-entry-content > .alignfull { max-width: none; }
.und1-entry-content h2, .und1-entry-content h3 { margin-top: 1.8em; color: #fff; line-height: 1.08; }
.und1-entry-content h2 { font-size: clamp(34px, 4vw, 58px); }
.und1-entry-content blockquote { padding: 22px 0 22px 30px; border-left: 5px solid var(--und1-accent); color: #fff; font-size: 1.25em; font-weight: 800; }

.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-result-count { color: var(--und1-muted); }
.woocommerce ul.products li.product, .woocommerce div.product { color: var(--und1-text); }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce div.product .product_title { color: #fff; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--und1-accent); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius: 0; background: var(--und1-accent); color: #fff; }
.woocommerce table.shop_table, .woocommerce form.checkout, .woocommerce .cart_totals { border-color: var(--und1-line); background: #0d0d0d; color: #fff; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select { min-height: 48px; border: 1px solid #3b3b3b; border-radius: 0; background: #080808; color: #fff; }

.und1-site-footer { padding: 62px 0 28px; border-top: 1px solid var(--und1-line); background: #030303; }
.und1-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.und1-footer-brand { max-width: 520px; }
.und1-footer-brand h2 { margin: 0 0 12px; font-family: var(--und1-display); font-size: clamp(40px, 5vw, 72px); line-height: .85; text-transform: uppercase; }
.und1-footer-brand p { color: var(--und1-muted); }
.und1-footer-nav h3 { margin: 0 0 15px; color: var(--und1-accent); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.und1-footer-nav ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.und1-footer-nav a { color: #c8c8c8; text-decoration: none; }
.und1-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid var(--und1-line); color: #777; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.und1-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.und1-reveal.is-visible { opacity: 1; transform: none; }

.wp-block-group.is-style-und1-redline { padding: clamp(28px, 5vw, 72px); border-left: 6px solid var(--und1-accent); background: linear-gradient(130deg, #1b0307, #090909 68%); }
.wp-block-group.is-style-und1-chrome { padding: clamp(28px, 5vw, 72px); border: 1px solid rgba(255,255,255,.24); background: linear-gradient(145deg, #050505, #242424 42%, #080808 78%); box-shadow: 16px 16px 0 rgba(255,255,255,.06); }
.wp-block-image.is-style-und1-poster { position: relative; border: 1px solid rgba(255,255,255,.25); box-shadow: 18px 18px 0 rgba(var(--und1-accent-rgb),.3); }
.wp-block-heading.is-style-und1-outline { color: transparent; font-family: var(--und1-display); font-size: clamp(52px, 9vw, 130px); line-height: .85; text-transform: uppercase; -webkit-text-stroke: 1px #fff; }

@media (max-width: 1100px) {
	.und1-header-inner { grid-template-columns: 1fr auto; }
	.und1-primary-nav { position: fixed; top: 88px; right: 0; left: 0; display: none; padding: 25px 18px 35px; border-bottom: 1px solid var(--und1-line); background: #050505; }
	.admin-bar .und1-primary-nav { top: 120px; }
	.und1-primary-nav.is-open { display: block; }
	.und1-primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
	.und1-primary-nav a { display: block; padding: 13px 0; font-size: 16px; }
	.und1-primary-nav .sub-menu { position: static; display: grid; margin: 0 0 0 18px; padding: 0; border: 0; background: transparent; }
	.und1-menu-toggle { display: block; }
	.und1-header-actions .und1-btn { display: none; }
	.und1-section-grid { grid-template-columns: minmax(0, 1fr); }
	.und1-section-grid > *, .und1-section-copy { min-width: 0; }
	.und1-section-grid--reverse .und1-section-copy { order: 0; }
	.und1-media-frame { min-height: 430px; }
	.und1-card { grid-column: span 6; }
	.und1-card--wide { grid-column: span 12; }
}

@media (max-width: 782px) {
	.admin-bar .und1-site-header { top: 46px; }
	.admin-bar .und1-primary-nav { top: 134px; }
	.und1-header-inner { min-height: 76px; }
	.und1-brand-wrap img { max-width: 190px; max-height: 48px; }
	.und1-primary-nav { top: 76px; }
	.und1-section { padding-block: 72px; }
	.und1-section--full { min-height: 720px; }
	.und1-title { font-size: clamp(53px, 16vw, 95px); }
	.und1-section-head { align-items: flex-start; flex-direction: column; }
	.und1-card { grid-column: span 12; min-height: 390px; }
	.und1-event-strip { grid-template-columns: 1fr auto; gap: 13px; }
	.und1-event-strip__date { grid-column: 1 / -1; }
	.und1-event-strip__arrow { grid-column: 2; grid-row: 2; }
	.und1-footer-grid { grid-template-columns: 1fr 1fr; }
	.und1-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
	.und1-shell, .und1-page-frame, .und1-page-frame--wide { width: min(calc(100% - 24px), var(--und1-width)); }
	.und1-brand-wrap img { max-width: 160px; }
	.und1-title { font-size: clamp(40px, 14vw, 52px); }
	.und1-copy { font-size: 16px; }
	.und1-actions .und1-btn { width: 100%; }
	.und1-media-frame { min-height: 340px; box-shadow: 11px 11px 0 rgba(var(--und1-accent-rgb),.22); }
	.und1-footer-grid { grid-template-columns: 1fr; }
	.und1-footer-brand { grid-column: auto; }
	.und1-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.und1-marquee__track { animation: none; }
	.und1-reveal { opacity: 1; transform: none; transition: none; }
}
