/**
 * Nöbetçi eczaneler — ana site chrome ile uyum (municipal mavi tema)
 */

.site-page.page-nobetci-eczaneler {
    --primary-color: var(--brand-navy-dark, #134559);
    --secondary-color: var(--brand-primary-dark, #1a6fa3);
    --accent-color: var(--brand-primary, #2b8fc7);
    --success-color: var(--brand-teal, #3ab7c4);
    --text-dark: #1a2332;
    --text-light: #5c6578;
    --bg-light: #f4f6f9;
    --bg-white: #ffffff;
    --border-color: #e2e6ed;
}

.site-page.page-nobetci-eczaneler {
    transform: none;
    backface-visibility: visible;
    will-change: auto;
    font-family: var(--font-brand, 'Plus Jakarta Sans', system-ui, sans-serif);
}

.site-page.page-nobetci-eczaneler.loading {
    overflow: auto;
    height: auto;
}

.site-page.page-nobetci-eczaneler .site-main--inner {
    padding: 0;
    background: var(--bg-light);
}

.site-page.page-nobetci-eczaneler .page-band {
    margin-bottom: 0;
}

.nobet-page__hero.hero {
    margin-top: 0;
    min-height: clamp(320px, 48vh, 520px);
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(165deg, #134559 0%, #1a6fa3 48%, #2b8fc7 100%);
}

.nobet-page__hero .hero-slideshow {
    background: linear-gradient(165deg, #134559 0%, #1a6fa3 42%, #2b8fc7 72%, #134559 100%);
    background-size: 220% 220%;
    animation: nobetHeroGradientShift 18s ease infinite;
}

@keyframes nobetHeroGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nobet-page__hero .hero-slideshow.is-gradient-only::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 75% 25%, rgba(168, 221, 247, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.nobet-page__hero .hero-slide {
    background-color: transparent;
    background-image: none;
}

.nobet-page__hero .hero-slide.has-image {
    background-color: #134559;
}

.nobet-page__hero .hero-overlay {
    background:
        linear-gradient(105deg, rgba(15, 40, 53, 0.88) 0%, rgba(15, 40, 53, 0.5) 45%, rgba(26, 111, 163, 0.35) 100%),
        linear-gradient(0deg, rgba(15, 40, 53, 0.75) 0%, transparent 42%);
}

.nobet-page__hero .hero-content h2 {
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* —— Hero: tarih seçimi —— */
.nobet-page__hero .date-display-box {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(19, 69, 89, 0.18);
}

.nobet-page__hero .date-nav-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
}

.nobet-page__hero .date-nav-btn:hover {
    background: rgba(43, 143, 199, 0.45);
    border-color: rgba(168, 221, 247, 0.65);
}

.page-nobetci-eczaneler .nobet-page__hero .calendar-trigger-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(168, 221, 247, 0.45);
    border-radius: 10px;
    background: linear-gradient(145deg, #1a6fa3 0%, #2b8fc7 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(26, 111, 163, 0.45);
}

.page-nobetci-eczaneler .nobet-page__hero .calendar-trigger-btn i {
    color: #fff !important;
}

.page-nobetci-eczaneler .nobet-page__hero .calendar-trigger-btn:hover {
    background: linear-gradient(145deg, #134559 0%, #1a6fa3 100%) !important;
    border-color: rgba(168, 221, 247, 0.75);
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(19, 69, 89, 0.4);
}

.page-nobetci-eczaneler .nobet-page__hero .quick-date-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.38);
    color: #fff;
}

.page-nobetci-eczaneler .nobet-page__hero .quick-date-btn:hover {
    background: rgba(43, 143, 199, 0.32);
    border-color: rgba(168, 221, 247, 0.55);
    color: #fff;
}

.page-nobetci-eczaneler .nobet-page__hero .quick-date-btn.active {
    background: linear-gradient(135deg, #1a6fa3 0%, #3ab7c4 100%) !important;
    border-color: rgba(168, 221, 247, 0.7) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(26, 111, 163, 0.45);
    text-shadow: none;
}

.page-nobetci-eczaneler .nobet-page__hero .quick-date-btn.active:hover {
    background: linear-gradient(135deg, #134559 0%, #2b8fc7 100%) !important;
    color: #fff !important;
}

.page-nobetci-eczaneler .pharmacy-list {
    background: var(--bg-light);
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

/* —— Liste başlığı: sade + modern —— */
.page-nobetci-eczaneler .pharmacy-list .section-header {
    margin: 0 0 1.55rem;
    padding: 1.05rem 1.2rem 1rem;
    border-radius: 14px;
    border: 1px solid #d6e3f0;
    border-left: 4px solid #2b8fc7;
    background:
        linear-gradient(135deg, rgba(43, 143, 199, 0.08) 0%, rgba(255, 255, 255, 0) 36%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 10px 28px rgba(19, 69, 89, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.44rem;
    position: relative;
}

.page-nobetci-eczaneler .pharmacy-list .section-header::before {
    content: "GÜNCEL NÖBET LİSTESİ";
    display: inline-flex;
    align-items: center;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1a6fa3;
    text-transform: uppercase;
    opacity: 0.95;
}

.page-nobetci-eczaneler .pharmacy-list .section-header h2 {
    margin: 0;
    font-size: clamp(1.22rem, 2.15vw, 1.58rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.015em;
    text-align: left;
}

.page-nobetci-eczaneler .pharmacy-list .section-divider {
    width: 44px;
    height: 2px;
    margin: 0.12rem 0 0.2rem;
    background: linear-gradient(90deg, #c9a227 0%, #2b8fc7 100%);
    opacity: 1;
}

.page-nobetci-eczaneler .pharmacy-list .section-date {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.3rem 0.72rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
    color: var(--brand-primary-dark);
    background: rgba(43, 143, 199, 0.12);
    border: 1px solid rgba(43, 143, 199, 0.26);
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.page-nobetci-eczaneler .pharmacy-list .section-date::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #7cc7ef 0%, #2b8fc7 100%);
    box-shadow: 0 0 0 2px rgba(43, 143, 199, 0.16);
}

/* —— Liste bölümü başlığı (kurumsal bant) —— */
.page-nobetci-eczaneler .nobet-list-header {
    margin-bottom: clamp(1.35rem, 2.5vw, 2rem);
}

.page-nobetci-eczaneler .nobet-list-header__shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d8e0ea;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 32px rgba(19, 69, 89, 0.07);
}

.page-nobetci-eczaneler .nobet-list-header__crest {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.35rem 1.15rem;
    min-width: 118px;
    background: linear-gradient(180deg, #134559 0%, #1a5f7a 48%, #1a6fa3 100%);
    border-right: 3px solid #c9a227;
    text-align: center;
}

.page-nobetci-eczaneler .nobet-list-header__crest-icon.pharmacy-icon-badge--lg {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.page-nobetci-eczaneler .nobet-list-header__crest-icon img {
    width: 58%;
    height: 58%;
}

.page-nobetci-eczaneler .nobet-list-header__crest-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.35;
    max-width: 7rem;
}

.page-nobetci-eczaneler .nobet-list-header__body {
    padding: 1.35rem 1.5rem 1.25rem;
    min-width: 0;
    background:
        linear-gradient(90deg, rgba(19, 69, 89, 0.03) 0%, transparent 28%),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(43, 143, 199, 0.025) 10px,
            rgba(43, 143, 199, 0.025) 11px
        ),
        #fff;
    border-left: 1px solid rgba(19, 69, 89, 0.06);
}

.page-nobetci-eczaneler .nobet-list-header__topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    margin-bottom: 0.55rem;
}

.page-nobetci-eczaneler .nobet-list-header__kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-primary-dark);
}

.page-nobetci-eczaneler .nobet-list-header__kicker::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 2px;
    margin-right: 0.5rem;
    vertical-align: middle;
    background: #c9a227;
}

.page-nobetci-eczaneler .nobet-list-header__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #0d5c3a;
    background: #e8f5ef;
    border: 1px solid #b8e0cc;
    border-radius: 4px;
}

.page-nobetci-eczaneler .nobet-list-header__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22a06b;
    box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.25);
    animation: nobet-status-pulse 2s ease-in-out infinite;
}

@keyframes nobet-status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .page-nobetci-eczaneler .nobet-list-header__status-dot {
        animation: none;
    }
}

.page-nobetci-eczaneler .nobet-list-header__title {
    margin: 0;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-weight: 800;
    line-height: 1.22;
    color: var(--text-dark);
    letter-spacing: -0.025em;
}

.page-nobetci-eczaneler .nobet-list-header__lede {
    margin: 0.45rem 0 0.85rem;
    font-size: clamp(0.84rem, 1.5vw, 0.92rem);
    line-height: 1.6;
    color: var(--text-light);
    max-width: 34rem;
}

.page-nobetci-eczaneler .nobet-list-header__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-nobetci-eczaneler .nobet-list-header__tags li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-navy-dark);
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.page-nobetci-eczaneler .nobet-list-header__tags i {
    font-size: 0.68rem;
    color: var(--brand-primary);
}

.page-nobetci-eczaneler .nobet-list-header__schedule {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.15rem 1.25rem;
    min-width: 220px;
    background: #f6f8fb;
    border-left: 1px solid #e2e8f0;
}

.page-nobetci-eczaneler .nobet-list-header__schedule-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.page-nobetci-eczaneler .nobet-list-header__schedule-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d8e0ea;
    color: var(--brand-primary-dark);
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(19, 69, 89, 0.06);
}

.page-nobetci-eczaneler .nobet-list-header__schedule-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.page-nobetci-eczaneler .nobet-list-header__schedule-date {
    margin: 0;
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-dark);
}

.page-nobetci-eczaneler .nobet-list-header__schedule-note {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.74rem;
    line-height: 1.45;
    color: var(--text-light);
    padding-top: 0.65rem;
    border-top: 1px solid #e2e8f0;
}

.page-nobetci-eczaneler .nobet-list-header__schedule-note i {
    margin-top: 0.1rem;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.page-nobetci-eczaneler .nobet-list-header__schedule-note strong {
    color: var(--brand-primary-dark);
    font-weight: 700;
}

.page-nobetci-eczaneler .nobet-list-header .section-divider {
    display: none;
}

@media (max-width: 991px) {
    .page-nobetci-eczaneler .nobet-list-header__shell {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .page-nobetci-eczaneler .nobet-list-header__schedule {
        grid-column: 1 / -1;
        min-width: 0;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .page-nobetci-eczaneler .nobet-list-header__schedule-note {
        border-top: none;
        padding-top: 0;
        flex: 1 1 200px;
    }
}

@media (max-width: 575px) {
    .page-nobetci-eczaneler .pharmacy-list .section-header {
        padding: 0.78rem 0.84rem 0.82rem;
        border-radius: 12px;
        margin-bottom: 1.15rem;
        gap: 0.32rem;
    }

    .page-nobetci-eczaneler .pharmacy-list .section-header::before {
        font-size: 0.58rem;
    }

    .page-nobetci-eczaneler .pharmacy-list .section-header h2 {
        font-size: 1.02rem;
    }

    .page-nobetci-eczaneler .pharmacy-list .section-date {
        font-size: 0.68rem;
        padding: 0.24rem 0.56rem;
    }

    .page-nobetci-eczaneler .nobet-list-header__shell {
        grid-template-columns: 1fr;
    }

    .page-nobetci-eczaneler .nobet-list-header__crest {
        flex-direction: row;
        justify-content: flex-start;
        min-width: 0;
        padding: 0.85rem 1rem;
        border-right: none;
        border-bottom: 3px solid #c9a227;
    }

    .page-nobetci-eczaneler .nobet-list-header__crest-label {
        max-width: none;
        text-align: left;
    }

    .page-nobetci-eczaneler .nobet-list-header__body {
        border-left: none;
    }

    .page-nobetci-eczaneler .nobet-list-header__schedule {
        flex-direction: column;
        align-items: stretch;
    }

    .page-nobetci-eczaneler .nobet-list-header__schedule-note {
        border-top: 1px solid #e2e8f0;
        padding-top: 0.65rem;
    }
}

.page-nobetci-eczaneler .district-title {
    color: var(--brand-primary-dark);
}

.page-nobetci-eczaneler .pharmacy-card {
    border-color: var(--border-color);
    box-shadow: 0 8px 24px rgba(19, 69, 89, 0.08);
}

.page-nobetci-eczaneler .pharmacy-card:hover {
    border-color: rgba(43, 143, 199, 0.35);
    box-shadow: 0 12px 28px rgba(26, 111, 163, 0.14);
}

/* —— Eczane kartı: rozetler —— */
.page-nobetci-eczaneler .pharmacy-badge {
    background: linear-gradient(135deg, #b42318 0%, #dc2626 55%, #ef4444 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(254, 202, 202, 0.45);
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.32);
    animation: none;
    text-shadow: 0 1px 2px rgba(91, 24, 24, 0.25);
    letter-spacing: 0.06em;
}

.page-nobetci-eczaneler .info-badge-highlight {
    background: rgba(43, 143, 199, 0.1);
    border-color: rgba(43, 143, 199, 0.25);
    color: var(--text-dark);
}

.page-nobetci-eczaneler .info-item i {
    color: var(--brand-primary, #2b8fc7);
}

/* —— Eczane kartı: aksiyon butonları —— */
.page-nobetci-eczaneler .action-btn {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
}

.page-nobetci-eczaneler .action-btn.btn-map {
    background: linear-gradient(135deg, #1e5f7a 0%, #3ab7c4 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(58, 183, 196, 0.3);
}

.page-nobetci-eczaneler .action-btn.btn-map:hover {
    background: linear-gradient(135deg, #134559 0%, #2b8fc7 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(26, 111, 163, 0.35);
}

.page-nobetci-eczaneler .action-btn.btn-map:visited {
    color: #fff !important;
}

.page-nobetci-eczaneler .action-btn.btn-call {
    background: linear-gradient(135deg, #1a6fa3 0%, #2b8fc7 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(26, 111, 163, 0.32);
}

.page-nobetci-eczaneler .action-btn.btn-call:hover {
    background: linear-gradient(135deg, #134559 0%, #1a6fa3 100%) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(19, 69, 89, 0.38);
}

.page-nobetci-eczaneler .action-btn.btn-call:visited {
    color: #fff !important;
}

.page-nobetci-eczaneler .action-btn.btn-whatsapp {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%) !important;
    color: #fff !important;
}

.page-nobetci-eczaneler .action-btn.btn-whatsapp:hover {
    background: linear-gradient(135deg, #0f766e 0%, #20ba5a 100%) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .nobet-page__hero.hero {
        min-height: 280px;
        padding-top: 1.25rem;
        padding-bottom: 1.75rem;
    }
}
