/* ===============
   Base / Reset-ish
   =============== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif; /* font-family */
  font-size: 18px; /* font-size */
  line-height: 1.6; /* line-height */
  letter-spacing: 0.2px; /* letter-spacing */
  background-color: #f6f1ea; /* background-color */
  color: #241b14; /* color */
}

/* Element selector examples */
h1, h2, h3 {
  margin: 0 0 0.6rem 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem 0;
}

/* ===============
   Layout helpers
   =============== */
.wrap {
  width: min(980px, 92%);
  margin: 0 auto; /* margin */
}

/* ===============
   Header
   =============== */
.site-header {
  background-color: #2f1d14;
  color: #fff;
  padding: 2rem 0;
  text-align: center; /* text-align */
}

.site-kicker {
  margin: 0 0 0.5rem 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1.4px;
  text-transform: uppercase; /* extra: text-transform */
  opacity: 0.9;
}

#recipe-title { /* id selector */
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 800; /* font-weight */
  font-style: normal; /* font-style */
  font-size: 2.2rem;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.25); /* extra: text-shadow */
}

.subtitle {
  margin: 0.5rem auto 1.2rem auto;
  max-width: 60ch;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  word-spacing: 1px; /* extra: word-spacing */
}

.recipe-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.nav-link {
  background-color: #fff;
  color: #2f1d14;
  text-decoration: none; /* extra: text-decoration */
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.nav-link:hover {
  text-decoration: underline;
}

/* ===============
   Card / Sections
   =============== */
.card {
  background-color: #fff;
  margin: 1.5rem 0 2rem 0;
  padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  border-radius: 16px;
}

.section {
  padding: 1rem 0;
  border-top: 1px solid #eee2d8;
}

/* Class selector examples */
.callout {
  background-color: #fff3df;
  padding: 0.8rem;
  border-left: 6px solid #c27a3a;
  border-radius: 8px;
  font-style: italic;
}

/* Hero image and meta row */
.hero {
  padding-bottom: 1rem;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  margin-bottom: 1rem;
}

.meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.meta-box {
  background-color: #f6f1ea;
  padding: 0.8rem;
  border-radius: 12px;
  text-align: center;
}

.meta-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.meta-value {
  margin: 0;
  font-weight: 700;
}

/* Two-column ingredient area */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.subhead {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  margin-top: 0.8rem;
}

/* Lists */
.ingredients {
  list-style-type: square; /* list-style-type */
  list-style-position: outside; /* list-style-position */
  padding-left: 1.2rem;
  margin: 0 0 1rem 0;
}

.steps {
  padding-left: 1.3rem;
  margin: 0;
}

.steps li {
  margin-bottom: 0.8rem;
}

.qty {
  display: inline-block;
  min-width: 3ch;
  font-weight: 700;
}

.temp {
  font-variant: small-caps; /* extra: font-variant */
  letter-spacing: 0.6px;
}

/* Extras section */
.extras .pairings {
  list-style-type: circle;
  padding-left: 1.2rem;
}

.quote {
  margin: 1rem 0 0 0;
  padding: 0.9rem 1rem;
  background-color: #f0e7dd;
  border-radius: 12px;
  font-style: italic;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2.5rem 0;
  background-color: #2f1d14;
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  margin: 0.4rem 0;
}

/* Responsive */
@media (max-width: 780px) {
  .meta {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}