/* ============================================
   HOME PAGE STYLES
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; background: #f8f9fa; color: #333; overflow-x: hidden; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; transition: 0.2s; }
a:hover { text-decoration: none; color: #e31b23; }
.font-oswald { font-family: 'Oswald', sans-serif; text-transform: uppercase; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }

/* ===== FOOTER ===== */
.site-footer { background-color: #1a1a1a; color: #b0b0b0; font-size: 14px; padding-top: 60px; margin-top: 50px; border-top: 4px solid #e31b23; }

/* ===== TOP TRENDS ===== */
.top-trends-wrap {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
    min-height: 300px;
    contain: layout style;
}
.trend-header { display: flex; align-items: center; margin-bottom: 15px; border-bottom: 2px solid #000; padding-bottom: 10px; }
.trend-title { font-family: 'Oswald'; font-size: 18px; font-weight: 700; color: #fff; background: #e31b23; padding: 5px 15px; border-radius: 3px; margin: 0; }
.trend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trend-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    background: #1a1a1a;
    height: 220px;
}
.trend-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
    position: absolute;
    top: 0; left: 0;
}
.trend-card:hover img { transform: scale(1.05); }
.trend-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    padding: 40px 12px 12px;
    color: #fff;
    z-index: 2;
}
.trend-caption {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.trend-badge { position: absolute; top: 10px; left: 10px; background: #e31b23; color: #fff; font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 700; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 3; }
.trend-cat { display: inline-block; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }

/* ===== SLIDER ===== */
.hero-wrap { margin-top: 20px; }
.main-slider {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 460px;
    background: #1a1a1a;
    width: 100%;
    contain: layout;
}
.swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none !important; }
.swiper:not(.swiper-initialized) .swiper-slide:first-child { width: 100% !important; height: 100% !important; }
.swiper:not(.swiper-initialized) { overflow: hidden; }
.main-slider .swiper-slide { width: 100%; height: 100%; }
.main-slider img { width: 100%; height: 100%; object-fit: cover; }
.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    padding: 30px;
    color: #fff;
    z-index: 2;
}
.slider-cat { display: inline-block; background: #e31b23; color: #fff; font-family: 'Oswald', sans-serif; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.slider-title { font-family: 'Oswald', sans-serif; font-size: 32px; line-height: 1.1; margin: 0; text-shadow: 1px 1px 5px rgba(0,0,0,0.8); }
.slider-meta { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ===== SIDE NEWS ===== */
.side-news-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 222px;
    display: block;
    background: #1a1a1a;
    contain: layout;
}
.side-news-item:last-child { margin-bottom: 0; }
.side-news-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.side-news-item:hover img { transform: scale(1.05); }
.side-caption { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 15px; color: #fff; }
.side-cat { display: inline-block; font-size: 9px; font-weight: 700; color: #e31b23; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.side-title { font-family: 'Oswald', sans-serif; font-size: 16px; line-height: 1.2; margin: 0; font-weight: 700; }

/* ===== SEARCH SECTION ===== */
.search-section { background: #fff; padding: 25px; border-radius: 8px; border: 1px solid #eee; margin-top: 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.search-input { height: 55px; font-size: 16px; border: 2px solid #eee; border-radius: 5px 0 0 5px !important; padding-left: 20px; transition: 0.3s; }
.search-input:focus { border-color: #e31b23; box-shadow: none; outline: none; }
.search-btn { height: 55px; background: #e31b23; color: #fff; font-weight: 700; font-family: 'Oswald'; font-size: 18px; padding: 0 40px; border-radius: 0 5px 5px 0 !important; transition: 0.3s; border: none; cursor: pointer; }
.search-btn:hover { background: #c4151c; }

/* ===== AD SLOT ===== */
.ad-slot-wrapper {
    width: 100%;
    min-height: 280px;
    background: #fafafa;
    margin: 20px 0;
    text-align: center;
    overflow: hidden;
    border: 1px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    contain: layout;
}
.ad-slot-wrapper ins.adsbygoogle { display: block; width: 100%; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; padding: 0; list-style: none; gap: 5px; margin-top: 30px; flex-wrap: wrap; }
.pagination li { display: inline-block; }
.pagination li a, .pagination li span { display: block; padding: 8px 16px; background: #fff; border: 1px solid #dee2e6; color: #333; text-decoration: none; border-radius: 4px; font-weight: 700; transition: all 0.2s; font-size: 14px; }
.pagination li.active a, .pagination li.active span { background: #e31b23; color: #fff; border-color: #e31b23; }
.pagination li a:hover { background: #f8f9fa; color: #e31b23; border-color: #e31b23; }

/* ===== EDİTÖRÜN SEÇİMİ ===== */
.editors-pick-section { margin: 30px 0; }
.section-header { display: flex; align-items: center; margin-bottom: 20px; }
.section-title { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; color: #fff; background: #111; padding: 6px 16px; border-radius: 4px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.section-title i { color: #e31b23; }
.section-line { flex: 1; height: 2px; background: #111; margin-left: 12px; }
.editors-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
.editor-card { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #eee; text-decoration: none; transition: 0.25s; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.editor-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-color: #e31b23; }
.editor-img { position: relative; overflow: hidden; aspect-ratio: 16/9; background: #f0f0f0; }
.editor-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.editor-card:hover .editor-img img { transform: scale(1.05); }
.editor-cat { position: absolute; top: 10px; left: 10px; background: #e31b23; color: #fff; font-family: 'Oswald', sans-serif; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; }
.editor-info { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.editor-title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: 0.2s;
}
.editor-card-big .editor-title { font-size: 20px; }
.editor-card:hover .editor-title { color: #e31b23; }
.editor-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.editor-meta { font-size: 11px; color: #aaa; display: flex; align-items: center; gap: 5px; }
.editor-meta i { color: #e31b23; }

/* ===== LIST NEWS ===== */
.list-news-item { display: flex; gap: 16px; background: #fff; padding: 16px; border-radius: 10px; margin-bottom: 12px; border: 1px solid #eee; transition: 0.2s; align-items: center; }
.list-news-item:hover { border-color: #e31b23; box-shadow: 0 4px 16px rgba(0,0,0,0.07); transform: translateY(-1px); }
.list-thumb {
    width: 180px;
    height: 115px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}
.list-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.list-news-item:hover .list-thumb img { transform: scale(1.06); }
.list-thumb-cat { position: absolute; bottom: 6px; left: 6px; background: #e31b23; color: #fff; font-family: 'Oswald', sans-serif; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.3px; }
.list-content { flex: 1; min-width: 0; }
.list-content h3 { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.25; color: #111; transition: 0.2s; }
.list-news-item:hover .list-content h3 { color: #e31b23; }
.list-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #aaa; }
.list-meta i { color: #e31b23; }

/* ===== LOAD MORE BUTTON ===== */
.btn-load-more {
    background: #e31b23;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    letter-spacing: 0.5px;
}
.btn-load-more:hover { background: #c11820; transform: translateY(-1px); }
.btn-load-more.loading { opacity: 0.7; cursor: not-allowed; }
.load-more-item { animation: fadeInUp 0.4s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.text-muted-load { color: #aaa; font-size: 14px; }

/* ===== SIDEBAR EN ÇOK OKUNANLAR ===== */
.sidebar-most-read {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    position: sticky;
    top: 90px;
}
.sidebar-title {
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e31b23;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111;
}
.sidebar-title i { color: #e31b23; }
.most-read-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    align-items: center;
    transition: 0.2s;
}
.most-read-item:last-child { border-bottom: none; margin-bottom: 0; }
.most-read-item:hover { color: #e31b23; }
.most-read-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}
.most-read-thumb img { width: 100%; height: 100%; object-fit: cover; }
.most-read-rank {
    position: absolute;
    top: 3px;
    left: 3px;
    background: #e31b23;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.most-read-info { flex: 1; min-width: 0; }
.most-read-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: 0.2s;
}
.most-read-time {
    font-size: 11px;
    color: #aaa;
    margin-top: 3px;
}
.most-read-time i { color: #e31b23; margin-right: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .main-slider { height: auto; aspect-ratio: 16/9; }
    .side-news-item { height: 160px; }
    .slider-title { font-size: 20px; }
    .slider-caption { padding: 20px 15px 12px; }
    .trend-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .list-news-item { flex-direction: column; }
    .list-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; }
    .search-btn { padding: 0 15px; font-size: 14px; }
    .search-section { padding: 15px; }
    .ad-slot-wrapper { min-height: 250px; }
}

@media (max-width: 768px) {
    .editors-grid { grid-template-columns: 1fr; }
    .editor-card-big .editor-title { font-size: 17px; }
    .trend-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .trend-card { height: 160px; }
}

@media (max-width: 576px) {
    .slider-title { font-size: 16px; }
    .trend-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .trend-card { height: 140px; }
    .trend-caption { font-size: 13px; }
}