/* ==========================================
   DataPaylasim Haber - Profesyonel Haber Portalı CSS
   duzicihaber.com benzeri tasarım
   ========================================== */

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}

a:hover {
    color: #e63946;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* === COLORS === */
:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --accent: #457b9d;
    --bg-light: #f0f2f5;
    --bg-white: #fff;
    --text-dark: #1a1a2e;
    --text-gray: #6c757d;
    --text-light: #999;
    --border: #e5e7eb;
    --shadow: 0 2px 8px rgba(0, 0, 0, .08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, .12);
    --radius: 8px;
    --radius-sm: 4px;
}

/* === TOP BAR === */
.top-bar {
    background: var(--secondary);
    color: #fff;
    padding: 6px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-date i {
    margin-right: 5px;
    color: var(--primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-social a {
    color: #fff;
    opacity: .8;
    transition: opacity .2s;
    margin: 0 4px;
}

.top-social a:hover {
    opacity: 1;
    color: #fff;
}

/* === HEADER === */
.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-search form {
    display: flex;
    border: 2px solid var(--border);
    border-radius: 25px;
    overflow: hidden;
}

.header-search input {
    border: none;
    outline: none;
    padding: 8px 15px;
    font-size: 14px;
    width: 220px;
}

.header-search button {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 8px 15px;
    cursor: pointer;
}

.header-search button:hover {
    background: var(--primary-dark);
}

/* === BREAKING TICKER === */
.breaking-ticker {
    background: var(--primary);
    color: #fff;
    padding: 0;
    overflow: hidden;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    height: 38px;
}

.ticker-label {
    background: var(--primary-dark);
    padding: 0 15px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse-label 2s infinite;
}

@keyframes pulse-label {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .7;
    }
}

.ticker-label i {
    animation: flash 1.5s infinite;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.ticker-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    padding: 0 30px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.ticker-item:hover {
    text-decoration: underline;
    color: #fff;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* === NAV === */
.main-nav {
    background: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    transition: all .2s;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--primary);
    color: #fff;
}

.mobile-toggle {
    display: none;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

/* === MOBILE MENU === */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--secondary);
    z-index: 10000;
    transition: left .3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.mobile-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.mobile-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mobile-menu ul li a:hover {
    background: var(--primary);
    color: #fff;
}

.mobile-menu ul li a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.mobile-social {
    padding: 15px 20px;
    display: flex;
    gap: 12px;
}

.mobile-social a {
    color: #fff;
    font-size: 18px;
    opacity: .8;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 9999;
    display: none;
}

.mobile-overlay.active {
    display: block;
}

/* === MAIN CONTENT === */
.site-main {
    min-height: 60vh;
    padding: 20px 0;
}

/* === HEADLINE SECTION (Top Slider) === */
.headline-section {
    margin-bottom: 25px;
}

.headline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    border-radius: var(--radius);
    overflow: hidden;
}

.headline-main {
    position: relative;
    grid-row: span 2;
    min-height: 420px;
}

.headline-side {
    position: relative;
    min-height: 208px;
}

.headline-main img,
.headline-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headline-main .headline-overlay,
.headline-side .headline-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .85));
    padding: 25px 20px 20px;
    color: #fff;
}

.headline-side .headline-overlay {
    padding: 15px;
}

.headline-overlay .cat-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.headline-main .headline-overlay h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
}

.headline-side .headline-overlay h3 {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.headline-overlay .news-meta {
    margin-top: 6px;
    font-size: 12px;
    opacity: .8;
}

.headline-overlay .news-meta i {
    margin-right: 3px;
}

.headline-main:hover img,
.headline-side:hover img {
    transform: scale(1.03);
}

.headline-main img,
.headline-side img {
    transition: transform .4s ease;
}

.headline-main,
.headline-side {
    overflow: hidden;
}

.headline-main a,
.headline-side a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

/* === BREAKING NEWS BAR === */
.breaking-bar {
    background: #fff;
    border-left: 4px solid var(--primary);
    padding: 12px 18px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.breaking-bar .label {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    white-space: nowrap;
    animation: pulse-label 2s infinite;
    text-transform: uppercase;
}

.breaking-bar .breaking-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* === SECTION TITLES === */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
}

.section-title h2 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title h2 i {
    color: var(--primary);
}

.section-title .see-all {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.section-title .see-all:hover {
    text-decoration: underline;
}

/* === CONTENT LAYOUT === */
.content-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 25px;
}

.content-main {
    min-width: 0;
}

.sidebar {
    min-width: 0;
}

/* === NEWS CARD (Grid) === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-card .card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.news-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.news-card:hover .card-img img {
    transform: scale(1.05);
}

.news-card .card-img .cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
}

.news-card .card-body {
    padding: 14px;
}

.news-card .card-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .card-body h3 a:hover {
    color: var(--primary);
}

.news-card .card-meta {
    font-size: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-card .card-meta i {
    margin-right: 3px;
    color: var(--primary);
}

/* === NEWS LIST (Sidebar style) === */
.news-list-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.news-list-item:first-child {
    padding-top: 0;
}

.news-list-item .list-img {
    width: 100px;
    min-width: 100px;
    aspect-ratio: 16/10;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.news-list-item .list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-item .list-body h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-item .list-body h4 a:hover {
    color: var(--primary);
}

.news-list-item .list-meta {
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* == Numbered List == */
.numbered-list .news-list-item {
    position: relative;
    padding-left: 35px;
}

.numbered-list .news-list-item .num {
    position: absolute;
    left: 0;
    top: 12px;
    width: 25px;
    height: 25px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === SIDEBAR === */
.sidebar-widget {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-title {
    background: var(--secondary);
    color: #fff;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: var(--primary);
}

.widget-body {
    padding: 12px 16px;
}

/* === CATEGORY SECTIONS === */
.category-section {
    margin-bottom: 30px;
}

.cat-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cat-big-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.cat-big-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.cat-big-card:hover img {
    transform: scale(1.05);
}

.cat-big-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    padding: 15px;
    color: #fff;
}

.cat-big-card .overlay h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.cat-small-list .news-list-item .list-img {
    width: 80px;
    min-width: 80px;
}

/* === PHOTO/VIDEO GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    padding: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.gallery-item .icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 32px;
    opacity: 0;
    transition: opacity .3s;
}

.gallery-item:hover .icon-overlay {
    opacity: 1;
}

/* === SINGLE NEWS PAGE === */
.news-detail {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 25px;
}

.news-detail .news-cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.news-detail h1 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.news-detail .news-excerpt {
    font-size: 17px;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.news-detail .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.news-detail .detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-detail .detail-meta i {
    color: var(--primary);
}

.news-featured-img {
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
}

.news-featured-img img {
    width: 100%;
}

.news-featured-img .img-caption {
    background: #f8f9fa;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--text-gray);
    font-style: italic;
}

.news-content {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
}

.news-content p {
    margin-bottom: 18px;
}

.news-content h2,
.news-content h3 {
    margin: 25px 0 12px;
    color: var(--text-dark);
}

.news-content img {
    border-radius: var(--radius);
    margin: 15px 0;
}

.news-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin: 20px 0;
    background: #fef2f2;
    font-style: italic;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.news-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* === TAGS === */
.news-tags {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.news-tags .label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.news-tags a {
    display: inline-block;
    background: #f0f2f5;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 20px;
    color: var(--text-gray);
    transition: all .2s;
}

.news-tags a:hover {
    background: var(--primary);
    color: #fff;
}

/* === SHARE BUTTONS === */
.share-buttons {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: opacity .2s;
}

.share-btn:hover {
    opacity: .85;
    color: #fff;
}

.share-btn.fb {
    background: #1877f2;
}

.share-btn.tw {
    background: #1da1f2;
}

.share-btn.wp {
    background: #25d366;
}

.share-btn.tg {
    background: #0088cc;
}

.share-btn.mail {
    background: #6c757d;
}

/* === RELATED NEWS === */
.related-news {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* === BREADCRUMB === */
.breadcrumb {
    background: #fff;
    padding: 12px 0;
    margin-bottom: 15px;
    font-size: 13px;
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb i {
    margin: 0 6px;
    font-size: 10px;
    color: var(--text-light);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 25px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: all .2s;
}

.pagination a:hover {
    background: var(--primary);
    color: #fff;
}

.pagination .current {
    background: var(--primary);
    color: #fff;
}

/* === CATEGORY PAGE === */
.cat-header {
    background: var(--secondary);
    color: #fff;
    padding: 20px 0;
    margin-bottom: 20px;
    border-radius: var(--radius);
}

.cat-header .container {
    padding: 0 20px;
}

.cat-header h1 {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
}

.cat-header p {
    font-size: 14px;
    opacity: .8;
}

/* === SEARCH PAGE === */
.search-header {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.search-header h1 {
    font-size: 20px;
    margin-bottom: 12px;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    outline: none;
}

.search-form input:focus {
    border-color: var(--primary);
}

.search-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* === AUTHOR PAGE === */
.author-header {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h1 {
    font-size: 22px;
    font-weight: 700;
}

.author-info p {
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 5px;
}

.author-social a {
    color: var(--primary);
    margin-right: 10px;
    font-size: 16px;
}

/* === STATIC PAGE === */
.page-content {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 25px;
}

.page-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.page-content .content {
    font-size: 16px;
    line-height: 1.85;
}

/* === FOOTER === */
.site-footer {
    background: var(--secondary);
    color: #fff;
    margin-top: 30px;
}

.footer-top {
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-logo img {
    max-height: 40px;
    margin-bottom: 12px;
}

.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
}

.footer-desc {
    font-size: 14px;
    opacity: .8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background .2s;
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    opacity: .8;
    transition: opacity .2s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-col p {
    font-size: 14px;
    opacity: .8;
    margin-bottom: 8px;
}

.footer-col p i {
    margin-right: 8px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    opacity: .7;
    margin-bottom: 3px;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: #fff;
    padding: 15px 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .2);
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    font-size: 13px;
    opacity: .9;
}

.btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

.btn-secondary {
    background: var(--secondary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
}

/* === AD SPACES === */
.ad-banner {
    text-align: center;
    margin-bottom: 20px;
}

.ad-banner img {
    max-width: 100%;
    border-radius: var(--radius);
}

/* === LOADING === */
.loading {
    text-align: center;
    padding: 30px;
}

.loading i {
    font-size: 24px;
    color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* === FLASH MESSAGES === */
.flash-message {
    padding: 12px 18px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* === NO IMAGE PLACEHOLDER === */
.no-image {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
    .content-wrap {
        grid-template-columns: 1fr;
    }

    .headline-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .headline-grid {
        grid-template-columns: 1fr;
    }

    .headline-main {
        min-height: 250px;
        grid-row: span 1;
    }

    .headline-side {
        min-height: 180px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .cat-news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .news-detail {
        padding: 18px;
    }

    .news-detail h1 {
        font-size: 22px;
    }

    .header-search input {
        width: 150px;
    }

    .top-bar-left .top-date {
        font-size: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-btn span {
        display: none;
    }

    .author-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header-search {
        display: none;
    }

    .breaking-bar {
        flex-direction: column;
        gap: 8px;
    }

    .headline-main {
        min-height: 200px;
    }

    .headline-main .headline-overlay h2 {
        font-size: 18px;
    }

    .news-detail h1 {
        font-size: 19px;
    }

    .news-content {
        font-size: 15px;
    }

    .detail-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* === PRINT === */
@media print {

    .top-bar,
    .main-header,
    .breaking-ticker,
    .main-nav,
    .sidebar,
    .share-buttons,
    .related-news,
    .site-footer,
    .cookie-banner,
    .back-to-top,
    .mobile-menu,
    .mobile-overlay {
        display: none !important;
    }

    .content-wrap {
        grid-template-columns: 1fr !important;
    }

    .news-detail {
        box-shadow: none;
        padding: 0;
    }

    body {
        background: #fff;
    }
}