/**
 * /assets/css/calendar-card-horizontal.css
 * Yatay takvim kartı — liste sayfaları için.
 * 
 * Mini takvim (sol) + 16:9 görsel (orta) + bilgi (sağ).
 * 
 * 09/10/2026 - v1.0 - Oluşturuldu.
 * 09/10/2026 - v1.1 - Görsel 16:9 oranına sabitlendi.
 * 09/10/2026 - v1.2 - Çapraz şerit + ayrı yıl şeridi eklendi.
 * 10/10/2026 - v1.3 - SVG fill:none zorlandı (iconlar çizgisel görünsün).
 */

/* ============================================
   YATAY KART KAPSAYICI
   ============================================ */
.cal24-h-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

/* ============================================
   YATAY KART
   ============================================ */
.cal24-h {
    --paper: #f5f0e3;
    --paper2: #ebe3d0;
    --paper3: #e8dcc0;
    --ink: #2b2620;
    --red: #b23a2e;
    --gold: #b8923f;
    --navy: #01258F;
    --navy-d: #011142;
    --canary: #FFDD00;
    --shadow: rgba(0,0,0,0.12);
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    font-family: 'Oswald', sans-serif;
    color: var(--ink);
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(43,38,32,0.08);
    transition: all 0.3s ease;
    min-height: 180px;
}

.cal24-h:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(108, 60, 225, 0.15);
    border-color: var(--navy);
}

/* ============================================
   BÖLÜM 1: MİNİ TAKVİM (Sol)
   ============================================ */
.cal24-h__calendar {
    position: relative;
    width: 130px;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    background-image: 
        repeating-linear-gradient(0deg, transparent 0 27px, rgba(43,38,32,0.04) 27px 28px);
    flex-shrink: 0;
}

/* Çapraz çizgili üst şerit (koyu lacivert + kanarya sarısı) */
.cal24-h__binding {
    position: relative;
    height: 22px;
    background: 
        repeating-linear-gradient(
            -45deg,
            rgba(255, 221, 0, 0.75) 0px,
            rgba(255, 221, 0, 0.75) 12px,
            rgba(255, 221, 0, 0) 12px,
            rgba(255, 221, 0, 0) 24px
        ),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-d) 100%);
    overflow: hidden;
    flex-shrink: 0;
}

/* Yıl şeridi (pastel krem) — ayrı bant */
.cal24-h__year-band {
    background: var(--paper3);
    color: var(--ink);
    text-align: center;
    padding: 6px 10px;
    font-family: 'Gloock', Georgia, serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    line-height: 1;
    border-bottom: 1px solid rgba(43,38,32,0.08);
    flex-shrink: 0;
}

/* Takvim içerik (gün, ay, konum) */
.cal24-h__cal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    text-align: center;
}

/* Büyük gün */
.cal24-h__day {
    font-family: 'Gloock', Georgia, serif;
    font-weight: 400;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -1px;
}

/* Ay */
.cal24-h__month {
    font-family: 'Rozha One', Georgia, serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--red);
    letter-spacing: 0.02em;
    margin-top: 2px;
}

/* Alt çizgi */
.cal24-h__divider {
    width: 60%;
    height: 1px;
    background: rgba(43,38,32,0.15);
    margin: 8px 0;
}

/* Konum */
.cal24-h__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: 'Ruluko', sans-serif;
    font-size: 0.7rem;
    color: var(--navy);
    letter-spacing: 0.2px;
    line-height: 1.3;
    padding: 0 4px;
    text-align: center;
}

/* ⚠️ DÜZELTİLDİ: fill:none zorlandı */
.cal24-h__location svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    color: var(--red);
    fill: none !important;
    stroke: var(--red) !important;
    stroke-width: 2.5 !important;
}

/* ============================================
   BÖLÜM 2: 16:9 GÖRSEL (Orta)
   ============================================ */
.cal24-h__image {
    position: relative;
    width: 240px;
    min-width: 240px;
    aspect-ratio: 16 / 9;
    align-self: stretch;
    background: #f0f0f0;
    overflow: hidden;
    flex-shrink: 0;
}

.cal24-h__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cal24-h:hover .cal24-h__image img {
    transform: scale(1.05);
}

.cal24-h__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid var(--navy);
    border-radius: 50px;
    font-family: 'Ruluko', sans-serif;
    font-size: 0.72rem;
    color: var(--navy);
    letter-spacing: 0.2px;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(1, 37, 143, 0.15);
}

/* ⚠️ DÜZELTİLDİ: fill:none zorlandı */
.cal24-h__badge svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
    fill: none !important;
    stroke: var(--navy) !important;
    stroke-width: 2.5 !important;
}

/* ============================================
   BÖLÜM 3: BİLGİ (Sağ)
   ============================================ */
.cal24-h__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    justify-content: center;
    min-width: 0;
}

.cal24-h__label {
    font-family: 'Ruluko', sans-serif;
    font-size: 0.72rem;
    color: var(--red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 400;
}

.cal24-h__title {
    font-family: 'Gloock', Georgia, serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.3;
    color: var(--ink);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cal24-h__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cal24-h__title a:hover {
    color: var(--navy);
}

.cal24-h__excerpt {
    font-family: 'Ruluko', sans-serif;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #666;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cal24-h__details {
    margin-top: auto;
    display: flex;
}

.cal24-h__details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 30px;
    padding: 0 16px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Ruluko', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(1, 37, 143, 0.2);
    line-height: 1;
}

.cal24-h__details-btn:hover {
    background: var(--navy-d);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(1, 37, 143, 0.35);
    color: white;
}

/* ⚠️ DÜZELTİLDİ: fill:none zorlandı */
.cal24-h__details-btn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.5 !important;
    transition: transform 0.3s ease;
}

.cal24-h__details-btn:hover svg {
    transform: translateX(3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .cal24-h__calendar {
        width: 110px;
        min-width: 110px;
    }
    
    .cal24-h__image {
        width: 200px;
        min-width: 200px;
    }
    
    .cal24-h__title {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .cal24-h {
        min-height: 140px;
    }
    
    .cal24-h__calendar {
        width: 100px;
        min-width: 100px;
    }
    
    .cal24-h__binding {
        height: 18px;
    }
    
    .cal24-h__year-band {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
    
    .cal24-h__day {
        font-size: 2rem;
    }
    
    .cal24-h__month {
        font-size: 0.85rem;
    }
    
    .cal24-h__location {
        font-size: 0.62rem;
    }
    
    .cal24-h__location svg {
        width: 9px;
        height: 9px;
    }
    
    .cal24-h__image {
        width: 130px;
        min-width: 130px;
    }
    
    .cal24-h__info {
        padding: 12px 14px;
    }
    
    .cal24-h__label {
        font-size: 0.65rem;
    }
    
    .cal24-h__title {
        font-size: 0.85rem;
    }
    
    .cal24-h__excerpt {
        display: none;
    }
    
    .cal24-h__details-btn {
        height: 28px;
        padding: 0 14px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cal24-h__image {
        width: 100px;
        min-width: 100px;
    }
}