/* ==========================================================
   Data Paylaşım — Video & Foto Galeri (medya merkezi)
   site.css değişkenlerini kullanır (--brand, --grad, --surface, --ink ...).
   Önek: .mh-
   ========================================================== */

:root { --mh-video: #E11D48; --mh-gallery: #0891B2; --mh-radius: 16px; }

/* ---------- Kahraman başlık ---------- */
.mh-hero { position: relative; overflow: hidden; color: #fff; background: var(--grad); }
.mh-hero-video { background: radial-gradient(70% 140% at 100% 0%, rgba(225, 29, 72, .55), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(123, 63, 242, .45), transparent 60%), #0B1220; }
.mh-hero-gallery { background: radial-gradient(70% 140% at 100% 0%, rgba(8, 145, 178, .55), transparent 60%), var(--grad); }
.mh-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.5px); background-size: 20px 20px; -webkit-mask: linear-gradient(110deg, transparent 45%, #000); mask: linear-gradient(110deg, transparent 45%, #000); pointer-events: none; }
.mh-hero-inner { position: relative; z-index: 1; padding-top: 26px; padding-bottom: 38px; }
.mh-hero .crumbs { color: rgba(255, 255, 255, .92); }
.mh-hero-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; }
.mh-hero-tile { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font-size: 32px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mh-hero-video .mh-hero-tile { background: var(--mh-video); border-color: transparent; box-shadow: 0 12px 30px rgba(225, 29, 72, .45); }
.mh-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; opacity: .9; margin-bottom: 8px; }
.mh-hero h1 { font-size: clamp(30px, 1.4rem + 2.2vw, 52px); line-height: 1.05; letter-spacing: -0.035em; }
.mh-lead { margin-top: 10px; max-width: 62ch; font-size: 17px; line-height: 1.55; opacity: .92; }
.mh-stats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.mh-stats li { padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: 14px; font-weight: 600; white-space: nowrap; }
.mh-stats strong { display: block; font: 800 24px/1.1 var(--f-head); }

.mh-page { padding-top: 24px; padding-bottom: 72px; }

/* ---------- Kategori çipleri ---------- */
.mh-chips { margin-bottom: 24px; }
.mh-chips ul { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.mh-chips ul::-webkit-scrollbar { display: none; }
.mh-chips li { flex: none; scroll-snap-align: start; }
.mh-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); font: 600 14px/1 var(--f-body); white-space: nowrap; transition: border-color .15s, background-color .15s, color .15s; }
.mh-chips a i { color: var(--cat, var(--brand)); font-size: 13px; }
.mh-chips a:hover { border-color: var(--cat, var(--brand)); color: var(--ink); }
.mh-chips a[aria-current="page"] { background: var(--cat, var(--ink)); border-color: var(--cat, var(--ink)); color: var(--cat-on, var(--surface)); }
.mh-chips a[aria-current="page"] i { color: inherit; }
.mh-chip-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; }
.mh-chips a[aria-current="page"] .mh-chip-n { background: rgba(255, 255, 255, .22); color: inherit; }

/* ---------- Kart ızgarası ---------- */
.mh-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.mh-grid > li { min-width: 0; display: flex; }
.mh-grid > li > .mh-card { width: 100%; }
.mh-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--mh-radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.mh-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cat, var(--brand)) 35%, var(--border)); }
.mh-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.mh-card-link:hover { color: inherit; }
.mh-card-link:focus-visible { outline-offset: -3px; border-radius: var(--mh-radius); }
.mh-card-media { position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.mh-169 { aspect-ratio: 16 / 9; }
.mh-43 { aspect-ratio: 4 / 3; }
.mh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.mh-card:hover .mh-card-media img { transform: scale(1.045); }
.mh-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: var(--cat-on, #fff); background: var(--cat, var(--brand)); }
.mh-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.mh-cat { align-self: flex-start; font: 700 12px/1.2 var(--f-head); color: var(--cat-ink, var(--brand)); letter-spacing: .01em; }
[data-theme="dark"] .mh-cat { color: color-mix(in oklab, var(--cat, var(--brand)) 60%, white); }
.mh-card-title { font: 800 17px/1.3 var(--f-head); letter-spacing: -0.015em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mh-card-link:hover .mh-card-title { color: var(--brand); }
.mh-card-meta { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.mh-card-meta i { font-size: 12px; }

/* Rozetler */
.mh-count, .mh-duration { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: rgba(11, 18, 32, .78); color: #fff; font: 700 12px/1 var(--f-body); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mh-count { left: 10px; top: 10px; }
.mh-count i { font-size: 11px; }
.mh-duration { right: 10px; bottom: 10px; font-variant-numeric: tabular-nums; }
.mh-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: rgba(11, 18, 32, .62); border: 2px solid rgba(255, 255, 255, .9); color: #fff; transition: transform .2s var(--ease), background-color .2s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.mh-play svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.mh-card:hover .mh-play { transform: scale(1.1); background: var(--mh-video); border-color: var(--mh-video); }
.mh-strip .mh-play, .mh-side-media .mh-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }

/* ---------- Galeri detayı ---------- */
.mh-detail-head { max-width: 880px; padding-top: 28px; padding-bottom: 8px; }
.mh-detail-head .crumbs { color: var(--muted); opacity: 1; margin-bottom: 16px; }
.mh-detail-head .crumbs a:hover { color: var(--brand); }
.mh-detail-head .mh-kicker { color: var(--cat-ink, var(--brand)); }
[data-theme="dark"] .mh-detail-head .mh-kicker { color: color-mix(in oklab, var(--cat, var(--brand)) 60%, white); }
.mh-title { font-size: clamp(28px, 1.3rem + 2vw, 46px); line-height: 1.1; letter-spacing: -0.032em; }
.mh-desc { margin-top: 14px; font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 70ch; }
.mh-desc p + p, .mh-desc ul, .mh-desc ol, .mh-desc h2, .mh-desc h3 { margin-top: 12px; }
.mh-desc ul { list-style: disc; padding-left: 22px; }
.mh-desc ol { list-style: decimal; padding-left: 22px; }
.mh-desc h2 { font-size: 22px; }
.mh-desc h3 { font-size: 19px; }
.mh-desc a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.mh-byline { margin-top: 20px; }
.mh-byline .byline-avatar { background: var(--grad); box-shadow: none; color: #fff; }
.mh-byline .byline-name, .mh-byline a.byline-name:hover { color: var(--ink); }
.mh-byline .byline-role { background: var(--surface-2); color: var(--muted); }
.mh-byline .hero-pills, .mh-video-meta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
.mh-byline .hero-pills li, .mh-video-meta li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.mh-byline .hero-pills li:nth-child(n+3), .mh-video-meta li:nth-child(n+3) { display: inline-flex; }
.mh-open-all { margin-left: auto; }

.mh-items-wrap { max-width: 880px; padding-top: 18px; padding-bottom: 32px; }
.mh-items { display: grid; gap: 34px; counter-reset: none; }
.mh-item { scroll-margin-top: 90px; }
.mh-item figure { margin: 0; }
.mh-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--mh-radius); overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.mh-zoom:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.mh-item-img { width: 100%; height: auto; }
.mh-zoom-ico { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(11, 18, 32, .65); color: #fff; font-size: 15px; opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s var(--ease); }
.mh-zoom:hover .mh-zoom-ico, .mh-zoom:focus-visible .mh-zoom-ico { opacity: 1; transform: none; }
@media (hover: none) { .mh-zoom-ico { opacity: 1; transform: none; } }
.mh-cap { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; }
.mh-num { flex: none; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 18px/1 var(--f-head); box-shadow: 0 6px 14px rgba(46, 91, 255, .28); }
.mh-cap-body { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; min-width: 0; }
.mh-cap-text { font-size: 17px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.mh-credit { font-size: 13px; color: var(--muted); }
.mh-end { margin-top: 32px; padding: 16px; border-radius: var(--mh-radius); background: var(--surface); border: 1px dashed var(--border); text-align: center; color: var(--muted); font-weight: 600; }
.mh-end i { color: var(--ok); }
.mh-related { padding-top: 12px; padding-bottom: 72px; }

/* ---------- Işık kutusu ---------- */
html.mh-lb-open { overflow: hidden; }
html.mh-lb-open body { padding-right: var(--mh-sbw, 0px); }
.mh-lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: #05080F; color: #fff; }
.mh-lb[hidden] { display: none; }
.mh-lb.is-shown { animation: mhFade .18s ease-out; }
@keyframes mhFade { from { opacity: 0; } to { opacity: 1; } }
.mh-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.mh-lb-count { font: 700 15px/1 var(--f-body); font-variant-numeric: tabular-nums; letter-spacing: .02em; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.mh-lb-stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); align-items: center; gap: 8px; padding: 0 12px; min-height: 0; }
.mh-lb-fig { margin: 0; height: 100%; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; }
.mh-lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; flex: none; object-fit: contain; border-radius: 6px; opacity: 0; transition: opacity .2s ease; pointer-events: auto; user-select: none; -webkit-user-drag: none; }
.mh-lb-img.is-in { opacity: 1; }
.mh-lb-btn { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .15s, opacity .15s; }
.mh-lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mh-lb-btn:hover { background: rgba(255, 255, 255, .24); }
.mh-lb-btn:focus-visible { outline: 3px solid #9DB2FF; outline-offset: 2px; }
.mh-lb-btn:disabled { opacity: .25; cursor: default; }
.mh-lb-cap { padding: 12px 20px 18px; max-width: 900px; width: 100%; margin: 0 auto; text-align: center; min-height: 64px; }
.mh-lb-text { font-size: 16px; line-height: 1.5; color: #EEF2FA; max-height: 6.2em; overflow-y: auto; }
.mh-lb-credit { margin-top: 4px; font-size: 13px; color: #9AA6BD; }
@media (prefers-reduced-motion: reduce) { .mh-lb.is-shown { animation: none; } .mh-lb-img { transition: none; } }

/* ---------- Video sayfası ---------- */
.mh-video-page { padding-top: 22px; padding-bottom: 72px; }
.mh-crumbs { color: var(--muted); opacity: 1; margin-bottom: 16px; }
.mh-crumbs a:hover { color: var(--brand); }
.mh-video-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.mh-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--mh-radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.mh-yt { position: absolute; inset: 0; display: block; color: #fff; cursor: pointer; }
.mh-yt:hover { color: #fff; }
.mh-yt-thumb { width: 100%; height: 100%; object-fit: cover; }
.mh-yt-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .45)); }
.mh-yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; transition: transform .2s var(--ease); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .4)); }
.mh-yt-play svg { width: 100%; height: 100%; display: block; }
.mh-yt-bg { fill: #212121; fill-opacity: .82; transition: fill .2s, fill-opacity .2s; }
.mh-yt:hover .mh-yt-bg, .mh-yt:focus-visible .mh-yt-bg { fill: #FF0033; fill-opacity: 1; }
.mh-yt:hover .mh-yt-play { transform: scale(1.06); }
.mh-yt:focus-visible { outline: 4px solid var(--brand); outline-offset: -4px; }
.mh-duration-lg { right: 14px; bottom: 14px; font-size: 13px; padding: 6px 10px; }
.mh-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mh-privacy { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.mh-video-head { margin-top: 18px; }
.mh-video-head .mh-kicker { color: var(--mh-video); }
[data-theme="dark"] .mh-video-head .mh-kicker { color: #FF6B8B; }
.mh-video-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.mh-video-meta li { display: inline-flex; align-items: center; gap: 6px; }
.mh-video-meta a { color: var(--ink-2); font-weight: 600; }
.mh-video-meta a:hover { color: var(--brand); }
.mh-video-desc { max-width: none; margin-top: 18px; padding: 20px 22px; border-radius: var(--mh-radius); background: var(--surface); border: 1px solid var(--border); font-size: 16px; }
.mh-video-side { position: sticky; top: 88px; }
.mh-video-side .block-head { margin-bottom: 14px; }
.mh-side-list { display: grid; gap: 10px; }
.mh-side-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px; border-radius: 14px; transition: background-color .15s; }
.mh-side-item:hover { background: var(--surface); color: inherit; }
.mh-side-media { position: relative; display: block; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.mh-side-media img { width: 100%; height: 100%; object-fit: cover; }
.mh-side-media .mh-duration { right: 6px; bottom: 6px; padding: 3px 6px; font-size: 11px; }
.mh-side-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mh-side-title { font: 700 14px/1.35 var(--f-head); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mh-side-item:hover .mh-side-title { color: var(--brand); }
.mh-side-cat { font-size: 12px; color: var(--muted); }
.mh-side-more { margin: 14px 0 0; }

/* ---------- Ana sayfa bölümleri ---------- */
.mh-band { background: #0B1220; color: #EEF2FA; padding: 40px 0 44px; margin: 8px 0 40px; position: relative; overflow: hidden; }
.mh-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 100% 0%, rgba(225, 29, 72, .28), transparent 60%), radial-gradient(40% 100% at 0% 100%, rgba(123, 63, 242, .25), transparent 60%); pointer-events: none; }
[data-theme="dark"] .mh-band { background: #060A14; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mh-band > .wrap { position: relative; }
.mh-band .block-title { color: #fff; }
.mh-band .block-title::before { background: linear-gradient(135deg, #E11D48, #7B3FF2); }
.mh-band .more-link { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.mh-band .more-link:hover { border-color: #fff; color: #fff; }
.mh-band-sub { color: #9AA6BD; font-size: 14px; }
.mh-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mh-row > li { min-width: 0; display: flex; }
.mh-row > li > .mh-card { width: 100%; }
.mh-band .mh-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.mh-band .mh-card:hover { border-color: rgba(255, 255, 255, .28); }
.mh-band .mh-card-title { color: #fff; }
.mh-band .mh-card-link:hover .mh-card-title { color: #C9D6FF; }
.mh-band .mh-card-meta { color: #9AA6BD; }
.mh-band .mh-cat { color: color-mix(in oklab, var(--cat, #6E8DFF) 55%, white); }
.mh-home-gal { padding-bottom: 40px; }
.mh-home-gal .mh-grid { gap: 20px; }

/* ---------- Kategori sayfası şeridi ---------- */
.mh-strip { margin-top: 36px; padding: 20px; border-radius: var(--r-lg, 22px); background: var(--surface); border: 1px solid var(--border); }
.mh-strip + .mh-strip { margin-top: 18px; }
.mh-strip .block-head { margin-bottom: 14px; }
.mh-strip .block-title { font-size: 19px; }
.mh-strip-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mh-strip-row > li { min-width: 0; display: flex; }
.mh-strip-row > li > .mh-card { width: 100%; box-shadow: none; }
.mh-strip .mh-card-body { padding: 10px 12px 12px; }
.mh-strip .mh-card-title { font-size: 15px; -webkit-line-clamp: 2; }
.mh-strip .mh-card-meta { display: none; }

/* ---------- Boş durum ---------- */
.mh-empty { padding: 48px 24px; }
.mh-empty-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--surface-2); color: var(--brand); font-size: 26px; margin-bottom: 14px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
    .mh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mh-video-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
    .mh-side-item { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 960px) {
    .mh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .mh-hero-row { grid-template-columns: auto minmax(0, 1fr); }
    .mh-stats { grid-column: 1 / -1; justify-content: flex-start; }
    .mh-video-layout { grid-template-columns: minmax(0, 1fr); }
    .mh-video-side { position: static; }
    .mh-side-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mh-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
    .mh-row > li { flex: 0 0 min(300px, 72vw); scroll-snap-align: start; }
}
@media (max-width: 640px) {
    .mh-hero-inner { padding-top: 18px; padding-bottom: 26px; }
    .mh-hero-tile { width: 56px; height: 56px; border-radius: 16px; font-size: 22px; }
    .mh-hero-row { gap: 14px; align-items: start; }
    .mh-lead { font-size: 15px; }
    .mh-stats li { padding: 8px 12px; }
    .mh-stats strong { font-size: 19px; }
    .mh-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .mh-card-title { font-size: 16px; }
    .mh-home-gal .mh-grid, .mh-related .mh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .mh-home-gal .mh-card-body, .mh-related .mh-card-body { padding: 10px 12px 12px; }
    .mh-home-gal .mh-card-title, .mh-related .mh-card-title { font-size: 14px; }
    .mh-home-gal .mh-card-meta, .mh-related .mh-card-meta { display: none; }
    .mh-items { gap: 26px; }
    .mh-zoom, .mh-player { border-radius: 12px; }
    .mh-num { min-width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
    .mh-cap { gap: 10px; }
    .mh-cap-body { padding-top: 5px; }
    .mh-cap-text { font-size: 16px; }
    .mh-desc { font-size: 16px; }
    .mh-open-all { margin-left: 0; width: 100%; }
    .mh-side-list { grid-template-columns: minmax(0, 1fr); }
    .mh-strip { padding: 16px; }
    .mh-strip-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; scrollbar-width: thin; }
    .mh-strip-row > li { flex: 0 0 min(240px, 70vw); scroll-snap-align: start; }
    .mh-band { padding: 30px 0 32px; }
    .mh-lb-stage { grid-template-columns: minmax(0, 1fr); padding: 0; }
    .mh-lb-prev, .mh-lb-next { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; z-index: 2; background: rgba(0, 0, 0, .45); }
    .mh-lb-prev { left: 8px; }
    .mh-lb-next { right: 8px; }
    .mh-lb-img { border-radius: 0; }
    .mh-lb-cap { padding: 10px 16px 16px; }
    .mh-lb-text { font-size: 15px; }
}

/* Galeri detayı: fotoğraflar ana sütunda, yanda kenar sütunu (views/gallery/show.php) */
.mh-detail-grid { padding-top: 0; }
.mh-detail-grid .mh-items-wrap { max-width: none; min-width: 0; }

/* Ana sayfa haber akışı içi Video/Foto Galeri şeritleri (views/home/index.php) */
.feed-media { grid-column: 1 / -1; border-radius: 18px; padding: 18px 18px 20px; margin: 4px 0; position: relative; overflow: hidden; }
.feed-media-video { background: #0B1220; color: #EEF2FA; }
.feed-media-video::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(225, 29, 72, .25), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(123, 63, 242, .22), transparent 60%); pointer-events: none; }
.feed-media-gallery { background: linear-gradient(135deg, rgba(8, 145, 178, .08), rgba(46, 91, 255, .08)); border: 1px solid var(--border, #E2E7F0); }
.feed-media > * { position: relative; }
.feed-media-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.feed-media-head h2 { margin: 0; font: 800 18px/1.2 var(--f-head, "Plus Jakarta Sans", Inter, sans-serif); display: inline-flex; align-items: center; gap: 9px; }
.feed-media-head h2 i { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 12px; color: #fff; }
.feed-media-video .feed-media-head h2 i { background: linear-gradient(135deg, #E11D48, #7B3FF2); }
.feed-media-gallery .feed-media-head h2 i { background: linear-gradient(135deg, #0891B2, #2E5BFF); }
.feed-media-head a { font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.feed-media-video .feed-media-head a { color: #C9D3FF; }
.feed-media-gallery .feed-media-head a { color: #2E5BFF; }
.feed-media-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feed-media-list.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feed-media-list.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feed-media-list > li { min-width: 0; display: flex; }
.feed-media-list > li > .mh-card { width: 100%; }
.feed-media-video .mh-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #EEF2FA; }
.feed-media-video .mh-card a, .feed-media-video .mh-card h3 { color: #F2F5FB; }
[data-theme="dark"] .feed-media-gallery { background: linear-gradient(135deg, rgba(8, 145, 178, .14), rgba(46, 91, 255, .12)); }
[data-theme="dark"] .feed-media-gallery .feed-media-head a { color: #8EA2FF; }
@media (max-width: 760px) {
    .feed-media { padding: 14px; border-radius: 14px; }
    .feed-media-list.cols-3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
    .feed-media-list.cols-3 > li { scroll-snap-align: start; }
    .feed-media-list.cols-2 { grid-template-columns: 1fr; }
}

/* ================= Foto galeri detayı v2 (views/gallery/show.php) ================= */
.mhg-hero { position: relative; overflow: hidden; background: #0B1220; color: #EEF2FA; }
.mhg-hero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(38px) saturate(1.3); opacity: .38; transform: scale(1.1); }
.mhg-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 18, 32, .96) 0%, rgba(11, 18, 32, .82) 48%, rgba(11, 18, 32, .55) 100%); pointer-events: none; }
.mhg-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-top: 34px; padding-bottom: 40px; }
.mhg-crumbs { margin-bottom: 14px; }
.mhg-crumbs, .mhg-crumbs a { color: #A9B4C8 !important; }
.mhg-crumbs a:hover { color: #fff !important; }
.mhg-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.mhg-chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font: 700 12.5px/1 var(--f-body, Inter, sans-serif); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.mhg-chip-cat { background: var(--cat, #2E5BFF); border-color: transparent; color: var(--cat-on, #fff); }
.mhg-title { margin: 0 0 14px; font: 800 clamp(26px, 3.4vw, 40px)/1.15 var(--f-head, "Plus Jakarta Sans", Inter, sans-serif); color: #fff; letter-spacing: -.01em; }
.mhg-desc { color: #C3CCDD; font-size: 16px; line-height: 1.65; max-width: 62ch; }
.mhg-desc p { margin: 0 0 10px; }
.mhg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 22px; color: #A9B4C8; font-size: 13.5px; }
.mhg-meta i { margin-right: 4px; }
.mhg-by { display: inline-flex; align-items: center; gap: 10px; }
.mhg-by a, .mhg-by strong { color: #fff; font-weight: 700; display: block; text-decoration: none; }
.mhg-by small { display: block; color: #8E9AB2; font-size: 12px; }
.mhg-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #2E5BFF, #7B3FF2); color: #fff; font-weight: 800; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.mhg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mhg-dot { width: 4px; height: 4px; border-radius: 50%; background: #56627A; }
.mhg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mhg-btn-start { background: #fff; color: #0B1220; border: 0; font-weight: 800; height: 46px; padding: 0 22px; border-radius: 12px; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.mhg-btn-start:hover { transform: translateY(-1px); color: #0B1220; }
.mhg-btn-ghost { height: 46px; padding: 0 18px; border-radius: 12px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); font-weight: 700; text-decoration: none; cursor: pointer; }
.mhg-btn-ghost:hover { border-color: #fff; color: #fff; }
.mhg-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16 / 10; }
.mhg-mosaic.is-single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mhg-tile { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #151C2C; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); min-height: 0; }
.mhg-tile-0 { grid-row: 1 / span 2; }
.mhg-mosaic.is-single .mhg-tile-0 { grid-row: auto; }
.mhg-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mhg-tile:hover img { transform: scale(1.04); }
.mhg-tile:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mhg-more { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: rgba(11, 18, 32, .62); color: #fff; font-size: 13px; font-weight: 600; }
.mhg-more strong { display: block; font: 800 30px/1 var(--f-head, "Plus Jakarta Sans", sans-serif); margin-bottom: 4px; }

.mhg-strip { position: sticky; top: 69px; z-index: 20; background: var(--surface, #fff); border-bottom: 1px solid var(--border, #E2E7F0); box-shadow: 0 6px 18px rgba(11, 18, 32, .05); }
.mhg-strip-list { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.mhg-strip-item { position: relative; display: block; width: 92px; height: 60px; border-radius: 10px; overflow: hidden; flex: none; scroll-snap-align: start; outline: 2px solid transparent; outline-offset: 1px; transition: outline-color .15s, opacity .15s; opacity: .7; }
.mhg-strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mhg-strip-item span { position: absolute; left: 5px; bottom: 4px; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 6px; background: rgba(11, 18, 32, .78); color: #fff; font: 800 11px/18px var(--f-body, Inter, sans-serif); text-align: center; }
.mhg-strip-item:hover, .mhg-strip-item.is-current { opacity: 1; outline-color: var(--cat, #2E5BFF); }

.mhg-grid { padding-top: 28px; }
.mhg-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.mhg-item { scroll-margin-top: 170px; }
.mhg-item figure { margin: 0; background: var(--surface, #fff); border: 1px solid var(--border, #E2E7F0); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 30px rgba(11, 18, 32, .06); }
.mhg-item-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.mhg-badge { flex: none; display: inline-flex; align-items: baseline; gap: 3px; padding: 5px 11px; border-radius: 999px; background: var(--cat, #2E5BFF); color: var(--cat-on, #fff); font: 600 12.5px/1 var(--f-body, Inter, sans-serif); }
.mhg-badge strong { font: 800 15px/1 var(--f-head, "Plus Jakarta Sans", sans-serif); }
.mhg-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--border, #E2E7F0); overflow: hidden; }
.mhg-bar i { display: block; height: 100%; background: var(--cat, #2E5BFF); border-radius: 4px; }
.mhg-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #0E1422; cursor: zoom-in; }
.mhg-img { width: 100%; height: auto; display: block; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.mhg-zoom-ico { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(11, 18, 32, .7); color: #fff; font: 700 12px/1 var(--f-body, Inter, sans-serif); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.mhg-zoom:hover .mhg-zoom-ico, .mhg-zoom:focus-visible .mhg-zoom-ico { opacity: 1; transform: none; }
.mhg-cap { padding: 14px 18px 16px; }
.mhg-cap p { margin: 0 0 6px; font-size: 16px; line-height: 1.6; color: var(--ink, #0B1220); }
.mhg-cap small { color: var(--muted, #5A6478); font-size: 12.5px; }
.mhg-cap small i { margin-right: 4px; }

.mhg-end { margin-top: 30px; border-radius: 18px; overflow: hidden; background: #0B1220; color: #EEF2FA; }
.mhg-end-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; flex-wrap: wrap; }
.mhg-end-head > div { flex: 1; min-width: 200px; }
.mhg-end-head strong { display: block; font: 800 17px/1.3 var(--f-head, "Plus Jakarta Sans", sans-serif); color: #fff; }
.mhg-end-head small { color: #A9B4C8; font-size: 13px; }
.mhg-end-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #16A34A, #0891B2); color: #fff; font-size: 16px; }
.mhg-next { position: relative; display: block; min-height: 190px; color: #fff; text-decoration: none; overflow: hidden; }
.mhg-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mhg-next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 18, 32, .92), rgba(11, 18, 32, .2)); }
.mhg-next:hover img { transform: scale(1.04); }
.mhg-next-body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.mhg-next-body small { display: block; color: #C9D3FF; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.mhg-next-body strong { font: 800 20px/1.3 var(--f-head, "Plus Jakarta Sans", sans-serif); }

.mhg-progress { position: fixed; left: 50%; bottom: 18px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px; padding: 9px 16px; border-radius: 999px; background: rgba(11, 18, 32, .9); color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .25s, transform .25s; font: 600 13px/1 var(--f-body, Inter, sans-serif); }
.mhg-progress.is-on { opacity: 1; transform: translate(-50%, 0); }
.mhg-progress i.fas { margin-right: 6px; color: #8EA2FF; }
.mhg-progress-bar { width: 90px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.mhg-progress-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2E5BFF, #7B3FF2); transition: width .3s; }

[data-theme="dark"] .mhg-item figure { background: #111827; border-color: #1F2A40; box-shadow: none; }
[data-theme="dark"] .mhg-cap p { color: #E8EDF7; }
[data-theme="dark"] .mhg-cap small { color: #9AA6BD; }
[data-theme="dark"] .mhg-strip { background: #0B1220; border-color: #1F2A40; }
[data-theme="dark"] .mhg-bar { background: #1F2A40; }
@media (max-width: 900px) {
    .mhg-hero-inner { grid-template-columns: 1fr; gap: 22px; padding-top: 22px; padding-bottom: 26px; }
    .mhg-mosaic { order: -1; aspect-ratio: 16 / 11; gap: 6px; }
    .mhg-tile { border-radius: 12px; }
    .mhg-hero::after { background: linear-gradient(180deg, rgba(11, 18, 32, .55), rgba(11, 18, 32, .95) 45%); }
}
@media (max-width: 640px) {
    .mhg-strip { top: 61px; }
    .mhg-desc { font-size: 15px; }
    .mhg-actions .btn { flex: 1; justify-content: center; }
    .mhg-strip-item { width: 74px; height: 50px; }
    .mhg-item figure { border-radius: 14px; }
    .mhg-zoom-ico { opacity: 1; transform: none; }
    .mhg-progress { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .mhg-tile img, .mhg-next img { transition: none; } }

/* Kategori çipleri: masaüstünde hepsi görünsün (alt satıra geçer), telefonda kaydırılır */
@media (min-width: 768px) {
  .mh-chips ul { flex-wrap: wrap; overflow: visible; padding-bottom: 2px; }
}
@media (max-width: 767px) {
  .mh-chips { position: relative; margin-inline: -16px; }
  .mh-chips ul { padding-inline: 16px; }
  .mh-chips::after { content: ""; position: absolute; top: 0; right: 0; bottom: 6px; width: 28px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--bg, #fff)); }
}
