/* ==========================================================================
   SportServed theme
   ========================================================================== */

:root {
	--ss-navy: #0e1a28;
	--ss-navy-2: #16253a;
	--ss-ink: #0b0f14;
	--ss-text: #1d232b;
	--ss-muted: #5b6470;
	--ss-line: #e4e7eb;
	--ss-soft: #f2f4f6;
	--ss-lime: #b4f02c;
	--ss-lime-ink: #142000;
	--ss-green: #3b8a06; /* lime that passes contrast on white */
	--ss-white: #fff;

	--ss-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ss-font-head: "Inter Tight", "Inter", system-ui, sans-serif;

	--ss-radius: 8px;
	--ss-radius-lg: 12px;
	--ss-gap: 24px;
	--ss-container: 1480px;
	--ss-header-h: 72px;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ss-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ss-text);
	background: var(--ss-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ss-green); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ss-font-head);
	color: var(--ss-ink);
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
}
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ss-lime); outline-offset: 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-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--ss-lime); color: var(--ss-ink); font-weight: 700;
}

.ss-container {
	width: 100%;
	max-width: var(--ss-container);
	margin-inline: auto;
	padding-inline: 20px;
}
.ss-icon { display: inline-block; vertical-align: middle; flex: none; }

/* Header ---------------------------------------------------------------- */
.ss-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--ss-navy);
	color: var(--ss-white);
}
.admin-bar .ss-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ss-header { top: 0; } }

.ss-header__inner {
	display: flex; align-items: center; gap: 32px;
	min-height: var(--ss-header-h);
}
.ss-header__brand { flex: none; }
.ss-header__brand .custom-logo { max-height: 44px; width: auto; display: block; }

.ss-logo {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--ss-white); line-height: 1;
}
.ss-logo:hover { color: var(--ss-white); }
.ss-logo__bars { display: inline-flex; gap: 5px; }
.ss-logo__bars i {
	display: block; width: 8px; height: 30px;
	background: var(--ss-lime); transform: skewX(-22deg); border-radius: 1px;
}
.ss-logo__text {
	font-family: var(--ss-font-head);
	font-weight: 800; font-style: italic;
	font-size: 34px; letter-spacing: -0.035em;
}
.ss-logo__tld { color: var(--ss-lime); font-weight: 700; font-size: .82em; letter-spacing: -0.02em; }

.ss-nav { flex: 1; display: flex; justify-content: center; }
.ss-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; align-items: center; }
.ss-nav__list > li { position: relative; }
.ss-nav__list > li > a {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 0 18px; height: var(--ss-header-h);
	font-size: 17px; font-weight: 500; color: var(--ss-white);
	position: relative;
}
.ss-nav__list > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px;
	height: 3px; border-radius: 2px; background: var(--ss-lime);
	transform: scaleX(0); transition: transform .2s ease;
}
.ss-nav__list > li > a:hover::after,
.ss-nav__list > li.is-active > a::after,
.ss-nav__list > li.current-menu-item > a::after { transform: scaleX(1); }
.ss-nav__list > li.is-active > a,
.ss-nav__list > li.current-menu-item > a { color: var(--ss-lime); font-weight: 600; }
.ss-nav__list > li > a:hover { color: var(--ss-white); }
.ss-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px 0;
	position: absolute; top: calc(100% - 8px); right: 0; min-width: 210px;
	background: var(--ss-navy-2); border-radius: var(--ss-radius);
	box-shadow: 0 14px 34px rgba(0,0,0,.35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.ss-nav__list li:hover > .sub-menu,
.ss-nav__list li:focus-within > .sub-menu,
.ss-nav__list li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ss-nav__list .sub-menu a { display: block; padding: 10px 18px; color: var(--ss-white); font-size: 15px; }
.ss-nav__list .sub-menu a:hover { background: rgba(255,255,255,.06); color: var(--ss-lime); }

.ss-header__btn {
	background: none; border: 0; color: var(--ss-white);
	width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
}
.ss-header__btn:hover { color: var(--ss-lime); }
.ss-header__menu-btn { display: none; }

.ss-search { background: var(--ss-navy-2); padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.ss-search[hidden] { display: none; }

/* Search form */
.ss-searchform {
	display: flex; align-items: center; gap: 10px;
	background: var(--ss-white); border-radius: 999px; padding: 6px 6px 6px 18px;
	color: var(--ss-muted); max-width: 720px; border: 1px solid var(--ss-line);
}
.ss-search .ss-searchform { margin-inline: auto; border: 0; }
.ss-searchform__input {
	flex: 1; border: 0; outline: 0; background: transparent; min-width: 0;
	font: inherit; font-size: 16px; color: var(--ss-ink); padding: 8px 0;
}
.ss-searchform__btn, .ss-button, .ss-comments .submit {
	border: 0; border-radius: 999px; background: var(--ss-lime); color: var(--ss-lime-ink);
	font-weight: 700; padding: 10px 20px;
}
.ss-searchform__btn:hover, .ss-button:hover { filter: brightness(.95); }

/* Shared bits ----------------------------------------------------------- */
.ss-badge {
	display: inline-block;
	background: var(--ss-lime); color: var(--ss-lime-ink);
	font-family: var(--ss-font-head);
	font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
	line-height: 1; padding: 6px 9px; border-radius: 5px;
}
a.ss-badge:hover { color: var(--ss-lime-ink); filter: brightness(.95); }
.ss-meta { margin: 6px 0 0; font-size: 14px; color: var(--ss-muted); }

.ss-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ss-img--placeholder {
	display: grid; place-items: center;
	background: linear-gradient(135deg, var(--ss-navy) 0%, var(--ss-navy-2) 100%);
	color: var(--ss-lime); aspect-ratio: 16 / 10;
}

.ss-section { margin-top: 40px; }
.ss-section-head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin-bottom: 20px;
}
.ss-section-title {
	position: relative; margin: 0; padding-left: 18px;
	font-size: 32px; font-weight: 800;
}
.ss-section-title::before {
	content: ""; position: absolute; left: 0; top: .08em; bottom: .08em;
	width: 6px; background: var(--ss-lime); border-radius: 1px;
}
.ss-section-link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--ss-green); font-weight: 600; font-size: 16px; white-space: nowrap;
}
.ss-section-link:hover { color: var(--ss-ink); }

.ss-grid { display: grid; gap: var(--ss-gap); }
.ss-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ss-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Card */
.ss-card { position: relative; display: flex; flex-direction: column; }
.ss-card__media {
	display: block; aspect-ratio: 2 / 1.02; border-radius: var(--ss-radius);
	overflow: hidden; background: var(--ss-soft);
}
.ss-card__media .ss-img { transition: transform .4s ease; }
.ss-card:hover .ss-card__media .ss-img { transform: scale(1.04); }
.ss-card__badge { margin: -26px 0 0 14px; position: relative; z-index: 1; height: 26px; }
.ss-card__title {
	font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em;
	margin: 10px 0 0;
}
.ss-card:not(:has(.ss-card__badge)) .ss-card__title { margin-top: 16px; }
.ss-card__title a:hover { color: var(--ss-green); }

/* Homepage: top ---------------------------------------------------------- */
.ss-home-top {
	display: grid;
	grid-template-columns: minmax(0, 1.72fr) minmax(0, 1.03fr) minmax(0, .82fr);
	gap: 16px 20px;
	padding-top: 36px;
	align-items: start;
}

.ss-hero { height: 100%; }
.ss-hero__link {
	position: relative; display: block; height: 100%; min-height: 480px;
	border-radius: var(--ss-radius-lg); overflow: hidden; color: var(--ss-white);
	background: var(--ss-navy);
}
.ss-hero__link:hover { color: var(--ss-white); }
.ss-hero__media { position: absolute; inset: 0; }
.ss-hero__media .ss-img { height: 100%; transition: transform .6s ease; }
.ss-hero__link:hover .ss-hero__media .ss-img { transform: scale(1.03); }
.ss-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8,14,24,0) 30%, rgba(8,14,24,.55) 58%, rgba(8,14,24,.92) 100%);
}
.ss-hero__body {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 32px 32px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.ss-hero__title {
	color: var(--ss-white); margin: 6px 0 0;
	font-size: clamp(30px, 3.4vw, 52px); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
}
.ss-hero__dek { font-size: 19px; line-height: 1.35; max-width: 640px; color: rgba(255,255,255,.92); }
.ss-hero__meta { font-size: 15px; color: rgba(255,255,255,.9); display: flex; gap: 14px; align-items: center; }
.ss-hero__sep { opacity: .55; }

.ss-home-top__side { display: flex; flex-direction: column; }
.ss-side {
	display: grid; grid-template-columns: 46% 1fr; gap: 18px;
	padding: 14px 0; border-bottom: 1px solid var(--ss-line);
}
.ss-side:first-child { padding-top: 0; }
.ss-side:last-child { border-bottom: 0; padding-bottom: 0; }
.ss-side__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--ss-radius); overflow: hidden; background: var(--ss-soft); }
.ss-side__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 14px; }
.ss-side__title { font-size: 21px; font-weight: 800; line-height: 1.17; margin: 0; }
.ss-side__body .ss-meta { margin-top: auto; padding-top: 4px; }

.ss-trending {
	border-left: 1px solid var(--ss-line); padding-left: 24px; align-self: stretch;
}
.ss-trending__title {
	display: flex; align-items: center; gap: 14px;
	font-size: 32px; font-weight: 800; margin: 0 0 14px;
}
.ss-trending__title .ss-icon { color: var(--ss-lime); stroke-width: 2.6; }
.ss-trending__list { list-style: none; margin: 0; padding: 0; }
.ss-trending__item {
	display: flex; align-items: center; gap: 18px;
	padding: 14px 0; border-bottom: 1px solid var(--ss-line);
	font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--ss-ink);
}
.ss-trending__item:last-child { border-bottom: 0; }
.ss-trending__num {
	flex: none; width: 38px; height: 38px; display: grid; place-items: center;
	background: #e9fbc8; color: var(--ss-ink);
	font-family: var(--ss-font-head); font-weight: 800; font-size: 20px; border-radius: 5px;
}

/* Homepage: main ---------------------------------------------------------- */
.ss-home-main {
	display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 24px 70px;
	margin-top: 24px; align-items: start;
}
.ss-home-main__content > .ss-section { margin-top: 32px; }
.ss-home-main__aside { padding-top: 0; }
.ss-home-main .ss-grid--4 { gap: 18px; }
.ss-home-main .ss-card__media { aspect-ratio: 2 / 1.07; }
.ss-section--sport { margin-top: 56px; }

/* Ads */
.ss-ad {
	position: relative; overflow: hidden; border-radius: 6px;
	display: grid; place-items: center; text-align: center;
}
.ss-ad--filled { display: block; }
.ss-ad--filled .widget { margin: 0 auto; text-align: center; }
.ss-ad--filled img { display: block; margin: 0 auto; border-radius: 6px; }
.ss-ad--placeholder {
	color: rgba(255,255,255,.85);
	background:
		radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%),
		linear-gradient(180deg, #24364a 0%, #142233 100%);
}
.ss-ad--placeholder::before, .ss-ad--placeholder::after {
	content: ""; position: absolute; top: -20%; bottom: -20%; width: 34px;
	background: var(--ss-lime); transform: skewX(-32deg);
}
.ss-ad--placeholder::before { left: 6%; }
.ss-ad--placeholder::after { right: 6%; }
.ss-ad__label { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; position: relative; z-index: 1; }
.ss-ad--banner { margin-inline: 6%; min-height: 90px; }
.ss-ad--banner.ss-ad--placeholder .ss-ad__label { font-size: 14px; }
.ss-ad--box { min-height: 170px; }
.ss-ad--box.ss-ad--placeholder { place-items: start center; padding-top: 18px; }
.ss-ad--box.ss-ad--placeholder::before { display: none; }
.ss-ad--box.ss-ad--placeholder::after { right: -4%; width: 64px; top: 10%; }
.ss-ad--tall { min-height: 248px; }
.ss-ad--tall.ss-ad--placeholder { place-items: start center; padding-top: 16px; }
.ss-ad--tall.ss-ad--placeholder::before { left: 8%; top: auto; bottom: -10px; height: 34px; width: 22px; }
.ss-ad--tall.ss-ad--placeholder::after { right: -2%; width: 46px; top: 46%; }
.ss-ad__house {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	font-family: var(--ss-font-head); text-transform: uppercase; line-height: 1;
}
.ss-ad__house strong { color: var(--ss-white); font-size: 34px; font-weight: 800; max-width: 8ch; letter-spacing: -0.01em; }
.ss-ad__house em { font-style: normal; color: var(--ss-lime); font-weight: 800; font-size: 19px; margin-top: 10px; }

/* Explore panel */
.ss-explore { border-radius: var(--ss-radius); padding: 22px 22px 8px; }
.ss-explore--dark { background: var(--ss-navy); color: var(--ss-white); }
.ss-explore--light { background: var(--ss-soft); }
.ss-explore__title { font-size: 26px; font-weight: 800; margin: 0 0 14px; }
.ss-explore--dark .ss-explore__title { color: var(--ss-white); }
.ss-explore--light .ss-explore__title { font-size: 23px; }
.ss-explore__list { list-style: none; margin: 0; padding: 0; }
.ss-explore__item { border-top: 1px solid rgba(255,255,255,.14); }
.ss-explore--light .ss-explore__item { border-top-color: var(--ss-line); }
.ss-explore__link {
	display: flex; align-items: center; gap: 18px; padding: 12px 0;
	font-size: 19px; font-weight: 500; color: inherit; cursor: pointer; list-style: none;
}
.ss-explore--light .ss-explore__link { font-size: 16px; font-weight: 600; padding: 10px 0; gap: 16px; }
.ss-explore__link::-webkit-details-marker { display: none; }
.ss-explore__link:hover { color: var(--ss-lime); }
.ss-explore--light .ss-explore__link:hover { color: var(--ss-green); }
.ss-explore__icon { width: 36px; display: inline-grid; place-items: center; color: var(--ss-lime); }
.ss-explore--dark .ss-explore__icon--football,
.ss-explore--dark .ss-explore__icon--dots { color: var(--ss-white); }
.ss-explore--light .ss-explore__icon { color: #7cc400; width: 30px; }
.ss-explore--light .ss-explore__icon--football,
.ss-explore--light .ss-explore__icon--news { color: var(--ss-ink); }
.ss-explore__label { flex: 1; }
.ss-explore__arrow { color: inherit; transition: transform .2s; }
.ss-explore__link:hover .ss-explore__arrow { transform: translateX(3px); }
.ss-explore__more[open] .ss-explore__arrow { transform: rotate(90deg); }
.ss-explore__sub { list-style: none; margin: 0 0 12px 54px; padding: 0; columns: 2; }
.ss-explore__sub a { display: block; padding: 5px 0; font-size: 15px; opacity: .9; }
.ss-explore__sub a:hover { color: var(--ss-lime); opacity: 1; }

/* Article ----------------------------------------------------------------- */
.ss-article-wrap { max-width: 1240px; padding-top: 22px; }
.ss-crumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	font-size: 14px; color: var(--ss-text); margin-bottom: 26px;
}
.ss-crumbs a:hover { color: var(--ss-green); }
.ss-crumbs__sep { color: var(--ss-muted); display: inline-flex; }
.ss-crumbs [aria-current] { color: var(--ss-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

.ss-article-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px;
	align-items: start;
}
.ss-post { min-width: 0; padding-right: 20px; border-right: 1px solid var(--ss-line); }
.ss-page.ss-post { border-right: 0; padding-right: 0; max-width: 820px; margin-inline: auto; }

.ss-post__header .ss-badge { font-size: 14px; padding: 6px 10px; }
.ss-post__title {
	font-size: clamp(32px, 4.3vw, 50px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em;
	margin: 14px 0 14px;
}
.ss-post__dek { font-size: 20px; line-height: 1.38; color: var(--ss-muted); margin: 0 0 20px; max-width: 62ch; }

.ss-post__byline {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-bottom: 18px;
}
.ss-post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; font-size: 14px; color: var(--ss-text); }
.ss-post__avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.ss-post__author { font-weight: 600; color: var(--ss-ink); }
.ss-post__author a:hover { color: var(--ss-green); }
.ss-post__divider { width: 1px; height: 18px; background: var(--ss-line); }
.ss-post__date { color: var(--ss-muted); }
.ss-post__read { display: inline-flex; align-items: center; gap: 6px; color: var(--ss-muted); }

.ss-share { display: flex; gap: 8px; }
.ss-share__btn {
	width: 36px; height: 36px; border-radius: 50%; border: 0;
	display: inline-grid; place-items: center;
	background: var(--ss-soft); color: var(--ss-ink); transition: background .15s, color .15s;
}
.ss-share__btn:hover { background: var(--ss-lime); color: var(--ss-lime-ink); }

.ss-post__figure { margin: 0 0 22px; }
.ss-post__figure .ss-img { border-radius: var(--ss-radius); aspect-ratio: 2.07 / 1; }
.ss-post__figure figcaption { font-size: 13px; color: var(--ss-muted); margin-top: 8px; }

/* Article body typography */
.ss-content { font-size: 18px; line-height: 1.55; color: var(--ss-text); }
.ss-content > * { margin-top: 0; margin-bottom: 18px; }
.ss-content h2 {
	position: relative; padding-left: 16px;
	font-size: 28px; font-weight: 800; margin: 30px 0 14px;
}
.ss-content h2::before {
	content: ""; position: absolute; left: 0; top: .05em; bottom: .05em;
	width: 5px; background: var(--ss-lime);
}
.ss-content h3 { font-size: 22px; font-weight: 800; margin: 26px 0 10px; }
.ss-content h4 { font-size: 19px; font-weight: 700; }
.ss-content a { color: var(--ss-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ss-content a:hover { color: var(--ss-ink); }
.ss-content ul { list-style: none; padding-left: 0; }
.ss-content ul li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.ss-content ul li::before {
	content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; background: var(--ss-lime);
}
.ss-content ol { padding-left: 24px; }
.ss-content ol li { margin-bottom: 6px; }
.ss-content ol li::marker { font-weight: 800; color: var(--ss-green); }
.ss-content blockquote,
.ss-content .wp-block-quote,
.ss-content .wp-block-pullquote {
	position: relative; margin: 24px 0; padding: 18px 24px 18px 88px;
	background: var(--ss-soft); border: 0; border-radius: var(--ss-radius);
	font-style: italic; font-size: 17px; line-height: 1.5; text-align: left;
}
.ss-content .wp-block-pullquote blockquote { margin: 0; padding: 0; background: none; }
.ss-content blockquote::before,
.ss-content .wp-block-pullquote::before {
	content: "\201C"; position: absolute; left: 22px; top: 2px;
	font-family: Georgia, "Times New Roman", serif; font-style: normal; font-weight: 700;
	font-size: 92px; line-height: 1; color: var(--ss-lime);
}
.ss-content .wp-block-pullquote blockquote::before { content: none; }
.ss-content blockquote p { margin: 0; }
.ss-content blockquote cite, .ss-content .wp-block-pullquote cite {
	display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--ss-muted);
}
.ss-content img { border-radius: var(--ss-radius); }
.ss-content figure { margin-inline: 0; }
.ss-content figcaption, .ss-content .wp-element-caption { font-size: 13px; color: var(--ss-muted); margin-top: 8px; }
.ss-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ss-content th, .ss-content td { padding: 10px 12px; border-bottom: 1px solid var(--ss-line); text-align: left; }
.ss-content th { background: var(--ss-navy); color: var(--ss-white); font-weight: 600; }
.ss-content hr { border: 0; height: 1px; background: var(--ss-line); margin: 30px 0; }
.ss-content .alignwide { margin-inline: -40px; }
.ss-content .alignleft { float: left; margin: 6px 24px 12px 0; max-width: 50%; }
.ss-content .alignright { float: right; margin: 6px 0 12px 24px; max-width: 50%; }
.ss-content .aligncenter { margin-inline: auto; }
.ss-content iframe { max-width: 100%; }

.ss-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 0; }
.ss-tags a {
	display: inline-block; padding: 7px 14px; border-radius: 6px;
	background: var(--ss-soft); font-size: 14px; font-weight: 600; color: var(--ss-ink);
}
.ss-tags a:hover { background: var(--ss-lime); color: var(--ss-lime-ink); }
.ss-post .ss-ad--banner { margin: 32px 0 0; }

/* Sidebar */
.ss-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--ss-header-h) + 20px); }
.admin-bar .ss-sidebar { top: calc(var(--ss-header-h) + 52px); }
.ss-sidebar .ss-section-head { margin-bottom: 10px; }
.ss-sidebar .ss-section-title { font-size: 22px; padding-left: 16px; }
.ss-sidebar .ss-section-title::before { width: 5px; }
.ss-mini {
	display: grid; grid-template-columns: 110px 1fr; gap: 12px;
	padding: 10px 0; border-bottom: 1px solid var(--ss-line);
}
.ss-mini__media { display: block; aspect-ratio: 11 / 8; border-radius: 6px; overflow: hidden; background: var(--ss-soft); }
.ss-mini__media .ss-img--placeholder { aspect-ratio: auto; height: 100%; }
.ss-mini__body { padding-top: 6px; }
.ss-mini__title { font-size: 16px; font-weight: 800; line-height: 1.22; margin: 0; }
.ss-mini .ss-meta { font-size: 13px; margin-top: 8px; }

/* Related */
.ss-related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ss-line); max-width: calc(100% - 340px); }
.ss-related .ss-section-title { font-size: 26px; }
.ss-related .ss-card__title { font-size: 17px; font-weight: 800; }
.ss-related .ss-card__media { aspect-ratio: 2 / 1; }
.ss-related .ss-card:not(:has(.ss-card__badge)) .ss-card__title { margin-top: 14px; }

/* Comments */
.ss-comments { margin-top: 48px; max-width: calc(100% - 340px); }
.ss-comments__list { list-style: none; padding: 0; margin: 0 0 32px; }
.ss-comments__list .comment { padding: 16px 0; border-bottom: 1px solid var(--ss-line); }
.ss-comments__list .children { list-style: none; padding-left: 32px; }
.ss-comments__list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.ss-comments__list .comment-meta { font-size: 14px; color: var(--ss-muted); }
.ss-comments__list .fn { font-weight: 700; color: var(--ss-ink); font-style: normal; }
.ss-comments textarea, .ss-comments input[type="text"], .ss-comments input[type="email"], .ss-comments input[type="url"] {
	width: 100%; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); padding: 12px; font: inherit;
}
.ss-comments label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }

/* Listing / archive ----------------------------------------------------------- */
.ss-listing { padding-top: 22px; }
.ss-listing__header { margin-bottom: 24px; }
.ss-listing__title { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 12px 0 8px; letter-spacing: -0.03em; }
.ss-listing__desc { color: var(--ss-muted); max-width: 70ch; }
.ss-listing__search { margin-top: 12px; }
.ss-listing__lead { margin-bottom: 32px; }
.ss-listing__lead .ss-hero__link { min-height: 440px; }
.ss-tags--subnav { margin-top: 14px; }

.navigation.pagination { margin: 48px 0 0; }
.nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers {
	min-width: 42px; height: 42px; padding: 0 10px; display: inline-grid; place-items: center;
	border-radius: 6px; background: var(--ss-soft); font-weight: 700; color: var(--ss-ink);
}
.page-numbers.current, .page-numbers:hover { background: var(--ss-lime); color: var(--ss-lime-ink); }
.page-numbers.prev .ss-icon { transform: rotate(180deg); }

.ss-empty, .ss-404 { padding-block: 48px; }
.ss-404 p { color: var(--ss-muted); font-size: 18px; }

/* Builder pages */
.ss-page--builder { width: 100%; }

/* Footer ----------------------------------------------------------------------- */
.ss-footer { background: var(--ss-navy); color: rgba(255,255,255,.78); margin-top: 72px; padding: 44px 0 28px; font-size: 14px; }
.ss-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px; }
.ss-footer .ss-logo__text { font-size: 28px; }
.ss-footer .ss-logo__bars i { height: 24px; width: 7px; }
.ss-footer__tagline { margin: 10px 0 0; max-width: 36ch; }
.ss-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.ss-footer__menu a { color: var(--ss-white); font-weight: 500; font-size: 15px; }
.ss-footer a:hover { color: var(--ss-lime); }
.ss-footer__widgets { min-width: 220px; }
.ss-footer .widget-title { color: var(--ss-white); font-size: 16px; }
.ss-footer__bottom {
	margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
	display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center;
}
.ss-footer__bottom p { margin: 0; }
.ss-footer__notice { flex-basis: 100%; }
.ss-footer__top-link { margin-left: auto; color: var(--ss-white); font-weight: 600; }

/* Toast */
.ss-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
	background: var(--ss-navy); color: var(--ss-white); padding: 10px 18px; border-radius: 999px;
	font-weight: 600; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 200;
	border-left: 4px solid var(--ss-lime);
}

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 1280px) {
	.ss-home-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
	.ss-trending { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--ss-line); padding-top: 20px; }
	.ss-trending__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }
	.ss-trending__item:last-child { border-bottom: 1px solid var(--ss-line); }
	.ss-home-main { grid-template-columns: minmax(0, 1fr) 290px; gap: 24px 36px; }
	.ss-home-main .ss-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-nav__list > li > a { padding: 0 12px; }
}

@media (max-width: 900px) {
	:root { --ss-header-h: 64px; }
	.ss-header__inner { gap: 12px; }
	.ss-header__brand { flex: 1; }
	.ss-logo__text { font-size: 28px; }
	.ss-logo__bars i { height: 24px; width: 7px; }
	.ss-header__menu-btn { display: inline-grid; order: 3; }
	.ss-header__search-btn { order: 2; }
	.ss-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--ss-navy); display: none; border-top: 1px solid rgba(255,255,255,.08);
		max-height: calc(100vh - var(--ss-header-h)); overflow-y: auto;
	}
	.ss-nav.is-open { display: block; }
	.ss-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
	.ss-nav__list > li > a { height: auto; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); justify-content: space-between; }
	.ss-nav__list > li > a::after { display: none; }
	.ss-nav__list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
		background: transparent; display: none; padding: 0 0 8px 12px;
	}
	.ss-nav__list li.is-open > .sub-menu { display: block; }
	.ss-nav__list li.is-open > a .ss-icon { transform: rotate(180deg); }

	.ss-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-home-main { grid-template-columns: 1fr; }
	.ss-home-main__aside { order: 2; }
	.ss-explore--dark .ss-explore__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }

	.ss-article-grid { grid-template-columns: 1fr; }
	.ss-post { border-right: 0; padding-right: 0; }
	.ss-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ss-sidebar .ss-ad { display: none; }
	.ss-related, .ss-comments { max-width: none; }
	.ss-content .alignwide { margin-inline: 0; }
}

@media (max-width: 760px) {
	.ss-container { padding-inline: 16px; }
	.ss-home-top { grid-template-columns: 1fr; padding-top: 16px; }
	.ss-hero__link { min-height: 420px; }
	.ss-hero__body { padding: 20px; gap: 10px; }
	.ss-hero__dek { font-size: 16px; }
	.ss-side { grid-template-columns: 40% 1fr; gap: 14px; }
	.ss-side__title { font-size: 18px; }
	.ss-side__body { padding-top: 0; }
	.ss-section-title { font-size: 26px; }
	.ss-trending__title { font-size: 26px; }
	.ss-ad--banner { margin-inline: 0; }
	.ss-home-main .ss-grid--4,
	.ss-grid--4, .ss-grid--3 { grid-template-columns: 1fr; }
	.ss-card__title { font-size: 20px; }
	.ss-sidebar { grid-template-columns: 1fr; }
	.ss-post__dek { font-size: 18px; }
	.ss-content { font-size: 17px; }
	.ss-content blockquote, .ss-content .wp-block-quote, .ss-content .wp-block-pullquote { padding: 52px 18px 16px; }
	.ss-content blockquote::before, .ss-content .wp-block-pullquote::before { font-size: 70px; left: 16px; top: -4px; }
	.ss-crumbs [aria-current] { max-width: 24ch; }
	.ss-section-head { flex-wrap: wrap; }
	.ss-footer__top-link { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Generic sidebar widgets */
.ss-sidebar__widgets .widget { margin-bottom: 24px; }
.ss-sidebar__widgets .widget-title, .ss-sidebar__widgets h2 { font-size: 20px; font-weight: 800; padding-left: 14px; border-left: 5px solid var(--ss-lime); }
.ss-sidebar__widgets ul { list-style: none; padding: 0; margin: 0; }
.ss-sidebar__widgets li { padding: 8px 0; border-bottom: 1px solid var(--ss-line); font-size: 15px; }
.ss-sidebar__widgets li a:hover { color: var(--ss-green); }

@media (min-width: 761px) {
	.ss-post__byline { flex-wrap: nowrap; }
	.ss-post__meta { gap: 8px 10px; }
	.ss-share { gap: 6px; flex: none; }
	.ss-share__btn { width: 34px; height: 34px; }
}
