/* jimmybaratta.com - rebuild of the Google Sites theme (dark, "Diplomat"-style).
   Metrics (px) were measured from the original at 1440px and 390px widths. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #000; color: #f2f2f2; font-family: "Open Sans", sans-serif; }
img { display: block; }
a { color: inherit; }

/* ---------- top bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: 56px; z-index: 20; display: flex; align-items: center; transition: background-color .2s, box-shadow .2s; }
.topbar.scrolled { background: #1b1b1b; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.site-title { position: absolute; left: 28px; top: 12px; line-height: 32px; font: 700 24px/32px "Playfair Display", serif; color: #fff; text-decoration: none; white-space: nowrap; }
.main-nav { margin-left: auto; margin-right: 48px; }
.main-nav ul, .drawer ul { list-style: none; margin: 0; padding: 0; }
.main-nav ul { display: flex; }
.main-nav a { display: block; padding: 10px 13px; font: 400 14.6667px/20px "Open Sans", sans-serif; color: rgba(255,255,255,.87); text-decoration: none; }
.main-nav a.active { font-weight: 700; color: #fff; }
.main-nav a:hover { color: #fff; }
.search-btn { position: absolute; right: 12px; top: 16px; width: 24px; height: 24px; color: #fff; }
.menu-btn { display: none; position: absolute; left: 12px; top: 16px; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.drawer { position: fixed; top: 56px; left: 0; bottom: 0; width: 280px; max-width: 85vw; background: #1b1b1b; z-index: 19; padding: 8px 0; box-shadow: 2px 0 8px rgba(0,0,0,.5); }
.drawer a { display: block; padding: 14px 24px; font: 400 16px/22px "Open Sans", sans-serif; color: rgba(255,255,255,.87); text-decoration: none; }
.drawer a.active { font-weight: 700; color: #fff; }

/* ---------- sections / 12-column grid ---------- */
.sec { position: relative; padding: var(--pt) 0 var(--pb); }
.row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); width: 82.2222%; max-width: 1184px; margin: 0 auto; }
.col { grid-column: var(--start) / span var(--span); padding: 0 14px 0 15px; margin-top: var(--off); align-self: start; min-width: 0; }
.tile { padding: var(--tpt, 0) 0 var(--tpb, 0); }

/* header banner */
.sec-header { background: #000 url("/assets/header-bg.jpg") center / cover no-repeat; }
.sec-header::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.title-box { border: 6px solid #fff; }

/* text tiles: theme defaults; the author's inline styles from the original are kept in the HTML */
.tt { padding: var(--ip); overflow-wrap: break-word; }
.title-box { padding: calc(var(--ip-t, 44px) - 6px) calc(var(--ip-l, 56px) - 6px); }
.tt p { margin: 0; font-size: 16px; line-height: 1.75; color: #f2f2f2; }
.tt h1 { margin: 0; font-family: "Playfair Display", serif; font-weight: 400; font-size: 38.6667px; line-height: 1.44; letter-spacing: -.6px; color: #b2b2ab; }
.tt p + p { margin-top: 15px; }
.tt h1 + h1 { margin-top: 25px; }
.title-box h1 { font-size: 72px; line-height: 1.11; letter-spacing: -.8px; font-weight: 700; color: #fff; }
.tt a { color: inherit; }

/* image tiles: crop box with the original aspect ratio and crop offsets */
.ibox { position: relative; overflow: hidden; aspect-ratio: var(--ar); }
.ibox img { position: absolute; max-width: none; }

/* buttons */
.btn { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; background: #fff; color: #000; border: 1px solid #000; border-radius: 4px; font: 400 16px/22px "Open Sans", sans-serif; text-decoration: none; text-align: center; }
.btn:hover { background: #e8e8e8; }
.btn:focus-visible, .main-nav a:focus-visible, .ibox:focus-visible { outline: 2px solid #8ab4f8; outline-offset: 2px; }

/* divider */
.t-divider { position: relative; height: 18px; }
.t-divider::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; background: #2c2c2c; }

/* ---------- News ---------- */
.news-list { display: grid; gap: 16px; padding: 8px 8px 24px; }
.news-card { border: 1px solid #2c2c2c; border-radius: 4px; padding: 20px 24px; background: #0b0b0b; }
.news-card h2 { margin: 6px 0 10px; font: 700 24px/1.44 Arial, sans-serif; color: #fff; }
.news-card h2 a { text-decoration: none; }
.news-card h2 a:hover { text-decoration: underline; }
.news-meta { font: 400 14px/20px "Open Sans", sans-serif; color: #b2b2ab; }
.summary { margin: 8px 0 12px; font: 400 18.6667px/1.65 Arial, sans-serif; color: #f2f2f2; }
.take { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid #fff; background: #151515; }
.take-h { font: 700 15px/1.4 "Open Sans", sans-serif; color: #fff; letter-spacing: .02em; margin-bottom: 2px; }
.take p { margin: 0; font: 400 17.3333px/1.6 Arial, sans-serif; color: #f2f2f2; }
.news-card .source { margin: 0 0 14px; font-size: 14px; }
.btn-inline { display: inline-flex; min-width: 160px; }
/* verdict chips (LEVEL UP / GAME OVER; labels from build.py LABELS): black & silver, with a muted
   silver-mint / silver-coral tint that matches the SITE-palette card badges */
.verdict { display: inline-block; padding: 2px 10px; border: 1px solid #b2b2ab; border-radius: 4px; background: #151515; color: #f2f2f2; font: 700 14px/22px "Open Sans", sans-serif; letter-spacing: .08em; }
.verdict-pos { border-color: #aacebe; color: #aacebe; }
.verdict-neg { border-color: #d6a6a0; color: #d6a6a0; }
.verdict-pos::before { content: "\25B2\00a0"; font-size: .8em; }
.verdict-neg::before { content: "\25A0\00a0"; font-size: .8em; }
.anchor-alias { position: absolute; top: 0; }
.news-thumb { float: right; margin: 0 0 12px 20px; width: 150px; }
.card-thumb { width: 100%; height: auto; border: 1px solid #2c2c2c; border-radius: 4px; }
.news-card::after { content: ""; display: block; clear: both; }
.post-card { margin: 16px 0 8px; max-width: 480px; }
.card-full { width: 100%; height: auto; border: 1px solid #2c2c2c; border-radius: 4px; }
.sample-tag { display: inline-block; margin-right: 8px; padding: 0 8px; border: 1px solid #f2c94c; border-radius: 3px; color: #f2c94c; font: 700 12px/20px "Open Sans", sans-serif; letter-spacing: .06em; }
.sample-banner { margin: 0 0 20px; padding: 12px 16px; border: 1px dashed #f2c94c; color: #f2c94c; font: 600 15px/1.5 "Open Sans", sans-serif; }
.news-empty { padding: 8px; color: #b2b2ab; }
.news-empty-card { border: 1px dashed #3a3a3a; border-radius: 4px; padding: 20px 24px; background: #0b0b0b; }
.news-empty-card p { margin: 0; font: 400 18.6667px/1.6 Arial, sans-serif; color: #f2f2f2; }
.post { padding: 14px 8px; font-family: Arial, sans-serif; }
.post .verdict-row { margin: 12px 0; font: 400 18.6667px/1.75 Arial, sans-serif; }
.post-summary p { margin: 16px 0; font: 400 18.6667px/1.75 Arial, sans-serif; color: #f2f2f2; }
.take-box { margin: 20px 0; padding: 16px 20px; border-left: 4px solid #fff; background: #111; }
.take-box h2 { margin: 0 0 6px; font: 700 21.3333px/1.4 Arial, sans-serif; color: #fff; }
.take-box p { margin: 0; font: 400 18.6667px/1.75 Arial, sans-serif; color: #f2f2f2; }
.post-body h2 { font: 700 24px/1.44 Arial, sans-serif; color: #fff; }
.source { font: 400 16px/1.75 "Open Sans", sans-serif; color: #b2b2ab; }
.source a { color: #fff; }
.whats-new .wn-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; padding: 0 8px; }
.wn-h { margin: 8px 0 12px; font: 700 18.6667px/1.4 Arial, sans-serif; color: #b2b2ab; text-transform: uppercase; letter-spacing: .04em; }
.wn-block .news-list { padding: 0 0 8px; }
.short-embed { position: relative; aspect-ratio: 9 / 16; max-height: 420px; margin: 0 auto 16px; border: 1px solid #2c2c2c; border-radius: 4px; background: #0b0b0b; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.short-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short-placeholder { padding: 16px; font: 400 16px/1.6 "Open Sans", sans-serif; color: #b2b2ab; }
.short-slot:empty { display: none; }
.wn-short .short-embed { width: 100%; max-width: 260px; max-height: none; }
.socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.socials a { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1px solid #2c2c2c; border-radius: 4px; background: #0b0b0b; color: #f2f2f2; text-decoration: none; font: 600 14px/1.2 "Open Sans", sans-serif; }
.socials a:hover { border-color: #fff; color: #fff; }
.socials a:focus-visible { outline: 2px solid #8ab4f8; outline-offset: 2px; }
.socials svg { flex: none; }

/* ---------- email signup (Netlify Forms) ---------- */
.signup { margin: 0 8px; border: 1px solid #2c2c2c; border-radius: 4px; background: #0b0b0b; padding: 24px; color: #f2f2f2; }
.signup h2 { margin: 0 0 6px; font: 700 24px/1.4 Arial, sans-serif; color: #fff; }
.su-what { margin: 0 0 16px; font: 400 18.6667px/1.6 Arial, sans-serif; }
.su-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.su-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 220px; font: 600 14px/1.3 "Open Sans", sans-serif; color: #b2b2ab; }
.su-field em { font-weight: 400; font-style: normal; }
.su-field input { height: 40px; padding: 0 12px; border: 1px solid #555; border-radius: 4px; background: #000; color: #fff; font: 400 16px "Open Sans", sans-serif; }
.su-field input:focus { outline: 2px solid #8ab4f8; outline-offset: 1px; border-color: #8ab4f8; }
.su-btn { height: 40px; min-width: 140px; cursor: pointer; }
.su-consent { margin: 12px 0 0; font: 400 13px/1.5 "Open Sans", sans-serif; color: #b2b2ab; }
.signup-slim { padding: 16px 20px; }
.signup-slim .su-line { margin-bottom: 10px; font: 400 18.6667px/1.4 Arial, sans-serif; color: #fff; }
.hp { display: none; }
.thanks-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding: 16px 8px 0; }
.thanks-links .btn { min-width: 200px; }

/* ---------- mobile (Google Sites switches to the single-column layout below 768px) ---------- */
@media (max-width: 767px) {
  .main-nav { display: none; }
  .menu-btn { display: block; }
  .site-title { left: 48px; top: 14px; font-size: 20px; line-height: 27px; }
  .search-btn { right: 12px; }
  .sec { padding: var(--mpt) 0 var(--mpb); }
  .row { display: block; width: auto; margin: 0 5px; }
  .col { padding: 0 14px; margin-top: 0; }
  .tile { padding: var(--tmpt, 0) 0 var(--tmpb, 0); }
  .tt { padding: var(--mip); }
  .title-box { padding: 14px 4px; }
  .title-box h1 { font-size: 46.6667px; line-height: 1.11; }
  .tt h1 { font-size: 28px; }
  .ibox { aspect-ratio: var(--mar); }
  .t-divider { height: 59px; }
  .t-divider::after { top: 32px; }
  .whats-new .wn-grid { grid-template-columns: 1fr; }
  .news-card { padding: 16px; }
  .news-thumb { width: 96px; margin-left: 14px; }
  .short-embed { max-height: 360px; max-width: 240px; }
}

/* ---- type scale reproduced from the original Google Sites computed styles (generated) ---- */
.tt .ts-80-88_8-m53_33-59_2{font-size:80px;line-height:88.8px}
.tt .ts-32-44_16-m26_67-36_8{font-size:32px;line-height:44.16px}
.tt .ts-21_33-29_44{font-size:21.3333px;line-height:29.44px}
.tt .ts-24-34_56-m22_67-32_64{font-size:24px;line-height:34.56px}
.tt .ts-24-42-m22_67-39_67{font-size:24px;line-height:42px}
.tt .ts-38_67-55_68-m28-40_32{font-size:38.6667px;line-height:55.68px}
.tt .ts-26_67-38_4-m24-34_56{font-size:26.6667px;line-height:38.4px}
.tt .ts-17_33-30_33{font-size:17.3333px;line-height:30.3333px}
.tt .ts-18_67-32_67{font-size:18.6667px;line-height:32.6667px}
.tt .ts-18_67-31_36{font-size:18.6667px;line-height:31.36px}
.tt .ts-21_33-30_72{font-size:21.3333px;line-height:30.72px}
.tt .ts-18_67-26_88{font-size:18.6667px;line-height:26.88px}
.tt .ts-16-28{font-size:16px;line-height:28px}
.tt .ts-16-23_04{font-size:16px;line-height:23.04px}
@media (max-width: 767px) {
.tt .ts-80-88_8-m53_33-59_2{font-size:53.3333px;line-height:59.2px}
.tt .ts-32-44_16-m26_67-36_8{font-size:26.6667px;line-height:36.8px}
.tt .ts-24-34_56-m22_67-32_64{font-size:22.6667px;line-height:32.64px}
.tt .ts-24-42-m22_67-39_67{font-size:22.6667px;line-height:39.6667px}
.tt .ts-38_67-55_68-m28-40_32{font-size:28px;line-height:40.32px}
.tt .ts-26_67-38_4-m24-34_56{font-size:24px;line-height:34.56px}
}
