/* 01-dergi article pages, copied unchanged from tasarimlar/01-dergi/yazi.css. Keep the two in sync. */
/* ---------- Article pages (/<slug>/) and the article index (/yazilar/) ----------
   Loaded after the home page styles (dergi.css in the prototypes, site.css on the site): it reuses their tokens,
   header, contents overlay, contact bubble, video facade (.vbox/.play), the article cards (.a-row) and the künye.
   A reading page is a calm typographic spread: the headline over a brass rule, one column of text at the
   cover story's measure, and the issue's imprint box (.side) beside it. */
.y{padding:calc(var(--hdr) + clamp(28px,4vw,56px)) 0 clamp(56px,7vw,96px)}
.y-crumb a{color:var(--kul);text-decoration:none;font-family:var(--display);font-size:.875rem;min-height:44px;display:inline-flex;align-items:center;margin-block:-14px}
.y-crumb a:hover{color:var(--kemik);text-decoration:underline;text-decoration-color:var(--pirinc)}
.y-crumb .y-crumb-sep{color:var(--cizgi)}
.y-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end;padding-bottom:clamp(28px,3.4vw,44px);border-bottom:2px solid var(--altin)}
.y-ht{grid-column:1 / span 10}
.y-head.has-im .y-ht{grid-column:1 / span 8}
.y-meta{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0 0 18px;font-size:1rem;font-style:italic;color:var(--kul)}
.y-meta time{font-family:var(--display);font-style:normal;color:var(--pirinc);font-variant-numeric:lining-nums}
.y h1{font-size:clamp(2.6rem,5.2vw,5rem);line-height:.98;letter-spacing:-.02em;max-width:16ch}
.y-stand{font-size:clamp(1.1875rem,1.7vw,1.5rem);line-height:1.45;max-width:38rem;margin:22px 0 0;color:var(--kemik);font-style:italic}
.y-lead{grid-column:9 / span 4;margin:0;align-self:end}
.y-lead img{width:100%;aspect-ratio:4/3;object-fit:cover;filter:saturate(.62) contrast(1.04) brightness(.9)}
.y-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;padding-top:clamp(36px,4.4vw,60px)}
.y-body{grid-column:1 / span 7;max-width:37rem;font-size:1.25rem;line-height:1.66}
.y-body > :first-child{margin-top:0}
.y-body > p:first-child::first-letter,.y-body > .vid:first-child + p::first-letter{font-family:var(--display);float:left;font-size:5.6em;line-height:.78;margin:.06em .1em 0 -.02em;color:var(--pirinc);font-weight:500}
.y-body h2{font-size:clamp(1.75rem,2.6vw,2.25rem);line-height:1.08;margin:1.7em 0 .6em}
.y-body h3{font-family:var(--text);font-style:italic;font-weight:500;font-size:1.3125rem;line-height:1.3;color:var(--pirinc-acik);letter-spacing:0;margin:1.5em 0 .5em}
.y-body h2 + h3{margin-top:.4em}
.y-body ul,.y-body ol{margin:0 0 1.1em;padding:0;list-style:none}
.y-body li{position:relative;padding-left:1.6em;margin-bottom:.55em}
/* Bullets are the two brass squares of the EÖV monogram, one of them. */
.y-body ul > li::before{content:"";position:absolute;left:.15em;top:.68em;width:.3em;height:.3em;background:var(--pirinc)}
.y-body ol{counter-reset:y}
.y-body ol > li{counter-increment:y;padding-left:2.4em}
.y-body ol > li::before{content:counter(y);position:absolute;left:0;top:-.08em;font-family:var(--display);font-size:1.5em;line-height:1.1;color:var(--pirinc);font-variant-numeric:lining-nums}
/* Photos stand between blocks as the panel editor stores them (<img>, no figure), at their own size up to the column width. */
.y-body > img{display:block;width:auto;max-width:100%;height:auto;margin:1.6em 0;filter:saturate(.7) contrast(1.04) brightness(.92)}
/* Two or more photos in a row (App\Cms\ArticleBody): a two-column gallery; each photo opens in the lightbox. */
.y-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:1.2em 0 1.6em}
.y-gallery .clip{display:block;margin:0}
.y-gallery .clip img{aspect-ratio:auto;filter:saturate(.7) contrast(1.04) brightness(.92)}
.y-gallery .clip button:hover img{filter:none}
@media (hover:none),(max-width:820px){.y-gallery{gap:8px}.y-gallery .clip .zoom{display:none}}
.y-body figcaption{margin-top:10px;font-size:.9375rem;line-height:1.45;color:var(--kul);font-style:italic}
.y-body .vid{margin:0 0 1.6em}
.y-body .vbox img{width:100%;height:100%;object-fit:cover;filter:saturate(.7) brightness(.86)}
.y-body .vid figcaption{margin-top:0}
.y-body .vid .yt{display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem;color:var(--kul);font-style:normal}
.y-note{margin:2.4em 0 0;padding-top:18px;border-top:1px solid var(--cizgi);font-size:1rem;line-height:1.5;font-style:italic;color:var(--kul)}
.y-side{grid-column:9 / span 4;position:sticky;top:calc(var(--hdr) + 32px)}
.y-side h2{font-size:1.75rem;margin-bottom:18px;color:var(--pirinc);font-style:italic}
.y-side .y-tel{display:inline-flex;align-items:center;min-height:48px;margin-top:14px;font-family:var(--display);font-size:1.75rem;text-decoration:none;font-variant-numeric:lining-nums;color:var(--kemik)}
.y-side .y-tel:hover{text-decoration:underline;text-decoration-color:var(--pirinc);text-decoration-thickness:1px}
.y-side .btn-gold{width:100%;margin-top:12px}
@media (max-width:980px){
  .y-head{display:block}
  .y-lead{margin-top:28px;max-width:34rem}
  .y-grid{display:block}
  .y-body{max-width:none;font-size:1.1875rem}
  .y-side{position:static;margin-top:44px}
}

/* "Diğer yazılar" under an article and the index: articles without a photo get a typographic tile
   (the title's initial in brass on graphite) instead of a stock photo. */
.y-more{padding-top:clamp(56px,7vw,96px)}
.y-more .sec-head h2{font-size:clamp(2.4rem,4.4vw,4rem)}
.y-more .a-row{margin-top:0;padding-top:0;border-top:0}
/* YouTube thumbnails (hqdefault) carry black bands above and below the 16:9 picture; the 4:3 frame crops them. */
.yt-th{display:block;overflow:hidden}
.yt-th img{transform:scale(1.34)}
.y-ph{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:var(--grafit);font-family:var(--display);font-style:italic;font-size:clamp(4rem,7vw,6rem);line-height:1;color:var(--pirinc);box-shadow:inset 0 0 0 1px rgba(176,141,87,.22)}

/* ---------- Treatment pages (/tedavi/<slug>/): "Diğer tedavi yöntemleri / üniteleri" under the page,
   the same brass-ruled two-column list as the units on the home page. ---------- */
.t-more{padding:clamp(56px,7vw,96px) 0 clamp(72px,9vw,130px)}
.t-more h2{font-size:clamp(2.4rem,4.4vw,4rem);margin-bottom:clamp(20px,3vw,36px)}
.t-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 40px;border-top:2px solid var(--altin)}
.t-list li{display:flex}
.t-list a{flex:1;display:block;padding:16px 0 18px;border-bottom:1px solid rgba(176,141,87,.22);text-decoration:none}
.t-list .t-t{display:block;font-family:var(--display);font-size:1.375rem;line-height:1.15}
.t-list .t-s{display:block;margin-top:4px;color:var(--kul);font-size:1rem;line-height:1.5}
.t-list a:hover .t-t{text-decoration:underline;text-decoration-color:var(--pirinc);text-decoration-thickness:1px;text-underline-offset:.14em}
.t-more .a-more{margin-top:24px}
@media (max-width:980px){
  .t-list{grid-template-columns:1fr}
}

/* ---------- Article index (/yazilar/) ---------- */
.yi{padding:calc(var(--hdr) + clamp(28px,4vw,56px)) 0 clamp(72px,9vw,130px)}
.yi .sec-head h1{grid-column:1 / span 7;font-size:clamp(3rem,6.4vw,6rem);line-height:.95;letter-spacing:-.02em}
.yi .sec-head p{grid-column:9 / span 4;color:var(--kul);margin:0;font-size:1.0625rem}
.yi-list{list-style:none;margin:0;padding:0;border-top:2px solid var(--altin)}
.yi-list a{display:grid;grid-template-columns:9rem minmax(0,1fr) 13rem;gap:24px;align-items:start;padding:26px 0 28px;border-bottom:1px solid var(--cizgi);text-decoration:none}
.yi-list time{font-family:var(--display);color:var(--pirinc);font-size:1.0625rem;font-variant-numeric:lining-nums;padding-top:.45em}
.yi-list h2{font-size:clamp(1.6rem,2.4vw,2.1rem);line-height:1.08}
.yi-list p{color:var(--kul);font-size:1.0625rem;line-height:1.5;margin:8px 0 0;max-width:40rem}
.yi-list .yi-v{display:inline-block;margin-top:8px;font-size:.9375rem;font-style:italic;color:var(--pirinc-acik)}
.yi-list img{width:100%;aspect-ratio:4/3;object-fit:cover;filter:saturate(.6) contrast(1.04) brightness(.9)}
.yi-list a:hover h2{text-decoration:underline;text-decoration-color:var(--pirinc);text-decoration-thickness:1px;text-underline-offset:.14em}
@media (max-width:980px){
  .yi .sec-head{display:block}
  .yi .sec-head p{margin-top:16px}
  .yi-list a{grid-template-columns:minmax(0,1fr) 8.5rem;gap:6px 18px}
  .yi-list time{grid-column:1 / -1;padding-top:0}
  .yi-list .yi-t{grid-column:1}
  .yi-list .yi-im{grid-column:2;grid-row:2}
}
@media (max-width:520px){
  .yi-list a{grid-template-columns:minmax(0,1fr) 6.5rem}
  .yi-list h2{font-size:1.45rem}
  .yi-list p{font-size:1rem}
}

/* ---------- Press archive (/basinda/): every clipping by year, the home page's clip and lightbox ---------- */
.bi-year{margin-top:clamp(40px,5vw,64px);padding-top:clamp(20px,2.4vw,28px);border-top:2px solid var(--altin)}
.bi-year > h2{font-family:var(--display);font-size:clamp(2rem,3.2vw,2.9rem);line-height:1;color:var(--pirinc);font-variant-numeric:lining-nums;margin-bottom:clamp(20px,2.6vw,32px)}
.bi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(28px,3vw,40px) clamp(20px,2.4vw,32px);align-items:start}
.bi-grid .clip{display:block;margin:0}
/* The whole page is shown inside the 3:4 frame (cover cut headlines mid-word) */
.bi-grid .clip img{aspect-ratio:3 / 4;object-fit:contain;object-position:center}
.bi-grid .clip .h{font-size:clamp(1.05rem,1.3vw,1.2rem)}
@media (max-width:980px){
  .bi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:620px){
  .bi-grid{grid-template-columns:1fr 1fr;gap:24px 16px}
  .bi-grid .clip .h{font-size:1rem}
}

/* ---------- Video archive (/videolar/): every video by year, the home page's click-to-load video ---------- */
.vi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(32px,3.4vw,44px) clamp(20px,2.4vw,32px);align-items:start}
.vi-grid .play .pi{left:10px;bottom:10px;padding:10px}
.vi-d{display:block;margin-top:14px;font-style:italic;color:var(--pirinc);font-size:.9375rem}
.vi-grid .vi-d + h3{margin-top:2px}
.vi-grid .vid h3{font-size:clamp(1.15rem,1.5vw,1.35rem)}
@media (max-width:980px){
  .vi-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
  .vi-grid{grid-template-columns:1fr;gap:32px}
}

/* Legibility (2026-11-18): Bodoni Moda's large optical sizes thin the hairlines until H's bar and the drop cap's
   thin stroke vanish on projectors and dim screens. Display text keeps the sturdier opsz 18 at every size
   (the masthead keeps its own opsz 11). */
.y-crumb a,.y-meta time,.y-body > p:first-child::first-letter,.y-body > .vid:first-child + p::first-letter,.y-body ol > li::before,.y-side .y-tel,.y-ph,.t-list .t-t,.yi-list time,.bi-year > h2{font-variation-settings:"opsz" 18}

/* ---------- Legal texts (KVKK Aydınlatma Metni, Çerez Politikası; 2026-11-20) ---------- */
/* A legal text opens plainly: no drop cap. The side box names the data controller; its link leads to the other text. */
.y-legal > p:first-child::first-letter{font:inherit;float:none;margin:0;color:inherit;line-height:inherit}
.y-side dd a{color:var(--kemik)}
.y-other{margin:22px 0 0}
