/*
Theme Name: SABANG BAR PVP
Theme URI: https://smithriverfishing.com/
Author: SABANG BAR PVP
Description: Tema kustom SABANG BAR PVP — Singgah Sejenak, Jelajahi Dunia Game. Layout katalog dengan grid genre, sidebar filter, glosarium istilah gaming, SEO (robots, canonical, schema JSON-LD) dan halaman About & Policy otomatis.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sabang-bar-pvp
Tags: custom-logo, custom-menu, featured-images, two-columns, right-sidebar, blog, entertainment
*/

/* ==========================================================================
   Design tokens — diambil dari logo & favicon SABANG BAR PVP
   ========================================================================== */
:root {
	--abyss: #021219;
	--navy: #04232f;
	--deep: #06303f;
	--teal: #0f5c70;
	--sea: #17b2d4;
	--foam: #a4dfea;
	--beacon: #d83232;
	--beacon-dark: #b02525;
	--lamp: #e0b341;
	--ink: #0e1e26;
	--muted: #5b6b73;
	--line: #e1e9ec;
	--mist: #eef4f6;
	--paper: #ffffff;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 14px 34px -16px rgba(4, 35, 47, 0.35);
	--font-head: "Chakra Petch", "Plus Jakarta Sans", system-ui, sans-serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1200px;
	--gutter: 20px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--beacon); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	line-height: 1.2;
	color: var(--ink);
	margin: 0 0 .6em;
	font-weight: 700;
	letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text,
.sr-only {
	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 {
	position: fixed; top: 10px; left: 10px; z-index: 1000;
	width: auto; height: auto; clip: auto;
	background: var(--paper); color: var(--ink);
	padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.icon { width: 1em; height: 1em; flex: none; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
	background: var(--abyss);
	color: var(--foam);
	font-size: 13px;
}
.topbar .container {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; min-height: 38px;
}
.topbar__slogan { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar__slogan .spark { color: var(--sea); width: 12px; height: 12px; }

.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a {
	display: grid; place-items: center;
	width: 28px; height: 28px; border-radius: 50%;
	color: var(--foam);
	transition: background .2s, color .2s;
}
.social a:hover { background: var(--teal); color: #fff; }
.social .icon { width: 15px; height: 15px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--navy);
	color: #fff;
}
.site-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: 84px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 64px; width: auto; }
.brand .custom-logo { height: 64px; width: auto; }

.main-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; justify-content: center; gap: 6px;
}
.main-nav a {
	position: relative;
	display: block;
	padding: 10px 14px;
	color: #e6f4f8;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.main-nav a::after {
	content: "";
	position: absolute; left: 14px; right: 14px; bottom: 4px;
	height: 2px; border-radius: 2px;
	background: var(--sea);
	transform: scaleX(0); transform-origin: left;
	transition: transform .25s;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
	display: inline-grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 0; background: transparent;
	color: #e6f4f8; cursor: pointer;
	transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--deep); color: #fff; }
.icon-btn .icon { width: 20px; height: 20px; }
.btn-discord {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 16px; border-radius: 999px;
	background: var(--beacon); color: #fff;
	font-weight: 700; font-size: 14px;
	transition: background .2s, transform .2s;
}
.btn-discord:hover { background: var(--beacon-dark); color: #fff; transform: translateY(-1px); }
.btn-discord .icon { width: 18px; height: 18px; }
.menu-toggle { display: none; }

.header-wave {
	display: block; width: 100%; height: 16px;
	position: absolute; left: 0; bottom: -15px;
	pointer-events: none;
}

/* Search panel */
.search-panel {
	background: var(--deep);
	border-top: 1px solid rgba(164, 223, 234, .12);
	padding: 18px 0 30px;
}
.search-panel[hidden] { display: none; }

.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
	flex: 1; min-width: 0;
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: #fff; color: var(--ink);
}
.search-form button {
	padding: 12px 20px; border: 0; border-radius: var(--radius-sm);
	background: var(--navy); color: #fff; font-weight: 700; cursor: pointer;
}
.search-panel .search-form button { background: var(--beacon); }
.search-form button .icon { width: 18px; height: 18px; }
.layout > * { min-width: 0; }

/* ==========================================================================
   Page head (breadcrumb + title) — mengikuti referensi
   ========================================================================== */
.page-head {
	text-align: center;
	padding: 52px 0 22px;
	background:
		radial-gradient(60% 120% at 50% -40%, rgba(23, 178, 212, .12), transparent 70%),
		var(--paper);
}
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb ol { list-style: none; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "»"; margin-right: 6px; color: #9fb0b7; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--beacon); }
.page-title {
	font-size: clamp(30px, 4.4vw, 46px);
	margin: 0;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.page-title .eyebrow {
	display: block;
	font-size: 13px;
	letter-spacing: .32em;
	color: var(--beacon);
	margin-bottom: 8px;
}
.page-intro {
	max-width: 680px; margin: 14px auto 0;
	color: var(--muted);
}

/* ==========================================================================
   Catalog layout (konten + sidebar kanan)
   ========================================================================== */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 36px;
	padding-top: 24px;
	padding-bottom: 64px;
}
.toolbar {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; margin-bottom: 18px;
	font-size: 14px; color: var(--muted);
}
.toolbar p { margin: 0; }
.filter-toggle {
	display: none;
	align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: var(--radius-sm);
	border: 1px solid var(--line); background: #fff; cursor: pointer;
	font-weight: 600; color: var(--ink);
}
.filter-toggle .icon { width: 16px; height: 16px; }

.grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 22px;
}

/* Genre card */
.card {
	position: relative;
	text-align: center;
}
.card[hidden] { display: none; }
.card__media {
	position: relative;
	display: grid; place-items: center;
	aspect-ratio: 1 / 1.05;
	background: var(--mist);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card__media::before {
	content: "";
	position: absolute; inset: auto -20% -45% -20%;
	height: 70%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(23, 178, 212, .18), transparent 70%);
}
.card__media svg { width: 56%; position: relative; transition: transform .35s; }
.card__badge {
	position: absolute; top: 12px; left: 12px;
	padding: 3px 10px; border-radius: 999px;
	font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	color: #fff; background: var(--teal);
}
.card__badge--multiplayer { background: var(--beacon); }
.card__badge--coop { background: var(--lamp); color: var(--ink); }
.card__time {
	position: absolute; right: 12px; bottom: 12px;
	display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 9px; border-radius: 999px;
	font-size: 12px; font-weight: 600;
	background: rgba(255, 255, 255, .85); color: var(--teal);
}
.card__time .icon { width: 13px; height: 13px; }
.card__title {
	font-size: 18px; margin: 14px 0 2px;
	text-transform: uppercase; letter-spacing: .03em;
}
.card__meta { margin: 0; font-size: 14px; color: var(--muted); }
.card__link {
	position: absolute; inset: 0; z-index: 2;
	border: 0; background: transparent; cursor: pointer;
	border-radius: var(--radius);
}
.card:hover .card__media { border-color: var(--sea); box-shadow: var(--shadow); transform: translateY(-3px); }
.card:hover .card__media svg { transform: scale(1.06) rotate(-2deg); }
.card:hover .card__title { color: var(--teal); }

.empty-state {
	grid-column: 1 / -1;
	text-align: center; padding: 48px 20px;
	border: 1px dashed var(--line); border-radius: var(--radius);
	color: var(--muted);
}
.empty-state[hidden] { display: none; }

/* Pagination */
.pagination,
.nav-links {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
	margin-top: 36px;
}
.pagination button,
.nav-links .page-numbers {
	min-width: 40px; height: 40px; padding: 0 12px;
	display: inline-grid; place-items: center;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line); background: #fff; color: var(--ink);
	font-weight: 700; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.pagination button:hover,
.nav-links a.page-numbers:hover { border-color: var(--sea); color: var(--teal); }
.pagination button[aria-current="page"],
.nav-links .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }

/* ==========================================================================
   Sidebar widgets
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.widget {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 18px 20px;
}
.widget__title {
	font-size: 16px; margin: 0 0 12px;
	text-transform: uppercase; letter-spacing: .05em;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.opt-list li + li { margin-top: 4px; }
.opt {
	display: flex; align-items: center; gap: 10px;
	padding: 5px 0;
	font-size: 14px; color: #3c4c54; cursor: pointer;
}
.opt input {
	appearance: none; -webkit-appearance: none;
	width: 16px; height: 16px; margin: 0;
	border: 1.5px solid #b9c7cd; background: #fff;
	display: grid; place-items: center; flex: none;
	cursor: pointer;
}
.opt input[type="radio"] { border-radius: 50%; }
.opt input[type="checkbox"] { border-radius: 4px; }
.opt input::after { content: ""; width: 8px; height: 8px; border-radius: inherit; background: var(--sea); transform: scale(0); transition: transform .15s; }
.opt input[type="checkbox"]::after { border-radius: 2px; }
.opt input:checked { border-color: var(--sea); }
.opt input:checked::after { transform: scale(1); }
.opt:hover { color: var(--ink); }
.opt .count { margin-left: auto; color: #95a6ad; font-size: 13px; }
.opt .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* Dual range slider */
.range { position: relative; height: 26px; margin: 6px 4px 6px; }
.range__track, .range__fill {
	position: absolute; top: 11px; height: 4px; border-radius: 4px;
}
.range__track { left: 0; right: 0; background: var(--line); }
.range__fill { background: var(--teal); }
.range input[type="range"] {
	position: absolute; left: -4px; right: -4px; top: 0;
	width: calc(100% + 8px); height: 26px; margin: 0;
	background: none; pointer-events: none;
	-webkit-appearance: none; appearance: none;
}
.range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--teal); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--teal);
	cursor: grab;
}
.range input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--teal); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--teal);
	cursor: grab;
}
.range input[type="range"]::-webkit-slider-runnable-track { background: none; }
.range input[type="range"]::-moz-range-track { background: none; }
.range-label { font-size: 14px; color: #3c4c54; margin: 6px 0 12px; }
.range-label strong { color: var(--ink); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 20px; border-radius: var(--radius-sm);
	border: 0; cursor: pointer;
	font-weight: 700; font-size: 14px;
	background: var(--navy); color: #fff;
	transition: background .2s, transform .2s, color .2s;
}
.btn:hover { background: var(--teal); color: #fff; transform: translateY(-1px); }
.btn--red { background: var(--beacon); }
.btn--red:hover { background: var(--beacon-dark); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--foam); color: var(--navy); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn-reset {
	border: 0; background: none; padding: 0; margin-left: 10px;
	font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer;
}

.widget--cta {
	background: linear-gradient(160deg, var(--deep), var(--navy) 60%, var(--abyss));
	border: 0; color: #d7eef4; text-align: center;
	position: relative; overflow: hidden;
}
.widget--cta::before {
	content: ""; position: absolute; top: -40px; left: 50%; width: 360px; height: 160px;
	transform: translateX(-50%);
	background: radial-gradient(50% 50% at 50% 50%, rgba(164, 223, 234, .22), transparent 70%);
}
.widget--cta img { width: 72px; height: 72px; margin: 0 auto 10px; position: relative; }
.widget--cta .widget__title { color: #fff; }
.widget--cta p { font-size: 14px; margin-bottom: 14px; position: relative; }

.link-list li { border-bottom: 1px dashed var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 9px 0; font-size: 14px; color: #3c4c54;
}
.link-list a:hover, .link-list .is-current a { color: var(--beacon); }
.link-list .icon { width: 14px; height: 14px; color: #9fb0b7; }

.drawer-head, .drawer-done, .drawer-backdrop { display: none; }

/* ==========================================================================
   Sections (front page)
   ========================================================================== */
.section { padding: 72px 0; }
.section--mist { background: var(--mist); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 38px; }
.section-head .kicker {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
	color: var(--beacon); margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); text-transform: uppercase; }
.section-head p { color: var(--muted); margin: 0; }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mode-card {
	border-radius: var(--radius);
	padding: 28px 26px;
	background: #fff; border: 1px solid var(--line);
	position: relative; overflow: hidden;
}
.mode-card__icon {
	width: 52px; height: 52px; border-radius: 14px;
	display: grid; place-items: center;
	background: var(--mist); color: var(--teal); margin-bottom: 16px;
}
.mode-card__icon .icon { width: 26px; height: 26px; }
.mode-card h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.mode-card p { color: var(--muted); font-size: 15px; }
.mode-card ul { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.mode-card li { display: flex; gap: 8px; padding: 4px 0; }
.mode-card li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--sea); flex: none; }
.mode-card--featured { background: var(--navy); border-color: var(--navy); color: #d7eef4; }
.mode-card--featured h3 { color: #fff; }
.mode-card--featured p { color: #a9c6cf; }
.mode-card--featured .mode-card__icon { background: var(--beacon); color: #fff; }
.mode-card--featured li::before { background: var(--beacon); }
.mode-card--coop .mode-card__icon { background: #fbf1d6; color: #9a7413; }
.mode-card--coop li::before { background: var(--lamp); }

/* Glossary */
.glossary-tools {
	display: flex; justify-content: center; margin: -10px auto 30px; max-width: 480px;
}
.glossary-tools label { position: relative; width: 100%; }
.glossary-tools .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.glossary-tools input {
	width: 100%; padding: 12px 16px 12px 42px;
	border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.glossary-tools input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(23, 178, 212, .18); }
.glossary {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
	margin: 0;
}
.term {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 16px 18px;
	transition: border-color .2s, box-shadow .2s;
}
.term[hidden] { display: none; }
.term:hover { border-color: var(--sea); box-shadow: var(--shadow); }
.term dt {
	font-family: var(--font-head); font-weight: 700; font-size: 18px;
	color: var(--teal); margin-bottom: 4px;
}
.term dt small { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--muted); display: block; letter-spacing: .02em; }
.term dd { margin: 0; font-size: 14px; color: #3c4c54; line-height: 1.55; }
.term.is-flash { border-color: var(--beacon); box-shadow: 0 0 0 3px rgba(216, 50, 50, .15); }

/* Posts grid */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.section .post-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 370px)); justify-content: center; }
.layout .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--sea); }
.post-card__media { aspect-ratio: 16 / 10; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media .placeholder { width: 76px; height: 76px; opacity: .9; }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post-card__title { font-size: 19px; margin: 0; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--teal); }
.post-card__excerpt { font-size: 14px; color: var(--muted); margin: 0; }
.post-card__more { margin-top: auto; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.post-card__more .icon { width: 14px; height: 14px; }

/* CTA band */
.cta-band {
	position: relative; overflow: hidden;
	background: linear-gradient(120deg, var(--abyss), var(--navy) 45%, var(--deep));
	color: #d7eef4;
	padding: 64px 0;
}
.cta-band::before {
	content: ""; position: absolute; inset: 0;
	background:
		conic-gradient(from 250deg at 18% 40%, transparent 0deg, rgba(164, 223, 234, .14) 18deg, transparent 40deg),
		radial-gradient(40% 80% at 18% 40%, rgba(224, 179, 65, .10), transparent 70%);
	pointer-events: none;
}
.cta-band .container {
	position: relative;
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.cta-band img { width: 120px; height: 120px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 620px; color: #a9c6cf; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Genre detail dialog
   ========================================================================== */
.genre-dialog {
	width: min(720px, calc(100% - 32px));
	max-height: calc(100vh - 48px);
	padding: 0; border: 0; border-radius: 16px;
	box-shadow: 0 30px 80px -20px rgba(2, 18, 25, .6);
	color: var(--ink);
}
.genre-dialog::backdrop { background: rgba(2, 18, 25, .72); backdrop-filter: blur(3px); }
.genre-dialog__head {
	display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center;
	padding: 26px 28px;
	background: linear-gradient(135deg, var(--navy), var(--deep));
	color: #fff;
}
.genre-dialog__art { background: var(--mist); border-radius: 14px; padding: 14px; }
.genre-dialog__head h2 { color: #fff; font-size: 28px; margin: 0; text-transform: uppercase; }
.genre-dialog__head p { margin: 2px 0 10px; color: var(--foam); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chip {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 600;
	background: rgba(164, 223, 234, .14); color: #e6f4f8;
}
.chip .icon { width: 13px; height: 13px; }
.genre-dialog__body { padding: 24px 28px 28px; }
.genre-dialog__body h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin: 20px 0 8px; color: var(--teal); }
.genre-dialog__body ul { margin: 0; padding-left: 20px; }
.term-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.term-chip {
	padding: 6px 12px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--mist); color: var(--teal);
	font-size: 13px; font-weight: 700;
}
.term-chip:hover { border-color: var(--sea); background: #fff; }
.genre-dialog__close {
	position: absolute; top: 14px; right: 14px;
	width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center;
	border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
}
.genre-dialog__close:hover { background: var(--beacon); }
.genre-dialog__close .icon { width: 18px; height: 18px; }
.genre-detail { display: none; }

/* ==========================================================================
   Single page / post content
   ========================================================================== */
.entry {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(22px, 4vw, 44px);
}
.entry-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.entry-meta span { display: inline-flex; align-items: center; gap: 6px; }
.entry-meta .icon { width: 14px; height: 14px; }
.entry-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.entry-content { font-size: 17px; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; padding-left: 14px; border-left: 4px solid var(--beacon); }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; color: var(--teal); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
	margin: 1.5em 0; padding: 16px 22px;
	background: var(--mist); border-left: 4px solid var(--sea); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--mist); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-updated { margin-top: 28px; font-size: 13px; color: var(--muted); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.entry-tags a { padding: 4px 12px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 600; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.post-nav a {
	display: block; padding: 16px 18px;
	border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
	font-weight: 700; color: var(--ink);
}
.post-nav a:hover { border-color: var(--sea); color: var(--teal); }
.post-nav small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post-nav .next { text-align: right; }

/* Comments */
.comments-area { margin-top: 28px; }
.comments-area .entry { padding: 28px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-author .avatar { display: inline-block; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.comment-form .submit { padding: 11px 22px; border: 0; border-radius: var(--radius-sm); background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }

/* 404 */
.notfound { text-align: center; padding: 80px 0 100px; }
.notfound img { width: 140px; margin: 0 auto 18px; }
.notfound .code { font-family: var(--font-head); font-size: 88px; font-weight: 700; color: var(--beacon); line-height: 1; margin: 0 auto 6px; }
.notfound h1 { text-transform: uppercase; }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.notfound .search-form { max-width: 460px; margin: 0 auto 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	position: relative;
	background: var(--navy);
	color: #a9c6cf;
	margin-top: 0;
}
.footer-wave { position: absolute; top: -15px; left: 0; width: 100%; height: 16px; display: block; }
.footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px;
	padding-top: 64px;
	padding-bottom: 44px;
}
.footer-brand img.footer-logo { width: 260px; height: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; margin: 0; }
.footer-col h2 {
	color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .1em;
	margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 8px; }
.footer-col a { color: #a9c6cf; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: #fff; }
.footer-col .icon { width: 16px; height: 16px; color: var(--sea); }
.footer-bottom {
	background: var(--abyss);
	font-size: 13px;
}
.footer-bottom .container {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
	gap: 10px; min-height: 56px; padding-top: 10px; padding-bottom: 10px;
}
.footer-bottom p { margin: 0; }
.footer-bottom nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: #a9c6cf; }
.footer-bottom a:hover { color: #fff; }

.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 40;
	width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: var(--beacon); color: #fff; cursor: pointer;
	display: grid; place-items: center;
	box-shadow: var(--shadow);
	opacity: 0; transform: translateY(10px); pointer-events: none;
	transition: opacity .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top .icon { width: 20px; height: 20px; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.sticky .post-card { border-color: var(--lamp); }
.bypostauthor { }
.gallery-caption { }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.glossary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; min-height: 72px; }
	.brand img, .brand .custom-logo { height: 52px; }
	.menu-toggle { display: inline-grid; }
	.btn-discord span { display: none; }
	.btn-discord { padding: 10px; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--deep);
		border-top: 1px solid rgba(164, 223, 234, .12);
		display: none;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; }
	.main-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(164, 223, 234, .1); }
	.main-nav a::after { display: none; }
	.header-actions { grid-column: 3; }

	.layout { grid-template-columns: 1fr; gap: 24px; }
	.sidebar--static { order: 2; }
	#filters {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
		width: min(360px, 88vw);
		overflow-y: auto; overscroll-behavior: contain;
		background: var(--mist);
		padding: 0 16px 24px;
		gap: 14px;
		transform: translateX(105%);
		visibility: hidden;
		transition: transform .3s ease, visibility .3s;
	}
	#filters.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px -20px rgba(2, 18, 25, .5); }
	#filters .widget--cta { display: none; }
	.drawer-head {
		display: flex; align-items: center; justify-content: space-between;
		position: sticky; top: 0; z-index: 2;
		margin: 0 -16px; padding: 12px 10px 12px 18px;
		background: var(--navy); color: #fff;
		font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em;
	}
	.drawer-done { display: flex; width: 100%; padding: 13px; }
	.drawer-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(2, 18, 25, .55); }
	.filter-toggle { display: inline-flex; white-space: nowrap; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.modes { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cta-band .container { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.cta-band__actions { justify-content: center; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	.topbar__slogan { font-size: 12px; }
	.topbar .social { display: none; }
	.brand img, .brand .custom-logo { height: 44px; }
	.header-actions { gap: 2px; }
	.icon-btn { width: 38px; height: 38px; }
	.page-head { padding: 36px 0 14px; }
	.grid { gap: 18px 14px; }
	.card__title { font-size: 15px; }
	.card__meta { font-size: 12px; }
	.card__badge { top: 8px; left: 8px; font-size: 10px; padding: 2px 8px; }
	.card__time { right: 8px; bottom: 8px; font-size: 11px; }
	.toolbar { font-size: 13px; }
	.filter-toggle { padding: 8px 12px; font-size: 13px; }
	.glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.term { padding: 12px 14px; }
	.term dt { font-size: 16px; }
	.term dd { font-size: 13px; }
	.post-grid, .layout .post-grid { grid-template-columns: 1fr; }
	.section { padding: 52px 0; }
	.footer-main { grid-template-columns: 1fr; gap: 28px; padding-top: 52px; padding-bottom: 32px; }
	.footer-bottom .container { justify-content: center; text-align: center; }
	.post-nav { grid-template-columns: 1fr; }
	.genre-dialog__head { grid-template-columns: 72px 1fr; padding: 22px 20px; gap: 14px; }
	.genre-dialog__head h2 { font-size: 22px; }
	.genre-dialog__body { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Admin bar (saat login) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
