
/*
Theme Name: 굿모닝이비인후과
Author: Jeymedi
Author URI: https://jmedidesign.com
Description: 굿모닝이비인후과 웹사이트 테마 (ai html 기반)
Version: 1.0.0
*/
body {  }
/* 어드민바 아래로 */
html { margin-top: 0 !important; }
#wpadminbar { top:unset; bottom:0 }

.kboard-default-new-notify { background-color:#f39800; }
.kboard-list-vote,
.kboard-default-poweredby,
#kboard-default-document .kboard-document-action,
#kboard-default-list .kboard-search { display:none; }

.kboard-document-options-group { margin-bottom:0 }
#kboard-default-document .kboard-title h1, #kboard-default-document .kboard-title h2 { font-size:1.1em }
#kboard-default-latest .kboard-latest-date, #kboard-default-latest .kboard-latest-author { width: 10em; }

.wp-block-table thead { border-bottom:0 !important }

section { --kboard-primary: #f39800; }

.swiper-button-prev::slotted(svg),
.swiper-button-prev svg,
.swiper-button-next::slotted(svg),
.swiper-button-next svg {display: none;}

#map { overflow:hidden; }
#map > div {
    width: 100% !important;
    height: 100% !important;
}
#map .root_daum_roughmap .wrap_controllers,
#map .root_daum_roughmap .cont { display:none; }


/* - - - - - - -  - - - - - - - - - -
    table
 - - - - - - - - - - - - - - - - - */
table.timetable th,
table.timetable td {
    text-align:justify;
    line-height: 0;
}
table.timetable th::before,
table.timetable td::before,
table.timetable th::after,
table.timetable td::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 0;
    line-height: 0;
    font-size: 0;
}
table.table {
    border-collapse: collapse;
    border: 1px solid rgba(10, 10, 10, 0.1);
    width: fit-content;
    margin: 2em auto;
    overflow: hidden;
}
table.table tr > * {
    border: transparent;
    padding: 0.25em 1.5em;
}
table.table th {
    color: #fff;
    text-align: center;
    background-color: var(--primary);
}
table.table tbody td {
    background-color: #fefefe;
    font-weight: 400;
    font-size: 0.9em;
    border: 1px solid rgba(10, 10, 10, 0.1);
}

table.table tbody td small { opacity:0.6 }

/* - - - - - - -  - - - - - - - - - -
    비급여 페이지
 - - - - - - - - - - - - - - - - - */
section.nonpay { --primary : #998C7A; }
section.nonpay .table-wrapper { width: 100%; margin: 0.5em auto 1em; overflow-x: auto;}
section.nonpay h5.caption { font-size: 1em; margin-top:0 }
section.nonpay .npay table tr * { min-width: 6em; padding: 8px 12px; font-size: 1em }


section.nonpay p.txt-right { font-size: 0.9rem; }

/* - - - - - - -  - - - - - - - - - -
    비급여 페이지
 - - - - - - - - - - - - - - - - - */
section.nonpay h1.caption { font-size: 1.5em; text-align: center; color: var(--primary); margin-top:50px; font-weight:400; padding:0.6em;}

section.nonpay .tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    grid-gap: 0.6em;
    width: 90%;
    margin: 0 auto;
}
section.nonpay .tabs .tab-button {
    padding: 1em;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    background: #fff;
    border-radius: 5px;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: background 0.3s;
}
section.nonpay .tabs .tab-button.active {
    background: var(--primary);
    color: #FFF;
}

section.nonpay .swiper-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 10px;
}


section.nonpay .npay table {
    border-top: 2px solid var(--primary);
    border-collapse: collapse;
    width: 100%;
    background-color:rgba(255, 255, 255, 0.8);
}
section.nonpay p.txt-right {
    margin-top: 1.5em;
    font-weight: 600;
    color: #aaa;
    font-size: 1rem;
}
section.nonpay .npay table tr > * { border: 1px solid rgba(10,10,10,.1); padding: 15px 10px; font-weight: 300; text-align: center; }
section.nonpay .npay table thead th { background-color:#f6f7f7; font-weight: 500; }
section.nonpay .npay table td small { color:inherit; font-family:inherit; font-size:0.9em; opacity:0.6; padding:0 }
section.nonpay .npay table tr:hover td { background-color:#FAFAFA; color:var(--primary); }


/* 404 error */
section.page404 {
    height: 90vh;
    background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/symbol-op10.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
section.page404 .inner {
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.page404 strong {
    display: block;
    color: var(--primary);
    font-size: 4.5em;
    line-height: 1.0;
    letter-spacing: 0;
    font-weight: 700;
}
section.page404 strong small {
    display: block;
    font-family: inherit;
    text-transform: capitalize;
    color: inherit;
    text-align: inherit;
    font-size: 0.25em;
    font-weight: 400;
}
section.page404 h4.txt-center {
    font-size: 1.3em;
    margin: 1.5em auto 0.25em;
    letter-spacing: 0;
}
section.page404 h4.txt-center + p {
    opacity: 0.6;
}

section a.btn.btn404 {
    color: #fff;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    padding: 0.6em 2em;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
    margin: 2.5em auto 0;
    transition:all ease 0.2s;
}

section a.btn.btn404:hover {
    color: var(--primary);
    background-color: transparent;
    transform: translateY(5px);
    box-shadow: 0 0 0 rgba(0,0,0,.1);
}













/* - - - - - - -  - - - - - - - - - -
     footer subpage template
 - - - - - - - - - - - - - - - - - */
/* footer subpage template */
section.sub.footer-trio > div.inner {
    padding: 60px 100px 100px;
    width: 1200px;
    font-size: 16px;
/*    box-shadow: 0 0 40px var(--beige);*/
}
section.sub.footer-trio.nonpay > div.inner {
    border-left: 0;
    border-right: 0;
    padding: 60px 0 100px;
    box-shadow: none;
    font-size: 16px;
}
section.sub.footer-trio > div.inner p {
    margin-bottom: 1em;
    padding: 0;
    line-height: 1.8;
    text-align: justify;
    word-break: break-all;
    text-indent: 1em;
}
section.sub.footer-trio > div.inner p strong {
    font-size: 1.1em;
    margin-top: 2em;
    display: inline-block;
    font-weight: 500;
    color: var(--black);
    letter-spacing: -0.05em;
}
section.sub.footer-trio > div.inner h5 {
    text-align-last: center;
    font-size: 1.3em;
    letter-spacing: -0.04em;
    font-weight: 400;
}

section.sub.footer-trio > div.inner p + h5 {
    padding: 3em 1.0em 0.5em;
}
section.sub.footer-trio > div.inner  p.op60 {
    display: inline-block;
    width: 100%;
    margin: 3em auto 0;
    font-size:0.9em;
    text-align: center;
 }
section.sub.footer-trio > div.inner blockquote {
    border: 1px solid rgba(20, 20, 20, .05);
    background-color: #f5f5f5;
    margin: 2em auto;
    padding: 1.5em 2em 1.5em 1.5em;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
}
section.sub.footer-trio > div.inner blockquote p {
    line-height: 1.8;
    letter-spacing:0.01em;
    font-size: 0.9em;
    opacity:0.8;

    text-indent: -1.5em;
    padding-left: 2em;
    margin-bottom: 0;
}
section.sub.footer-trio > div.inner blockquote p + p {
    margin-top: 0.4em;
}



#floating-msg {
    display: flex;
    width: 28em;
    padding: 1em 2em;
    position: fixed;
    z-index: 99999;
    right: 25px;
    bottom: 25px;
    border: 1px solid rgba(0, 0, 0, 1.0);
    background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

#floating-msg p {
    color: #111;
    text-align: center;
}

#floating-msg::before {
    content: '✕ 닫기';
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
/*    font-size: 1.5em;*/
    opacity: 0;
    transition: all ease 0.3s;
    font-weight: 600;
}
#floating-msg:hover::before { opacity:1 }



/* mobile */
@media screen and (max-width: 1025px) {

    /* footer subpage template */
    section.sub.footer-trio > div.inner {
        padding: 30px;
        width: 100%;
        overflow: hidden;
        box-shadow: none;
        font-size: 12px;
    }
    section.sub.footer-trio.nonpay > div.inner {
        border-left: 0;
        border-right: 0;
        padding: 30px 0 0;
        font-size: 12px;
    }
    .table-wrapper { width: 100%; margin: 0.5em auto 1em; overflow-x: auto;}


    section.nonpay .tabs {grid-template-columns: repeat(2, 1fr); grid-gap: 5px; width: 90%;}
    section.nonpay .tabs .tab-button { padding: 0.5em; border-width: 1px; border-radius:3px; }


    section.nonpay .unit { width:100% }
    section.nonpay .table-wrapper { width: 90vw; margin: 0.5em auto 1em; overflow-x: auto;}
    section.nonpay .npay table tr * {  padding: 8px 12px; font-size: 1em;}



    /* 404 error */
    section.page404 { background-position:right 30% center; background-attachment:unset; }
    section.page404 strong { font-size: 15vw; margin-bottom:2vw }
    section.page404 h4.txt-center { font-size: 5vw; padding: 0 5vw 3vw}
    section.page404 h4.txt-center + p { font-size: 3.5vw; padding: 0 5vw}
    section a.btn.btn404 { font-size: 4vw; }


    #wpadminbar { display:none }

    #floating-msg {
        width: 100vw;
        padding: 4vw;
        left: 0;
        bottom: 70px;
        transform: scale(0.8);
        /* display: none; */
    }
    #floating-msg p { font-size: 16px; }
    #floating-msg p br { display:none; }

    #floating-msg::before,
    #floating-msg:hover::before { opacity:1; background-color:rgba(0,0,0,.5); color:#fff; padding:0.5em 1em }


}

/* popup setting */
#jt_popup_container #jt_popup_overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    background: #000;
    opacity: 0.7;
    display: none;
}
#jt_popup_container.pc .jt_popup_item {
    position: relative;
}
#jt_popup_playground {
    display: flex;
/*    display: grid;*/
/*    grid-template-columns: repeat(2, minmax(20vw, auto));*/
    grid-gap: 2px;
    position: fixed;
    align-items: center;
    justify-content: center;
    left: 5vw;
    top: 0;
    width: 90vw;
    height: 100vh;
    z-index: 100000;
}
#jt_popup_playground > article {
    position: relative;
}

@media (max-width: 1024px) {
    #jt_popup_playground {
        display: grid;
        grid-template-columns: 1fr;
        height: 90vh;
        top: 5vh;
    }
    #jt_popup_container.pc .jt_popup_item {
        position: absolute;
    }

    #jt_popup_container.pc { display:block !important; }

}
@layer properties {
    @supports (((-webkit-hyphens: none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))) {
        *,
        :before,
        :after,
        ::backdrop {
            --tw-rotate-x: initial;
            --tw-rotate-y: initial;
            --tw-rotate-z: initial;
            --tw-skew-x: initial;
            --tw-skew-y: initial
        }
    }
}

@layer theme {

    :root,
    :host {
        --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        --spacing: .25rem;
        --default-font-family: var(--font-sans);
        --default-mono-font-family: var(--font-mono)
    }
}

@layer base {

    *,
    :after,
    :before,
    ::backdrop {
        box-sizing: border-box;
        border: 0 solid;
        margin: 0;
        padding: 0
    }

    ::file-selector-button {
        box-sizing: border-box;
        border: 0 solid;
        margin: 0;
        padding: 0
    }

    html,
    :host {
        -webkit-text-size-adjust: 100%;
        tab-size: 4;
        line-height: 1.5;
        font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
        font-feature-settings: var(--default-font-feature-settings, normal);
        font-variation-settings: var(--default-font-variation-settings, normal);
        -webkit-tap-highlight-color: transparent
    }

    hr {
        height: 0;
        color: inherit;
        border-top-width: 1px
    }

    abbr:where([title]) {
        -webkit-text-decoration: underline dotted;
        text-decoration: underline dotted
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: inherit;
        font-weight: inherit
    }

    a {
        color: inherit;
        -webkit-text-decoration: inherit;
        -webkit-text-decoration: inherit;
        -webkit-text-decoration: inherit;
        -webkit-text-decoration: inherit;
        text-decoration: inherit
    }

    b,
    strong {
        font-weight: bolder
    }

    code,
    kbd,
    samp,
    pre {
        font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
        font-feature-settings: var(--default-mono-font-feature-settings, normal);
        font-variation-settings: var(--default-mono-font-variation-settings, normal);
        font-size: 1em
    }

    small {
        font-size: 80%
    }

    sub,
    sup {
        vertical-align: baseline;
        font-size: 75%;
        line-height: 0;
        position: relative
    }

    sub {
        bottom: -.25em
    }

    sup {
        top: -.5em
    }

    table {
        text-indent: 0;
        border-color: inherit;
        border-collapse: collapse
    }

    :-moz-focusring {
        outline: auto
    }

    progress {
        vertical-align: baseline
    }

    summary {
        display: list-item
    }

    ol,
    ul,
    menu {
        list-style: none
    }

    img,
    svg,
    video,
    canvas,
    audio,
    iframe,
    embed,
    object {
        vertical-align: middle;
        display: block
    }

    img,
    video {
        max-width: 100%;
        height: auto
    }

    button,
    input,
    select,
    optgroup,
    textarea {
        font: inherit;
        font-feature-settings: inherit;
        font-variation-settings: inherit;
        letter-spacing: inherit;
        color: inherit;
        opacity: 1;
        background-color: #0000;
        border-radius: 0
    }

    ::file-selector-button {
        font: inherit;
        font-feature-settings: inherit;
        font-variation-settings: inherit;
        letter-spacing: inherit;
        color: inherit;
        opacity: 1;
        background-color: #0000;
        border-radius: 0
    }

    :where(select:is([multiple], [size])) optgroup {
        font-weight: bolder
    }

    :where(select:is([multiple], [size])) optgroup option {
        padding-inline-start: 20px
    }

    ::file-selector-button {
        margin-inline-end: 4px
    }

    ::placeholder {
        opacity: 1
    }

    @supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px) {
        ::placeholder {
            color: currentColor
        }

        @supports (color:color-mix(in lab, red, red)) {
            ::placeholder {
                color: color-mix(in oklab, currentcolor 50%, transparent)
            }
        }
    }

    textarea {
        resize: vertical
    }

    ::-webkit-search-decoration {
        -webkit-appearance: none
    }

    ::-webkit-date-and-time-value {
        min-height: 1lh;
        text-align: inherit
    }

    ::-webkit-datetime-edit {
        display: inline-flex
    }

    ::-webkit-datetime-edit-fields-wrapper {
        padding: 0
    }

    ::-webkit-datetime-edit {
        padding-block: 0
    }

    ::-webkit-datetime-edit-year-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-month-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-day-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-hour-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-minute-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-second-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-millisecond-field {
        padding-block: 0
    }

    ::-webkit-datetime-edit-meridiem-field {
        padding-block: 0
    }

    ::-webkit-calendar-picker-indicator {
        line-height: 1
    }

    :-moz-ui-invalid {
        box-shadow: none
    }

    button,
    input:where([type=button], [type=reset], [type=submit]) {
        appearance: button
    }

    ::file-selector-button {
        appearance: button
    }

    ::-webkit-inner-spin-button {
        height: auto
    }

    ::-webkit-outer-spin-button {
        height: auto
    }

    [hidden]:where(:not([hidden=until-found])) {
        display: none !important
    }
}

@layer components;

@layer utilities {
    .visible {
        visibility: visible
    }

    .relative {
        position: relative
    }

    .start {
        inset-inline-start: var(--spacing)
    }

    .table {
        display: table
    }

    .transform {
        transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )
    }
}

:root {
    --primary: #7b7267;
    --secondary: #5d4f41;
    --orange: #fa9a00;
    --blue: #0195e7;
    --green: #74af17;
    --brown: #5b5041;
    --ivory: #f8f2eb;
    --ivory-light: #faf8f2;
    --beige: #e6dbca;
    --dark: #474747;
    --muted: #786f66;
    --paper: #fff;
    --line: #5b504129;
    --inner: 1600px;
    --content: 1400px;
    --shadow: 0 24px 70px #5b50411f
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
}

body {
/*    color: var(--dark);*/
    letter-spacing: -.0375em;
    word-break: keep-all;
    text-rendering: optimizelegibility;
    background: #fafaf8;
    margin: 0;
    font-family: Pretendard, Noto Sans KR, Apple SD Gothic Neo, Malgun Gothic, sans-serif;
/*    font-size: 19px;*/
    line-height: 1.8
}

body,
button,
a {
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

/*p,*/
h1,
h2,
h3,
figure,
dl,
dd {
    margin: 0
}

address {
    font-style: normal
}

main {
    padding-top: 94px
}

.shell {
    width: min(var(--content), calc(100% - 80px));
    margin-inline: auto
}

.site-header {
    z-index: 100;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: #faf8f2f7;
    border-bottom: 1px solid #5b50411a;
    height: 94px;
    position: fixed;
    inset: 0 0 auto
}

.header-inner {
    width: min(var(--inner), calc(100% - 64px));
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    height: 94px;
    margin: auto;
    display: grid
}

.brand {
    align-items: center;
    gap: 12px;
    width: 300px;
    display: flex
}

.brand img {
    object-fit: contain;
    flex: none;
    width: 46px;
    height: 46px
}

.brand>span {
    flex-direction: column;
    min-width: 0;
    line-height: 1.15;
    display: flex
}

.brand strong {
    color: var(--brown);
    letter-spacing: -.07em;
    white-space: nowrap;
    font-size: 19px;
    font-weight: 760
}

.brand small {
    color: #8d8277;
    letter-spacing: .1em;
    white-space: nowrap;
    margin-top: 5px;
    font-family: Arial, sans-serif;
    font-size: 7px;
    font-weight: 700
}

.desktop-nav {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: stretch;
    height: 100%;
    display: grid
}

.desktop-nav>a {
    color: var(--brown);
    text-align: center;
    letter-spacing: -.055em;
    place-items: center;
    padding: 0 8px;
    font-size: clamp(13px, .88vw, 16px);
    font-weight: 600;
    display: grid;
    position: relative
}

.desktop-nav>a:after {
    content: "";
    background: var(--orange);
    height: 2px;
    transition: left .18s, right .18s;
    position: absolute;
    bottom: 17px;
    left: 50%;
    right: 50%
}

.desktop-nav>a:hover:after,
.desktop-nav>a:focus-visible:after {
    left: 27%;
    right: 27%
}

.mega-nav {
    visibility: hidden;
    opacity: 0;
    background: #f8f2ebfa;
    border-top: 1px solid #5b504114;
    max-height: 0;
    transition: max-height .26s, opacity .18s, visibility .18s;
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    overflow: hidden;
    box-shadow: 0 20px 35px #5b504114
}

.site-header:hover .mega-nav,
.site-header:focus-within .mega-nav {
    visibility: visible;
    opacity: 1;
    max-height: 430px
}

.mega-nav-inner {
    width: min(var(--inner), calc(100% - 64px));
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
    margin: auto;
    padding: 26px 0 34px;
    display: grid
}

.mega-columns {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    display: grid
}

.mega-columns>div {
    border-left: 1px solid #5b50411c;
    flex-direction: column;
    gap: 7px;
    padding: 0 12px;
    display: flex
}

.mega-columns>div:last-child {
    border-right: 1px solid #5b50411c
}

.mega-columns>div.active {
    background: #e6dbca47
}

.mega-columns a {
    color: #736a61;
    text-align: center;
    letter-spacing: -.055em;
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.45
}

.mega-columns a:hover {
    color: var(--orange);
    font-weight: 700
}

.mobile-menu {
    display: none
}

.quick-menu {
    z-index: 90;
    background: #fffffff7;
    border: 1px solid #5b50411f;
    border-right: 0;
    border-radius: 28px 0 0 28px;
    width: 94px;
    position: fixed;
    top: 50%;
    right: 0;
    overflow: hidden;
    transform: translateY(-43%);
    box-shadow: 0 14px 36px #5b50411a
}

.quick-menu>div>a,
.quick-menu .top-button {
    color: #766d64;
    text-align: center;
    border-bottom: 1px solid #5b504117;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    min-height: 69px;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    transition: background .16s, color .16s;
    display: flex
}

.quick-menu>div>a:hover {
    background: var(--ivory);
    color: var(--orange)
}

.quick-menu img {
    object-fit: contain;
    width: 26px;
    height: 26px
}

.quick-menu .top-button {
    color: #fff;
    background: #af8b68;
    border-bottom: 0;
    min-height: 57px
}

.quick-menu .top-button img {
    filter: brightness(0)invert();
    width: 15px;
    height: 15px
}

.hero {
    background: radial-gradient(circle at 7% 92%, #fa9a001f 0 6%, transparent 6.3%), radial-gradient(circle at 94% 8%, #74af171a 0 11%, transparent 11.3%), var(--ivory-light);
    align-items: center;
    min-height: 760px;
    padding: 86px 0 94px;
    display: flex;
    position: relative;
    overflow: hidden
}

.hero:after {
    content: "";
    border: 90px solid #e6dbca57;
    border-radius: 50%;
    width: 560px;
    height: 560px;
    position: absolute;
    bottom: -250px;
    right: -150px
}

.hero-grid,
.psg-hero-grid {
    z-index: 1;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: clamp(54px, 6vw, 110px);
    display: grid;
    position: relative
}

.hero-copy {
    padding-left: clamp(0px, 2vw, 30px)
}

.eyebrow {
    color: var(--orange);
    letter-spacing: .16em;
    margin-bottom: 16px;
    font-family: Nata Sans, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800
}

.hero h1,
.psg-hero h1 {
    color: var(--brown);
    letter-spacing: -.07em;
    font-size: clamp(48px, 5vw, 74px);
    font-weight: 650;
    line-height: 1.08
}

.hero h1:before,
.psg-hero h1:before {
/*    content: "";
    background: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/symbol-title.svg") 50%/contain no-repeat;
    width: 62px;
    height: 35px;
    margin: 0 0 18px;
    display: block*/
}

.hero h1 span {
    color: var(--dark);
    margin-top: 20px;
    font-size: .58em;
    font-weight: 600;
    line-height: 1.35;
    display: block
}

.hero-answer {
    color: #6d655d;
    max-width: 690px;
    margin-top: 28px;
    font-size: 17px;
    line-height: 1.9
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    display: flex
}

.button {
    border: 1px solid #0000;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 29px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: transform .17s, background .17s, color .17s;
    display: inline-flex
}

.button:hover {
    transform: translateY(-2px)
}

.button-primary {
    background: var(--orange);
    color: #fff
}

.button-primary:hover {
    background: #e88900
}

.button-ghost {
    color: var(--brown);
    background: #ffffff8c;
    border-color: #5b504147
}

.button-light {
    color: var(--brown);
    background: #fff
}

.button-light-outline {
    color: #fff;
    border-color: #ffffff85
}

.button-secondary {
    border-color: var(--line);
    color: var(--brown);
    background: #fff
}

.hero-trust {
    color: #766e65;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 30px 0 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    list-style: none;
    display: flex
}

.hero-trust li:before {
    content: "●";
    color: var(--green);
    vertical-align: .16em;
    margin-right: 8px;
    font-size: 8px
}

.hero-media {
    margin-right: 28px;
    position: relative
}

.hero-media:before {
    content: "";
    border: 1px solid #74af1752;
    border-radius: 250px 24px;
    position: absolute;
    inset: -22px 32px 32px -22px
}

.hero-media img {
    aspect-ratio: 1.26;
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow);
    border-radius: 250px 24px;
    position: relative
}

.hero-media figcaption {
    background: #fffffff0;
    border-radius: 22px 0 22px 22px;
    min-width: 270px;
    padding: 19px 24px;
    position: absolute;
    bottom: 10px;
    right: -18px;
    box-shadow: 0 12px 30px #5b50411f
}

.hero-media figcaption strong,
.hero-media figcaption span {
    display: block
}

.hero-media figcaption strong {
    color: var(--brown);
    font-size: 16px
}

.hero-media figcaption span {
    color: var(--muted);
    margin-top: 3px;
    font-size: 12px
}

.quick-route {
    border-bottom: 1px solid var(--line);
    background: #fff
}

.quick-route-grid {
    grid-template-columns: repeat(4, 1fr);
    display: grid
}

.quick-route-grid a {
    border-right: 1px solid var(--line);
    align-items: center;
    gap: 16px;
    min-height: 108px;
    padding: 0 32px;
    transition: background .18s;
    display: flex
}

.quick-route-grid a:first-child {
    border-left: 1px solid var(--line)
}

.quick-route-grid a:hover {
    background: var(--ivory)
}

.quick-route-grid span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.quick-route-grid strong {
    color: var(--brown);
    font-size: 17px;
    font-weight: 650
}

.section {
    padding: 126px 0;
    scroll-margin-top: 108px
}

.section-tint {
    background: var(--ivory)
}

.section-dark {
    background: radial-gradient(circle at 100% 0, #e6dbca1c, transparent 31%), var(--brown);
    color: #fff
}

.section-heading {
    margin-bottom: 58px
}

.section-heading h2,
.editorial-copy h2,
.treatment-intro h2,
.doctor-copy h2,
.faq-intro h2,
.location-card h2,
.psg-section-title h2,
.preparation-grid h2,
.results-grid h2 {
    color: var(--brown);
    letter-spacing: -.065em;
    font-size: clamp(34px, 3.5vw, 50px);
    font-weight: 600;
    line-height: 1.3
}

.split-heading {
    grid-template-columns: 1.12fr .88fr;
    align-items: end;
    gap: 100px;
    display: grid
}

.split-heading>p,
.centered-heading>p,
.faq-intro>p,
.psg-section-title>p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.9
}

.centered-heading {
    text-align: center;
    max-width: 820px;
    margin-inline: auto
}

.centered-heading>p {
    max-width: 680px;
    margin: 18px auto 0
}

.symptom-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    display: grid
}

.symptom-card {
    background: #fff;
    border: 1px solid #5b504121;
    border-radius: 28px;
    min-height: 242px;
    padding: 34px 32px;
    transition: transform .18s, box-shadow .18s;
    position: relative;
    overflow: hidden
}

.symptom-card:after {
    content: "";
    border: 22px solid var(--ivory);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    position: absolute;
    bottom: -45px;
    right: -45px
}

.symptom-card:nth-child(3n+2):after {
    border-color: #0195e714
}

.symptom-card:nth-child(3n+3):after {
    border-color: #74af171a
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px #5b50411a
}

.symptom-card>span,
.treatment-cards article>span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.symptom-card h3 {
    color: var(--brown);
    margin-top: 31px;
    font-size: 22px;
    font-weight: 650
}

.symptom-card p {
    z-index: 1;
    color: var(--muted);
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.75;
    position: relative
}

.editorial-grid,
.doctor-grid,
.location-grid,
.preparation-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(60px, 7vw, 112px);
    display: grid
}

.editorial-image {
    padding: 0 24px 24px 0;
    position: relative
}

.editorial-image:before {
    content: "";
    background: var(--beige);
    border-radius: 18px 110px;
    position: absolute;
    inset: 28px 0 0 28px
}

.editorial-image img {
    aspect-ratio: 1.12;
    object-fit: cover;
    border-radius: 18px 110px;
    width: 100%;
    position: relative
}

.editorial-image figcaption {
    color: var(--muted);
    margin: 18px 0 -18px 24px;
    font-size: 14px;
    position: relative
}

.editorial-copy .lead,
.treatment-intro>p:last-child,
.doctor-quote,
.results-grid .lead {
    color: #6b635b;
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.95
}

.check-list {
    gap: 13px;
    margin: 31px 0;
    padding: 0;
    list-style: none;
    display: grid
}

.check-list li {
    color: #5e574f;
    padding-left: 30px;
    font-size: 15px;
    font-weight: 600;
    position: relative
}

.check-list li:before {
    content: "";
    border-bottom: 2px solid var(--green);
    border-left: 2px solid var(--green);
    width: 13px;
    height: 7px;
    position: absolute;
    top: .68em;
    left: 2px;
    transform: rotate(-45deg)
}

.text-link {
    color: var(--orange);
    align-items: center;
    font-size: 15px;
    font-weight: 750;
    display: inline-flex
}

.text-link:after {
    content: "→";
    margin-left: 10px
}

.process-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid
}

.process-list li {
    background: var(--ivory);
    border-radius: 22px;
    min-height: 290px;
    padding: 31px 28px
}

.process-list li:nth-child(2) {
    background: #f3f7eb
}

.process-list li:nth-child(3) {
    background: #eef6fa
}

.process-list li:nth-child(4) {
    background: #f6efe7
}

.process-list span,
.test-day-list span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.process-list h3 {
    color: var(--brown);
    margin-top: 66px;
    font-size: 21px;
    font-weight: 650
}

.process-list p {
    color: var(--muted);
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.8
}

.light-heading h2,
.light-heading>p {
    color: #fff
}

.light-heading .eyebrow {
    color: #f7b95a
}

.photo-story {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    display: grid
}

.photo-story figure {
    background: #fff;
    border-radius: 24px;
    overflow: hidden
}

.photo-story img {
    aspect-ratio: 1.32;
    object-fit: cover;
    width: 100%
}

.photo-story .equipment-figure img {
    object-fit: contain;
    padding: 46px 32px
}

.photo-story figcaption {
    min-height: 80px;
    color: var(--brown);
    flex-direction: column;
    justify-content: center;
    padding: 12px 21px;
    font-size: 15px;
    font-weight: 700;
    display: flex
}

.photo-story figcaption span {
    color: var(--orange);
    letter-spacing: .12em;
    margin-bottom: 4px;
    font-size: 10px
}

.center-action {
    justify-content: center;
    margin-top: 44px;
    display: flex
}

.treatment-grid {
    grid-template-columns: .78fr 1.22fr;
    align-items: start;
    gap: 100px;
    display: grid
}

.treatment-intro {
    position: sticky;
    top: 132px
}

.treatment-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    display: grid
}

.treatment-cards article {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 24px;
    min-height: 244px;
    padding: 32px
}

.treatment-cards article:nth-child(2n)>span {
    color: var(--blue)
}

.treatment-cards h3 {
    color: var(--brown);
    margin-top: 49px;
    font-size: 23px;
    font-weight: 650
}

.treatment-cards p {
    color: var(--muted);
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.8
}

.insurance-section {
    background: #f3f7eb;
    padding: 80px 0
}

.insurance-grid {
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
    gap: 90px;
    display: grid
}

.insurance-grid h2 {
    color: var(--brown);
    letter-spacing: -.06em;
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 620;
    line-height: 1.35
}

.insurance-grid>p {
    color: #5f6952;
    font-size: 16px;
    line-height: 1.95
}

.doctor-grid {
    align-items: end
}

.doctor-portrait {
    background: radial-gradient(circle at 50% 38%, #fff 0, #f8f2eb 58%, #e6dbca 100%);
    border-radius: 260px 260px 24px 24px;
    justify-content: center;
    align-items: flex-end;
    min-height: 600px;
    display: flex;
    overflow: hidden
}

.doctor-portrait img {
    object-fit: contain;
    object-position: center bottom;
    width: 93%;
    height: 600px
}

.doctor-quote {
    border-left: 3px solid var(--orange);
    background: var(--ivory-light);
    padding: 22px 25px
}

.credential-list {
    border-top: 1px solid var(--line);
    margin-top: 34px
}

.credential-list>div {
    border-bottom: 1px solid var(--line);
    grid-template-columns: 100px 1fr;
    gap: 25px;
    padding: 18px 0;
    display: grid
}

.credential-list dt {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.credential-list dd {
    color: #5f5851;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7
}

.faq-section {
    background: var(--ivory-light)
}

.faq-grid {
    grid-template-columns: .65fr 1.35fr;
    align-items: start;
    gap: 90px;
    display: grid
}

.faq-intro {
    position: sticky;
    top: 132px
}

.faq-intro>p {
    margin-top: 18px
}

.faq-list {
    border-top: 2px solid var(--brown)
}

.faq-list details {
    border-bottom: 1px solid var(--line)
}

.faq-list summary {
    cursor: pointer;
    min-height: 84px;
    color: var(--brown);
    align-items: center;
    gap: 21px;
    padding: 19px 6px;
    font-size: 17px;
    font-weight: 650;
    list-style: none;
    display: flex
}

.faq-list summary::-webkit-details-marker {
    display: none
}

.faq-list summary span {
    color: var(--orange);
    flex: none;
    font-size: 13px;
    font-weight: 800
}

.faq-list summary>div {
    flex-direction: column;
    gap: 2px;
    display: flex
}

.faq-list summary small {
    color: #978c81;
    letter-spacing: -.02em;
    font-size: 10px;
    font-weight: 650
}

.faq-list summary strong {
    color: var(--brown);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.5
}

.faq-list summary:after {
    content: "+";
    color: var(--orange);
    margin-left: auto;
    font-size: 25px;
    font-weight: 400
}

.faq-list details[open] summary:after {
    content: "–"
}

.faq-list details p {
    color: var(--muted);
    padding: 0 49px 29px;
    font-size: 15px;
    line-height: 1.9
}

.location-section {
    background: #fff
}

.location-card address {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 8px;
    margin-top: 28px;
    padding: 24px 0;
    display: flex
}

.location-card address strong {
    color: var(--brown);
    font-size: 18px;
    line-height: 1.7
}

.location-card address span {
    color: var(--muted);
    font-size: 14px
}

.location-actions {
    gap: 12px;
    margin-top: 30px;
    display: flex
}

.location-image img {
    aspect-ratio: 1.3;
    object-fit: cover;
    border-radius: 22px 120px;
    width: 100%
}

.final-cta {
    background: var(--orange);
    color: #fff;
    padding: 70px 0
}

.final-cta-inner {
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    display: flex
}

.final-cta p {
    font-size: 14px;
    font-weight: 700
}

.final-cta h2 {
    color: #fff;
    letter-spacing: -.06em;
    margin-top: 5px;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 600;
    line-height: 1.35
}

.breadcrumb {
    color: #8a8178;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    font-size: 13px;
    display: flex
}

.breadcrumb strong {
    color: var(--brown)
}

.psg-hero {
    background: linear-gradient(90deg, #f8f2ebfa 0 48%, #f8f2ebbf 66%, #f8f2eb33), url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/space/sleep-room.webp") 50%/cover no-repeat;
    padding: 90px 0;
    position: relative;
    overflow: hidden
}

.psg-hero-grid {
    grid-template-columns: .92fr 1.08fr;
    min-height: 550px
}

.psg-hero-grid>div:first-child {
    padding: 48px 48px 48px 0
}

.psg-hero h1 {
    font-size: clamp(43px, 4.6vw, 67px)
}

.psg-hero-media {
    width: 82%;
    box-shadow: var(--shadow);
    background: #fffc;
    border-radius: 210px 210px 24px 24px;
    justify-self: end;
    padding: 13px
}

.psg-hero-media img {
    aspect-ratio: 1/1.03;
    object-fit: cover;
    border-radius: 200px 200px 17px 17px;
    width: 100%
}

.anchor-nav {
    z-index: 70;
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: #fffffff5;
    position: sticky;
    top: 94px
}

.anchor-nav-inner {
    grid-template-columns: repeat(6, 1fr);
    display: grid
}

.anchor-nav a {
    border-right: 1px solid var(--line);
    color: #716960;
    place-items: center;
    min-height: 67px;
    font-size: 14px;
    font-weight: 650;
    display: grid
}

.anchor-nav a:first-child {
    border-left: 1px solid var(--line)
}

.anchor-nav a:hover {
    background: var(--ivory);
    color: var(--orange)
}

.psg-two-column,
.results-grid {
    grid-template-columns: .75fr 1.25fr;
    align-items: start;
    gap: 100px;
    display: grid
}

.psg-section-title {
    position: sticky;
    top: 190px
}

.psg-section-title>p:not(.eyebrow) {
    margin-top: 22px
}

.measurement-list {
    border-top: 2px solid var(--brown)
}

.measurement-list>div {
    border-bottom: 1px solid var(--line);
    grid-template-columns: 54px .85fr 1.15fr;
    align-items: center;
    gap: 22px;
    min-height: 80px;
    padding: 13px 10px;
    display: grid
}

.measurement-list span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.measurement-list dt {
    color: var(--brown);
    font-size: 16px;
    font-weight: 700
}

.measurement-list dd {
    color: var(--muted);
    font-size: 14px
}

.reverse-grid .editorial-copy {
    order: 1
}

.reverse-grid .editorial-image {
    order: 2
}

.preparation-grid>figure img {
    aspect-ratio: 1.08;
    object-fit: cover;
    border-radius: 180px 180px 24px 24px;
    width: 100%
}

.prep-list {
    border-top: 1px solid var(--line);
    margin-top: 32px
}

.prep-list article {
    border-bottom: 1px solid var(--line);
    grid-template-columns: 45px 1fr;
    gap: 20px;
    padding: 17px 0;
    display: grid
}

.prep-list article>span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.prep-list h3 {
    color: var(--brown);
    font-size: 16px;
    font-weight: 700
}

.prep-list p {
    color: var(--muted);
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.7
}

.test-day-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid
}

.test-day-list li {
    border: 1px solid #fff3;
    border-radius: 22px;
    min-height: 215px;
    padding: 27px
}

.test-day-list span,
.test-day-list strong {
    display: block
}

.test-day-list strong {
    color: #fff;
    margin-top: 40px;
    font-size: 19px
}

.test-day-list p {
    color: #ffffffb8;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7
}

.psg-wide-image {
    border-radius: 24px;
    margin-top: 25px;
    overflow: hidden
}

.psg-wide-image img {
    object-fit: cover;
    width: 100%;
    max-height: 530px
}

.results-grid {
    grid-template-columns: 1.15fr .85fr;
    align-items: center
}

.result-callout {
    border-left: 4px solid var(--green);
    background: #f3f7eb;
    margin-top: 32px;
    padding: 25px 29px
}

.result-callout strong {
    color: var(--brown);
    font-size: 17px
}

.result-callout p {
    color: #65705a;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.8
}

.insurance-card {
    background: var(--ivory);
    border-radius: 34px;
    padding: 45px
}

.insurance-card h3 {
    color: var(--brown);
    font-size: 27px;
    font-weight: 650
}

.insurance-card>p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 17px;
    font-size: 15px;
    line-height: 1.9
}

.insurance-card .button {
    margin-top: 28px
}

.mobile-sticky-cta {
    display: none
}

.clinic-home-hero {
    background: radial-gradient(circle at 8% 85%, #fa9a001f 0 8%, transparent 8.3%), radial-gradient(circle at 90% 10%, #74af171a 0 13%, transparent 13.3%), var(--ivory-light);
    align-items: center;
    min-height: 760px;
    padding: 86px 0 90px;
    display: flex;
    position: relative;
    overflow: hidden
}

.clinic-home-hero:after {
    content: "";
    border: 96px solid #e6dbca4d;
    border-radius: 50%;
    width: 650px;
    height: 650px;
    position: absolute;
    bottom: -310px;
    right: -210px
}

.clinic-home-hero-grid {
    z-index: 1;
    grid-template-columns: .94fr 1.06fr;
    align-items: center;
    gap: clamp(58px, 7vw, 120px);
    display: grid;
    position: relative
}

.clinic-home-copy h1,
.subpage-hero h1,
.doctor-profile-hero h1 {
    color: var(--brown);
    letter-spacing: -.065em;
    font-size: clamp(44px, 4.4vw, 68px);
    font-weight: 650;
    line-height: 1.14
}

.clinic-home-copy h1:before,
.subpage-hero h1:before,
.doctor-profile-hero h1:before {
    content: "";
    background: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/symbol-title.svg") 50%/contain no-repeat;
    width: 61px;
    height: 34px;
    margin-bottom: 20px;
    display: block
}

.clinic-home-copy h1 span,
.subpage-hero h1 span,
.doctor-profile-hero h1 span {
    color: var(--dark);
    margin-top: 13px;
    font-size: .68em;
    line-height: 1.35;
    display: block
}

.clinic-lead {
    color: #6d655d;
    max-width: 700px;
    margin-top: 27px;
    font-size: 16px;
    line-height: 1.95
}

.clinic-home-visual {
    min-height: 620px;
    position: relative
}

.doctor-hero-arch {
    box-shadow: var(--shadow);
    background: radial-gradient(circle at 50% 34%, #fff 0 30%, #0000 58%), linear-gradient(145deg, #ede2d3, #f9f3eb 58%, #dce9cd);
    border-radius: 310px 310px 28px 28px;
    position: absolute;
    inset: 0 28px 0 0;
    overflow: hidden
}

.doctor-hero-arch img {
    object-fit: contain;
    object-position: center bottom
}

.hero-quote-card {
    z-index: 2;
    background: #fffffff0;
    border-radius: 24px 0 24px 24px;
    width: min(370px, 75%);
    padding: 24px 27px;
    position: absolute;
    bottom: 28px;
    right: -8px;
    box-shadow: 0 18px 46px #5b504129
}

.hero-quote-card span,
.hero-quote-card strong,
.hero-quote-card p {
    display: block
}

.hero-quote-card span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.hero-quote-card strong {
    color: var(--brown);
    margin-top: 3px;
    font-size: 25px
}

.hero-quote-card p {
    color: var(--muted);
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.65
}

.clinic-route-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff
}

.clinic-route-strip>div {
    grid-template-columns: repeat(4, 1fr);
    display: grid
}

.clinic-route-strip a {
    border-right: 1px solid var(--line);
    align-items: center;
    gap: 15px;
    min-height: 102px;
    padding: 0 29px;
    transition: background .16s;
    display: flex
}

.clinic-route-strip a:first-child {
    border-left: 1px solid var(--line)
}

.clinic-route-strip a:hover {
    background: var(--ivory)
}

.clinic-route-strip span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.clinic-route-strip strong {
    color: var(--brown);
    font-size: 16px
}

.clinic-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    display: grid
}

.clinic-card {
    background: #fff;
    border: 1px solid #5b504121;
    border-radius: 28px;
    transition: transform .19s, box-shadow .19s;
    overflow: hidden;
    box-shadow: 0 14px 42px #5b50410f
}

.clinic-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 58px #5b504121
}

.clinic-card-image {
    aspect-ratio: 1.5;
    position: relative;
    overflow: hidden
}

.clinic-card-image img {
    object-fit: cover;
    transition: transform .5s
}

.clinic-card:hover .clinic-card-image img {
    transform: scale(1.035)
}

.clinic-card-copy {
    flex-direction: column;
    min-height: 330px;
    padding: 29px 29px 31px;
    display: flex
}

.clinic-card-copy>span {
    color: var(--orange);
    letter-spacing: .12em;
    font-size: 10px;
    font-weight: 850
}

.clinic-card-copy h3 {
    color: var(--brown);
    letter-spacing: -.06em;
    margin-top: 22px;
    font-size: 23px;
    font-weight: 650;
    line-height: 1.45
}

.clinic-card-copy p {
    color: var(--muted);
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.8
}

.clinic-card-copy>strong {
    color: var(--orange);
    margin-top: auto;
    padding-top: 27px;
    font-size: 13px
}

.facility-preview-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    display: grid
}

.facility-preview-grid figure,
.interior-highlight-grid figure,
.interior-gallery figure {
    background: #ece8e2;
    border-radius: 22px;
    min-height: 360px;
    position: relative;
    overflow: hidden
}

.facility-preview-grid img,
.interior-highlight-grid img,
.interior-gallery img {
    object-fit: cover
}

.facility-preview-grid figcaption,
.interior-highlight-grid figcaption,
.interior-gallery figcaption {
    color: #fff;
    background: linear-gradient(#0000, #231f1cc7);
    padding: 45px 20px 18px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0
}

.facility-preview-grid figcaption strong,
.facility-preview-grid figcaption span {
    display: block
}

.facility-preview-grid figcaption strong {
    font-size: 16px
}

.facility-preview-grid figcaption span {
    color: #ffffffbd;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5
}

.clinic-info-grid {
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
    display: grid
}

.clinic-info-grid h2,
.parking-grid h2 {
    color: #fff;
    letter-spacing: -.065em;
    font-size: clamp(31px, 3.4vw, 46px);
    font-weight: 620;
    line-height: 1.35
}

.hours-large {
    border-top: 1px solid #ffffff40;
    margin-top: 33px
}

.hours-large>div {
    border-bottom: 1px solid #ffffff26;
    grid-template-columns: 140px 1fr;
    padding: 16px 0;
    display: grid
}

.hours-large dt {
    color: #ffffffad;
    font-size: 14px
}

.hours-large dd {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700
}

.info-note {
    color: #ffffffa3;
    margin-top: 17px;
    font-size: 12px
}

.clinic-location-panel {
    background: #ffffff0f;
    border: 1px solid #ffffff2e;
    border-radius: 28px;
    padding: 42px
}

.clinic-location-panel address {
    color: #fff;
    margin-top: 25px;
    font-size: 19px;
    font-weight: 700
}

.clinic-location-panel ul {
    color: #ffffffb8;
    gap: 7px;
    margin: 20px 0 0;
    padding: 0;
    font-size: 13px;
    list-style: none;
    display: grid
}

.clinic-location-panel li:before {
    content: "•";
    color: #f4b451;
    margin-right: 9px
}

.medical-review {
    width: min(var(--content), calc(100% - 80px));
    border-bottom: 1px solid var(--line);
    color: #8d847c;
    text-align: right;
    margin: 0 auto;
    padding: 21px 0;
    font-size: 11px
}

.medical-review span {
    color: var(--orange);
    margin-right: 9px;
    font-weight: 800
}

.subpage-hero {
    background: radial-gradient(circle at 95% 0, #74af1717, transparent 26%), var(--ivory-light);
    padding: 90px 0 102px;
    position: relative;
    overflow: hidden
}

.subpage-hero-grid {
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: clamp(55px, 7vw, 110px);
    display: grid
}

.subpage-hero h1 {
    font-size: clamp(41px, 4.2vw, 62px)
}

.subpage-hero-grid>div>p:last-child {
    color: var(--muted);
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.95
}

.subpage-hero-grid>figure {
    min-height: 530px;
    box-shadow: var(--shadow);
    border-radius: 260px 24px;
    position: relative;
    overflow: hidden
}

.subpage-hero-grid>figure img {
    object-fit: cover
}

.philosophy-lead {
    text-align: center;
    max-width: 1020px
}

.philosophy-lead h2,
.doctor-letter-grid h2,
.credentials-grid h2,
.info-hours-grid h2 {
    color: var(--brown);
    letter-spacing: -.065em;
    font-size: clamp(34px, 3.5vw, 50px);
    font-weight: 600;
    line-height: 1.35
}

.philosophy-lead>p:last-child {
    max-width: 780px;
    color: var(--muted);
    margin: 22px auto 0;
    font-size: 16px;
    line-height: 1.95
}

.principle-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 56px;
    display: grid
}

.principle-grid article {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 24px;
    min-height: 260px;
    padding: 28px
}

.principle-grid span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800
}

.principle-grid h3 {
    color: var(--brown);
    margin-top: 50px;
    font-size: 21px
}

.principle-grid p {
    color: var(--muted);
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.75
}

.section-dark .section-heading h2,
.section-dark .section-heading>p:not(.eyebrow) {
    color: #fff
}

.interior-highlight-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    display: grid
}

.interior-highlight-grid figure {
    min-height: 350px
}

.interior-highlight-grid figcaption {
    font-size: 15px;
    font-weight: 700
}

.doctor-profile-hero {
    background: radial-gradient(circle at 8% 94%, #fa9a001c, transparent 22%), var(--ivory-light);
    padding: 66px 0 0
}

.doctor-profile-grid {
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
    gap: clamp(60px, 8vw, 130px);
    display: grid
}

.doctor-profile-grid>figure {
    background: linear-gradient(150deg, #e7dbc9, #fffaf3);
    border-radius: 300px 300px 0 0;
    align-self: end;
    min-height: 690px;
    position: relative;
    overflow: hidden
}

.doctor-profile-grid>figure img {
    object-fit: contain;
    object-position: center bottom
}

.doctor-profile-hero h1 {
    font-size: clamp(39px, 4vw, 60px)
}

.doctor-profile-hero blockquote {
    border-left: 3px solid var(--orange);
    color: var(--brown);
    background: #ffffffa6;
    margin: 32px 0 0;
    padding: 22px 25px;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.6
}

.doctor-letter-grid {
    grid-template-columns: .74fr 1.26fr;
    align-items: start;
    gap: 100px;
    display: grid
}

.doctor-letter {
    gap: 22px;
    padding-top: 7px;
    display: grid
}

.doctor-letter p {
    color: var(--muted);
    font-size: 16px;
    line-height: 2
}

.doctor-signature {
    font-weight: 700;
    color: var(--brown) !important
}

.focus-process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    display: grid
}

.focus-process-grid article {
    background: #fff;
    border-radius: 25px;
    flex-direction: column;
    min-height: 310px;
    padding: 31px;
    display: flex
}

.focus-process-grid span {
    color: var(--orange);
    font-size: 10px;
    font-weight: 850
}

.focus-process-grid h3 {
    color: var(--brown);
    margin-top: 42px;
    font-size: 24px
}

.focus-process-grid p {
    color: var(--muted);
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8
}

.focus-process-grid a {
    color: var(--orange);
    margin-top: auto;
    padding-top: 24px;
    font-size: 13px;
    font-weight: 750
}

.credentials-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    display: grid
}

.credentials-grid ul {
    border-top: 2px solid var(--brown);
    margin: 29px 0 0;
    padding: 0;
    list-style: none
}

.credentials-grid li {
    border-bottom: 1px solid var(--line);
    color: #625b54;
    padding: 15px 4px;
    font-size: 14px;
    line-height: 1.6
}

.credential-accuracy-note {
    background: var(--ivory);
    color: #746b62;
    margin-top: 32px;
    padding: 18px 21px;
    font-size: 12px
}

.equipment-group-list {
    gap: 30px;
    display: grid
}

.equipment-group {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 30px;
    grid-template-columns: .88fr 1.12fr;
    align-items: center;
    gap: 70px;
    padding: 34px;
    display: grid
}

.equipment-group:nth-child(2n) figure {
    order: 2
}

.equipment-group>figure {
    background: var(--ivory);
    border-radius: 23px;
    min-height: 380px;
    position: relative;
    overflow: hidden
}

.equipment-group>figure img {
    object-fit: cover
}

.equipment-group:first-child>figure img {
    object-fit: contain;
    padding: 54px
}

.equipment-group>div>span {
    color: var(--orange);
    font-size: 14px;
    font-weight: 850
}

.equipment-group h2 {
    color: var(--brown);
    margin-top: 13px;
    font-size: 34px;
    font-weight: 650
}

.equipment-group p {
    color: var(--muted);
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.85
}

.equipment-group ul {
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: flex
}

.equipment-group li {
    border: 1px solid var(--line);
    background: var(--ivory-light);
    color: #6c6259;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 700
}

.interior-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    display: grid
}

.interior-gallery figure {
    min-height: 320px
}

.interior-gallery figure.wide {
    grid-column: span 2
}

.interior-gallery figcaption {
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    display: flex
}

.interior-gallery figcaption span {
    color: #f6b24a;
    font-size: 10px
}

.clinic-exam-flow {
    background: #fff
}

.info-hours-grid {
    grid-template-columns: .7fr 1.3fr;
    align-items: start;
    gap: 100px;
    display: grid
}

.info-hours-grid header>p:last-child {
    color: var(--muted);
    margin-top: 16px;
    font-size: 14px
}

.hours-table {
    border-top: 2px solid var(--brown)
}

.hours-table>div {
    border-bottom: 1px solid var(--line);
    grid-template-columns: 1fr 1fr;
    padding: 23px 10px;
    display: grid
}

.hours-table strong {
    color: var(--brown);
    font-size: 17px
}

.hours-table span {
    color: #5f5851;
    text-align: right;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700
}

.hours-table>p {
    color: #8a8178;
    text-align: right;
    margin-top: 15px;
    font-size: 12px
}

.landmark-route {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    display: grid
}

.landmark-card {
    background: #fff;
    border-radius: 24px;
    min-height: 250px;
    padding: 30px;
    box-shadow: 0 13px 38px #5b504112
}

.landmark-card span {
    color: var(--orange);
    font-size: 10px;
    font-weight: 850
}

.landmark-card strong {
    color: var(--brown);
    margin-top: 45px;
    font-size: 24px;
    display: block
}

.landmark-card p {
    color: var(--muted);
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.75
}

.map-action-panel {
    background: var(--brown);
    color: #fff;
    border-radius: 24px;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 28px;
    padding: 28px 31px;
    display: flex
}

.map-action-panel strong {
    font-size: 19px
}

.map-action-panel p {
    color: #ffffffad;
    margin-top: 4px;
    font-size: 12px
}

.map-action-panel>div:last-child {
    gap: 10px;
    display: flex
}

.transport-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    display: grid
}

.transport-grid article {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 26px;
    min-height: 270px;
    padding: 34px
}

.transport-grid article>span {
    color: var(--orange);
    font-size: 10px;
    font-weight: 850
}

.transport-grid h3 {
    color: var(--brown);
    margin-top: 36px;
    font-size: 26px
}

.transport-grid strong {
    color: #5f5851;
    margin-top: 8px;
    font-size: 16px;
    display: block
}

.transport-grid p {
    color: var(--muted);
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.8
}

.parking-grid {
    grid-template-columns: .72fr 1.28fr;
    gap: 90px;
    display: grid
}

.parking-grid header>p:last-child {
    color: #ffffffa8;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.8
}

.parking-grid>div {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    display: grid
}

.parking-grid article {
    background: #ffffff0f;
    border: 1px solid #ffffff2e;
    border-radius: 24px;
    min-height: 240px;
    padding: 29px
}

.parking-grid article span,
.parking-grid article strong {
    display: block
}

.parking-grid article span {
    color: #f7b95a;
    font-size: 13px;
    font-weight: 800
}

.parking-grid article strong {
    color: #fff;
    margin-top: 50px;
    font-size: 20px
}

.parking-grid article p {
    color: #ffffffa6;
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.75
}

.arrival-photo-section .button {
    margin-top: 30px
}

@media (width<=1480px) {

    .header-inner,
    .mega-nav-inner {
        width: min(var(--inner), calc(100% - 40px));
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 24px
    }

    .brand {
        width: 250px
    }

    .brand strong {
        font-size: 16px
    }

    .desktop-nav>a {
        font-size: 13px
    }

    .quick-menu {
        width: 100px
    }

    .quick-menu>div>a {
        min-height: 63px
    }

    .quick-menu span {
        font-size: 10px
    }
}

@media (width<=1180px) {
    body {
        font-size: 17px
    }

    .desktop-nav>a {
        font-size: 11px
    }

    .quick-menu {
        display: none
    }

    .hero {
        min-height: auto
    }

    .hero-grid,
    .psg-hero-grid {
        gap: 48px
    }

    .symptom-card {
        min-height: 260px
    }
}

@media (width<=860px) {
    body {
        font-size: 16px
    }

    main {
        padding-top: 72px
    }

    .shell {
        width: min(100% - 38px, 680px)
    }

    .site-header {
        height: 72px
    }

    .header-inner {
        justify-content: space-between;
        gap: 20px;
        width: calc(100% - 36px);
        height: 72px;
        display: flex
    }

    .brand {
        width: min(235px, 100vw - 100px)
    }

    .desktop-nav,
    .mega-nav {
        display: none
    }

    .mobile-menu {
        display: block
    }

    .mobile-menu>summary {
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 8px;
        list-style: none;
        display: flex
    }

    .mobile-menu>summary::-webkit-details-marker {
        display: none
    }

    .mobile-menu>summary span {
        background: var(--brown);
        width: 26px;
        height: 2px;
        display: block
    }

    .mobile-menu-panel {
        background: var(--ivory-light);
        max-height: calc(100vh - 72px);
        padding: 25px 20px 100px;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        overflow-y: auto;
        box-shadow: 0 20px 35px #5b50411f
    }

    .mobile-menu-panel>p {
        color: var(--orange);
        letter-spacing: .15em;
        margin-bottom: 15px;
        font-size: 10px;
        font-weight: 800
    }

    .mobile-menu-panel>details {
        border-top: 1px solid var(--line)
    }

    .mobile-menu-panel>details:last-child {
        border-bottom: 1px solid var(--line)
    }

    .mobile-menu-panel>details>summary {
        cursor: pointer;
        min-height: 54px;
        color: var(--brown);
        align-items: center;
        font-size: 16px;
        font-weight: 700;
        display: flex
    }

    .mobile-menu-panel>details>div {
        grid-template-columns: 1fr 1fr;
        gap: 5px 10px;
        padding: 0 0 17px;
        display: grid
    }

    .mobile-menu-panel>details a {
        color: var(--muted);
        padding: 6px 0;
        font-size: 13px
    }

    .hero {
        padding: 60px 0 72px
    }

    .hero-grid,
    .psg-hero-grid,
    .editorial-grid,
    .doctor-grid,
    .location-grid,
    .preparation-grid,
    .treatment-grid,
    .insurance-grid,
    .faq-grid,
    .psg-two-column,
    .results-grid,
    .split-heading {
        grid-template-columns: 1fr;
        gap: 44px
    }

    .hero-copy {
        padding: 0
    }

    .hero h1,
    .psg-hero h1 {
        font-size: clamp(42px, 13vw, 58px)
    }

    .hero h1 span {
        font-size: .55em
    }

    .hero-answer {
        font-size: 15px
    }

    .hero-media {
        margin: 18px 6px 0 12px
    }

    .hero-media:before {
        inset: -12px 20px 20px -12px
    }

    .hero-media img {
        border-radius: 160px 18px
    }

    .hero-media figcaption {
        min-width: 235px;
        right: -4px
    }

    .quick-route-grid {
        grid-template-columns: 1fr 1fr
    }

    .quick-route-grid a {
        border-bottom: 1px solid var(--line);
        min-height: 82px;
        padding: 0 17px
    }

    .quick-route-grid a:nth-child(odd) {
        border-left: 1px solid var(--line)
    }

    .quick-route-grid strong {
        font-size: 14px
    }

    .section {
        padding: 82px 0
    }

    .section-heading {
        margin-bottom: 38px
    }

    .section-heading h2,
    .editorial-copy h2,
    .treatment-intro h2,
    .doctor-copy h2,
    .faq-intro h2,
    .location-card h2,
    .psg-section-title h2,
    .preparation-grid h2,
    .results-grid h2 {
        font-size: clamp(30px, 8.5vw, 40px)
    }

    .symptom-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .symptom-card {
        min-height: 205px
    }

    .editorial-grid {
        gap: 58px
    }

    .editorial-image {
        padding: 0 15px 15px 0
    }

    .editorial-image:before {
        inset: 18px 0 0 18px
    }

    .editorial-image img,
    .location-image img {
        border-radius: 14px 70px
    }

    .reverse-grid .editorial-copy {
        order: 2
    }

    .reverse-grid .editorial-image {
        order: 1
    }

    .process-list,
    .test-day-list {
        grid-template-columns: 1fr 1fr
    }

    .process-list li {
        min-height: 235px
    }

    .process-list h3 {
        margin-top: 39px
    }

    .photo-story {
        grid-template-columns: 1fr
    }

    .treatment-intro,
    .faq-intro,
    .psg-section-title {
        position: static
    }

    .doctor-portrait {
        border-radius: 200px 200px 22px 22px;
        min-height: 470px
    }

    .doctor-portrait img {
        height: 470px
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .breadcrumb {
        min-height: 54px
    }

    .psg-hero {
        background: linear-gradient(#f8f2ebeb, #f8f2ebeb), url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/space/sleep-room.webp") 50%/cover no-repeat;
        padding: 60px 0 72px
    }

    .psg-hero-grid {
        min-height: 0
    }

    .psg-hero-grid>div:first-child {
        padding: 0
    }

    .psg-hero-media {
        justify-self: center;
        width: min(100%, 520px)
    }

    .anchor-nav {
        top: 72px;
        overflow-x: auto
    }

    .anchor-nav-inner {
        grid-template-columns: repeat(6, 115px);
        width: max-content
    }

    .anchor-nav a {
        min-height: 56px;
        font-size: 12px
    }

    .measurement-list>div {
        grid-template-columns: 36px 1fr;
        gap: 8px 13px;
        padding: 15px 5px
    }

    .measurement-list dd {
        grid-column: 2
    }

    .preparation-grid>figure img {
        aspect-ratio: 1.1;
        border-radius: 120px 120px 20px 20px
    }

    .insurance-card {
        padding: 32px 26px
    }

    .mobile-sticky-cta {
        z-index: 110;
        grid-template-columns: 1fr 1fr;
        height: 66px;
        display: grid;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: 0 -8px 24px #5b50411f
    }

    .mobile-sticky-cta a {
        color: var(--brown);
        background: #fff;
        justify-content: center;
        align-items: center;
        gap: 9px;
        font-size: 14px;
        font-weight: 700;
        display: flex
    }

    .mobile-sticky-cta a:last-child {
        background: var(--orange);
        color: #fff
    }

    .mobile-sticky-cta a:last-child img {
        filter: brightness(0)invert()
    }

    .clinic-home-hero {
        min-height: 0;
        padding: 62px 0 78px
    }

    .clinic-home-hero-grid,
    .subpage-hero-grid,
    .doctor-profile-grid,
    .clinic-info-grid,
    .doctor-letter-grid,
    .credentials-grid,
    .info-hours-grid,
    .parking-grid {
        grid-template-columns: 1fr;
        gap: 46px
    }

    .clinic-home-copy h1,
    .subpage-hero h1,
    .doctor-profile-hero h1 {
        font-size: clamp(38px, 10.7vw, 55px)
    }

    .clinic-home-visual {
        min-height: 550px
    }

    .doctor-hero-arch {
        right: 0
    }

    .clinic-route-strip>div {
        grid-template-columns: 1fr 1fr
    }

    .clinic-route-strip a {
        border-bottom: 1px solid var(--line);
        min-height: 80px;
        padding: 0 17px
    }

    .clinic-card-grid,
    .focus-process-grid,
    .interior-highlight-grid,
    .interior-gallery,
    .landmark-route,
    .transport-grid {
        grid-template-columns: 1fr
    }

    .clinic-card-copy {
        min-height: 285px
    }

    .facility-preview-grid,
    .principle-grid {
        grid-template-columns: 1fr 1fr
    }

    .facility-preview-grid figure,
    .interior-highlight-grid figure,
    .interior-gallery figure {
        min-height: 330px
    }

    .clinic-location-panel {
        padding: 29px 24px
    }

    .medical-review {
        width: calc(100% - 38px)
    }

    .subpage-hero {
        padding: 62px 0 76px
    }

    .subpage-hero-grid>figure {
        border-radius: 170px 20px;
        min-height: 430px
    }

    .doctor-profile-hero {
        padding-top: 46px
    }

    .doctor-profile-grid>figure {
        order: 2;
        min-height: 560px
    }

    .doctor-letter-grid {
        gap: 32px
    }

    .equipment-group {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 21px
    }

    .equipment-group:nth-child(2n) figure {
        order: 0
    }

    .equipment-group>figure {
        min-height: 330px
    }

    .interior-gallery figure.wide {
        grid-column: auto
    }

    .map-action-panel {
        flex-direction: column;
        align-items: flex-start
    }

    .parking-grid>div {
        grid-template-columns: 1fr
    }
}

@media (width<=520px) {

    .hero-actions,
    .location-actions {
        flex-direction: column;
        align-items: stretch
    }

    .butto {
        width: 100%
    }

    .process-list,
    .test-day-list,
    .treatment-cards {
        grid-template-columns: 1fr
    }

    .process-list li,
    .test-day-list li {
        min-height: 205px
    }

    .faq-list summary,
    .faq-list summary strong {
        font-size: 15px
    }

    .faq-list details p {
        padding-left: 36px;
        padding-right: 10px
    }

    .brand {
        gap: 8px
    }

    .brand img {
        width: 38px;
        height: 38px
    }

    .brand strong {
        font-size: 14px
    }

    .brand small {
        font-size: 5.6px
    }

    .clinic-home-visual {
        min-height: 460px
    }

    .doctor-hero-arch {
        border-radius: 220px 220px 22px 22px;
        inset: 0
    }

    .hero-quote-card {
        width: 84%;
        bottom: 15px;
        right: 6px
    }

    .clinic-route-strip strong {
        font-size: 12px
    }

    .facility-preview-grid,
    .principle-grid {
        grid-template-columns: 1fr
    }

    .clinic-card-copy {
        min-height: 260px;
        padding: 25px 23px
    }

    .clinic-info-grid {
        gap: 56px
    }

    .hours-large>div {
        grid-template-columns: 110px 1fr
    }

    .subpage-hero-grid>figure {
        min-height: 340px
    }

    .doctor-profile-grid>figure {
        min-height: 470px
    }

    .equipment-group>figure {
        min-height: 270px
    }

    .equipment-group h2 {
        font-size: 28px
    }

    .hours-table>div {
        grid-template-columns: 1fr;
        gap: 7px
    }

    .hours-table span {
        text-align: left
    }

    .map-action-panel>div:last-child {
        flex-direction: column;
        width: 100%
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    :before,
    :after {
        transition-duration: .01ms !important
    }
}

@property --tw-rotate-x {
    syntax: "*";
    inherits: false
}

@property --tw-rotate-y {
    syntax: "*";
    inherits: false
}

@property --tw-rotate-z {
    syntax: "*";
    inherits: false
}

@property --tw-skew-x {
    syntax: "*";
    inherits: false
}

@property --tw-skew-y {
    syntax: "*";
    inherits: false
}



/* drag area */
::selection {
    color: #fff;
    background: #FA9A00;
}
::-moz-selection {
    color: #fff;
    background: #FA9A00;
}
.gmh-header {
    position: sticky;
    top: 0;
    z-index: 5000;
    width: 100%;
    background: #fff;
    color: #16394e;
    border-bottom: 1px solid #dfe8ed;
    box-shadow: 0 5px 22px rgba(22, 57, 78, .07);
    font-family: Pretendard, "Noto Sans KR", Arial, sans-serif
}

.gmh-shell {
/*    width: var(--inner);*/
    width: min(var(--content), calc(100% - 80px));
/*    width: min(1240px, calc(100% - 40px));*/
    margin: 0 auto
}

.gmh-top {
    background: #123f59;
    color: #fff;
    font-size: 14px;
}

.gmh-top .gmh-shell {
    min-height: 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.gmh-top a {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 750
}

.gmh-main>.gmh-shell {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 30px
}

.gmh-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-width: 238px;
    color: #153b52 !important;
    text-decoration: none !important
}

.gmh-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain
}

.gmh-brand span {
    display: flex;
    flex-direction: column
}

.gmh-brand strong {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -.045em
}

.gmh-brand small {
    margin-top: 1px;
    color: #79909d;
    font-size: 10px;
    letter-spacing: .145em
}

.gmh-desktop {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    align-self: stretch;
    margin-left: auto
}

/*.gmh-nav-group*/
.gmh-desktop ul.menu {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
}

/*.gmh-nav-link */
.gmh-desktop ul.menu > li.menu-item {
    display: flex !important;
    align-items: center;
    padding: 0 17px;
    color: #294c60 !important;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    position: relative;
}
.gmh-desktop ul.menu > li.menu-item > a {
}

.gmh-desktop ul.menu > li.menu-item.current-menu-parent,
.gmh-desktop ul.menu > li.menu-item:hover {
    color: #087fbb !important;
    border-bottom-color: #0990cf
}

.gmh-desktop ul.menu li.menu-item ul.sub-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    display: grid;
    min-width: 210px;
    padding: 12px;
    background: #fff;
    border: 1px solid #dce8ee;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 35px rgba(17, 55, 77, .15);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: .18s
}

.gmh-desktop ul.menu > li.menu-item.menu-item-has-children:hover ul.sub-menu,
.gmh-desktop ul.menu > li.menu-item.menu-item-has-children:focus-within ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0)
}
.gmh-desktop ul.menu li.menu-item ul.sub-menu li {
    display: grid;
}

.gmh-desktop ul.menu li.menu-item ul.sub-menu a {
    padding: 9px 11px;
    border-radius: 8px;
    color: #47616f !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap
}

.gmh-desktop ul.menu li.menu-item ul.sub-menu li.current-menu-item a,
.gmh-desktop ul.menu li.menu-item ul.sub-menu a:hover {
    background: #eef7fb;
    color: #087fbb !important
}

.gmh-call {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    padding: 0.45em 1.55em;
    border-radius: 999px;
    background: #0789c8;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 700;
}

.gmh-mobile {
    display: none;
    position: relative
}

.gmh-mobile > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    list-style: none;
    font-weight: 800
}

.gmh-mobile > summary::-webkit-details-marker {
    display: none
}

.gmh-mobile > summary i,
.gmh-mobile > summary i:before,
.gmh-mobile > summary i:after {
    display: block;
    width: 22px;
    height: 2px;
    background: #1c465d;
    content: "";
    transition: .2s
}

.gmh-mobile > summary i {
    position: relative
}

.gmh-mobile > summary i:before {
    position: absolute;
    top: -7px
}

.gmh-mobile > summary i:after {
    position: absolute;
    top: 7px
}

.gmh-mobile > .menu-main-menu-container {
    position: absolute;
    top: 47px;
    right: 0;
    width: min(360px, calc(100vw - 28px));
    max-height: 70vh;
    overflow: auto;
    padding: 12px;
    background: #fff;
    border: 1px solid #dce8ee;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(17, 55, 77, .18)
}

.gmh-mobile li.menu-item-has-children {
    border-bottom: 1px solid #e8eff3;
    height: auto !important;
}
.gmh-mobile li.menu-item-has-children:last-child {
    border: 0
}
.gmh-mobile li.menu-item-has-children > a {
    display: block;
    padding: 12px 7px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    list-style: none;
}
.gmh-mobile li.menu-item-has-children > ul.sub-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 0;

    /* 높이 트랜지션을 위한 설정 */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
/*    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.25s ease, padding 0.35s ease;*/
}
.gmh-mobile li.menu-item-has-children.on > ul.sub-menu {
    max-height: 500px; /* 서브메뉴 전체를 충분히 수용할만한 최대 높이 */
    opacity: 1;
    padding: 0 0 11px;
/*    transition: max-height 0.4s ease-in-out, opacity 0.3s ease, padding 0.3s ease;*/
}

.gmh-mobile li.menu-item-has-children ul.sub-menu li  {
    padding: 9px;
    border-radius: 7px;
    background: #f4f8fa;
    color: #496573 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 650
}
.gmh-mobile li.menu-item-has-children ul.sub-menu li a {
    display: grid;
    line-height: 1.5;
    align-items: center;
    height: 100%;
}
.gmh-mobile ul.menu > li:not(.menu-item-has-children) {
    display: block;
    margin: 5px 0;
    padding: 12px 7px;
    border-radius: 8px;
    background: #eaf5fa;
    color: #087fbb !important;
    font-size: 14px;
    font-weight: 850
}
.gmh-mobile ul.sub-menu li.current-menu-item a {
    color: #087fbb !important;
    font-weight: 850
}


.page-nav,
.diseaseNav,
.ear-local-nav,
.single-nav {
    position: sticky !important;
    top: 109px !important;
    z-index: 1100 !important;
    background: #fff !important;
    border-bottom: 1px solid #e2eaee !important
}

.page-nav a,
.diseaseNav a,
.ear-local-nav a,
.single-nav-button {
    font-family: Pretendard, "Noto Sans KR", Arial, sans-serif !important
}

.single-nav {
    max-width: none !important;
    padding-inline: max(20px, calc((100% - 1240px)/2)) !important
}

.gm-picto-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(145deg, #f3f9fb, #fff);
    border: 1px solid #dceaf0;
    border-radius: 24px
}

.gm-picto-item {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
    background: #fff;
    border: 1px solid #e2edf2;
    border-radius: 18px;
    box-shadow: 0 7px 18px rgba(19, 70, 96, .05);
    color: #168abf
}

.gm-picto-item svg,
.gm-single-picto svg {
    width: 52px;
    height: 52px;
    margin-bottom: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round
}

.gm-picto-item svg .gm-accent,
.gm-single-picto svg .gm-accent {
    stroke: #f18b2b
}

.gm-picto-item strong {
    color: #17445c;
    font-size: 15px
}

.gm-picto-item span {
    margin-top: 5px;
    color: #6b7e89;
    font-size: 11px;
    line-height: 1.45
}

.gm-single-picto {
    box-sizing: border-box;
    display: flex;
    min-height: 142px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    color: #168abf;
    background: linear-gradient(145deg, #f3f9fb, #fff);
    border: 1px solid #dceaf0;
    border-radius: 20px
}

.gm-single-picto strong {
    color: #17445c;
    font-size: 14px;
    line-height: 1.45
}

.ear-pictogram .gm-picto-set {
    margin: 0;
    grid-template-columns: 1fr 1fr
}

.ear-pictogram .gm-picto-item {
    min-height: 132px;
    padding: 12px 8px
}

.ear-pictogram .gm-picto-item svg {
    width: 46px;
    height: 46px
}

.ear-pictogram .gm-picto-item span {
    font-size: 10px
}

body>main {
    padding-top: 0 !important
}

@media(max-width:1100px) {
    .gmh-desktop {
        display: none
    }

    .gmh-mobile {
        display: block;
        margin-left: auto
    }

    .gmh-call {
        display: none !important
    }

    .gmh-main>.gmh-shell {
        min-height: 70px
    }

    .page-nav,
    .diseaseNav,
    .ear-local-nav,
    .single-nav {
        top: 101px !important
    }
}

@media(max-width:620px) {
    .gmh-shell {
        width: min(100% - 26px, 1240px)
    }

    .gmh-top .gmh-shell {
        justify-content: center
    }

    .gmh-top span {
        display: none
    }

    .gmh-main>.gmh-shell {
        min-height: 66px
    }

    .gmh-brand {
        min-width: 0
    }

    .gmh-brand img {
        width: 36px;
        height: 36px
    }

    .gmh-brand strong {
        font-size: 16px
    }

    .gmh-brand small {
        font-size: 7.5px
    }

    .gmh-mobile>summary span {
        display: none
    }

    .page-nav,
    .diseaseNav,
    .ear-local-nav,
    .single-nav {
        top: 97px !important
    }

    .gm-picto-item {
        min-height: 132px;
        padding: 12px 8px
    }

    .gm-picto-item svg,
    .gm-single-picto svg {
        width: 44px;
        height: 44px
    }

    .gm-single-picto {
        min-height: 120px
    }

    .ear-pictogram .gm-picto-set {
        grid-template-columns: 1fr
    }
}











body { background-color:#fff; overflow-x:hidden; }
main > section:last-child {
    padding-bottom: 270px;
}
/* footer */
footer.footer {

    --mt : 150px;
    --mtm : -150px;
    margin-top: var(--mtm);
    margin-bottom: 90px;
    max-width: 100vw;
    position: relative;

    font-size: 16px;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% auto;
    background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/footer-shape-top.svg");
/*    border: 1px dashed cyan;*/
}
footer.footer > .hand-writing {
    width: 60vw;
/*    background-color: rgba(255, 0, 0, .1);*/
/*    border: 1px solid red;*/
    height: 15vw;
    position: absolute;
    left: 40vw;
    top: var(--mtm);
    transform: translateY(15%);
    background-size: auto 100%;
    background-position: left 1vw;
    background-repeat: no-repeat;
    background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/footer-hand-writing.webp");
}

footer.footer > div > .inner {
    max-width: 1400px;
}
/**/
footer.footer div.footer-info {
    background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/bg-symbol-footer.svg");
    background-repeat: no-repeat;
    background-size: auto 62%;
    background-position: right bottom;
}
footer.footer div.footer-info > .inner {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 90px 0;
    margin: 0 auto;
}
footer.footer div.footer-info img.logo { width:330px; margin-bottom:40px }

footer.footer div.footer-info img.logo.wide { display:block; }
footer.footer div.footer-info img.logo.narrow { display:none; }

footer.footer div.footer-info article {
    display: grid;
    grid-template-columns: 8em auto;
    align-items: flex-start;
    gap: 1em;
}
footer.footer div.footer-info article + article {
    margin-top: 40px;
}
footer.footer div.footer-info article h6 {
    font-size: 1.0em;
    font-weight: 600;
    background-color: #E8E2D4;
    color: #7e7e7e;
    padding: 0.6em 1.5em;
    border-radius: 3em;
    width: 80%;
    text-align: center;
    line-height: 1.0;
}
footer.footer div.footer-info article p.tel {
    font-size: 1.8em;
    font-weight: 700;
    color: #5B4F42;
    display: flex;
    align-items: center;
    gap: 0.25em;
    line-height: 1.0;
}
footer.footer div.footer-info article p.tel img { height:0.9em }


footer.footer div.footer-info article ul li {
    display: grid;
    gap: 1em;
    color: #5B4F42;
}
footer.footer div.footer-info article ul.time li { grid-template-columns:  6em auto; }
footer.footer div.footer-info article ul.bus li { grid-template-columns:  4em auto; }

footer.footer div.footer-info article ul li b {}
footer.footer div.footer-info article ul li b + p.eng {
    letter-spacing:0.05em;
    font-weight: 500;
}
footer.footer div.footer-info article ul + p[style] { margin-top:0.65em; font-weight:500 }



footer.footer div.footer-info > .inner .right {
    width: 45%;
}
footer.footer div.footer-info > .inner .right div.locate {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5em;
}
footer.footer div.footer-info > .inner .right div.locate p.withicon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8em;
    color: #6E6963;
    letter-spacing: -0.03em;
}
footer.footer div.footer-info > .inner .right div.locate .link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
footer.footer div.footer-info > .inner .right div.locate .link a {
    display: flex;
    width: 2.35em;
    transition: all ease 0.3s;
    border-radius: 10px;
}
footer.footer div.footer-info > .inner .right div.locate .link a:hover {
    transform: translateY(-5px);
}


footer.footer div.footer-info > .inner .right #map {
    aspect-ratio: auto;
    height: 254px;
    overflow: hidden;
    border: 1px solid rgba(91, 76, 66, .2);
    background-color: rgba(250, 250, 250, .9);
}
/**/
footer.footer div.footer-copy {
    padding: 50px;
    border-top: 1px solid rgba(91, 79, 66, .2);
}
footer.footer div.footer-copy .inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}
footer.footer div.footer-copy .inner p,
footer.footer div.footer-copy .inner p span {
    color: #7e7e7e;
    letter-spacing: -0.05em;
}
footer.footer div.footer-copy .inner p span {
    margin-right: 1em;
}

footer.footer div.footer-copy .inner p.copyright {
    font-family: var(--eng);
    opacity: 0.54;
    font-weight: 600;
    letter-spacing: 0.05em;
}


/* 푸터메뉴 */
footer.footer ul.menu {
    display: flex;
}
footer.footer div.footer-menu li.menu-item {
    line-height: 0;
    padding: 0;
    height: 1.0em;
    display: flex;
    align-items: center;
}
footer.footer div.footer-menu li.menu-item a {
    padding: 0 1.5em;
    font-size: 0.98em;
    color: #7e7e7e;
    letter-spacing: -0.07em;
}
footer.footer div.footer-menu li.menu-item a:hover { font-weight:500 }

footer.footer div.footer-menu li.menu-item + li.menu-item {
    border-left: 1px solid rgba(126,126,126,.3);
}


/* copyright */
footer.footer .copyright {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8b939e;
}

@media (max-width: 1400px) {

    main > section:last-child {
        padding-bottom: 110px;
    }
    /* footer */
    footer.footer {
        --mt : 100px;
        --mtm : -60px;
        margin-top: var(--mtm);
        max-width: 100vw;
        overflow: hidden;
        margin-bottom: 0;
    }
    footer.footer > .hand-writing { display: none; }
    footer.footer > div > .inner { max-width: 100%; }
    /**/
    footer.footer div.footer-info {
        background-size: 80%;
        background-position: right bottom;
    }
    footer.footer div.footer-info > .inner {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 60px 8vw;
        gap: 50px;
        width: 100%;
    }
    footer.footer div.footer-info > .inner .right { order: 1; }
    footer.footer div.footer-info > .inner .left { order: 2; }

    footer.footer div.footer-info img.logo { width:60%; max-width: 230px; margin-bottom:20px }
    footer.footer div.footer-info img.logo.wide { display:none; }
    footer.footer div.footer-info img.logo.narrow { display:block; }

    footer.footer div.footer-info article {
        grid-template-columns: 6em auto;
        gap: 0em;
    }
    footer.footer div.footer-info article + article {  margin-top: 30px; }
    footer.footer div.footer-info article h6 {
        font-size: 0.9em;
        padding: 0.75em;
    }
    footer.footer div.footer-info article p.tel { font-size: 1.6em; }

    footer.footer div.footer-info > .inner .right { width: 100%; }
    footer.footer div.footer-info > .inner .right div.locate {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 1.5em;
        gap: 1.5em;
    }
    footer.footer div.footer-info > .inner .right div.locate p.withicon {
        line-height: 1.5;
    }
    footer.footer div.footer-info > .inner .right div.locate .link a {
        display: flex;
        width: 2em;
        transition: all ease 0.3s;
        border-radius: 10px;
    }
    footer.footer div.footer-info > .inner .right #map {
        aspect-ratio: auto;
    }
    /**/
    footer.footer div.footer-copy {
        padding: 8vw;
    }
    footer.footer div.footer-copy .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 40px;
        width: 100%;
    }
    footer.footer div.footer-copy .inner p span[style] {
        display: block;
    }

    footer.footer div.footer-copy .inner p.copyright {
        font-family: var(--eng);
        opacity: 0.54;
        font-weight: 600;
        letter-spacing: 0.05em;
    }


    /* 푸터메뉴 */
    footer.footer ul.menu {
        display: flex;
    }
    footer.footer div.footer-menu li.menu-item {
        height: auto;
        display: flex;
        align-items: center;
    }
    footer.footer div.footer-menu li.menu-item a {
        padding: 0 1em;
    }

    footer.footer .footer-copy > .inner { gap:2em }
    footer.footer .footer-copy > .inner p { text-align:center; }
    footer.footer .footer-copy > .inner .left { order:2 }
    /* copyright */
    footer.footer .copyright {
        font-size: 0.8em;
        padding: 0 1em;
        margin: 1em auto;
        text-align: center;
    }


}

@media screen and (max-width: 480px) {

    footer.footer {
        --mt : 100px;
        --mtm : -60px;
        margin-top: var(--mtm);
        max-width: 100vw;
        overflow: hidden;
        background-size: 180% auto;
    }
    footer.footer * { font-size:14px }
    footer.footer div.footer-info > .inner .left { width:100% }

    footer.footer div.footer-info article {
        grid-template-columns: 1fr;
        gap: 0.8em;
    }
    footer.footer div.footer-info article h6 { width:6em; padding-block-end:0.5em }



}

/* ==========================================================================
   WP Single Post Content Editor Style Override
   ========================================================================== */

/* 1. 기본 본문 텍스트 및 기본 간격 */
main.archive .post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  word-break: keep-all;
}

main.archive .post-content p {
  margin-bottom: 1.5em;
  font-size: 1em;
  line-height: 1.8;
}

main.archive .post-content a {
  text-decoration: underline;
  color: var(--orange);
}


/* 2. 본문 제목(Heading) 태그 복원 */
main.archive .post-content h1,
main.archive .post-content h2,
main.archive .post-content h3,
main.archive .post-content h4,
main.archive .post-content h5,
main.archive .post-content h6 {
  font-weight: 700;
  line-height: 1.4;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  clear: both;
}

main.archive .post-content h1 { font-size: 2.0em; }
main.archive .post-content h2 { font-size: 1.65em; }
main.archive .post-content h3 { font-size: 1.35em; }
main.archive .post-content h4 { font-size: 1.15em; }
main.archive .post-content h5 { font-size: 1.0em; }
main.archive .post-content h6 { font-size: 0.9em; }

/* 3. 리스트 (ul, ol) 점 및 번호 표시 복원 */
main.archive .post-content ul {
  list-style-type: disc !important;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1.8em !important;
}

main.archive .post-content ol {
  list-style-type: decimal !important;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1.8em !important;
}

main.archive .post-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

main.archive .post-content ul ul,
main.archive .post-content ol ol,
main.archive .post-content ul ol,
main.archive .post-content ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* 4. 인용구 (Blockquote) 복원 */
main.archive .post-content blockquote {
  margin: 1.8em 0;
  padding: 1em 1.2em;
  border-left: 4px solid var(--orange);
  background-color: #F7F7F7;
  color: #5f5f5f;
}

main.archive .post-content blockquote p { margin:0 }
main.archive .post-content blockquote p:last-child {
  margin-bottom: 0;
}

/* 5. 이미지 및 미디어 ( Gutenberg / Classic ) */
main.archive .post-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 1.5em auto;
  border-radius: 8px;
}

/* 정렬 클래스 지원 (aligncenter, alignleft, alignright) */
main.archive .post-content .aligncenter,
main.archive .post-content figure.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

main.archive .post-content .alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

main.archive .post-content .alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* 6. 구분선 및 테이블 */
main.archive .post-content hr {
  border: 0;
  height: 1px;f
  background: #E2E8F0;
  margin: 2.5em 0;
}

main.archive .post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

main.archive .post-content th,
main.archive .post-content td {
  border: 1px solid #E2E8F0;
  padding: 10px 14px;
  text-align: left;
}

main.archive .post-content th {
  background-color: #F1F5F9;
  font-weight: 600;
}


#quick-ask {
    --bg : #0F514F;
    display: flex;
    position: fixed;
    bottom: 0;
    background-color: var(--bg);
    width: 100%;
    max-width: 100vw;
    padding: 30px;
    color: #fff;
    justify-content: center;
    gap: 2em;
    z-index: 25;
/*    display: none;*/
}
#quick-ask .close { display: none; }
#quick-ask h5 {
    font-size: 1.25em;
    font-weight: 500;
    display: flex;
    align-items: center;
}

#quick-ask .fluentform {
    width: fit-content;
}
#quick-ask .fluentform fieldset {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#quick-ask .fluentform .ff-el-group {
    margin-bottom: 0;
}
#quick-ask .fluentform input[type="text"] {
    background: #fff;
    border-radius: 0.5em;
    padding: 0.5em 1em;
    font-size: 1em;
    color: #111;
}
#quick-ask .fluentform button[type="submit"] {
    background: rgba(0, 0, 0, .25);
    font-size: 1em;
    font-weight: 700;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    margin-left: 5px;
    cursor: pointer;
}
#quick-ask .ff-message-success {
    border: 0;
    box-shadow: none;
    margin-top: 10px;
    padding: 15px;
    position: relative;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 123;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 1.1em;
    text-align: center;
    background-color: var(--bg);
    color: rgba(255, 255, 255, .8);
}
#quick-ask .ff-message-success strong {
    color: #fff;
}
#quick-ask .agree {
    font-size: 14px;
    display: flex;
    align-items: center;
}
@media(max-width:1200px) {

    #quick-ask-btn {
        --bg: #0F514F;
        content: '';
        display: flex;
        position: fixed;
        width: 60px;
        height: 60px;
        background-color: var(--bg);
        right: 10px;
        bottom: 80px;
        z-index: 20;
        border-radius: 50%;
        background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/quick-ask-icon.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 40%;
/*        display: none;*/
    }
    #quick-ask {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 20px 30px;
        gap: 5px;
        left: 2%;
        bottom: 0;
        width: 96%;
        min-height: 6em;
        border-radius: 30px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        overflow: hidden;

        opacity: 0;
        transform: translateY(500px);
        visibility: hidden;
        transition: all ease 0.5s;
    }
    #quick-ask.on {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        display: flex;
        z-index: 999;
    }
    #quick-ask .close {
        display: block;
        width: 40px;
        height: 40px;
        position: absolute;
        top: 15px;
        right: 15px;
        color: #fff;
    }


    #quick-ask .ff-message-success {
        padding: 10px 30px;
        font-size: 16px;
    }
    #quick-ask h5 { font-size: 1.2em; }
    #quick-ask .fluentform {width: 100% }
    #quick-ask .fluentform fieldset { flex-direction: column; gap: 10px}
    #quick-ask .fluentform .ff-el-group {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    #quick-ask .fluentform input[type="text"] { font-size:14px }
    #quick-ask .fluentform button[type="submit"] {
        font-size: 1.0em;
        margin-left: 0;
        width: 100%;
    }
}


/* KBoard 본문 내 비디오 반응형 wrapper */
#kboard-document .content-view div.video-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 비율 유지 */
    height: 0;
    overflow: hidden;
    background-color: #fafafa;
}

#kboard-document .content-view div.video-container > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
  .gm-faq-standard {
      padding: 100px 0;
      background: #faf8f3;
      color: #173f57;
      font-family: Pretendard, "Noto Sans KR", Arial, sans-serif
  }

  .gm-faq-standard * {
      box-sizing: border-box
  }

  .gm-faq-shell {
      width: min(1200px, calc(100% - 40px));
      margin: 0 auto
  }

  .gm-faq-layout {
      display: grid;
      grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
      gap: 72px;
      align-items: start
  }

  .gm-faq-intro {
      position: sticky;
      top: 126px
  }

  .gm-faq-intro>p:first-child {
      margin: 0 0 14px;
      color: #087fbb;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .17em
  }

  .gm-faq-intro h2 {
      margin: 0 0 19px;
      color: #173f57;
      font-size: clamp(34px, 4vw, 54px);
      line-height: 1.2;
      letter-spacing: -.055em;
      word-break: keep-all
  }

  .gm-faq-intro>span {
      display: inline-flex;
      margin: 0 0 18px;
      padding: 8px 13px;
      border-radius: 999px;
      background: #e6f3f9;
      color: #087fbb;
      font-size: 12px;
      font-weight: 850
  }

  .gm-faq-intro>p:last-child {
      margin: 0;
      color: #71818a;
      font-size: 14px;
      line-height: 1.8
  }

  .gm-faq-list {
      border-top: 2px solid #173f57
  }

  .gm-faq-item {
      margin: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      border-bottom: 1px solid #d8d5cd !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important
  }

  .gm-faq-item>summary {
      display: grid !important;
      grid-template-columns: 52px minmax(0, 1fr) 28px;
      gap: 0;
      align-items: center;
      min-height: 92px;
      padding: 18px 6px !important;
      list-style: none;
      cursor: pointer
  }

  .gm-faq-item>summary::-webkit-details-marker {
      display: none
  }

  .gm-faq-number {
      color: #f18b2b;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .05em
  }

  .gm-faq-question {
      display: block !important
  }

  .gm-faq-question strong {
      display: block;
      color: #2d3d46;
      font-size: 18px;
      line-height: 1.55;
      letter-spacing: -.025em;
      word-break: keep-all
  }

  .gm-faq-plus {
      display: grid !important;
      width: 26px;
      height: 26px;
      place-items: center;
      color: #f18b2b;
      font-size: 24px;
      font-weight: 400;
      transition: transform .2s ease
  }

  .gm-faq-item[open] .gm-faq-plus {
      transform: rotate(45deg)
  }

  .gm-faq-answer {
      display: grid !important;
      grid-template-columns: 36px minmax(0, 1fr);
      gap: 16px;
      margin: 0 0 24px 52px !important;
      padding: 20px 22px !important;
      border: 1px solid #d9e8ee !important;
      border-radius: 16px !important;
      background: #f1f8fb !important
  }

  .gm-faq-answer>span {
      display: grid !important;
      width: 32px;
      height: 32px;
      place-items: center;
      border-radius: 50%;
      background: #087fbb;
      color: #fff !important;
      font-size: 12px !important;
      font-weight: 900
  }

  .gm-faq-answer p {
      margin: 2px 0 0 !important;
      color: #4e6672 !important;
      font-size: 15px !important;
      line-height: 1.8 !important;
      word-break: keep-all
  }

  .gm-faq-item:focus-within>summary {
      outline: 2px solid #0b8bc8;
      outline-offset: 3px
  }

  @media(max-width:860px) {
      .gm-faq-standard {
          padding: 72px 0
      }

      .gm-faq-layout {
          grid-template-columns: 1fr;
          gap: 38px
      }

      .gm-faq-intro {
          position: static
      }

      .gm-faq-intro h2 {
          font-size: 36px
      }

      .gm-faq-item>summary {
          grid-template-columns: 46px minmax(0, 1fr) 24px;
          min-height: 84px
      }

      .gm-faq-answer {
          margin-left: 46px !important
      }
  }

  @media(max-width:520px) {
      .gm-faq-shell {
          width: min(100% - 28px, 1200px)
      }

      .gm-faq-standard {
          padding: 62px 0
      }

      .gm-faq-intro h2 {
          font-size: 31px
      }

      .gm-faq-question strong {
          font-size: 16px
      }

      .gm-faq-answer {
          grid-template-columns: 30px minmax(0, 1fr);
          gap: 12px;
          margin-left: 0 !important;
          padding: 18px 16px !important
      }

      .gm-faq-answer>span {
          width: 28px;
          height: 28px
      }
  }
.gm-medical-column {
    padding: 92px 0;
    background: #fff;
    color: #173f57;
    font-family: Pretendard, "Noto Sans KR", Arial, sans-serif
}

.gm-medical-column * {
    box-sizing: border-box
}

.gm-column-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 52px;
    align-items: center !important
}

.gm-column-image {
    display: block !important;
    position: relative !important;
    align-self: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16/9 !important;
    overflow: hidden;
    border: 1px solid #dce8ed;
    border-radius: 28px;
    background: #f4f9fb;
    box-shadow: 0 20px 48px rgba(18, 63, 89, .12)
}

.gm-column-image img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important
}

.gm-column-copy>p:first-child {
    margin: 0 0 13px;
    color: #0b8bc8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em
}

.gm-column-copy h2 {
    margin: 0 0 18px;
    color: #173f57;
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.25;
    letter-spacing: -.055em
}

.gm-column-copy h2+p {
    margin: 0 0 23px;
    color: #617784;
    font-size: 16px;
    line-height: 1.85
}

.gm-column-copy>a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 11px 19px;
    border-radius: 999px;
    background: #0b83bd;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 850
}

.gm-column-copy small {
    display: block;
    margin-top: 18px;
    color: #82929b;
    font-size: 11px;
    line-height: 1.65
}

@media(max-width:820px) {
    .gm-medical-column {
        padding: 68px 0
    }

    .gm-column-shell {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .gm-column-copy h2 {
        font-size: 32px
    }
}

@media(max-width:520px) {
    .gm-column-shell {
        width: min(100% - 28px, 1200px)
    }
}


.skip-link {
    background: var(--secondary);
}
.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 10px 16px;
    color: #fff;
    background: var(--green-950);
    border-radius: 8px;
    transform: translateY(-160%);
}
.inner {
    width: min(var(--content), calc(100% - 80px));
    margin: 0 auto;
}
/* 메인비주얼 외 공통 */
section > .inner {
    --inner : 1240px;
    padding: 200px 0;
}
section .title-zone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
section .title-zone.center { align-items:center; }
section .title-zone.center * { text-align:center; }

section .title-zone.right { align-items:flex-end; }
section .title-zone.right * { text-align:right; }

/* 섹션 부제목  */
section .title-zone .eyebrow {
    font-size: 0.6em;
    color: rgba(71, 70, 69, .6);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 600;
}


/* 섹션 제목  */
section .title-zone .section-title {
    font-size: 2.25em;
    line-height: 1.3;
    letter-spacing: -0.065em;
    color: #5B4F42;
    font-weight: 400;
}
section .title-zone .section-title b { font-weight:700 }
section .title-zone .section-title span { color:var(--orange); }



section .title-zone .p-wrap {
    margin-top: 1em;
}
section .title-zone .p-wrap p {
    color: #5B4F42;
    font-size: 18px;
}
.p-wrap p + p {
    margin-top: 1.5em;
}

section .title-zone.dark .section-title { color: #fff}
section .title-zone.dark .p-wrap p { font-weight:300; color:#fff }
section .title-zone.dark .p-wrap p b { color:#ECD6B8 }

/* - - - - - main01. 메인비주얼 (main-visual)  */
section.main-visual {
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    background-color: #FEFBF8;
}
section.main-visual .inner {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
section.main-visual .swiper-slide {
    background-size: auto 100%;
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
section.main-visual .swiper-slide.mv1 { background-image:url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/main/mv1.jpg?ver=260904") }
section.main-visual .swiper-slide.mv2 { background-image:url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/main/mv2.jpg?ver=260904") }
section.main-visual .swiper-slide.mv3 { background-image:url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/main/mv3.jpg?ver=260904") }

section.main-visual .eyebrow {
    color: var(--brown);
    letter-spacing: 0;
    font-weight: 500;
    font-size: 16px;
}
section.main-visual .p-wrap {
    margin: 1.5em 0;
}
section.main-visual .swiper-slide a.button-primary {
    margin-bottom: 6em;
}


section.main-visual .swiper-slide.mv1 a.button-primary { background-color: }
section.main-visual .swiper-slide.mv2 a.button-primary { background-color:var(--blue) }
section.main-visual .swiper-slide.mv3 a.button-primary { background-color:var(--green) }

section.main-visual .swiper-slide {
    opacity: 0;
    visibility: hidden;
/*    transition: opacity ease 1s;*/
    transition: all ease 2s;
    background-color: #FEFBF8;
}
section.main-visual .swiper-slide .section-title {
    font-size: 3.5em;
}

section.main-visual .swiper-slide.swiper-slide-active {
    opacity: 1;
    visibility: visible;
}


section.main-visual .swiper-slide.swiper-slide-active a.button-primary,
section.main-visual .swiper-slide.swiper-slide-active  .eyebrow,
section.main-visual .swiper-slide.swiper-slide-active  .section-title,
section.main-visual .swiper-slide.swiper-slide-active  .p-wrap {
    animation-name: welcomeText;
    animation-duration: 1.5s;
    animation-fill-mode: both;
    filter: opacity(0);
    transform: translateX(-50px);
}
@keyframes welcomeText {
    0% { transform: translateX(-50px); filter: opacity(0); }
    100% {transform: translateX(0); filter: opacity(1); }
}

section.main-visual .swiper-slide.swiper-slide-active  .eyebrow,
section.main-visual .swiper-slide.swiper-slide-active  .section-title { animation-delay: 0.1s; }
section.main-visual .swiper-slide.swiper-slide-active  .p-wrap { animation-delay:0.5s }
section.main-visual .swiper-slide.swiper-slide-active a.button-primary { animation-delay:1s }

section.main-visual .swiper-pagination {
/*    border: 1px dashed red;*/
    width: min(var(--content), calc(100% - 80px));


    left: 50%;
    transform: translateX(-50%);
    bottom: 15%;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}
section.main-visual .swiper-pagination .swiper-pagination-bullet {
    width: 20px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    opacity: 1;
    border-radius: 50%;
    border: 2px solid rgba(91, 79, 66, .32);
    padding: 4px;
    background-color: transparent;
    transition: all ease 0.5s;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: #f8f3ec;
}
section.main-visual .swiper-pagination .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 54%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: transparent;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}
section.main-visual .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
    background-color: #5B4F42;}


section.main-visual .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
/*    background-color: blue;*/
}



@media (max-width: 1400px) {

    /* - - - - - main01. 메인비주얼 (main-visual)  */
    section.main-visual { font-size: 14px }
    section.main-visual .swiper-slide {
        background-position: center right;
        background-size: 90%;
        background-color: #FFFCF7;
    }
    section.main-visual .swiper-slide .section-title { font-size: 1.75em; }
    section.main-visual .title-zone {
        align-items:flex-start;
        margin-left: 1em;
        width: 40%;
    }
    section.main-visual .title-zone p br {display: none;}

    section.main-visual .title-zone * { text-align:left; }
    section.main-visual .title-zone p,
    section.main-visual .title-zone h2 {
        text-shadow:0 0 2em #f8f3ec, 0 0 1em #f8f3ec, 0 0 0.5em #f8f3ec
    }
    section.main-visual .title-zone p.eyebrow { font-size:13px }
    section.main-visual .title-zone .p-wrap p { padding: 0; font-size: 16px}
    section.main-visual .swiper-pagination .swiper-pagination-bullet {
        width: 16px;
        box-shadow: 3px 3px 0 1px rgba(91, 79, 66, .5);
    }



}

@media screen and (max-width: 480px) {

    section.main-visual .inner {
        height: unset;
        width: 100%;
        aspect-ratio: 9 / 16;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 16% 8vw 0;
    }
    section.main-visual .swiper-pagination {
        justify-content: center;
        gap: 10px;
        bottom: 10%;
    }

    section.main-visual .swiper-slide { background-size:100%; background-position:center bottom; }
    section.main-visual .swiper-slide.mv1 { background-image:url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/main/mv1-m.jpg"); }
    section.main-visual .swiper-slide.mv2 { background-image:url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/main/mv2-m.jpg"); }
    section.main-visual .swiper-slide.mv3 { background-image:url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/main/mv3-m.jpg?ver=260812") }


    section.main-visual .title-zone {
        align-items:center;
        margin: 0 auto;
        width: 80%;
    }
    section.main-visual .title-zone * { text-align:center; }
    section.main-visual .title-zone .p-wrap p { padding: 0; }

    section.main-greeting .inner > div.shape {
        background-size: 82%;
        background-position: right -120% bottom;
    }
}
.gm-clinic-exterior {
            padding: 104px 0;
            background: #f4f8fa;
            color: #173f57;
            font-family: Pretendard, "Noto Sans KR", Arial, sans-serif
        }

        .gm-clinic-exterior * {
            box-sizing: border-box
        }

        .gm-exterior-shell {
            width: min(1200px, calc(100% - 40px));
            margin: 0 auto;
            display: grid;
            grid-template-columns: minmax(340px, .8fr) minmax(0, 1.2fr);
            gap: 58px;
            align-items: center
        }

        .gm-exterior-copy>p:first-child {
            margin: 0 0 14px;
            color: #087fbb;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: .17em
        }

        .gm-exterior-copy h2 {
            margin: 0 0 20px;
            color: #173f57;
            font-size: clamp(32px, 3.8vw, 50px);
            line-height: 1.28;
            letter-spacing: -.055em
        }

        .gm-exterior-copy h2+p {
            margin: 0 0 24px;
            color: #607783;
            font-size: 16px;
            line-height: 1.85
        }

        .gm-exterior-copy dl {
            display: grid;
            gap: 8px;
            margin: 0 0 24px
        }

        .gm-exterior-copy dl>div {
            display: grid;
            grid-template-columns: 72px 1fr;
            gap: 14px;
            padding: 10px 0;
            border-bottom: 1px solid #dbe6eb
        }

        .gm-exterior-copy dt {
            color: #718791;
            font-size: 12px;
            font-weight: 800
        }

        .gm-exterior-copy dd {
            margin: 0;
            color: #183f55;
            font-size: 14px;
            font-weight: 700
        }

        .gm-exterior-copy dd a {
            color: #087fbb !important
        }

        .gm-exterior-cta {
            display: inline-flex;
            min-height: 46px;
            align-items: center;
            padding: 11px 19px;
            border-radius: 999px;
            background: #123f59;
            color: #fff !important;
            text-decoration: none;
            font-size: 13px;
            font-weight: 850
        }

        .gm-clinic-exterior figure {
            overflow: hidden;
            margin: 0;
            border-radius: 30px;
            background: #fff;
            box-shadow: 0 20px 48px rgba(18, 63, 89, .15)
        }

        .gm-clinic-exterior img {
            display: block;
            width: 100%;
            aspect-ratio: 3/2;
            object-fit: cover
        }

        .gm-clinic-exterior figcaption {
            padding: 13px 18px;
            color: #70838e;
            font-size: 11px;
            text-align: right
        }

        @media(max-width:820px) {
            .gm-clinic-exterior {
                padding: 72px 0
            }

            .gm-exterior-shell {
                grid-template-columns: 1fr;
                gap: 30px
            }

            .gm-clinic-exterior figure {
                order: -1
            }
        }

        @media(max-width:520px) {
            .gm-exterior-shell {
                width: min(100% - 28px, 1200px)
            }
        }

#intro-modal {
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    background-color:#192E42;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    transition: all ease 0.5s;
    opacity: 1;
}
#intro-modal.is-hidden {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

@keyframes intro-init {
    0% { opacity:0 }
    100% { opacity:1 }
}
#intro-modal .intro-modal-content {
    opacity:0;
    animation-name: intro-init;
    animation-delay: 0.5s;
    animation-duration: 1s;
    animation-fill-mode: both;
}

#intro-modal .gmh-brand {
    position: fixed;
    top: 30px;
    left: calc(50% - 700px);
}
#intro-modal .gmh-brand small { color:rgba(255, 255, 255, .6); }
#intro-modal .gmh-brand strong { color: #fff; font-weight:500 }

div.intro-wrap {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
/*    background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/intro-orig.webp");*/
    background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/intro-test1.webp");
    background-size: cover;
    background-position: center;
}

div.intro-wrap div.intro-group > * {
    animation-name: introfadeup;
    animation-duration: 1.5s;
    animation-fill-mode: both;
    filter: opacity(0);
    transform: translateY(50px);
}
div.intro-wrap div.intro-group > *:nth-child(1) { animation-delay: 0.6s; }
div.intro-wrap div.intro-group > *:nth-child(2) { animation-delay: 0.8s; }
div.intro-wrap div.intro-group > *:nth-child(3) { animation-delay: 0.9s; }
div.intro-wrap div.intro-group > *:nth-child(4) { animation-delay: 1.2s; }
div.intro-wrap div.intro-group > *:nth-child(5) { animation-delay: 1.2s; }
div.intro-wrap div.intro-group > *:nth-child(6) { animation-delay: 1.4s; }

@keyframes introfadeup {
    0% { transform: translateY(50px); filter: opacity(0); }
    100% {transform: translateY(0); filter: opacity(1); }
}

div.intro-group h2,
div.intro-group h3 {
    color: rgba(255, 255, 255, .8);
}
div.intro-group ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.5em;
    font-size: 3em;
    padding: 0.25em 1.5em;
}
div.intro-group ul li {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 3px 0.5em rgba(101, 161, 255, 1.0);
    line-height: 1.5;
}

div.intro-group #count {
    color: #d1fff4;
    font-weight: 700;
    font-weight: 800;
    letter-spacing: -0.05em;
    font-size: 3em;
    line-height: 1.0;
    /* text-shadow: 0 0 0.25em rgb(255 240 172 / 54%); */
    text-shadow: 0 1px 30px rgb(172 217 255 / 62%);
}
div.intro-group .cta {
    margin-top: 2em;
}
div.intro-group .cta a {
    display: flex;
    justify-content: center;
    min-width: 11em;
    background-color: transparent;
    transition: all ease 0.3s;
    border: 2px solid #fff;
    box-shadow: 0 0 30px -5px rgba(101, 229, 255, 0.0);
}
div.intro-group .cta a:hover {
    box-shadow: 0 0 30px -1px rgba(101, 161, 255, .8);
}


div.intro-wrap div.effect {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 24, 39, .6);
    mix-blend-mode: multiply;
}
div.intro-wrap div.effect span.circle {
    position: absolute;
    width: 100vw;
    height: 100vw;
    background-repeat: no-repeat;
    background-size: 100%;
    left: calc(50% - 50vw);
    top: calc(50% - 50vw);
    transform: scale(0.85) rotate(0deg); opacity:0;
}

@keyframes circle {
    0% { transform: scale(0.85); opacity:0 }
    40% { transform: scale(1.0); opacity:1 }
    100% {  transform: scale(1.25); opacity: 0 }
}
div.intro-wrap div.effect span.circle-main,
div.intro-wrap div.effect span.circle-sub {
    animation-name: circle;
    animation-duration : 4s;
    animation-timing-function :linear;
    animation-fill-mode :forwards;
    animation-iteration-count: infinite;
}
div.intro-wrap div.effect span.circle.pause {
    animation:none;
}
div.intro-wrap div.effect span.circle-main {
    background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/circle-main.png");
    animation-duration : 4s;
}
div.intro-wrap div.effect span.circle-sub {
    background-image: url("https://busanentclinic.com/wp-content/themes/jeymedi/assets/img/circle-sub.png");
}
div.intro-wrap div.effect span.circle-sub + span.circle-sub {
    animation-delay: 1s;
}
div.intro-wrap div.effect span.circle-sub + span.circle-sub + span.circle-sub {
    animation-delay: 2s;
}


@media screen and (max-width: 1200px){
    #intro-modal .gmh-brand { left: 5vw }
    div.intro-wrap { font-size: 1.5em; }
    div.intro-wrap ul { font-size: 1.75em; gap: 0 0.5em;}
    div.intro-wrap #count { font-size:2.5em }


}
@media screen and (max-width: 767px){
    #intro-modal .gmh-brand {
        left: 50%;
        transform: translateX(-50%);
        padding-right: 40px;
    }
    #intro-modal div.intro-wrap { font-size: 1em; background-position: left 60% center; }
    #intro-modal div.intro-wrap div.effect span.circle {
        position: absolute;
        width: 200vw;
        height: 200vw;
        left: calc(-50%);
        top: calc(80%);
    }
}