:root {
    --primary-color: #c41e3a;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden; /* Yatay kaydırma kilidi */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: var(--shadow);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo img {
        max-height: 40px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
}

/* Navigation Dropdown */
.main-nav {
    display: flex;
    gap: 5px;
    align-items: center;
}

.main-nav > a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
}

.main-nav > a:hover {
    color: var(--primary-color);
    background: rgba(196, 30, 58, 0.05);
}

.nav-item {
    position: relative;
}

.nav-item > a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.nav-item > a svg {
    transition: transform 0.3s;
}

.nav-item:hover > a {
    color: var(--primary-color);
    background: rgba(196, 30, 58, 0.05);
}

.nav-item.has-dropdown:hover > a svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 8px;
    display: none;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.08);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    display: none;
}

.nav-item.has-dropdown:hover::before {
    display: block;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-icon {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.dropdown-menu a:hover .dropdown-icon {
    transform: translateX(3px);
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 30px 0;
    background: var(--light-gray);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.hero-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hero-card {
    display: block;
    position: relative;
    height: 500px;
    text-decoration: none;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    padding: 30px;
}

.hero-content h2 {
    font-size: 32px;
    margin: 10px 0;
}

.hero-content p {
    font-size: 16px;
    margin: 10px 0;
    opacity: 0.9;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-card {
    display: flex;
    gap: 15px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s;
    box-shadow: var(--shadow);
}

.side-card:hover {
    transform: translateY(-2px);
}

.side-card img {
    width: 120px;
    height: 100px;
    object-fit: cover;
}

.side-content {
    flex: 1;
    padding: 10px;
}

.side-content h3 {
    font-size: 14px;
    color: var(--text-color);
    margin: 5px 0;
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.category-badge.small {
    padding: 3px 8px;
    font-size: 10px;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.news-image {
    display: block;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-body {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    margin: 10px 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-title a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    line-height: 1.5;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.news-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
}

.news-meta svg {
    opacity: 0.7;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    list-style: none;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--primary-color);
}

.popular-list {
    list-style: none;
}

.popular-list li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-list li:last-child {
    border-bottom: none;
}

.popular-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-list a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s;
}

.popular-list a:hover {
    color: var(--primary-color);
}

/* Article Detail */
.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: #999;
}

.article-detail {
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
    overflow-x: hidden; /* Yatay taşma kilidi */
}

.article-header {
    margin-bottom: 30px;
    overflow-x: hidden; /* Yatay taşma kilidi */
}

.article-title {
    font-size: 36px;
    line-height: 1.3;
    margin: 15px 0;
}

.article-spot {
    font-size: 18px;
    color: #666;
    margin: 15px 0;
    font-weight: 500;
}

.article-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: #666;
}

/* Paylaşım Butonları - MOBİL UYUMLU */
.article-share {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    width: 100%;
}

.share-btn {
    background-color: cadetblue;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    flex: 1 1 160px; /* Esnek genişlik */
    min-width: 140px;
    box-sizing: border-box;
}

.share-btn svg {
    flex-shrink: 0;
    margin-right: 6px;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.copy {
    background: #6c757d;
}

.article-image {
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-content p {
    margin: 20px 0;
}

.article-content h2 {
    margin: 30px 0 15px;
    font-size: 26px;
}

.article-content h3 {
    margin: 25px 0 12px;
    font-size: 22px;
}

/* İçerikteki medya elemanları responsive */
.article-content img,
.article-content video,
.article-content iframe,
.article-content table {
    max-width: 100% !important;
    height: auto;
    display: block;
}

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin: 8px 0;
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-gray);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
}

/* Related News */
.related-news {
    margin-top: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.related-image {
    display: block;
}

.related-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.related-content a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.related-content a:hover {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.footer-col ul li {
    margin: 8px 0;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    color: #666;
}

/* Category Section */
.category-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.section-header .section-title {
    margin: 0;
    border: none;
    padding: 0;
}

.section-header .section-title a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.section-header .section-title a:hover {
    color: var(--primary-color);
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.3s;
}

.view-all:hover {
    opacity: 0.7;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-error {
    background: #fee;
    color: #c33;
    border-color: #c33;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border-color: #3c3;
}

/* Yorum formu responsive */
.comment-form input,
.comment-form textarea,
.comment-form button {
    max-width: 100%;
    box-sizing: border-box;
}

.comments-section {
    max-width: 100%;
    overflow-x: hidden;
}

.comment {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Paylaşım butonlarında metin gizle mobilde */
@media (max-width: 768px) {
    .share-btn span {
        display: none; /* Sadece ikon göster */
    }
    
    .share-btn {
        padding: 8px;
        min-width: auto;
        flex: 0 1 auto;
        width: 44px;
        height: 44px;
    }
    
    .share-btn svg {
        margin-right: 0;
    }
    
    /* Form kolonları mobilde tek sütun */
    .comment-form > form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-card {
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 1;
}

.social-icons svg {
    width: 20px;
    height: 20px;
}
    }
    
    .article-detail {
        padding: 25px;
    }
    
    /* Mobil Menü */
    .main-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        z-index: 1999;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-item > a {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        margin-top: 8px;
        background: rgba(196, 30, 58, 0.03);
        border-radius: 6px;
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Body scroll kilidi */
    body.menu-open {
        overflow: hidden;
        touch-action: none;
    }
    
    /* Paylaşım butonları mobil */
    .article-share {
        gap: 8px;
    }
    
    .share-btn {
        padding: 6px 10px;
        font-size: 13px;
        flex: 1 1 48%;
        min-width: 48%;
    }
}

@media (max-width: 768px) {
    .logo img {
        max-height: 40px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .main-nav {
        top: 58px;
        max-height: calc(100vh - 58px);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-card {
        height: 360px;
    }
}

@media (max-width: 480px) {
    .share-btn {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .article-title {
        font-size: 24px;
    }
}

/* Taşmayı tetikleyebilecek uzun kelimeleri kır */
.article-content,
.news-title,
.related-content h3,
.section-title {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Küçük ekran optimizasyonu */
@media (max-width: 768px) {
    .article-share {
        gap: 8px;
    }
    .share-btn {
        padding: 6px 10px;
        font-size: 13px;
        flex: 1 1 48%; /* iki sütuna yakın yerleşim */
        min-width: 48%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .share-btn {
        flex: 1 1 100%; /* tek sütun */
        min-width: 100%;
    }
}

/* Sayfa genelinde yatay kaydırma kilidi (güvenli) */
body {
    /* ...existing code... */
    overflow-x: hidden; /* yatay taşmayı kapat */
}

/* Article Detail güvenli alan */
.article-detail,
.article-header {
    overflow-x: hidden;
}

/* Paylaşım butonları - mobilde taşmayı engelle */
.article-share {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    width: 100%;
}

.share-btn {
	background-color: cadetblue;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    flex: 1 1 160px;      /* minimum ~160px, sığmazsa sar */
    min-width: 140px;
}

/* İkonlar shrink olmasın, metin taşmasın */
.share-btn svg {
    flex-shrink: 0;
    margin-right: 6px;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.copy {
    background: #6c757d;
}

.article-image {
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-content p {
    margin: 20px 0;
}

.article-content h2 {
    margin: 30px 0 15px;
    font-size: 26px;
}

.article-content h3 {
    margin: 25px 0 12px;
    font-size: 22px;
}

/* İçerikteki medya elemanları responsive */
.article-content img,
.article-content video,
.article-content iframe,
.article-content table {
    max-width: 100% !important;
    height: auto;
    display: block;
}

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin: 8px 0;
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-gray);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
}

/* Related News */
.related-news {
    margin-top: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.related-image {
    display: block;
}

.related-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.related-content a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.related-content a:hover {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.footer-col ul li {
    margin: 8px 0;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    color: #666;
}

/* Category Section */
.category-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.section-header .section-title {
    margin: 0;
    border: none;
    padding: 0;
}

.section-header .section-title a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.section-header .section-title a:hover {
    color: var(--primary-color);
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.3s;
}

.view-all:hover {
    opacity: 0.7;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-error {
    background: #fee;
    color: #c33;
    border-color: #c33;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border-color: #3c3;
}

/* Yorum formu responsive */
.comment-form input,
.comment-form textarea,
.comment-form button {
    max-width: 100%;
    box-sizing: border-box;
}

.comments-section {
    max-width: 100%;
    overflow-x: hidden;
}

.comment {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Paylaşım butonlarında metin gizle mobilde */
@media (max-width: 768px) {
    .share-btn span {
        display: none; /* Sadece ikon göster */
    }
    
    .share-btn {
        padding: 8px;
        min-width: auto;
        flex: 0 1 auto;
        width: 44px;
        height: 44px;
    }
    
    .share-btn svg {
        margin-right: 0;
    }
    
    /* Form kolonları mobilde tek sütun */
    .comment-form > form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-card {
        height: 400px;
    }
    
    .article-detail {
        padding: 25px;
    }
    
    /* Mobil Menü */
    .main-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        z-index: 1999;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-item > a {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        margin-top: 8px;
        background: rgba(196, 30, 58, 0.03);
        border-radius: 6px;
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Body scroll kilidi */
    body.menu-open {
        overflow: hidden;
        touch-action: none;
    }
    
    /* Paylaşım butonları mobil */
    .article-share {
        gap: 8px;
    }
    
    .share-btn {
        padding: 6px 10px;
        font-size: 13px;
        flex: 1 1 48%;
        min-width: 48%;
    }
}

@media (max-width: 768px) {
    .logo img {
        max-height: 40px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .main-nav {
        top: 58px;
        max-height: calc(100vh - 58px);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-card {
        height: 360px;
    }
}

@media (max-width: 480px) {
    .share-btn {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .article-title {
        font-size: 24px;
    }
}

/* Taşmayı tetikleyebilecek uzun kelimeleri kır */
.article-content,
.news-title,
.related-content h3,
.section-title {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Küçük ekran optimizasyonu */
@media (max-width: 768px) {
    .article-share {
        gap: 8px;
    }
    .share-btn {
        padding: 6px 10px;
        font-size: 13px;
        flex: 1 1 48%; /* iki sütuna yakın yerleşim */
        min-width: 48%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .share-btn {
        flex: 1 1 100%; /* tek sütun */
        min-width: 100%;
    }
}

/* Sayfa genelinde yatay kaydırma kilidi (güvenli) */
body {
    /* ...existing code... */
    overflow-x: hidden; /* yatay taşmayı kapat */
}

/* Article Detail güvenli alan */
.article-detail,
.article-header {
    overflow-x: hidden;
}

/* Paylaşım butonları - mobilde taşmayı engelle */
.article-share {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    width: 100%;
}

.share-btn {
	background-color: cadetblue;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    font-size: 14px;.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 1;
}

.social-icons svg {
    width: 24px;
    height: 24px;
}
    font-weight: 500;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    flex: 1 1 160px;      /* minimum ~160px, sığmazsa sar */
    min-width: 140px;
}

/* İkonlar shrink olmasın, metin taşmasın */
.share-btn svg {
    flex-shrink: 0;
    margin-right: 6px;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.copy {
    background: #6c757d;
}

.article-image {
    margin: 30px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-content p {
    margin: 20px 0;
}

.article-content h2 {
    margin: 30px 0 15px;
    font-size: 26px;
}

.article-content h3 {
    margin: 25px 0 12px;
    font-size: 22px;
}

/* İçerikteki medya elemanları responsive */
.article-content img,
.article-content video,
.article-content iframe,
.article-content table {
    max-width: 100% !important;
    height: auto;
    display: block;
}

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin: 8px 0;
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-gray);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
}

/* Related News */
.related-news {
    margin-top: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.related-image {
    display: block;
}

.related-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.related-content a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.related-content a:hover {
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.footer-col ul li {
    margin: 8px 0;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    color: #666;
}

/* Category Section */
.category-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.section-header .section-title {
    margin: 0;
    border: none;
    padding: 0;
}

.section-header .section-title a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.section-header .section-title a:hover {
    color: var(--primary-color);
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: opacity 0.3s;
}

.view-all:hover {
    opacity: 0.7;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-error {
    background: #fee;
    color: #c33;
    border-color: #c33;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border-color: #3c3;
}

/* Yorum formu responsive */
.comment-form input,
.comment-form textarea,
.comment-form button {
    max-width: 100%;
    box-sizing: border-box;
}

.comments-section {
    max-width: 100%;
    overflow-x: hidden;
}

.comment {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Paylaşım butonlarında metin gizle mobilde */
@media (max-width: 768px) {
    .share-btn span {
        display: none; /* Sadece ikon göster */
    }
    
    .share-btn {
        padding: 8px;
        min-width: auto;
        flex: 0 1 auto;
        width: 44px;
        height: 44px;
    }
    
    .share-btn svg {
        margin-right: 0;
    }
    
    /* Form kolonları mobilde tek sütun */
    .comment-form > form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}
.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 1;
}

.social-icons svg {
    width: 24px;
    height: 24px;
}