.doctors-page {
    padding: 0px 0 80px;
    background: #fff;
    font-family: "DM Sans", sans-serif;
}

.doctors-page h2 {
    font-size: 36px;
    font-weight: 600;
    color: #51678F;
    margin-bottom: 30px;
}


/* Filtreler */

.doctor-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.doctor-filters input,
.doctor-filters select {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Sağda özel ok için boşluk bırak */
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
}

.doctor-filters select {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    background-color: #fff;
    /* Varsayılan oku kaldır */
}


/* Grid */

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.doctor-card {
    background: #fdf1f5;
    /* arka plan açık pembe */
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.doctor-card .doctor-photo {
    margin-bottom: 15px;
}

.doctor-card .doctor-photo img {
    max-width: 100%;
    height: auto;
}

.doctor-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #BC0042;
    margin-bottom: 5px;
}

.doctor-card p {
    font-size: 14px;
    color: #51678F;
    margin-bottom: 20px;
}

.doctor-actions {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    padding-top: 10px;
    transition: all 0.3s;
    z-index: 3;
    opacity: 0;
    border: 1px solid #F5D9E3;
    background: #FBF0F4;
    justify-content: center;
}

.doctor-actions a {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: none !important
}


/* Solid */

.doctor-actions .btn-solid {
    background: #BC0042;
    color: #fff;
    text-wrap: nowrap;
}

.doctor-actions .btn-solid:hover {
    background: #a20035;
}


/* Outline */

.doctor-actions .btn-outline {
    background: #fff;
    color: #BC0042;
    text-wrap: nowrap;
}

.doctor-actions .btn-outline:hover {
    background: #BC0042;
    color: #fff;
}


/* Hover ile görünür olacak */

.doctor-card:hover .doctor-actions {
    opacity: 1;
    bottom: 0px;
}


/* === Doctor Promo === */

.doctor-promo {
    position: relative;
    background: linear-gradient(135deg, #BC0042, #d83d6c);
    color: #fff;
    font-family: "DM Sans", sans-serif;
    background-image: url('../images/bg-doctor-promo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vh;
    padding-top: 120px;
    /* Header boşluğu */
    display: flex;
    align-items: flex-end;
}

.doctor-promo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
}

.doctor-promo-photo {
    flex: 0 0 35%;
    display: flex;
    align-items: flex-end;
}

.doctor-promo-photo img {
    width: 100%;
    height: auto;
    max-height: calc(70vh - 120px);
    object-fit: contain;
    align-self: flex-end;
}

.doctor-promo-info {
    flex: 1;
    padding-left: 40px;
    padding-bottom: 40px;
}

.doctor-branch {
    font-size: 16px;
    opacity: 0.9;
    display: block;
    margin-bottom: 8px;
}

.doctor-name {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
}

.doctor-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 600px;
}

.doctor-meta {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.doctor-meta span {
    display: block;
    font-size: 14px;
    opacity: 0.8;
}

.doctor-meta strong {
    font-size: 16px;
    font-weight: 600;
}


/* Promo içindeki butonlar */

.doctor-promo .doctor-actions {
    display: flex;
    gap: 15px;
}

.doctor-promo .btn-solid {
    padding: 12px 30px;
    border-radius: 30px;
    background: #fff;
    color: #BC0042;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.doctor-promo .btn-solid:hover {
    background: #f4d9e3;
}

.doctor-promo .btn-outline {
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.doctor-promo .btn-outline:hover {
    background: #fff;
    color: #BC0042;
}


/* === Doctor Promo Actions === */


/* Promo içi butonlar */

.doctor-promo-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}


/* Solid buton */

.doctor-promo-actions .btn-solid {
    padding: 12px 30px;
    border-radius: 30px;
    background: #fff;
    color: #BC0042;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    /* border tamamen kalktı */
}

.doctor-promo-actions .btn-solid:hover {
    opacity: .7;
}


/* Outline buton */

.doctor-promo-actions .btn-outline {
    padding: 12px 30px;
    border-radius: 30px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.doctor-promo-actions .btn-outline:hover {
    background: #fff;
    color: #BC0042;
}

body.doctor-detail-page .header-logo img {
    filter: brightness(0) invert(100);
}

body.doctor-detail-page header.active .header-logo img {
    filter: none;
}

body.doctor-detail-page .header-cta .btn-primary {
    background-color: #51678F;
    color: #fff;
}

body.doctor-detail-page header.active .header-cta .btn-primary {
    background-color: #a20035;
    color: #fff;
}

.sub-nav {
    background: #f8f9fb;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    /* scroll’da sabit kalsın */
    top: 0;
    z-index: 10;
}

.sub-nav.fixed {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.sub-nav ul {
    display: flex;
    gap: 40px;
    padding: 20px 0;
    margin: 0;
    list-style: none;
}

.sub-nav.center-sub-nav ul {
    justify-content: start;
}

.hastane-nav ul {
    justify-content: start !important;
}

.sub-nav a {
    font-size: 15px;
    font-weight: 500;
    color: #51678F;
    text-decoration: none;
    transition: color 0.3s;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: #BC0042;
}

.doctor-detail {
    padding: 80px 0;
    font-family: "DM Sans", sans-serif;
}

.doctor-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 4fr;
    /* 1:4 oran */
    gap: 40px;
}


/* Sol Sidebar */

.doctor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fdf8f9;
    border-radius: 12px;
    padding: 20px;
}

.sidebar-card h4 {
    color: #51678F;
    leading-trim: both;
    text-edge: cap;
    font-family: "DM Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 40px;
    /* 171.429% */
}

.sidebar-card p {
    color: #51678F;
    leading-trim: both;
    text-edge: cap;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card ul li {
    color: #51678F;
    leading-trim: both;
    text-edge: cap;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 6px;
}


/* Sağ İçerik */

.doctor-content .content-block {
    margin-bottom: 50px;
}

.content-block h3 {
    font-size: 20px;
    font-weight: 600;
    color: #51678F;
    margin-bottom: 20px;
}

.content-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-block ul li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.content-block strong {
    color: #BC0042;
}

.doctor-videos {
    padding: 80px 0;
    background: #fff;
    font-family: "DM Sans", sans-serif;
}

.section-header .btn-solid {
    padding: 10px 20px;
    border-radius: 30px;
    background: #51678F;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.video-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 20px;
}

.play-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #BC0042;
    font-size: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-info {
    color: #51678F;
    leading-trim: both;
    text-edge: cap;
    font-family: "DM Sans";
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px;
    height: 120px;
    transition: .3s all linear;
    margin-bottom: 20px;
}

.department-doctors {
    margin-bottom: 80px;
}

.related-posts .video-grid {
    grid-template-columns: repeat(3, 1fr);
}

.related-posts .video-grid .video-card img {
    height: 240px;
    object-fit: cover;
}

.related-posts .video-grid .video-info {
    font-size: 20px;
}

.doctor-card img {
    margin-bottom: 0 !important;
}

#hospital {
    display: flex;
    gap: 20px;
}

#hospital .h-content {
    flex: 3;
}

#hospital .hospital-box {
    flex: 1;
    border-radius: 20px;
    border-radius: 20px;
    background: #F5F6F8;
    padding: 20px;
}

#hospital .hospital-box img {
    border-radius: 20px;
    margin-bottom: 20px;
}

#hospital .address-buttons {
    flex-direction: column;
    margin-top: 20px;
    gap: 10px;
}

.hospital-box h3 {
    margin-bottom: 4px !important;
    margin-top: 0 !important;
    height: 26px;
    font-size: 20px !important;
}

.hospital-box p {
    margin-bottom: 8px !important;
}

.search-results {
    padding: 80px 0;
}