/* ===================================
   SAĞLIK REHBERİ SAYFASI - PREMIUM STYLES
   =================================== */

/* ── Category Filter Bar ── */
.sr-filter-bar {
    background: #fff;
    border-bottom: 1px solid rgba(11, 44, 84, 0.07);
    padding: 0;
    position: sticky;
    top: 72px;
    z-index: 100;
    box-shadow: none;
}

.sr-filter-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.sr-filter-inner::-webkit-scrollbar { display: none; }

.sr-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    border: 1.5px solid rgba(11, 44, 84, 0.15);
    color: #555;
    background: transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}

.sr-filter-btn:hover,
.sr-filter-btn.active {
    background: #0B2C54;
    color: #fff;
    border-color: #0B2C54;
}

.sr-filter-btn.orange.active,
.sr-filter-btn.orange:hover {
    background: #FF6B35;
    border-color: #FF6B35;
}

/* ── Search Bar ── */
.sr-search-wrap {
    position: relative;
    max-width: 480px;
    margin-left: auto;
    flex-shrink: 0;
}

.sr-search-input {
    width: 100%;
    padding: 10px 44px 10px 18px;
    border: 1.5px solid rgba(11,44,84,0.15);
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s;
    font-family: inherit;
}

.sr-search-input:focus {
    border-color: #0B2C54;
}

.sr-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* ── Featured Article ── */
.sr-featured-section {
    padding: 60px 0 40px;
    background: #f8fafc;
}

.sr-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(11, 44, 84, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

.sr-featured-card:hover {
    box-shadow: none;
    border-color: rgba(11, 44, 84, 0.2);
    color: inherit;
}

.sr-featured-img {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.sr-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.sr-featured-card:hover .sr-featured-img img {
    transform: scale(1.05);
}

.sr-featured-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,44,84,0.3) 0%, transparent 60%);
}

.sr-featured-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sr-featured-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.sr-featured-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF6B35;
    background: rgba(255,107,53,0.1);
    padding: 5px 14px;
    border-radius: 50px;
}

.sr-featured-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0B2C54;
    opacity: 0.5;
}

.sr-featured-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #0B2C54;
    line-height: 1.3;
    margin-bottom: 16px;
}

.sr-featured-card:hover .sr-featured-title {
    color: #FF6B35;
}

.sr-featured-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 28px;
}

.sr-featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #888;
}

.sr-featured-meta i {
    color: #FF6B35;
    margin-right: 5px;
}

.sr-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF6B35;
    font-weight: 700;
    font-size: 14px;
    margin-top: 24px;
    transition: gap 0.3s ease;
}

.sr-featured-card:hover .sr-read-more {
    gap: 14px;
}

/* ── Articles Grid ── */
.sr-articles-section {
    padding: 60px 0 80px;
}

.sr-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.sr-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0B2C54;
    margin: 0;
}

.sr-count-badge {
    font-size: 12px;
    font-weight: 700;
    color: #FF6B35;
    background: rgba(255,107,53,0.08);
    padding: 5px 14px;
    border-radius: 50px;
}

/* ── Article Card ── */
.sr-article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(11,44,84,0.05);
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.sr-article-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
    border-color: rgba(255,107,53,0.2);
    color: inherit;
}

.sr-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sr-article-card:hover .sr-card-img img {
    transform: scale(1.08);
}

.sr-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255,255,255,0.95);
    color: #0B2C54;
    padding: 5px 12px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.sr-article-card:hover .sr-card-cat {
    background: #FF6B35;
    color: #fff;
}

.sr-card-reading {
    position: absolute;
    bottom: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.sr-card-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sr-card-date {
    font-size: 12px;
    color: #aaa;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sr-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0B2C54;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.sr-article-card:hover .sr-card-title {
    color: #FF6B35;
}

.sr-card-excerpt {
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sr-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.sr-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.sr-card-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B2C54, #1E4D8B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    font-weight: 800;
}

.sr-card-link {
    font-size: 12px;
    font-weight: 700;
    color: #FF6B35;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.sr-article-card:hover .sr-card-link {
    gap: 8px;
}

/* ── Topics / Health Categories ── */
.sr-topics-section {
    padding: 60px 0;
    background: #0B2C54;
}

.sr-topic-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 28px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.sr-topic-card:hover {
    background: rgba(255,107,53,0.15);
    border-color: rgba(255,107,53,0.4);
    transform: translateY(-6px);
}

.sr-topic-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #FF6B35;
    transition: all 0.3s ease;
}

.sr-topic-card:hover .sr-topic-icon {
    background: #FF6B35;
    color: #fff;
}

.sr-topic-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.sr-topic-count {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
}

/* ── Newsletter Banner ── */
.sr-newsletter-section {
    padding: 60px 0;
    background: #f8fafc;
}

.sr-newsletter-box {
    background: linear-gradient(135deg, #0B2C54 0%, #1a3f7a 100%);
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.sr-newsletter-box::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,107,53,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.sr-newsletter-text h3 {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.sr-newsletter-text p {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    margin: 0;
}

.sr-newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    width: 420px;
}

.sr-newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.sr-newsletter-btn {
    padding: 14px 28px;
    background: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: inherit;
}

.sr-newsletter-btn:hover {
    background: #E85A2A;
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .sr-featured-card {
        grid-template-columns: 1fr;
    }
    .sr-featured-img {
        min-height: 260px;
    }
    .sr-featured-body {
        padding: 32px 28px;
    }
    .sr-newsletter-box {
        flex-direction: column;
        padding: 40px 28px;
        text-align: center;
    }
    .sr-newsletter-form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .sr-filter-bar {
        position: relative;
        top: 0;
    }
    .sr-search-wrap {
        display: none;
    }
    .sr-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
