.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;
}