/*
Theme Name:   Power Rankings Today
Theme URI:    https://powerrankingstoday.com/
Description:  Lightweight premium child theme for Astra (one self hosted font file, one stylesheet). Navy and gold design system, self hosted condensed headings, data first layouts for the Power Rankings Hub plugin.
Author:       Power Rankings Today
Template:     astra
Version:      1.1.1
Text Domain:  powerrankings-child
License:      GPL-2.0-or-later
*/

/* ==========================================================================
   1. Fonts (self hosted, latin only, about 22 KB each)
   ========================================================================== */

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

/* ==========================================================================
   2. Design tokens
   ========================================================================== */

:root {
	--prt-navy: #0a1628;
	--prt-navy-2: #13233f;
	--prt-navy-3: #1d3257;
	--prt-gold: #d4af37;
	--prt-gold-2: #e9c867;
	--prt-gold-soft: #faf3dc;
	--prt-blue: #2b6cb0;
	--prt-up: #1b8a4b;
	--prt-down: #c0392b;
	--prt-bg: #f5f7fb;
	--prt-card: #ffffff;
	--prt-line: #e4e8ef;
	--prt-text: #101828;
	--prt-muted: #5a6678;
	--prt-radius: 12px;
	--prt-radius-sm: 8px;
	--prt-shadow: 0 1px 2px rgba(10, 22, 40, .04), 0 6px 20px rgba(10, 22, 40, .06);
	--prt-shadow-lg: 0 18px 40px rgba(10, 22, 40, .14);
	--prt-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
	--prt-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--prt-wrap: 1160px;
	--prt-header-h: 68px;
}

/* ==========================================================================
   3. Base
   ========================================================================== */

html { scroll-padding-top: calc(var(--prt-header-h) + 16px); }

body,
body.ast-separate-container,
body.ast-plain-container {
	background: var(--prt-bg);
	color: var(--prt-text);
	font-family: var(--prt-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
.entry-title,
.prh-h1 {
	font-family: var(--prt-head);
	color: var(--prt-navy);
	letter-spacing: .005em;
	line-height: 1.12;
}
h1, .entry-title, .prh-h1 { font-weight: 700; font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
h2 { font-weight: 700; font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.05rem); }
h3 { font-weight: 700; font-size: 1.3rem; }

a { color: var(--prt-blue); text-underline-offset: 3px; }
a:hover { color: var(--prt-navy); }

:focus-visible {
	outline: 3px solid var(--prt-gold);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection { background: var(--prt-gold-soft); color: var(--prt-navy); }

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

/* ==========================================================================
   4. Containers. One clean surface on every page, no boxed grey frames.
   ========================================================================== */

.ast-container,
.site-content > .ast-container {
	max-width: var(--prt-wrap);
	padding-left: 20px;
	padding-right: 20px;
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .comments-area,
.ast-plain-container .ast-article-single {
	background: transparent;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.ast-separate-container #primary,
.ast-plain-container #primary {
	margin: 2.2rem 0 3.5rem;
	padding: 0;
}

.entry-content > * + * { margin-top: 1.1rem; }
.entry-content p { margin-bottom: 1.1rem; }
.entry-content h2 {
	margin: 2.6rem 0 1rem;
	padding-bottom: .45rem;
	border-bottom: 2px solid var(--prt-line);
	position: relative;
}
.entry-content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 64px;
	height: 2px;
	background: var(--prt-gold);
}
.entry-content h3 { margin: 1.6rem 0 .6rem; }

.ast-single-post .entry-header,
.ast-plain-container .entry-header { margin-bottom: 1.2rem; }
.entry-header .entry-title { margin-bottom: .2rem; }

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
}
.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; } }

.site-header .ast-primary-header-bar,
.site-header .main-header-bar,
.ast-mobile-header-wrap .ast-primary-header-bar {
	background: var(--prt-navy) !important;
	border-bottom: 3px solid var(--prt-gold) !important;
	min-height: var(--prt-header-h);
	box-shadow: 0 6px 18px rgba(10, 22, 40, .18);
}
.site-header .ast-builder-grid-row { min-height: var(--prt-header-h); }

/* Wordmark built in CSS, so no logo upload is needed. */
.site-title { margin: 0; line-height: 1; }
.site-title a,
.site-title a:visited {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-family: var(--prt-head);
	font-weight: 700;
	font-size: 1.55rem;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none;
}
.site-title a::before {
	content: "";
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 7px;
	background:
		linear-gradient(var(--prt-gold), var(--prt-gold)) 7px 18px / 4px 6px no-repeat,
		linear-gradient(#fff, #fff) 13px 13px / 4px 11px no-repeat,
		linear-gradient(var(--prt-gold-2), var(--prt-gold-2)) 19px 7px / 4px 17px no-repeat,
		var(--prt-navy-3);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.site-title a:hover { color: var(--prt-gold-2) !important; }
.site-description { display: none; }

/* Desktop menu */
.site-header .main-header-menu > .menu-item > .menu-link,
.site-header .ast-builder-menu .menu-item > .menu-link {
	color: #e8edf5 !important;
	font-weight: 600;
	font-size: .95rem;
	padding: 0 .95rem;
	position: relative;
}
.site-header .main-header-menu > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: .95rem;
	right: .95rem;
	bottom: 18px;
	height: 2px;
	background: var(--prt-gold);
	transform: scaleX(0);
	transition: transform .2s ease;
}
.site-header .main-header-menu > .menu-item:hover > .menu-link,
.site-header .main-header-menu > .current-menu-item > .menu-link,
.site-header .main-header-menu > .current-menu-ancestor > .menu-link {
	color: #fff !important;
}
.site-header .main-header-menu > .menu-item:hover > .menu-link::after,
.site-header .main-header-menu > .current-menu-item > .menu-link::after,
.site-header .main-header-menu > .current-menu-ancestor > .menu-link::after {
	transform: scaleX(1);
}
.site-header .sub-menu {
	background: var(--prt-navy-2) !important;
	border: 0 !important;
	border-top: 2px solid var(--prt-gold) !important;
	border-radius: 0 0 var(--prt-radius-sm) var(--prt-radius-sm);
	box-shadow: var(--prt-shadow-lg);
}
.site-header .sub-menu .menu-link { color: #e8edf5 !important; padding: .6rem 1rem !important; }
.site-header .sub-menu .menu-link:hover { background: var(--prt-navy-3) !important; color: #fff !important; }

/* Mobile */
.ast-mobile-menu-trigger-minimal,
.menu-toggle,
.ast-button-wrap .menu-toggle {
	color: #fff !important;
	background: transparent !important;
}
.ast-mobile-menu-trigger-minimal svg,
.menu-toggle svg { fill: #fff !important; }
.ast-mobile-header-content,
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-header-break-point .main-header-bar-navigation {
	background: var(--prt-navy-2) !important;
}
.ast-mobile-header-content .menu-link,
.ast-header-break-point .main-navigation .menu-link {
	color: #fff !important;
	border-color: rgba(255, 255, 255, .08) !important;
	font-weight: 600;
}
.ast-mobile-header-content .current-menu-item > .menu-link { color: var(--prt-gold-2) !important; }
.ast-header-break-point .site-title a { font-size: 1.3rem; }

/* ==========================================================================
   6. Content blocks: tables, Rank Math FAQ, buttons
   ========================================================================== */

.entry-content .wp-block-table {
	overflow-x: auto;
	border-radius: var(--prt-radius-sm);
	box-shadow: var(--prt-shadow);
	background: var(--prt-card);
}
.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: .95rem;
}
.entry-content .wp-block-table th {
	background: var(--prt-navy);
	color: #fff;
	text-align: left;
	font-weight: 600;
	padding: .75rem 1rem;
	border: 0;
	border-bottom: 2px solid var(--prt-gold);
}
.entry-content .wp-block-table td {
	padding: .7rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--prt-line);
}
.entry-content .wp-block-table tbody tr:nth-child(even) { background: #fafbfd; }

/* Rank Math FAQ block as an accordion, same look as the homepage FAQ.
   Answers stay visible until the script marks the block ready, so nothing hides without JS. */
.wp-block-rank-math-faq-block,
#rank-math-faq .rank-math-list {
	display: grid;
	gap: .65rem;
}
.rank-math-faq-item,
#rank-math-faq .rank-math-list-item {
	background: var(--prt-card);
	border: 1px solid var(--prt-line);
	border-radius: 10px;
	padding: 0 1.15rem;
	margin: 0 !important;
	box-shadow: var(--prt-shadow);
	transition: border-color .15s ease;
}
.rank-math-faq-item.is-open,
#rank-math-faq .rank-math-list-item.is-open { border-color: #e2cf8d; }
.rank-math-question,
#rank-math-faq .rank-math-question {
	font-family: var(--prt-head);
	font-size: 1.15rem !important;
	font-weight: 700;
	line-height: 1.25;
	color: var(--prt-navy);
	margin: 0 !important;
	padding: .95rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.prt-acc-ready .rank-math-question { cursor: pointer; }
.prt-acc-ready .rank-math-question:hover { color: var(--prt-blue); }
.prt-acc-ready .rank-math-question::after {
	content: "+";
	flex: 0 0 auto;
	font-family: system-ui, sans-serif;
	font-size: 1.45rem;
	font-weight: 400;
	line-height: 1;
	color: var(--prt-gold);
}
.prt-acc-ready .is-open .rank-math-question::after { content: "\2212"; }
.rank-math-answer,
#rank-math-faq .rank-math-answer { color: #2a3547; padding: 0 0 1rem; line-height: 1.65; font-size: .98rem; }
.prt-acc-ready .rank-math-faq-item:not(.is-open) .rank-math-answer,
.prt-acc-ready .rank-math-list-item:not(.is-open) .rank-math-answer { display: none; }
.rank-math-answer p:last-child { margin-bottom: 0; }
@media (max-width: 782px) {
	.rank-math-faq-item, #rank-math-faq .rank-math-list-item { padding: 0 .95rem; }
	.rank-math-question, #rank-math-faq .rank-math-question { font-size: 1.05rem !important; padding: .85rem 0; }
}

.wp-block-button__link,
.prt-btn {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .8rem 1.35rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: .98rem;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.prt-btn--gold {
	background: var(--prt-gold);
	color: var(--prt-navy) !important;
	box-shadow: 0 6px 18px rgba(212, 175, 55, .35);
}
.prt-btn--gold:hover { background: var(--prt-gold-2); transform: translateY(-1px); }
.prt-btn--ghost {
	border: 1.5px solid rgba(255, 255, 255, .45);
	color: #fff !important;
}
.prt-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.prt-btn--line {
	border: 1.5px solid var(--prt-line);
	color: var(--prt-navy) !important;
	background: #fff;
}
.prt-btn--line:hover { border-color: var(--prt-blue); color: var(--prt-blue) !important; }

/* ==========================================================================
   7. Power Rankings Hub components: theme level polish
   ========================================================================== */

.prh-wrap .prh-bar {
	border-radius: var(--prt-radius) var(--prt-radius) 0 0;
	padding: .75rem 1rem;
	background: linear-gradient(90deg, var(--prt-navy), var(--prt-navy-2));
}
.prh-wrap .prh-table {
	border-radius: 0 0 var(--prt-radius) var(--prt-radius);
	overflow: hidden;
	box-shadow: var(--prt-shadow);
	border: 0;
}
.prh-wrap .prh-table th {
	font-family: var(--prt-body);
	background: #f2f5fa;
}
.prh-wrap .prh-table:not(.prh-main) td { padding: .7rem .55rem; }
.prh-rank.is-top {
	background: linear-gradient(135deg, var(--prt-gold), var(--prt-gold-2));
	color: var(--prt-navy);
}
.prh-wrap .prh-tools { border-color: var(--prt-line); }
.prh-glance-card { border-radius: var(--prt-radius); }
.prh-glance-team strong { font-family: var(--prt-head); font-size: 1.2rem; }
.prh-score { font-family: var(--prt-head); font-size: 1.2rem; }

.prh-answer {
	background: var(--prt-card) !important;
	border: 1px solid var(--prt-line);
	border-left: 4px solid var(--prt-gold) !important;
	border-radius: var(--prt-radius-sm) !important;
	box-shadow: var(--prt-shadow);
	font-size: 1.04rem;
}

.prh-mover-card,
.prh-div-card,
.prh-hero,
.prh-next,
.prh-chart {
	border-radius: var(--prt-radius) !important;
	box-shadow: var(--prt-shadow);
	border-color: var(--prt-line) !important;
}
.prh-mover-card h3,
.prh-div-card h3 {
	font-family: var(--prt-head);
	font-size: 1.05rem !important;
}
.prh-hero { padding: 1.4rem 1.6rem !important; }
.prh-hero-rank { font-family: var(--prt-head); font-size: 3rem !important; }

.prh-faq-item {
	background: var(--prt-card);
	border: 1px solid var(--prt-line) !important;
	border-left: 4px solid var(--prt-gold) !important;
	border-radius: var(--prt-radius-sm);
	padding: 1rem 1.2rem !important;
	margin: 0 0 .75rem;
}
.prh-faq-item h3 { font-family: var(--prt-head); font-size: 1.2rem !important; }

.prh-team-strip a { border-radius: var(--prt-radius-sm) !important; transition: transform .15s ease, box-shadow .15s ease; }
.prh-team-strip a:hover { transform: translateY(-2px); box-shadow: var(--prt-shadow); }

.prh-crumbs { margin-top: .4rem !important; }

/* Virtual pages sit in the same frame as normal pages */
.prh-virtual .prh-article { max-width: none !important; }
.prh-virtual .entry-content-wrap { padding: 0 !important; }

/* ==========================================================================
   8. Footer
   ========================================================================== */

.site-footer,
.site-footer .site-below-footer-wrap,
.site-footer .site-primary-footer-wrap {
	background: var(--prt-navy) !important;
	color: #aeb8c8;
	border-top: 0 !important;
}
.site-footer { border-top: 3px solid var(--prt-gold) !important; }
.site-footer a { color: #e8edf5; text-decoration: none; }
.site-footer a:hover { color: var(--prt-gold-2); }
.ast-footer-copyright,
.ast-footer-copyright p { color: #aeb8c8 !important; font-size: .9rem; }

.prt-footer {
	background: var(--prt-navy);
	color: #aeb8c8;
	padding: 2.6rem 20px 1.2rem;
}
.prt-footer__inner {
	max-width: var(--prt-wrap);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 2rem;
}
.prt-footer__brand {
	font-family: var(--prt-head);
	font-weight: 700;
	font-size: 1.4rem;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: .02em;
	margin: 0 0 .5rem;
}
.prt-footer p { margin: 0 0 .6rem; font-size: .92rem; line-height: 1.6; }
.prt-footer h4 {
	font-family: var(--prt-head);
	color: var(--prt-gold-2);
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 1rem;
	margin: 0 0 .6rem;
}
.prt-footer ul { list-style: none; margin: 0; padding: 0; }
.prt-footer li { margin: 0 0 .4rem; font-size: .93rem; }
.prt-footer a { color: #e8edf5; text-decoration: none; }
.prt-footer a:hover { color: var(--prt-gold-2); }
.prt-soon { font-size: .72rem; color: #8090a8; margin-left: .3rem; }
@media (max-width: 760px) {
	.prt-footer__inner { grid-template-columns: 1fr 1fr; }
	.prt-footer__col--brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   9. Homepage
   ========================================================================== */

.prt-home { background: var(--prt-bg); }
.prt-wrap { max-width: var(--prt-wrap); margin: 0 auto; padding: 0 20px; }
.prt-section { padding: 3.2rem 0; }
.prt-section--white { background: #fff; border-top: 1px solid var(--prt-line); border-bottom: 1px solid var(--prt-line); }
.prt-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--prt-gold);
	margin: 0 0 .7rem;
}
.prt-eyebrow i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2ecc71;
	box-shadow: 0 0 0 4px rgba(46, 204, 113, .2);
}
.prt-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.3rem; }
.prt-section-head h2 { margin: 0; }
.prt-section-head p { margin: .3rem 0 0; color: var(--prt-muted); }

/* Hero */
.prt-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 420px at 85% -10%, rgba(212, 175, 55, .22), transparent 60%),
		radial-gradient(700px 400px at -10% 120%, rgba(43, 108, 176, .35), transparent 60%),
		linear-gradient(160deg, var(--prt-navy) 0%, var(--prt-navy-2) 60%, var(--prt-navy) 100%);
	color: #dbe3ef;
	padding: 3.6rem 0 3.8rem;
}
.prt-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 44px 44px;
	pointer-events: none;
}
.prt-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 2.6rem;
	align-items: center;
}
.prt-hero h1 {
	color: #fff;
	font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem);
	text-transform: uppercase;
	margin: 0 0 1rem;
	line-height: 1;
}
.prt-hero h1 span { color: var(--prt-gold-2); }
.prt-hero__lead { font-size: 1.12rem; max-width: 34rem; margin: 0 0 1.6rem; color: #c9d3e2; }
.prt-hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.prt-hero__stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.prt-hero__stats div { display: flex; flex-direction: column; }
.prt-hero__stats strong { font-family: var(--prt-head); font-size: 2rem; color: #fff; line-height: 1; }
.prt-hero__stats span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #93a1b8; }

/* Hero leaderboard card */
.prt-board {
	background: rgba(255, 255, 255, .98);
	border-radius: 16px;
	box-shadow: var(--prt-shadow-lg);
	overflow: hidden;
	color: var(--prt-text);
}
.prt-board__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .85rem 1.1rem;
	background: var(--prt-gold);
	color: var(--prt-navy);
	font-weight: 700;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.prt-board__head span:last-child { font-weight: 600; opacity: .8; text-transform: none; letter-spacing: 0; }
.prt-board ol { list-style: none; margin: 0; padding: .3rem 0; }
.prt-board li a {
	display: grid;
	grid-template-columns: 34px 32px 1fr auto;
	align-items: center;
	gap: .7rem;
	padding: .62rem 1.1rem;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid #f0f2f6;
	transition: background .15s ease;
}
.prt-board li:last-child a { border-bottom: 0; }
.prt-board li a:hover { background: #f6f8fc; }
.prt-board__rank {
	font-family: var(--prt-head);
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--prt-navy);
	text-align: center;
}
.prt-board li:nth-child(1) .prt-board__rank { color: var(--prt-gold); }
.prt-board img { width: 30px; height: 30px; object-fit: contain; }
.prt-board__name { font-weight: 700; line-height: 1.2; }
.prt-board__name small { display: block; color: var(--prt-muted); font-weight: 500; font-size: .8rem; }
.prt-board__score { font-family: var(--prt-head); font-weight: 700; font-size: 1.3rem; color: var(--prt-navy); }
.prt-board__foot { display: block; text-align: center; padding: .8rem; font-weight: 700; font-size: .9rem; background: #f6f8fc; text-decoration: none; }

/* League cards */
.prt-leagues { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.prt-league {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .35rem;
	background: #fff;
	border: 1px solid var(--prt-line);
	border-radius: var(--prt-radius);
	padding: 1.2rem 1.1rem;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--prt-shadow);
	transition: transform .15s ease, box-shadow .15s ease;
}
a.prt-league:hover { transform: translateY(-3px); box-shadow: var(--prt-shadow-lg); }
.prt-league strong { font-family: var(--prt-head); font-size: 1.7rem; color: var(--prt-navy); line-height: 1; }
.prt-league span { color: var(--prt-muted); font-size: .88rem; }
.prt-league em {
	align-self: flex-start;
	font-style: normal;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: .15rem .5rem;
	border-radius: 999px;
	background: #e9f7ef;
	color: var(--prt-up);
}
.prt-league.is-soon { opacity: .7; box-shadow: none; }
.prt-league.is-soon em { background: #eef1f6; color: var(--prt-muted); }

/* Method */
.prt-method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.prt-step {
	background: #fff;
	border: 1px solid var(--prt-line);
	border-radius: var(--prt-radius);
	padding: 1.4rem;
	box-shadow: var(--prt-shadow);
}
.prt-step b {
	display: inline-block;
	font-family: var(--prt-head);
	font-size: 2.4rem;
	line-height: 1;
	color: var(--prt-gold);
}
.prt-step h3 { margin: .4rem 0 .4rem; }
.prt-step p { margin: 0; color: var(--prt-muted); font-size: .96rem; }

.prt-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.prt-why div { padding-left: 1rem; border-left: 3px solid var(--prt-gold); }
.prt-why h3 { margin: 0 0 .3rem; }
.prt-why p { margin: 0; color: var(--prt-muted); font-size: .96rem; }

.prt-faq { display: grid; gap: .65rem; width: 100%; max-width: none; }
.prt-faq details {
	background: #fff;
	border: 1px solid var(--prt-line);
	border-radius: 10px;
	padding: 0 1.15rem;
	box-shadow: var(--prt-shadow);
	transition: border-color .15s ease;
}
.prt-faq details[open] { border-color: #e2cf8d; }
.prt-faq summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .95rem 0;
	font-family: var(--prt-head);
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.25;
	color: var(--prt-navy);
}
.prt-faq summary:hover { color: var(--prt-blue); }
.prt-faq summary::-webkit-details-marker { display: none; }
.prt-faq summary::after {
	content: "+";
	flex: 0 0 auto;
	font-family: system-ui, sans-serif;
	font-size: 1.45rem;
	font-weight: 400;
	line-height: 1;
	color: var(--prt-gold);
}
.prt-faq details[open] summary::after { content: "\2212"; }
.prt-faq details p { margin: 0 0 1rem; color: #2a3547; line-height: 1.65; font-size: .98rem; }
@media (max-width: 760px) {
	.prt-faq details { padding: 0 .95rem; }
	.prt-faq summary { font-size: 1.05rem; padding: .85rem 0; }
}

/* ==========================================================================
   10. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.prt-hero__grid { grid-template-columns: 1fr; }
	.prt-leagues { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.prt-section { padding: 2.4rem 0; }
	.prt-hero { padding: 2.4rem 0 2.6rem; }
	.prt-leagues { grid-template-columns: 1fr 1fr; }
	.prt-method,
	.prt-why { grid-template-columns: 1fr; }
	.prt-hero__stats { gap: 1.3rem; }
	.ast-separate-container #primary,
	.ast-plain-container #primary { margin: 1.4rem 0 2.4rem; }
	.prh-hero { padding: 1rem !important; }
	.prh-hero-rank { font-size: 2.3rem !important; }
}

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

@media print {
	.site-header, .site-footer, .prt-footer, .prt-hero__cta { display: none !important; }
	body { background: #fff; }
}

/* ==========================================================================
   11. Homepage frame: full width sections inside Astra's container
   ========================================================================== */

.prt-front .site-content > .ast-container {
	max-width: none;
	padding: 0;
	display: block;
}
.prt-front .prh-answer { margin-bottom: 2rem; }
.prt-front .prh-wrap { margin-bottom: 0; }

/* Full bleed homepage sections on every screen size */
.prt-front #content > .ast-container,
.prt-front .site-content > .ast-container {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.prt-front #content { padding: 0 !important; }


/* ==========================================================================
   12. Homepage v1.0.5: glance, games, tiers, explore
   ========================================================================== */

.prt-front .prh-glance { margin-bottom: 2.4rem; }
.prt-front .prh-board { margin-bottom: 2rem; }
.prt-front .prt-section-head h2 { margin: 0; }
.prt-front .prh-answer { margin-bottom: 2.4rem; }
.prt-games { margin: 0 !important; }
.prt-games .prh-game {
	position: relative;
	margin: 0;
	background: #fff;
	border: 1px solid var(--prt-line);
	border-radius: 12px;
	padding: .75rem .95rem .6rem;
	box-shadow: var(--prt-shadow);
}
.prt-games .prh-game.is-gotw { border: 2px solid var(--prt-gold); }
.prt-games .prh-game.is-upset { border: 2px solid var(--prt-down); }

.prt-tiers { display: grid; gap: .75rem; }
.prt-tier {
	display: grid;
	grid-template-columns: 15rem 1fr;
	align-items: center;
	gap: 1rem;
	background: #fff;
	border: 1px solid var(--prt-line);
	border-left: 5px solid var(--prt-line);
	border-radius: var(--prt-radius);
	padding: .8rem 1rem;
	box-shadow: var(--prt-shadow);
}
.prt-tier-0 { border-left-color: var(--prt-gold); }
.prt-tier-1 { border-left-color: #2b6cb0; }
.prt-tier-2 { border-left-color: #1b8a4b; }
.prt-tier-3 { border-left-color: #e0a030; }
.prt-tier-4 { border-left-color: #c0392b; }
.prt-tier__head { display: flex; flex-direction: column; gap: .1rem; }
.prt-tier__head strong { font-family: var(--prt-head); font-size: 1.3rem; color: var(--prt-navy); line-height: 1.1; }
.prt-tier__head span { font-size: .8rem; color: var(--prt-muted); }
.prt-tier__teams { display: flex; flex-wrap: wrap; gap: .4rem; }
.prt-tier__teams a {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .3rem .65rem .3rem .35rem;
	border: 1px solid var(--prt-line);
	border-radius: 999px;
	background: #fafbfd;
	font-size: .85rem;
	font-weight: 700;
	color: var(--prt-navy);
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.prt-tier__teams a:hover { border-color: var(--prt-blue); transform: translateY(-1px); }
.prt-tier__teams img { width: 24px; height: 24px; object-fit: contain; }

.prt-explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.prt-explore__card {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	padding: 1.1rem 1.15rem;
	background: linear-gradient(160deg, var(--prt-navy), var(--prt-navy-2));
	border-radius: var(--prt-radius);
	color: #c9d3e2;
	text-decoration: none;
	box-shadow: var(--prt-shadow);
	transition: transform .15s ease, box-shadow .15s ease;
}
.prt-explore__card:hover { transform: translateY(-3px); box-shadow: var(--prt-shadow-lg); color: #c9d3e2; }
.prt-explore__card span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--prt-gold-2); }
.prt-explore__card strong { font-family: var(--prt-head); font-size: 1.4rem; line-height: 1.15; color: #fff; }
.prt-explore__card em { font-style: normal; font-size: .85rem; }

@media (max-width: 1024px) {
	.prt-explore { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.prt-tier { grid-template-columns: 1fr; gap: .6rem; }
	.prt-tier__teams a { font-size: .8rem; padding: .25rem .55rem .25rem .3rem; }
	.prt-explore { grid-template-columns: 1fr 1fr; gap: .6rem; }
	.prt-explore__card { padding: .9rem; }
	.prt-explore__card strong { font-size: 1.15rem; }
	.prt-front .prt-section-head .prt-btn { width: 100%; justify-content: center; }
}


/* ==========================================================================
   13. Accessibility pass (v1.1.0): tap targets and contrast on light surfaces
   ========================================================================== */

.prt-footer li a { display: inline-block; padding: .3rem 0; }
.prt-footer li { margin: 0 0 .15rem; }
.prt-board li:nth-child(1) .prt-board__rank { color: #8a6d10; }
.prt-step b { color: #9a7b12; }
.site-footer .ast-footer-copyright a { display: inline-block; padding: .3rem 0; }
