@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-Light.woff2") format("woff2");
	font-style: normal;
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-LightItalic.woff2") format("woff2");
	font-style: italic;
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-Regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-Italic.woff2") format("woff2");
	font-style: italic;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-Medium.woff2") format("woff2");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-MediumItalic.woff2") format("woff2");
	font-style: italic;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-SemiBold.woff2") format("woff2");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-SemiBoldItalic.woff2") format("woff2");
	font-style: italic;
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-Bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-BoldItalic.woff2") format("woff2");
	font-style: italic;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-ExtraBold.woff2") format("woff2");
	font-style: normal;
	font-weight: 800;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-ExtraBoldItalic.woff2") format("woff2");
	font-style: italic;
	font-weight: 800;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-Black.woff2") format("woff2");
	font-style: normal;
	font-weight: 900;
	font-display: swap;
}

@font-face {
	font-family: "Rubik";
	src: url("../fonts/Rubik-BlackItalic.woff2") format("woff2");
	font-style: italic;
	font-weight: 900;
	font-display: swap;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

:root {
	--alwiam-bg: #f5f1ec;
	--alwiam-surface: #ffffff;
	--alwiam-text: #111111;
	--alwiam-muted: #6e6a66;
	--alwiam-border: #d8d2cb;
	--alwiam-primary: #9e1821;
	--alwiam-primary-dark: #7f1219;
	--alwiam-accent: #d1b36d;
	--alwiam-success: #4d8b2e;
	--alwiam-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
	--alwiam-container: 1320px;
	--alwiam-gap: 24px;
	--alwiam-font: "Rubik", Tahoma, Arial, sans-serif;
	--alwiam-display: "Rubik", Tahoma, Arial, sans-serif;
}

body {
	margin: 0;
	font-family: var(--alwiam-font);
	background: var(--alwiam-bg);
	color: var(--alwiam-text);
	line-height: 1.9;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

a:hover {
	color: var(--alwiam-primary);
}

input,
button,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

.site-shell {
	width: min(calc(100% - 32px), var(--alwiam-container));
	margin: 0 auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link:focus {
	position: fixed;
	inset-inline-start: 16px;
	inset-block-start: 16px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	background: var(--alwiam-text);
	color: #fff;
	z-index: 9999;
	clip: auto;
}

.topbar {
	background: #e9e3db;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	gap: 16px;
}

.topbar-date {
	font-size: 0.9rem;
	color: #484440;
}

.topbar-socials,
.footer-socials {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.topbar-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--alwiam-primary);
	color: #fff;
}

.topbar-social-link:hover {
	background: var(--alwiam-text);
	color: #fff;
	transform: translateY(-1px);
}

.topbar-social-icon,
.topbar-social-icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.site-branding-wrap {
	background: var(--alwiam-bg);
	border-bottom: 1px solid var(--alwiam-border);
}

.site-branding-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 20px;
	padding: 22px 0;
}

.site-branding {
	text-align: center;
}

.site-title {
	font-family: var(--alwiam-display);
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	font-weight: 700;
	color: #111;
	letter-spacing: .02em;
	line-height: 1;
}

.site-logo .custom-logo {
	max-height: 110px;
	width: auto;
	margin-inline: auto;
}

.brand-side {
	display: flex;
	align-items: center;
	min-height: 44px;
}

.brand-side-right {
	justify-content: flex-start;
}

.brand-side-left {
	justify-content: flex-end;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	border: 1px solid var(--alwiam-border);
	background: var(--alwiam-surface);
	padding: 0 10px;
}

.nav-toggle-line {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--alwiam-text);
}

.weather-badge {
	gap: 8px;
	color: #534f4b;
	font-size: 0.95rem;
}

.weather-icon {
	font-size: 1rem;
}

.primary-nav {
	position: relative;
	border-bottom: 1px solid var(--alwiam-border);
	background: var(--alwiam-surface);
}

.nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 0;
	min-height: 58px;
}

.menu {
	list-style: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 18px;
	padding: 0;
	margin: 0;
}

.menu > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 58px;
	font-size: 1rem;
	font-weight: 500;
	color: #262321;
	position: relative;
}

.menu > li > a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	height: 2px;
	background: transparent;
	transition: background .2s ease;
}

.menu > li > a:hover::after,
.current-menu-item > a::after,
.current_page_item > a::after {
	background: var(--alwiam-primary);
}

.search-form {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--alwiam-border);
	background: #fff;
	min-width: 220px;
}

.search-field {
	border: 0;
	outline: 0;
	background: transparent;
	padding: 11px 14px;
	width: 100%;
}

.search-submit {
	border: 0;
	border-inline-start: 1px solid var(--alwiam-border);
	background: transparent;
	padding: 11px 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--alwiam-text);
}

.search-submit svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ticker-bar {
	background: var(--alwiam-surface);
	border-bottom: 1px solid var(--alwiam-border);
}

.ticker-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 18px;
	padding: 14px 0;
}

.ticker-label {
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap;
}

.ticker-content {
	overflow: hidden;
	position: relative;
}

.ticker-track {
	display: flex;
	align-items: center;
	gap: 32px;
	min-width: max-content;
	animation: alwiamTicker 30s linear infinite;
}

.ticker-content:hover .ticker-track {
	animation-play-state: paused;
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #3c3937;
	white-space: nowrap;
}

.ticker-item::before {
	content: "•";
	color: var(--alwiam-primary);
	font-size: 1.2rem;
	line-height: 1;
}

@keyframes alwiamTicker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-35%);
	}
}

.site-main {
	padding: 32px 0 48px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(250px, .95fr) minmax(250px, .95fr);
	grid-template-areas: "feature briefs opinion";
	gap: var(--alwiam-gap);
	align-items: start;
}

.hero-grid-feature {
	grid-area: feature;
}

.hero-grid-briefs {
	grid-area: briefs;
}

.hero-grid-opinion {
	grid-area: opinion;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #262321;
}

.section-title {
	margin: 0;
	font-size: 2rem;
	line-height: 1.2;
	font-weight: 700;
}

.hero-article,
.feature-band-card,
.category-panel,
.single-article,
.post-card,
.panel-featured {
	background: var(--alwiam-surface);
	box-shadow: var(--alwiam-shadow);
	border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-article-link,
.feature-band-link,
.post-card-link,
.panel-featured-link {
	display: block;
}

.hero-media,
.feature-band-image-wrap,
.post-card-image-wrap,
.panel-featured-image-wrap,
.single-featured-image {
	overflow: hidden;
	background: #ece7e1;
}

.hero-image,
.feature-band-image,
.post-card-image,
.panel-featured-image {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.hero-content,
.feature-band-content,
.post-card-content,
.panel-featured-content {
	padding: 18px 18px 22px;
}

.meta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.85rem;
	color: var(--alwiam-muted);
	margin-bottom: 12px;
}

.category-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	background: var(--alwiam-success);
	color: #fff;
	font-weight: 700;
	font-size: 0.77rem;
	line-height: 1;
}

.hero-title {
	margin: 0 0 14px;
	font-size: clamp(1.55rem, 3vw, 2.4rem);
	line-height: 1.35;
}

.hero-excerpt,
.feature-band-excerpt,
.post-card-excerpt {
	margin: 0;
	color: #4f4a45;
	font-size: 1rem;
}

.read-more-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 18px;
	padding: 10px 14px;
	border: 1px solid var(--alwiam-border);
	color: #4f4a45;
	font-size: .92rem;
}

.stacked-list,
.panel-list {
	display: grid;
	gap: 18px;
}

.compact-card,
.panel-list-item,
.mini-card {
	background: var(--alwiam-surface);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.compact-card-link {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 14px;
	padding: 10px;
	align-items: start;
}

.compact-card-thumb-wrap {
	overflow: hidden;
	background: #eee7e0;
}

.compact-card-thumb {
	width: 84px;
	height: 68px;
	object-fit: cover;
}

.compact-card-content {
	min-width: 0;
}

.compact-card-title,
.panel-list-title,
.mini-card-title {
	margin: 0 0 6px;
	font-size: 1rem;
	line-height: 1.55;
}

.stacked-list-compact .compact-card-link {
	grid-template-columns: 74px 1fr;
}

.stacked-list-compact .compact-card-thumb {
	width: 74px;
	height: 60px;
}

.sports-band {
	display: grid;
	grid-template-columns: minmax(260px, .9fr) minmax(0, 2.1fr);
	gap: var(--alwiam-gap);
	align-items: start;
	margin-top: 36px;
}

.sports-mini-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 16px;
}

.mini-card-link,
.panel-list-link {
	display: block;
	padding: 14px;
}

.feature-band-title {
	margin: 0 0 12px;
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	line-height: 1.45;
}

.category-panels {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--alwiam-gap);
	margin-top: 38px;
}

.category-panel {
	padding: 0;
}

.panel-featured-title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.55;
}

.archive-main .archive-header {
	margin-bottom: 24px;
	padding-bottom: 14px;
	border-bottom: 2px solid #262321;
}

.archive-title {
	margin: 0 0 10px;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.archive-description {
	color: var(--alwiam-muted);
	font-size: 1rem;
	max-width: 70ch;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.post-card-title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	line-height: 1.55;
}

.pagination {
	margin-top: 28px;
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--alwiam-border);
	background: #fff;
}

.nav-links .current {
	background: var(--alwiam-primary);
	color: #fff;
	border-color: var(--alwiam-primary);
}

.single-shell {
	max-width: 900px;
}

.single-article {
	padding: 28px;
}

.single-title {
	margin: 0 0 18px;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.35;
}

.single-content {
	font-size: 1.08rem;
	color: #282522;
}

.single-content > *:first-child {
	margin-top: 0;
}

.single-content img {
	margin: 28px auto;
}

.post-tags {
	margin-top: 30px;
}

.post-tags a {
	display: inline-flex;
	margin: 6px 6px 0 0;
	padding: 7px 12px;
	border: 1px solid var(--alwiam-border);
	background: #fff;
	font-size: .9rem;
}

.error-404 {
	background: #fff;
	padding: 28px;
	box-shadow: var(--alwiam-shadow);
	border: 1px solid rgba(0, 0, 0, 0.04);
}

.site-footer {
	margin-top: 32px;
	background: var(--alwiam-primary);
	color: #fff;
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr);
	gap: 42px;
	padding: 48px 0 34px;
}

.footer-brand {
	display: flex;
	align-items: flex-end;
}

.footer-logo {
	color: #fff;
	font-family: var(--alwiam-display);
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	font-weight: 700;
	line-height: 1;
}

.footer-logo .custom-logo {
	filter: brightness(0) invert(1);
	max-height: 90px;
	width: auto;
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.footer-widget-title {
	margin: 0 0 16px;
	font-size: 1.2rem;
	color: #fff;
}

.footer-links,
.footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.footer-links a,
.footer-widget a {
	color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover,
.footer-widget a:hover {
	color: #fff;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-meta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: .92rem;
}

.footer-socials .topbar-social-link {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff;
}

.footer-socials .topbar-social-link:hover {
	background: rgba(255, 255, 255, 0.12);
}

.placeholder-image {
	min-height: 180px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(209, 179, 109, 0.3)),
		repeating-linear-gradient(
			45deg,
			rgba(158, 24, 33, 0.07),
			rgba(158, 24, 33, 0.07) 12px,
			rgba(0, 0, 0, 0.03) 12px,
			rgba(0, 0, 0, 0.03) 24px
		);
}

.empty-state {
	background: #fff;
	padding: 24px;
	border: 1px solid var(--alwiam-border);
	color: #5b5753;
}

.wp-block-image,
.wp-block-gallery {
	margin-block: 24px;
}

.wp-block-quote {
	margin: 24px 0;
	padding: 16px 20px;
	border-inline-start: 4px solid var(--alwiam-primary);
	background: rgba(158, 24, 33, 0.04);
}

@media (max-width: 1200px) {
	.hero-grid {
		grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
		grid-template-areas:
			"feature feature"
			"briefs opinion";
	}

	.category-panels {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sports-mini-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex;
	}

	.nav-row {
		align-items: flex-start;
		flex-direction: column;
		padding: 12px 0 16px;
	}

	.primary-nav .menu {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border: 1px solid var(--alwiam-border);
	}

	.primary-nav.menu-open .menu {
		display: flex;
	}

	.menu > li > a {
		min-height: 0;
		padding: 14px 16px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	}

	.menu > li > a::after {
		display: none;
	}

	.search-form {
		width: 100%;
	}

	.site-branding-row {
		grid-template-columns: auto 1fr auto;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"feature"
			"briefs"
			"opinion";
	}

	.sports-band,
	.footer-top {
		grid-template-columns: 1fr;
	}

	.footer-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.category-panels,
	.posts-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.site-shell {
		width: min(calc(100% - 20px), var(--alwiam-container));
	}

	.topbar-inner,
	.footer-bottom,
	.site-branding-row {
		gap: 12px;
	}

	.topbar-inner,
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-branding-row {
		grid-template-columns: auto 1fr;
	}

	.brand-side-left {
		display: none;
	}

	.site-branding {
		text-align: right;
	}

	.ticker-inner {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.compact-card-link {
		grid-template-columns: 68px 1fr;
	}

	.compact-card-thumb {
		width: 68px;
		height: 56px;
	}

	.sports-mini-grid,
	.footer-columns {
		grid-template-columns: 1fr;
	}

	.single-article {
		padding: 20px;
	}
}
