/*
Theme Name: COM Elite Reviews — Finished Edition
Description: A panoramic editorial theme for COM Elite Reviews.
Version: 1.5.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: com-elite-reviews-finished
*/
:root {
	--ink: #151829;
	--muted: #545667;
	--paper: #f8f7f2;
	--lime: #dbfc57;
	--blue: #273cec;
	--rule: #dedce3;
	--display: "Arial Black", "DejaVu Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: .2rem solid currentColor; outline-offset: .25rem; }
img { display: block; max-width: 100%; height: auto; }
input, button, textarea { max-width: 100%; font: inherit; }
.frame { width: min(90%, 82rem); margin-inline: auto; }
.skip-link, .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus, .screen-reader-text:focus { z-index: 10; width: auto; height: auto; clip-path: none; padding: .65rem 1rem; background: white; color: var(--ink); }
.masthead { background: var(--paper); border-bottom: 1px solid var(--rule); }
.masthead-inner, .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.1rem; }
.brand { font: 900 clamp(1.05rem, 2.3vw, 1.55rem)/1 var(--display); letter-spacing: -.08em; text-decoration: none; white-space: nowrap; }
.brand span { margin-inline-start: .15em; color: var(--blue); }
.custom-logo { max-width: 12rem; max-height: 3.25rem; object-fit: contain; }
.nav-list { display: flex; margin: 0; padding: 0; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; }
.nav-list a, .search-link { font-size: .88rem; font-weight: 700; text-decoration: none; }
.nav-list a:hover, .search-link:hover { text-decoration: underline; }
.nav-list .sub-menu { padding-inline-start: 1rem; }
.search-link { border: 1px solid var(--rule); padding: .35rem .75rem; border-radius: 3rem; }
.hero { background: #111953; color: #fff; position: relative; isolation: isolate; }
.hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg,#0c133e 0%,#0c133ede 31%,#0c133e25 66%,transparent), url("assets/panorama.webp") center 50% / cover; }
.hero-inner { min-height: clamp(31rem, 44vw, 43rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 4rem; }
.eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .8rem; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { font: 900 clamp(3rem, 8vw, 8rem)/.91 var(--display); letter-spacing: -.09em; margin: 0; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description { max-width: 32rem; font-size: clamp(1rem, 1.7vw, 1.25rem); margin: 1.45rem 0 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; }
.hero-actions a { font-weight: 750; }
.button { display: inline-flex; gap: .6rem; align-items: center; padding: .7rem 1rem; background: var(--lime); color: var(--ink); border-radius: 3rem; text-decoration: none; }
.button:hover { background: white; }
.section { padding-block: clamp(2.5rem, 5.8vw, 5.5rem); }
.section-kicker { color: var(--blue); }
.section-title { font: 900 clamp(2.1rem, 5vw, 4.1rem)/1.02 var(--display); letter-spacing: -.07em; margin: 0 0 1.4rem; overflow-wrap: anywhere; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.section-card, .post-card { display: block; background: white; border: 1px solid var(--rule); border-radius: 1rem; overflow: hidden; }
.section-card { padding: clamp(1rem,2.5vw,2rem); text-decoration: none; transition: background .2s, color .2s; }
.section-card:hover { background: var(--blue); color: white; }
.card-arrow { display: block; width: max-content; margin: 0 0 1.9rem auto; background: var(--lime); color: var(--ink); border-radius: 50%; padding: .25rem .62rem; }
.section-card h3, .post-card h2 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 .5rem; }
.section-card p, .post-card p { margin: 0; }
.post-card-copy { padding: 1.2rem; }
.post-card .eyebrow { color: var(--muted); margin-bottom: .5rem; }
.post-card-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body, .comments { max-width: 52rem; margin: 0 auto 2rem; overflow-wrap: anywhere; }
.article-body .alignwide { max-width: 100%; }
.site-footer { background: var(--ink); color: white; }
.footer-inner { align-items: start; padding-block: 2.5rem; }
.site-footer .brand span { color: var(--lime); }
.site-footer h2 { margin: 0 0 .4rem; font-size: 1rem; }
.search-form { display: flex; flex-wrap: wrap; gap: .4rem; }
.search-field, .search-submit { padding: .5rem .65rem; border: 1px solid var(--rule); border-radius: .35rem; }
.search-submit { background: var(--lime); color: var(--ink); cursor: pointer; }
.navigation { margin-block: 1.5rem; }
@media (max-width: 54rem) {
	.masthead nav { order: 2; flex-basis: 100%; }
	.grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.hero::before { background-position: 63% center; }
}
@media (max-width: 38rem) {
	.grid { grid-template-columns: 1fr; }
	.hero-inner { min-height: 34rem; padding-top: 13rem; padding-bottom: 2.2rem; justify-content: flex-end; }
	.hero::before { background: linear-gradient(0deg,#0c133e 7%,#0c133ef5 34%,#0c133e0a 86%), url("assets/panorama.webp") 76% top / auto 82% no-repeat; }
}
@media (prefers-reduced-motion: reduce) { .section-card { transition: none; } }

.frame { width:calc(100% - clamp(15px, 2.65vw, 48px) * 2); }
