.doctor-single {
    background: var(--base-gray);
    color: var(--text-black);
}

/*------------------------
doctor fv
-------------------------*/

.doctor-fv {
    padding: 6rem 0 7.2rem;
    background: var(--base-white);
}

.doctor-fv__inner,
.page-sticky-layout__inner {
    width: min(110rem, calc(100% - 8rem));
    margin: 0 auto;
}

.doctor-fv__breadcrumb {
    margin-bottom: 5.6rem;
    color: var(--text-gray);
    font-size: var(--fz-12);
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.doctor-fv__breadcrumb a {
    color: inherit;
}

.doctor-fv__title {
    margin: 0;
    padding: 0;
    color: var(--text-black);
    font-family: var(--font-serif);
    font-size: var(--fz-40);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.doctor-fv__title::after,
.doctor-single h2::after,
.doctor-single h3::after {
    display: none;
}

/*------------------------
sticky layout / sticky nav
-------------------------*/

.page-sticky-layout {
    padding: 8rem 0 5rem;
    overflow: visible;
}

.page-sticky-layout__inner {
    display: grid;
    grid-template-columns: 22rem minmax(0, 1fr);
    gap: 7.2rem;
    align-items: start;
    overflow: visible;
}

.page-sticky-layout__side {
    position: sticky;
    top: 10rem;
    align-self: start;
    z-index: 10;
    height: fit-content;
}

.page-sticky-layout__main {
    min-width: 0;
    overflow: visible;
}

.page-sticky-nav {
    display: grid;
    gap: 1.6rem;
    padding: 2rem;
    margin-top: 2rem;
    background: var(--base-white);
    border-radius: 0.6rem;
    font-size: var(--fz-13);
}

.page-sticky-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-right: 1.6rem;
    color: var(--heading-brown);
    line-height: 1.6;
}

.page-sticky-nav__link span {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--deco-pink);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.page-sticky-nav__link.is-active span {
    background: var(--deco-pink);
}

/*------------------------
doctor profile
-------------------------*/

.doctor-profile,
.doctor-treatments,
.doctor-case,
.doctor-blog,
.doctor-media,
.doctor-other {
    padding: 5rem 0;
    scroll-margin-top: 12rem;
}

.doctor-profile:first-child {
    padding-top: 0;
}

.doctor-profile__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32rem;
    gap: 6.4rem;
    align-items: center;
}

.doctor-profile__position {
    margin: 0 0 1.2rem;
    color: var(--gold);
    font-size: var(--fz-14);
    line-height: 1.7;
}

.doctor-profile__name-wrap {
    display: flex;
    align-items: baseline;
    gap: 1.6rem;
    margin-bottom: 3.2rem;
}

.doctor-profile__name {
    margin: 0;
    padding: 0;
    color: var(--heading-brown);
    font-family: var(--font-serif);
    font-size: var(--fz-32);
    font-weight: 400;
    line-height: 1.4;
}

.doctor-profile__name-en {
    margin: 0;
    color: var(--text-gray);
    font-family: var(--font-en);
    font-size: var(--fz-12);
    letter-spacing: 0.08em;
}

.doctor-profile__message,
.doctor-profile__detail-content {
    color: var(--text-black);
    font-size: var(--fz-14);
    font-weight: 300;
    line-height: 2.1;
}

.doctor-profile__message > *:first-child,
.doctor-profile__detail-content > *:first-child {
    margin-top: 0;
}

.doctor-profile__message > *:last-child,
.doctor-profile__detail-content > *:last-child {
    margin-bottom: 0;
}

.doctor-profile__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.doctor-profile__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    margin-top: 5.6rem;
}

.doctor-profile__detail {
    padding-top: 3.2rem;
    border-top: 1px solid rgba(191, 156, 149, 0.35);
}

.doctor-profile__detail h3 {
    margin: 0 0 1.6rem;
    padding: 0;
    color: var(--heading-brown);
    font-size: var(--fz-18);
    font-weight: 400;
    line-height: 1.7;
}

/*------------------------
doctor sections
-------------------------*/

.doctor-treatments h2,
.doctor-case h2,
.doctor-blog h2,
.doctor-media h2,
.doctor-other h2 {
    margin: 0 0 5.6rem;
    padding: 0;
    color: var(--heading-brown);
    font-size: var(--fz-28);
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
}

.doctor-treatments__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem 2rem;
}

.doctor-treatments__list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16rem;
    min-height: 3.8rem;
    padding: 0 1.6rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    background: var(--base-white);
    color: var(--gold);
    font-size: var(--fz-13);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.doctor-treatments__list a:hover,
.doctor-treatments__list a:focus-visible {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--base-white);
}

.doctor-blog__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
}

.doctor-blog .top-blog__card a {
    display: block;
}

.doctor-blog .top-blog__image {
    overflow: hidden;
    background: var(--base-white);
}

.doctor-blog .top-blog__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 2.55;
    object-fit: cover;
    transition: transform .4s ease;
}

.doctor-blog .top-blog__card:hover img {
    transform: scale(1.05);
}

.doctor-blog .top-blog__category {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    margin-top: 1.6rem;
    padding: 0 1rem;
    background: var(--deco-pink);
    color: var(--heading-brown);
    font-size: var(--fz-10);
}

.doctor-blog .top-blog__card-title {
    margin: 1.6rem 0 0;
    padding: 0;
    color: var(--text-black);
    font-size: var(--fz-16);
    line-height: 1.8;
}

.doctor-blog .top-blog__card-title::after {
    display: none;
}

.doctor-blog .top-blog__date {
    display: block;
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: var(--fz-12);
}

.doctor-other-slider {
    overflow: hidden;
    padding: 0.4rem 0 2rem;
}

.doctor-other__list {
    display: flex;
}

.doctor-other__card {
    width: auto;
}

.doctor-other__card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    overflow: hidden;
    background: var(--base-white);
    border-radius: 1rem;
    box-shadow: 0 1.2rem 2.4rem rgba(191, 156, 149, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-other__card a:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 1.6rem 3rem rgba(191, 156, 149, 0.36);
}

.doctor-other__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.doctor-other__card a:hover .doctor-other__image img {
    transform: scale(1.04);
}

.doctor-media-slider {
    margin-left: calc((100vw - min(110rem, calc(100vw - 8rem))) / -2);
    overflow: visible;
}

.doctor-media__list {
    display: flex;
    align-items: center;
}

.doctor-media__item {
    width: min(72rem, 62vw);
}

.doctor-media__item img {
    display: block;
    width: 100%;
    height: auto;
}

.doctor-other__image {
    aspect-ratio: 3 / 3;
    background: var(--base-light);
    border-radius: 0.6rem;
    overflow: hidden;
}

.doctor-other__position {
    margin: 1.6rem 0 0.6rem;
    color: var(--gold);
    font-size: var(--fz-12);
    line-height: 1.6;
}

.doctor-other__name {
    margin: 0;
    padding: 0;
    color: var(--heading-brown);
    font-family: var(--font-serif);
    font-size: var(--fz-20);
    font-weight: 400;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .doctor-fv {
        padding: 3.2rem 0 5.6rem;
    }

    .doctor-fv__inner,
    .page-sticky-layout__inner {
        width: min(100% - 4rem, 60rem);
    }

    .doctor-fv__breadcrumb {
        margin-bottom: 4rem;
        font-size: var(--fz-11);
    }

    .doctor-fv__title {
        font-size: var(--fz-30);
    }

    .page-sticky-layout {
        padding: 5.6rem 0 7.2rem;
    }

    .page-sticky-layout__inner,
    .doctor-profile__head,
    .doctor-profile__details {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .page-sticky-layout__side {
        display: none;
    }


    .doctor-profile,
    .doctor-treatments,
    .doctor-case,
    .doctor-blog,
    .doctor-media,
    .doctor-other {
        padding: 6.4rem 0;
    }

    .doctor-profile:first-child {
        padding-top: 0;
    }


    .doctor-profile__name-wrap {
        display: block;
        margin-bottom: 2.4rem;
    }

    .doctor-profile__name {
        font-size: var(--fz-26);
        text-align: left;
    }

    .doctor-profile__name-en {
        margin-top: 0.4rem;
    }

    .doctor-profile__image {
        order: -1;
    }

    .doctor-profile__text {
        order: 0;
    }

    .doctor-profile__message,
    .doctor-profile__detail-content {
        font-size: var(--fz-14);
        line-height: 2;
    }

    .doctor-treatments h2,
    .doctor-case h2,
    .doctor-blog h2,
    .doctor-media h2,
    .doctor-other h2 {
        margin-bottom: 4rem;
        font-size: var(--fz-22);
    }

    .doctor-treatments__list {
        justify-content: flex-start;
        gap: 1.2rem;
    }

    .doctor-treatments__list a {
        width: calc((100% - 1.2rem) / 2);
        min-height: 3.6rem;
        padding: 0 1.2rem;
        font-size: var(--fz-12);
    }

    .doctor-media-slider {
        width: 100vw;
        margin-left: calc((100vw - min(100% - 4rem, 60rem)) / -2);
    }

    .doctor-media__item {
        width: 82vw;
    }

    .doctor-blog__list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .doctor-blog__list::-webkit-scrollbar {
        display: none;
    }

    .doctor-blog-card {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }
}


/*------------------------
doctor archive
-------------------------*/

.doctor-archive {
    background: var(--base-gray);
    color: var(--text-black);
}

.doctor-archive-layout {
    padding-top: 8rem;
}

.doctor-archive-section {
    padding: 0 0 10rem;
    scroll-margin-top: 12rem;
}

.doctor-archive-section__list {
    display: grid;
    gap: 6.4rem;
}

.doctor-archive-card {
    display: grid;
    grid-template-columns: 24rem minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
    width: min(76rem, 100%);
    margin: 0 auto;
}

.doctor-archive-card.is-featured {
    grid-template-columns: 24rem minmax(0, 1fr);
    width: min(82rem, 100%);
}

.doctor-archive-card__image {
    background: var(--base-light);
}

.doctor-archive-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.doctor-archive-card__position {
    margin: 0 0 1rem;
    color: var(--gold);
    font-size: var(--fz-13);
    line-height: 1.7;
}

.doctor-archive-card__name-wrap {
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--line);
}

.doctor-archive-card__name {
    margin: 0;
    padding: 0;
    color: var(--heading-brown);
    font-family: var(--font-serif);
    font-size: var(--fz-24);
    font-weight: 400;
    line-height: 1.5;
}

.doctor-archive-card__name::after {
    display: none;
}

.doctor-archive-card__name-en {
    margin: 0.6rem 0 0;
    color: var(--text-gray);
    font-family: var(--font-en);
    font-size: var(--fz-12);
    letter-spacing: 0.08em;
}

.doctor-archive-card__message {
    margin-top: 2.4rem;
    color: var(--text-black);
    font-size: var(--fz-14);
    font-weight: 300;
    line-height: 2;
}

.doctor-archive-card__message--short {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.doctor-archive-card__message > *:first-child {
    margin-top: 0;
}

.doctor-archive-card__message > *:last-child {
    margin-bottom: 0;
}

.doctor-archive-card__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.2rem;
    margin-top: 2.4rem;
}

.doctor-archive-card__detail h3 {
    margin: 0 0 1.2rem;
}

.doctor-archive-card__detail div {
    color: var(--text-black);
    font-size: var(--fz-13);
    font-weight: 300;
    line-height: 1.9;
}

.doctor-archive-card__body .link-btn {
    display: flex;
    width: fit-content;
    margin: 2.8rem auto 0;
}

.doctor-archive-card.is-staff {
    width: min(82rem, 100%);
}

.doctor-archive-card.is-staff:not(:has(.doctor-archive-card__image)) {
    grid-template-columns: 1fr;
}

@media (max-width: 767px) {
    .doctor-archive-layout {
        padding-top: 5.6rem;
    }

    .doctor-archive-section {
        padding-bottom: 6.4rem;
    }

    .doctor-archive-section__title {
        margin-bottom: 4rem;
        font-size: var(--fz-22);
    }

    .doctor-archive-section__list {
        gap: 4.8rem;
    }

    .doctor-archive-card,
    .doctor-archive-card.is-featured {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        width: 100%;
    }

    .doctor-archive-card__image {
        width: min(24rem, 72%);
        margin: 0 auto;
    }

    .doctor-archive-card__details {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

}
