/* Variables */
:root {
  --paprika-red: #b1121a;
  --paprika-red-dark: #a01017;
  --paprika-red-light: #f9ecea;
  --text: #2d2d2d;
  --muted: #666;
  --border: #e8e0d8;
  --bg: #fffdf9;
  --tan: #f5efe6;
  --white: #ffffff;
  --serif: "Noto Serif", serif;
  --sans: "Murecho", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

/* Nav */
.site-nav {
  background: #fff;
  border-bottom: 3px solid var(--paprika-red);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.site-logo {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--paprika-red);
  text-decoration: none;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;

  a {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition:
      color 0.2s,
      border-color 0.2s;

    &:hover,
    &.active {
      color: var(--paprika-red);
    }
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--paprika-red);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  transition: background 0.2s;

  &:hover {
    background: var(--paprika-red-dark);
  }
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--paprika-red);
  color: var(--paprika-red);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  transition:
    background 0.2s,
    color 0.2s;

  &:hover {
    background: var(--paprika-red);
    color: #fff;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: clamp(320px, 52vh, 520px);
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  display: flex;
  align-items: center;
  padding: 2rem clamp(1.5rem, 6vw, 5rem);
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;

  h1 {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 5vw, 3.5rem);
    color: #fff;
    line-height: 1.2;
    /* max-width: 16ch; */
    margin-bottom: 0.7rem;
    text-align: center;
  }

  p {
    text-align: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    margin-top: 0.5rem;
  }
}

/* .hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}  */

/* Banner Ad */
.banner-ad {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.banner-ad img {
  max-width: min(728px, 100%);
  border-radius: 4px;
}

/* Page wrap */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Section title */
.section-title {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--text);
  margin-bottom: 2rem;
}

/* ── Post tag pill */
/* .post-tag {
  display: inline-block;
  background: var(--paprika-red-light);
  color: var(--paprika-red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.9rem;
} */

/* Feature post */
.feature-post {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  margin-bottom: 4rem;

  img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
  }
}

.feature-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;

  h2 {
    font-family: var(--serif);
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.78;
  }
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.25s,
    transform 0.25s;

  &:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
  }

  img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
  }
}

.card-body {
  padding: 1.3rem 1.4rem 1.6rem;

  h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }

  p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
  }
}

/* Standout block */
.standout {
  background: var(--tan);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 3rem;
  align-items: center;

  img {
    border-radius: 6px;
    width: 100%;
    /* aspect-ratio: 4/3; */
    object-fit: cover;
  }

  h2 {
    font-family: var(--serif);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.78;
  }
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.55);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--white);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  justify-content: center;

  a {
    font-size: 1rem;
    color: var(--border);
    text-decoration: none;
    transition: color 0.2s;

    &:hover {
      color: var(--white);
    }
  }
}

.footer-copy {
  font-size: 1rem;
}

/* Cookie popup */
#cookiePopup {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(32.5rem, 100vw, 45rem);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--paprika-red);
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  z-index: 200;
  transition:
    opacity 0.4s,
    transform 0.4s;

  p {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.6;
  }

  a {
    color: var(--paprika-red);
  }
}

#acceptCookie {
  background: var(--paprika-red);
  border: none;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  margin: 0 auto;

  &:hover {
    background: var(--paprika-red-dark);
  }
}

.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
}
.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Page header */
.page-header {
  background: var(--tan);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: 0.5rem;
}
.page-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto;
}

/* Recipe block */
.recipe-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  margin-bottom: 3.5rem;

  > img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 0;
  }
}

.recipe-inner {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 1rem;
  padding-top: 0rem;

  h2 {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3.5vw, 1.75rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--text);
  }
}

.recipe-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 2rem;
}

/* Recipe section title */
.recipe-section-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

/* Ingredients grid */
.ingredients-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ing-group {
  h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paprika-red);
    margin-bottom: 0.6rem;
  }

  ul {
    list-style: none;
    margin-bottom: 0;
    padding-left: 1rem;
  }

  li {
    font-size: 1rem;
    color: var(--muted);
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }
}

.ing-group li::before {
  content: "·";
  color: var(--paprika-red);
  font-weight: 700;
  flex-shrink: 0;
}

/* Steps */
.steps {
  margin-bottom: 1.5rem;
}

.step {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--paprika-red);
  font-weight: 700;
  line-height: 1.6;
  padding: 0.05rem 0 0 1rem;
}

.step-content {
  h4 {
    font-size: 1rem;
    color: var(--text);
    display: block;
    margin: 0 0 0.25rem 0;
    padding-top: 0;
    font-weight: 600;
  }

  p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.72;
  }
}

/* Article callout */
.article-callout {
  /* background: var(--tan); */
  border: 1px solid var(--border);
  border-left: 4px solid var(--paprika-red);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem 2rem;
  margin-bottom: 4rem;

  h2 {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3.5vw, 1.75rem);
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }

  p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 0.9rem;

    span {
      font-style: italic;
    }
  }

  a {
    margin-top: 1rem;
  }
}

/* Gallery */
.gallery-section {
  margin-bottom: 4rem;

  h3 {
    font-family: var(--serif);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    text-align: center;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;

  img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
  }
}

/* Picnic spot */
.picnic-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 2rem 2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

  h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.75rem;
  }

  p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.78;
    margin-bottom: 1rem;
  }
}

/* Ad (square) */
.square-ad {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.square-ad img {
  max-width: min(300px, 100%);
  border-radius: 6px;
}

/* Promo section */
.reciprocal-section {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 3rem;

  h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    color: var(--text);
    margin-bottom: 0.75rem;
  }

  a {
    color: var(--paprika-red);
    font-weight: 600;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }

  strong {
    color: var(--text);
  }
}

@media (min-width: 760px) {
  .ingredients-wrap.four-col {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (min-width: 680px) {
  .feature-post {
    grid-template-columns: 1fr 1fr;
  }

  .standout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ingredients-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
