/*
Theme Name: GG's GameRoom
Theme URI: https://girlygamer.com.au/
Author: GG's GameRoom
Description: A warm, retro-inspired theme for GG's GameRoom. Cosy games, board games and making stuff. Homepage sections, stream schedule, links and categories are all editable in Appearance > Customize.
Version: 1.2.2
Requires at least: 6.0
Tested up to: 6.8
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: gg-gameroom
*/

/* ---------- Tokens ---------- */
:root {
	--gg-orange: #D9622B;
	--gg-orange-dark: #B4481A;
	--gg-mustard: #E8A33D;
	--gg-cream: #FBF3E6;
	--gg-sand: #F1E2C8;
	--gg-line: #EADBC2;
	--gg-teal: #2F6F73;
	--gg-sage: #9DBDB3;
	--gg-navy: #1E2230;
	--gg-ink: #2A211C;
	--gg-body: #4E4038;
	--gg-muted: #5C4E44;
	--gg-display: 'Lilita One', 'Arial Rounded MT Bold', sans-serif;
	--gg-sans: 'Figtree', 'Segoe UI', sans-serif;
	--gg-wrap: 1200px;
	--gg-radius: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--gg-cream);
	color: var(--gg-ink);
	font-family: var(--gg-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--gg-orange-dark); }
a:hover { color: #8A3410; }
h1, h2, h3, h4 { line-height: 1.15; }
:focus-visible { outline: 3px solid var(--gg-teal); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 12px 18px;
	background: var(--gg-ink); color: var(--gg-cream); border-radius: 8px;
}

.gg-wrap { max-width: var(--gg-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.gg-section { padding-top: 48px; padding-bottom: 48px; }
.gg-dotted {
	background-color: var(--gg-cream);
	background-image: radial-gradient(rgba(42,33,28,.09) 1.3px, transparent 1.6px);
	background-size: 20px 20px;
}
.gg-white { background: #fff; }

/* ---------- Bits & pieces ---------- */
.gg-stripes { display: flex; height: 10px; }
.gg-stripes span { flex: 1; }
.gg-stripes span:nth-child(1) { background: var(--gg-orange); }
.gg-stripes span:nth-child(2) { background: var(--gg-mustard); }
.gg-stripes span:nth-child(3) { background: var(--gg-sand); }
.gg-stripes span:nth-child(4) { background: var(--gg-teal); }
.gg-stripes span:nth-child(5) { background: var(--gg-sage); }

.gg-tag {
	display: inline-block;
	align-self: flex-start;
	transform: rotate(-2deg);
	background: var(--gg-ink);
	color: var(--gg-cream);
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.3;
}
.gg-tag--mustard { background: var(--gg-mustard); color: var(--gg-ink); }

.gg-kicker {
	font-size: 12px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: var(--gg-teal);
}

.gg-h2 {
	margin: 0;
	font-family: var(--gg-display);
	font-weight: 400;
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.05;
}

.gg-section-head {
	display: flex; flex-wrap: wrap; gap: 12px;
	justify-content: space-between; align-items: flex-end;
	margin-bottom: 32px;
}
.gg-section-head__text { display: flex; flex-direction: column; gap: 12px; }
.gg-section-head p { margin: 0; font-size: 18px; color: var(--gg-body); max-width: 680px; }
.gg-section-head a { font-weight: 700; }

.gg-sticker {
	border: 2px solid var(--gg-ink);
	box-shadow: 5px 5px 0 var(--gg-ink);
	border-radius: var(--gg-radius);
}
a.gg-sticker, .gg-card {
	transition: transform .15s ease, box-shadow .15s ease;
}
a.gg-sticker:hover, .gg-card:hover {
	transform: translate(-2px,-2px);
	box-shadow: 7px 7px 0 var(--gg-ink);
}

.gg-btn {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 44px; padding: 12px 24px;
	border-radius: 999px; border: 2px solid transparent;
	font-family: var(--gg-sans); font-weight: 700; font-size: 15px;
	text-decoration: none; cursor: pointer; line-height: 1.2;
}
.gg-btn svg { flex-shrink: 0; }
.gg-btn--primary { background: var(--gg-orange); color: #fff; }
.gg-btn--primary:hover { background: var(--gg-orange-dark); color: #fff; }
.gg-btn--ghost { background: transparent; color: var(--gg-ink); border-color: var(--gg-ink); }
.gg-btn--ghost:hover { background: var(--gg-ink); color: var(--gg-cream); }
.gg-btn--dark { background: var(--gg-ink); color: var(--gg-cream); }
.gg-btn--dark:hover { background: #000; color: #fff; }
.gg-btn--small { padding: 10px 20px; }

/* Header "Watch live" button in YouTube red. Extra specificity beats the menu link colours. */
.gg-nav a.gg-btn--live,
.gg-btn--live {
	background: #E00000; color: #fff;
	padding: 12px 28px; min-height: 46px; font-size: 16px; font-weight: 700;
	border: 0; box-shadow: 0 3px 0 #A30000;
}
.gg-nav a.gg-btn--live:hover,
.gg-nav a.gg-btn--live:focus-visible,
.gg-btn--live:hover { background: #C00000; color: #fff; }
.gg-btn--live svg { stroke: #fff; }

.gg-placeholder {
	background-color: var(--gg-sand);
	background-image: repeating-linear-gradient(135deg, rgba(217,98,43,.08) 0 14px, transparent 14px 28px);
}

/* ---------- Top strip ---------- */
.gg-topbar { background: var(--gg-navy); color: var(--gg-sand); font-size: 14px; }
.gg-topbar .gg-wrap {
	display: flex; flex-wrap: wrap; gap: 8px 16px;
	justify-content: space-between; align-items: center;
	padding-top: 10px; padding-bottom: 10px;
}
.gg-topbar__live { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.gg-topbar__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gg-mustard); flex-shrink: 0; }
.gg-social { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.gg-social a, .gg-footer a { color: var(--gg-sand); text-decoration: none; }
.gg-social a:hover, .gg-footer a:hover { color: var(--gg-mustard); }

/* ---------- Header ---------- */
.gg-header { background: var(--gg-cream); border-bottom: 1px solid var(--gg-line); position: relative; z-index: 20; }
.gg-header .gg-wrap {
	display: flex; flex-wrap: wrap; gap: 16px;
	align-items: center; justify-content: space-between;
	padding-top: 14px; padding-bottom: 14px;
}
.gg-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gg-ink); }
.gg-brand:hover { color: var(--gg-ink); }
.gg-brand__mark { display: flex; flex-direction: column; gap: 3px; width: 34px; }
.gg-brand__mark span { height: 6px; border-radius: 6px; }
.gg-brand__mark span:nth-child(1) { background: var(--gg-orange); }
.gg-brand__mark span:nth-child(2) { background: var(--gg-mustard); width: 80%; }
.gg-brand__mark span:nth-child(3) { background: var(--gg-teal); width: 60%; }
.gg-brand__name { font-family: var(--gg-display); font-size: 30px; line-height: 1; }
.gg-brand .custom-logo { max-height: 56px; width: auto; display: block; }

.gg-nav { display: flex; align-items: center; gap: 14px; }
.gg-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.gg-nav li { position: relative; }
.gg-nav a {
	display: inline-block; padding: 10px 2px;
	color: var(--gg-ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.gg-nav a:hover, .gg-nav .current-menu-item > a, .gg-nav .current-menu-ancestor > a { color: var(--gg-orange-dark); }
/* Simple dropdowns for child items */
.gg-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: -14px; min-width: 220px;
	flex-direction: column; align-items: stretch; gap: 0;
	background: #fff; border: 2px solid var(--gg-ink); border-radius: 14px;
	box-shadow: 5px 5px 0 var(--gg-ink); padding: 8px; z-index: 30;
}
.gg-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; }
.gg-nav .sub-menu a:hover { background: var(--gg-cream); }
.gg-nav li:hover > .sub-menu, .gg-nav li:focus-within > .sub-menu { display: flex; }

.gg-menu-toggle {
	display: none; align-items: center; gap: 8px;
	min-height: 44px; padding: 8px 14px;
	background: #fff; color: var(--gg-ink);
	border: 2px solid var(--gg-ink); border-radius: 12px;
	font: 700 15px var(--gg-sans); cursor: pointer;
}

@media (max-width: 900px) {
	.gg-menu-toggle { display: inline-flex; }
	.gg-nav { width: 100%; flex-direction: column; align-items: stretch; display: none; }
	.gg-nav.is-open { display: flex; }
	.gg-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.gg-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--gg-line); }
	.gg-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: transparent; }
	.gg-nav .gg-btn { justify-content: center; margin-top: 12px; }
}

@media (max-width: 520px) {
	.gg-brand__name { font-size: 24px; }
	.gg-brand__mark { width: 26px; }
	.gg-topbar .gg-social { display: none; }
}

/* ---------- Hero ---------- */
.gg-banner { padding-top: 24px; }
.gg-banner img {
	display: block; width: 100%; height: auto;
	border-radius: var(--gg-radius);
	box-shadow: 0 14px 34px rgba(42,33,28,.14);
}
.gg-hero .gg-wrap {
	display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
	padding-top: 28px; padding-bottom: 40px;
}
.gg-hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gg-hero__title {
	margin: 0; font-family: var(--gg-display); font-weight: 400;
	font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08;
}
.gg-hero__title span { color: var(--gg-orange); }
.gg-hero__intro { margin: 0; font-size: 17px; color: var(--gg-body); max-width: 640px; }
.gg-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.gg-next {
	flex: 1 1 340px; min-width: 0; max-width: 420px;
	background: var(--gg-navy); color: var(--gg-cream);
	border-radius: 20px; padding: 18px 22px;
	display: flex; align-items: center; gap: 16px;
	box-shadow: 0 12px 28px rgba(30,34,48,.25);
}
.gg-next__day {
	background: var(--gg-orange); border-radius: 14px;
	width: 60px; height: 60px; flex-shrink: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gg-next__dow { font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.gg-next__time { font-family: var(--gg-display); font-size: 21px; line-height: 1; }
.gg-next__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.gg-next__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gg-mustard); }
.gg-next__title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.gg-next a { color: var(--gg-cream); font-weight: 700; font-size: 14px; white-space: nowrap; }
.gg-next a:hover { color: var(--gg-mustard); }

/* ---------- Post cards ---------- */
.gg-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.gg-card {
	display: flex; flex-direction: column; min-width: 0;
	background: var(--gg-cream); color: inherit; text-decoration: none;
	overflow: hidden;
}
.gg-card:hover { color: inherit; }
.gg-white .gg-card { background: var(--gg-cream); }
.gg-dotted .gg-card { background: #fff; }
/* Her artwork is square, so cards show it whole everywhere. */
.gg-card__media { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 2px solid var(--gg-ink); }
.gg-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.gg-card__title { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.3; font-family: var(--gg-sans); }
.gg-card__excerpt { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gg-muted); }
.gg-card__date { font-size: 13px; color: var(--gg-muted); }

/* Category, tag and search pages: her artwork is square, so show it whole. */
.gg-grid--archive .gg-card__media { aspect-ratio: 1 / 1; }

.gg-card--featured { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
.gg-card--featured .gg-card__media { flex: 0 1 460px; min-width: 0; width: 100%; max-width: 460px; border-bottom: 0; }
.gg-card--featured .gg-card__body { flex: 1 1 320px; padding: 36px 40px; gap: 14px; justify-content: center; }
.gg-card--featured .gg-card__title { font-family: var(--gg-display); font-weight: 400; font-size: clamp(28px, 3vw, 34px); line-height: 1.08; }
.gg-card--featured .gg-card__excerpt { font-size: 17px; line-height: 1.6; color: var(--gg-body); }
.gg-pill {
	align-self: flex-start; background: var(--gg-teal); color: #fff;
	border-radius: 999px; padding: 6px 12px;
	font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.gg-readmore { font-weight: 700; color: var(--gg-orange-dark); }
@media (min-width: 900px) {
	.gg-card--featured .gg-card__media { border-right: 2px solid var(--gg-ink); }
}
@media (max-width: 899px) {
	.gg-card--featured .gg-card__media { border-bottom: 2px solid var(--gg-ink); max-width: none; flex-basis: 100%; }
}

/* ---------- Pillars ---------- */
.gg-pillars { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.gg-pillar {
	display: flex; gap: 18px; align-items: flex-start;
	background: #fff; padding: 24px; color: inherit; text-decoration: none;
}
.gg-pillar:hover { color: inherit; }
.gg-pillar__icon {
	width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
}
.gg-pillar__title { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.gg-pillar__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--gg-muted); }
.gg-pillar:nth-child(6n+1) .gg-pillar__icon { background: var(--gg-orange); color: #fff; }
.gg-pillar:nth-child(6n+2) .gg-pillar__icon { background: var(--gg-mustard); color: var(--gg-ink); }
.gg-pillar:nth-child(6n+3) .gg-pillar__icon { background: var(--gg-teal); color: #fff; }
.gg-pillar:nth-child(6n+4) .gg-pillar__icon { background: var(--gg-sage); color: var(--gg-navy); }
.gg-pillar:nth-child(6n+5) .gg-pillar__icon { background: var(--gg-navy); color: var(--gg-cream); }
.gg-pillar:nth-child(6n+6) .gg-pillar__icon { background: #F3C7B0; color: #8A3410; }

/* ---------- Maker corner ---------- */
.gg-maker { background: var(--gg-navy); color: var(--gg-cream); }
.gg-maker .gg-section-head a { color: var(--gg-mustard); }
.gg-maker__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.gg-maker__item { display: flex; flex-direction: column; gap: 14px; color: var(--gg-cream); text-decoration: none; transition: transform .15s ease; }
.gg-maker__item:hover { color: var(--gg-mustard); transform: translateY(-3px); }
.gg-maker__img {
	display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: 20px; border: 4px solid var(--gg-cream);
}
.gg-maker__title { font-size: 17px; font-weight: 700; line-height: 1.35; }

/* ---------- Bingo + work with me ---------- */
.gg-duo { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.gg-panel { border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.gg-panel p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 440px; }
.gg-panel--bingo { background: var(--gg-mustard); color: var(--gg-ink); }
.gg-panel--bingo .gg-h2 { max-width: 380px; font-size: clamp(32px, 3.4vw, 40px); }
.gg-panel--work { background: #fff; }
.gg-panel--work .gg-h2 { font-size: clamp(32px, 3.4vw, 40px); }
.gg-panel--work p { color: var(--gg-body); }
.gg-bingo-deco {
	position: absolute; right: -20px; bottom: -20px; opacity: .35;
	display: grid; grid-template-columns: repeat(3, 44px); gap: 8px; pointer-events: none;
}
.gg-bingo-deco span { height: 44px; border-radius: 10px; background: #fff; }
.gg-bingo-deco span:nth-child(even) { background: var(--gg-ink); }
.gg-panel__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; position: relative; }
.gg-badge-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--gg-line); }
.gg-badge {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--gg-cream); border: 1px solid var(--gg-line); border-radius: 999px;
	padding: 10px 18px 10px 12px; font-size: 15px; font-weight: 600;
}
.gg-badge__star { width: 28px; height: 28px; border-radius: 50%; background: var(--gg-mustard); display: inline-flex; align-items: center; justify-content: center; }
.gg-badge img { max-height: 40px; width: auto; display: block; }

/* ---------- Archive / listing ---------- */
.gg-archive-head { padding-top: 40px; padding-bottom: 8px; }
.gg-archive-head h1 { margin: 12px 0 0; font-family: var(--gg-display); font-weight: 400; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; }
.gg-archive-head .gg-archive-desc { margin-top: 10px; color: var(--gg-body); max-width: 720px; }
.gg-archive-head .gg-archive-desc p { margin: 0; }

.navigation.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 2px solid var(--gg-ink); border-radius: 12px;
	background: #fff; color: var(--gg-ink); text-decoration: none; font-weight: 700;
}
.pagination .page-numbers.current { background: var(--gg-ink); color: var(--gg-cream); }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }
.pagination a.page-numbers:hover { background: var(--gg-mustard); }

.gg-empty { background: #fff; padding: 40px; text-align: center; }

/* ---------- Search form ---------- */
.gg-search { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; }
.gg-search label { flex: 1 1 240px; }
.gg-search input[type="search"] {
	width: 100%; min-height: 48px; padding: 10px 16px;
	border: 2px solid var(--gg-ink); border-radius: 12px; background: #fff;
	font: 16px var(--gg-sans); color: var(--gg-ink);
}

/* ---------- Single post / page ---------- */
.gg-article { padding-top: 40px; padding-bottom: 56px; }
.gg-article__head { max-width: 860px; margin: 0 auto; text-align: left; }
.gg-article__head.has-image { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.gg-article__head.has-image .gg-article__intro { flex: 1 1 380px; min-width: 0; }
.gg-article__head.has-image .gg-article__title { font-size: clamp(32px, 4.2vw, 48px); }
.gg-article__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.gg-article__cats a { text-decoration: none; }
.gg-article__cats a:hover { background: var(--gg-teal); color: #fff; filter: brightness(1.1); }
.gg-article__title { margin: 16px 0 10px; font-family: var(--gg-display); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.04; }
.gg-article__meta { color: var(--gg-muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.gg-article__hero { flex: 0 1 340px; margin: 0; width: 100%; max-width: 340px; }
.gg-article__hero img {
	display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover;
	border-radius: var(--gg-radius); border: 2px solid var(--gg-ink); box-shadow: 5px 5px 0 var(--gg-ink);
	transform: rotate(1.5deg);
}
@media (max-width: 760px) {
	.gg-article__head.has-image { flex-direction: column-reverse; align-items: stretch; }
	.gg-article__hero { max-width: 300px; }
	.gg-article__hero img { transform: none; }
}
.gg-wide-content { margin-top: 32px; }

.gg-prose {
	max-width: 860px; margin: 36px auto 0;
	background: #fff; border: 2px solid var(--gg-ink); border-radius: 28px;
	padding: clamp(24px, 5vw, 56px);
	font-size: 18px; line-height: 1.75; color: var(--gg-ink);
}
.gg-prose > *:first-child { margin-top: 0; }
.gg-prose > *:last-child { margin-bottom: 0; }
.gg-prose h2, .gg-prose h3, .gg-prose h4 { font-family: var(--gg-display); font-weight: 400; margin: 1.6em 0 .5em; }
.gg-prose h2 { font-size: 32px; }
.gg-prose h3 { font-size: 26px; }
.gg-prose h4 { font-size: 21px; }
.gg-prose p, .gg-prose ul, .gg-prose ol { margin: 0 0 1.2em; }
.gg-prose img, .gg-prose .wp-block-image img { border-radius: 16px; }
.gg-prose figure { margin: 1.6em 0; }
.gg-prose figcaption, .gg-prose .wp-caption-text { font-size: 14px; color: var(--gg-muted); text-align: center; margin-top: 8px; }
.gg-prose blockquote {
	margin: 1.6em 0; padding: 18px 24px;
	background: var(--gg-cream); border-radius: 16px;
	border: 2px solid var(--gg-ink); font-size: 19px;
}
.gg-prose blockquote p:last-child { margin-bottom: 0; }
.gg-prose iframe, .gg-prose .wp-block-embed iframe { border-radius: 16px; }
.gg-prose .wp-block-embed__wrapper { position: relative; }
.gg-prose pre { background: var(--gg-navy); color: var(--gg-cream); padding: 18px; border-radius: 14px; overflow-x: auto; font-size: 15px; }
.gg-prose table { border-collapse: collapse; width: 100%; font-size: 16px; display: block; overflow-x: auto; }
.gg-prose th, .gg-prose td { border: 1px solid var(--gg-line); padding: 8px 12px; text-align: left; }
.gg-prose hr, .gg-prose hr.wp-block-separator { border: 0; width: 100%; max-width: 100%; height: 10px; border-radius: 10px; margin: 2em 0; background: linear-gradient(90deg, var(--gg-orange) 0 20%, var(--gg-mustard) 20% 40%, var(--gg-sand) 40% 60%, var(--gg-teal) 60% 80%, var(--gg-sage) 80%); }
.gg-prose .wp-block-button__link { background: var(--gg-orange); color: #fff; border-radius: 999px; font-weight: 700; padding: 12px 24px; text-decoration: none; }
.gg-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.gg-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.gg-prose .aligncenter { margin-left: auto; margin-right: auto; display: block; }
/* Captions under centred images run the full width instead of squashing into a narrow column. */
.gg-prose .wp-block-image.aligncenter,
.gg-prose .wp-block-image .aligncenter,
.gg-prose figure.aligncenter { display: block; text-align: center; }
.gg-prose .wp-block-image figcaption,
.gg-prose .wp-block-image .aligncenter > figcaption,
.gg-prose .wp-block-image.aligncenter > figcaption { display: block; caption-side: initial; width: auto; max-width: 100%; }
.gg-prose .wp-block-image img { display: inline-block; }
.gg-prose .alignwide, .gg-prose .alignfull { max-width: 100%; }
.gg-prose::after { content: ""; display: table; clear: both; }
.wp-caption { max-width: 100%; }

.gg-article__foot { max-width: 860px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 20px; }
.gg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gg-tags a {
	background: #fff; border: 1px solid var(--gg-line); border-radius: 999px;
	padding: 6px 12px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--gg-ink);
}
.gg-tags a:hover { background: var(--gg-mustard); }
.gg-postnav { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.gg-postnav a { display: flex; flex-direction: column; gap: 4px; background: #fff; padding: 18px 20px; text-decoration: none; color: var(--gg-ink); }
.gg-postnav a span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gg-teal); }
.gg-postnav .gg-postnav__next { text-align: right; }

/* ---------- Comments ---------- */
.gg-comments { max-width: 860px; margin: 36px auto 0; background: #fff; border: 2px solid var(--gg-ink); border-radius: 28px; padding: clamp(24px, 5vw, 48px); }
.gg-comments h2, .gg-comments .comment-reply-title { font-family: var(--gg-display); font-weight: 400; font-size: 28px; margin: 0 0 16px; }
.gg-comments ol { list-style: none; margin: 0 0 24px; padding: 0; }
.gg-comments ol ol { padding-left: 24px; }
.gg-comments .comment-body { border-bottom: 1px solid var(--gg-line); padding: 16px 0; }
.gg-comments .comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.gg-comments .comment-metadata { font-size: 13px; }
.gg-comments .comment-metadata a { color: var(--gg-muted); }
.gg-comments textarea, .gg-comments input[type="text"], .gg-comments input[type="email"], .gg-comments input[type="url"] {
	width: 100%; padding: 10px 14px; border: 2px solid var(--gg-ink); border-radius: 12px; font: 16px var(--gg-sans);
}
.gg-comments label { display: block; font-weight: 600; margin-bottom: 4px; }
.gg-comments p { margin: 0 0 14px; }
.gg-comments .form-submit input {
	background: var(--gg-orange); color: #fff; border: 0; border-radius: 999px;
	padding: 12px 24px; font: 700 15px var(--gg-sans); cursor: pointer; min-height: 44px;
}
.gg-comments .form-submit input:hover { background: var(--gg-orange-dark); }
.gg-comments .comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- Footer ---------- */
.gg-footer { background: var(--gg-navy); color: var(--gg-sand); }
.gg-footer__grid {
	display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	padding-top: 48px; padding-bottom: 28px;
}
.gg-footer__col { display: flex; flex-direction: column; gap: 10px; }
.gg-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gg-footer__brand { font-family: var(--gg-display); font-size: 28px; color: var(--gg-cream); }
.gg-footer__col p { margin: 0; font-size: 15px; line-height: 1.6; }
.gg-footer__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gg-mustard); }
.gg-footer__bottom {
	border-top: 1px solid #343A4D; padding-top: 18px; padding-bottom: 28px;
	font-size: 13px; color: #C9BBA5;
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
}

/* ---------- Plugin friendliness ---------- */
.gg-prose .gg-stream-bingo, .gg-prose [class*="bingo"] { font-family: var(--gg-sans); }
