/*
Theme Name: Seriknet Haber
Theme URI: https://www.orneksite.com/haberplus
Description: Seriknet Haber WordPress Haber Teması
Version: 1.0
Author: Your Name
Text Domain: Seriknet
*/

/* ===== GENEL STİLLER ===== */
:root {
    --primary: #e74c3c;
    --secondary: #2c3e50;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
    --text: #333;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3);
    color: var(--white);
}

.section-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
}

/* ===== HEADER STİLLERİ ===== */
.site-header {
	background: var(--white);
    border-bottom: 1px solid #e0e0e0; /* Hafif çizgi */
    position: sticky;
	padding: 0; /* Header padding'i sıfırla */
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--secondary);
    color: var(--white);
    padding: 0; /* Header padding'i sıfırla */
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.header-top-left {
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-top-left span,
.header-top-left a {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 1px;
    transition: var(--transition);
}

.header-top-left a:hover {
    color: var(--primary);
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 2px;
}

.social-link {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: var(--transition);
    padding: 4px;
    border-radius: 3px;
}

.social-link:hover {
    color: var(--white);
    background: var(--primary);
    transform: translateY(-1px);
}

.header-main {
    padding: 15px 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1px;
}

.site-branding {
    flex-shrink: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

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

.site-title a:hover {
    color: var(--secondary);
}

.site-description {
    font-size: 13px;
    color: var(--gray);
    margin: 5px 0 0 0;
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-box {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-field {
    padding: 12px 20px;
    border: 2px solid var(--light);
    border-radius: 30px;
    width: 280px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.search-field:focus {
    outline: none;
    border-color: var(--primary);
    width: 320px;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.1);
}

.search-submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: var(--transition);
}

.search-submit:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: 2px solid var(--light);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.menu-bar {
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

.menu-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-bottom {
    background: var(--secondary);
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 18px 22px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-decoration: none;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: var(--primary);
    color: var(--white);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu .sub-menu li:last-child {
    border-bottom: none;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    text-transform: none;
    letter-spacing: normal;
}

.nav-menu .sub-menu a:hover {
    background: var(--primary);
    color: var(--white);
    padding-left: 25px;
}

.mobile-menu-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
    z-index: 1002;
}

.mobile-menu-close:hover {
    background: var(--light);
    color: var(--primary);
}

.breaking-news {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breaking-news-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.breaking-label {
    background: rgba(0,0,0,0.2);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.breaking-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    padding: 4px 0;
}

.ticker-item a {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.ticker-item a:hover {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
}

@keyframes ticker {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

/* ===== HERO WITH SIDEBAR LAYOUT ===== */
.hero-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 30px 0 40px 0;
    align-items: start;
    min-height: 500px;
}

.hero-main {
    grid-column: 1;
    height: 500px;
}

.hero-sidebar {
    grid-column: 2;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 2;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.swiper-slide-active .slide-image {
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 0;
    z-index: 3;
    color: var(--white);
}

.slide-content-inner {
    max-width: 800px;
    position: relative;
}

.slide-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.slide-category:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.slide-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-title a {
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(120deg, #dc2626 0%, #dc2626 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 88%;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.slide-title a:hover {
    color: var(--white);
    background-size: 100% 100%;
}

.slide-excerpt {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    opacity: 0.9;
}

.btn-slide {
    background: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid var(--primary);
}

.btn-slide:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    margin-top: -25px;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-slider .swiper-pagination {
    bottom: 20px !important;
}

.hero-slider .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.7;
    width: 10px;
    height: 10px;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

.hero-sidebar .slider-sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.hero-sidebar .widget-title {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    font-weight: 700;
}

.popular-posts-hero .popular-post {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-posts-hero .popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts-hero .post-thumb {
    width: 70px;
    height: 50px;
    margin-right: 12px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-posts-hero .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-posts-hero .post-content h4 {
    margin: 0 0 5px 0;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

.popular-posts-hero .post-content h4 a {
    color: var(--text);
    text-decoration: none;
}

.popular-posts-hero .post-content h4 a:hover {
    color: var(--primary);
}

.popular-posts-hero .post-meta {
    font-size: 11px;
    color: var(--gray);
}

/* ===== ANA İÇERİK ===== */
.main-content {
    display: flex;
    gap: 40px;
    margin: 50px 0;
}

.content-area {
    flex: 2;
}

.sidebar {
    flex: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
}

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

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

.news-excerpt {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray);
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== SIDEBAR BİLEŞENLERİ ===== */
.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    color: var(--secondary);
    font-weight: 700;
}

.popular-posts li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
    font-weight: 600;
}

.popular-post-content h4 a {
    color: var(--text);
}

.popular-post-content h4 a:hover {
    color: var(--primary);
}

.popular-post-content .post-date {
    font-size: 12px;
    color: var(--gray);
}

.categories-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    color: var(--text);
    font-weight: 500;
}

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

.categories-list span {
    background: var(--light);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--light);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== TEKİL YAZI SAYFASI ===== */
.single-post {
    background: var(--white);
    border-radius: 0;
    padding: 0;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.single-header {
    margin-bottom: 25px;
    text-align: center;
}

.post-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.single-title {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--secondary);
    font-weight: 700;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: var(--gray);
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.single-featured-image {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

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

.single-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
}

.single-content h2,
.single-content h3 {
    color: var(--secondary);
    margin: 25px 0 15px 0;
}

.single-content p {
    margin-bottom: 15px;
}

.single-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    color: var(--gray);
}

.single-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tags-links a {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.tags-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light);
    color: var(--text);
    transition: var(--transition);
}
/* Sadece reklam widget'larındaki resimler */
.wide-ad-widget img {
    width: 100% !important;
     height: 30vh;
    max-height: 30vh;
    max-width: 100%;
    display: block;
}

/* Text widget içindeki resimler için */
.widget_text .wide-ad-widget img {
    width: 100% !important;
     height: 30vh;
    max-height: 30vh;
}

/* Custom HTML widget içindeki resimler için */
.widget_custom_html .wide-ad-widget img {
    width: 100% !important;
     height: 30vh;
    max-height: 30vh;
}

.post-share a:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.share-facebook:hover { background: #3b5998; }
.share-twitter:hover { background: #1da1f2; }
.share-linkedin:hover { background: #0077b5; }
.share-whatsapp:hover { background: #25d366; }

.advanced-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.pagination-info {
    font-size: 14px;
    color: var(--gray);
}

.pagination-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 2px solid #eee;
    border-radius: 6px;
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
    padding: 0 12px;
    font-size: 14px;
    text-decoration: none;
}

.pagination-links .page-numbers:hover,
.pagination-links .page-numbers.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== FOOTER ===== */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 0 0;
    margin-top: 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    color: var(--white);
    font-weight: 700;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 16px;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE TASARIM ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-with-sidebar {
        grid-template-columns: 1fr 280px;
        gap: 25px;
    }
    
    .hero-slider {
        height: 450px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-with-sidebar {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .hero-sidebar {
        grid-column: 1;
        margin-top: 30px;
    }
    
    .hero-sidebar-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .search-field {
        width: 200px;
    }
    
    .search-field:focus {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-main-content {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .site-title {
        font-size: 14px;
    }
    
    .custom-logo {
        max-height: 40px;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: 0 0 30px rgba(0,0,0,0.2);
        transition: all 0.4s ease;
        z-index: 999;
        padding: 60px 20px 20px;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .mobile-menu-close {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu > li > a {
        color: var(--text);
        padding: 12px 0;
        font-weight: 600;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light);
        display: none;
        border-radius: 6px;
        margin: 8px 0;
        padding: 0;
    }
    
    .nav-menu .sub-menu.active {
        display: block;
    }
    
    .nav-menu .sub-menu a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .nav-menu > li.current-menu-item > a {
        background: var(--primary);
        color: var(--white);
        border-radius: 4px;
        padding: 12px;
    }
    
    .hero-sidebar-inner {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content {
        padding: 25px 0;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-excerpt {
        font-size: 14px;
    }
    
    .single-post {
        padding: 0;
    }
    
    .single-title {
        font-size: 24px;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .header-top-left {
        flex-direction: column;
        gap: 8px;
    }
    
    .advanced-pagination {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .pagination-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 20px 0;
    }
    
    .slide-title {
        font-size: 18px;
    }
    
    .slide-excerpt {
        display: none;
    }
    
    .slide-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .search-field {
        width: 150px;
    }
    
    .search-field:focus {
        width: 180px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}

/* ===== WORDPRESS ÖZEL SINIFLARI ===== */
.alignleft {
    float: left;
    margin: 0 15px 15px 0;
}

.alignright {
    float: right;
    margin: 0 0 15px 15px;
}

.aligncenter {
    display: block;
    margin: 0 auto 15px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--gray);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.sticky {
    background: #fff9e6;
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.bypostauthor {
    background: #f0f8ff;
}

/* Yorum formu */
.comment-form {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.15);
    outline: none;
}

.comment-form .submit,
.submit-button {
    background: linear-gradient(135deg, #0073aa, #0098d4);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.comment-form .submit:hover,
.submit-button:hover {
    background: linear-gradient(135deg, #005f8c, #0073aa);
    transform: translateY(-1px);
}

.comment-body {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.comment-avatar img {
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: bold;
    color: #333;
}

.comment-text {
    margin-top: 8px;
    line-height: 1.6;
}

.reply a {
    color: #0073aa;
    font-size: 14px;
}

.reply a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .comment-form {
        padding: 15px;
    }
    .comment-form input,
    .comment-form textarea {
        font-size: 14px;
        padding: 10px;
    }
    .comment-form .submit {
        width: 100%;
        text-align: center;
    }
}
/* ===== SLIDER ARKA PLAN SORUNU ÇÖZÜMÜ ===== */
.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--secondary); /* Fallback arka plan */
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slider içeriği için konteyner */
.slide-content-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.4) 50%,
        transparent 100%
    );
    padding: 40px 0 20px;
}

.slide-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    color: var(--white);
}

/* MOBİL DÜZELTMELERİ */
@media (max-width: 992px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content-container {
        padding: 30px 0 15px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 350px;
    }
    
    .slide-content-container {
        padding: 25px 0 10px;
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.9) 0%,
            rgba(0,0,0,0.5) 50%,
            transparent 100%
        );
    }
    
    .slide-content {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 300px;
    }
    
    .slide-content-container {
        padding: 20px 0 5px;
    }
}

/* EK GÜVENLİK ÖNLEMLERİ */
.hero-main {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.hero-with-sidebar .hero-slider {
    margin: 0;
    height: 500px;
}

/* Slider navigation düzeltmeleri */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    z-index: 10;
}

.hero-slider .swiper-pagination {
    z-index: 10;
}

/* Resim yüklenmezse fallback */
.slide-background:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    z-index: -1;
}

/* SLIDER BAŞLIK ACİL ÇÖZÜM */
.slide-content {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    padding: 40px 0 !important;
    color: #ffffff !important;
}

.slide-content-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    position: relative !important;
}

.slide-title {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    text-transform: uppercase !important; /* Sadece burada */
}

.slide-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    /* text-transform kuralını buradan kaldırdık */
}

/* Mobil için */
@media (max-width: 768px) {
    .slide-content {
        padding: 20px 0 !important;
    }
    
    .slide-title {
        font-size: 24px !important;
    }
}

/* Breadcrumb stilleri */
.breadcrumb-nav {
    margin-bottom: 20px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #999;
}

/* Section header stilleri */
.section-header {
    margin-bottom: 30px;
    text-align: center;
}

.page-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 10px;
    color: #333;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Görsel optimizasyonu */
.news-image-container {
    width: 100%;
    max-height: 500px;      /* istenirse üst limit koy */
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: auto;
    display: block;
}

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

/* Erişilebilirlik */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Grid düzeni */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .advanced-pagination {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* İlgili Haberler - Satıra Sığacak */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.related-post {
    width: 100%;
    break-inside: avoid;
}

.related-image {
    width: 100%;
    height: 150px;
}

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

.related-post-title {
    font-size: 0.9rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Manşet üstü bileşen alanları */
.above-hero-components {
    margin: 20px 0;
}

.component-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Sadece bir bileşen varsa */
.component-grid-2:has(.component-item:only-child) {
    grid-template-columns: 1fr;
}

.component-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.component-container {
    /* Bileşen içeriği stilleri */
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .component-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .component-item {
        padding: 15px;
    }
}
/* Son Haberler üstü bileşen alanları */
.before-title-components {
    margin: 30px 0 20px 0;
}

.before-title-components .component-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Sadece bir bileşen varsa */
.before-title-components .component-grid-2:has(.component-item:only-child) {
    grid-template-columns: 1fr;
}

.before-title-components .component-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.before-title-components .component-container {
    /* Bileşen içeriği stilleri */
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .before-title-components {
        margin: 20px 0 15px 0;
    }
    
    .before-title-components .component-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .before-title-components .component-item {
        padding: 15px;
    }
}
/* === HABER BİLEŞENİ STİLLERİ === */

.news-component {
    width: 100%;
    box-sizing: border-box;
}

.news-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    gap: 12px;
    box-sizing: border-box;
}

.news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Thumbnail Container */
.news-thumbnail-container {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    position: relative;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    border: 1px solid #dee2e6;
}

.news-thumbnail-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.news-icon-only {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 1px solid #dee2e6;
    font-size: 20px;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.news-title a {
    text-decoration: none;
    color: #2c3e50;
}

.news-title a:hover {
    color: #007bff;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 6px;
}

.news-date {
    color: #6c757d;
}

.news-category {
    padding: 2px 6px;
    background: #007bff;
    color: white;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
}

.news-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* === LAYOUT STİLLERİ === */

/* Dikey Liste */
.news-layout-vertical .news-item {
    flex-direction: row;
}

/* Yatay Liste - SLIDER OLSUN */
.news-layout-horizontal {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    padding: 10px 5px 15px 5px;
    margin: 0 -5px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    white-space: nowrap;
    width: calc(100% + 10px);
}

.news-layout-horizontal::-webkit-scrollbar {
    display: none;
}

.news-layout-horizontal .news-item {
    flex: 0 0 auto;
    width: 300px;
    flex-direction: column;
    margin-bottom: 0;
    scroll-snap-align: start;
}

.news-layout-horizontal .news-thumbnail-container,
.news-layout-horizontal .news-icon-only {
    width: 100%;
    height: 160px;
    margin-bottom: 12px;
}

/* 2'şerli Grid */
.news-layout-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.news-layout-grid-2 .news-item {
    flex-direction: column;
    margin-bottom: 0;
}

.news-layout-grid-2 .news-thumbnail-container,
.news-layout-grid-2 .news-icon-only {
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
}

/* 3'erli Grid */
.news-layout-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.news-layout-grid-3 .news-item {
    flex-direction: column;
    margin-bottom: 0;
}

.news-layout-grid-3 .news-thumbnail-container,
.news-layout-grid-3 .news-icon-only {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}

/* === MOBİL STİLLERİ === */
@media (max-width: 768px) {
    .news-item {
        padding: 10px;
        gap: 10px;
    }
    
    .news-thumbnail-container,
    .news-icon-only {
        width: 70px;
        height: 70px;
    }
    
    /* Yatay Liste - MOBİLDE SLIDER */
    .news-layout-horizontal .news-item {
        width: 280px;
    }
    
    .news-layout-horizontal .news-thumbnail-container,
    .news-layout-horizontal .news-icon-only {
        height: 140px;
    }
    
    /* Grid Layout'lar - MOBİLDE 2'Lİ GRID */
    .news-layout-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .news-layout-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .news-layout-grid-2 .news-thumbnail-container,
    .news-layout-grid-2 .news-icon-only,
    .news-layout-grid-3 .news-thumbnail-container,
    .news-layout-grid-3 .news-icon-only {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .news-thumbnail-container,
    .news-icon-only {
        width: 60px;
        height: 60px;
    }
    
    /* Yatay Liste - KÜÇÜK MOBİL */
    .news-layout-horizontal .news-item {
        width: 260px;
    }
    
    .news-layout-horizontal .news-thumbnail-container,
    .news-layout-horizontal .news-icon-only {
        height: 120px;
    }
    
    /* Grid Layout'lar - MOBİLDE TEK SÜTUN */
    .news-layout-grid-2,
    .news-layout-grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .news-layout-grid-2 .news-item,
    .news-layout-grid-3 .news-item {
        flex-direction: row;
    }
    
    .news-layout-grid-2 .news-thumbnail-container,
    .news-layout-grid-2 .news-icon-only,
    .news-layout-grid-3 .news-thumbnail-container,
    .news-layout-grid-3 .news-icon-only {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }
}
/* === İÇERİK TAŞMA SORUNU ÇÖZÜMÜ === */

/* Başlık resmin altında olacak şekilde düzenleme */
.news-component.title-below-yes .news-item {
    flex-direction: column;
    align-items: stretch;
    overflow: hidden; /* Taşmayı kes */
}

.news-component.title-below-yes .news-thumbnail-container,
.news-component.title-below-yes .news-icon-only {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 12px;
    flex-shrink: 0; /* Küçülmesini engelle */
}

.news-component.title-below-yes .news-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden; /* Resim taşmasını engelle */
}

.news-component.title-below-yes .news-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.news-component.title-below-yes .news-thumbnail-placeholder {
    width: 100%;
    height: 150px;
    flex-shrink: 0;
}

.news-component.title-below-yes .news-content {
    flex: none;
    width: 100%;
    min-width: 0;
    overflow: hidden; /* İçerik taşmasını engelle */
}

/* METİN TAŞMASI ÇÖZÜMLERİ */
.news-component.title-below-yes .news-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin: 0 0 8px 0;
    line-height: 1.3;
    max-height: 3.9em; /* 3 satırlık maksimum yükseklik */
    overflow: hidden;
}

.news-component.title-below-yes .news-title a {
    display: block;
    text-decoration: none;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maksimum 3 satır */
    -webkit-box-orient: vertical;
    line-height: 1.3;
    max-height: 3.9em;
}

.news-component.title-below-yes .news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 6px;
    flex-wrap: wrap;
    overflow: hidden;
}

.news-component.title-below-yes .news-date,
.news-component.title-below-yes .news-category {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.news-component.title-below-yes .news-excerpt {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maksimum 2 satır */
    -webkit-box-orient: vertical;
    max-height: 2.8em;
    margin: 0;
}

/* Dikey layout'ta başlık altında */
.news-component.title-below-yes.news-layout-vertical .news-item {
    flex-direction: column;
    height: auto;
    min-height: auto;
}

/* Grid layout'larda başlık altında */
.news-component.title-below-yes.news-layout-grid-2 .news-item,
.news-component.title-below-yes.news-layout-grid-3 .news-item {
    flex-direction: column;
    height: auto;
    min-height: auto;
}

.news-component.title-below-yes.news-layout-grid-2 .news-thumbnail-container,
.news-component.title-below-yes.news-layout-grid-2 .news-icon-only,
.news-component.title-below-yes.news-layout-grid-3 .news-thumbnail-container,
.news-component.title-below-yes.news-layout-grid-3 .news-icon-only {
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
}

.news-component.title-below-yes.news-layout-grid-2 .news-thumbnail img,
.news-component.title-below-yes.news-layout-grid-3 .news-thumbnail img {
    height: 120px;
    width: 100%;
    object-fit: cover;
}

/* Yatay slider'da başlık altında */
.news-component.title-below-yes.news-layout-horizontal .news-item {
    flex-direction: column;
    height: auto;
    min-height: 280px; /* Sabit minimum yükseklik */
    overflow: hidden;
}

.news-component.title-below-yes.news-layout-horizontal .news-thumbnail-container,
.news-component.title-below-yes.news-layout-horizontal .news-icon-only {
    width: 100%;
    height: 140px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.news-component.title-below-yes.news-layout-horizontal .news-thumbnail img {
    height: 140px;
    width: 100%;
    object-fit: cover;
}

.news-component.title-below-yes.news-layout-horizontal .news-content {
    flex: 1;
    min-height: 80px; /* Minimum içerik yüksekliği */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Mobilde başlık altında düzenlemeler */
@media (max-width: 768px) {
    .news-component.title-below-yes .news-thumbnail-container,
    .news-component.title-below-yes .news-icon-only {
        margin-bottom: 10px;
    }
    
    .news-component.title-below-yes .news-thumbnail img {
        max-height: 150px;
    }
    
    .news-component.title-below-yes .news-thumbnail-placeholder {
        height: 120px;
    }
    
    .news-component.title-below-yes.news-layout-grid-2 .news-thumbnail-container,
    .news-component.title-below-yes.news-layout-grid-2 .news-icon-only,
    .news-component.title-below-yes.news-layout-grid-3 .news-thumbnail-container,
    .news-component.title-below-yes.news-layout-grid-3 .news-icon-only {
        height: 100px;
    }
    
    .news-component.title-below-yes.news-layout-grid-2 .news-thumbnail img,
    .news-component.title-below-yes.news-layout-grid-3 .news-thumbnail img {
        height: 100px;
    }
    
    .news-component.title-below-yes.news-layout-horizontal .news-thumbnail-container,
    .news-component.title-below-yes.news-layout-horizontal .news-icon-only {
        height: 120px;
    }
    
    .news-component.title-below-yes.news-layout-horizontal .news-thumbnail img {
        height: 120px;
    }
    
    .news-component.title-below-yes.news-layout-horizontal .news-item {
        min-height: 260px;
    }
    
    .news-component.title-below-yes .news-title a {
        -webkit-line-clamp: 2; /* Mobilde 2 satır */
        max-height: 2.6em;
    }
    
    .news-component.title-below-yes .news-excerpt {
        -webkit-line-clamp: 1; /* Mobilde 1 satır */
        max-height: 1.4em;
    }
}

@media (max-width: 480px) {
    .news-component.title-below-yes .news-thumbnail img {
        max-height: 120px;
    }
    
    .news-component.title-below-yes .news-thumbnail-placeholder {
        height: 100px;
    }
    
    .news-component.title-below-yes.news-layout-grid-2 .news-thumbnail-container,
    .news-component.title-below-yes.news-layout-grid-2 .news-icon-only,
    .news-component.title-below-yes.news-layout-grid-3 .news-thumbnail-container,
    .news-component.title-below-yes.news-layout-grid-3 .news-icon-only {
        height: 80px;
    }
    
    .news-component.title-below-yes.news-layout-grid-2 .news-thumbnail img,
    .news-component.title-below-yes.news-layout-grid-3 .news-thumbnail img {
        height: 80px;
    }
    
    .news-component.title-below-yes.news-layout-horizontal .news-thumbnail-container,
    .news-component.title-below-yes.news-layout-horizontal .news-icon-only {
        height: 100px;
    }
    
    .news-component.title-below-yes.news-layout-horizontal .news-thumbnail img {
        height: 100px;
    }
    
    .news-component.title-below-yes.news-layout-horizontal .news-item {
        min-height: 240px;
    }
    
    .news-component.title-below-yes .news-title a {
        -webkit-line-clamp: 2;
        font-size: 14px;
    }
    
    .news-component.title-below-yes .news-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }
}

/* Taşma önleyici genel kurallar */
.news-component.title-below-yes * {
    box-sizing: border-box;
}

.news-component.title-below-yes .news-item {
    word-wrap: break-word;
}

.news-component.title-below-yes .news-content > * {
    max-width: 100%;
}
.haberplus-layout-horizontal {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    padding: 10px 5px;
    cursor: grab;
    -webkit-overflow-scrolling: touch; /* iOS'ta momentum kaydırma */
    scrollbar-width: none; /* Firefox'da scrollbar'ı gizle */
    -ms-overflow-style: none; /* IE ve Edge'de scrollbar'ı gizle */
}
/* Webkit tarayıcılarında (Chrome, Safari) scrollbar'ı gizle */
.haberplus-layout-horizontal::-webkit-scrollbar {
    display: none;
}
.haberplus-layout-horizontal:active {
    cursor: grabbing;
}
.haberplus-layout-horizontal .haberplus-news-item {
    flex: 0 0 280px; /* Kartların küçülmesini engeller */
}
/* ========================================
   Video Embed Stilleri - single.php için
   ======================================== */

/* Video Container - Öne çıkan görselle aynı stil */
.single-featured-video {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #000;
}

/* Responsive Video Wrapper - 16:9 aspect ratio */
.single-featured-video .video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 oranı için (9/16 = 0.5625) */
    height: 0;
    background-color: #000;
}

/* Video iframe, embed ve blockquote tam ekran */
.single-featured-video .video-wrap iframe,
.single-featured-video .video-wrap blockquote,
.single-featured-video .video-wrap embed,
.single-featured-video .video-wrap object,
.single-featured-video .video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Twitter embed özel ayarı */
.single-featured-video .video-wrap .twitter-tweet {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

/* Loading state (video yüklenirken) */
.single-featured-video .video-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: video-spin 0.8s linear infinite;
    z-index: 1;
}

.single-featured-video .video-wrap iframe,
.single-featured-video .video-wrap blockquote {
    z-index: 2;
}

@keyframes video-spin {
    to { transform: rotate(360deg); }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .single-featured-video {
        margin-bottom: 15px;
        border-radius: 4px;
    }
}

/* Tablet uyumluluk */
@media (max-width: 1024px) and (min-width: 769px) {
    .single-featured-video {
        margin-bottom: 18px;
    }
}

/* 4:3 aspect ratio için alternatif (isteğe bağlı) */
.single-featured-video.aspect-4-3 .video-wrap {
    padding-bottom: 75%; /* 4:3 oranı için (3/4 = 0.75) */
}

/* 21:9 aspect ratio için alternatif (isteğe bağlı) */
.single-featured-video.aspect-21-9 .video-wrap {
    padding-bottom: 42.857%; /* 21:9 oranı için (9/21 = 0.42857) */
}

/* Dark mode desteği (isteğe bağlı) */
@media (prefers-color-scheme: dark) {
    .single-featured-video {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
}
/* Mobil menü butonu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    color: #333;
    font-size: 14px;
}

.mobile-menu-btn .menu-icon {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    margin-bottom: 5px;
    position: relative;
}

.mobile-menu-btn .menu-bar {
    height: 2px;
    background: #333;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn .menu-bar:last-child {
    margin-bottom: 0;
}

/* Mobil menü aktif durumu */
.mobile-menu-btn[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobil menü kapatma butonu */
.mobile-menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ana navigasyon */
.main-navigation {
    transition: transform 0.3s ease;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobil görünüm */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 999;
        overflow-y: auto;
        transition: right 0.3s ease;
        padding: 60px 20px 20px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .mobile-menu-close {
        display: flex;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Mobil menü stilleri */
    .nav-menu {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
        position: relative;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
        color: #333;
        text-decoration: none;
        font-size: 16px;
    }
    
    .nav-menu a:hover {
        color: #e74c3c;
    }
    
    /* Alt menüler */
    .sub-menu {
        display: none;
        padding-left: 15px;
        background: #f9f9f9;
    }
    
    .submenu-open > .sub-menu {
        display: block;
    }
    
    .menu-item-has-children > a {
        position: relative;
        padding-right: 30px;
    }
    
    .menu-item-has-children > a::after {
        content: '›';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        transition: transform 0.3s ease;
    }
    
    .submenu-open > a::after {
        transform: translateY(-50%) rotate(90deg);
    }
    
    /* Mobil menü ekstra içerik */
    .mobile-menu-extra {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    
    .mobile-menu-extra .social-link {
        display: flex;
        align-items: center;
        padding: 10px 0;
        color: #333;
        text-decoration: none;
    }
    
    .mobile-menu-extra .social-link i {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }
    
    .mobile-menu-extra .social-link:hover {
        color: #e74c3c;
    }
}