body {
    background: #f1f1f1;
}

.market-up {
    color: #22c55e !important;
}

.market-down {
    color: #ef4444 !important;
}

.market-same {
    color: #e5e7eb !important;
}

/* Haber bandı */
.breaking-text {
    overflow: hidden;
    white-space: nowrap;
}

.breaking-track {
    display: flex;
    transition: transform .35s ease;
}

.breaking-item {
    min-width: 100%;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ana manşet slider */
.headline-wrapper {
    position: relative;
    background: #fff;
    overflow: hidden;
}

.headline-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #111;
}

.headline-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    text-decoration: none;
    color: #fff;
}

.headline-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.headline-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.headline-empty {
    height: 420px;
    background: #1f2937;
    position: relative;
}

.headline-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.10), rgba(120,40,0,.45));
    z-index: 3;
}

.headline-caption {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    max-width: 650px;
    text-align: right;
}

.headline-tag {
    font-family: 'Oswald', sans-serif;
    color: #fff200;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.headline-caption h1 {
    font-family: 'Roboto Slab', serif;
    color: #fff;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 900;
    text-shadow: 0 3px 7px rgba(0,0,0,.45);
    margin: 0;
}

.headline-numbers {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    border: 1px solid #e5e7eb;
    border-top: 0;
    background: #fff;
}

.headline-numbers button {
    border: 0;
    border-right: 1px solid #e5e7eb;
    background: #fff;
    height: 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
}

.headline-numbers button:last-child {
    border-right: 0;
}

.headline-numbers button.active {
    background: #e30613;
    color: #fff;
}

.headline-numbers button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* Kategori kartları */
.category-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-news {
    background: #fff;
    color: #111;
    text-decoration: none;
    display: block;
    min-height: 100%;
    border-bottom: 4px solid #e30613;
    overflow: hidden;
}

.category-news img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.category-content {
    padding: 14px 16px 18px;
}

.category-content span {
    display: inline-block;
    color: #e30613;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.category-content h3 {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 10px;
}

.category-content p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    margin: 34px 0 16px;
}

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    color: #111;
}

.section-header a {
    font-family: 'Oswald', sans-serif;
    color: #e30613;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .5px;
}

/* Kategori + yazarlar yan yana */
.home-category-author-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
    margin-top: 34px;
}

.home-category-author-row .section-header {
    margin-top: 0;
}

.category-news-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-authors-sidebar {
    background: #fff;
    border: 1px solid #ddd;
}

.home-authors-sidebar-head {
    height: 54px;
    background: #d8d8d8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-left: 4px solid #6b7280;
}

.home-authors-sidebar-head h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0;
    text-transform: uppercase;
}

.home-authors-sidebar-head a {
    background: #666;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    padding: 6px 14px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.home-authors-sidebar-list {
    max-height: 460px;
    overflow: hidden;
}

.home-author-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid #eee;
    color: #111;
    text-decoration: none;
}

.home-author-mini:hover strong {
    color: #e30613;
}

.home-author-mini img,
.home-author-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid #eee;
}

.home-author-placeholder {
    background: #e30613;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

.home-author-mini strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #e30613;
    margin-bottom: 5px;
}

.home-author-mini span {
    display: block;
    color: #111;
    font-size: 15px;
    line-height: 1.35;
}

/* Araya giren Foto Galeri */
.home-inline-photo-section {
    margin: 38px 0 34px;
    background: linear-gradient(120deg, #77003c 0%, #111827 50%, #172033 100%);
    padding: 30px;
}

.home-inline-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.home-inline-section-head h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}

.home-inline-section-head h2::after {
    content: '';
    display: inline-block;
    width: 42px;
    height: 1px;
    background: rgba(255,255,255,.35);
    margin-left: 14px;
    vertical-align: middle;
}

.home-inline-section-head a {
    background: #fff;
    color: #111;
    border-radius: 18px;
    padding: 7px 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.home-inline-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-inline-photo-small-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.home-inline-photo-card {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #111;
}

.home-inline-photo-card.is-big {
    height: 250px;
}

.home-inline-photo-card.is-small {
    height: 150px;
}

.home-inline-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.home-inline-photo-card:hover img {
    transform: scale(1.05);
}

.home-inline-photo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.80), rgba(0,0,0,.08));
}

.home-inline-photo-card h3 {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    margin: 0;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0,0,0,.45);
}

.home-inline-photo-card.is-small h3 {
    font-size: 15px;
}

/* Araya giren Video Galeri */
.home-inline-video-section {
    margin: 38px 0 34px;
    background: #101010;
    padding: 30px;
}

.home-inline-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
    gap: 22px;
}

.home-inline-video-main {
    position: relative;
    display: block;
    height: 340px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #000;
}

.home-inline-video-main img,
.home-video-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-video-image-placeholder {
    background: #18181b;
    color: #e30613;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
}

.home-inline-video-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.08));
    pointer-events: none;
}

.home-video-play-button {
    position: absolute;
    left: 28px;
    bottom: 76px;
    z-index: 3;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.72);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e30613;
    background: rgba(0,0,0,.28);
    font-size: 27px;
}

.home-inline-video-main h3 {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 3;
    margin: 0;
    color: #fff;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
}

.home-inline-video-list {
    border-left: 1px solid rgba(255,255,255,.12);
}

.home-inline-video-item {
    display: flex;
    gap: 12px;
    padding: 13px 0 13px 16px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.home-inline-video-item img,
.home-video-mini-placeholder {
    width: 82px;
    height: 56px;
    object-fit: cover;
    flex-shrink: 0;
}

.home-video-mini-placeholder {
    background: #27272a;
    color: #e30613;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-inline-video-item span {
    color: #fff;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1200px) {
    .side-ad {
        display: none;
    }
}

@media (max-width: 992px) {
    .home-category-author-row,
    .home-inline-video-grid,
    .home-inline-photo-grid,
    .home-inline-photo-small-grid {
        grid-template-columns: 1fr;
    }

    .category-news-grid,
    .category-news-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-inline-photo-section,
    .home-inline-video-section {
        padding: 20px;
    }

    .home-inline-video-main {
        height: 270px;
    }
}

@media (max-width: 768px) {
    .headline-slider,
    .headline-empty {
        height: 280px;
    }

    .headline-caption {
        left: 20px;
        right: 20px;
        text-align: left;
    }

    .headline-caption h1 {
        font-size: 26px;
    }

    .headline-tag {
        font-size: 20px;
    }

    .headline-numbers {
        grid-template-columns: repeat(10, 1fr);
    }

    .category-news-grid,
    .category-news-grid-compact {
        grid-template-columns: 1fr;
    }

    .home-inline-photo-card.is-big,
    .home-inline-photo-card.is-small {
        height: 220px;
    }
}