/*
Theme Name: RunRunDeal
Theme URI: https://runrundeal.com
Author: RunRunDeal
Description: Daily coupon deals — minimal custom theme.
Version: 1.0
*/

/* ========== RunRunDeal — DealSeek-inspired clean modern UI ========== */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-card: #ffffff;
  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #94a3b8;
  --border: #e5e7eb;
  --border-soft: #f1f5f9;
  --accent: #ff385c;
  --accent-dark: #e02e4e;
  --accent-soft: #fff0f3;
  --green: #10b981;
  --green-soft: #d1fae5;
  --amber: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo-mark { font-size: 22px; }
.logo-text b { color: var(--accent); }
.topnav { display: flex; gap: 24px; align-items: center; }
.topnav a { color: var(--text-soft); font-weight: 500; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.topnav a:hover { color: var(--accent); }
.topnav a.active { color: var(--text); border-color: var(--accent); }

/* HERO */
.hero { padding: 56px 0 36px; background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%); text-align: center; }
.hero-eyebrow { display: inline-block; background: var(--accent); color: white; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: 48px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 16px; }
.hero-pct { color: var(--accent); background: linear-gradient(135deg, var(--accent), #ff6b8a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 18px; color: var(--text-soft); max-width: 620px; margin: 0 auto 24px; }
.trust-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.trust-pill { background: white; border: 1px solid var(--border); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-soft); box-shadow: var(--shadow-sm); }

/* GRID HEADER & FILTERS */
.main-content { padding: 40px 20px 80px; }
.grid-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.grid-header h2 { font-size: 28px; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-soft); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .15s; font-family: inherit; }
.chip:hover { border-color: var(--text-soft); color: var(--text); }
.chip.active { background: var(--text); color: white; border-color: var(--text); }

/* GRID & CARDS */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; cursor: pointer; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .25s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge-pct { position: absolute; top: 12px; left: 12px; background: var(--accent); color: white; font-weight: 800; font-size: 13px; padding: 5px 10px; border-radius: 999px; letter-spacing: -0.01em; box-shadow: 0 2px 8px rgba(255,56,92,0.3); }
.badge-code { position: absolute; top: 12px; right: 12px; background: var(--green); color: white; font-weight: 700; font-size: 11px; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.08em; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.brand-line { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--text-mute); }
.card-title { font-size: 14.5px; font-weight: 600; margin: 0; line-height: 1.4; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.rating { font-size: 12.5px; color: var(--text-soft); display: flex; gap: 4px; align-items: center; }
.stars { color: var(--amber); }
.rate-num { font-weight: 700; color: var(--text); }
.rev-num { color: var(--text-mute); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.sale { font-size: 20px; font-weight: 800; color: var(--accent); letter-spacing: -0.01em; }
.reg { font-size: 13.5px; color: var(--text-mute); text-decoration: line-through; }
/* TICKET-STYLE COUPON BUTTON */
.ticket {
  display: flex;
  align-items: stretch;
  margin-top: 10px;
  border-radius: 999px;
  overflow: visible;
  position: relative;
  background: linear-gradient(135deg, #4f5cf6 0%, #5b6cf2 100%);
  box-shadow: 0 4px 14px rgba(79,92,246,0.28);
  transition: transform .15s, box-shadow .15s;
  min-height: 42px;
}
.card:hover .ticket {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(79,92,246,0.40);
}
.ticket-main {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: white;
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 10px;
  white-space: nowrap;
  border-radius: 999px 0 0 999px;
}
.ticket--nocode .ticket-main { width: 100%; border-radius: 999px; }
.ticket-icon { width: 15px; height: 15px; flex-shrink: 0; }
.ticket-code {
  position: relative;
  background: #fff;
  color: #0f172a;
  font-family: 'SF Mono', Menlo, ui-monospace, monospace;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 8px 12px 8px 14px;
  display: inline-flex;
  align-items: center;
  border: 2px dashed #c7d2fe;
  border-left: none;
  border-radius: 0 999px 999px 0;
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket-code::before,
.ticket-code::after {
  content: '';
  position: absolute;
  left: -7px;
  width: 12px;
  height: 12px;
  background: var(--bg-card, #fff);
  border-radius: 50%;
  z-index: 2;
}
.ticket-code::before { top: -6px; }
.ticket-code::after  { bottom: -6px; }

/* HOW IT WORKS */
.how { margin-top: 80px; padding: 48px 32px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.how h2 { text-align: center; font-size: 28px; font-weight: 800; margin: 0 0 32px; letter-spacing: -0.02em; }
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { background: white; padding: 28px 24px; border-radius: var(--radius); text-align: center; }
.step-num { width: 44px; height: 44px; background: var(--accent); color: white; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.step h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--text-soft); margin: 0; }
.disclosure-box { margin-top: 48px; padding: 24px 32px; background: var(--bg-soft); border-radius: var(--radius); font-size: 14px; color: var(--text-soft); text-align: center; }

/* FOOTER */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 56px 0 32px; margin-top: 80px; }
.site-footer .logo-text { color: white; font-size: 22px; font-weight: 800; }
.site-footer .logo-text b { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-grid h4 { color: white; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.footer-grid a { display: block; color: #cbd5e1; font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer-grid a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; font-size: 13px; color: #94a3b8; }
.small { font-size: 12.5px; color: #94a3b8; }

/* PRODUCT PAGE */
.product-main { padding: 24px 20px 80px; }
.breadcrumb { font-size: 13px; color: var(--text-soft); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 6px; color: var(--text-mute); }
.product-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.product-media { position: relative; background: var(--bg-soft); border-radius: var(--radius-lg); aspect-ratio: 1 / 1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.big-badge { position: absolute; top: 24px; left: 24px; background: var(--accent); color: white; font-weight: 800; font-size: 22px; padding: 10px 18px; border-radius: 999px; box-shadow: 0 4px 16px rgba(255,56,92,0.35); }
.product-side h1 { font-size: 30px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 12px; }
.price-big { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 4px; }
.sale-big { font-size: 42px; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; }
.reg-big { font-size: 18px; color: var(--text-mute); text-decoration: line-through; }
.save-banner { display: inline-block; background: var(--green-soft); color: #047857; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.code-box { margin: 20px 0; padding: 20px; background: linear-gradient(135deg, var(--accent-soft) 0%, #fff5e6 100%); border: 2px dashed var(--accent); border-radius: var(--radius); }
.code-head { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--accent-dark); margin-bottom: 10px; }
.code-main { display: flex; align-items: stretch; background: white; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.code-value { flex: 1; font-family: 'SF Mono', Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: 0.05em; padding: 14px 18px; background: white; color: var(--text); display: flex; align-items: center; user-select: all; }
.copy-btn { background: var(--text); color: white; border: none; padding: 0 22px; font-size: 14px; font-weight: 700; cursor: pointer; letter-spacing: 0.02em; font-family: inherit; transition: background .15s, color .15s; }
.copy-btn:hover { background: var(--accent); }
.copy-btn.copied { background: var(--green); color: white; }
.code-help { margin-top: 10px; font-size: 12.5px; color: var(--text-soft); }
.amz-btn { display: block; background: linear-gradient(135deg, #ff9900, #ff7f00); color: white; text-align: center; padding: 16px 24px; border-radius: var(--radius); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; margin: 20px 0 12px; box-shadow: 0 6px 20px rgba(255,153,0,0.35); transition: transform .15s, box-shadow .15s; }
.amz-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,153,0,0.45); }
.promo-link { display: block; text-align: center; font-size: 13.5px; color: var(--text-soft); text-decoration: underline; margin-bottom: 14px; }
.expires-tag { display: inline-block; background: #fef3c7; color: #92400e; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin: 8px 0 20px; }
.howto { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.howto h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; color: var(--text-soft); }
.howto ol { padding-left: 22px; margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.7; }
.related-section { margin-top: 80px; }
.related-section h2 { font-size: 22px; font-weight: 800; margin: 0 0 20px; letter-spacing: -0.02em; }

/* STATIC PAGES */
.static-page { max-width: 720px; padding: 40px 20px 80px; }
.static-page article h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 24px; }
.static-page article h2 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.static-page article p { font-size: 16px; line-height: 1.7; color: var(--text-soft); }
.static-page article a { color: var(--accent); text-decoration: underline; }

/* TOAST */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: white; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* MOBILE */
@media (max-width: 768px) {
  .hero { padding: 36px 0 24px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15.5px; }
  .topnav { gap: 14px; font-size: 13.5px; }
  .topnav a { font-size: 13.5px; }
  .header-inner { height: 56px; }
  .logo { font-size: 17px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 13.5px; min-height: 2.6em; }
  .sale { font-size: 17px; }
  .reg { font-size: 12.5px; }
  .grid-header { flex-direction: column; align-items: flex-start; }
  .grid-header h2 { font-size: 22px; }
  .filter-row { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filter-row::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-side h1 { font-size: 22px; }
  .sale-big { font-size: 34px; }
  .reg-big { font-size: 16px; }
  .code-value { font-size: 18px; padding: 12px 14px; }
  .copy-btn { padding: 0 16px; font-size: 13px; }
  .amz-btn { font-size: 16px; padding: 14px 20px; }
  .big-badge { font-size: 18px; padding: 8px 14px; top: 16px; left: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .how { padding: 32px 20px; margin-top: 56px; }
  .how h2 { font-size: 22px; margin-bottom: 24px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px; }
  .card-title { font-size: 12.5px; }
  .sale { font-size: 16px; }
  .badge-pct { font-size: 11px; padding: 3px 7px; top: 8px; left: 8px; }
  .badge-code { font-size: 10px; top: 8px; right: 8px; }
  .cta-btn { font-size: 12px; padding: 7px 10px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════ MODAL POPUP (coupon reveal) ═══════════════════ */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal-panel {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 32px 28px 24px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.35);
  text-align: center;
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
  animation: rrdModalIn .22s ease-out;
}
@keyframes rrdModalIn {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  width: 36px; height: 36px;
  font-size: 24px;
  color: var(--text-mute);
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: #f1f5f9; color: var(--text); }
.modal-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 24px 18px;
  color: var(--text);
}
.modal-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 12px;
}
.modal-code-box {
  display: flex;
  align-items: stretch;
  border: 2px dashed #c7d2fe;
  border-radius: 14px;
  background: #f8faff;
  overflow: hidden;
  margin: 0 0 4px;
}
.modal-code {
  flex: 1;
  font-family: 'SF Mono', Menlo, ui-monospace, monospace;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: all;
  word-break: break-all;
}
.modal-copy-btn {
  background: #4f5cf6;
  color: white;
  border: none;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
  border-radius: 0 12px 12px 0;
  margin: -2px -2px -2px 0;
}
.modal-copy-btn:hover { background: #3e4ad4; }
.modal-copy-btn.copied { background: #10b981; }
.modal-copied {
  color: #10b981;
  font-size: 13.5px;
  font-weight: 600;
  margin: 8px 0 0;
}
.modal-cta {
  display: block;
  background: linear-gradient(135deg, #4f5cf6 0%, #5b6cf2 100%);
  color: white;
  text-align: center;
  padding: 16px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 22px 0 12px;
  box-shadow: 0 8px 22px rgba(79,92,246,0.40);
  transition: transform .15s, box-shadow .15s;
}
.modal-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(79,92,246,0.55);
}
.modal-disclosure {
  font-size: 12.5px;
  color: var(--text-mute);
  margin: 0;
}

/* ═══════════════════ DETAIL PAGE: TODAY'S OTHER DEALS ═══════════════════ */
.related-section h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 48px 0 20px;
  letter-spacing: -0.02em;
  text-align: center;
}
.grid-related { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ═══════════════════ MOBILE ENHANCEMENTS ═══════════════════ */
@media (max-width: 768px) {
  .ticket { min-height: 38px; margin-top: 8px; }
  .ticket-main { font-size: 12.5px; padding: 7px 8px; gap: 4px; }
  .ticket-icon { width: 13px; height: 13px; }
  .ticket-code { font-size: 10.5px; padding: 7px 10px 7px 12px; max-width: 70px; }

  .modal-panel { padding: 28px 18px 18px; border-radius: 18px; }
  .modal-title { font-size: 16px; margin: 0 16px 16px; }
  .modal-code { font-size: 18px; padding: 14px 10px; }
  .modal-copy-btn { padding: 0 16px; font-size: 13.5px; }
  .modal-cta { font-size: 14.5px; padding: 14px 16px; }
  .related-section h2 { font-size: 20px; margin: 32px 0 16px; }
}
@media (max-width: 420px) {
  .ticket-main { font-size: 11.5px; gap: 3px; padding: 6px 6px; }
  .ticket-code { font-size: 9.5px; padding: 6px 8px 6px 10px; max-width: 56px; }
  .modal-panel { padding: 24px 14px 16px; }
  .modal-title { font-size: 15px; }
  .modal-code { font-size: 16px; }
  .modal-cta { font-size: 13.5px; padding: 13px 14px; }
}

/* Today's Other Deals section (on detail page) */
.related-sub {
  text-align: center;
  color: var(--text-soft);
  font-size: 14.5px;
  margin: 0 0 28px;
}
.related-cta-row {
  text-align: center;
  margin-top: 32px;
}
.see-all-btn {
  display: inline-block;
  background: var(--text);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: background .15s, transform .15s;
}
.see-all-btn:hover { background: var(--accent); transform: translateY(-1px); }

@media (max-width: 768px) {
  .related-sub { font-size: 13px; margin-bottom: 20px; }
  .see-all-btn { font-size: 14px; padding: 12px 22px; }
  /* Mobile: cards 2-up on detail page too */
  .grid-related { grid-template-columns: repeat(2, 1fr); }
}

/* CARD WITH TWO CLICK AREAS — card-link goes to detail page, ticket button opens modal */
.card { padding-bottom: 12px; }
.card-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.card-link:hover .card-media img { transform: scale(1.04); }
.ticket {
  display: flex;
  align-items: stretch;
  margin: 0 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
  padding: 0;
  width: calc(100% - 28px);
}
.card .ticket:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(79,92,246,0.40);
}
@media (max-width: 768px) {
  .ticket { margin: 0 12px; width: calc(100% - 24px); }
  .card { padding-bottom: 10px; }
}
@media (max-width: 420px) {
  .ticket { margin: 0 10px; width: calc(100% - 20px); }
}

/* Daily archive list (homepage + archive day pages) */
.day-list-section { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); }
.day-list-section h2 { font-size: 24px; margin: 0 0 16px; }
.day-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.day-list li { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--bg-soft); border-radius: 12px; transition: background 0.15s; }
.day-list li:hover { background: var(--accent-soft); }
.day-list li a { color: var(--text); font-weight: 600; text-decoration: none; }
.day-list .day-count { color: var(--text-soft); font-size: 13px; }
.hero-archive { padding: 40px 0 24px; }
.link-back { color: var(--accent); text-decoration: none; font-weight: 600; }
.link-back:hover { text-decoration: underline; }
