/* 03.11: /practical/ index — photo hero with live figures, grouped topic cards (app/site/pratik-dizin.php) */
.pr-hero { position: relative; isolation: isolate; color: #fff; background: var(--night); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; }
.pr-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.pr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(19 35 63 / .94) 0%, rgb(19 35 63 / .78) 38%, rgb(10 119 128 / .35) 70%, rgb(10 119 128 / .05) 100%),
              linear-gradient(0deg, rgb(19 35 63 / .7) 0%, transparent 45%); }
.pr-hero-in { padding-block: 72px 36px; }
.pr-hero .pr-eye { color: #9fe3e6; }
.pr-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin: .2em 0 .25em; text-wrap: balance; }
.pr-hero .lede { color: rgb(255 255 255 / .88); max-width: 34em; }
.pr-now { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 900px; }
.pr-now a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: #fff;
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .15s; }
.pr-now a:hover, .pr-now a:focus-visible { background: rgb(255 255 255 / .22); }
.pr-now b { font-size: 1.45rem; line-height: 1.1; font-weight: 700; }
.pr-now span { font-size: .86rem; color: rgb(255 255 255 / .82); line-height: 1.3; }

.pr-jump { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px 4px; }
.pr-jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--night); font-weight: 600; font-size: .92rem; text-decoration: none; }
.pr-jump a:hover, .pr-jump a:focus-visible { background: var(--night); color: #fff; border-color: var(--night); }

.pr-grup { scroll-margin-top: 80px; }
.pr-grup-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 18px; }
.pr-grup-h h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.pr-grup-h p { margin: 0; color: var(--ink-2); max-width: 46em; }
.pr-kartlar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pr-kart { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.pr-kart:hover, .pr-kart:focus-visible { transform: translateY(-3px); box-shadow: var(--float); }
.pr-kart--genis { grid-column: span 2; }
.pr-gorsel { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.pr-kart--genis .pr-gorsel { aspect-ratio: 16 / 7.4; }
.pr-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pr-kart:hover .pr-gorsel img { transform: scale(1.05); }
.pr-karo { display: flex; align-items: center; justify-content: center; }
.pr-glif { font-family: var(--f-display); font-weight: 800; font-size: 4.2rem; line-height: 1; color: rgb(255 255 255 / .92); letter-spacing: -.02em; }
.pr-glif--uzun { font-size: 2.6rem; }
.k-sea { background: radial-gradient(120% 140% at 0% 0%, #19a3a8 0%, #0a7780 45%, #0b4e63 100%); }
.k-night { background: radial-gradient(120% 140% at 100% 0%, #3b5a8f 0%, #13233f 60%); }
.k-tuff { background: radial-gradient(120% 140% at 0% 100%, #f3b48b 0%, #d9825a 50%, #a8503a 100%); }
.k-ok { background: radial-gradient(120% 140% at 100% 100%, #3fc18a 0%, #148a5b 55%, #0c5a3c 100%); }
.k-red { background: radial-gradient(120% 140% at 0% 0%, #f0566b 0%, #c8102e 55%, #7d0a1d 100%); }
.k-amber { background: radial-gradient(120% 140% at 100% 0%, #f2c14e 0%, #c98a12 55%, #7a5200 100%); }
.pr-govde { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.pr-govde strong { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.2; color: var(--night); }
.pr-ozet { color: var(--ink-2); font-size: .93rem; line-height: 1.45; }
.pr-rakam { font-family: var(--f-mono); font-size: .85rem; color: var(--sea); font-weight: 700; }
.pr-govde .tag { margin-top: auto; align-self: flex-start; }

.pr-kredi { padding-block: 8px 40px; color: var(--ink-2); font-size: .8rem; }
.pr-kredi h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; color: var(--ink-2); }
.pr-kredi ul { margin: 0; padding-left: 1.1em; columns: 2; column-gap: 32px; }
.pr-kredi li { break-inside: avoid; margin-bottom: 2px; }
.pr-kredi a { color: inherit; }

@media (max-width: 1000px) {
  .pr-kartlar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-now { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pr-hero { min-height: 0; }
  .pr-hero-in { padding-block: 56px 24px; }
  .pr-kartlar { grid-template-columns: minmax(0, 1fr); }
  .pr-kart--genis { grid-column: auto; }
  .pr-kart--genis .pr-gorsel { aspect-ratio: 16 / 10; }
  .pr-kredi ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .pr-kart, .pr-gorsel img { transition: none; } .pr-kart:hover { transform: none; } .pr-kart:hover .pr-gorsel img { transform: none; } }

/* 03.11: topic pages — band on top (pratik_bant) with the heading card riding over its lower edge */
.pr-bant { position: relative; margin: 0; height: clamp(220px, 34vw, 380px); overflow: hidden; isolation: isolate; }
.pr-bant:not(.pr-bant--karo) { background: var(--night); }
.pr-bant-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; z-index: -2; }
.pr-bant::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(19 35 63 / .05) 0%, rgb(19 35 63 / .15) 55%, rgb(19 35 63 / .55) 100%), linear-gradient(90deg, rgb(10 119 128 / .25), transparent 60%); }
.pr-bant figcaption { position: absolute; left: 0; right: 0; top: 10px; text-align: right; }
.pr-bant-kredi { font-size: .72rem; color: rgb(255 255 255 / .85); text-shadow: 0 1px 2px rgb(0 0 0 / .6); }
.pr-bant-kredi a { color: inherit; }
.pr-bant--karo { display: flex; align-items: center; justify-content: flex-end; padding-right: max(16px, calc((100% - 1120px) / 2)); }
.pr-bant--karo::after { background: none; }
.pr-bant-glif { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 14vw, 11rem); line-height: 1; color: rgb(255 255 255 / .9); letter-spacing: -.03em; margin-bottom: 60px; }
.pr-konu .page-head { position: relative; margin-top: -96px; background: var(--paper); border-radius: 20px 20px 0 0; padding: 30px 32px 14px; box-shadow: 0 -12px 30px -18px rgb(19 35 63 / .35); }
@media (max-width: 560px) {
  .pr-konu .page-head { margin-top: -48px; padding: 22px 16px 10px; border-radius: 16px 16px 0 0; }
  .pr-bant-glif { margin-bottom: 30px; }
  .pr-bant figcaption { top: auto; bottom: 54px; }
}

/* 03.11: simple horizontal bar charts on topic pages (ferries, Museum Pass) */
.pr-grafik { margin: 18px 0 8px; display: grid; gap: 14px; }
.pr-grafik-satir { display: grid; grid-template-columns: minmax(130px, 220px) 1fr; gap: 6px 16px; align-items: center; }
.pr-grafik-ad { font-weight: 600; color: var(--night); font-size: .95rem; line-height: 1.25; }
.pr-cubuklar { display: grid; gap: 4px; }
.pr-cubuk { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pr-cubuk i { display: block; height: 14px; border-radius: 0 7px 7px 0; background: var(--sea); flex: none; min-width: 3px; }
.pr-cubuk--b i { background: #e0a27e; }
.pr-cubuk--c i { background: var(--night); }
.pr-cubuk span { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
.pr-anahtar { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: .85rem; color: var(--ink-2); }
.pr-anahtar li::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--sea); }
.pr-anahtar li.b::before { background: #e0a27e; }
.pr-anahtar li.c::before { background: var(--night); }
@media (max-width: 560px) { .pr-grafik-satir { grid-template-columns: 1fr; } }
.pr-katla summary { cursor: pointer; color: var(--sea); font-weight: 600; margin: -4px 0 8px; }
.pr-katla[open] summary { margin-bottom: 4px; }
a.pr-grafik-ad { text-decoration: none; }
a.pr-grafik-ad:hover { text-decoration: underline; }
