/* Derlenmiş utility dosyasında bulunmayan, site genelinde gerekli düzeltmeler. */
.site-footer {
    margin-top: 8rem;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

.social-brand-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    stroke: none;
}

.social-brand-icon--small {
    width: 1rem;
    height: 1rem;
}

.social-brand-icon--stroke {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.social-brand-icon--stroke .social-brand-icon__dot {
    fill: currentColor;
    stroke: none;
}

/* Hamburger yalnızca tablet ve mobil ekranlarda görünür. */
#mobile-menu-btn {
    display: none !important;
}

@media (max-width: 1023px) {
    #mobile-menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    #mobile-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .site-footer {
        margin-top: 4rem;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
}

/* ============================================================
   TASARIM İYİLEŞTİRMELERİ (2026-08-02)
   ============================================================ */

/* Renk paleti: daha açık, daha sıcak ve güven veren tonlar */
:root {
    --primary: #0e7490;
    --primary-foreground: #ffffff;
    --secondary: #14b8a6;
    --secondary-foreground: #ffffff;
    --accent: #f59e0b;
    --accent-foreground: #ffffff;
    --color-primary: #0e7490;
    --color-secondary: #14b8a6;
}

/* Hero ve sayfa başlıklarındaki koyu arka plan üzerine
   yazı okunabilirliğini artır */
.bg-primary {
    background-color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

/* Hero overlay: metni daha net çıkarmak için daha koyu,
   tek yönlü ve sade gradyan */
.heroSwiper .swiper-slide .absolute.inset-0.z-0,
.bg-gradient-to-r.from-primary\/90.to-primary\/40,
[class*="bg-gradient-to-r"][class*="from-primary"] {
    background: linear-gradient(135deg, rgba(8, 51, 68, 0.92) 0%, rgba(14, 116, 144, 0.65) 100%) !important;
}

/* Hero metin gölgesi ve vurgu */
.heroSwiper h1,
.heroSwiper p,
.heroSwiper .max-w-3xl span,
section[class*="relative"][class*="bg-primary"] h1,
section[class*="relative"][class*="bg-primary"] p,
.blog-detail-hero h1,
.blog-detail-hero a,
.blog-detail-hero .text-white {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* Hero butonları: yumuşak, tek renk ve gölgeli */
.heroSwiper a[class*="bg-secondary"],
header nav ~ a[class*="bg-secondary"],
.bg-secondary[class*="rounded-full"] {
    background: linear-gradient(135deg, var(--secondary) 0%, #0d9488 100%) !important;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35) !important;
    border: none !important;
}

.heroSwiper a[class*="bg-secondary"]:hover,
header nav ~ a[class*="bg-secondary"]:hover,
.bg-secondary[class*="rounded-full"]:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, var(--secondary) 100%) !important;
    box-shadow: 0 6px 18px rgba(20, 184, 166, 0.45) !important;
}

/* Beyaz kenarlıklı buton hover daha belirgin */
.heroSwiper a[class*="border-2"][class*="border-white"]:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Sayfa başlığı (page header) alanlarında daha net kontrast */
section[class*="relative"][class*="bg-primary"][class*="text-white"] {
    background: linear-gradient(135deg, #083344 0%, var(--primary) 100%) !important;
}

/* Üst navigasyon: daha yumuşak geçiş ve alt çizgi vurgusu */
.bg-primary nav a {
    transition: color 0.2s ease, border-color 0.2s ease;
}

.bg-primary nav a:hover {
    color: #ccfbf1 !important;
}

/* Eksik/bozuk görseller için yer tutucu stili */
/* Not: Bu kural yalnızca gerçekten eksik/bozuk görsellere uygulanmalıdır.
   Tüm <img> etiketlerine değil! Aksi halde şeffaf logoların arkasında
   gradyan arka plan görünür. */
img[src=""],
img:not([src]) {
    min-height: 40px;
    background: linear-gradient(135deg, #e0f2fe 0%, #ccfbf1 100%);
    position: relative;
}

img[src=""] {
    min-height: 40px;
}

/* Navbar ve footer'daki şeffaf logoların arkasına arka plan gelmemesi için */
header img[src*="brand-logo"],
footer img[src*="brand-logo"],
header img[src*="logo"],
footer img[src*="logo"] {
    background: transparent !important;
    min-height: 0;
}

/* Eksik görseller için simge yerleştirme (fallback) */
.img-placeholder,
.missing-image {
    background: linear-gradient(135deg, #e0f2fe 0%, #ccfbf1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.875rem;
    text-align: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.img-placeholder::before,
.missing-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.img-placeholder::after,
.missing-image::after {
    content: "Görsel Yükleniyor";
    position: relative;
    z-index: 1;
    font-weight: 500;
    opacity: 0.7;
}

img.img-placeholder {
    object-fit: contain !important;
    padding: 1rem;
}

/* Küçük kapak görsellerinde (blog, kategori) placeholder daha kompakt */
.h-48 img.img-placeholder,
.h-40 img.img-placeholder {
    padding: 0.75rem;
    object-fit: cover !important;
    object-position: center;
}

/* Hakkımızda ve galeri büyük görselleri için placeholder ortalama */
.about-image img.img-placeholder,
.gallery-item img.img-placeholder {
    object-fit: cover !important;
    object-position: center;
}

/* Doktor kartları ve galeri öğeleri: boş görsel durumunda */
.group .aspect-\[3\/4\],
.gallery-item img,
.doctor-card img,
.blog-card img,
.service-card img {
    background: linear-gradient(135deg, #e0f2fe 0%, #ccfbf1 100%);
}

/* Footer: daha kompakt ve dengeli */
.site-footer {
    margin-top: 5rem;
    padding-top: 4rem;
    padding-bottom: 2rem;
    background: linear-gradient(180deg, #083344 0%, #0e7490 100%) !important;
}

.site-footer .grid {
    gap: 2rem;
}

.site-footer h3::after {
    background: var(--secondary) !important;
}

.site-footer a:hover {
    color: #5eead4 !important;
}

.site-footer .bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.12) !important;
}

.site-footer .bg-white\/10:hover {
    background-color: var(--secondary) !important;
}

/* Hizmetler kartları: ikonlar daha büyük ve vurgulu */
.services-grid .w-14,
.bg-white .w-14,
[class*="bg-white"] [class*="w-14"] {
    width: 3.5rem;
    height: 3.5rem;
}

.services-grid i,
.bg-white i[data-lucide] {
    width: 1.75rem;
    height: 1.75rem;
}

/* Blog listeleme: daha kompakt ve tek sütun mobilde */
.blog-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* İletişim harita alanı: düzgün yer tutucu */
.map-placeholder {
    background: linear-gradient(135deg, #e0f2fe 0%, #ccfbf1 100%);
    border: 2px dashed var(--primary);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--primary);
    font-weight: 500;
    text-align: center;
    padding: 2rem;
}

.map-placeholder svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

/* Admin giriş: masasütü için daha iyi dikey ortalama */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
}

.admin-login-page .login-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(14, 116, 144, 0.12);
    padding: 2.5rem;
}

/* Genel: sayfa başlıkları ve alt başlıklar arası boşluk */
section h2 + p,
section h1 + p {
    margin-top: 1rem;
}

/* Mobil düzeltmeler */
@media (max-width: 767px) {
    .heroSwiper h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .heroSwiper p {
        font-size: 1rem !important;
    }

    .site-footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .admin-login-page .login-card {
        padding: 1.75rem;
    }
}

/* Tablet düzeltmeler */
@media (max-width: 1023px) {
    .site-footer .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Doktor detay görselleri: utility sınıflarından bağımsız, sabit responsive çerçeve. */
.doctor-detail-image {
    width: 100%;
    height: min(58vh, 540px);
    min-height: 300px;
    background: #083344;
}

.doctor-detail-image img,
.doctor-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.doctor-related-image {
    height: 260px;
    background: #e0f2fe;
}

@media (max-width: 767px) {
    .doctor-detail-hero .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .doctor-detail-image {
        height: 360px;
        min-height: 0;
    }

    .doctor-related-image {
        height: 230px;
    }
}

/* Doktor detay sayfası - bağımsız responsive yerleşim */
.doctor-detail-hero {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #083344 0%, #0e7490 100%);
    color: #fff;
}

.doctor-detail-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0;
}

.doctor-detail-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    align-items: center;
    gap: 64px;
}

.doctor-detail-image {
    width: 380px;
    height: 500px;
    min-height: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

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

.doctor-detail-copy {
    min-width: 0;
}

.doctor-detail-department {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    background: #14b8a6;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.doctor-detail-copy h1 {
    margin: 18px 0 8px;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
}

.doctor-detail-title {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.35rem;
}

.doctor-detail-description {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1.08rem;
    line-height: 1.8;
    white-space: pre-line;
}

.doctor-detail-button {
    display: inline-block;
    margin-top: 32px;
    padding: 14px 28px;
    border-radius: 999px;
    background: #14b8a6;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(20, 184, 166, .3);
}

.doctor-detail-button:hover {
    background: #2dd4bf;
}

@media (max-width: 800px) {
    .doctor-detail-container {
        width: min(100% - 28px, 560px);
        padding: 32px 0 44px;
    }

    .doctor-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .doctor-detail-image {
        width: 100%;
        height: 390px;
        border-radius: 18px;
    }

    .doctor-detail-copy h1 {
        font-size: 2.45rem;
    }
}

/* Klinik galerisi: GLightbox'tan bağımsız güvenilir görsel penceresi */
.clinic-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 72px;
    background: rgba(2, 6, 23, .94);
}

.clinic-lightbox.is-open {
    display: flex;
}

.clinic-lightbox-content {
    display: flex;
    max-width: min(1200px, 92vw);
    max-height: 90vh;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.clinic-lightbox-content img {
    display: block;
    width: auto;
    max-width: 92vw;
    height: auto;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.clinic-lightbox-content p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    text-align: center;
}

.clinic-lightbox-close,
.clinic-lightbox-prev,
.clinic-lightbox-next {
    position: absolute;
    z-index: 2;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.clinic-lightbox-close:hover,
.clinic-lightbox-prev:hover,
.clinic-lightbox-next:hover {
    background: #14b8a6;
}

.clinic-lightbox-close {
    top: 22px;
    right: 24px;
    font-size: 34px;
}

.clinic-lightbox-prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.clinic-lightbox-next {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

body.clinic-lightbox-open {
    overflow: hidden;
}

/* Logo bölümündeki iletişim bilgileri */
.site-header-contact {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 7px;
    margin-left: auto;
}

.site-header-contact > div {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.site-header-contact > div > div:last-child {
    min-width: 0;
}

.site-header-contact p {
    margin: 0;
    line-height: 1.35;
}

.site-header-contact .text-primary {
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header-contact a {
    text-decoration: none;
}

/* Ana sayfa blog/haber kartları */
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.home-blog-card {
    min-width: 0;
    height: 100%;
    border: 1px solid #e5edf2;
    box-shadow: 0 10px 28px rgba(15, 65, 85, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(15, 65, 85, .14);
}

.home-blog-image {
    height: 210px;
    flex: 0 0 210px;
    background: linear-gradient(135deg, #e8f7fb, #dff5ef);
}

.home-blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-blog-content {
    min-width: 0;
}

@media (max-width: 1023px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .home-blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .home-blog-image {
        height: 190px;
        flex-basis: 190px;
    }
}

@media (max-width: 1023px) {
    .site-header-contact {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .clinic-lightbox {
        padding: 54px 18px 30px;
    }

    .clinic-lightbox-content img {
        max-width: 96vw;
        max-height: 78vh;
    }

    .clinic-lightbox-prev,
    .clinic-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .clinic-lightbox-prev { left: 8px; }
    .clinic-lightbox-next { right: 8px; }
}

/* Hizmet detay sayfası: dengeli içerik ve related services düzeni */
.service-detail-hero {
    background: linear-gradient(135deg, #0e7891 0%, #126e86 52%, #155f78 100%);
    padding: 3.75rem 0 4.5rem;
}

.service-detail-hero-inner,
.service-detail-layout {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.service-detail-back {
    display: inline-flex;
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
}

.service-detail-back:hover {
    color: #fff;
}

.service-detail-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0 1rem;
}

.service-detail-icon {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, .13);
}

.service-detail-icon svg {
    width: 2rem;
    height: 2rem;
}

.service-detail-title {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.service-detail-lead {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.15rem;
    line-height: 1.75;
}

.service-detail-section {
    padding: 4rem 0 5rem;
    background: #f5f8fa;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, .9fr);
    gap: 2rem;
    align-items: start;
}

.service-detail-main,
.service-detail-aside {
    min-width: 0;
}

.service-detail-card,
.service-related-card {
    border: 1px solid #e2ebef;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 73, 91, .08);
}

.service-detail-card {
    overflow: hidden;
}

.service-detail-image {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-detail-content {
    padding: 2.5rem;
}

.service-detail-section-title {
    margin: 0 0 1.25rem;
    color: #087791;
    font-size: 1.75rem;
    line-height: 1.25;
}

.service-detail-description {
    max-width: 72ch;
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.9;
    white-space: pre-line;
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #edf2f4;
}

.service-detail-primary-action,
.service-detail-secondary-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.25rem;
    border-radius: .75rem;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.service-detail-primary-action {
    background: #13b8a7;
    box-shadow: 0 8px 18px rgba(19, 184, 167, .22);
}

.service-detail-primary-action:hover,
.service-detail-secondary-action:hover {
    transform: translateY(-2px);
}

.service-detail-secondary-action {
    background: #e9f3f6;
    color: #087791;
}

.service-detail-aside {
    position: sticky;
    top: 1.5rem;
}

.service-related-card {
    padding: 1.5rem;
}

.service-related-title {
    margin: 0 0 1rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid #edf2f4;
    color: #087791;
    font-size: 1.25rem;
}

.service-related-list {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.service-related-item {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: .8rem;
    align-items: start;
    padding: .85rem .25rem;
    border-bottom: 1px solid #f0f4f6;
    text-decoration: none;
}

.service-related-item:last-child {
    border-bottom: 0;
}

.service-related-icon {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    background: #eaf8fa;
    color: #087f9b;
}

.service-related-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.service-related-copy {
    min-width: 0;
}

.service-related-name {
    color: #116b82;
    font-size: 1rem;
    line-height: 1.35;
}

.service-related-description {
    margin-top: .3rem;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .service-detail-hero {
        padding: 2.5rem 0 3rem;
    }

    .service-detail-heading {
        align-items: flex-start;
        gap: .8rem;
    }

    .service-detail-icon {
        width: 3.25rem;
        height: 3.25rem;
        flex-basis: 3.25rem;
    }

    .service-detail-icon svg {
        width: 1.65rem;
        height: 1.65rem;
    }

    .service-detail-content {
        padding: 1.5rem;
    }

    .service-detail-image {
        height: 210px;
    }

    .service-detail-actions,
    .service-detail-primary-action,
    .service-detail-secondary-action {
        width: 100%;
    }
}

/* Ortak kamu sayfası tasarım sistemi */
.public-page-hero:not(.service-detail-hero) {
    padding: 4.75rem 0 4.5rem !important;
    background: linear-gradient(135deg, #083344 0%, #0e7490 58%, #126f87 100%) !important;
}

.public-page-hero:not(.service-detail-hero) > .container,
.public-page-section > .container {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.public-page-hero h1 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.15rem, 4vw, 3.45rem);
    line-height: 1.1;
    text-shadow: 0 3px 10px rgba(0, 32, 44, .28);
}

.public-page-hero p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, .86);
    font-size: 1.12rem;
    line-height: 1.75;
}

.public-page-section {
    padding: 4.5rem 0 !important;
}

.public-page-section--muted {
    background: #f5f8fa !important;
}

.public-page-section--white {
    background: #fff !important;
}

.services-page-grid,
.doctors-page-grid,
.clinic-gallery-grid,
.contact-page-grid {
    display: grid;
    align-items: stretch;
    gap: 1.5rem;
}

.services-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-page-grid > div {
    min-width: 0;
    border: 1px solid #e2ebef;
    border-radius: 1.15rem;
    box-shadow: 0 10px 26px rgba(18, 73, 91, .07);
}

.services-page-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(18, 73, 91, .13);
}

.doctors-page-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.doctors-page-grid > a {
    min-width: 0;
    text-decoration: none;
}

.doctors-page-grid > a > div:last-child {
    padding: 0 .35rem;
}

.clinic-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clinic-gallery-grid > a {
    min-width: 0;
    border: 1px solid #e2ebef;
    box-shadow: 0 10px 26px rgba(18, 73, 91, .08);
}

.contact-page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.contact-page-grid > div {
    min-width: 0;
}

.contact-page-grid .map-placeholder,
.contact-page-grid iframe {
    min-height: 360px;
    border-radius: 1rem;
}

.appointment-card {
    width: min(100%, 980px);
    border: 1px solid #e2ebef;
    box-shadow: 0 18px 42px rgba(18, 73, 91, .12);
}

.public-blog-page .container.mt-12 {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.public-blog-page .blog-grid {
    max-width: none;
}

@media (max-width: 1100px) {
    .services-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doctors-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clinic-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .public-page-hero:not(.service-detail-hero) {
        padding: 3.25rem 0 3rem !important;
    }

    .public-page-section {
        padding: 3rem 0 !important;
    }

    .services-page-grid,
    .doctors-page-grid,
    .clinic-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .public-page-hero:not(.service-detail-hero) > .container,
    .public-page-section > .container,
    .public-blog-page .container.mt-12 {
        width: min(100% - 1.5rem, 1180px);
    }
}

/* Blog yazısı ve kurumsal metin sayfaları */
.blog-detail-page .blog-detail-hero {
    height: 480px;
    background: #0b5268;
}

.blog-detail-page .blog-detail-hero > img {
    filter: saturate(.9);
}

.blog-detail-page .blog-detail-hero > .absolute.inset-0 {
    background: linear-gradient(180deg, rgba(5, 28, 38, .16) 0%, rgba(5, 28, 38, .9) 100%) !important;
}

.blog-detail-page .blog-detail-hero .container,
.blog-detail-layout {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, .9fr);
    gap: 2.5rem;
    align-items: start;
}

.blog-detail-main,
.blog-detail-sidebar {
    min-width: 0;
}

.blog-detail-main > .prose {
    max-width: 76ch;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.9;
}

.blog-detail-main > .prose h2,
.blog-detail-main > .prose h3,
.blog-detail-main > .prose h4 {
    color: #0e7490;
    line-height: 1.3;
}

.blog-detail-sidebar {
    position: sticky;
    top: 1.5rem;
}

.blog-author-card,
.blog-detail-sidebar > .bg-primary {
    border: 1px solid #e2ebef;
    border-radius: 1.1rem;
    box-shadow: 0 10px 26px rgba(18, 73, 91, .08);
}

.blog-related-list > a {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: .85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf2f4;
    text-decoration: none;
}

.blog-related-list > a:last-child {
    border-bottom: 0;
}

.blog-related-list > a > div:first-child {
    width: 5.5rem;
    height: 5rem;
}

.legal-page-shell {
    padding: 4.5rem 0 5rem !important;
    background: #f5f8fa !important;
}

.legal-page-container {
    width: min(900px, calc(100% - 2rem));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.legal-page-card {
    padding: clamp(1.5rem, 4vw, 3.25rem);
    border: 1px solid #e2ebef;
    border-radius: 1.25rem;
    box-shadow: 0 12px 30px rgba(18, 73, 91, .08);
}

.legal-page-card h1 {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-color: #e3edf1;
    color: #0e7490;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.2;
}

.legal-page-card .prose {
    max-width: 74ch;
    color: #475569;
    font-size: 1rem;
    line-height: 1.85;
}

@media (max-width: 900px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-detail-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .blog-detail-page .blog-detail-hero {
        height: 430px;
    }

    .blog-detail-page .blog-detail-hero .absolute.bottom-0 {
        padding: 1.5rem 0;
    }

    .blog-detail-layout,
    .blog-detail-page .blog-detail-hero .container,
    .legal-page-container {
        width: calc(100% - 1.5rem);
    }

    .legal-page-shell {
        padding: 3rem 0 !important;
    }
}
