/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    text-decoration: none;
    color: #2c5530;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Navbar linkleri için */
.main-nav a {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: #27AE60;
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.main-nav a.active {
    color: #1E8449;
    font-weight: 600;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

/* Post Content */
.post-content {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.post-header {
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Featured Image Styles */
.featured-image {
    margin: 0.5rem 0 2rem 0;
    text-align: center;
}

.post-featured-image {
    width: 100%;
    max-width: 1200px; /* 1000px'den 1200px'e çıkarıldı (%20 daha artış) */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.post-featured-image:hover {
    transform: scale(1.02);
}

/* Related Posts Section */
.related-posts {
    margin: 3rem 0 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(232, 245, 232, 0.9) 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.08);
}

.related-posts-title {
    font-size: 1.25rem;
    letter-spacing: 0.12rem;
    text-align: center;
    color: #2c5530;
    margin: 0 0 2rem;
    font-weight: 700;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-post-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(44, 62, 80, 0.2);
}

.related-post-link {
    color: inherit;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-post-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 62%;
    overflow: hidden;
}

.related-post-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.related-post-card:hover .related-post-image-wrapper img {
    transform: scale(1.07);
}

.related-post-content {
    padding: 1.4rem 1.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-post-content h3 {
    font-size: 1.05rem;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0;
    font-weight: 700;
}

.related-post-content p {
    font-size: 0.9rem;
    color: #607d8b;
    line-height: 1.6;
    margin: 0;
    min-height: 3.2rem;
}

.related-post-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #E91E63;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.3s ease;
}

.related-post-cta::after {
    content: '\2192';
    font-size: 1rem;
}

.related-post-card:hover .related-post-cta {
    color: #c2185b;
}

@media (max-width: 1024px) {
    .related-posts {
        padding: 2rem 1.5rem;
    }
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-posts {
        margin: 2.5rem 0 0;
        padding: 1.75rem 1.25rem;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    .related-post-content p {
        min-height: auto;
    }
}

.post-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c5530;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

.post-meta time {
    display: inline-flex;
    align-items: center;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-body h2 {
    font-size: 1.8rem;
    color: #2c5530;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.post-body h3 {
    font-size: 1.5rem;
    color: #2c5530;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.post-body h4 {
    font-size: 1.3rem;
    color: #2c5530;
    margin: 1.2rem 0 0.8rem 0;
    font-weight: 600;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul, .post-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body a {
    color: #4CAF50;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.post-body a:hover {
    border-bottom-color: #4CAF50;
}

.post-body strong {
    font-weight: 600;
    color: #2c5530;
}

.post-body img {
    max-width: 80%; /* %20 küçültülmüş boyut */
    width: 80%; /* %80 genişlik */
    height: auto;
    min-width: 240px; /* Minimum genişlik korundu */
    border-radius: 8px;
    margin: 2rem 0; /* Sola yaslanmış */
    display: block; /* Block element */
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Tıklanabilir görünüm */
}

.post-body img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.post-body blockquote {
    background: #f8f9fa;
    border-left: 4px solid #4CAF50;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}


/* Sidebar */
.sidebar {
    background: #fff;
}

.widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(76, 175, 80, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.widget h3 {
    font-size: 1.1rem;
    color: #2c5530;
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Arama widget'ı için özel renk - artık genel stil kullanılacak */

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 0.8rem;
}

.widget a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #4CAF50;
}

.popular-posts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

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

/* Footer styles moved to footer.php */

/* Responsive Design */
/* Tablet boyutları için ara ayar */
@media (max-width: 1024px) and (min-width: 769px) {
    .post-featured-image {
        max-width: 1080px; /* Tablet için ara boyut (%20 artış) */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .post-body img {
        width: 80%; /* %80 genişlik - sola yaslanmış */
        min-width: 200px; /* Minimum genişlik korundu */
        margin: 1.5rem 0; /* Sola yaslanmış */
    }
    
    .featured-image {
        margin: 1rem 0 1.5rem 0;
    }
    
    .post-featured-image {
        border-radius: 8px;
        max-width: 100%; /* Mobilde tam genişlik */
    }
    
    .ad-sidebar {
        order: -1;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .main-nav ul {
        font-size: 0.9rem;
    }
    
    .widget {
        padding: 1rem;
    }
}

* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Weather Widget - Unique CSS Names */
.detoks-weather-widget {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    margin-bottom: 2rem !important;
    border: 1px solid #eee !important;
}

/* Hava durumu widget'ı artık genel stil kullanacak */

.detoks-weather-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid #E91E63;
}

.detoks-weather-pin {
    font-size: 1.2rem;
    color: #E91E63;
    margin-right: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detoks-weather-today {
    text-align: center;
    margin-bottom: 1rem;
}

.detoks-weather-header {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.detoks-weather-location {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.detoks-weather-temp {
    font-size: 2.2rem;
    font-weight: 800;
    color: #E91E63;
    margin: 0.5rem 0;
}

.detoks-weather-desc {
    font-size: 1rem;
    font-weight: 600;
    color: #1E88E5;
    text-transform: none;
}

.detoks-weather-icon {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: transparent;
    margin: 0.5rem 0;
    animation: weatherPulse 2s ease-in-out infinite alternate;
}

@keyframes weatherPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

.detoks-weather-suggestion {
    background: rgba(233, 30, 99, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    border-left: 4px solid #E91E63;
}

.detoks-suggestion-arrow {
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.detoks-suggestion-text {
    font-size: 0.85rem;
    color: #2c3e50;
    line-height: 1.4;
    font-weight: 500;
}

/* Weather Widget Responsive */
@media (max-width: 768px) {
    .detoks-weather-container {
        padding: 0.8rem;
    }
    
    .detoks-weather-temp {
        font-size: 1.3rem;
    }
    
    .detoks-suggestion-text {
        font-size: 0.8rem;
    }
    
    .detoks-weather-header {
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .detoks-weather-icon {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .detoks-weather-container {
        padding: 0.7rem;
    }
    
    .detoks-weather-temp {
        font-size: 1.2rem;
    }
    
    .detoks-weather-suggestion {
        padding: 0.6rem;
        gap: 0.4rem;
    }
}

/* Popular Topics - Sidebar Widget */
.widget:has(.popular-topics) {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    border: 1px solid #eee !important;
}

.popular-topics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.popular-topic-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    contain: layout;
    border: 2px solid transparent;
    margin-bottom: 8px;
}

.popular-topic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #E91E63;
}

.popular-topic-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    border-radius: 12px 12px 0 0;
}

.sidebar .popular-topic-image img,
.popular-topics .popular-topic-item .popular-topic-image img {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    display: block !important;
    max-width: 100% !important;
    min-height: 120px !important;
    box-sizing: border-box !important;
    /* Aspect ratio sabitleme */
    aspect-ratio: 1 / 1 !important;
    border-radius: 0 !important;
    background: #f0f0f0;
    /* Görsel yüklenmeden önce boyut sabitleme */
    box-sizing: border-box !important;
    /* Aspect ratio sabitleme */
    aspect-ratio: 1 / 1 !important;
}

.popular-topic-item:hover .popular-topic-image img {
    transform: scale(1.05);
}

.popular-topic-content {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.popular-topic-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.popular-topic-title a {
    color: #2c3e50;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.popular-topic-title a:hover {
    color: #4CAF50;
}

/* Resim linklerinin hover efektleri */
.popular-topic-image a {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.popular-topic-image a:hover {
    transform: scale(1.02);
}

.popular-topic-image a:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.recent-post-image a {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-image a:hover {
    transform: scale(1.02);
}

.recent-post-image a:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Recent Posts - Sidebar Widget */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.recent-post-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    min-height: 60px;
    background: #f0f0f0;
}

.recent-post-item:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-post-content a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-post-content a:hover {
    color: #E91E63;
}

/* Search Widget CSS */
.search-widget {
    margin-bottom: 2rem;
}

.search-widget .search-container {
    margin-top: 0;
}

.search-widget .search-form {
    display: flex;
    gap: 8px;
}

.search-widget .search-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.search-widget .search-input:focus {
    outline: none;
    border-color: #E91E63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.search-widget .search-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.search-widget .search-button:hover {
    background: #45a049;
}

/* Responsive for Sidebar Widgets */
@media (max-width: 768px) {
    .popular-topics {
        gap: 12px;
    }
    
    .popular-topic-image {
        height: 100px;
    }
    
    .sidebar .popular-topic-image img,
    .popular-topics .popular-topic-item .popular-topic-image img {
        height: 100px !important;
        min-height: 100px !important;
        aspect-ratio: 1 / 1 !important;
    }
    
    .popular-topic-content {
        padding: 10px 12px;
    }
    
    .popular-topic-title {
        font-size: 0.85rem;
    }
    
    .recent-post-item {
        padding: 10px;
        gap: 10px;
    }
    
    .recent-post-image {
        width: 50px;
        height: 50px;
    }
    
    .recent-post-content a {
        font-size: 0.85rem;
    }
    
    
    .search-widget .search-input-wrapper {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .search-widget .search-button {
        width: 100% !important;
        padding: 14px 20px !important;
    }
}

/* Mevsimsel Detoks Widget Styles */
.seasonal-detox-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.seasonal-detox-widget:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.seasonal-detox-widget:hover .seasonal-icon {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.seasonal-detox-container {
    padding: 16px;
}
.seasonal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--seasonal-color, #4CAF50);
}

.seasonal-month {
    font-weight: 700;
    font-size: 0.9rem;
    color: #2c5530;
    letter-spacing: 0.5px;
}

.seasonal-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.seasonal-content {
    text-align: left;
}

.seasonal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 8px;
    line-height: 1.3;
}

.seasonal-description {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: justify;
}

.seasonal-benefits {
    margin-bottom: 10px;
}

.benefit-item {
    font-size: 0.8rem;
    color: #666;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

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

.benefit-item:hover {
    color: #4CAF50;
    transform: translateX(3px);
}

.seasonal-featured {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(102, 187, 106, 0.1) 100%);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #2c5530;
}

.seasonal-featured strong {
    color: #1e3a21;
    font-weight: 700;
}

.seasonal-featured span {
    font-style: italic;
    color: #2c5530;
}

.seasonal-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
    padding: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.stat-item {
    text-align: center;
    font-size: 0.75rem;
}

.stat-icon {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.stat-label {
    display: block;
    color: #666;
    font-weight: 500;
    margin-bottom: 2px;
}

.stat-value {
    display: block;
    color: #2c5530;
    font-weight: 700;
    font-size: 0.8rem;
}

.next-month-preview {
    margin-top: 12px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(102, 187, 106, 0.05) 100%);
    border-radius: 6px;
    border-left: 3px solid #4CAF50;
    font-size: 0.75rem;
    color: #555;
}

.seasonal-link {
    display: inline-block;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    color: #2c5530;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(44, 85, 48, 0.1);
    border: 2px solid #d4edda;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.3px;
}

.seasonal-link:hover {
    background: linear-gradient(135deg, #d1ecf1 0%, #e8f4f8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.15);
    color: #2c5530;
    border-color: #bee5eb;
}

/* Responsive Seasonal Widget */
@media (max-width: 768px) {
    .seasonal-detox-widget {
        margin-bottom: 16px;
    }
    
    .seasonal-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .seasonal-title {
        font-size: 1rem;
    }
    
    .seasonal-description {
        font-size: 0.8rem;
    }
    
    .benefit-item {
        font-size: 0.75rem;
    }
    
    .seasonal-link {
        font-size: 0.8rem;
        padding: 8px 16px;
        font-weight: 700;
    }
    
    .seasonal-featured {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .seasonal-detox-widget:hover {
        transform: translateY(-2px) scale(1.01);
    }
    
    .seasonal-stats {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 8px;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    
    .stat-icon {
        display: inline;
        margin-right: 6px;
        margin-bottom: 0;
    }
    
    .stat-label {
        display: inline;
        margin-bottom: 0;
        flex: 1;
    }
    
    .next-month-preview {
        font-size: 0.7rem;
        padding: 6px;
    }
}

/* Dark mode support for seasonal widget */
@media (prefers-color-scheme: dark) {
    .seasonal-detox-widget {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        border-color: #4a5568;
    }
    
    .seasonal-title {
        color: #e2e8f0;
    }
    
    .seasonal-description {
        color: #cbd5e0;
    }
    
    .benefit-item {
        color: #a0aec0;
        border-bottom-color: rgba(255,255,255,0.1);
    }
    
    .seasonal-header {
        background: rgba(76, 175, 80, 0.2);
    }
    
    .seasonal-month {
        color: #e2e8f0;
    }
}

/* Print styles */
@media print {
    .site-header,
    .sidebar,
    .site-footer,
    .detoks-weather-widget,
    .seasonal-detox-widget {
        display: none;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .post-body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Trending Keywords Widget - Global Style */
.trending-keywords-widget {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #eee;
}

.trending-keywords-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trending-keywords-fallback {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.trending-keyword-tag {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    max-width: 100%;
    text-align: center;
}

.trending-keyword-tag:hover {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #bbdefb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
}

.keyword-icon {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 4px;
}

/* Yüksek öncelikli keyword'ler için özel stil */
.trending-keyword-tag[data-priority="5"] {
    background: #fce4ec;
    color: #c2185b;
    font-weight: 600;
    border-color: #f8bbd9;
}

.trending-keyword-tag[data-priority="4"] {
    background: #e8f5e8;
    color: #388e3c;
    font-weight: 500;
    border-color: #c8e6c9;
}

/* Responsive */
@media (max-width: 768px) {
    .trending-keyword-tag {
        font-size: 0.85rem;
    }
}

/* Recent Posts Widget Fix */
.widget:has(.recent-posts) {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    border: 1px solid #eee !important;
}

/* Search Widget Override - EXACT MATCH OTHER WIDGETS */
html body .sidebar .search-widget,
html body .widget.search-widget,
html body div.search-widget,
html body .sidebar .widget:first-child,
html body .sidebar .widget:has(.search-container),
.sidebar .search-widget,
.widget.search-widget,
div.search-widget {
    background: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-bottom: 2rem !important;
    border: 1px solid rgba(76, 175, 80, 0.15) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

/* Even more specific - target by structure */
.sidebar > .widget:first-of-type {
    background: #f8f9fa !important;
    border-radius: 12px !important;
    border: 1px solid rgba(76, 175, 80, 0.15) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.search-widget:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Search Widget Title */
.search-widget h3 {
    color: #2c5530 !important;
    font-weight: 600 !important;
    margin-bottom: 1.2rem !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* Search Form Styling */
.search-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.search-widget .search-input {
    flex: 1 !important;
    padding: 12px 15px !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
}

.search-widget .search-input:focus {
    outline: none !important;
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
    background: #fff !important;
}

.search-widget .search-button {
    background: #4CAF50 !important;
    background-image: linear-gradient(135deg, #4CAF50 0%, #45a049 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3) !important;
    display: inline-block !important;
    visibility: visible !important;
    min-width: 70px !important;
    text-align: center !important;
}

.search-widget .search-button:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4) !important;
}
