/* iGamingToday — main stylesheet */

:root {
	--ink: #0b1215;
	--ink-2: #1f2a30;
	--text: #1b2328;
	--muted: #5d6970;
	--line: #e4e8ea;
	--line-2: #d2d9dc;
	--wash: #f3f5f6;
	--paper: #ffffff;
	--acc: #0b7d57;
	--acc-hover: #086244;
	--acc-bright: #12b886;
	--acc-soft: #e7f5ef;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--display: "Onest", "Inter", system-ui, sans-serif;
	--wrap: 1240px;
	--gut: 20px;
	--r: 6px;
	--mast-h: 68px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 400 16px/1.55 var(--font);
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); color: var(--ink); letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 2px; }
.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;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.ico { flex: none; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r);
	font: 600 14px/1 var(--font); cursor: pointer; white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--accent { background: var(--acc); color: #fff; }
.btn--accent:hover { background: var(--acc-hover); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.iconbtn {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink);
	transition: background-color .15s;
}
.iconbtn:hover { background: var(--wash); }

/* Top bar */
.topbar { background: var(--ink); color: #c6d0d4; font-size: 12.5px; }
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.topbar__date { color: #8f9ca2; }
.topbar__nav .menu { display: flex; gap: 20px; }
.topbar__nav a:hover { color: #fff; }
.topbar__social { margin-left: auto; }

.socials { display: flex; gap: 4px; align-items: center; }
.socials a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background-color .15s, color .15s; }
.topbar .socials a:hover, .socials--inv a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.socials--lg a { width: 40px; height: 40px; border: 1px solid var(--line-2); }
.socials--lg a:hover { border-color: var(--ink); }

/* Masthead */
.mast { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.admin-bar .mast { top: 32px; }
.mast__in { display: flex; align-items: center; gap: 28px; height: var(--mast-h); }
.mast__burger { display: none; margin-left: -8px; }
.mast__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.logo { display: inline-flex; align-items: center; flex: none; color: var(--ink); --logo-pill: var(--acc); --logo-ink: #fff; --logo-shadow: rgba(11, 18, 21, .22); }
.logo__svg { display: block; height: 36px; width: auto; }
.logo__img { max-height: 40px; width: auto; }
.logo--inv { color: #fff; --logo-pill: var(--acc-bright); --logo-ink: var(--ink); --logo-shadow: rgba(0, 0, 0, .45); }
.foot .logo__svg { height: 38px; }
.drawer .logo__svg { height: 31px; }

/* Main navigation */
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list > li > a {
	display: flex; align-items: center; gap: 4px; height: var(--mast-h); padding: 0 11px;
	font: 600 14.5px/1 var(--font); color: var(--ink-2); position: relative;
}
.nav__list > li > a::after {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 2px;
	background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav__list > li:hover > a::after, .nav__list > li:focus-within > a::after,
.nav__list > .current-menu-item > a::after, .nav__list > .current-menu-ancestor > a::after,
.nav__list > .current-category-ancestor > a::after { transform: scaleX(1); }
.nav__list > .menu-item-has-children > a::before {
	content: ""; order: 2; width: 7px; height: 7px; margin: -3px 0 0 4px;
	border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
}
.nav .sub-menu {
	position: absolute; left: -12px; top: 100%; min-width: 460px; padding: 14px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px;
	background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r);
	box-shadow: 0 18px 40px -18px rgba(11, 18, 21, .28);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
}
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: 9px 10px; border-radius: 4px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav .sub-menu a:hover { background: var(--wash); color: var(--acc); }

/* Search panel */
.search-panel { border-top: 1px solid var(--line); padding: 16px 0; background: #fff; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 4px 4px 4px 14px; background: #fff; }
.search:focus-within { border-color: var(--ink); }
.search .ico { color: var(--muted); }
.search__input { flex: 1; min-width: 0; border: 0; outline: 0; height: 40px; font: 400 16px var(--font); background: transparent; color: var(--ink); }

/* Ticker */
.ticker { border-bottom: 1px solid var(--line); background: var(--wash); font-size: 13.5px; }
.ticker__in { display: flex; align-items: center; gap: 18px; height: 42px; }
.ticker__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-transform: uppercase; font-size: 11.5px; letter-spacing: .08em; flex: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc-bright); box-shadow: 0 0 0 0 rgba(18, 184, 134, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 184, 134, .45); } 70% { box-shadow: 0 0 0 8px rgba(18, 184, 134, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 184, 134, 0); } }
.ticker__list {
	display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; white-space: nowrap;
	mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.ticker__list::-webkit-scrollbar { display: none; }
.ticker__list li { display: flex; gap: 8px; align-items: baseline; }
.ticker__list time { color: var(--acc); font-weight: 600; font-variant-numeric: tabular-nums; }
.ticker__list a { color: var(--ink-2); font-weight: 500; }
.ticker__list a:hover { color: var(--acc); }

/* Layout */
.site-main { min-height: 50vh; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.layout--home { padding-top: 28px; }
.layout--article { gap: 56px; }
.layout__main { min-width: 0; }
.block { margin-top: 44px; }
.block--top { margin-top: 0; }
.wrap.block { margin-top: 56px; }

.sec-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	border-top: 2px solid var(--ink); padding-top: 12px; margin-bottom: 20px;
}
.sec-head__title { font: 760 22px/1.2 var(--display); letter-spacing: -0.02em; }
.sec-head__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); flex: none; }
.sec-head__more:hover { color: var(--acc); }
.sec-head--inv { border-top-color: rgba(255, 255, 255, .85); }
.sec-head--inv .sec-head__title, .sec-head--inv .sec-head__more { color: #fff; }

/* Stories */
.kicker {
	display: inline-block; margin-bottom: 8px;
	font: 700 11.5px/1.2 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--acc);
}
a.kicker:hover { color: var(--acc-hover); text-decoration: underline; text-underline-offset: 3px; }
.story { position: relative; min-width: 0; }
.story__title { font-weight: 680; letter-spacing: -0.012em; color: var(--ink); text-wrap: pretty; }
.story__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s; }
.story__title a:hover { background-size: 100% 1px; }
.story__dek { color: #3d484e; margin-top: 8px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.meta__author { color: var(--ink-2); font-weight: 600; }
.meta__author:hover { color: var(--acc); }
.meta__sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 8px; opacity: .6; }

.media { display: block; position: relative; overflow: hidden; border-radius: 4px; background: var(--wash); aspect-ratio: 16 / 9; }
.media__img, .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.story:hover .media__img { transform: scale(1.035); }

.cover {
	position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px 16px; overflow: hidden;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 14px),
		linear-gradient(140deg, hsl(var(--h) 42% 13%) 0%, hsl(var(--h) 48% 24%) 100%);
	color: #fff;
}
.cover__cat { position: relative; z-index: 1; font: 700 11px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.cover__mark { position: absolute; right: -0.06em; top: 50%; transform: translateY(-50%); font: 760 clamp(48px, 9vw, 120px)/1 var(--display); letter-spacing: -0.05em; color: hsl(var(--h) 60% 70% / .14); }

.story--lead .story__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.14; letter-spacing: -0.02em; }
.story--lead .story__media { margin-bottom: 16px; }
.story--lead .story__dek { font-size: 16.5px; }

.story--card .story__media { margin-bottom: 12px; }
.story--card .story__title { font-size: 18px; line-height: 1.28; }

.story--row { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 16px; align-items: start; }
.story--row .story__media { order: 2; aspect-ratio: 3 / 2; }
.story--row .story__title { font-size: 16.5px; line-height: 1.3; }
.story--row .kicker { margin-bottom: 6px; }
.story--row .meta { margin-top: 8px; }
.story--row .cover__mark { font-size: 44px; }
.story--row .cover__cat { display: none; }

.story--text .story__title { font-size: 18px; line-height: 1.28; }
.story--text .story__dek { font-size: 14.5px; }

.story--mini .story__title { font: 600 15px/1.35 var(--font); letter-spacing: 0; }
.story--mini .story__time { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

.story--quote { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); }
.story--quote .story__media { aspect-ratio: 1; border-radius: 50%; }
.story--quote .story__title { font-size: 18px; line-height: 1.28; }
.story--quote .story__dek { position: relative; padding-left: 14px; border-left: 2px solid var(--acc); font-size: 14.5px; color: var(--ink-2); }
.story--quote .cover__cat { display: none; }
.story--quote .cover { justify-content: center; align-items: center; }
.story--quote .cover__mark { position: static; transform: none; font-size: 34px; color: hsl(var(--h) 60% 80% / .5); }

/* Inside a desk block every story has the same section label. */
.block--desk .kicker { display: none; }

/* Top stories */
.top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; }
.top__list { display: flex; flex-direction: column; }
.top__list .story { padding: 16px 0; border-top: 1px solid var(--line); }
.top__list .story:first-child { padding-top: 0; border-top: 0; }
.top__list .story:last-child { padding-bottom: 0; }

/* Grids */
.grid { display: grid; gap: 28px 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.grid--rows .story { padding: 16px 0; border-top: 1px solid var(--line); }
.grid--rows .story:nth-child(-n+3) { border-top: 0; padding-top: 0; }

.desk-lead { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; }
.desk-lead__list { display: flex; flex-direction: column; }
.desk-lead__list .story { padding: 16px 0; border-top: 1px solid var(--line); }
.desk-lead__list .story:first-child { padding-top: 0; border-top: 0; }

/* Events band */
.band { margin-top: 64px; padding: 36px 0 44px; background: var(--ink); color: #c9d3d7; }
.band__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ev { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ev__date { font: 700 13px/1.2 var(--font); color: var(--acc-bright); font-variant-numeric: tabular-nums; }
.ev__name { font: 680 18px/1.25 var(--display); color: #fff; }
.ev__name:hover { text-decoration: underline; text-underline-offset: 4px; }
.ev__place { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #95a3a9; }

/* Sidebar */
.side { display: flex; flex-direction: column; gap: 24px; }
.side-box { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.side-box__title { font: 760 17px/1.2 var(--display); margin-bottom: 10px; }
.side-box__intro { font-size: 14px; color: var(--muted); }
.side-box__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--acc); }
.side-box__link:hover { color: var(--acc-hover); }
.trust { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.trust li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 13.5px; line-height: 1.4; }
.trust .ico { margin-top: 2px; color: var(--acc); }
.trust strong { display: block; color: var(--ink); font-weight: 600; }
.trust span { color: var(--muted); }

.side-box--news { background: var(--ink); border-color: var(--ink); color: #c9d3d7; }
.side-box--news .side-box__title { color: #fff; }
.side-box--news .side-box__intro { color: #aab6bb; }

.mini-list { display: flex; flex-direction: column; counter-reset: n; }
.mini-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.mini-list li:first-child { border-top: 0; padding-top: 2px; }

.rank { counter-reset: r; display: flex; flex-direction: column; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); font: 600 14.5px/1.35 var(--font); color: var(--ink); }
.rank li:first-child { border-top: 0; padding-top: 2px; }
.rank li::before { content: counter(r); font: 760 20px/1 var(--display); color: var(--acc); }
.rank a:hover { color: var(--acc); }

.events-mini { display: flex; flex-direction: column; }
.events-mini li { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); }
.events-mini li:first-child { border-top: 0; padding-top: 2px; }
.events-mini__date { font-size: 12px; font-weight: 700; color: var(--acc); }
.events-mini a { font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.events-mini a:hover { color: var(--acc); }
.events-mini__place { font-size: 12.5px; color: var(--muted); }

/* Newsletter form */
.nl { margin-top: 14px; }
.nl__row { display: flex; gap: 8px; }
.nl__input {
	flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: var(--r);
	border: 1px solid var(--line-2); background: #fff; font: 400 15px var(--font); color: var(--ink);
}
.nl__input:focus { outline: 2px solid var(--acc-bright); outline-offset: 0; border-color: transparent; }
.nl .btn { height: 44px; }
.nl--side .nl__row, .nl--footer .nl__row { flex-direction: column; }
.nl--side .nl__input, .nl--footer .nl__input { flex: none; }
.nl--side .nl__input { border-color: transparent; }
.nl__note { margin-top: 10px; font-size: 12px; color: #8b989e; }
.nl__note a { text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin-top: 10px; font-size: 13.5px; font-weight: 600; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--acc); }
.side-box--news .form-status.is-ok, .foot .form-status.is-ok { color: var(--acc-bright); }
.form-status.is-error { color: #c0392b; }
.side-box--news .form-status.is-error, .foot .form-status.is-error { color: #ff8a7a; }

/* Breadcrumbs */
.crumbs { padding: 18px 0 0; font-size: 13px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a:hover { color: var(--acc); }

/* Article */
.article { min-width: 0; padding-top: 18px; }
.article__title { font: 760 clamp(28px, 3.6vw, 44px)/1.1 var(--display); letter-spacing: -0.025em; text-wrap: balance; }
.article__dek { margin-top: 14px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: #3a464c; }
.article__by { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article__by .meta { margin-top: 0; font-size: 13.5px; }
.article__avatar, .author-box img { border-radius: 50%; }
.article__updated { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.article__figure { margin: 24px 0 0; }
.article__img { width: 100%; height: auto; border-radius: 4px; aspect-ratio: 16 / 9; object-fit: cover; }
.article__figure figcaption, .prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.credit { color: #8b979c; }
.article__grid { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 28px; margin-top: 28px; }
.share--rail { position: sticky; top: calc(var(--mast-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 8px; }
.share a, .share button {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); cursor: pointer;
	transition: border-color .15s, color .15s, background-color .15s;
}
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.share button.is-copied { background: var(--acc); border-color: var(--acc); color: #fff; }
.article__source { font-size: 14px; color: var(--muted); }
.article__source a { color: var(--acc); }
.article__foot { margin: 36px 0 0 72px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a, .chips a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--wash); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.tags a:hover, .chips a:hover { background: var(--acc-soft); color: var(--acc); }
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 16px; margin-top: 28px; padding: 20px; background: var(--wash); border-radius: var(--r); }
.author-box__name { font: 680 16px/1.3 var(--display); color: var(--ink); }
.author-box__name a:hover { color: var(--acc); }
.author-box__bio { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Long-form text */
.prose { font-size: 18px; line-height: 1.7; color: #1d262b; max-width: 720px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 760 26px/1.25 var(--display); margin-top: 1.7em; letter-spacing: -0.018em; }
.prose h3 { font: 680 21px/1.3 var(--display); margin-top: 1.5em; }
.prose h4 { font: 700 18px/1.35 var(--font); margin-top: 1.4em; }
.prose a { color: var(--acc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--acc-hover); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--acc); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose blockquote, .prose .wp-block-quote, .prose .wp-block-pullquote {
	margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--acc);
	font: 600 21px/1.5 var(--display); color: var(--ink); letter-spacing: -0.01em;
}
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font: 500 14px var(--font); color: var(--muted); font-style: normal; }
.prose img { border-radius: 4px; }
.prose figure { margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose .wp-block-table, .prose .table-scroll { overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--wash); font-weight: 600; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { font-size: .88em; background: var(--wash); padding: 2px 5px; border-radius: 3px; }
.prose iframe { max-width: 100%; }
.prose .alignwide, .prose .alignfull { max-width: none; }
.prose .wp-block-embed__wrapper iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* Archives */
.arch-head { padding: 22px 0 28px; border-bottom: 2px solid var(--ink); margin-bottom: 32px; }
.arch-head__kicker { font: 700 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); margin-bottom: 8px; }
.arch-head__title { font: 760 clamp(30px, 4vw, 48px)/1.08 var(--display); letter-spacing: -0.03em; }
.arch-head__desc { margin-top: 12px; max-width: 720px; font-size: 17px; color: #3a464c; }
.arch-head__desc p + p { margin-top: .6em; }
.arch-head__search { margin-top: 18px; max-width: 640px; }
.arch-head__author { display: flex; gap: 20px; align-items: center; }
.arch-head__author img { border-radius: 50%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.arch-lead { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.arch-list .story { padding: 22px 0; border-bottom: 1px solid var(--line); }
.arch-list .story--row { grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
.arch-list .story--row .story__title { font-size: 20px; }
.arch-list .story--row .story__dek { font-size: 15px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: 14px; font-weight: 600; }
.pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager a.page-numbers:hover { border-color: var(--ink); }
.pager .dots { border: 0; }

/* Calendar */
.cal__month { font: 760 20px/1.2 var(--display); margin: 8px 0 12px; }
.cal + .cal__month { margin-top: 36px; }
.cal__month--past { margin-top: 48px; color: var(--muted); }
.cal { display: flex; flex-direction: column; }
.cal__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.cal__day { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 64px; border-radius: var(--r); background: var(--acc-soft); color: var(--acc); }
.cal__day b { font: 760 24px/1 var(--display); }
.cal__day span { margin-top: 3px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cal__name { font: 680 19px/1.3 var(--display); }
.cal__name a:hover { color: var(--acc); }
.cal__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.cal__meta span { display: inline-flex; align-items: center; gap: 6px; }
.cal__dek { margin-top: 8px; font-size: 14.5px; color: #3a464c; }
.cal--past .cal__day { background: var(--wash); color: var(--muted); }

/* Pages */
.page-doc { max-width: 780px; padding: 18px 0 20px; }
.page-doc__title { font: 760 clamp(30px, 4vw, 46px)/1.1 var(--display); letter-spacing: -0.03em; }
.page-doc__dek { margin-top: 14px; font-size: 19px; color: #3a464c; }
.page-doc__head { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.page-doc__updated { margin-top: 36px; font-size: 13px; color: var(--muted); }
.event__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 20px; font-weight: 600; color: var(--ink-2); }
.event__facts li { display: inline-flex; align-items: center; gap: 8px; }
.event__facts .ico { color: var(--acc); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; padding: 24px 0 20px; }
.contact .prose { margin-top: 16px; font-size: 17px; }
.contact__mail { display: flex; align-items: center; gap: 10px; margin: 24px 0 16px; font-weight: 600; font-size: 17px; }
.contact__mail a { color: var(--acc); }
.cform { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 24px 60px -36px rgba(11, 18, 21, .35); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
	width: 100%; border: 1px solid var(--line-2); border-radius: var(--r); padding: 11px 13px;
	font: 400 15.5px/1.4 var(--font); color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--acc); outline-offset: -1px; border-color: transparent; }
.cform .btn { align-self: flex-start; }

/* 404 and empty */
.notfound { padding: 48px var(--gut) 0; }
.notfound__code { font: 760 96px/1 var(--display); color: var(--acc); letter-spacing: -0.04em; }
.notfound__title { margin-top: 10px; font: 760 clamp(26px, 3vw, 38px)/1.15 var(--display); }
.notfound > p { margin: 10px 0 20px; color: var(--muted); }
.notfound .search { max-width: 640px; }
.empty { padding: 40px 0; color: var(--muted); font-size: 17px; }
.wrap.empty { padding: 56px var(--gut) 24px; }
.empty h2 { font-size: 28px; color: var(--ink); margin-bottom: 8px; }

/* Footer */
.foot { margin-top: 80px; background: var(--ink); color: #a9b5ba; font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 40px; padding: 56px 0 40px; }
.foot__about p { margin: 16px 0; line-height: 1.6; max-width: 340px; }
.foot__title { font: 700 12px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot__col li + li { margin-top: 10px; }
.foot__col a:hover, .foot__legal a:hover, .foot__rg a:hover { color: #fff; }
.foot .nl__input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.foot .nl__input::placeholder { color: #8b989e; }
.foot__rg { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.foot__rg a { text-decoration: underline; text-underline-offset: 3px; }
.badge18 { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #ff6b57; color: #fff; font: 760 13px/1 var(--display); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.foot__legal .menu, .foot__legal ul { display: flex; flex-wrap: wrap; gap: 18px; }

/* Cookie consent */
.consent {
	position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px;
	padding: 18px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
	box-shadow: 0 24px 60px -24px rgba(11, 18, 21, .45); font-size: 14px;
}
.consent a { color: var(--acc); text-decoration: underline; }
.consent__btns { display: flex; gap: 8px; margin-top: 14px; }

/* Drawer (mobile menu) */
.drawer {
	position: fixed; inset: 0 auto 0 0; z-index: 80; width: min(380px, 88vw);
	background: #fff; display: flex; flex-direction: column; overflow-y: auto;
	box-shadow: 30px 0 60px -30px rgba(0, 0, 0, .4);
	transform: translateX(-100%); transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gut); border-bottom: 1px solid var(--line); }
.drawer__body { padding: 16px var(--gut) 32px; display: flex; flex-direction: column; gap: 20px; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list a { display: block; padding: 14px 0; font: 680 17px/1.2 var(--display); color: var(--ink); }
.drawer__list .sub-menu { padding: 0 0 12px 12px; }
.drawer__list .sub-menu a { padding: 8px 0; font: 500 15px/1.3 var(--font); color: var(--ink-2); }
.drawer__company ul { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(11, 18, 21, .45); opacity: 0; transition: opacity .25s; }
.scrim.is-open { opacity: 1; }
body.no-scroll { overflow: hidden; }


/* Language switcher */
.langs { display: inline-flex; align-items: center; gap: 2px; font: 700 12px/1 var(--font); letter-spacing: .04em; }
.langs a, .langs span { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 4px; }
.langs span { background: rgba(255, 255, 255, .12); color: #fff; }
.langs a { color: #9aa7ad; }
.langs a:hover { color: #fff; }
.langs--mast { display: none; }
.langs--mast span { background: var(--ink); }
.langs--mast a { color: var(--ink-2); border: 1px solid var(--line-2); }
.langs--mast a:hover { color: var(--ink); border-color: var(--ink); }
.langs--drawer { font-size: 14px; }
.langs--drawer a, .langs--drawer span { height: 36px; min-width: 48px; }
.langs--drawer span { background: var(--ink); }
.langs--drawer a { color: var(--ink-2); border: 1px solid var(--line-2); }

/* House advertisement (VAK Marketing) */
.had { margin-top: 44px; }
.had__label { margin-bottom: 6px; font: 600 10.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #9aa5aa; }
.had__box {
	position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px;
	padding: 26px 30px; border-radius: 12px; background: #06050c; color: #f5f3fb;
	box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .25);
}
.had__glow { position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(60% 120% at 0% 100%, rgba(124, 92, 255, .38), transparent 60%), radial-gradient(45% 90% at 100% 0%, rgba(255, 82, 184, .26), transparent 60%), radial-gradient(40% 80% at 70% 120%, rgba(98, 228, 255, .16), transparent 60%);
	transition: opacity .3s; }
.had__box:hover .had__glow { opacity: .8; }
.had__logo { width: 104px; height: auto; }
.had__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.had__title { font: 720 21px/1.2 var(--display); letter-spacing: -0.015em; color: #fff; }
.had__text { font-size: 14px; line-height: 1.5; color: #c9c3e0; }
.had__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.had__tags span { padding: 4px 9px; border-radius: 999px; background: rgba(245, 243, 251, .08); box-shadow: inset 0 0 0 1px rgba(245, 243, 251, .14); font-size: 12px; font-weight: 500; color: #e4defa; }
.had__cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: #f5f3fb; color: #06050c; font: 650 14px/1 var(--font); white-space: nowrap; transition: transform .2s; }
.had__box:hover .had__cta { transform: translateX(3px); }
.had--side { margin-top: 0; }
.had--side .had__box { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px; }
.had--side .had__logo { width: 84px; }
.had--side .had__title { font-size: 18px; }
.had--side .had__cta { justify-self: start; height: 40px; }
.foot__pub { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.contact__lines { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; font-weight: 600; }
.contact__lines li { display: flex; align-items: center; gap: 10px; }
.contact__lines .ico { color: var(--acc); }
.contact__lines a:hover { color: var(--acc); }

/* Responsive */
@media (max-width: 1180px) {
	.nav__list > li > a { padding: 0 8px; font-size: 14px; }
	.nav__list > li > a::after { left: 8px; right: 8px; }
	.layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot__grid { grid-template-columns: 1fr 1fr 1fr; }
	.foot__about, .foot__news { grid-column: span 3; }
	.foot__about p { max-width: 560px; }
	.band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	:root { --mast-h: 60px; }
	.nav, .mast__cta, .topbar__date { display: none; }
	.langs--mast { display: inline-flex; }
	.had__box { grid-template-columns: auto minmax(0, 1fr); }
	.had__cta { grid-column: 2; justify-self: start; }
	.mast__burger { display: inline-grid; }
	.mast__in { gap: 8px; }
	.mast__logo { margin-right: auto; }
	.layout, .layout--article { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.top__list .story:first-child { padding-top: 16px; border-top: 1px solid var(--line); }
	.desk-lead { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.grid--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--rows .story:nth-child(3) { border-top: 1px solid var(--line); padding-top: 16px; }
	.contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.article__foot { margin-left: 0; }
}

@media (max-width: 782px) {
	.admin-bar .mast { top: 46px; }
}

@media (max-width: 680px) {
	:root { --gut: 16px; }
	body { font-size: 15.5px; }
	.topbar { display: none; }
	.mast .logo__svg { height: 30px; }
	.ticker__in { height: 40px; gap: 12px; }
	.layout--home { padding-top: 14px; }
	.block { margin-top: 36px; }
	.block--top { margin-top: 0; }
	.wrap.block { margin-top: 40px; }
	.sec-head__title { font-size: 20px; }
	.side { grid-template-columns: minmax(0, 1fr); }

	.grid--2, .grid--3, .grid--4, .grid--rows { grid-template-columns: minmax(0, 1fr); gap: 0; }
	/* On phones only the first card keeps its picture on top, the rest become compact rows. */
	.grid--3 > .story, .grid--4 > .story { padding: 16px 0; border-top: 1px solid var(--line); }
	.grid--3 > .story:first-child, .grid--4 > .story:first-child { padding-top: 0; border-top: 0; }
	.grid--3 > .story--card:not(:first-child), .grid--4 > .story--card:not(:first-child) {
		display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start;
	}
	.grid--3 > .story--card:not(:first-child) .story__media, .grid--4 > .story--card:not(:first-child) .story__media { order: 2; margin: 0; aspect-ratio: 3 / 2; }
	.grid--3 > .story--card:not(:first-child) .story__title, .grid--4 > .story--card:not(:first-child) .story__title { font-size: 16px; }
	.grid--3 > .story--card:not(:first-child) .cover__cat, .grid--4 > .story--card:not(:first-child) .cover__cat { display: none; }
	.grid--3 > .story--card:not(:first-child) .cover__mark, .grid--4 > .story--card:not(:first-child) .cover__mark { font-size: 40px; }
	.grid--rows .story:nth-child(2), .grid--rows .story:nth-child(3) { border-top: 1px solid var(--line); padding-top: 16px; }
	.grid--2 { gap: 14px; }
	.story--row { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; }
	.story--quote { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px; }
	.story--lead .story__title { font-size: 24px; }
	.story--card .story__title { font-size: 17px; }

	.band { margin-top: 44px; padding: 28px 0 32px; }
	.band__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ev { padding: 14px 0; }

	.article__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
	.share--rail { position: static; flex-direction: row; order: 2; }
	.prose { font-size: 17px; }
	.prose h2 { font-size: 23px; }
	.prose blockquote { font-size: 19px; }
	.arch-list .story--row { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; }
	.arch-list .story--row .story__title { font-size: 17px; }
	.arch-list .story--row .story__dek { display: none; }
	.cal__item { grid-template-columns: 54px minmax(0, 1fr); }
	.cal__day { height: 54px; }
	.cal__go { grid-column: 2; justify-self: start; }
	.cform { padding: 20px; }
	.cform__row { grid-template-columns: minmax(0, 1fr); }
	.foot { margin-top: 56px; }
	.foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 40px; }
	.foot__about, .foot__news { grid-column: span 2; }
	.consent { left: 8px; right: 8px; bottom: 8px; max-width: none; }
	.had__box { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 20px; }
	.had__cta { grid-column: auto; }
	.had__logo { width: 84px; }
	.had__title { font-size: 19px; }
	.notfound__code { font-size: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.story:hover .media__img { transform: none; }
}

@media print {
	.topbar, .mast, .ticker, .side, .share, .foot, .consent, .block--related { display: none !important; }
	.layout { display: block; }
	.prose { max-width: none; font-size: 12pt; }
}
