/*
Theme Name: Arquibancada Digital
Theme URI: https://jornalarquibancadadigital.com.br
Author: TipsdoProfessor
Author URI: https://jornalarquibancadadigital.com.br
Description: Tema WordPress do Jornal da Arquibancada Digital — estilo jornal impresso vintage (anos 90) com papel desgastado. Responsivo e otimizado para newsletter de apostas esportivas.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arquibancada-digital
Tags: blog, sports, one-column, custom-menu, featured-images, translation-ready
*/

/* ================================
   Jornal da Arquibancada Digital
   Estilo jornal impresso (anos 90) + papel desgastado
   Mobile-friendly WordPress Theme
   ================================ */

:root {
  --accent: #0b5a2a;
  --accent-dark: #063619;
  --paper: #f3eddc;
  --paper-2: #efe5ce;
  --ink: #111;
  --muted: #3a3a3a;
  --danger: #c00000;
  --shadow: rgba(0,0,0,.18);
  --line: rgba(0,0,0,.55);
  --dash: rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #1f1f1f;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: "Times New Roman", Georgia, serif;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ---- Layout Viewport ---- */
#viewport {
  min-height: 100%;
  padding: 10px 8px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- Paper Container ---- */
.paper {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  background:
    radial-gradient(1200px 900px at 30% 10%, rgba(255,255,255,.22), transparent 50%),
    radial-gradient(900px 700px at 70% 35%, rgba(0,0,0,.07), transparent 55%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
  border-radius: 12px;
  box-shadow:
    0 20px 70px rgba(0,0,0,.45),
    0 2px 0 rgba(255,255,255,.12) inset;
  position: relative;
  border: 1px solid rgba(0,0,0,.25);
  overflow: hidden;
}

.paper::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.025) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 2px, transparent 2px 12px),
    radial-gradient(600px 220px at 50% 18%, rgba(0,0,0,.06), transparent 65%),
    radial-gradient(300px 200px at 18% 78%, rgba(90,60,20,.08), transparent 70%),
    radial-gradient(260px 220px at 82% 62%, rgba(90,60,20,.07), transparent 72%);
  mix-blend-mode: multiply;
  opacity: .65;
  pointer-events: none;
}

.paper::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(180deg,
    rgba(0,0,0,.12),
    rgba(255,255,255,.08),
    rgba(0,0,0,.10));
  opacity: .35;
  pointer-events: none;
  z-index: 1;
}

/* ---- Masthead / Header ---- */
.masthead {
  position: relative;
  padding: 16px 18px 12px;
  border-bottom: 2px solid rgba(0,0,0,.7);
  background: linear-gradient(180deg, rgba(255,255,255,.14), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 110px;
}

.brand {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.brand-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand .title {
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1;
  margin: 0;
  letter-spacing: .2px;
  color: var(--accent);
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}

.brand .title a {
  color: inherit;
  text-decoration: none;
}

.brand .subtitle {
  margin: 0;
  font-size: clamp(11px, 2vw, 16px);
  letter-spacing: .35px;
  text-transform: uppercase;
  color: #1d1d1d;
}

.meta {
  text-align: right;
  font-size: clamp(10px, 1.5vw, 12.5px);
  color: #222;
  line-height: 1.35;
  flex-shrink: 0;
}

.meta .tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgba(0,0,0,.5);
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  margin-bottom: 6px;
}

.meta b { letter-spacing: .25px; }

/* ---- Navigation / Pager ---- */
.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  gap: 8px;
  border-bottom: 1px dashed rgba(0,0,0,.55);
  background: rgba(255,255,255,.08);
}

.pager .btn,
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid rgba(0,0,0,.5);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: clamp(11px, 2vw, 14px);
  letter-spacing: .3px;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  cursor: pointer;
  user-select: none;
  transition: filter .15s, transform .15s;
  text-decoration: none;
  font-family: "Times New Roman", Georgia, serif;
}

.pager .btn:hover,
.nav-btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  text-decoration: none;
}

.pager .btn:active,
.nav-btn:active {
  transform: translateY(0px);
  filter: brightness(.98);
}

.pager .where {
  font-size: clamp(11px, 1.8vw, 13px);
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

/* ---- Main Navigation Menu ---- */
.main-navigation {
  display: flex;
  justify-content: center;
  padding: 8px 14px;
  border-bottom: 1px dashed rgba(0,0,0,.55);
  background: rgba(255,255,255,.08);
  flex-wrap: wrap;
  gap: 4px;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.main-navigation li {
  margin: 0;
}

.main-navigation a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,0,0,.35);
  background: rgba(255,255,255,.12);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(11px, 1.6vw, 13px);
  letter-spacing: .2px;
  transition: all .15s;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  background: var(--accent);
  color: #fff;
  border-color: rgba(0,0,0,.5);
  text-decoration: none;
}

.main-navigation .sub-menu {
  display: none;
  position: absolute;
  background: var(--paper);
  border: 1.5px solid rgba(0,0,0,.35);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  z-index: 100;
  min-width: 180px;
}

.main-navigation li:hover > .sub-menu {
  display: block;
}

.main-navigation .sub-menu a {
  display: block;
  width: 100%;
  border-radius: 6px;
}

/* ---- Content Area ---- */
.page {
  padding: 16px 18px 0;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}

/* ---- Typography ---- */
.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #2a2a2a;
  margin: 0 0 6px;
}

.h1, .entry-title {
  font-size: clamp(22px, 4vw, 34px);
  margin: 0 0 8px;
  line-height: 1.08;
  letter-spacing: .2px;
  color: var(--ink);
}

.h2 {
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 14px 0 6px;
  line-height: 1.1;
}

.h3 {
  font-size: clamp(12px, 2vw, 15px);
  margin: 12px 0 6px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.deck {
  font-size: clamp(13px, 2vw, 15.5px);
  color: #232323;
  line-height: 1.45;
  margin: 0 0 10px;
}

.columns {
  column-count: 2;
  column-gap: 18px;
  column-rule: 1px dotted rgba(0,0,0,.35);
}

p {
  margin: 0 0 10px;
  line-height: 1.55;
  color: #1a1a1a;
  font-size: clamp(13px, 1.8vw, 15px);
}

.pullquote, blockquote {
  border-left: 5px solid rgba(0,0,0,.7);
  padding: 10px 12px;
  margin: 12px 0;
  background: rgba(255,255,255,.10);
  font-style: italic;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  break-inside: avoid;
}

blockquote p {
  margin: 0;
}

/* ---- Images ---- */
.lead-photo,
.wp-post-image-wrap {
  margin: 12px 0 10px;
  border: 2px solid rgba(0,0,0,.7);
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  position: relative;
  z-index: 2;
}

.lead-photo img,
.wp-post-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.04) saturate(.96);
}

.caption,
.wp-caption-text {
  font-size: 12px;
  padding: 8px 10px;
  background: rgba(255,255,255,.22);
  border-top: 1px solid rgba(0,0,0,.35);
}

/* ---- Sidebar / Sidebox ---- */
.sidebox,
.widget {
  border: 2px solid rgba(0,0,0,.75);
  border-radius: 14px;
  padding: 12px 12px 10px;
  background: rgba(255,255,255,.10);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  position: relative;
  margin-bottom: 16px;
}

.sidebox .title,
.widget-title {
  font-weight: 900;
  letter-spacing: .35px;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,.55);
  color: #111;
}

.sidebox .item {
  border-top: 1px dashed var(--dash);
  padding: 8px 0;
  font-size: 13px;
}

.sidebox .item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.sidebox ul,
.widget ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.sidebox li,
.widget li {
  margin: 6px 0;
  line-height: 1.25;
  font-size: 13px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.55);
  background: rgba(255,255,255,.14);
  font-size: 11px;
}

.sidebox .expediente.item {
  border-top: 1px dashed rgba(0,0,0,.55);
  padding: 8px 0;
  margin-top: 8px;
}

.sidebox .expediente.item b {
  display: block;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-size: 12px;
  color: var(--accent);
}

.sidebox .expediente.item p {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: #222;
}

/* ---- Strip / Call-outs ---- */
.strip {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.55);
  background: rgba(255,255,255,.10);
  font-size: 13px;
}

.strip b { color: var(--accent-dark); }

/* ---- Footer ---- */
.site-footer {
  margin-top: 18px;
  padding: 10px 18px 14px;
  border-top: 2px solid rgba(0,0,0,.7);
  background: rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer,
.site-footer {
  margin-top: 18px;
  padding: 10px 18px 14px;
  border-top: 2px solid rgba(0,0,0,.7);
  background: rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer .small,
.site-footer .small {
  font-size: 11px;
  color: #444;
}

.footer .danger,
.site-footer .danger {
  font-size: 11px;
  font-weight: 700;
  color: var(--danger);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.ink-bleed {
  text-shadow:
    0 0 1px rgba(0,0,0,.35),
    0.4px 0.3px 0 rgba(0,0,0,.12);
}

/* ---- Tables ---- */
.table-page {
  padding: 14px 18px 0;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid rgba(0,0,0,.6);
  border-radius: 10px;
  margin: 12px 0;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(11px, 1.4vw, 13px);
}

th {
  background: var(--accent);
  color: #fff;
  padding: 10px 8px;
  text-align: left;
  letter-spacing: .25px;
  font-size: 11px;
  text-transform: uppercase;
}

td {
  padding: 9px 8px;
  border-bottom: 1px solid rgba(0,0,0,.22);
  vertical-align: top;
  line-height: 1.4;
}

tr:last-child td { border-bottom: 0; }
tr:nth-child(even) td { background: rgba(0,0,0,.04); }

.note {
  font-size: 12px;
  color: #444;
  padding: 8px 0;
}

/* ---- Bet Buttons (Ticket Style) ---- */
.multipla-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}

.multipla-btn {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  transition: filter .15s, transform .12s;
  cursor: pointer;
  position: relative;
  border: 2px solid rgba(0,0,0,.25);
}

.multipla-btn:hover { filter: brightness(1.06); transform: translateY(-2px); text-decoration: none; }
.multipla-btn:active { transform: translateY(0); filter: brightness(.96); }

.multipla-btn .ticket-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  width: 90px;
  align-self: stretch;
  overflow: hidden;
}

.multipla-btn .ticket-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 6px;
  box-sizing: border-box;
}

.multipla-btn .ticket-logo::after {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 0;
  border-right: 2px dashed rgba(255,255,255,.4);
}

.multipla-btn .ticket-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 14px;
  flex: 1;
  color: #fff;
  font-family: Arial, sans-serif;
  position: relative;
}

.multipla-btn .ticket-odd {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  position: relative;
  flex-shrink: 0;
  font-family: 'Georgia', serif;
}

.multipla-btn .ticket-odd::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 0;
  border-left: 2px dashed rgba(255,255,255,.4);
}

.multipla-btn .ticket-odd .odd-val {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #0b5a2a;
  padding: 4px 10px;
  border-radius: 5px;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  font-family: Arial, sans-serif;
}

.multipla-btn .ticket-odd .odd-label {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #fff;
  opacity: .8;
}

.multipla-btn .ticket-body .t-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .8;
  margin-bottom: 3px;
}

.multipla-btn .ticket-body .t-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .3px;
  line-height: 1.2;
}

.multipla-btn .ticket-body .t-cta {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: .9;
}

.multipla-btn .ticket-body .t-cta::after {
  content: "←";
  font-size: 13px;
}

.multipla-btn::before,
.multipla-btn::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border-radius: 50%;
  z-index: 2;
}

.multipla-btn::before {
  left: 83px;
  top: -7px;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.15);
}

.multipla-btn::after {
  left: 83px;
  bottom: -7px;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,.15);
}

/* Ticket color variants */
.multipla-sel {
  background: linear-gradient(135deg, #FE3C00, #d44000);
  box-shadow: 0 5px 16px rgba(254,60,0,.40);
}
.multipla-sel .ticket-logo { background: rgba(0,0,0,.12); }

.multipla-novi {
  background: linear-gradient(135deg, #161D30, #0e1520);
  box-shadow: 0 5px 16px rgba(22,29,48,.50);
  color: #fff;
}
.multipla-novi .ticket-logo { background: rgba(0,0,0,.25); }

.multipla-superbet {
  background: linear-gradient(135deg, #E70104, #b50003);
  box-shadow: 0 5px 16px rgba(231,1,4,.45);
  color: #fff;
}
.multipla-superbet .ticket-logo { background: rgba(0,0,0,.15); }

.multipla-betmgm {
  background: linear-gradient(135deg, #1a1a1a, #000000);
  box-shadow: 0 5px 16px rgba(0,0,0,.55);
  color: #b89a42;
}
.multipla-betmgm .ticket-logo { background: #000; }
.multipla-betmgm .ticket-body .t-label { color: rgba(255,255,255,.75); }
.multipla-betmgm .ticket-body .t-title { color: #fff; }
.multipla-betmgm .ticket-body .t-cta { color: #b89a42; }

.multipla-betnacional {
  background: linear-gradient(135deg, #001E5E, #001040);
  box-shadow: 0 5px 16px rgba(0,30,94,.50);
  color: #fff;
}
.multipla-betnacional .ticket-logo { background: rgba(0,0,0,.20); }
.multipla-betnacional .ticket-body .t-title { color: #fff; }
.multipla-betnacional .ticket-body .t-cta { color: #FFD700; }

/* ---- Mini Bet Buttons ---- */
.bet-btn {
  display: inline-flex;
  align-items: stretch;
  margin-top: 5px;
  border-radius: 7px;
  background: linear-gradient(135deg, #d43505, #c23a0e);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(0,0,0,.22);
  box-shadow: 0 2px 5px rgba(212,53,5,.30);
  transition: filter .15s, transform .12s;
  font-family: Arial, sans-serif;
  overflow: visible;
  position: relative;
  max-width: 100%;
  white-space: normal;
  min-height: 44px;
}

.bet-btn:hover { filter: brightness(1.08); transform: translateY(-1px); text-decoration: none; }
.bet-btn:active { transform: translateY(0); filter: brightness(.95); }

.bet-btn .blogo {
  flex: 0 0 50%;
  position: relative;
  border-radius: 5.5px 0 0 5.5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 3px 8px 3px 4px;
}

.bet-btn .blogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
}

.bet-btn .blogo::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 0;
  border-right: 2px dashed rgba(255,255,255,.55);
  z-index: 2;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.2;
  font-size: 10px;
  letter-spacing: .15px;
  padding: 4px 8px;
  position: relative;
  overflow: hidden;
  white-space: normal;
  flex: 1;
  min-width: 0;
  text-align: center;
}

.btn-text .btn-label { display: block; }

.btn-text .btn-cta {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .4px;
  opacity: 1;
}

.btn-text .btn-cta::after {
  content: "←";
  font-size: 14px;
  font-weight: 900;
}

.bet-btn::before,
.bet-btn::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
}

.bet-btn::before { top: -5px; }
.bet-btn::after { bottom: -5px; }

/* Bet button color variants */
.novi-btn { background: linear-gradient(135deg, #161D30, #0e1520); box-shadow: 0 2px 5px rgba(22,29,48,.45); }
.novi-btn .blogo { background: #161D30; }

.betano-btn { background: linear-gradient(135deg, #FE3C00, #e03500); box-shadow: 0 2px 6px rgba(254,60,0,.35); }
.betano-btn .blogo { background: #FE3C00; }

.betmgm-btn { background: linear-gradient(135deg, #1a1a1a, #000000); box-shadow: 0 2px 6px rgba(0,0,0,.40); color: #fff; }
.betmgm-btn .blogo { background: #000000; }
.betmgm-btn .btn-text .btn-cta { color: #b89a42; }

.superbet-btn { background: linear-gradient(135deg, #E70104, #c40000); box-shadow: 0 2px 6px rgba(231,1,4,.35); color: #fff; }
.superbet-btn .blogo { background: #E70104; }

.betfair-btn { background: #ffb90c; box-shadow: 0 2px 6px rgba(255,185,12,.40); color: #1a1a1a; }
.betfair-btn .blogo { background: #ffb90c; }

.betnacional-btn { background: linear-gradient(135deg, #001E5E, #001040); box-shadow: 0 2px 6px rgba(0,30,94,.45); color: #fff; }
.betnacional-btn .blogo { background: #001E5E; }
.betnacional-btn .btn-text .btn-cta { color: #FFD700; }

/* ---- Affiliate Logos Grid ---- */
.affiliate-section {
  margin-top: 14px;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(0,0,0,.45);
}

.affiliate-section .title-aff {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
}

.affiliate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.aff-warning {
  margin-top: 7px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--danger);
  text-align: center;
  border-top: 1px dashed rgba(0,0,0,.35);
  padding-top: 5px;
}

.aff-img-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 5px;
  border: 2px solid rgba(0,0,0,.75);
  box-shadow: 2px 2px 0 rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.28);
  transition: filter .15s, transform .12s;
  background: #888;
  overflow: hidden;
  height: 44px;
}

.aff-img-btn:hover { filter: brightness(1.06) contrast(1.04); transform: translateY(-1px); }

.aff-img-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- WordPress Specific ---- */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-item {
  border-bottom: 1px dashed var(--dash);
  padding: 14px 0;
}

.post-item:last-child {
  border-bottom: 0;
}

.post-meta {
  font-size: 11px;
  color: #444;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.post-excerpt {
  font-size: 13.5px;
  line-height: 1.5;
  color: #222;
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  transition: filter .15s;
}

.read-more:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,0,0,.35);
  background: rgba(255,255,255,.12);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s;
}

.pagination a:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

.pagination .current {
  background: var(--accent);
  color: #fff;
  border-color: rgba(0,0,0,.5);
}

/* Comments */
.comments-area {
  padding: 16px 0;
  border-top: 1px dashed var(--dash);
  margin-top: 16px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  border-bottom: 1px dashed rgba(0,0,0,.25);
  padding: 12px 0;
}

.comment-author {
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-dark);
}

.comment-content p {
  font-size: 13px;
}

/* Search */
.search-form {
  display: flex;
  gap: 6px;
}

.search-field {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid rgba(0,0,0,.4);
  border-radius: 8px;
  background: rgba(255,255,255,.2);
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
}

.search-submit {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: 1.5px solid rgba(0,0,0,.4);
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

/* 404 */
.error-404 {
  text-align: center;
  padding: 40px 20px;
}

.error-404 .h1 {
  font-size: clamp(40px, 10vw, 80px);
  color: var(--accent);
}

/* ---- Bingo Stamp ---- */
.bingo-stamp {
  position: absolute;
  top: 10px;
  left: 55%;
  transform: translateX(-50%) rotate(-8deg);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 2px var(--accent), 0 4px 14px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 6px;
  z-index: 5;
}

.bingo-stamp span {
  display: block;
  color: #fff;
  line-height: 1;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; }
  .paper::after { display: none; }
  .columns { column-count: 1; }
  .lead-photo img { height: auto; }
  .sidebox, .widget { margin-top: 16px; }
  .multipla-wrap { grid-template-columns: 1fr; }
  .multipla-btn { min-width: 0; min-height: 70px; }
}

@media (max-width: 600px) {
  #viewport { padding: 6px 6px 8px; }
  .paper {
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
  }
  .brand {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .brand-left { width: 100%; }
  .meta { text-align: right; width: 100%; }
  .main-navigation {
    flex-direction: column;
    align-items: stretch;
  }
  .main-navigation ul {
    flex-direction: column;
  }
  .main-navigation a {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .masthead { padding: 12px 12px 8px; }
  .page, .table-page { padding: 12px 12px 0; }
  .footer, .site-footer { padding: 10px 12px 12px; }
  .pager { padding: 8px 10px; }
}

/* ---- WordPress Core Alignments ---- */
.alignleft { float: left; margin: 0 16px 10px 0; }
.alignright { float: right; margin: 0 0 10px 16px; }
.aligncenter { display: block; margin: 0 auto 10px; }
.alignnone { margin: 10px 0; }
.alignwide { max-width: 100%; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); }

.wp-block-image { margin: 12px 0; }
.wp-block-image img { border-radius: 10px; border: 2px solid rgba(0,0,0,.4); }

/* Screen reader text */
.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;
}
