@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────────────────────
   Anasayfa Hero — sol %40 / sağ %60 split, fırça dokulu yüzey
   ─────────────────────────────────────────────────────────── */

.hh {
    position: relative;
    margin: 0 0 24px;
    padding: 0;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    border-radius: 14px;
    overflow: hidden;
    background:
        /* dikey ince fırça çizgileri (subtle) */
        repeating-linear-gradient(180deg,
            transparent 0px, transparent 2px,
            rgba(255, 255, 255, 0.018) 2px, rgba(255, 255, 255, 0.018) 3px),
        /* üst sol mavi parlama */
        radial-gradient(ellipse 70% 35% at 35% 0%,
            rgba(130, 160, 200, 0.18) 0%, transparent 65%),
        /* sağ üst kırmızı vurgu */
        radial-gradient(ellipse 50% 30% at 85% 0%,
            rgba(176, 48, 32, 0.14) 0%, transparent 60%),
        /* ana taban: dikey gradient */
        linear-gradient(180deg,
            #2d3a52 0%, #232f44 30%, #1a2334 60%, #131a28 100%);
}
.hh::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.hh-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    align-items: stretch;
}

/* ── SOL ── */
.hh-left {
    padding: 22px 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hh-hero {
    display: block;
    text-decoration: none;
    color: inherit;
}
.hh-hero-empty .hh-hero-img {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.hh-hero-empty .hh-hero-title {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}
.hh-hero-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #243450 center/cover no-repeat;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease;
    overflow: visible;
}

.hh-hero:hover .hh-hero-img { transform: translateY(-2px); }
.hh-hero-title {
    margin: 12px 0 0;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.96);
}

.hh-banner {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease;
}
.hh-banner:hover { transform: translateY(-2px); }
.hh-banner-img {
    position: absolute;
    inset: 0;
    background: #1c2638 center/cover no-repeat;
}
.hh-banner-kicker {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #b03020;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 3px;
    line-height: 1;
}
.hh-banner-sub {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.85);
    font-size: 10.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    backdrop-filter: blur(6px);
}

/* ── SAĞ ── */
.hh-right {
    padding: 14px 22px 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    position: relative;
}

.hh-right-head {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hh-right-headlink {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.hh-right-headlink:hover .hh-right-eventname { color: #fff; }
.hh-right-headlink--news {
    justify-content: space-between;
}

.hh-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #b03020;
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 3px 8px 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
}
.hh-pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    animation: hh-blink 1.4s ease infinite;
}
@keyframes hh-blink { 0%, 100% { opacity: 1; } 55% { opacity: 0.25; } }

.hh-right-eventname {
    flex: 1;
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
}
.hh-right-eventname--news {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
}
.hh-right-count {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
}
.hh-right-allnews {
    font-size: 11px;
    color: #c9986a;
    font-weight: 700;
    text-decoration: none;
}
.hh-right-allnews:hover { color: #e0b487; }

/* Feed */
.hh-feed {
    position: relative;
    padding-top: 12px;
    flex: 1;
    overflow: hidden;
}
.hh-feed::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 18px;
    bottom: 16px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.hh-feed-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(19, 26, 40, 0.95) 90%);
    pointer-events: none;
}

.hh-empty {
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    text-align: center;
}

.hh-row {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
}
.hh-row:last-child { border-bottom: 0; }
.hh-row:hover .hh-rc-title { color: #c9986a; }
.hh-row:hover .hh-rc-time { color: rgba(255, 255, 255, 0.7); }

.hh-tl {
    width: 22px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding-top: 4px;
    position: relative;
    z-index: 1;
}
.hh-node {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 2px solid #1a2334;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.hh-node.hot {
    background: #b03020;
    box-shadow: 0 0 0 1px rgba(176, 48, 32, 0.5), 0 0 10px rgba(176, 48, 32, 0.4);
}

.hh-rc { flex: 1; min-width: 0; }
.hh-rc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}
.hh-rc-time {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    font-variant-numeric: tabular-nums;
}
.hh-tag {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
}
.hh-tag-red { background: rgba(176, 48, 32, 0.22); color: #e0816f; }
.hh-tag-blue { background: rgba(100, 160, 240, 0.2); color: #9fc2f0; }
.hh-tag-neutral { background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.55); }
.hh-tag-amber { background: rgba(210, 150, 50, 0.2); color: #e0b870; }
.hh-tag-green { background: rgba(100, 200, 100, 0.18); color: #97da8f; }
.hh-rc-title {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
    letter-spacing: -0.005em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Foot */
.hh-right-foot {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.hh-foot-cta {
    font-size: 12px;
    font-weight: 700;
    color: #c9986a;
    text-decoration: none;
}
.hh-foot-cta:hover { color: #e0b487; }
.hh-foot-time {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* ── MOBİL: dikey stack, önce sağ panel sonra sol ── */
@media (max-width: 991.98px) {
    .hh-grid { grid-template-columns: 1fr; }
    .hh-right {
        order: 1;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding: 16px 18px 18px;
        min-width: 0;
    }
    .hh-left {
        order: 2;
        padding: 18px;
    }
    .hh-right-eventname {
        font-size: 16px;
        line-height: 1.25;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .hh-rc-title { font-size: 17px; line-height: 1.3; }
    .hh-hero-title { font-size: 15px; }
}
@media (max-width: 480px) {
    .hh-right-eventname { font-size: 15px; }
    .hh-rc-title { font-size: 15.5px; }
}
