/*
Theme Name: Turgutlu Yankı Haber
Theme URI: https://www.turgutluyanki.com/
Author: Kaya Medya Grubu
Author URI: https://www.turgutluyanki.com/
Description: Turgutlu Yankı gazetesi tarzında profesyonel haber teması. Dark mode, döviz kurları, hava durumu, son dakika şeridi, manşet slider, köşe yazarları, galeriler, gazete manşetleri.
Version: 1.0.0
Text Domain: turgutlu-yanki-haber
License: GNU General Public License v2 or later
*/

/* ==================== CSS RESET & VARIABLES ==================== */
:root {
  --primary: #c8102e;
  --primary-dark: #a00d24;
  --primary-light: #e8153d;
  --secondary: #1a1a2e;
  --accent: #fbb13c;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --bg-gray: #e9ecef;
  --text-dark: #1a1a2e;
  --text-gray: #6c757d;
  --text-light: #adb5bd;
  --border-light: #dee2e6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  --bg-light: #0d1117;
  --bg-white: #161b22;
  --bg-gray: #21262d;
  --text-dark: #e6edf3;
  --text-gray: #8b949e;
  --text-light: #6e7681;
  --border-light: #30363d;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ==================== TOP BAR ==================== */
.top-bar { background: var(--secondary); color: #fff; font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.top-bar-date { color: var(--text-light); }
.top-bar-right { display: flex; align-items: center; gap: 12px; }
.currency-item { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.currency-item .curr-label { color: var(--text-light); font-weight: 600; }
.currency-item .curr-value { color: #fff; font-weight: 700; }
.currency-item .curr-change.up { color: #4caf50; }
.currency-item .curr-change.down { color: #f44336; }
.weather-info { display: flex; align-items: center; gap: 4px; color: var(--accent); }

/* ==================== HEADER ==================== */
.site-header { background: var(--bg-white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; transition: background 0.3s ease; }
.header-main { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { max-height: 50px; width: auto; }
.site-logo .logo-text { font-size: 28px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.site-logo .logo-sub { font-size: 11px; color: var(--text-gray); font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-toggle, .dark-mode-toggle {
  background: var(--bg-gray); border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-dark); transition: var(--transition);
}
.search-toggle:hover { background: var(--primary); color: #fff; }
.dark-mode-toggle:hover { background: var(--accent); color: #fff; }
.header-search-form {
  display: none; position: absolute; top: 100%; right: 0; background: var(--bg-white);
  padding: 16px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-md); width: 320px; z-index: 1001;
}
.header-search-form.active { display: block; }
.header-search-form input {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border-light); border-radius: var(--radius);
  background: var(--bg-light); color: var(--text-dark); font-size: 14px;
}
.header-search-form input:focus { outline: none; border-color: var(--primary); }

/* ==================== MAIN NAV ==================== */
.main-nav { background: var(--primary); position: relative; }
.nav-menu { display: flex; list-style: none; align-items: center; flex-wrap: wrap; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 12px 16px; color: #fff; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3px; transition: var(--transition);
}
.nav-menu > li > a:hover, .nav-menu > li.current-menu-item > a { background: var(--primary-dark); color: #fff; }
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0; background: var(--bg-white); min-width: 200px;
  box-shadow: var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 1000; list-style: none;
}
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu a { display: block; padding: 10px 16px; color: var(--text-dark); font-size: 13px; border-bottom: 1px solid var(--border-light); }
.nav-menu .sub-menu a:hover { background: var(--bg-gray); color: var(--primary); }
.nav-menu .menu-item-has-children > a::after { content: '▼'; font-size: 9px; margin-left: 6px; opacity: 0.7; }
.mobile-menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 10px; }

/* ==================== SON DAKİKA ŞERİDİ ==================== */
.breaking-news-bar { background: var(--bg-white); border-top: 3px solid var(--primary); border-bottom: 1px solid var(--border-light); padding: 10px 0; overflow: hidden; }
.breaking-news-bar .container { display: flex; align-items: center; gap: 12px; }
.breaking-label {
  background: var(--primary); color: #fff; padding: 4px 14px; border-radius: 4px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 6px;
}
.breaking-label .pulse-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } 100% { opacity: 1; transform: scale(1); } }
.breaking-ticker { flex: 1; overflow: hidden; position: relative; }
.breaking-ticker-track { display: flex; gap: 40px; white-space: nowrap; animation: scrollTicker 40s linear infinite; }
.breaking-ticker-track:hover { animation-play-state: paused; }
@keyframes scrollTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.breaking-ticker-track a { font-size: 13px; font-weight: 500; color: var(--text-dark); }
.breaking-ticker-track a:hover { color: var(--primary); }
.breaking-ticker-track .news-time { color: var(--primary); font-weight: 700; margin-right: 6px; }

/* ==================== LAYOUT ==================== */
.main-content { padding: 24px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.content-area { min-width: 0; }
.sidebar-area { min-width: 0; }

/* ==================== MANŞET SLIDER ==================== */
.manset-slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 24px; background: #000; }
.manset-slider .slider-track { display: flex; transition: transform 0.5s ease; }
.manset-slide { min-width: 100%; position: relative; }
.manset-slide img { width: 100%; height: 450px; object-fit: cover; }
.manset-slide .slide-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 40px 24px 20px; }
.manset-slide .slide-category { display: inline-block; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.manset-slide .slide-title { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.3; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.manset-slide .slide-title a { color: #fff; }
.manset-slide .slide-title a:hover { color: var(--accent); }
.slider-nav { position: absolute; bottom: 16px; right: 16px; display: flex; gap: 6px; z-index: 10; }
.slider-dot { width: 28px; height: 4px; background: rgba(255,255,255,0.4); border: none; border-radius: 2px; cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--primary); width: 40px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 10; }
.slider-arrow:hover { background: var(--primary); }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }

/* ==================== KATEGORİ HABER BLOKLARI ==================== */
.cat-block { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 24px; overflow: hidden; }
.cat-block-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 3px solid var(--primary); background: var(--bg-white); }
.cat-block-title { font-size: 18px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.cat-block-title::before { content: ''; display: block; width: 4px; height: 20px; background: var(--primary); border-radius: 2px; }
.cat-block-more { font-size: 12px; color: var(--text-gray); font-weight: 600; }
.cat-block-more:hover { color: var(--primary); }
.cat-block-body { padding: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-grid.two-cols { grid-template-columns: repeat(2, 1fr); }
.news-grid.one-main { grid-template-columns: 1fr 1fr; gap: 16px; }
.news-grid.one-main .news-item:first-child { grid-column: 1 / -1; }

/* News Card */
.news-card { background: var(--bg-white); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card .card-img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.news-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .card-img img { transform: scale(1.05); }
.news-card .card-badge { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.news-card .card-body { padding: 12px; }
.news-card .card-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .card-title a:hover { color: var(--primary); }
.news-card .card-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-gray); }

/* Horizontal News List */
.news-list-horizontal { display: flex; flex-direction: column; gap: 12px; }
.news-list-horizontal .news-item-h { display: flex; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.news-list-horizontal .news-item-h:last-child { border-bottom: none; padding-bottom: 0; }
.news-item-h .item-h-img { width: 120px; height: 80px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.news-item-h .item-h-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-h .item-h-body { flex: 1; min-width: 0; }
.news-item-h .item-h-title { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
.news-item-h .item-h-title a:hover { color: var(--primary); }
.news-item-h .item-h-meta { font-size: 11px; color: var(--text-gray); }

/* ==================== SIDEBAR ==================== */
.sidebar-widget { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 20px; overflow: hidden; }
.widget-title { padding: 12px 16px; border-bottom: 3px solid var(--primary); font-size: 16px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.widget-title::before { content: ''; display: block; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
.widget-body { padding: 14px 16px; }

/* Çok Okunanlar */
.most-read-list { list-style: none; }
.most-read-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.most-read-list li:last-child { border-bottom: none; }
.most-read-list .read-num { font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1; flex-shrink: 0; width: 30px; text-align: center; }
.most-read-list .read-title { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.most-read-list .read-title a:hover { color: var(--primary); }

/* Burçlar */
.horoscope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.horoscope-item { text-align: center; padding: 10px 6px; border-radius: 6px; background: var(--bg-gray); transition: var(--transition); cursor: pointer; }
.horoscope-item:hover { background: var(--primary); color: #fff; }
.horoscope-item .h-symbol { font-size: 24px; margin-bottom: 4px; }
.horoscope-item .h-name { font-size: 11px; font-weight: 600; }

/* Video Galeri Widget */
.video-gallery-widget .video-item { position: relative; margin-bottom: 12px; }
.video-gallery-widget .video-item:last-child { margin-bottom: 0; }
.video-gallery-widget .video-thumb { position: relative; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; }
.video-gallery-widget .video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-gallery-widget .play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; background: rgba(200,16,46,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.video-gallery-widget .video-title { font-size: 13px; font-weight: 600; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Foto Galeri Widget */
.photo-gallery-widget .photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.photo-gallery-widget .photo-item { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.photo-gallery-widget .photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.photo-gallery-widget .photo-item:hover img { transform: scale(1.1); }
.photo-gallery-widget .photo-icon { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,0.6); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11px; }

/* Gazete Manşetleri */
.newspaper-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.newspaper-item { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; }
.newspaper-item img { width: 100%; height: 100%; object-fit: cover; }
.newspaper-item .np-name { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 8px; text-align: center; }

/* E-Gazete */
.egazete-widget { text-align: center; }
.egazete-widget .egazete-img { width: 100%; border-radius: 6px; margin-bottom: 10px; }
.egazete-widget .egazete-btn { display: inline-block; background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.egazete-widget .egazete-btn:hover { background: var(--primary-dark); }

/* ==================== KÖŞE YAZARLARI ==================== */
.authors-block { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 24px; overflow: hidden; }
.authors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px; }
.author-card { text-align: center; padding: 12px; border-radius: var(--radius); background: var(--bg-light); transition: var(--transition); }
.author-card:hover { background: var(--bg-gray); transform: translateY(-2px); }
.author-card .author-avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 8px; border: 3px solid var(--primary); }
.author-card .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-card .author-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.author-card .author-role { font-size: 11px; color: var(--text-gray); margin-bottom: 6px; }
.author-card .author-article { font-size: 12px; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.author-card .author-article a:hover { color: var(--primary); }

/* ==================== SINGLE ARTICLE ==================== */
.article-header { margin-bottom: 20px; }
.article-category { display: inline-block; background: var(--primary); color: #fff; padding: 4px 14px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.article-title { font-size: 32px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; color: var(--text-dark); }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-gray); padding-bottom: 16px; border-bottom: 1px solid var(--border-light); flex-wrap: wrap; }
.article-meta .meta-author { font-weight: 600; color: var(--text-dark); }
.article-featured-img { width: 100%; border-radius: var(--radius); margin-bottom: 20px; box-shadow: var(--shadow-md); }
.article-content { font-size: 17px; line-height: 1.8; color: var(--text-dark); }
.article-content p { margin-bottom: 16px; }
.article-content h2, .article-content h3 { margin: 24px 0 12px; font-weight: 700; }
.article-content img { border-radius: var(--radius); margin: 16px 0; }
.article-content blockquote { border-left: 4px solid var(--primary); padding: 12px 20px; margin: 16px 0; background: var(--bg-gray); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-tags { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.article-tags .tag-title { font-weight: 700; margin-right: 8px; }
.article-tags a { display: inline-block; background: var(--bg-gray); color: var(--text-dark); padding: 4px 12px; border-radius: 4px; font-size: 12px; margin: 4px 4px 4px 0; }
.article-tags a:hover { background: var(--primary); color: #fff; }
.article-share { display: flex; align-items: center; gap: 8px; margin: 20px 0; padding: 16px; background: var(--bg-gray); border-radius: var(--radius); flex-wrap: wrap; }
.article-share .share-title { font-weight: 700; margin-right: 8px; }
.article-share a { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-telegram { background: #0088cc; }

/* ==================== ARCHIVE ==================== */
.archive-header { background: var(--bg-white); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.archive-header h1 { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.archive-header .archive-desc { font-size: 14px; color: var(--text-gray); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ==================== PAGINATION ==================== */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 30px 0; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 6px; background: var(--bg-white); color: var(--text-dark); font-size: 14px; font-weight: 600; border: 1px solid var(--border-light); transition: var(--transition); }
.pagination a:hover, .pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--secondary); color: #adb5bd; padding: 40px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer-col h3 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #adb5bd; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; text-align: center; font-size: 12px; }
.footer-bottom a { color: var(--accent); }

/* ==================== ADBLOCK WARNING ==================== */
.adblock-warning { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.85); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.adblock-warning.active { display: flex; }
.adblock-warning .adblock-box { background: var(--bg-white); border-radius: 12px; padding: 30px; max-width: 450px; text-align: center; }
.adblock-warning .adblock-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.adblock-warning .adblock-box p { font-size: 14px; color: var(--text-gray); margin-bottom: 20px; line-height: 1.6; }
.adblock-warning .adblock-box button { background: var(--primary); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 700; cursor: pointer; }

/* ==================== BACK TO TOP ==================== */
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--primary); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: var(--shadow-md); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ==================== MOBILE MENU ==================== */
.mobile-nav { display: none; position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: var(--bg-white); box-shadow: var(--shadow-lg); z-index: 9999; transition: left 0.3s ease; overflow-y: auto; }
.mobile-nav.active { left: 0; }
.mobile-nav-header { background: var(--primary); color: #fff; padding: 16px; display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.mobile-nav-menu { list-style: none; }
.mobile-nav-menu > li > a { display: block; padding: 14px 16px; color: var(--text-dark); font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border-light); }
.mobile-nav-menu .sub-menu { list-style: none; background: var(--bg-light); }
.mobile-nav-menu .sub-menu a { padding-left: 32px; font-size: 14px; }
.mobile-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9998; }
.mobile-overlay.active { display: block; }

/* ==================== 404 ==================== */
.error-404 { text-align: center; padding: 60px 20px; }
.error-404 h1 { font-size: 80px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.error-404 h2 { font-size: 24px; margin-bottom: 16px; }
.error-404 p { color: var(--text-gray); margin-bottom: 20px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-area { order: 2; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .authors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: block; }
  .top-bar-right .currency-item:nth-child(n+3) { display: none; }
  .manset-slide img { height: 280px; }
  .manset-slide .slide-title { font-size: 18px; }
  .news-grid, .news-grid.two-cols, .news-grid.one-main { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .article-title { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .horoscope-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .archive-grid { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: 1fr; }
  .top-bar-left { display: none; }
  .breaking-ticker-track { font-size: 12px; }
  .article-title { font-size: 20px; }
  .article-content { font-size: 15px; }
}