/* Finger Foods - Whatfinger Restaurant Rankings - Full Build */
:root {
  --navy: #0a2540;
  --red: #c41e3a;
  --gold: #f0ad4e;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --white: #ffffff;
  --border: #e5e7eb;
  --text: #1f2937;
  --muted: #6b7280;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.55;
}
header {
  background: var(--navy);
  color: white;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.logo a { color: white; text-decoration: none; }
.logo .accent { color: var(--red); }
nav a {
  color: white;
  text-decoration: none;
  margin-left: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 4px;
}
nav a:hover, nav a.active { color: var(--gold); border-bottom: 2px solid var(--red); }
.container { max-width: 1280px; margin: 0 auto; padding: 28px 24px; }
h1 { color: var(--navy); margin: 0 0 8px; font-size: 2.25rem; font-weight: 800; }
h2 { color: var(--navy); margin: 32px 0 16px; font-size: 1.5rem; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.intro {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.intro p { margin: 0; color: var(--muted); max-width: 780px; }
.ad {
  background: var(--white);
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  margin: 24px 0;
  font-size: 0.9rem;
}
.ad strong { color: var(--red); display: block; margin-bottom: 4px; }
.video-promo {
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}
.video-promo h3 { margin: 0 0 12px; font-size: 1.1rem; text-align: center; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
}
.card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.category {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.category h3 {
  background: var(--navy);
  color: white;
  margin: 0;
  padding: 12px 16px;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rank-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
  background: var(--navy);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  margin-right: 10px;
}
.score {
  background: var(--gold);
  color: var(--dark);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
}
.quote {
  background: #f9fafb;
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  margin: 12px 16px;
  font-style: italic;
  color: #374151;
  font-size: 0.95rem;
  border-radius: 0 8px 8px 0;
}
.quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 0.8rem; color: var(--muted); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--navy); color: white; font-weight: 600; }
tr:hover { background: #f9fafb; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
footer {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 24px;
  margin-top: 48px;
  font-size: 0.9rem;
}
footer a { color: var(--gold); text-decoration: none; }
@media (max-width: 700px) {
  nav a { margin-left: 14px; font-size: 0.85rem; }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; }
  h1 { font-size: 1.75rem; }
}


/* Google AdSense placements */
.ad.adsense-ad { display:block; box-sizing:border-box; width:100%; min-width:0; min-height:90px; margin:24px auto; text-align:center; overflow:hidden; }
.ad.adsense-ad ins.adsbygoogle { display:block; width:100%; min-height:90px; }
