/* HATAY VİZYON GAZETESİ - EXACT REPLİKA TASARIM */
:root {
    --primary: #e30613;
    --dark: #222222;
    --bg-color: #e6e6e6;
    --white: #ffffff;
    --pure-white: #ffffff;
    --text-color: #333;
    --border: #f1f1f1;
    --secondary: #2c3e50;
    --radius: 12px;
    --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.dark-mode {
    --bg-color: #121212;
    --white: #1a1a1a;
    --text-color: #ffffff;
    --border: #2a2a2a;
    --dark: #ffffff;
}

/* MOBILE RESPONSIVE NEWS PORTAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}



@media(max-width: 1450px) {

    .side-ad-left,
    .side-ad-right {
        display: none;
    }
}

@media (max-width: 768px) {

    .grid-cols-3,
    .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .cb-hero p {
        font-size: 11px;
        padding: 8px;
    }
}

/* ================= HEADER ================= */
.header-top-wrap {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-area h1 {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    text-transform: uppercase;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
}

.logo-area h1 span {
    color: var(--dark);
    font-style: normal;
}

.logo-area p {
    font-size: 11px;
    font-weight: bold;
    color: #888;
    font-style: italic;
    letter-spacing: 1px;
    margin-top: -5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-weather {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 14px;
}

.top-weather .city-temp {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    font-size: 18px;
}

.top-weather .city-temp span {
    font-size: 10px;
    color: #777;
}

.currencies {
    display: flex;
    gap: 15px;
}

.cur-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

.cur-box span {
    font-size: 10px;
    color: #888;
}

.cur-box b.up {
    color: #27ae60;
}

.cur-box b.down {
    color: var(--primary);
}

.main-menu-wrap {
    background: var(--white);
    border-bottom: 2px solid var(--border);
}

.main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-menu ul {
    display: flex;
}

.main-menu ul li a {
    display: block;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
}

.main-menu ul li a:hover {
    color: var(--primary);
}

.menu-right {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 16px;
    align-items: center;
}

/* STORIES / GAZETE MANŞETLERİ */
.stories-wrap {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.stories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.story-item {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
    padding: 2px;
}

.story-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.story-item:hover {
    border-color: var(--primary);
}

/* ================= LAYOUT ================= */
.layout-split {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.layout-left {
    width: 72%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.layout-right {
    width: 28%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media(max-width: 991px) {
    .layout-split {
        flex-direction: column;
    }

    .layout-left,
    .layout-right {
        width: 100%;
    }
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* SUR MANSET (TOP HUGE IMAGE) */
.sur-manset-block {
    position: relative;
}

.sur-manset-block img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.sm-info {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
}

.sm-info h2 {
    color: var(--pure-white);
    font-size: 32px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.sm-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.sm-nav a {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    font-weight: bold;
    color: #888;
    border-right: 1px solid var(--border);
}

.sm-nav a.active,
.sm-nav a:hover {
    background: var(--primary);
    color: var(--pure-white);
    border-color: var(--primary);
}

/* LEFT MANŞET */
.left-manset {
    position: relative;
}

.left-manset img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.lm-info {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
}

.lm-info h3 {
    color: var(--pure-white);
    font-size: 20px;
    font-weight: 800;
}

.lm-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.lm-nav a {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 11px;
    font-weight: bold;
    color: #aaa;
    border-right: 1px solid var(--border);
}

.lm-nav a.active {
    background: var(--primary);
    color: var(--pure-white);
}

body.dark-mode .sm-nav a,
body.dark-mode .lm-nav a,
body.dark-mode .rs-nav a {
    color: #ccc;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .sm-nav a.active,
body.dark-mode .lm-nav a.active,
body.dark-mode .rs-nav a.active {
    background: var(--primary);
    color: #fff;
}

/* RIGHT SLIDER (Small) */
.right-slider {
    position: relative;
}

.right-slider img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.rs-info {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
}

.rs-info h3 {
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.rs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.rs-nav a {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    font-size: 11px;
    font-weight: bold;
    color: #888;
    border-right: 1px solid #333;
}

.right-slider .rs-nav a.active {
    background: var(--primary);
    color: var(--white);
}

/* CUSTOM SWIPER PAGINATION */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #999;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 25px;
    border-radius: 5px;
}

body.dark-mode .swiper-pagination-bullet {
    background: #555;
}

body.dark-mode .swiper-pagination-bullet-active {
    background: var(--primary);
}

/* NEWS GRID (3 or 4 COLUMNS) */
.news-grid {
    display: grid;
    gap: 20px;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.news-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.news-item:hover img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 9px;
    font-weight: bold;
    padding: 3px 6px;
    border-bottom-right-radius: 6px;
    z-index: 2;
}

.news-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    background: rgba(39, 174, 96, 0.9);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 2;
}

.news-title {
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    background: var(--white);
    min-height: 70px;
    display: flex;
    align-items: center;
}

.cat-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.cb-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cb-header h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-color);
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    padding-bottom: 0px;
    border: none;
    margin-bottom: 0;
    order: 1;
}

.cb-header h3 i {
    display: none;
    /* User didn't ask but often clean headers look better without icons */
}

.cb-header::after {
    content: "";
    flex: 1;
    height: 4px;
    background: var(--primary);
    /* You can change this to category color dynamically if needed in PHP, but here we set a default */
    border-radius: 2px;
    order: 2;
}

.cb-header a {
    font-size: 12px;
    font-weight: 800;
    color: #999;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    order: 3;
}

.cb-content-split {
    display: flex;
    gap: 15px;
}

.cb-hero {
    flex: 1.5;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.cb-hero img {
    width: 100%;
    height: 260px;
}

.cb-hero p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px;
    font-weight: bold;
    font-size: 14px;
    margin: 0;
}

.cb-list {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.cb-list-item {
    display: flex;
    gap: 10px;
    border-radius: var(--radius);
    background: #f9f9f9;
    padding: 5px;
    align-items: center;
}

.cb-list-item img {
    width: 60px;
    height: 50px;
    border-radius: 8px;
}

.cb-list-item h5 {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
}

/* MARKET BAR (Altın, Dolar inline) */
.market-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    text-align: center;
}

.mb-item {
    flex: 1;
    border-right: 1px solid var(--border);
}

.mb-item:last-child {
    border: none;
}

.mb-item span {
    display: block;
    font-size: 11px;
    color: #777;
    font-weight: bold;
}

.mb-item strong {
    display: block;
    font-size: 16px;
    color: var(--dark);
}

/* WIDGETS */
.widget {
    padding: 0;
}

.widget-head,
.widget-title {
    background: #f8f9fa;
    padding: 12px 15px;
    font-weight: 800;
    font-size: 14px;
    border-bottom: 2px solid var(--border);
    color: var(--dark);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.standings-head {
    background: #eef6fc !important;
    color: #2980b9 !important;
}

body.dark-mode .standings-head {
    background: #1a2a3a !important;
    color: #4a90e2 !important;
}

body.dark-mode .widget-head {
    background: #111;
    border-color: #333;
}

.widget-body {
    padding: 15px;
}

/* Puan Durumu */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.standings-table th {
    text-align: left;
    padding: 8px 5px;
    color: #888;
    border-bottom: 2px solid var(--border);
}

.standings-table td {
    padding: 8px 5px;
    border-bottom: 1px solid var(--border);
    font-weight: bold;
    color: var(--dark);
}

.standings-table tr td:first-child {
    width: 20px;
    text-align: center;
    color: #999;
}

.standings-table tr:nth-child(1) td:nth-child(2),
.standings-table tr:nth-child(2) td:nth-child(2) {
    color: var(--primary);
}

/* List Widget (İlginizi Çekebilir) */
.list-widget-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.lw-num {
    font-size: 18px;
    font-weight: 900;
    color: #ddd;
    width: 25px;
    text-align: center;
}

.lw-title {
    font-size: 12px;
    font-weight: bold;
    color: var(--dark);
    line-height: 1.3;
}

.lw-title:hover {
    color: var(--primary);
}

/* Yazarlar Widget */
.author-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.author-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border);
    margin-bottom: 5px;
}

.author-box span {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
}

.author-box p {
    font-size: 10px;
    color: #666;
}

/* MOST READ HORIZONTAL BLOCK */
.most-read-container {
    background: #fffcf5;
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 30px;
}

body.dark-mode .most-read-container {
    background: #1a1a14;
}

.mr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mr-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mr-img {
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.mr-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mr-content {
    flex: 1;
}

.mr-cat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mr-cat i {
    font-size: 8px;
}

.mr-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mr-date {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

/* EDITOR PICK GRID */
.editor-section {
    margin-bottom: 30px;
}

.editor-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 15px;
    height: 500px;
}

.editor-left {
    height: 100%;
}

.editor-right {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 100%;
}

.editor-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}

.editor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.editor-card:hover img {
    transform: scale(1.05);
}

.editor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 25px;
    color: #fff;
}

.editor-overlay h2,
.editor-overlay h3 {
    margin: 0;
    font-weight: 900;
    line-height: 1.2;
}

.editor-overlay p {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.editor-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
}

.editor-meta img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .mr-grid {
        grid-template-columns: 1fr;
    }

    .editor-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .editor-left,
    .editor-right {
        height: 400px;
    }
}

/* VİZYON SİNEMASI (Bottom Dark Section) */
.cinema-section {
    background: #111;
    color: #fff;
    padding: 30px;
    border-radius: var(--radius);
    margin-top: 20px;
    margin-bottom: 20px;
}

.cinema-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.cinema-head h3 {
    font-size: 20px;
    color: var(--primary);
}

.cinema-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.cinema-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s;
}

.cinema-item:hover img {
    transform: scale(1.05);
}

.cinema-item h5 {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    color: #ccc;
}

/* HURRIYET STYLE FOOTER (Preserved per setting constraint) */
.hurriyet-footer {
    background: #ffffff;
    color: #333;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.hf-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.hf-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hf-logo {
    display: flex;
    align-items: flex-end;
    text-decoration: none;
}

.hf-copyright {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.hf-social {
    display: flex;
    gap: 12px;
}

.hf-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ccc;
    color: #111;
    font-size: 16px;
    transition: all 0.2s;
}

.hf-social a:hover {
    border-color: #111;
    background: #fafafa;
}

.hf-links-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
    margin-bottom: 20px;
}

.hf-col ul li {
    margin-bottom: 10px;
}

.hf-col ul li a {
    color: #444;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s;
}

.hf-col ul li a:hover {
    color: var(--primary);
}

.hf-bottom-nav {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.hf-bottom-nav a {
    font-size: 13px;
    font-weight: bold;
    color: var(--dark);
}

.hf-bottom-nav a:hover {
    color: var(--primary);
}

.hf-disclaimer {
    font-size: 11px;
    color: #888;
    line-height: 1.8;
}

/* SWIPER JS OVERRIDES */
.sm-nav.swiper-pagination {
    display: flex;
    align-items: stretch !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 48px;
    z-index: 10;
}

body.dark-mode .sm-nav.swiper-pagination {
    background: #1a1a1a !important;
}

.sm-nav .swiper-pagination-bullet {
    flex: 1;
    text-align: center;
    padding: 0;
    font-size: 13px;
    font-weight: bold;
    color: var(--text-color) !important;
    background: transparent;
    opacity: 1;
    border-radius: 0;
    border-right: 1px solid var(--border);
    transition: none;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.sm-nav .swiper-pagination-bullet-active,
.sm-nav .swiper-pagination-bullet:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.left-manset .lm-info {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
    pointer-events: none;
    z-index: 2;
}

.lm-nav.swiper-pagination {
    display: flex;
    align-items: stretch !important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 48px;
    z-index: 10;
}

body.dark-mode .lm-nav.swiper-pagination {
    background: #1a1a1a !important;
}

.lm-nav .swiper-pagination-bullet {
    flex: 1;
    text-align: center;
    padding: 0;
    font-size: 14px;
    font-weight: 800;
    color: #fff !important;
    background: transparent;
    opacity: 0.6;
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: none;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.lm-nav .swiper-pagination-bullet-active {
    background: var(--primary) !important;
    color: #fff !important;
    opacity: 1 !important;
}

body.dark-mode .sm-nav .swiper-pagination-bullet,
body.dark-mode .lm-nav .swiper-pagination-bullet,
body.dark-mode .rs-nav .swiper-pagination-bullet {
    color: #fff !important;
    background: #222 !important;
    border: none !important;
}

.sm-nav .swiper-pagination-bullet-active,
.sm-nav .swiper-pagination-bullet:hover,
.lm-nav .swiper-pagination-bullet-active,
.lm-nav .swiper-pagination-bullet:hover,
.rs-nav .swiper-pagination-bullet-active,
.rs-nav .swiper-pagination-bullet:hover,
body.dark-mode .sm-nav .swiper-pagination-bullet-active,
body.dark-mode .sm-nav .swiper-pagination-bullet:hover,
body.dark-mode .lm-nav .swiper-pagination-bullet-active,
body.dark-mode .lm-nav .swiper-pagination-bullet:hover,
body.dark-mode .rs-nav .swiper-pagination-bullet-active,
body.dark-mode .rs-nav .swiper-pagination-bullet:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
}

.right-slider .rs-info {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
    pointer-events: none;
    z-index: 2;
}

.rs-nav.swiper-pagination {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 38px;
    z-index: 10;
}

body.dark-mode .rs-nav.swiper-pagination {
    background: #0a0a0a !important;
}

.rs-nav .swiper-pagination-bullet {
    flex: 1;
    height: auto;
    width: auto;
    text-align: center;
    padding: 12px 0;
    font-size: 11px;
    font-weight: bold;
    color: var(--text-color);
    background: transparent;
    opacity: 1;
    border-radius: 0;
    border-right: 1px solid var(--border);
    transition: none;
    margin: 0 !important;
}

.rs-nav .swiper-pagination-bullet-active,
.rs-nav .swiper-pagination-bullet:hover {
    background: var(--primary);
    color: var(--white);
}

/* FONT AND CURRENCY OVERRIDES */
.news-item .news-title {
    font-size: 15px !important;
    padding: 12px !important;
    line-height: 1.4 !important;
}

.cb-list-item h5 {
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.fancy-cur-box {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 5px 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fancy-cur-box span {
    font-size: 11px !important;
    letter-spacing: 0.5px;
    color: #777;
}

.fancy-cur-box b {
    font-size: 15px !important;
    margin-top: 2px !important;
}

.main-menu ul li a {
    font-size: 14px !important;
    padding: 12px 14px !important;
    font-weight: 800 !important;
    color: var(--text-color) !important;
}

/* FIX SLIDER MISALIGNMENT (ALttaki manşet kayması) */
.swiper-slide {
    width: 100% !important;
    height: auto;
}

.swiper-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.layout-left,
.layout-right {
    overflow: hidden;
    /* prevents slids from overflowing their boundaries */
}

.left-manset,
.right-slider,
.sur-manset-block {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* SOCIAL SHARE WIDGET */
.social-share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    color: white !important;
    font-size: 11px;
    font-weight: 700;
    transition: transform 0.2s, filter 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-fb {
    background: linear-gradient(45deg, #3b5998, #4e71ba);
}

.btn-x {
    background: linear-gradient(45deg, #000, #333);
}

.btn-wp {
    background: linear-gradient(45deg, #25d366, #34e073);
}

.btn-rd {
    background: linear-gradient(45deg, #ff4500, #ff5722);
}

.btn-li {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.btn-tg {
    background: linear-gradient(45deg, #0088cc, #229ed9);
}

.btn-pt {
    background: linear-gradient(45deg, #bd081c, #e60023);
}

.btn-nx {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
}


/* MOVED FROM HEADER INLINE STYLES */
body * {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.cw-title-h,
.news-badge,
.main-menu a,
.logo-area h1 {
    font-family: 'Outfit', sans-serif !important;
}

.side-ad-left,
.side-ad-right {
    position: absolute;
    top: 150px;
    width: 160px;
    height: 600px;
    z-index: 1000;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border: 1px solid #dcdcdc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}

.side-ad-left {
    left: calc(50% - 570px - 180px);
}

.side-ad-right {
    right: calc(50% - 570px - 180px);
}

.financial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
}

.fg-item {
    background: #fff;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
}

.fg-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.fg-flag {
    font-size: 18px;
    line-height: 1;
}

.fg-name {
    font-weight: 900;
    font-size: 13px;
    color: #1e293b;
    letter-spacing: -0.2px;
}

.fg-labels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.fg-values {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 13px;
    font-weight: 900;
    color: #000;
}

.v-buy,
.v-sell {
    color: #000;
}

.v-change {
    text-align: right;
}

@media (max-width: 1024px) {
    .financial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.c-widget-list-header {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.c-widget-box-header {
    border: 1px solid var(--border);
    background: var(--white);
    padding: 5px 10px;
    border-radius: 6px;
    min-width: 130px;
}

.cw-label {
    font-size: 10px;
    color: #888;
    margin-right: 5px;
    font-weight: 700;
}

.cw-price {
    font-weight: 800;
    font-size: 12px;
}

.cw-change {
    font-size: 10px;
    font-weight: 700;
}

.cw-up {
    color: #10b981;
}

.cw-down {
    color: #ef4444;
}

/* REVOLUTIONARY STORY SIZE & ZERO GAP */
.storiesWrapper {
    display: flex !important;
    overflow-x: auto !important;
    padding: 0 !important;
    scrollbar-width: none;
    gap: 0 !important;
}

.storiesWrapper::-webkit-scrollbar {
    display: none;
}

#zuck-stories .info,
#zuck-stories .name,
#zuck-stories .time,
#zuck-stories .zuck-story-item .info,
#zuck-stories .zuck-story-item .zuck-story-item-name,
#zuck-stories .zuck-story-item .zuck-story-item-time {
    display: none !important;
}

#zuck-stories .zuck-story-item {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
}

#zuck-stories .zuck-story-item-photo,
#zuck-stories .zuck-story-item .img,
#zuck-stories .zuck-story-item .zuck-story-item-img {
    width: 220px !important;
    height: 220px !important;
    padding: 0 !important;
    border: 7px solid #e30613 !important;
    border-radius: 50% !important;
    background: #fff;
    display: block !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.zuck-modal {
    z-index: 99999 !important;
}

/* DARK MODE OVERRIDES */
body.dark-mode {
    background-color: #0d0d0d;
    color: #f1f1f1;
}

body.dark-mode .main-header,
body.dark-mode .stories-wrap,
body.dark-mode .card,
body.dark-mode .layout-right .widget,
body.dark-mode .cb-list-item,
body.dark-mode .hurriyet-footer {
    background-color: #1a1a1a !important;
    border-color: #2a2a2a !important;
}

body.dark-mode .widget-title {
    background: #000;
    color: var(--pure-white);
    border-bottom: 2px solid var(--primary);
}

body.dark-mode .hf-social a {
    border-color: #333;
    color: #e5e5e5;
}

body.dark-mode .hf-social a:hover {
    background: #2a2a2a;
    border-color: var(--primary);
}

body.dark-mode .hf-col ul li a,
body.dark-mode .hf-bottom-nav a {
    color: #bbb;
}

body.dark-mode .hf-disclaimer {
    color: #666;
}

body.dark-mode .hf-logo-area .hf-logo span:last-child {
    color: #888 !important;
}

@media(max-width:768px) {
    .main-nav {
        display: none !important;
    }

    .header-top-wrap {
        display: none !important;
    }

    .logo {
        flex: 1;
        text-align: left !important;
    }

    .m-menu-toggle {
        display: block !important;
        margin-right: 15px;
    }

    .header-right-icons {
        gap: 10px !important;
    }

    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .manset-pagination a:nth-child(n+15),
    .sur-manset-pagination a:nth-child(n+15) {
        display: none !important;
    }
}

/* SEARCH OVERLAY */
#search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

/* MOBILE SIDEBAR */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    padding: 20px;
}

.mobile-sidebar.show {
    left: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.m-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--dark);
}

@media(max-width:768px) {
    .m-menu-toggle {
        display: block !important;
    }
}

/* SEMANTIC CLEANUP CLASSES */
.m-sidebar-header {
    margin-top: 0;
    font-size: 18px;
    font-weight: 800;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.m-sidebar-list {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.main-content {
    margin-top: 20px;
}

.m-sidebar-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
}

.m-sidebar-link:hover {
    color: var(--primary);
}

.search-container {
    text-align: center;
    width: 100%;
}

.btn-search-submit {
    padding: 12px 40px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 800;
    border-radius: 4px;
}

.btn-search-close {
    padding: 12px 40px;
    background: #444;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 800;
    border-radius: 4px;
    margin-left: 10px;
}

.cw-icon {
    margin-right: 4px;
    vertical-align: middle;
}

.cw-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-color);
    opacity: 0.8;
}

.cw-price {
    font-size: 11px;
    font-weight: 700;
    margin-left: 2px;
    color: var(--text-color);
}

.cw-change {
    font-size: 9px;
    margin-left: 3px;
    font-weight: 800;
}

.cw-up {
    color: #27ae60;
}

.cw-down {
    color: #c0392b;
}

.h-flex {
    display: flex;
    align-items: center;
}

.h-flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-header {
    background: var(--white);
    padding: 10px 0;
}

.header-top-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 6px 0;
}

.main-nav {
    flex: 1;
}

.main-menu-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu-list li a {
    font-weight: 800;
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
    transition: 0.2s;
}

.main-menu-list li a:hover {
    color: var(--primary);
}

.header-right-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark);
}

.header-right-icons svg {
    stroke: currentColor;
}

.search-btn,
.dark-mode-btn,
.user-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.2s;
}

.search-btn:hover,
.dark-mode-btn:hover,
.user-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.c-widget-box-header {
    min-width: 100px;
    padding: 2px 8px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
}

.search-input-field {
    width: 80%;
    max-width: 600px;
    padding: 20px;
    font-size: 24px;
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    color: #fff;
    outline: none;
}

.search-input-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-sidebar ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--dark);
}

.layout-split {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.layout-left {
    flex: 3;
    min-width: 0;
}

.layout-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
}

@media(max-width: 992px) {
    .layout-split {
        flex-direction: column;
    }

    .layout-right {
        min-width: 100%;
    }
}

/* NEWS TICKER */
.news-ticker-wrap {
    background: var(--primary);
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 101;
}

.ticker-label {
    background: transparent;
    padding: 0 15px 0 0;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 13px;
    position: relative;
    z-index: 5;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.ticker-label i {
    margin-right: 8px;
    color: #fff;
    animation: tickerFlash 1s infinite;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 100%;
}

.ticker-scroll {
    display: inline-block;
    white-space: nowrap;
    animation: newsTicker 50s linear infinite;
    padding-left: 50%;
    line-height: 40px;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}

.ticker-item:hover {
    color: #000;
}

@keyframes newsTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes tickerFlash {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

/* GRID SYSTEM CLASSES */
.news-grid {
    display: grid;
    gap: 20px;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-cols-2-1 {
    grid-template-columns: 2fr 1fr;
}

.grid-list {
    display: grid;
    gap: 15px;
}

.card-list-item {
    display: grid !important;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    overflow: hidden;
    text-decoration: none;
}

/* MOBILE RESPONSIVENESS FIXES */
@media (max-width: 768px) {

    /* Main Layout Overflow Fix */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }

    /* Fixed size elements overflow prevention */
    img,
    video,
    iframe,
    svg {
        max-width: 100% !important;
    }

    /* News Grids -> 2 Columns */
    .news-grid.grid-cols-2,
    .news-grid.grid-cols-3,
    .news-grid.grid-cols-4,
    .news-grid.grid-cols-2-1 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .news-grid .card img,
    .news-grid a img {
        height: 100px !important;
        object-fit: cover !important;
        border-radius: 6px !important;
    }

    .news-grid h2,
    .news-grid h3,
    .news-grid h4,
    .news-grid h5,
    .news-grid .news-title {
        font-size: 13px !important;
        line-height: 1.2 !important;
        height: 48px !important;
        overflow: hidden !important;
        padding: 0 5px !important;
        margin-top: 5px !important;
    }

    /* List Style Adjustments */
    .grid-list .card-list-item {
        grid-template-columns: 80px 1fr !important;
        gap: 10px !important;
        display: grid !important;
        margin-bottom: 10px !important;
    }

    .grid-list .card-list-item img {
        height: 60px !important;
        border-radius: 4px !important;
    }

    .grid-list .card-list-item h4 {
        font-size: 13px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .grid-list .card-list-item p {
        display: none !important;
    }

    /* Header Currencies Scroll - Essential for overflow fix */
    .c-widget-list-header {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding: 5px 0 10px 0 !important;
        -webkit-overflow-scrolling: touch;
        gap: 8px !important;
        width: 100% !important;
        white-space: nowrap !important;
    }

    .c-widget-box-header {
        min-width: 130px !important;
        flex-shrink: 0 !important;
    }

    /* Financial Grid - Change to 1 col if 2 is too wide */
    .financial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Ticker Label */
    .ticker-label {
        font-size: 10px !important;
        padding: 0 6px !important;
    }

    .ticker-item {
        font-size: 12px !important;
        padding: 0 15px !important;
    }

    /* Footer Links */
    .hf-links-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .hf-bottom-nav {
        gap: 10px !important;
        justify-content: center !important;
    }

    /* Titles */
    .cb-header h3 {
        font-size: 16px !important;
        padding-left: 10px !important;
    }

    /* FOOTER MOBILE FIX */
    .hf-top {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }

    .hf-logo-area {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* NEWS GRID 3 (MIX) FIX */
    .news-grid.grid-cols-2 .news-item,
    .news-grid.grid-cols-3 .news-item {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .news-grid.grid-cols-2 .news-title,
    .news-grid.grid-cols-3 .news-title {
        padding: 10px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        background: #fff !important;
        border-top: 1px solid #f1f1f1 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .news-grid.grid-cols-2 img,
    .news-grid.grid-cols-3 img {
        height: 100px !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    /* Financial Grid padding fix */
    .fg-item {
        padding: 15px !important;
        margin-bottom: 5px !important;
    }
}