@charset "UTF-8";

/* =========================================================
   공통 하단

   기존 하단과 새 공통 하단에 모두 적용합니다.
   새 공통 하단에는 선택자 우선순위를 높여 적용합니다.
========================================================= */

.proto-footer,
.proto-footer.site-shared-footer {
    display: block;

    width: 100%;
    min-height: 0;

    margin: 0;
    padding: 0;

    border-top: 1px solid rgba(248, 244, 239, 0.12);

    background: #302b28;
    color: rgba(248, 244, 239, 0.7);

    font-family: var(--font-korean, sans-serif);
}

.proto-footer *,
.proto-footer *::before,
.proto-footer *::after {
    box-sizing: border-box;
}


/* =========================================================
   내부 배치
========================================================= */

.proto-footer .proto-footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;

    width: min(
        calc(100% - var(--page-padding-desktop, 40px) * 2),
        var(--container-default, 1320px)
    );

    max-width: none;

    margin: 0 auto;
    padding: 28px 0 26px;
}


/* =========================================================
   병원 정보
========================================================= */

.proto-footer .proto-footer__information {
    min-width: 0;

    color: rgba(248, 244, 239, 0.7);

    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.proto-footer .proto-footer__information p {
    margin: 0;
}

.proto-footer .proto-footer__information span {
    display: inline;
    margin-left: 12px;
}


/* =========================================================
   오른쪽 영역
========================================================= */

.proto-footer .proto-footer__utility {
    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    border: 0;

    text-align: right;
}

.proto-footer .proto-footer__top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;

    margin: 0 0 10px;
}


/* =========================================================
   하단 메뉴
========================================================= */

.proto-footer .proto-footer__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;

    margin: 0;
    padding: 0;
}

.proto-footer .proto-footer__nav a {
    color: rgba(248, 244, 239, 0.78);

    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;

    transition: color 0.2s ease;
}

.proto-footer .proto-footer__nav a:hover,
.proto-footer .proto-footer__nav a:focus-visible {
    color: #f8f4ef;
}


/* =========================================================
   사회관계망 연결
========================================================= */

.proto-footer .proto-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.proto-footer .proto-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    color: rgba(248, 244, 239, 0.68);

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.proto-footer .proto-footer__social a:hover,
.proto-footer .proto-footer__social a:focus-visible {
    color: #f8f4ef;
}

.proto-footer .proto-footer__social svg {
    display: block;

    width: 17px;
    height: 17px;

    overflow: visible;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.proto-footer .proto-footer__social .proto-footer__play,
.proto-footer .proto-footer__social .proto-footer__instagram-dot {
    fill: currentColor;
    stroke: none;
}


/* =========================================================
   저작권
========================================================= */

.proto-footer .proto-footer__copyright {
    margin: 0;

    color: rgba(248, 244, 239, 0.48);

    font-family: var(--font-english, sans-serif);
    font-size: 9.5px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.04em;
}


/* =========================================================
   태블릿
========================================================= */

@media (max-width: 1024px) {
    .proto-footer .proto-footer__inner {
        width: calc(
            100% - var(--page-padding-tablet, 32px) * 2
        );
    }
}


/* =========================================================
   모바일
========================================================= */

@media (max-width: 767px) {
    .proto-footer .proto-footer__inner {
        display: block;

        width: calc(
            100% - var(--page-padding-mobile, 26px) * 2
        );

        padding: 24px 0 22px;
    }

    .proto-footer .proto-footer__information {
        font-size: 11px;
        line-height: 1.75;
    }

    .proto-footer .proto-footer__information span {
        display: block;
        margin-left: 0;
    }

    .proto-footer .proto-footer__utility {
        margin-top: 18px;
        padding-top: 16px;

        border-top: 1px solid rgba(248, 244, 239, 0.1);

        text-align: left;
    }

    .proto-footer .proto-footer__top {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px 20px;

        margin-bottom: 12px;
    }

    .proto-footer .proto-footer__nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .proto-footer .proto-footer__nav a {
        font-size: 11.5px;
    }

    .proto-footer .proto-footer__social a {
        width: 28px;
        height: 28px;
    }

    .proto-footer .proto-footer__social svg {
        width: 18px;
        height: 18px;
    }

    .proto-footer .proto-footer__copyright {
        font-size: 9px;
    }
}


/* =========================================================
   키보드 초점
========================================================= */

.proto-footer a:focus-visible {
    outline: 2px solid rgba(248, 244, 239, 0.9);
    outline-offset: 3px;
}


/* =========================================================
   움직임 최소화
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .proto-footer .proto-footer__nav a,
    .proto-footer .proto-footer__social a {
        transition: none;
    }
}
