/* HaberTanık ana sayfa (2 Ara 2026) — kardeş sitelerle ortak ana sayfa tasarımı.
   Renk/gölge/köşe/geçiş değişkenleri ht-2026.css'ten gelir (--ht-*); koyu temada kendiliğinden koyu.
   Yalnız index.php yükler (?v=filemtime). */

/* ─── Manşet sağı: 1 büyük + 2×2 resimli kart, başlıklar görselin ÜZERİNDE (mx-grid) ─── */
@media all {
    .manset-sidebar-list.mx-grid {
        display: grid !important; grid-template-columns: 1fr 1fr; grid-template-rows: 1.35fr 1fr 1fr; gap: 8px;
        background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
        overflow: visible !important; padding: 0 !important; max-height: none !important; min-height: 0;
    }
    .mx-card { position: relative; display: block; min-height: 0; border-radius: var(--ht-r-sm); overflow: hidden; background: var(--ht-ink);
        color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--ht-sh); transition: transform .35s var(--ht-ease), box-shadow .35s var(--ht-ease); }
    .mx-card:first-child { grid-column: 1 / -1; }
    .mx-card__img, .mx-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
    .mx-card__img img { object-fit: cover; transition: transform .8s var(--ht-ease); }
    .mx-card:first-child .mx-card__img img { animation: mxKen 18s ease-in-out infinite alternate; }
    .mx-card::after { content: ""; position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(180deg, rgba(2,6,23,0) 30%, rgba(2,6,23,.55) 62%, rgba(2,6,23,.92) 100%); }
    .mx-card::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 40%;
        background: linear-gradient(105deg, transparent, rgba(255,255,255,.22), transparent); transform: translateX(-160%) skewX(-18deg); pointer-events: none; }
    .mx-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 10px 12px 11px; display: flex; flex-direction: column; gap: 6px; }
    .mx-card:first-child .mx-card__body { padding: 14px 16px 15px; gap: 8px; }
    .mx-live { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: mxPulse 1.6s ease-out infinite; }
    .mx-title { margin: 0; font-size: 13.5px; line-height: 1.3; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45);
        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .mx-card:first-child .mx-title { font-size: 17px; -webkit-line-clamp: 2; }
    .mx-time { font-size: 11px; color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 5px; }
    .mx-card:hover, .mx-card:focus-visible { transform: translateY(-3px); box-shadow: var(--ht-sh-h); color: #fff; }
    .mx-card:focus-visible { outline: 3px solid var(--cat-accent, var(--ht-red)); outline-offset: 2px; }
    .mx-card:hover .mx-card__img img { transform: scale(1.07); }
    .mx-card:hover::before { transform: translateX(360%) skewX(-18deg); transition: transform .9s var(--ht-ease); }
    .mx-ad { grid-column: 1 / -1; text-align: center; }
    @keyframes mxKen { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -2%); } }
    @keyframes mxPulse { 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
}
@media (prefers-reduced-motion: reduce) {
    .mx-card, .mx-card__img img, .mx-card::before { transition: none !important; animation: none !important; transform: none !important; }
    .mx-live { animation: none; }
}
@media (hover: none) { .mx-card:hover, .mx-card:hover .mx-card__img img { transform: none; } .mx-card::before { display: none; } }
/* Mobil/tablet: bu alan mobilde de görünür — kartlar sabit oranlı */
@media (max-width: 991px) {
    html body .manset-sidebar-list.mx-grid { display: grid !important; grid-template-rows: none !important; width: 100% !important; height: auto !important; margin: 12px 0 0 !important; }
    html body .mx-card { aspect-ratio: 4 / 3; }
    html body .mx-card:first-child { aspect-ratio: 16 / 9; }
    .mx-title { font-size: 14px; }
    .mx-card:first-child .mx-title { font-size: 18px; }
}

/* ─── Seri İlanlar + Firma Rehberi kayan vitrini (vt-row) ─── */
.vt-row { --vt-gap: 16px; }
.vt-row + .vt-row { margin-top: 20px; }
/* Kayan şerit (width:max-content) ana sütunu genişletmesin: iç genişlik sütundan gelir */
.vt-row { min-width: 0; max-width: 100%; }
.vt-track { contain: inline-size; max-width: 100%; }
/* Ana sayfanın son bloğu ile footer arası: gövde dolgusu + footer marjı üst üste binip fazla boşluk yapıyordu */
html body .home-container > section.section-block.vt-row:last-child { margin-bottom: 0 !important; }
main.site-main:has(> .home-container) { padding-bottom: 28px !important; }
main.site-main:has(> .home-container) + .site-footer { margin-top: 0 !important; }
.vt-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ht-mute); white-space: nowrap; }
.vt-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cat-accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--cat-accent) 55%, transparent); animation: vtPulse 1.8s ease-out infinite; }
.vt-track { position: relative; overflow: hidden; margin-top: 14px; padding: 6px 0 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.vt-marquee { display: flex; gap: var(--vt-gap); width: max-content; animation: vtScroll var(--vt-dur, 45s) linear infinite; }
.vt-track--rev .vt-marquee { animation-direction: reverse; }
.vt-marquee [data-vt-copy] { display: contents; }
.vt-track:hover .vt-marquee, .vt-track:focus-within .vt-marquee { animation-play-state: paused; }
.vt-card { position: relative; display: flex; flex-direction: column; width: 230px; flex: 0 0 230px; background: var(--ht-card); border: 1px solid var(--ht-line);
    border-radius: var(--ht-r-sm); box-shadow: var(--ht-sh); overflow: hidden; color: var(--ht-ink); text-decoration: none;
    transition: transform .35s var(--ht-ease), box-shadow .35s var(--ht-ease), border-color .35s var(--ht-ease); }
.vt-card:hover, .vt-card:focus-visible { transform: translateY(-4px); box-shadow: var(--ht-sh-h); border-color: var(--cat-accent); color: var(--ht-ink); }
.vt-card:focus-visible { outline: 2px solid var(--cat-accent); outline-offset: 2px; }
.vt-card__img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--ht-bg); color: var(--ht-mute); font-size: 28px; overflow: hidden; }
.vt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ht-ease); }
.vt-card:hover .vt-card__img img { transform: scale(1.06); }
.vt-card__badge { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; background: var(--cat-accent); }
.vt-card__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; min-width: 0; }
.vt-card__title { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ht-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vt-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: var(--ht-mute); }
.vt-card__price { color: var(--cat-accent); font-size: 15px; font-weight: 800; }
.vt-card--firm { flex-direction: row; align-items: center; width: 290px; flex-basis: 290px; }
.vt-card--firm .vt-card__body { padding: 12px 14px; }
.vt-card__logo { flex: 0 0 72px; height: 72px; margin: 12px 0 12px 12px; display: flex; align-items: center; justify-content: center; border-radius: var(--ht-r-sm); background: var(--ht-bg); color: var(--ht-mute); font-size: 24px; overflow: hidden; }
.vt-card__logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.vt-chip { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--cat-accent) 12%, transparent); color: var(--cat-accent); font-weight: 700; }
.vt-card--cta { justify-content: center; flex-direction: row; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--cat-accent) 10%, var(--ht-card)), var(--ht-card)); border-style: dashed; border-color: color-mix(in srgb, var(--cat-accent) 45%, transparent); }
.vt-cta__icon { flex: 0 0 48px; height: 48px; margin-left: 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cat-accent); color: #fff; font-size: 18px; }
.vt-card--cta:hover .vt-cta__icon { transform: rotate(-8deg) scale(1.06); transition: transform .3s var(--ht-ease); }
:root[data-theme="dark"] .vt-chip { color: color-mix(in srgb, var(--cat-accent) 60%, #fff); }
@keyframes vtScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--vt-gap) / 2)); } }
@keyframes vtPulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 768px) { .vt-card { width: 200px; flex-basis: 200px; } .vt-card--firm { width: 250px; flex-basis: 250px; } .vt-live { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .vt-marquee { animation: none; }
    .vt-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .vt-marquee [data-vt-copy] { display: none; }
    .vt-live__dot { animation: none; }
    .vt-marquee .vt-dup { display: none; }
    .vt-card, .vt-card__img img, .vt-cta__icon { transition: none !important; transform: none !important; }
}
@media (hover: none) {
    .vt-card:hover, .vt-card:hover .vt-card__img img, .vt-card--cta:hover .vt-cta__icon { transform: none; }
}
