/**
 * /assets/css/news-card-horizontal.css
 * Yatay news kartı — liste sayfaları (Fenerbahçe renkleri).
 * 
 * 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.
 */

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

/* ============================================
   YATAY NEWS KART
   ============================================ */
.news-h {
    --paper: #ffffff;
    --paper2: #fafaf5;
    --paper3: #f5f2e3;
    --ink: #1a1a1a;
    --red: #b8923f;
    --gold: #c9a227;
    --khaki: #f0e68c;
    --khaki-l: #f7f3c0;
    --white: #ffffff;
    --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(26,26,26,0.08);
    transition: all 0.3s ease;
    min-height: 180px;
}

.news-h:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(201, 162, 39, 0.15);
    border-color: var(--gold);
}

/* ============================================
   BÖLÜM 1: MİNİ TAKVİM (Sol)
   ============================================ */
.news-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(26,26,26,0.03) 27px 28px);
    flex-shrink: 0;
}

/* Çapraz çizgili üst şerit (Fenerbahçe sarısı + beyaz zemin) */
.news-h__binding {
    position: relative;
    height: 22px;
    background: 
        repeating-linear-gradient(
            -45deg,
            rgba(240, 230, 140, 0.85) 0px,
            rgba(240, 230, 140, 0.85) 12px,
            rgba(240, 230, 140, 0) 12px,
            rgba(240, 230, 140, 0) 24px
        ),
        linear-gradient(180deg, #ffffff 0%, #f5f2e3 100%);
    overflow: hidden;
    flex-shrink: 0;
}

/* Yıl şeridi (pastel krem) */
.news-h__year-band {
    background: var(--khaki-l);
    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(201, 162, 39, 0.15);
    flex-shrink: 0;
}

/* Takvim içerik */
.news-h__cal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    text-align: center;
}

.news-h__day {
    font-family: 'Gloock', Georgia, serif;
    font-weight: 400;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -1px;
}

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

.news-h__divider {
    width: 60%;
    height: 1px;
    background: rgba(26,26,26,0.15);
    margin: 8px 0;
}

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

.news-h__location svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    color: var(--gold);
    fill: var(--gold);
}

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

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

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

.news-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(--gold);
    border-radius: 50px;
    font-family: 'Ruluko', sans-serif;
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.2px;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(201, 162, 39, 0.15);
}

.news-h__badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    fill: var(--gold);
}

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

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

.news-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;
}

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

.news-h__title a:hover {
    color: var(--gold);
}

.news-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;
}

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

.news-h__details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 30px;
    padding: 0 16px;
    background: var(--gold);
    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(201, 162, 39, 0.25);
    line-height: 1;
}

.news-h__details-btn:hover {
    background: var(--red);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(201, 162, 39, 0.4);
    color: white;
}

.news-h__details-btn svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

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

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

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