/*
Theme Name: Bored Inside Reviews
Description: The Bored Inside Reviews publication, with shared umbrella navigation.
Version: 0.2.4
Requires at least: 6.7
Requires PHP: 8.2
Author: Bored Inside
Text Domain: boredinside-reviews
*/

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/nunito-400.ttf") format("truetype");
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/nunito-700.ttf") format("truetype");
}

@font-face {
  font-family: Nunito;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/nunito-800.ttf") format("truetype");
}

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

:root {
  color-scheme: light;
  --page: #f8fafc;
  --ink: #102c43;
  --muted: #526678;
  --blue: #0872ab;
  --rule: #dce4e9;
  --wash: #eaf7ff;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Nunito, Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 2px;
}
p { line-height: 1.7; }
h1, h2, h3 { font-family: Rubik, Arial, sans-serif; font-weight: 700; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 6vw, 4.75rem); line-height: 1.1; letter-spacing: -.045em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.65rem); line-height: 1.2; letter-spacing: -.035em; }
.container { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: 6%; }
.skip-link { position: absolute; top: 12px; left: 6%; z-index: 100; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
main:not(.article) { background: var(--wash); }
.site-header { min-height: 104px; padding-block: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; font-family: Rubik, Arial, sans-serif; font-size: 27px; font-weight: 700; letter-spacing: .1px; text-decoration: none; }
.logo-icon { display: block; flex: none; width: 48px; height: 43px; mix-blend-mode: multiply; }
.logo-icon svg { display: block; width: 100%; height: 100%; }
.site-nav { display: flex; gap: 26px; font-size: 13px; font-weight: 700; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--wash); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 580px; height: 580px; border: 85px solid #d2edfc; border-radius: 50%; top: -325px; right: -200px; opacity: .55; }
.hero-inner { padding-block: clamp(55px, 7vw, 95px); }
.eyebrow { color: var(--blue); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.hero h1 { max-width: 920px; margin: 22px 0; }
.intro { max-width: 690px; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 48px; padding: 12px 20px; border-radius: 7px; background: var(--blue); color: white; text-decoration: none; font-weight: 800; }
.button:hover { background: #075a86; }
.hero .button { margin-top: 16px; }
.destinations { padding-block: clamp(46px, 7vw, 80px); }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 12px 0; }
.section-intro { max-width: 690px; color: var(--muted); margin: 0; }
.status { flex: none; display: inline-block; margin-top: 10px; padding: 8px 13px; border: 1px solid #b8dcec; border-radius: 30px; background: #eef9fe; color: #075a86; font-size: 12px; font-weight: 800; }
.destination-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.destination-card { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.destination-art { position: relative; }
.destination-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.destination-tag { position: absolute; top: 16px; left: 16px; max-width: calc(100% - 32px); padding: 7px 11px; border-radius: 4px; background: #ffffffed; color: #075a86; font-size: 11px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.destination-copy { padding: 25px; }
.place { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.destination-copy h3 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.25; letter-spacing: -.025em; margin: 12px 0; }
.destination-copy > p:last-child { color: var(--muted); margin-bottom: 0; }
.destination-pending { border-style: dashed; background: #f2f8fc; }
.destination-poll .democracy { margin: 0; padding: 0; max-width: none; font: inherit; color: var(--ink); }
.destination-poll .dem-screen { height: auto !important; min-height: 0 !important; overflow: visible; }
.destination-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.destination-selectable { position: relative; display: flex; flex-direction: column; }
.destination-selectable:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.destination-selectable:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 5px; }
.destination-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; padding: 0 25px 20px; }
.destination-website { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-left: auto; color: var(--blue); font-size: 13px; font-weight: 800; }
.destination-website:hover { color: #075a86; }
.destination-selection { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--blue); }
.destination-selection input { appearance: none; flex: none; display: grid; place-content: center; width: 20px; height: 20px; margin: 0; border: 2px solid #647b8c; border-radius: 50%; background: white; opacity: 1; }
.destination-selection input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); transform: scale(0); }
.destination-selection input:checked { border-color: var(--blue); }
.destination-selection input:checked::before { transform: scale(1); }
.destination-selection .choice-confirmed { display: none; }
.destination-selection input:checked:disabled + label .choice-prompt { display: none; }
.destination-selection input:checked:disabled + label .choice-confirmed { display: inline; }
.destination-selection label::after { content: ""; position: absolute; inset: 0; cursor: pointer; }
.destination-selection:has(input:disabled) label::after { cursor: default; }
.destination-selection:has(input:disabled:not(:checked)) { color: #7b8790; }
.destination-selection input:disabled:not(:checked) { border-color: #aab6bf; background: #eef1f4; }
.destination-selection:has(input:disabled:not(:checked)) label::after { cursor: not-allowed; }
.destination-unavailable { padding: 0 25px 25px; margin: 0; color: var(--muted); font-size: 13px; }
.poll-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
.destination-poll .button { border: 0; font: 800 16px Nunito, Arial, sans-serif; cursor: pointer; }
.poll-instructions { max-width: 590px; margin: 0; font-size: 14px; color: var(--muted); }
.disclosure { font-size: 13px; color: var(--muted); margin: 20px 0 0; }
.poll-status { margin-top: 28px; padding: 24px; background: var(--wash); border: 1px solid #c5e4f5; border-radius: 8px; }
.poll-status h3 { margin: 0 0 8px; font-size: 1.1rem; }
.poll-status p { margin: 0; color: var(--muted); }
.closing-note { padding: 32px 6%; background: var(--wash); text-align: center; }
.closing-note p { margin: 0; }
.contact-band { padding-block: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.contact-band h2 { margin: 0; font-family: Nunito, Arial, sans-serif; font-size: 16px; font-weight: 800; letter-spacing: 0; }
.contact-band a { font-weight: 700; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-content { padding-block: 25px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; font-size: 13px; color: var(--muted); }
.article { max-width: 900px; padding-block: 45px 70px; }
.article h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
.article-content { line-height: 1.75; overflow-wrap: anywhere; }
.article-content > * { max-width: 100%; }
.post-summary { padding-block: 24px; border-bottom: 1px solid var(--rule); }
.post-summary h2 { font-size: 1.6rem; }
.article-content .alignwide { max-width: 100%; }
.consent-panel { padding-block: 24px; border-block: 1px solid var(--rule); background: var(--page); }
.consent-panel[hidden] { display: none; }
.consent-layout { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; }
.consent-layout > div:first-child { flex: 1 1 380px; min-width: 0; }
.consent-panel h2 { margin: 0 0 8px; font-size: 20px; }
.consent-panel p { max-width: 780px; margin: 0; font-size: 14px; }
.consent-panel .consent-status { margin-top: 8px; color: var(--muted); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent-actions button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: white; font: 700 14px Nunito, Arial, sans-serif; cursor: pointer; }
.consent-actions button:hover { background: #214b6b; }
.consent-actions button:disabled { background: #e7edf1; color: var(--muted); border-color: var(--rule); cursor: default; }
.privacy-content { overflow-wrap: anywhere; }
.privacy-content h2 { margin-top: 36px; font-size: 24px; }
.privacy-content a, .privacy-content code { overflow-wrap: anywhere; }

@media (max-width: 750px) {
  .brand { font-size: 23px; gap: 10px; }
  .site-header { min-height: 90px; }
  .section-heading { flex-direction: column; gap: 10px; }
  .status { margin-top: 0; }
  .destination-grid { gap: 18px; }
  .destination-copy { padding: 20px; }
  .destination-actions, .destination-unavailable { padding: 0 20px 20px; }
}
@media (max-width: 540px) {
  .container { padding-inline: 6%; }
  .site-header { gap: 4px 20px; padding-block: 16px; }
  .brand { font-size: 22px; }
  .logo-icon { width: 40px; height: 36px; }
  .site-nav { width: 100%; gap: 24px; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  .hero::after { right: -400px; }
  .destination-grid { grid-template-columns: 1fr; }
  .destination-copy h3 { font-size: 1.4rem; }
  .contact-band { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
