/* Yaren Özkök Tema · DiyetBlog · v0.1.0 */

.ybg {
  margin: 0 24px;
  padding: 60px 32px 100px;
}
.ybg-ic {
  display: grid;
  grid-template-columns: minmax(0, 841fr) minmax(280px, 390fr);
  gap: 60px;
  align-items: start;
  max-width: 1313px;
  margin: 0 auto;
}

/* ── GİRİŞ ── */
.ybg-bas { margin-bottom: 32px; }
.ybg-ust {
  display: block;
  margin-bottom: 24px;
  color: #355E54;
  font-family: var(--yz-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ybg-h2 {
  margin: 0;
  color: #1B2E28;
  font-family: var(--yz-font);
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.033em;
  text-wrap: balance;
}
.ybg-metin {
  max-width: 62ch;
  margin: 24px 0 0;
  color: #333;
  font-family: var(--yz-font);
  font-size: 16px;
  line-height: 1.6;
}
.ybg-h2 + .ybg-metin { margin-top: 20px; }

/* ── KART ── */
.ybg-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ybk {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 22px;
  border-radius: 12px;
  background: #E6F1EC;
  transition: background .2s var(--yz-ease);
}
.ybk:hover { background: #DDEBE4; }

.ybk-gorsel {
  aspect-ratio: 1200 / 630;
  border-radius: 8px;
  overflow: hidden;
  background: #D6E6DF;
}
.ybk-gorsel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--yz-ease);
}
.ybk:hover .ybk-gorsel img { transform: scale(1.035); }
.ybk-gorsel.is-bos { display: flex; align-items: center; justify-content: center; }
.ybk-gorsel.is-bos img { width: 38%; height: auto; object-fit: contain; opacity: .55; }

.ybk-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 18px;
  color: #2F6F5E;
  font-family: var(--yz-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.ybk-meta time,
.ybk-kat { display: inline-flex; align-items: center; gap: 6px; }
.ybk-meta svg { flex-shrink: 0; }
.ybk-kat {
  position: relative;
  z-index: 2;
  color: #2F6F5E;
  text-decoration: none;
}
.ybk-kat:hover { color: #1E4D40; text-decoration: underline; text-underline-offset: 3px; }

.ybk-baslik {
  margin: 12px 0 0;
  font-family: var(--yz-font);
  font-size: clamp(19px, 1.5vw, 21px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.ybk-baslik a { color: #1B2E28; text-decoration: none; }
.ybk-baslik a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 12px;
}
.ybk-baslik a:focus-visible { outline: none; }
.ybk:has(.ybk-baslik a:focus-visible) { outline: 2px solid #2F6F5E; outline-offset: 3px; }

.ybk-ozet {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: #3A4F47;
  font-family: var(--yz-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.ybk-devam {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  color: #2F6F5E;
  font-family: var(--yz-font);
  font-size: 14px;
  font-weight: 600;
}
.ybk-devam svg { transition: transform .2s var(--yz-ease); }
.ybk:hover .ybk-devam svg { transform: translateX(3px); }

/* ── BOŞ / BUTON ── */
.ybg-bos {
  padding: 40px 32px;
  border: 1px dashed #C9DCD4;
  border-radius: 12px;
  background: #F7FBF9;
  text-align: center;
}
.ybg-bos p {
  max-width: 48ch;
  margin: 0 auto;
  color: #333;
  font-family: var(--yz-font);
  font-size: 16px;
  line-height: 1.6;
}
.ybg-bos .ybg-btn { margin-top: 20px; }

.ybg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid #2F6F5E;
  border-radius: 8px;
  background: #2F6F5E;
  color: #fff;
  font-family: var(--yz-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.ybg-btn:hover { background: #1E4D40; border-color: #1E4D40; color: #fff; }
.ybg-btn:focus-visible { outline: 2px solid #1E4D40; outline-offset: 3px; }

.ybg .pagination { margin-top: 40px; }

/* ── KENAR ── */
.ybg-yan { display: grid; gap: 24px; }

.ybg-ara .ykn-baslik { display: block; }
.ybg-ara-satir { display: flex; gap: 8px; }
.ybg-ara-satir input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #DDE7E3;
  border-radius: 8px;
  background: #fff;
  color: #1E4D40;
  font-family: var(--yz-font);
  font-size: 15px;
  transition: border-color .18s;
}
.ybg-ara-satir input[type="search"]::placeholder { color: #5E7A70; }
.ybg-ara-satir input[type="search"]:focus { border-color: #2F6F5E; outline: 2px solid rgba(47, 111, 94, .25); outline-offset: 1px; }
.ybg-ara-satir button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #2F6F5E;
  color: #fff;
  font-family: var(--yz-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s;
}
.ybg-ara-satir button:hover { background: #1E4D40; }
.ybg-ara-satir button:focus-visible { outline: 2px solid #1E4D40; outline-offset: 2px; }

.ybg-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0 0 0 20px;
  counter-reset: none;
}
.ybg-toc li { padding-left: 4px; color: #2F6F5E; font-family: var(--yz-font); font-size: 14px; font-weight: 600; }
.ybg-toc li::marker { color: #6F8F84; font-weight: 600; }
.ybg-toc a {
  display: block;
  padding: 6px 0;
  color: #2F6F5E;
  line-height: 1.4;
  text-decoration: none;
}
.ybg-toc a:hover { color: #1E4D40; text-decoration: underline; text-underline-offset: 3px; }
.ybg-toc a:focus-visible { outline: 2px solid #1E4D40; outline-offset: 2px; border-radius: 4px; }
.ybg-toc a.is-aktif { color: #1B2E28; }

.ybg-son ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ybg-son li {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.ybg-son-gorsel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  aspect-ratio: 1200 / 630;
  border-radius: 6px;
  overflow: hidden;
  background: #DDEBE4;
}
.ybg-son-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.ybg-son-gorsel img[src$=".svg"] { width: 60%; height: auto; object-fit: contain; opacity: .55; }
.ybg-son-meta {
  display: block;
  margin-bottom: 4px;
  color: #4A6B60;
  font-family: var(--yz-font);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.ybg-son-metin a {
  display: -webkit-box;
  overflow: hidden;
  color: #1B2E28;
  font-family: var(--yz-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.ybg-son-metin a::after { content: ''; position: absolute; inset: 0; }
.ybg-son li:hover a { color: #2F6F5E; }
.ybg-son a:focus-visible { outline: none; }
.ybg-son li:has(a:focus-visible) { outline: 2px solid #1E4D40; outline-offset: 4px; border-radius: 6px; }

.ybg-sayi {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: 999px;
  background: #E6F1EC;
  color: #2F6F5E;
  font-size: 12px;
  line-height: 1.6;
}
.ykn-linkler a[aria-current] { color: #1B2E28; }

/* ── YAZI ── */
.yyz-kapak {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #E6F1EC;
}
.yyz-kapak img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.yyz-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 12px;
  background: #F1F7F4;
}
.yyz-bilgi {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.yyz-bilgi li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1E4D40;
  font-family: var(--yz-font);
  font-size: 14px;
  font-weight: 600;
}
.yyz-bilgi svg { flex-shrink: 0; color: #2F6F5E; }
.yyz-bilgi a { color: #1E4D40; text-decoration: none; }
.yyz-bilgi a:hover { color: #2F6F5E; text-decoration: underline; text-underline-offset: 3px; }

.yyz-paylas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.yyz-paylas-etiket {
  color: #2F6F5E;
  font-family: var(--yz-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.yyz-paylas ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.yyz-paylas a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #DDE7E3;
  border-radius: 50%;
  background: #fff;
  color: #2F6F5E;
  transition: background .18s, color .18s, border-color .18s;
}
.yyz-paylas a:hover { background: #2F6F5E; border-color: #2F6F5E; color: #fff; }
.yyz-paylas a:focus-visible { outline: 2px solid #1E4D40; outline-offset: 2px; }

.ybg-toc--ic { display: none; }

/* ── İÇERİK ── */
.yyz-icerik {
  margin-top: 40px;
  color: #333;
  font-family: var(--yz-font);
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
}
.yyz-icerik > :first-child { margin-top: 0; }
.yyz-icerik p { margin: 0 0 1.1em; text-wrap: pretty; }
.yyz-icerik h2,
.yyz-icerik h3,
.yyz-icerik h4 {
  color: #1B2E28;
  font-family: var(--yz-font);
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
  scroll-margin-top: 112px;
}
.yyz-icerik h2 { margin: 1.9em 0 .6em; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; }
.yyz-icerik h3 { margin: 1.6em 0 .5em; font-size: clamp(20px, 1.7vw, 22px); line-height: 1.3; }
.yyz-icerik h4 { margin: 1.4em 0 .4em; font-size: 18px; line-height: 1.35; }
.yyz-icerik ul,
.yyz-icerik ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.yyz-icerik li { margin: .35em 0; padding-left: .2em; }
.yyz-icerik li::marker { color: #2F6F5E; font-weight: 600; }
.yyz-icerik a { color: #1E4D40; text-decoration: underline; text-decoration-color: rgba(47, 111, 94, .45); text-underline-offset: 3px; }
.yyz-icerik a:hover { color: #2F6F5E; text-decoration-color: currentColor; }
.yyz-icerik strong, .yyz-icerik b { color: #1B2E28; font-weight: 700; }
.yyz-icerik img { max-width: 100%; height: auto; border-radius: 12px; }
.yyz-icerik figure { margin: 2em 0; }
.yyz-icerik figcaption { margin-top: 8px; color: #4A6B60; font-size: 14px; text-align: center; }
.yyz-icerik blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  border-radius: 12px;
  background: #F1F7F4;
  color: #1E4D40;
  font-size: 18px;
}
.yyz-icerik blockquote p:last-child { margin-bottom: 0; }
.yyz-icerik table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.yyz-icerik th, .yyz-icerik td { padding: 10px 14px; border: 1px solid #DDE7E3; text-align: left; vertical-align: top; }
.yyz-icerik th { background: #F1F7F4; color: #1E4D40; font-weight: 600; }
.yyz-icerik hr { margin: 2.4em 0; border: 0; border-top: 1px solid #DDE7E3; }

/* ── TARİF ── */
.ytr-giris { margin-top: 32px; }
.ytr-giris p {
  max-width: 72ch;
  margin: 0 0 12px;
  color: #333;
  font-family: var(--yz-font);
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}
.ytr-giris p:last-child { margin-bottom: 0; }

.ytr-bolum { margin-top: 48px; scroll-margin-top: 112px; }
.ytr-h2 {
  margin: 0 0 20px;
  color: #1B2E28;
  font-family: var(--yz-font);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  scroll-margin-top: 112px;
}

.ytr-malzeme {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 8px 24px;
  border: 1px solid #DDE7E3;
  border-radius: 12px;
  list-style: none;
}
.ytr-malzeme li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed #DDE7E3;
  font-family: var(--yz-font);
  font-size: 16px;
  line-height: 1.45;
}
.ytr-malzeme li:nth-last-child(-n+2):nth-child(odd),
.ytr-malzeme li:last-child { border-bottom: 0; }
.ytr-malzeme-ad { color: #1B2E28; font-weight: 500; }
.ytr-malzeme-miktar { flex-shrink: 0; color: #2F6F5E; font-weight: 600; text-align: right; }

.ytr-adimlar {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ytr;
}
.ytr-adimlar li {
  position: relative;
  min-height: 36px;
  padding: 6px 0 0 52px;
  color: #333;
  font-family: var(--yz-font);
  font-size: 17px;
  line-height: 1.6;
  counter-increment: ytr;
}
.ytr-adimlar li::before {
  content: counter(ytr);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2F6F5E;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ytr-besin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin: 0;
}
.ytr-besin div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding: 16px 14px;
  border-radius: 12px;
  background: #F1F7F4;
  text-align: center;
}
.ytr-besin dt {
  color: #2F6F5E;
  font-family: var(--yz-font);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ytr-besin dd {
  margin: 0;
  color: #1B2E28;
  font-family: var(--yz-font);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ytr-not {
  margin-top: 48px;
  padding: 24px 28px;
  border-radius: 12px;
  background: #1E4D40;
  scroll-margin-top: 112px;
}
.ytr-not-baslik {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: #CFE3DA;
  font-family: var(--yz-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ytr-not p {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--yz-font);
  font-size: 16.5px;
  line-height: 1.7;
}
.ytr-not p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .ytr-malzeme { grid-template-columns: 1fr; padding: 4px 18px; }
  .ytr-malzeme li:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px dashed #DDE7E3; }
  .ytr-malzeme li:last-child { border-bottom: 0; }
  .ytr-giris p { font-size: 17px; }
}

/* ── YASAL ── */
.ybg-ic--tek { grid-template-columns: minmax(0, 841px); justify-content: center; }
.ybg-yan--yapiskan { position: sticky; top: 112px; }
.yyz-guncelleme { margin: 0 0 24px; color: #4A6B60; font-family: var(--yz-font); font-size: 14px; font-weight: 600; }
.yyz-icerik--yasal { margin-top: 0; font-size: 16px; line-height: 1.7; }
.yyz-icerik--yasal h2 { margin-top: 1.8em; font-size: clamp(20px, 1.8vw, 24px); }
.yyz-alt-baslik { color: #1B2E28; font-size: 18px; }
.ybg-toc--ic + .yyz-icerik--yasal { margin-top: 32px; }

/* ── DUYARLI ── */
@media (max-width: 1100px) {
  .ybg-ic { gap: 40px; }
}

@media (max-width: 1000px) {
  .ybg-ic { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .ybg-yan { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
  .ybg-toc--yan { display: none; }
  .ybg-yan--yapiskan { position: static; }
  .ybg-toc--ic {
    display: block;
    margin-top: 24px;
    border: 1px solid #DDE7E3;
    border-radius: 12px;
    background: #F1F7F4;
  }
  .ybg-toc--ic summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 20px;
    color: #1E4D40;
    font-family: var(--yz-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
  }
  .ybg-toc--ic summary::-webkit-details-marker { display: none; }
  .ybg-toc--ic summary svg { transition: transform .2s var(--yz-ease); }
  .ybg-toc--ic[open] summary svg { transform: rotate(180deg); }
  .ybg-toc--ic ol { padding: 0 20px 16px 40px; }
}

@media (max-width: 900px) {
  .ybg { margin: 0 16px; padding: 44px 20px 64px; }
}

@media (max-width: 640px) {
  .ybg-liste { grid-template-columns: 1fr; }
  .yyz-icerik table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .yyz-icerik { font-size: 16.5px; }
}

@media (max-width: 560px) {
  .ybg { padding: 36px 4px 56px; }
  .yyz-meta { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ybk, .ybk-gorsel img, .ybk-devam svg, .yyz-paylas a, .ybg-toc--ic summary svg { transition: none; }
  .ybk:hover .ybk-gorsel img { transform: none; }
}
