/* =============================================
   Basketbolig.com - Frontend CSS
   The Big Lead + NBA.com Tarzı Tasarım
   ============================================= */

:root {
    --primary: #1a1a2e;
    --primary-dark: #0f0f1e;
    --accent: #e74c3c;
    --accent-hover: #c0392b;
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-gray: #f5f5f5;
    --bg-dark: #1a1a2e;
    --border: #e5e5e5;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --max-width: 1280px;
    --header-height: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   BREAKING NEWS BAR
   ============================================= */
.breaking-bar {
    background: var(--accent);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
}

.breaking-bar .container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breaking-tag {
    background: #fff;
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    white-space: nowrap;
}

.breaking-text {
    overflow: hidden;
    white-space: nowrap;
}

.breaking-text a {
    color: #fff;
    animation: marquee 20s linear infinite;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   HEADER (The Big Lead Tarzı)
   ============================================= */
.site-header {
    background: var(--bg);
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.site-logo span {
    color: var(--accent);
}

.site-logo img {
    height: 50px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav a {
    padding: 18px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* Social Icons in Header */
.header-social {
    display: flex;
    gap: 6px;
}

.header-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s;
}

.header-social a:hover {
    background: var(--accent);
}

/* Navigation Dropdown */
.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-item > a {
    padding: 18px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.nav-item > a::after {
    content: ' ▾';
    font-size: 10px;
    opacity: 0.5;
}

.nav-item:hover > a {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 1001;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
    text-transform: none;
    letter-spacing: 0;
}

.nav-dropdown a:last-child { border-bottom: none; }

.nav-dropdown a:hover {
    background: var(--bg-gray);
    color: var(--accent);
    padding-left: 22px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* =============================================
   SCORE WIDGET (NBA.com Tarzı)
   ============================================= */
.score-widget {
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    overflow: hidden;
}

.score-widget .container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.score-widget iframe {
    width: 100%;
    border: none;
    min-height: 80px;
}

.score-widget-placeholder {
    text-align: center;
    padding: 15px;
    color: var(--text-muted);
    font-size: 13px;
}

/* =============================================
   AD CONTAINERS
   ============================================= */
/* Reklam clip wrapper - Google Ads override edemez */
.ad-clip {
    max-height: 90px !important;
    overflow: hidden !important;
    text-align: center;
}

.ad-container {
    text-align: center;
    padding: 10px 0;
}

.ad-container img {
    max-width: 100%;
    height: auto;
    max-height: 90px;
}

/* =============================================
   HERO SECTION (NBA.com Tarzı)
   ============================================= */
.hero-section {
    padding: 20px 0 0;
}

/* Ana Grid: Sol Manşet+Slider + Sağ Gündem */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

/* Sol Kolon */
.hero-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* Büyük Manşet Resmi */
.hero-main {
    position: relative;
    display: block;
    min-height: 380px;
    overflow: hidden;
    flex: 1;
}

.hero-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-main:hover .hero-main-img {
    transform: scale(1.03);
}

.hero-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 25px 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

.hero-main-category {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hero-main h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ---- Manşet Altı Sabit Şerit (hover ile manşet değişir) ---- */
.hero-sub-strip {
    display: flex;
    background: var(--primary-dark);
    border-top: 2px solid var(--accent);
}

.sub-strip-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-right: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.sub-strip-item:last-child { border-right: none; }

.sub-strip-item:hover,
.sub-strip-item.active {
    background: rgba(231,76,60,0.2);
}

.sub-strip-item.active {
    border-bottom: 2px solid var(--accent);
    margin-bottom: -2px;
}

.sub-strip-item img {
    width: 55px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.sub-strip-placeholder {
    width: 55px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 14px;
    flex-shrink: 0;
}

.sub-strip-info {
    flex: 1;
    min-width: 0;
}

.sub-strip-cat {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.sub-strip-item h4 {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255,255,255,0.85);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sub-strip-item:hover h4,
.sub-strip-item.active h4 {
    color: #fff;
}

/* Manşet resmi fade geçişi */
.hero-main-img {
    transition: opacity 0.3s ease, transform 0.4s ease;
}

/* Sağ: Gündem Listesi */
.hero-right {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}

.headlines-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.headlines-header a {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    transition: color 0.2s;
}

.headlines-header a:hover { color: #fff; }

.headlines-list {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.headline-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 18px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.headline-row:last-child { border-bottom: none; }

.headline-row:hover {
    background: var(--bg-gray);
}

.headline-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    color: var(--accent);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    margin-top: 2px;
}

.headline-row:nth-child(-n+3) .headline-num {
    background: var(--accent);
    color: #fff;
}

.headline-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
    transition: color 0.2s;
}

.headline-row:hover .headline-text { color: var(--accent); }

/* =============================================
   AUTHORS SECTION (Kayan Slider)
   ============================================= */
.authors-section {
    padding: 30px 0;
    background: var(--bg-gray);
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.section-header .section-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.section-header .see-more {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.section-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--border);
    margin-left: 15px;
}

/* Yazarlar Kayan Slider */
.authors-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.authors-slider-track {
    display: flex;
    gap: 20px;
    animation: authorsSlide 25s linear infinite;
    width: max-content;
}

.authors-slider-wrapper:hover .authors-slider-track {
    animation-play-state: paused;
}

@keyframes authorsSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.author-slide {
    flex-shrink: 0;
    width: 180px;
    background: var(--bg);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.author-slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.author-slide img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid var(--border);
}

.author-slide .author-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 28px;
    color: var(--text-muted);
}

.author-slide h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-slide p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* authors.php sayfası için grid (liste sayfası) */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.author-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.author-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.author-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 3px solid var(--border);
}

.author-card .author-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 32px;
    color: var(--text-muted);
}

.author-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.author-card p {
    font-size: 12px;
    color: var(--text-muted);
}

/* =============================================
   CATEGORY NEWS SECTIONS (NFL/NBA Tarzı 5'li Kartlar)
   ============================================= */
.category-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.category-section:nth-child(even) {
    background: var(--bg-gray);
}

.news-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.news-card {
    transition: transform 0.2s;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    background: var(--bg-gray);
}

.news-card h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text);
    transition: color 0.2s;
}

.news-card:hover h3 { color: var(--accent); }

.news-card .news-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card .news-meta .author-name {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 15px;
}

.footer-about h3 span { color: var(--accent); }

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    transition: background 0.2s;
}

.footer-social a:hover { background: var(--accent); }

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    padding: 30px 0;
    text-align: center;
}

.pagination ul {
    list-style: none;
    display: inline-flex;
    gap: 5px;
}

.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.2s;
}

.pagination li a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination li.active a {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* =============================================
   DETAIL PAGE
   ============================================= */
.detail-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 30px 0;
}

.article-content {
    line-height: 1.8;
    font-size: 16px;
}

.article-content h1 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
}

.article-content .article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.article-content .article-meta .category-badge {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.article-content .featured-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content img {
    border-radius: 6px;
    margin: 15px 0;
}

/* Tags */
.article-tags {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.article-tags span {
    display: inline-block;
    background: var(--bg-gray);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-light);
    margin: 3px;
    transition: background 0.2s;
}

.article-tags span:hover { background: var(--border); }

/* Share */
.share-buttons {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.share-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.share-btn:hover { opacity: 0.85; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }

/* Sidebar */
.sidebar-content {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.sidebar-widget {
    margin-bottom: 25px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-widget .widget-header {
    padding: 15px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.sidebar-widget .widget-body {
    padding: 15px;
}

.sidebar-news-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-news-item:last-child { border-bottom: none; }

.sidebar-news-item img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar-news-item h5 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    transition: color 0.2s;
}

.sidebar-news-item:hover h5 { color: var(--accent); }

.sidebar-news-item .meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* =============================================
   COMMENTS
   ============================================= */
.comments-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

.comments-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 10px;
}

.comment-form input {
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 10px;
    margin-right: 10px;
    width: calc(50% - 10px);
}

.comment-form button {
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

.comment-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.comment-item .comment-author {
    font-weight: 700;
    font-size: 14px;
}

.comment-item .comment-date {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-item .comment-text {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
}

/* =============================================
   SEARCH PAGE
   ============================================= */
.search-hero {
    background: var(--primary);
    padding: 40px 0;
    color: #fff;
    text-align: center;
}

.search-hero h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
}

.search-form button {
    padding: 14px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    cursor: pointer;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb span { margin: 0 6px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-right { border-left: none; border-top: 1px solid var(--border); max-height: 280px; }
    .hero-main { min-height: 320px; }
    .news-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-container { grid-template-columns: 1fr; }
    .hero-sub-strip { overflow-x: auto; }
    .sub-strip-item { min-width: 160px; flex: none; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        border-bottom: 3px solid var(--primary);
        box-shadow: var(--shadow);
        z-index: 999;
    }
    .main-nav.active { display: flex; }
    .main-nav a { padding: 14px 20px; border-bottom: 1px solid var(--border); margin: 0; }
    .nav-item { display: block; width: 100%; }
    .nav-item > a { display: block; width: 100%; border-bottom: 1px solid var(--border); margin: 0; }
    .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; min-width: 100%; display: none; }
    .nav-item.open .nav-dropdown { display: block; }
    .nav-dropdown a { padding-left: 35px; background: var(--bg-gray); }
    .header-social { display: none; }
    .hero-main { min-height: 260px; }
    .hero-main h2 { font-size: 20px; }
    .news-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .authors-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .article-content h1 { font-size: 24px; }
    .sub-strip-item { min-width: 140px; flex: none; }
    .sub-strip-item img { width: 40px; height: 30px; }
    .sub-strip-item h4 { font-size: 10px; }
}

@media (max-width: 480px) {
    .news-grid-5 { grid-template-columns: 1fr; }
    .authors-grid { grid-template-columns: 1fr 1fr; }
    .hero-main { min-height: 200px; }
    .hero-main h2 { font-size: 18px; }
    .hero-main-overlay { padding: 15px; }
    .hero-sub-strip { overflow-x: auto; }
    .sub-strip-item { min-width: 120px; }
    .sub-strip-item img { display: none; }
}
