.sample-recipes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 20px;
}

.recipe-card {
  --recipe-card-padding: clamp(14px, 2.6vw, 22px);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.recipe-card > summary {
  display: grid;
  gap: 10px;
  padding: var(--recipe-card-padding);
  border-radius: inherit;
  list-style: none;
  cursor: pointer;
}

.recipe-card > summary::-webkit-details-marker {
  display: none;
}

.recipe-card > summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.recipe-card-title {
  font: 400 clamp(20px, 2.4vw, 26px)/1.25 Outfit, sans-serif;
}

.recipe-card .sample-counts,
.recipe-card-action {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.recipe-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.recipe-card-icon {
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.recipe-card[open] .recipe-card-icon {
  transform: rotate(225deg);
}

.recipe-card .recipe-collapse,
.recipe-card[open] .recipe-expand {
  display: none;
}

.recipe-card[open] .recipe-collapse {
  display: inline;
}

.recipe-card-body {
  display: grid;
  gap: 16px;
  margin-inline: var(--recipe-card-padding);
  padding-block: 18px var(--recipe-card-padding);
  border-top: 1px solid var(--line);
}

.recipe-card-body h3 {
  margin: 0 0 6px;
  font: 400 19px/1.3 Outfit, sans-serif;
}

.recipe-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.v5-content .recipe-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recipe-downloads a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-content: start;
  gap: 4px 6px;
  height: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  text-decoration: none;
}

.recipe-downloads a::after {
  content: "";
  grid-area: 1 / 2;
  align-self: center;
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v8m-3-3 3 3 3-3M2 10v3h12v-3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.recipe-downloads a > span {
  grid-column: 1 / -1;
}

.recipe-excel-download {
  grid-column: 1 / -1;
}

.recipe-excel-download a {
  background: color-mix(in srgb, var(--orange) 10%, transparent);
}

.recipe-downloads a:hover,
.recipe-downloads a:focus-visible {
  border-color: var(--orange);
}

.recipe-downloads strong {
  font-size: 14px;
}

.recipe-downloads span,
.v5-content .recipe-gallery-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.v5-content .recipe-gallery-note {
  max-width: 82ch;
  margin-top: 8px;
}

.v5-content .recipe-gallery-summary {
  max-width: 85ch;
  margin: 20px 0 0;
  font-weight: 600;
  line-height: 1.65;
}

.v5-content .sample-recipes .screen-image-button img {
  aspect-ratio: 2.8;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 620px) {
  .sample-recipes {
    grid-template-columns: 1fr;
  }
}

.recipe-language {
  display: none;
}

[data-recipe-language="tr"] .recipe-language[data-language="tr"],
[data-recipe-language="en"] .recipe-language[data-language="en"] {
  display: block;
  min-height: 100vh;
  color: #282322;
  background: #f6f4ef;
  font: 400 16px/1.6 "DM Sans", sans-serif;
}

body:has(.recipe-page) {
  margin: 0;
}

.recipe-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(22px, calc((100% - 960px) / 2));
  background: #141210;
  color: #fff4e8;
}

.recipe-nav img {
  display: block;
  width: 114px;
  max-height: 34px;
}

.recipe-nav a,
.recipe-page a {
  color: inherit;
  text-underline-offset: 4px;
}

.recipe-page {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: 25px 0 48px;
}

.recipe-page-intro {
  padding: 14px 0 27px;
}

.recipe-page-intro nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.recipe-page h1,
.recipe-page h2,
.recipe-page h3 {
  margin: 0 0 9px;
  font-family: Outfit, sans-serif;
  line-height: 1.15;
  font-weight: 600;
}

.recipe-page h1,
.recipe-page h2 {
  font-size: clamp(28px, 5vw, 38px);
}

.recipe-page h3 {
  font-size: 20px;
}

.recipe-document {
  margin: 0 0 24px;
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid #dcd4c9;
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 18px;
}

.recipe-document section {
  margin-top: 22px;
}

.recipe-document p,
.recipe-document ul,
.recipe-document ol {
  margin: 0;
}

.recipe-document ul,
.recipe-document ol {
  padding-left: 21px;
}

.recipe-document li + li {
  margin-top: 5px;
}

.recipe-document .recipe-label {
  margin-bottom: 12px;
  color: #914514;
  font: 500 12px/1.4 "JetBrains Mono", monospace;
  letter-spacing: .06em;
}

.recipe-document table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 13px;
  text-align: left;
}

.recipe-document th,
.recipe-document td {
  border-top: 1px solid #e4ddd4;
  padding: 8px 8px 8px 0;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.recipe-document th {
  width: 34%;
  font-weight: 600;
}

.recipe-document .recipe-note {
  margin-top: 24px;
  color: #665a50;
  font-size: 14px;
}

[data-recipe-screen] .recipe-page {
  padding: 24px 0 0;
}

[data-recipe-screen] .recipe-page-intro,
[data-recipe-screen] .recipe-document section:nth-of-type(n+3),
[data-recipe-screen] .recipe-note,
[data-recipe-screen="maliyet"] .recipe-document[data-recipe="kalite"],
[data-recipe-screen="kalite"] .recipe-document[data-recipe="maliyet"] {
  display: none;
}

[data-recipe-screen] .recipe-document {
  padding: 24px 30px;
}

[data-recipe-screen] .recipe-document section {
  margin-top: 15px;
}

[data-recipe-screen] .recipe-document th,
[data-recipe-screen] .recipe-document td {
  padding-top: 6px;
  padding-bottom: 6px;
}

@media print {
  .recipe-nav,
  .recipe-page-intro {
    display: none;
  }

  .recipe-page {
    width: 100%;
  }

  .recipe-document {
    page-break-before: always;
    border: none;
    padding: 0;
  }

  .recipe-document:first-of-type {
    page-break-before: auto;
  }
}
