.haberler-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    font-family: var(--font-main, 'Inter', sans-serif);
}

.haberler-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.haber-card {
    width: 100%;
    display: flex;
    gap: 30px;
    min-height: 205px;
    padding: 12px;
    background: var(--surface-800, #111111);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.haber-card:hover {
    border-color: rgb(var(--primary, 245, 158, 11), 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.haber-card-image {
    position: relative;
    width: 180px;
    min-width: 180px;
    height: 180px;
    border-radius: 9px;
    overflow: hidden;
    background: var(--surface-800, #111318);
}

.haber-card-image img,
.haber-card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.haber-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 48px;
    background: var(--surface-900, #050505);
}

.haber-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    color: var(--text-light, #fff);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.haber-card:hover .haber-card-play {
    color: rgb(var(--primary, 245, 158, 11));
}

.haber-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 6px 7px 0;
}

.haber-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.haber-card-sponsor img {
    height: 22px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.haber-card-sponsor-name {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 700;
}

.haber-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 7px;
    background: rgb(var(--primary, 245, 158, 11));
    color: var(--surface-900, #0b0d10);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.haber-card-title {
    margin: 0 0 13px;
    color: var(--text-light, #ffffff);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.haber-card-hint {
    margin: 0;
    color: var(--text-gray, #6b7280);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.haber-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.haber-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.haber-btn:hover {
    transform: translateY(-1px);
}

.haber-btn-secondary {
    background: rgba(var(--primary, 245, 158, 11), 0.12);
    color: var(--brand-red, #f59e0b);
    border: 1px solid rgba(var(--primary, 245, 158, 11), 0.2);
}

.haber-btn-primary {
    background: var(--brand-red, #f59e0b);
    color: var(--text-on-accent, #000);
}

.haberler-empty {
    padding: 48px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
}

.haber-detail-modal[hidden] {
    display: none !important;
}

.haber-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.haber-detail-backdrop {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--surface-900, #050505) 82%, transparent);
    backdrop-filter: blur(4px);
}

.haber-detail-panel {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: min(690px, calc(100vh - 48px));
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    padding: 32px 20px;
    background: var(--card-bg, var(--surface-600, #2a2a2a));
    border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    box-shadow: 0 24px 70px color-mix(in srgb, var(--surface-900, #050505) 70%, transparent);
    overflow: hidden;
}

.haber-detail-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 9px;
    background: var(--border-subtle, rgba(255, 255, 255, 0.05));
    color: var(--text-secondary, #9ca3af);
    cursor: pointer;
    font-size: 21px;
}

.haber-detail-close:hover {
    color: var(--text-light, #ffffff);
    background: var(--border-soft, rgba(255, 255, 255, 0.1));
}

.haber-detail-media {
    width: 300px;
    height: 300px;
    margin-top: 0;
    overflow: hidden;
    border-radius: 9px;
    background: var(--surface-900, #050505);
}

.haber-detail-media img,
.haber-detail-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.haber-detail-body {
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 3px 0 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.haber-detail-body::-webkit-scrollbar {
    width: 5px;
}

.haber-detail-body::-webkit-scrollbar-track {
    background: transparent;
}

.haber-detail-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.haber-detail-heading {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding-right: 28px;
    margin-bottom: 32px;
}

.haber-detail-logo-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
}

.haber-detail-logo-wrap[hidden] {
    display: none;
}

.haber-detail-logo-wrap img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.haber-detail-heading h3 {
    margin: 0;
    color: var(--text-primary, #f8fafc);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.haber-detail-hint {
    margin: 5px 0 0;
    color: var(--text-secondary, #9ca3af);
    opacity: 0.75;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.haber-detail-description {
    padding-right: 8px;
    color: var(--text-primary, #f8fafc);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.75;
}

.haber-detail-description p {
    margin: 0 0 1em;
}

.haber-detail-description h1,
.haber-detail-description h2,
.haber-detail-description h3 {
    color: var(--text-light, #fff);
    margin: 1.2em 0 0.5em;
    font-weight: 800;
    line-height: 1.3;
}

.haber-detail-description ul,
.haber-detail-description ol {
    margin: 0 0 1em;
    padding-left: 20px;
}

.haber-detail-description a {
    color: var(--brand-red, #f59e0b);
    text-decoration: none;
    font-weight: 700;
}

.haber-detail-description a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .haber-card-image {
        width: 180px;
        min-width: 180px;
        height: 180px;
    }

    .haber-card-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .haberler-grid {
        grid-template-columns: 1fr;
    }

    .haber-card {
        flex-direction: column;
        gap: 16px;
    }

    .haber-card-image {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .haber-card-top {
        margin-bottom: 12px;
    }

    .haber-card-actions {
        flex-direction: column;
        align-items: stretch;
        padding-top: 18px;
    }

    .haber-btn {
        width: 100%;
    }

    .haber-detail-modal {
        align-items: flex-start;
        padding: 14px;
        overflow-y: auto;
    }

    .haber-detail-panel {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 46px 18px 22px;
        overflow: visible;
    }

    .haber-detail-media {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .haber-detail-body {
        height: auto;
        overflow: visible;
    }

    .haber-detail-heading {
        margin-bottom: 22px;
        padding-right: 0;
    }
}

@media (max-width: 600px) {
    .haber-card {
        padding: 12px;
    }

    .haber-card-title {
        font-size: 15px;
    }

    .haber-card-hint {
        font-size: 13px;
    }

    .haber-detail-heading {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
    }

    .haber-detail-logo-wrap {
        width: 42px;
        height: 42px;
    }

    .haber-detail-heading h3 {
        font-size: 17px;
    }
}
