:root {
  color-scheme: light;
  --ink: #1d1b1a;
  --muted: #68605a;
  --paper: #fbf7f0;
  --panel: #ffffff;
  --line: #e5ddd2;
  --accent: #9f5f2d;
  --accent-2: #2f6f6a;
  --accent-3: #b03f4f;
  --shadow: 0 18px 45px rgba(42, 31, 20, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 240, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-tools {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 21px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.update-date {
  width: fit-content;
  margin: 8px 0 0 !important;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 4px;
  background: rgba(0, 0, 0, .22);
  font-size: 13px !important;
  font-weight: 750;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 80px 20px 20px;
  background: rgba(29, 27, 26, .62);
  backdrop-filter: blur(6px);
}

.search-panel[hidden] {
  display: none;
}

.search-dialog {
  width: min(100%, 680px);
  max-height: calc(100vh - 120px);
  margin: 0 auto;
  padding: 22px;
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 20px;
}

.search-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.search-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.search-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.search-results {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.search-result {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fbf7f0;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.search-result:hover {
  border-color: var(--accent);
}

.search-hint {
  margin: 4px 0;
  color: var(--muted);
}

.search-highlight {
  outline: 3px solid rgba(159, 95, 45, .35);
  outline-offset: 3px;
}

.search-open {
  overflow: hidden;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-list summary {
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.recipe {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.recipe h3 {
  margin: 0 0 8px;
}

.recipe-meta {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

.recipe ul,
.recipe ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-page {
  width: min(100% - 48px, 860px);
  margin: 0 auto;
  padding: 54px 0;
}

.legal-page h1 {
  margin-top: 0;
  font-size: clamp(34px, 5vw, 54px);
}

.legal-page h2 {
  margin: 32px 0 8px;
}

.legal-page a {
  color: var(--accent-2);
  font-weight: 750;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 750;
}

.nav-links a,
.pill-link {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  color: #403b36;
}

.nav-links a:hover,
.pill-link:hover {
  background: #efe5d8;
}

.hero {
  min-height: 68vh;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 15, 14, .18), rgba(16, 15, 14, .72)),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 58px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
}

.hero p {
  max-width: 660px;
  margin: 20px 0 0;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.button.dark {
  border-color: transparent;
  background: var(--ink);
  color: #fff;
}

.main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 58px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(42, 31, 20, .08);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.card h3 a:hover {
  color: var(--accent);
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1e6da;
  color: #5c4532;
  font-size: 12px;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 86px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 28px rgba(42, 31, 20, .07);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid #eee5da;
  color: #4c4540;
  font-weight: 750;
}

.post {
  padding-bottom: 30px;
}

.post-section {
  scroll-margin-top: 110px;
  margin-bottom: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.post-section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 38px);
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.brand-item {
  padding: 14px;
  border: 1px solid #eadfd4;
  border-radius: var(--radius);
  background: #fcfaf7;
}

.brand-item b {
  display: block;
  margin-bottom: 4px;
}

.beer-list {
  margin: 18px 0 0;
  padding: 0;
  columns: 2;
  column-gap: 34px;
  list-style: none;
}

.beer-list li {
  break-inside: avoid;
  margin: 0 0 10px;
  min-height: 58px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: #fcfaf7;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.item-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.item-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.25;
}

.item-volume {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.25;
}

.price {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-height: 28px;
  margin-left: auto;
  padding-top: 1px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.price::before {
  content: none;
}

.price::after {
  content: "₺";
  margin-left: 4px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 950;
}

.note {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent-2);
  background: #edf6f4;
  color: #2d4f4c;
  font-weight: 700;
}

.category-copy {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.category-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}

.category-copy h3 {
  margin: 24px 0 7px;
  font-size: 19px;
  line-height: 1.35;
}

.category-copy p {
  margin: 0 0 12px;
  color: #514b46;
}

.category-copy a {
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.related-topics a {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #403b36;
  font-size: 13px;
  text-decoration: none;
}

.related-topics a:hover {
  border-color: var(--accent);
  background: #f7eee4;
}

.ad-wrap {
  width: min(100% - 48px, 1180px);
  margin: 26px auto 0;
}

.ad-space {
  min-height: 112px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(42, 31, 20, .07);
}

.ad-copy {
  display: grid;
  gap: 3px;
}

.ad-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ad-copy strong {
  font-size: 19px;
  line-height: 1.3;
}

.ad-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ad-contact {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease;
}

.ad-contact:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.footer {
  margin-top: 50px;
  padding: 34px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.top-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.legal {
  margin-top: 16px;
  font-size: 13px;
}

@media (max-width: 920px) {
  .nav {
    position: relative;
    align-items: center;
    flex-direction: row;
  }

  .nav-tools {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid,
  .brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav,
  .main,
  .hero-inner {
    width: min(100% - 28px, 1180px);
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    min-height: 72vh;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .brand-list,
  .beer-list {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .beer-list li {
    align-items: flex-start;
  }

  .price {
    margin-left: auto;
    text-align: right;
  }

  .post-section {
    padding: 20px;
  }

  .recipe-grid {
    grid-template-columns: 1fr;
  }

  .legal-page {
    width: min(100% - 28px, 860px);
    padding: 36px 0;
  }

  .ad-wrap {
    width: min(100% - 28px, 1180px);
    margin-top: 18px;
  }

  .ad-space {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .ad-contact {
    width: 100%;
    text-align: center;
  }
}
