:root {
  --ink: #142e3c;
  --muted: #537082;
  --paper: #edf5fa;
  --white: #ffffff;
  --header-bg: #1b5576;
  --header-dark: #0f374e;
  --gold: #f4c238;
  --gold-warm: #ae7800;
  --sky: #c0e2f6;
  --card-bg: #ffffff;
  --line: #cde4f2;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Segoe UI', -apple-system, sans-serif;
  --display: 'Space Grotesk', 'Segoe UI', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.45; }
a { color: inherit; text-decoration: none; }
.topbar { align-items: center; display: flex; justify-content: space-between; margin: auto; max-width: 1240px; padding: 22px 34px; }
.brand { align-items: center; display: inline-flex; font: 700 1.35rem var(--display); gap: 10px; letter-spacing: -0.04em; color: var(--header-bg); }
.site-logo { background: #2b749c; display: block; width: 228px; height: auto; max-width: 100%; }
.topbar .brand { flex-shrink: 0; }
.topbar nav { display: flex; gap: 32px; margin-left: 80px; }
.topbar nav a, .submit-link { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color .15s ease; }
.topbar nav a:hover, .text-link:hover { color: var(--gold-warm); }
.submit-link { align-items: center; color: var(--header-bg); display: flex; gap: 10px; }
.submit-link span { background: var(--gold); border-radius: 50%; color: #4a3400; font-size: 1.1rem; height: 26px; line-height: 24px; text-align: center; width: 26px; font-weight: 800; }
.currency-switcher { align-items: center; display: flex; gap: 7px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.currency-switcher select { background: var(--white); border: 1px solid var(--line); border-radius: 6px; color: var(--header-bg); font: 700 .75rem var(--sans); padding: 7px; }
.converted-price { white-space: nowrap; }
.hero { background: linear-gradient(135deg, #12405c 0%, #1b5576 60%, #256b94 100%); color: var(--white); display: flex; justify-content: space-between; margin: 20px auto 0; max-width: 1172px; min-height: 440px; overflow: hidden; padding: 68px 76px; position: relative; border-radius: 12px; box-shadow: 0 10px 30px rgba(27,85,118,.18); }
.hero:after { border: 1px solid rgba(244,194,56,.28); border-radius: 50%; content: ''; height: 360px; position: absolute; right: -78px; top: -112px; width: 360px; pointer-events: none; }
.hero-copy { max-width: 670px; position: relative; z-index: 1; }
.eyebrow { color: var(--gold); font: 700 .73rem var(--sans); letter-spacing: .14em; margin: 0 0 17px; text-transform: uppercase; }
.hero h1, h2 { font: 600 clamp(2.8rem, 5.5vw, 4.8rem)/.98 var(--display); letter-spacing: -.055em; margin: 0; }
.hero h1 em, h2 em { color: var(--gold); font-family: var(--serif); font-weight: 400; letter-spacing: -.06em; }
.hero-text { color: #d4e8f5; font-size: 1.02rem; margin: 24px 0 30px; max-width: 480px; }
.hero-note { align-self: flex-end; border-left: 1px solid rgba(255,255,255,.3); display: flex; flex-direction: column; gap: 5px; margin-bottom: 4px; padding-left: 19px; position: relative; z-index: 1; }
.hero-note span, .hero-note small { color: #b7d6ea; font-size: .73rem; }
.hero-note strong { font: 600 1.05rem var(--display); color: var(--gold); }
.search-box { align-items: center; background: var(--white); color: var(--ink); display: flex; max-width: 560px; padding: 8px 14px 8px 18px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.search-icon { font-size: 1.6rem; line-height: 1; color: var(--header-bg); }
.search-box input { background: none; border: 0; color: var(--ink); flex: 1; font: 500 .95rem var(--sans); outline: 0; padding: 10px 12px; }
kbd { background: #e3eff7; color: var(--muted); font: .72rem var(--sans); padding: 4px 7px; border-radius: 4px; }
.search-results { background: var(--white); color: var(--ink); display: none; max-width: 560px; position: absolute; width: 100%; z-index: 5; border-radius: 0 0 8px 8px; box-shadow: 0 10px 25px rgba(0,0,0,.18); overflow: hidden; }
.search-results.visible { display: block; }
.search-results a, .search-results p { border-top: 1px solid var(--line); display: flex; gap: 16px; margin: 0; padding: 13px 17px; }
.search-results a:hover { background: #f3f9fd; }
.search-results span { color: var(--muted); font-size: .72rem; text-transform: uppercase; width: 58px; font-weight: 600; }
.search-results strong { margin-left: auto; color: var(--header-bg); }
.section { margin: auto; max-width: 1172px; padding: 90px 34px 0; }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 34px; }
.section-heading h2 { font-size: 3rem; color: var(--header-bg); }
.section-intro { color: var(--muted); font-size: .92rem; margin: 0; max-width: 290px; }
.ranking-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.ranking-panel { background: var(--card-bg); padding: 28px 32px 26px; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(27,85,118,.06); }
.ranking-panel.expensive { background: #fffcf5; border-color: #f1dfae; }
.panel-title { align-items: center; border-bottom: 1px solid var(--line); display: flex; margin-bottom: 4px; padding-bottom: 18px; }
.panel-title h3 { font: 600 1.15rem var(--display); margin: 0; color: var(--header-bg); }
.panel-number, .rank-index, .brand-rank { color: var(--gold-warm); font: 700 .75rem var(--display); }
.panel-number { margin-right: 20px; }
.panel-icon { color: var(--gold-warm); font-size: 1.4rem; margin-left: auto; }
.rank-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 17px; padding: 13px 0; }
.rank-row .country-link { font-weight: 600; color: var(--header-bg); }
.rank-row .country-link:hover { color: var(--gold-warm); }
.rank-row strong { font: 600 1.05rem var(--display); margin-left: auto; color: var(--header-bg); }
.rank-index { color: var(--muted); font-size: .65rem; }
.text-link { color: var(--header-bg); display: inline-block; font-size: .8rem; font-weight: 700; margin-top: 22px; text-transform: uppercase; }
.text-link span { color: var(--gold-warm); font-size: 1rem; margin-left: 8px; }
.country-section { padding-top: 110px; }
.newest-section { padding-top: 90px; }
.newest-price-list { background: var(--white); border: 1px solid var(--line); border-radius: 10px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.newest-price-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 14px; min-height: 82px; padding: 14px 20px; }
.newest-price-row:nth-child(odd) { border-right: 1px solid var(--line); }
.newest-price-row > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.newest-price-row strong { color: var(--header-bg); font: 600 1rem var(--display); }
.newest-price-row span, .newest-price-row small { color: var(--muted); font-size: .72rem; }
.newest-price-row b { color: var(--header-bg); font: 600 1rem var(--display); white-space: nowrap; }
.controls select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23537082' stroke-width='1.5'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 15px center; border: 1px solid var(--line); color: var(--ink); font: 600 .8rem var(--sans); padding: 12px 42px 12px 16px; border-radius: 6px; }
.country-grid { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); }
.country-card { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 16px; min-height: 94px; padding: 16px 22px 16px 0; }
.country-card:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 28px; }
.country-card:nth-child(even) { padding-left: 28px; }
.flag { align-items: center; background: #e2f1fa; border: 1px solid var(--sky); border-radius: 5px; display: flex; height: 32px; justify-content: center; min-width: 48px; overflow: hidden; width: 48px; }
.flag img { display: block; height: 100%; object-fit: cover; width: 100%; }
.flag-code { color: var(--header-bg); font: 700 .68rem var(--display); }
.country-info h3 { font: 600 1.05rem var(--display); margin: 0; }
.country-info p { color: var(--muted); font-size: .75rem; margin: 3px 0 0; }
.country-link:hover { color: var(--gold-warm); }
.country-price { font: 600 1.05rem var(--display); margin-left: auto; text-align: right; white-space: nowrap; color: var(--header-bg); }
.country-price small { color: var(--muted); font: .65rem var(--sans); }
.detail-section { display: grid; gap: 90px; grid-template-columns: .75fr 1.25fr; padding-bottom: 130px; padding-top: 140px; }
.detail-intro h2 { font-size: 3.4rem; color: var(--header-bg); }
.detail-intro > p:not(.eyebrow) { color: var(--muted); font-size: .92rem; max-width: 250px; }
.brand-list { border-top: 1px solid var(--line); }
.brand-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 22px; min-height: 86px; }
.brand-rank { color: var(--muted); }
.brand-row h3 { font: 600 1.18rem var(--display); margin: 0; color: var(--header-bg); }
.brand-row p { color: var(--muted); font-size: .77rem; margin: 3px 0 0; }
.brand-countries { color: var(--muted); font-size: .76rem; margin-left: auto; }
.arrow { color: var(--gold-warm); font-size: 1.2rem; }
footer { align-items: center; background: var(--header-dark); color: var(--white); display: flex; gap: 30px; justify-content: space-between; padding: 32px max(34px, calc((100% - 1104px) / 2)); margin-top: 60px; }
footer p { color: #b2cfdf; font-size: .78rem; margin: 0; }
footer > div { display: flex; gap: 24px; }
footer > div a { color: var(--gold); font-size: .78rem; font-weight: 600; }
footer > div button { background: none; border: 0; color: var(--gold); cursor: pointer; font: 600 .78rem var(--sans); padding: 0; }
.consent-panel { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; bottom: 18px; box-shadow: 0 8px 32px rgba(15,55,78,.2); display: flex; gap: 24px; justify-content: space-between; left: 50%; max-width: 760px; padding: 18px 22px; position: fixed; transform: translateX(-50%); width: calc(100% - 32px); z-index: 100; }
.consent-panel strong { color: var(--header-bg); font: 600 1rem var(--display); }
.consent-panel p { color: var(--muted); font-size: .8rem; margin: 4px 0 0; }
.consent-actions { display: flex; flex-shrink: 0; gap: 8px; }
.consent-actions button { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; color: var(--header-bg); cursor: pointer; font: 700 .76rem var(--sans); padding: 10px 14px; }
.consent-actions .consent-accept { background: var(--header-bg); color: var(--white); }
.sr-only { height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; clip: rect(0,0,0,0); }
.city-page, .not-found { margin: auto; max-width: 850px; padding: 90px 24px 140px; }
.city-page h1, .not-found h1 { font: 600 clamp(3.2rem, 7.5vw, 5.8rem)/.95 var(--display); letter-spacing: -.065em; margin: 0; color: var(--header-bg); }
.city-lede { color: var(--muted); font-size: 1.18rem; margin: 25px 0 42px; max-width: 580px; }
.city-lede strong { color: var(--gold-warm); font: 600 1.35rem var(--display); }
.city-stats { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin-bottom: 70px; background: var(--line); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.city-stats > div { background: var(--white); display: flex; flex-direction: column; gap: 5px; padding: 24px; }
.city-stats span, .city-stats small { color: var(--muted); font-size: .74rem; }
.city-stats strong { font: 600 1.4rem var(--display); color: var(--header-bg); }
.city-stats strong a:hover, .country-inline-link:hover { color: var(--gold-warm); }
.country-inline-link { color: inherit; text-decoration: underline; }
.city-page h2 { font-size: 2.4rem; margin-bottom: 22px; color: var(--header-bg); }
.city-table { border-top: 1px solid var(--line); margin-bottom: 30px; }
.city-table div { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 14px 0; }
.city-table div a { color: var(--header-bg); font-weight: 500; }
.city-table div a:hover { color: var(--gold-warm); text-decoration: underline; }
.city-table strong { font-family: var(--display); color: var(--header-bg); }
.venue-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.venue-tag { background: #e3eff7; color: var(--header-bg); font-size: .82rem; font-weight: 600; padding: 8px 14px; border-radius: 20px; border: 1px solid var(--sky); }
.reviews-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 35px; }
.review-card { background: var(--white); border-left: 4px solid var(--gold); margin: 0; padding: 18px 22px; border-radius: 0 8px 8px 0; border: 1px solid var(--line); border-left-width: 4px; box-shadow: 0 2px 8px rgba(27,85,118,.04); }
.review-card p { margin: 0 0 8px; font-style: italic; color: var(--ink); line-height: 1.5; font-size: .95rem; }
.review-card small { color: var(--muted); font-size: .75rem; font-weight: 600; }
.brand-desc-box { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-bottom: 30px; box-shadow: 0 2px 8px rgba(27,85,118,.04); }
.brand-desc-box p { margin: 0; color: var(--ink); line-height: 1.6; }
.city-empty, .not-found p:not(.eyebrow) { color: var(--muted); }
.not-found { min-height: 430px; }
@media (max-width: 700px) {
  .topbar { padding: 20px; }
  .topbar .site-logo { width: clamp(150px, 45vw, 228px); }
  .topbar nav { display: none; }
  .currency-switcher > span { display: none; }
  .submit-link { font-size: .65rem; }
  .hero { margin: 10px 15px 0; min-height: 520px; padding: 44px 24px 34px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-note { align-self: auto; bottom: 32px; left: 24px; position: absolute; }
  .section { padding-left: 20px; padding-right: 20px; padding-top: 60px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .section-heading h2 { font-size: 2.4rem; }
  .ranking-grid, .country-grid, .detail-section, .newest-price-list { grid-template-columns: 1fr; }
  .newest-price-row:nth-child(odd) { border-right: 0; }
  .ranking-panel { padding: 22px 20px; }
  .country-card:nth-child(odd) { border-right: 0; padding-right: 0; }
  .country-card:nth-child(even) { padding-left: 0; }
  .detail-section { gap: 50px; padding-bottom: 80px; padding-top: 100px; }
  .city-page, .not-found { padding: 70px 0 100px; }
  .city-stats { grid-template-columns: 1fr; }
  footer { align-items: start; flex-direction: column; padding: 30px 20px; }
  .consent-panel { align-items: stretch; flex-direction: column; gap: 14px; }
  .consent-actions button { flex: 1; }
}
 .beer-profile-image { display: block; max-width: 180px; max-height: 180px; object-fit: contain; margin: 24px 0; }
 .beer-profile-image[hidden] { display: none; }
.about-page { max-width: 850px; }
.about-page > p { line-height: 1.8; }
.about-credits { margin: 24px 0 32px; }
.about-credits > div { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 0; border-bottom: 1px solid var(--muted); }
.about-credits dt { min-width: 160px; font-weight: 600; }
.about-credits dd { margin: 0; }
.affordable-ranking { list-style: none; padding: 0; margin: 28px 0 40px; }
.price-form { display: grid; gap: 12px; max-width: 580px; margin-top: 28px; }
.price-form label { font-weight: 600; margin-top: 10px; }
.price-form label span { font-weight: 400; }
.price-form input, .price-form select, .price-form button { font: inherit; padding: 12px 16px; border: 1px solid #b8b8b0; border-radius: 8px; width: 100%; box-sizing: border-box; }
.price-form button { cursor: pointer; background: #153d32; color: white; }
.price-form button:disabled { opacity: .6; cursor: default; }
.price-form input:focus-visible, .price-form select:focus-visible, .price-form button:focus-visible { outline: 3px solid #b48a43; outline-offset: 2px; }
.price-form textarea { font: inherit; padding: 12px 16px; border: 1px solid #b8b8b0; border-radius: 8px; width: 100%; box-sizing: border-box; resize: vertical; }
.price-form textarea:focus-visible { outline: 3px solid #b48a43; outline-offset: 2px; }
.topbar nav { flex-wrap: wrap; gap: 12px 20px; margin-left: 24px; }
footer > div { display: flex; flex-wrap: wrap; gap: 12px; }
.spam-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
#moderation-list button { margin: 16px 12px 0 0; padding: 10px 18px; cursor: pointer; }
