﻿/* ==========================================================================
   alt-index.css — Alt/Index.cshtml'e özgü sayfa stilleri
   (Banner, Favori, İçerik kartları, Duyuru, Haber, Video, Modal)
   ========================================================================== */

body {
    padding-top: 0 !important;
}

/* ========== BANNER AÇIKLAMA METNİ ========== */
p.banner-aciklama {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 0, 0, 0.45) !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.3px;
}

/* ========== BANNER KONTROLLER ========== */
#btnBannerDurdur {
    background: none !important;
    border: none !important;
    padding: 2px 6px !important;
    color: white !important;
    cursor: pointer;
    font-size: 1rem;
    -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.8) !important;
}

    #btnBannerDurdur:focus-visible {
        outline: 3px solid #F8B239;
        outline-offset: 2px;
        border-radius: 3px;
    }

.indicator-style-2 div,
.indicator-style-2 i {
    text-shadow: 0 0 15px rgb(0, 0, 0);
    font-weight: bold;
}

.indicator-style-2 .slider-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

    .indicator-style-2 .slider-btn:focus-visible {
        outline: 3px solid #F8B239;
        outline-offset: 2px;
        border-radius: 3px;
    }

.indicator-style-2 .nums {
    padding: 2px 10px;
    border-radius: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    align-items: center;
}

    .indicator-style-2 .nums .current,
    .indicator-style-2 .nums .total {
        color: #fff !important;
        font-weight: 600;
    }

.indicator-style-2 .current {
    font-size: 30px !important;
    line-height: 1;
    white-space: nowrap;
}

.indicator-style-2 .total {
    font-size: 20px !important;
    line-height: 1;
    white-space: nowrap;
}

.indicator-style-2 .flaticon-back,
.indicator-style-2 .flaticon-next {
    color: #fff !important;
    transition: opacity .2s ease;
}

    .indicator-style-2 .flaticon-back:hover,
    .indicator-style-2 .flaticon-next:hover {
        opacity: .85;
    }

/* ========== FAVORİ (Hızlı Erişim) ========== */
.fv-section {
    background: linear-gradient(to bottom, #dce9f7, #eef4fb);
    padding: 14px 16px 6px;
}

    .fv-section > nav {
        max-width: 1140px;
        margin: 0 auto;
        background: #fff;
        border-radius: 14px;
        padding: 16px 18px;
        border: 1px solid #dde3ec;
        box-shadow: 0 2px 12px rgba(11, 53, 88, .08);
    }

.fv-baslik {
    display: none;
}

.fv-grid {
    display: grid;
    gap: 6px;
}

    .fv-grid + .fv-grid {
        margin-top: 6px;
    }

.fv-card {
    background: #f5f8fc;
    border: 1px solid rgba(12, 68, 124, .10);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 14px 6px 12px;
    min-height: 76px;
    text-decoration: none;
    transition: box-shadow .20s cubic-bezier(.22, .68, 0, 1.2), border-color .18s, background .18s;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

    .fv-card:hover {
        background: #fff;
        border-color: rgba(12, 68, 124, .22);
        box-shadow: 0 4px 16px rgba(12, 68, 124, .13), 0 1px 4px rgba(0, 0, 0, .06);
    }

    .fv-card:focus-visible {
        outline: 3px solid #F8B239;
        outline-offset: 3px;
        border-radius: 8px;
    }

.fv-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #0C447C;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

    .fv-icon i {
        font-size: 14px;
        color: #fff;
        transition: color .15s;
    }

.fv-card:hover .fv-icon {
    background: #0a3566;
}

    .fv-card:hover .fv-icon i {
        color: #F8B239;
    }

.fv-lbl {
    font-size: 11px;
    text-transform: none;
    font-weight: 600;
    color: #475569;
    text-align: center;
    line-height: 1.3;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.fv-card:hover .fv-lbl {
    color: #475569;
}

.fv-ext-dot {
    display: none;
}

/* ========== İÇERİK ALANI ========== */
.icerik {
    padding: 8px 16px 24px;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Ortak kart */
.duy-wrap,
.hab-wrap,
.vid-wrap,
.aciklama-wrap {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    border: 1px solid #dde3ec;
    box-shadow: 0 2px 12px rgba(11, 53, 88, .08);
    box-sizing: border-box;
}

/* Bölüm başlığı */
.bolum-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

    .bolum-hd::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        border-radius: 1px;
        background: linear-gradient(to right, #0C447C, #F8B239);
    }

.bolum-sol {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .bolum-sol h2 {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0b3558 !important;
        text-transform: uppercase;
        letter-spacing: .8px;
        margin: 0 !important;
        padding: 0 !important;
        font-family: system-ui, -apple-system, 'Segoe UI', sans-serif !important;
    }

        .bolum-sol h2::after {
            display: none !important;
        }

.bolum-dot {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: #F8B239;
    flex-shrink: 0;
}

.tum-link {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
    margin-left: auto;
}

    .tum-link:hover {
        color: #0b3558;
    }

/* ========== DUYURULAR — Feed Listesi ========== */
.duy-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.duy-row {
    display: flex;
    align-items: center;
    padding: 11px 10px;
    background: #fafcff;
    border: 1px solid #eaeff8;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(11, 53, 88, .04);
    text-decoration: none;
    color: inherit;
    transition: background .15s, box-shadow .15s;
}

    .duy-row:hover {
        background: #e8f1fb;
        box-shadow: 0 2px 8px rgba(11, 53, 88, .12);
    }

    .duy-row:focus-visible {
        outline: 3px solid #E8A020;
        outline-offset: 2px;
        border-radius: 8px;
    }

.duy-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 56px;
    flex-shrink: 0;
}

    .duy-date .day {
        font-size: 34px;
        font-weight: 800;
        line-height: 1;
        color: #0C447C;
        letter-spacing: -.03em;
        font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    }

    .duy-date .mon {
        font-size: 11px;
        font-weight: 700;
        color: #8A5800;
        text-transform: uppercase;
        letter-spacing: .05em;
        margin-top: 2px;
        font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    }

.duy-sep {
    width: 1px;
    align-self: stretch;
    background: #dde5ef;
    margin: 4px 14px;
    flex-shrink: 0;
}

.duy-body {
    flex: 1;
    min-width: 0;
}

.duy-title {
    display: block;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    color: #0a1929 !important;
    letter-spacing: -.01em;
    margin: 0 !important;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

.duy-meta {
    display: block;
    font-size: 11px !important;
    color: #4a6076 !important;
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

.duy-ozet {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #4a6076 !important;
    line-height: 1.5 !important;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

.duy-row::after {
    content: '\f105';
    font-family: FontAwesome;
    font-size: 15px;
    color: transparent;
    margin-left: 10px;
    flex-shrink: 0;
    transition: color .15s;
}

.duy-row:hover::after {
    color: #0C447C;
}

/* ========== HABERLER ========== */
.hab-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.hab-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid rgba(12, 68, 124, .10);
    overflow: hidden;
    background: #f5f8fc;
    text-decoration: none;
    transition: box-shadow .20s cubic-bezier(.22, .68, 0, 1.2), border-color .18s, background .18s;
}

    .hab-item:hover {
        background: #fff;
        border-color: rgba(12, 68, 124, .22);
        box-shadow: 0 4px 16px rgba(12, 68, 124, .13), 0 1px 4px rgba(0, 0, 0, .06);
    }

    .hab-item:focus-visible {
        outline: 3px solid #E8A020;
        outline-offset: 3px;
        border-radius: 12px;
    }

.hab-img {
    height: 140px;
    overflow: hidden;
    background: #dde5f0;
    flex-shrink: 0;
    position: relative;
}

    .hab-img img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

.hab-item:hover .hab-img img {
    transform: scale(1.04);
}

.hab-overlay {
    display: none;
}

.hab-text {
    padding: 10px 12px 12px;
    flex: 1;
}

    .hab-text p {
        font-size: 11px !important;
        color: #4a6076 !important;
        margin-bottom: 4px !important;
        font-family: system-ui, -apple-system, 'Segoe UI', sans-serif !important;
    }

    .hab-text .hab-title {
        display: block;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #0a1929 !important;
        line-height: 1.55 !important;
        letter-spacing: -0.01em;
        margin: 0 !important;
        font-family: system-ui, -apple-system, 'Segoe UI', sans-serif !important;
    }

/* ========== VİDEOLAR ========== */
.vid-grid {
    display: grid;
    gap: 10px;
    width: 100%;
}

.vid-item {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #f8fafc;
    text-decoration: none;
    transition: all .2s ease;
    width: 100%;
}

    .vid-item:hover {
        border-color: #0b3558;
        background: #fff;
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(11, 53, 88, .08);
    }

    .vid-item:focus-visible {
        outline: 3px solid #F8B239;
        outline-offset: 3px;
        border-radius: 8px;
    }

.vid-grid.vid-multi .vid-thumb {
    height: 130px;
}

    .vid-grid.vid-multi .vid-thumb img {
        height: 130px;
        object-fit: cover;
    }

.vid-thumb {
    background: #0b3558;
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .vid-thumb img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

.vid-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .25);
    transition: background .15s;
}

.vid-item:hover .vid-play {
    background: rgba(0, 0, 0, .45);
}

.vid-play i {
    font-size: 28px;
    color: #F8B239;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .4));
}

.vid-text {
    padding: 10px 12px 12px;
    flex-shrink: 0;
}

    .vid-text p {
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        line-height: 1.4;
        margin: 0 !important;
    }

.vid-not {
    font-size: .8rem;
    color: #94a3b8;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

    .vid-not a {
        color: #0b3558;
        font-weight: 600;
    }

/* ========== SİTE AÇIKLAMASI ========== */
.aciklama-wrap .cms-icerik h1 {
    font-size: 1.5rem;
    color: #0b3558;
    margin: 0 0 12px;
    font-weight: 700;
}

.aciklama-wrap .cms-icerik h2 {
    font-size: 1.2rem;
    color: #0b3558;
    margin: 16px 0 10px;
    font-weight: 600;
}

.aciklama-wrap .cms-icerik img {
    max-width: 100%;
    height: auto;
}

.aciklama-wrap .cms-icerik table {
    border-collapse: collapse;
    width: 100%;
}

    .aciklama-wrap .cms-icerik table th,
    .aciklama-wrap .cms-icerik table td {
        border: 1px solid #d1d5db;
        padding: 8px 12px;
    }

    .aciklama-wrap .cms-icerik table th {
        background: #f3f4f6;
        font-weight: 600;
    }

/* ========== MODAL ========== */
.modal-backdrop {
    z-index: 1 !important;
}

.modal {
    background-color: rgba(0, 0, 0, .7);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    .fv-grid[style] {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .fv-grid[style] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .hab-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vid-grid.vid-multi {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 575px) {

    .hab-grid,
    .vid-grid {
        grid-template-columns: 1fr !important;
    }

    .icerik {
        padding: 8px 10px 16px;
    }

    .fv-section {
        padding: 10px;
    }
}
