/*
Theme Name: Astra Child
Template: astra
*/

a:focus, button:focus, a:focus-visible, button:focus-visible {outline: none !important;box-shadow: none !important;}
*:focus {-webkit-tap-highlight-color: transparent;}
.ast-builder-menu-1 .main-header-menu .menu-item > .menu-link {margin: 0 30px;border-bottom: 3px solid transparent;}
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, .ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle, .ast-builder-menu-1 .current-menu-ancestor > .menu-link, .ast-builder-menu-1 .current-menu-ancestor > .ast-menu-toggle, .current-category-ancestor .menu-link, .current-menu-parent .menu-link {font-weight: 800;border-image: linear-gradient(215deg, #4daf83 -43.28%, #2fa6ce 143.28%);border-image-slice: 1;}
.ast-builder-menu-1 .menu-link:hover {border-bottom: 3px solid transparent;border-image: linear-gradient(215deg, #4daf83 -43.28%, #2fa6ce 143.28%);border-image-slice: 1;}
.wp-block-spectra-slider[class*=wp-block] .swiper-pagination .swiper-pagination-bullet:focus, .wp-block-spectra-slider[class*=wp-block] .swiper-pagination .swiper-pagination-bullet:hover {background-color: #fff;}

/*포스트 이미지*/
.wp-block-post-featured-image {overflow: hidden;}
.wp-post-image {transition: transform 0.5s ease;}
.spectra-post-item:hover .wp-post-image {transform: scale(1.1);}
.no-posts-message {display: none;border: 1px dashed #ccc;background-color: #f5f5f5;border-radius: 12px;font-weight: 500;color: #aaa;}

/*헤더*/
.ast-header-html-1 .ast-builder-html-element p {margin: 0;}
.bsm-home-logo a {display: inline-flex;align-items: center;line-height: 0;}
.bsm-home-logo img {display: block;width: 176px;height: auto;}

/*푸터*/
.footer_col3_wrap {color: #fff;}
.footer_col3_wrap a {color: #fff;display: inline-flex;align-items: center;justify-content: center;vertical-align: middle;margin-right: 8px;transition: 0.3s;}
.footer_col3_wrap > div > div > div:first-child {font-weight: bold;margin-bottom: 16px;}
.footer_col3_wrap .footer_col1_cont address {font-style: normal;font-size: 16px;margin-bottom: 16px;}
.footer_col3_wrap .footer_col1_cont .footer_map_wrap {font-size: 0;}
.footer_col3_wrap .footer_col1_cont .footer_map_wrap a {background-color: #404040;padding: 10px 20px;border-radius: 6px;width: 152px;height: 50px;}
.footer_col3_wrap .footer_col1_cont .footer_map_wrap a:last-child {margin: 0;}
.footer_col3_wrap .footer_col1_cont .footer_map_wrap a:hover, .footer_col3_wrap .footer_col1_cont .footer_map_wrap a:focus {background-color: #555;}
.footer_col3_wrap .footer_col1_cont .footer_map_wrap img {margin-right: 6px;}
.footer_col3_wrap .footer_col1_cont .footer_map_wrap span {font-size: 16px;}
.footer_col3_wrap .footer_col2_cont ul {width: 300px;font-size: 0;}
.footer_col3_wrap .footer_col2_cont li {font-size: 16px;line-height: normal;margin-bottom: 16px;display: flex;justify-content: space-between;align-items: center;}
.footer_col3_wrap .footer_col2_cont p {color: #aaa;line-height: normal;font-size: 16px;}
.footer_col3_wrap .footer_col2_cont p:first-child {margin-bottom: 10px;}
.footer_col3_wrap .footer_col3_cont p a {margin: 0;font-size: 30px;line-height: normal;font-weight: 800;background-image: linear-gradient(315deg, rgb(77, 175, 131) 0%, rgb(47, 166, 206) 100%);-webkit-background-clip: text;color: transparent;}
.footer_col3_wrap .footer_col3_cont .footer_channel_wrap {font-size: 0;}
.footer_col3_wrap .footer_col3_cont div:nth-child(3) {margin: 26px 0 16px;color: #aaa;}
.footer_col3_wrap .footer_col3_cont .footer_channel_wrap a {background-color: #404040;border-radius: 6px;width: 48px;height: 48px;}
.footer_col3_wrap .footer_col3_cont .footer_channel_wrap a:hover, .footer_col3_wrap .footer_col3_cont .footer_channel_wrap a:focus {background-color: #555;}
.footer_col3_wrap .footer_col3_cont .footer_channel_wrap a:last-child {margin: 0;}

/*메인*/
/* 메인 페이지 제목 배너를 화면에서만 숨김 */
body.home.page-id-756 .ast-single-entry-banner[data-post-type="page"] {position: absolute !important;width: 1px !important;height: 1px !important;min-width: 0 !important;min-height: 0 !important;margin: -1px !important;padding: 0 !important;border: 0 !important;overflow: hidden !important;clip-path: inset(50%) !important;white-space: nowrap !important;}

/*메인슬라이더*/
.main_slider_wrap {position: relative;}
.main_slider_wrap .swiper-button-prev, .main_slider_wrap .swiper-button-next {bottom: auto !important;margin-top: 0 !important;transform: none !important;top: 250px !important;transform: translateY(-50%) !important;height: 88px !important;border-radius: 0;background-color: transparent !important;}
.main_slider_wrap .swiper-button-prev svg, .main_slider_wrap .swiper-button-next svg {display: block;width: 100% !important;height: auto !important;opacity: 0.5;transition: 0.3s;}
.main_slider_wrap .swiper-button-prev:hover svg, .main_slider_wrap .swiper-button-next:hover svg {opacity: 1;}
.main_slider_wrap .swiper-pagination .swiper-pagination-bullet {border-radius: 0;width: 36px !important;height: 3px !important;}
.wp-block-spectra-slider[class*=wp-block] .swiper-pagination .swiper-pagination-bullet-active, .wp-block-spectra-slider[class*=wp-block] .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {background-color: #fff;transform: none !important;}
.main_slider_wrap .swiper-pagination-bullet {pointer-events: none !important;cursor: default !important;}
.main_slider_wrap .slide-content p{max-width: 800px;}

/*서브페이지*/
.ast-archive-entry-banner[data-post-type="post"] {min-height: initial;}
.ast-archive-entry-banner .sub_2depth_nav_wrap {overflow-x: auto;overflow-y: hidden;-webkit-overflow-scrolling: touch;}
.ast-archive-entry-banner .sub_2depth_nav_wrap ul {display: flex;flex-wrap: nowrap;gap: 0 28px;width: max-content;list-style: none;margin: 0;padding: 0 0 3px;}
.ast-archive-entry-banner .sub_2depth_nav_wrap li {flex: 0 0 auto;white-space: nowrap;}
.ast-archive-entry-banner .sub_2depth_nav_wrap a {text-decoration: none;color: #101010;font-weight: 500;font-size: 16px !important;padding-bottom: 6px;}
.ast-archive-entry-banner .sub_2depth_nav_wrap a:hover {border-bottom: 2px solid #101010;}
.ast-archive-entry-banner .sub_2depth_nav_wrap .sub_2depth_nav_active a {font-weight: 800;border-bottom: 2px solid #101010;}
.single .post-navigation, .single .nav-links {display: none !important;}
.type-post .wp-block-paragraph {color: #101010;}
.sidebar-main .widget {padding: 0 !important;}
#secondary #block-13 {margin-bottom: 30px;}
.ast-blog-layout-4-grid .ast-article-inner {box-shadow: none;}
.ast-blog-layout-4-grid .blog-layout-4 {padding-left: 0;padding-right: 0;}
.ast-blog-layout-4-grid .blog-layout-4 .post-content .entry-title a {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;line-height: 1.4;}
#primary {margin: 50px 0 150px;}
.published {font-weight: 400;}
body.single-post.ast-right-sidebar {--bsm-g: linear-gradient(315deg, rgb(77, 175, 131) 0%, rgb(47, 166, 206) 100%);--bsm-cyan: #2fa6ce;--bsm-text: #1f2933;--bsm-mute: #5b6770;--bsm-line: #eceff2;}
body.single-post.ast-right-sidebar .entry-title {margin: 0 0 16px;font-family: "Pretendard", sans-serif !important;font-size: 34px;font-weight: 700;letter-spacing: -0.03em;line-height: 1.35;color: var(--bsm-text);text-transform: none !important;word-break: keep-all;}
body.single-post.ast-right-sidebar .entry-meta {margin-bottom: 36px;font-size: 13px;font-weight: 500;letter-spacing: -0.01em;color: #8a949c;}
body.single-post.ast-right-sidebar .entry-content > p, body.single-post.ast-right-sidebar .entry-content > .wp-block-paragraph {margin: 0 0 22px !important;font-size: 17px !important;font-weight: 400 !important;letter-spacing: -0.02em !important;color: var(--bsm-text) !important;text-transform: none !important;}
body.single-post.ast-right-sidebar .entry-content > h2, body.single-post.ast-right-sidebar .entry-content > .wp-block-heading {margin: 48px 0 16px !important;padding: 0 !important;border: 0 !important;background: none !important;font-family: "Pretendard", sans-serif !important;font-size: 22px !important;font-weight: 700 !important;letter-spacing: -0.03em !important;line-height: 1.4 !important;color: var(--bsm-text) !important;text-transform: none !important;}
body.single-post.ast-right-sidebar .entry-content > h3 {margin: 32px 0 12px !important;font-size: 18px !important;font-weight: 650 !important;letter-spacing: -0.02em !important;color: #243039 !important;}
body.single-post.ast-right-sidebar .entry-content > p a, body.single-post.ast-right-sidebar .entry-content > ul a {color: var(--bsm-btn);text-decoration: none;background-image: linear-gradient(90deg, #2fa6ce, #4daf83);background-size: 100% 1px;background-repeat: no-repeat;background-position: 0 100%;}
body.single-post.ast-right-sidebar .entry-content > ul, body.single-post.ast-right-sidebar .entry-content > .wp-block-list {margin: 8px 0 28px !important;padding: 16px 20px 16px 36px !important;background: #f5f5f5 !important;list-style: none !important;}
body.single-post.ast-right-sidebar .entry-content > ul li, body.single-post.ast-right-sidebar .entry-content > .wp-block-list li {position: relative;margin: 0 0 4px !important;padding: 0 !important;font-size: 16px !important;font-weight: 400 !important;letter-spacing: -0.02em !important;line-height: 1.7 !important;color: var(--bsm-text) !important;}
body.single-post.ast-right-sidebar .entry-content > ul li:last-child, body.single-post.ast-right-sidebar .entry-content > .wp-block-list li:last-child {margin-bottom: 0 !important;}
body.single-post.ast-right-sidebar .entry-content > ul li::before, body.single-post.ast-right-sidebar .entry-content > .wp-block-list li::before {content: "•";position: absolute;left: -18px;top: 0;font-weight: 700;color: #101010;}

/* 표: 좁으면 가로 스크롤, 첫 열 고정 */
body.single-post.ast-right-sidebar .entry-content .wp-block-table {width: 100%;margin: 12px 0 32px;overflow-x: auto;-webkit-overflow-scrolling: touch;border: 0;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table table, body.single-post.ast-right-sidebar .entry-content .wp-block-table table.has-fixed-layout {width: max-content;min-width: 100%;border: 0;border-collapse: collapse;table-layout: auto !important;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table thead, body.single-post.ast-right-sidebar .entry-content .wp-block-table tfoot {border: 0;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table th, body.single-post.ast-right-sidebar .entry-content .wp-block-table td {padding: 14px 12px;border: 1px solid #e6eaee;font-size: 16px;line-height: 1.55;letter-spacing: -0.02em;white-space: nowrap;word-break: keep-all;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table thead th {background: #f6f7f8;color: var(--bsm-text);font-size: 16px;font-weight: 700;text-align: center;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table td {color: #1f2933;text-align: left;background: #fff;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table tr:last-child td {border-bottom: 1px solid #e6eaee;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table {scrollbar-width: thin;scrollbar-color: #c5cdd3 #f4f6f7;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table::-webkit-scrollbar {height: 6px;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table::-webkit-scrollbar-track {background: #f4f6f7;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table::-webkit-scrollbar-thumb {background: #c5cdd3;border-radius: 99px;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table::-webkit-scrollbar-thumb:hover {background: #8a949c;}

/* FAQ 아코디언 */
body.single-post.ast-right-sidebar .schema-faq-section {margin: 0 !important;padding: 0 !important;background: none;border: 0;border-bottom: 1px solid var(--bsm-line);}
body.single-post.ast-right-sidebar .schema-faq-question {display: block;position: relative;margin: 0 !important;padding: 18px 36px 18px 0 !important;font-size: 17px !important;font-weight: 600 !important;letter-spacing: -0.02em;color: var(--bsm-text) !important;cursor: pointer;}
body.single-post.ast-right-sidebar .schema-faq-question::before {content: "Q";display: inline-block;margin-right: 8px;font-size: 16px;font-weight: 700;letter-spacing: 0.04em;color: #1f8f84;}
body.single-post.ast-right-sidebar .schema-faq-question::after {content: "+";position: absolute;right: 0;top: 18px;font-size: 20px;font-weight: 400;line-height: 1;color: #8a949c;}
body.single-post.ast-right-sidebar .schema-faq-section.is-open .schema-faq-question::after {content: "–";}
body.single-post.ast-right-sidebar .schema-faq-answer {display: none;margin: 0 !important;padding: 0 22px 18px 22px;font-size: 16px !important;font-weight: 400 !important;line-height: 1.7 !important;color: var(--bsm-mute) !important;}
body.single-post.ast-right-sidebar .schema-faq-section.is-open .schema-faq-answer, body.single-post.ast-right-sidebar .schema-faq-section.is-open .schema-faq-answer p {display: block;margin: 0 !important;font-size: 16px !important;line-height: 1.7 !important;color: var(--bsm-mute) !important;}








.key-answer-wrap.wp-block-spectra-container, .bsm-related-care-wrap.wp-block-spectra-container {display: block !important;width: 100% !important;}
.key-answer-wrap {background: #f2f8f9 !important;border: 0 !important;padding: 32px !important;margin: 24px 0 32px !important;}
.key-answer-wrap p {margin: 0 !important;font-size: 17px !important;color: #1f2933 !important;}
.key-answer-wrap p strong {display: block;margin: 0 0 6px;padding: 0;background: none;font-size: 17px;font-weight: 700;line-height: 1.4;color: #1f8f84;}
.bsm-related-care-wrap {display: grid !important;grid-template-columns: 1.2fr 0.8fr;column-gap: 40px;background: transparent !important;border: 0 !important;border-radius: 0;padding: 8px 0 0 !important;margin: 40px 0 56px !important;}
.bsm-related-care-wrap h3 {margin: 0 0 12px !important;font-size: 17px !important;font-weight: 700 !important;}
.bsm-related-care-wrap ul {list-style: none !important;margin: 0 0 28px !important;padding: 0 !important;}
.bsm-related-care-wrap li {
  margin: 0 0 7px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 400;
  color: #6a7781 !important;
  position: relative;
  padding-left: 12px !important;
}
.bsm-related-care-wrap li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b9c1c7;
}

.bsm-related-care-wrap a {
  color: var(--bsm-btn);
  text-decoration: none;
  background-image: linear-gradient(90deg, #2fa6ce, #4daf83);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
}

.bsm-related-care-wrap a::after {
  content: none;
}

.bsm-related-care-wrap a:hover {
  color: #1f8f84 !important;
}

.bsm-related-care-wrap > p:last-child {font-size: 14px;line-height: 22px;color: #8a949c;}







/* 의료진 카드 */
body.single-post.ast-right-sidebar .bsm-author-card {display: flex;gap: 16px;align-items: center;margin: 40px 0 24px;padding: 18px;background: #fff;border: 1px solid #e6eaee;box-shadow: 0 8px 24px rgba(22, 51, 72, 0.06);}
body.single-post.ast-right-sidebar .bsm-author-card a, body.single-post.ast-right-sidebar .bsm-author-name a {color: var(--bsm-text);border: 0 !important;text-decoration: none !important;}
body.single-post.ast-right-sidebar .bsm-author-name a {font-size: 17px;font-weight: 700;letter-spacing: -0.02em;}
body.single-post.ast-right-sidebar .bsm-author-body p {margin: 6px 0 0;font-size: 15px;line-height: 1.55;color: #6b7680;}



/* 태그 */
body.tag .ast-archive-entry-banner h1::before {content: "#";}
body.single-post.ast-right-sidebar .wp-block-post-terms__separator {display: none;}
body.single-post.ast-right-sidebar a[rel="tag"], body.single-post.ast-right-sidebar .wp-block-post-terms a {display: inline-block;margin: 0 6px 8px 0;padding: 6px 12px;border: 1px solid #e1e6ea !important;border-radius: 999px;background: #fff;color: #5b6770 !important;font-size: 14px;font-weight: 600;letter-spacing: -0.01em;text-decoration: none !important;transition: 0.18s ease;}
body.single-post.ast-right-sidebar a[rel="tag"]:hover, body.single-post.ast-right-sidebar .wp-block-post-terms a:hover {background: var(--bsm-g);border-color: transparent !important;color: #fff !important;}
body.single-post.ast-right-sidebar .entry-content .wp-block-spectra-post {width: 100%;margin-left: auto;margin-right: auto;}
body.single-post.ast-right-sidebar .entry-content .wp-block-spectra-post .wp-block-post-title, body.single-post.ast-right-sidebar .entry-content .wp-block-spectra-post .wp-block-post-title a {font-size: inherit;font-weight: 600;color: inherit;border: 0;padding: 0;background: none;text-decoration: none;}
body.single-post.ast-right-sidebar .spectra-post-loop-wrapper.wp-block-spectra-post-template .ast-article-single {padding: 0 !important;}
.spectra-post-no-results {display: flex !important;align-items: center;justify-content: center;min-height: 220px;margin: 0;padding: 40px 20px;border: 1px dashed #ccc;background: #f5f5f5;border-radius: 12px;}
.spectra-post-no-results p, .spectra-post-no-results .wp-block-spectra-content {margin: 0 !important;font-size: 16px;font-weight: 500;color: #aaa !important;}

/* 썸네일 박스 */
.category-all .post-thumb-img-content, .main_post_wrap .wp-block-post-featured-image {position: relative;overflow: hidden;}
.category-all .post-thumb-img-content a, .main_post_wrap .wp-block-post-featured-image a {position: relative;display: block;}
.category-all .post-thumb-img-content a::before, .main_post_wrap .wp-block-post-featured-image a::before {content: "";position: absolute;inset: 0;z-index: 1;pointer-events: none;background: linear-gradient( to top, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 100% );}
.category-all .post-thumb-img-content a::after, .main_post_wrap .wp-block-post-featured-image a::after {content: "";position: absolute;right: 14px;bottom: 14px;width: 60px;height: 9px;z-index: 2;pointer-events: none;background: url("https://oklasikblog.mycafe24.com/wp-content/uploads/2026/09/bsm-eyeclinic-blog-logo.svg") no-repeat center / contain;}
.main_post_wrap .wp-block-post-featured-image a::after {right: 10px;bottom: 10px;width: 44px;height: 7px;}
.main_post_wrap.main_popular_post_wrap .wp-block-post-featured-image a::after {right: 20px;bottom: 20px;width: 80px;height: 12px;}

/*메인게시글*/
.main_post_wrap, .wp-block-spectra-post-template {width: 100%;}
.main_blog_wrap .wp-block-spectra-container > h2 {font-size: 36px;margin-top: 14px;}
.main_post_wrap h2 {font-weight: 600;}
/* 최신 글 슬라이드: 22px */
.main_popular_post_wrap h2.wp-block-post-title {
  margin: 12px 0 0;
  line-height: 31px;
  height: 62px;
  overflow: hidden;
}
.main_popular_post_wrap h2.wp-block-post-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  line-height: 31px;
  white-space: normal;
  word-break: break-word;
}

/* 카테고리 슬라이드: 18px */
.main_post_wrap:not(.main_popular_post_wrap) h2.wp-block-post-title {
  margin: 12px 0 0;
  line-height: 26px;
  height: 52px;
  overflow: hidden;
}
.main_post_wrap:not(.main_popular_post_wrap) h2.wp-block-post-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  line-height: 26px;
  white-space: normal;
  word-break: break-word;
}
.main_post_wrap.wp-block-spectra-post.spectra-post-layout-carousel .swiper-button-prev {top: -20px !important;right: 46px !important;left: inherit !important;}
.main_post_wrap.wp-block-spectra-post.spectra-post-layout-carousel .swiper-button-next {top: -20px !important;right: 0 !important;}
.single-layout-1 .entry-meta {margin-bottom: 40px !important;padding-bottom: 20px;border-bottom: 1px solid #ccc;}

/*퀵메뉴*/
.bsm-quick-wrap {position: fixed;z-index: 9999;transition: width .5s ease, left .5s ease, right .5s ease, bottom .5s ease;}
.bsm-quick {background-image: linear-gradient(315deg, rgb(77, 175, 131) 0%, rgb(47, 166, 206) 100%);transition: width .5s ease, padding .5s ease, border-radius .5s ease;}
.bsm-quick__item {display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 4px;color: #fff !important;text-decoration: none !important;font-size: 12px;line-height: 1.2;font-weight: 600;transition: height .5s ease, font-size .5s ease, gap .5s ease;}
.bsm-quick__ico {width: 24px;height: 24px;transition: width .5s ease, height .5s ease;}
.bsm-quick__ico svg {width: 100%;height: 100%;fill: none;stroke: currentColor;stroke-width: 1.8;stroke-linecap: round;stroke-linejoin: round;transition: width .5s ease, height .5s ease;}
.bsm-quick-top {display: none;flex-direction: column;align-items: center;justify-content: center;gap: 4px;width: 74px;height: 74px;margin-top: 8px;border-radius: 100%;background: #2d3740;color: #fff !important;text-decoration: none !important;font-size: 12px;font-weight: 600;line-height: 1.2;transition: width .5s ease, height .5s ease, font-size .5s ease, gap .5s ease;}
.bsm-quick-top .bsm-quick__ico {width: 20px;height: 20px;}
.bsm-quick-top svg {width: 100%;height: 100%;fill: currentColor;stroke: currentColor;stroke-width: 20;stroke-linejoin: round;transition: width .5s ease, height .5s ease;}
.bsm-quick-top .bsm-quick__ico svg {fill: currentColor;}

/*사이드바*/
body.single-post.ast-right-sidebar .site-content > .ast-container .sidebar-main {padding-top: 120px;}
body.single-post.ast-right-sidebar .site-content > .ast-container {display: flex;align-items: flex-start;gap: 80px;max-width: 1200px;}
body.single-post.ast-right-sidebar #primary {flex: 1 1 auto;min-width: 0;max-width: 800px;width: auto !important;float: none;margin: 0;}
body.single-post.ast-right-sidebar #secondary {flex: 0 0 320px;width: 320px !important;max-width: 320px;float: none;margin: 0 !important;padding: 0 !important;}
body.single-post.ast-right-sidebar .entry-content .alignfull, body.single-post.ast-right-sidebar .entry-content .alignwide {width: 100% !important;max-width: 100% !important;margin-left: 0 !important;margin-right: 0 !important;}
body.single-post.ast-right-sidebar .entry-content .wp-block-table {max-width: 100%;}
body.single-post.ast-right-sidebar #secondary h2.wp-block-heading {margin: 0 0 8px;padding: 0 0 14px;border-bottom: 1px solid #e6eaee;background: none;-webkit-background-clip: unset;background-clip: unset;-webkit-text-fill-color: unset;color: #101010;font-size: 22px;font-weight: 700;letter-spacing: -0.03em;line-height: 1.4;display: block;}
.bsmeye-wpp {list-style: none;margin: 0;padding: 0;}
.bsmeye-wpp .wpp-item {display: flex;gap: 14px;align-items: center;margin: 0 !important;padding: 16px 0;border-bottom: 1px solid #e6eaee;}
.bsmeye-wpp .wpp-item:last-child {border-bottom: 0;padding-bottom: 0;}
.bsmeye-wpp .wpp-item > a:first-child {flex: 0 0 80px;width: 80px;height: 80px;overflow: hidden;background: #f5f5f5;}
.bsmeye-wpp .wpp-thumbnail {width: 80px;height: 80px;object-fit: cover;display: block;border-radius: 0;}
.bsmeye-wpp .wpp-body {flex: 1;min-width: 0;}
.bsmeye-wpp .wpp-post-title {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;margin: 0 0 6px;font-size: 15px;font-weight: 600;letter-spacing: -0.02em;line-height: 1.45;color: #101010;text-decoration: none;}
.bsmeye-wpp .wpp-post-title:hover {color: #1f8f84;}
.bsmeye-wpp .wpp-date {display: block;font-size: 13px;font-weight: 500;letter-spacing: -0.01em;color: #8a949c;}

/*의료진 카드*/
.entry-content .bsm-author-card {display: flex;gap: 18px;align-items: flex-start;margin: 40px 0 8px;padding: 24px;background: #f7faf9;border: 1px solid #e6eeeb;}
.entry-content .bsm-author-card > a:first-child {position: relative;flex: 0 0 120px;width: 120px;height: 120px;overflow: hidden;background: #e5e5e5;}
.entry-content .bsm-author-card img {position: absolute;left: 50%;width: 160px;height: 160px;max-width: none !important;object-fit: contain;transform: translateX(-50%);background: transparent;margin-top: 10px;}
.entry-content .bsm-author-name a {font-size: 20px;font-weight: 700;color: #17362d;text-decoration: none;}
.entry-content .bsm-author-body p {margin: 8px 0 0;font-size: 15px;line-height: 1.6;color: #5b6b66;}
.all_post_wrap .spectra-post-item {padding: 0 20px !important;}

/* 페이지네이션 */
.ast-pagination {margin: 50px 0 30px;text-align: center;}
.ast-pagination .nav-links,
.navigation.pagination .nav-links {display: flex !important;flex-wrap: nowrap !important;justify-content: center;align-items: center;gap: 6px;width: 100%;max-width: 100%;overflow: hidden;}
.ast-pagination .page-numbers {display: inline-flex !important;align-items: center;justify-content: center;flex: 0 0 40px;width: 40px;min-width: 40px !important;height: 40px !important;padding: 0 !important;margin: 0 !important;font-size: 15px;font-weight: 500;color: #333;background: #fff;border: 1px solid #ddd;text-decoration: none !important;box-sizing: border-box;}
.ast-pagination a.page-numbers:hover {background: #2d3740;border-color: #2d3740;color: #fff;}
.ast-pagination .page-numbers.current {background: #2d3740;border-color: transparent;color: #fff !important;font-weight: 600;}
.ast-pagination .prev,
.ast-pagination .next {flex: 0 0 auto;width: auto;min-width: 64px !important;padding: 0 12px !important;}
.ast-pagination .page-numbers.disabled {background: #f5f5f5 !important;border-color: #e5e5e5 !important;color: #bbb !important;pointer-events: none !important;}
.ast-left-arrow,
.ast-right-arrow {display: none;}

/*serch 검색*/
.ast-archive-entry-banner.custom-search-wrap {max-width:1286px;text-align:left;justify-content:center;padding:100px 0 0;margin:0 auto;width:100%;background-color:#fff;}
.ast-archive-entry-banner.custom-search-wrap .ast-container {width:100%;padding:0;}
.ast-archive-entry-banner.custom-search-wrap .ast-container h1 {margin:0;color:#101010;font-weight:700;font-size:36px;line-height:1.35;letter-spacing:-0.03em;}
.ast-archive-entry-banner.custom-search-wrap .ast-container h1 span{color: #1f8f84;}

/* 기존 Astra 기본 메시지 숨기기 */
.ast-no-results, .no-results, .search-no-results .page-content > p, .search-no-results .page-header, .ast-archive-description + .page-content > p:first-of-type {display: none !important;}
.no-posts-found {display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:400px;padding:48px 40px;box-sizing:border-box;border:1px dashed #ccc;background-color:#f5f5f5;border-radius:12px;}
.no-posts-found .no-posts-title {margin:0 0 8px;font-size:42px;font-weight:700;color:#101010;letter-spacing:-0.03em;line-height:1.4;}
.no-posts-found .no-posts-title span {font-size:inherit;font-weight:inherit;color:inherit;}
.no-posts-found .no-posts-message {display:block;border:none;background:none;border-radius:0;padding:0;margin:0 0 28px;font-size:18px;font-weight:400;color:#8a949c;line-height:1.6;}
.no-posts-search {width:100%;max-width:560px;margin:0 auto;display:flex;align-items:center;gap:12px;border:0;overflow:visible;min-width:0;box-sizing:border-box;}
.no-posts-search-label {display:none;}
.search-input-wrap {position:relative;flex:1 1 auto;min-width:0;display:flex;align-items:center;height:58px;padding:0 48px 0 24px;background:#fff;border:1px solid #e6eaee;border-radius:999px;box-sizing:border-box;}
.no-posts-search-input {width:100% !important;height:28px !important;line-height:28px !important;padding:0 !important;border:0 !important;box-shadow:none !important;font-size:16px;color:#101010;background:transparent !important;outline:none;}
.no-posts-search-btn {flex:0 0 58px;width:58px;height:58px;padding:0;background:#2d3740 !important;border:0;border-radius:50%;font-size:0;cursor:pointer;}
.no-posts-search-btn::after {content:"";display:block;width:20px;height:20px;margin:0 auto;background:url("/wp-content/uploads/2026/07/icon-search.svg") no-repeat center / 20px;filter:brightness(0) invert(1);}
.search-clear-btn {position:absolute;right:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#e8ecef;color:#5b6770;font-size:16px;line-height:28px;cursor:pointer;}
.search-clear-btn:hover {background:#ddd;color:#333;}

.search-no-results.ast-separate-container #primary {margin: 40px auto 150px;}
.ast-blog-featured-section {margin-bottom: 1em;}
.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section:first-child .post-thumb-img-content {margin-top: 0;}
.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section .post-thumb-img-content {margin-left: 0;margin-right: 0;}
.ast-blog-layout-4-grid .blog-layout-4 .post-content .post-thumb-img-content a {display: block;}
.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {padding: 0 20px 0;}
.ast-separate-container.ast-desktop .ast-blog-layout-4-grid .ast-row {margin-left: -20px;margin-right: -20px;}
.search-results.ast-separate-container #primary {margin: 50px auto 150px;}
.search .post-thumb-img-content a, .search .ast-blog-featured-section a, .search-results .post-thumb-img-content a {display: block;width: 100%;aspect-ratio: 16 / 9;overflow: hidden;}
.search .post-thumb-img-content a img, .search .ast-blog-featured-section a img, .search-results .post-thumb-img-content a img {width: 100% !important;height: 100% !important;object-fit: cover !important;object-position: center top;display: block;}
.search-results article.category-doctors .post-thumb-img-content a, .search article.category-doctors .post-thumb-img-content a {background:linear-gradient(0deg, rgb(208,209,213) 0%, rgb(191,190,196) 100%);padding-top: 20px;}

/*의료진*/
.category-doctors {z-index: 1;padding-bottom: 0 !important;}
.category-doctors .ast-no-thumbnail {display: none;}
.category-doctors .doctor-layout {display: flex;align-items: flex-start;gap: 120px;width: 100%;}
.category-doctors .doctor-left {position: sticky;top: 160px;align-self: flex-start;flex: 0 0 40%;}
.category-doctors .doctor-right {flex: 1;min-width: 0;}
body.category-doctors-body-wrap header.entry-header {display: none !important;}
body.category-doctors-body-wrap .profile_wrap, .category-doctors .doctor-layout .profile_wrap {list-style: none !important;width: 100%;height: 350px;margin: 0;padding: 8px 4px 8px 8px !important;overflow-y: auto;background: #f5f5f5;}
body.category-doctors-body-wrap .profile_wrap li, .category-doctors .doctor-layout .profile_wrap li {position: relative;margin: 0;padding: 10px 16px 10px 22px;border-bottom: 1px solid #e8e8e8;font-size: 16px !important;line-height: 1.5;color: #101010 !important;}
body.category-doctors-body-wrap .profile_wrap li:last-child, .category-doctors .doctor-layout .profile_wrap li:last-child {border-bottom: 0;}
body.category-doctors-body-wrap .profile_wrap li::before, .category-doctors .doctor-layout .profile_wrap li::before {content: "";position: absolute;left: 8px;top: 50%;width: 5px;height: 5px;margin-top: -2px;border-radius: 50%;background: #101010;}
body.category-doctors-body-wrap .profile_wrap::-webkit-scrollbar {width: 6px;}
body.category-doctors-body-wrap .profile_wrap::-webkit-scrollbar-thumb {background: #cfcfcf;}
body.category-doctors-body-wrap .profile_wrap::-webkit-scrollbar-track {background: transparent;}
.category-doctors .spectra-post-item {padding: 0 !important;}
.site .ast-single-related-posts-container {display: none;}
.category-doctors-body-wrap .site .ast-single-related-posts-container {display: block;}
.doctor-name-wrap {margin-top: 20px !important;font-weight: 400;}
.doctor-name-wrap strong {color: #101010;}
.doctor-right h2.wp-block-heading {position: relative;display: inline-block;}
.doctor-right h2.wp-block-heading::after {content: "";position: absolute;top: 0;right: -12px;width: 8px;height: 8px;border-radius: 50%;background: linear-gradient(315deg, #4daf83 0%, #2fa6ce 100%);z-index: -1;}
body.category-doctors-body-wrap .doctor_message_one_word.wp-block-paragraph {margin: 26px 0 80px !important;font-weight: 600;font-size: 20px !important;font-style: italic;}
.doctor_message_wrap h3 {margin: 26px 0 10px;}
:root :where(.is-layout-flow) > * {margin-top: 0;}
.doctor-right .wp-block-post-title a {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;line-height: 1.4;}
.cat-links {font-size: 0;}
.cat-links a {font-size: 16px;display: inline-block;}
.cat-links a[href$="/doctors/"], .cat-links a[href$="/doctors"] {display: none !important;}
.cat-links a[href$="/doctors/"], .cat-links a[href$="/doctors"] {display: none !important;}
span.ast-blog-single-element.ast-taxonomy-container.cat-links.default {display: none;}
.category-doctors span.ast-blog-single-element.ast-taxonomy-container.cat-links.default {display: block;margin-bottom: 0;line-height: 20px;}
.category-doctors span.ast-blog-single-element.ast-taxonomy-container.cat-links.default a {font-size: 16px;display: inline-block;}
.category-doctors .ast-blog-meta-container {display: none;}
.category-doctors .ast-article-post .post-thumb-img-content a {background: linear-gradient(0deg, rgb(208, 209, 213) 0%, rgb(191, 190, 196) 100%);padding-top: 60px;}
.category-doctors .ast-article-post .post-thumb-img-content img {aspect-ratio: 1/1;}
body.category-doctors-body-wrap h3.wp-block-heading {font-size: 20px !important;}
body.category-doctors-body-wrap .wp-block-paragraph {font-size: 16px !important;}
.bsm-doctors-more {width: 100%;padding: 150px 0;overflow: hidden;background: #f5f5f5;container-type: inline-size;}
.bsm-doctors-head {display: flex;align-items: center;justify-content: space-between;max-width: 1240px;margin: 0 auto 28px;padding: 0;}
.bsm-doctors-more-title {margin: 0;font-size: 32px;font-weight: 700;color: #101010;}
.bsm-doctors-arrows {display: flex;gap: 8px;}
.bsm-doctors-prev, .bsm-doctors-next {display: flex;align-items: center;justify-content: center;width: 36px;height: 36px;padding: 0;border: 0;border-radius: 50%;background: rgba(0, 0, 0, 0.5);color: #fff;cursor: pointer;transition: all 0.3s ease;}
.bsm-doctors-prev svg, .bsm-doctors-next svg {display: block;width: 20px;height: 20px;fill: #fff;}
.bsm-doctors-prev.is-off, .bsm-doctors-next.is-off {opacity: 0.35;pointer-events: none;}
.bsm-doctors-viewport {width: 100%;max-width: 100%;overflow: hidden;cursor: grab;user-select: none;touch-action: pan-y;}
.bsm-doctors-track {display: flex;gap: 40px;width: max-content;margin: 0;padding-left: max(20px, calc((100cqi - 1240px) / 2));padding-right: max(20px, calc((100cqi - 1240px) / 2));list-style: none;will-change: transform;backface-visibility: hidden;-webkit-backface-visibility: hidden;}
.bsm-doctors-card {flex: 0 0 calc((1240px - 80px) / 3);width: calc((1240px - 80px) / 3);box-sizing: border-box;}
.bsm-doctors-viewport::-webkit-scrollbar {display: none;}
.bsm-doctors-card a {user-select: none;}
.bsm-doctors-photo {position: relative;display: block;width: 100%;margin-bottom: 14px;overflow: hidden;padding-top: 60px;background: linear-gradient(0deg, #d0d1d5 0%, #bfbec4 100%);}
.bsm-doctors-photo img {display: block;position: relative;left: 50%;max-width: none;width: 100%;height: auto;transform: translateX(-50%);transition: transform 0.5s ease;-webkit-user-drag: none;pointer-events: none;}
.bsm-doctors-card:hover .bsm-doctors-photo img {transform: translateX(-50%) scale(1.1);}
.bsm-doctors-role {display: block;font-size: 16px;color: #666;font-weight: 600;}
.bsm-doctors-card strong {display: block;margin-top: 4px;font-size: 24px;font-weight: 700;color: #101010;}

.category-doctors h1{margin-bottom: 0 !important;}
.category-doctors .ast-archive-entry-banner .ast-container {display: flex;align-items: flex-end;justify-content: space-between;gap: 16px;}
.category-doctors .bsm-doctors-updated {position: static;top: auto;right: auto;margin: 0 0 6px;white-space: nowrap;font-size: 16px !important;}


/* =========================================================
   헤더 버튼 (전체메뉴 / 블로그 / 검색)
   ========================================================= */
#masthead button.bsm-allmenu-btn, #masthead button.bsm-allmenu-btn:hover, #masthead button.bsm-allmenu-btn:focus, #masthead button.bsm-allmenu-btn:active, button.bsm-allmenu-btn {display:inline-flex !important;align-items:center;justify-content:center;width:44px !important;height:44px !important;min-width:44px !important;margin:0 -8px 0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;background-image:none !important;box-shadow:none !important;color:#fff !important;appearance:none !important;cursor:pointer;}
.bsm-allmenu-ico, .bsm-allmenu-ico svg {display:block;width:28px;height:28px;}
.bsm-allmenu-txt {display:none !important;}
.ast-builder-layout-element.ast-flex.site-header-focus-item{padding: 0;}
.menu-toggle.ast-mobile-menu-trigger-outline, #ast-mobile-header .menu-toggle.main-header-menu-toggle {display:flex !important;align-items:center;justify-content:center;border:0 !important;background:none !important;width:44px !important;height:44px !important;min-width:44px !important;flex:0 0 44px;padding:0 !important;color:#101010;visibility:visible !important;opacity:1 !important;margin-right: -8px !important;}
#ast-mobile-header .menu-toggle .ast-mobile-svg {display:none !important;}
#ast-mobile-header .menu-toggle .bsm-blogmenu-ico, #ast-mobile-header .menu-toggle .bsm-blogmenu-ico svg {display:block;width:28px;height:28px;color:inherit;}
.ast-mobile-popup-drawer .bsm-blogmenu-ico {display:none !important;}
#menu-toggle-close .ast-close-svg {display:block !important;}
.ast-header-search .search-form, .ast-search-menu-icon .search-form {display:none !important;visibility:hidden !important;pointer-events:none !important;}
.ast-header-search .ast-search-icon, .ast-header-search .astra-search-icon {position:relative;display:inline-flex !important;align-items:center;justify-content:center;width:44px !important;height:44px !important;margin:0;padding:0;box-sizing:border-box;cursor:pointer !important;}
.ast-header-search .ast-icon.icon-search {display:block;width:26px;height:26px;background:none;position:relative;}
.ast-header-search .ast-icon.icon-search::before {content:"";position:absolute;inset:0;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / 26px no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / 26px no-repeat;}
.ast-header-search .ast-icon.icon-search svg, .ast-header-search .search-submit {display:none !important;}
.ast-header-search .astra-search-icon::before, .ast-header-search .astra-search-icon::after {content:none !important;display:none !important;}
body.bsm-search-open .ast-header-search .ast-icon.icon-search {opacity:1;filter:brightness(0) invert(1);}
#ast-mobile-header .site-header-primary-section-right {display:flex;align-items:center;justify-content:flex-end;gap:0;padding:0 !important;margin:0 !important;}
#ast-mobile-header .ast-header-search {margin-right:-8px !important;}
#ast-mobile-header .ast-header-search + .ast-header-search {display:none !important;}

/* =========================================================
   블로그 모바일 메뉴
   ========================================================= */
.ast-mobile-header-wrap .ast-button-wrap .menu-toggle.main-header-menu-toggle {margin:0;}
body.ast-main-header-nav-open .bsm-quick-wrap, body.bsm-allmenu-open .bsm-quick-wrap {display:none !important;}
html.bsm-nav-lock, html.bsm-nav-lock body, html.bsm-search-open, html.bsm-search-open body, body.bsm-search-open {overflow:hidden !important;overscroll-behavior:none;}
#ast-mobile-popup, .ast-mobile-popup-drawer {z-index:2147483000 !important;}
#ast-mobile-popup .ast-mobile-popup-overlay {background:rgba(16,24,32,.4);transition:opacity .3s ease;}
#ast-mobile-popup .ast-mobile-popup-inner {position:fixed !important;inset:0 !important;width:100% !important;max-width:100% !important;height:100% !important;background:#fff !important;box-shadow:none !important;transform:none !important;opacity:0;transition:opacity .3s ease;}
#ast-mobile-popup.active .ast-mobile-popup-inner, #ast-mobile-popup.show .ast-mobile-popup-inner {opacity:1;}
#ast-mobile-popup .ast-mobile-popup-header {display:flex !important;align-items:center !important;justify-content:space-between !important;box-sizing:border-box;height:60px !important;min-height:60px !important;padding:0 20px !important;border-bottom:1px solid #eee;background:#fff;}
#ast-mobile-popup .ast-mobile-popup-header::before {display:none !important;content:none !important;}
.bsm-mnav-logo {display:flex;align-items:center;line-height:0;}
.bsm-mnav-logo img, #ast-mobile-header .custom-logo, #ast-mobile-header .custom-logo-link img, #ast-mobile-header .site-logo-img img {display:block;width:130px !important;height:auto !important;max-width:none !important;}
#menu-toggle-close, #menu-toggle-close:hover, #menu-toggle-close:focus, .ast-mobile-popup-drawer.active #menu-toggle-close {display:flex !important;align-items:center !important;justify-content:center;width:44px !important;height:44px !important;margin:0 -8px 0 !important;padding:0 !important;border:0 !important;background:transparent !important;color:#101010 !important;font-size:0 !important;box-shadow:none !important;outline:none !important;}
#menu-toggle-close svg {display:block;width:30px !important;height:30px !important;margin:0 !important;}
#ast-mobile-popup .ast-mobile-popup-content {padding:12px 20px 140px !important;}
#ast-mobile-popup .ast-mobile-popup-content > * {padding:0 !important;}
#ast-mobile-popup .ast-mobile-popup-content .ast-icon svg {margin-top:0 !important;}
#ast-hf-mobile-menu > .menu-item {position:relative;display:block !important;margin:0;padding:0;min-height:56px;border-bottom:1px solid #eee;overflow:visible;text-align:left !important;}
#ast-hf-mobile-menu .menu-link .ast-icon, #ast-hf-mobile-menu .menu-link .dropdown-menu-toggle {display:none !important;}
#ast-hf-mobile-menu > .menu-item {position:relative;display:flex;align-items:center;margin:0;padding:0;min-height:56px;border-bottom:1px solid #eee;overflow:visible;}
#ast-hf-mobile-menu > .menu-item > .menu-link {display:inline-flex !important;align-items:center;justify-content:flex-start !important;width:auto !important;max-width:calc(100% - 52px);height:56px;min-height:56px;margin:0 !important;padding:0 !important;font-size:18px !important;font-weight:700 !important;letter-spacing:-0.03em;line-height:1.3;color:#101010 !important;-webkit-text-fill-color:#101010;text-decoration:none !important;background:none !important;border:0 !important;text-align:left !important;transition:color .5s ease;}
#ast-hf-mobile-menu > .menu-item.current-menu-item > .menu-link, #ast-hf-mobile-menu > .menu-item.current-menu-ancestor > .menu-link, #ast-hf-mobile-menu .sub-menu .menu-item.current-menu-item > .menu-link {color:#2fa6ce !important;background:none !important;-webkit-text-fill-color:#2fa6ce !important;}
#ast-mobile-popup #ast-hf-mobile-menu .menu-item-has-children {display:block;position:relative;}
#ast-mobile-popup #ast-hf-mobile-menu .menu-item-has-children > .ast-menu-toggle {display:flex !important;align-items:center !important;justify-content:center;position:absolute !important;top:0 !important;right:0 !important;left:auto !important;width:44px !important;height:56px !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;background-image:none !important;box-shadow:none !important;outline:none !important;appearance:none !important;-webkit-appearance:none !important;transform:none !important;line-height:0 !important;}
#ast-mobile-popup #ast-hf-mobile-menu .menu-item-has-children > .ast-menu-toggle .ast-icon {display:flex !important;align-items:center !important;justify-content:center !important;width:14px !important;height:14px !important;margin:0 !important;line-height:0 !important;}
#ast-mobile-popup #ast-hf-mobile-menu .menu-item-has-children > .ast-menu-toggle svg {display:block !important;width:14px !important;height:14px !important;margin:0 !important;fill:#101010 !important;stroke:none !important;transition:transform .5s ease;}
#ast-mobile-popup #ast-hf-mobile-menu .menu-item-has-children.ast-submenu-expanded > .ast-menu-toggle svg {transform:rotate(180deg);}
#ast-mobile-popup #ast-hf-mobile-menu .sub-menu {display:block !important;flex:1 1 100%;max-height:0;opacity:0;overflow:hidden;visibility:hidden;margin:0;padding:0 0 0 12px;background:none !important;border:0 !important;box-shadow:none !important;transition:max-height .5s ease, opacity .5s ease, visibility .5s ease;}
#ast-mobile-popup #ast-hf-mobile-menu .menu-item-has-children.ast-submenu-expanded > .sub-menu {max-height:480px;opacity:1;visibility:visible;padding:0 12px 8px;}
#ast-hf-mobile-menu .sub-menu .menu-item {margin:0;padding:0;border-bottom:1px solid #f0f0f0;}
#ast-hf-mobile-menu .sub-menu .menu-item:last-child {border-bottom:0;}
#ast-hf-mobile-menu .sub-menu .menu-link {display:block !important;width:100%;min-height:0 !important;padding:12px 8px !important;font-size:16px !important;font-weight:600 !important;color:#555 !important;-webkit-text-fill-color:#555;background:none !important;border:0 !important;}
#ast-hf-mobile-menu a:focus, #ast-hf-mobile-menu button:focus {outline:none !important;box-shadow:none !important;}

/* =========================================================
   전체메뉴 패널
   ========================================================= */
.bsm-allmenu {position:fixed;inset:0;z-index:100010;width:100%;height:100%;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease, visibility .3s ease;}
.bsm-allmenu.is-open {opacity:1;visibility:visible;pointer-events:auto;}
.bsm-allmenu__panel {display:flex;flex-direction:column;width:100%;height:100%;background:#fff;}
.bsm-allmenu__head {display:flex;align-items:center;justify-content:space-between;flex:0 0 80px;height:80px;padding:0 40px;background-image:linear-gradient(315deg, rgb(77,175,131) 0%, rgb(47,166,206) 100%);}
.bsm-allmenu__logo {display:flex;align-items:center;line-height:0;}
.bsm-home-logo img, .bsm-allmenu__logo img {display:block;width:176px;height:auto;}
.bsm-allmenu__close {display:flex !important;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0 -8px 0;padding:0;border:0 !important;border-radius:0 !important;background:transparent !important;background-image:none !important;box-shadow:none !important;outline:none !important;color:#fff !important;appearance:none !important;-webkit-appearance:none !important;cursor:pointer;}
.bsm-allmenu__close span {display:none !important;}
.bsm-allmenu__close i {position:relative;display:block;width:28px;height:28px;}
.bsm-allmenu__close i::before, .bsm-allmenu__close i::after {content:"";position:absolute;left:2px;top:13px;width:24px;height:1.6px;background:#fff;border-radius:0;}
.bsm-allmenu__close i::before {transform:rotate(45deg);}
.bsm-allmenu__close i::after {transform:rotate(-45deg);}
body.bsm-allmenu-open {overflow:hidden;}
.bsm-allmenu__body {flex:1;overflow:auto;padding:32px 40px 40px;}
.bsm-oklasik-menu > ul.list {display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));gap:12px 40px;width:100%;margin:0;list-style:none;padding:0;}
.bsm-oklasik-menu .depth1 {margin:0;padding:0;}
.bsm-oklasik-menu .depth1 > a {display:block;margin:0 0 14px;padding:0 0 8px;border:0;border-bottom:1px solid #101010;font-size:18px;font-weight:800;line-height:1.3;color:#101010 !important;text-decoration:none !important;}
.bsm-oklasik-menu .depth2 {display:flex;flex-direction:column;list-style:none;margin:0;padding:0;}
.bsm-oklasik-menu .depth2 a {display:block;padding:6px 0;font-size:17px;font-weight:400;line-height:1.5;color:#5b6770 !important;text-decoration:none !important;background:none !important;}
.bsm-oklasik-menu .depth2 ul {list-style:none;margin:0 0 6px 10px;padding:0;}
.bsm-oklasik-menu .depth2 ul a {font-size:16px;color:#8a949c !important;}
.bsm-oklasik-menu li:empty {display:none;}
.bsm-allmenu-acc {display:none;}

/* =========================================================
   검색 팝업
   ========================================================= */
.bsm-search {position:fixed;inset:0;z-index:100000;opacity:0;visibility:hidden;pointer-events:none;}
.bsm-search.is-open {opacity:1;visibility:visible;pointer-events:auto;}
.bsm-search__dim {position:absolute;inset:0;background:rgba(16,24,32,.4);}
.bsm-search__panel {position:absolute;left:0;right:0;top:0;z-index:1;padding:calc(var(--bsm-header-h, 80px) + 40px) 20px 30px;background-image:linear-gradient(315deg, rgb(77,175,131) 0%, rgb(47,166,206) 100%);box-shadow:none;}
.bsm-search__form, .bsm-search__keys, .bsm-search__close {opacity:0;transform:translateY(-12px);transition:opacity .3s ease, transform .3s ease;}
.bsm-search.is-open .bsm-search__form, .bsm-search.is-open .bsm-search__keys, .bsm-search.is-open .bsm-search__close {opacity:1;transform:none;}
.bsm-search__form {display:block;max-width:760px;margin:0 auto;padding:0;height:auto;background:none;}
.bsm-search__field, .search-input-wrap {position:relative;display:flex;align-items:center;width:100%;height:58px;padding:0 56px 0 24px;background:#fff;border-radius:999px;box-sizing:border-box;}
.search-input-wrap {border:1px solid #e6eaee;max-width:560px;margin:0 auto;}
.bsm-search__input, .no-posts-search-input {display:block;width:100% !important;height:28px !important;line-height:28px !important;margin:0 !important;padding:0 !important;border:0 !important;outline:none !important;box-shadow:none !important;font-size:16px;color:#101010 !important;background:transparent !important;appearance:none;-webkit-appearance:none;}
.bsm-search__input::-webkit-search-cancel-button, .no-posts-search-input::-webkit-search-cancel-button {display:none;}
.bsm-infield-btn {position:absolute;top:50%;right:8px;transform:translateY(-50%);width:42px;height:42px;margin:0;padding:0;border:0;border-radius:50%;background:#2d3740 !important;color:#fff !important;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.bsm-infield-btn svg {display:block;width:24px;height:24px;}
.bsm-infield-btn .ico-clear {display:none;}
.has-value .bsm-infield-btn .ico-search {display:none;}
.has-value .bsm-infield-btn .ico-clear {display:block;}
.bsm-search__clear, .bsm-search__submit, .no-posts-search-btn, .search-clear-btn {display:none !important;}
.no-posts-search {width:100%;max-width:560px;margin:0 auto;display:block;border:0;}
.bsm-search__keys {display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:8px;max-width:760px;margin:20px auto 0;}
.bsm-search__keys em {flex:0 0 auto;font-style:normal;color:#fff;font-size:14px;font-weight:700;}
.bsm-search__keys a {padding:8px 12px;border:1px solid rgba(255,255,255,.7);border-radius:999px;color:#fff !important;font-size:14px;line-height:14px;font-weight:700;text-decoration:none !important;background:transparent !important;}
.bsm-search__keys a:hover {background:#fff !important;color:#2fa6ce !important;}
.bsm-search__close {display:flex !important;align-items:center;justify-content:center;width:40px;height:40px;margin:36px auto 0;padding:0;border:1px solid #fff !important;border-radius:50%;background:transparent !important;background-image:none !important;box-shadow:none !important;color:transparent !important;font-size:0 !important;cursor:pointer;position:relative;}
.bsm-search__close::before, .bsm-search__close::after {content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;margin:-1px 0 0 -8px;background:#fff;}
.bsm-search__close::before {transform:rotate(45deg);}
.bsm-search__close::after {transform:rotate(-45deg);}
body.bsm-search-open #ast-mobile-header:has(.ast-main-header-wrap.is-fixed) .ast-above-header-bar {opacity:0;pointer-events:none;}
body.bsm-search-open #masthead, body.bsm-search-open #ast-desktop-header, body.bsm-search-open #ast-mobile-header, body.bsm-search-open .site-header {z-index:100001 !important;}
body.bsm-search-open .ast-above-header-bar, body.bsm-search-open .ast-primary-header-bar, body.bsm-search-open .main-header-bar, body.bsm-search-open #ast-mobile-header .ast-above-header-bar, body.bsm-search-open #ast-mobile-header .ast-main-header-wrap, body.bsm-search-open #ast-mobile-header .ast-main-header-wrap.is-fixed {background:transparent !important;background-image:none !important;background-color:transparent !important;box-shadow:none !important;transition:none !important;}
body.bsm-search-open #masthead .menu-link, body.bsm-search-open #ast-mobile-header .menu-link {color:#fff !important;-webkit-text-fill-color:#fff;border-image:none !important;}
body.bsm-search-open .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link, body.bsm-search-open .ast-builder-menu-1 .current-menu-ancestor > .menu-link {border-bottom:3px solid #fff;}
body.bsm-search-open .bsm-home-logo img {filter:none !important;}
.custom-logo, .custom-logo-link img, .site-logo-img img {transition:none !important;}
body.bsm-search-open .custom-logo, body.bsm-search-open .custom-logo-link img, body.bsm-search-open .site-logo-img img {filter:brightness(0) invert(1);transition:none !important;}
body.bsm-search-open .menu-toggle, body.bsm-search-open .ast-mobile-menu-trigger-outline {color:#fff !important;border-color:#fff !important;}

/* =========================================================
   반응형 — 사이즈별 한곳
   ========================================================= */
/* PC 전체메뉴 */
@media (min-width: 1024px) {
    .bsm-allmenu__body {display:flex;flex-direction:column;align-items:center;padding:0 40px;}
    .bsm-oklasik-menu {width:100%;max-width:1400px;margin-block:auto;margin-inline:auto;padding:48px 0;}
    .bsm-oklasik-menu > ul.list {max-width:none;margin:0;width:100%;}
    .bsm-oklasik-menu .depth1 > a {font-size:20px;}
    .bsm-oklasik-menu .depth2 a {font-size:17px;}
    .bsm-oklasik-menu .depth2 ul a {font-size:16px;}
    .bsm-allmenu-acc {display:none !important;}
}

/* PC */
@media (min-width: 768px) {
    .bsm-quick-wrap {right: 20px;bottom: 2%;display: flex;flex-direction: column;align-items: center;}
    .bsm-quick {width: 74px;border-radius: 37px;overflow: hidden;padding: 6px 0;}
    .bsm-quick__item {height: 74px;border-bottom: 1px solid rgba(255, 255, 255, .22);}
    .bsm-quick__item:last-child {border-bottom: 0;}
    .bsm-quick.is-compact {width: 54px;}
    .bsm-quick.is-compact .bsm-quick__item {height: 54px;font-size: 0px;gap: 3px;}
    .bsm-quick.is-compact .bsm-quick__ico {width: 20px;height: 20px;}
    .bsm-quick.is-compact .bsm-quick__txt {opacity: 1 !important;max-height: none !important;overflow: visible;}
    .bsm-quick-top {display: flex;}
    .bsm-quick-wrap.is-compact .bsm-quick-top {width: 54px;height: 54px;font-size: 0;gap: 0;}
    .bsm-quick-wrap.is-compact .bsm-quick-top .bsm-quick__ico {width: 16px;height: 16px;}
}

/* 태블릿 이하 */
@media (max-width: 1023px) {
    .bsm-doctors-more {width: 100%;max-width: 100%;margin-left: 0;}
    .bsm-doctors-track {gap: 20px;padding-left: 20px;padding-right: 20px;}
    .bsm-doctors-card {flex: 0 0 calc((100cqi - 80px) / 2);width: calc((100cqi - 80px) / 2);}
}

/* 헤더 브레이크포인트 */
@media (max-width: 921px) {
    .bsm-home-logo img, .bsm-allmenu__logo img {width:140px !important;}
    #ast-mobile-header .site-header-above-section-right, #ast-mobile-header .site-header-primary-section-right, #ast-mobile-header .ast-button-wrap {padding:0 !important;margin:0 !important;}
    .bsm-allmenu__close, #menu-toggle-close {justify-content:center!important;}
    #ast-mobile-header .ast-main-header-wrap.is-fixed {position: fixed !important;top: 0 !important;left: 0 !important;right: 0 !important;width: 100% !important;z-index: 9990;background: #fff;box-shadow: 0 2px 8px rgba(0, 0, 0, .06);}
    .bsm-allmenu__head {display:flex;align-items:center;justify-content:space-between;flex-basis:50px;height:50px;padding:0 20px;}
    .bsm-allmenu__logo {position:static;left:auto;right:auto;top:auto;transform:none;}
    .bsm-allmenu__logo img {width:140px;}
    .bsm-allmenu__close {position:static;left:auto;right:auto;top:auto;transform:none;justify-content:center;}
    .bsm-allmenu__body {padding:12px 20px 140px;display:block;}
    .bsm-oklasik-menu {margin:0;padding:0;max-width:none;}
    .bsm-oklasik-menu > ul.list {display:block;max-width:none;margin:0;padding:0;gap:0;}
    .bsm-oklasik-menu .depth1 {position:relative;display:block !important;margin:0;padding:0;min-height:56px;border-bottom:1px solid #eee;overflow:visible;text-align:left !important;}
    .bsm-oklasik-menu .depth1 > a {display:inline-flex !important;align-items:center;justify-content:flex-start !important;width:auto !important;max-width:calc(100% - 52px);height:56px;min-height:56px;margin:0 !important;padding:0;border:0;font-size:18px;text-align:left !important;}
    .bsm-oklasik-menu .depth1 > .depth2 {max-height:0;overflow:hidden;visibility:visible;opacity:1;padding:0 0 0 12px;transition:max-height .5s ease;}
    .bsm-oklasik-menu .depth1.is-open > .depth2 {padding:0 12px 8px;}
    .bsm-oklasik-menu .depth2 a {padding:10px 0;font-size:16px;}
    .bsm-oklasik-menu .depth2 ul {margin:0 0 8px 12px;}
    .bsm-oklasik-menu .depth2 ul a {font-size:15px;}
    .bsm-allmenu-acc {display:flex !important;align-items:center !important;justify-content:center!important;position:absolute;top:0;right:0;z-index:2;width:44px;height:56px;margin:0;padding:0;border:0 !important;border-radius:0 !important;background:transparent !important;background-image:none !important;box-shadow:none !important;outline:none !important;appearance:none !important;-webkit-appearance:none !important;color:#101010;cursor:pointer;line-height:0 !important;overflow:visible !important;opacity:1 !important;visibility:visible !important;}
    .bsm-allmenu-acc svg {display:block !important;width:14px;height:14px;margin:0;fill:#101010 !important;stroke:none !important;transform-origin:center;overflow:visible;transition:transform .5s ease;}
    .bsm-oklasik-menu .depth1.is-open > .bsm-allmenu-acc svg {transform:rotate(180deg);}
    #ast-mobile-header .ast-header-search, #ast-mobile-header .ast-search-menu-icon, #ast-mobile-header .menu-toggle {width:44px !important;height:44px !important;margin:0 !important;padding:0 !important;}
    #ast-mobile-popup .ast-mobile-popup-header {height:60px !important;}
    
    /* 단일 게시글 반응형 */
    .ast-separate-container #content .ast-container {padding-left: 0 !important;padding-right: 0 !important;gap: 0;}
    body.single-post.ast-right-sidebar #primary,
    body.single-post.ast-right-sidebar #secondary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body.single-post.ast-right-sidebar .ast-article-single {
        padding: 36px 20px !important;
    }
    body.single-post.ast-right-sidebar .entry-title {
        font-size: 26px !important;
        line-height: 1.4 !important;
    }
    body.single-post.ast-right-sidebar .entry-content > p,
    body.single-post.ast-right-sidebar .entry-content > .wp-block-paragraph {
        font-size: 16px !important;
    }
    body.single-post.ast-right-sidebar .entry-content > h2, body.single-post.ast-right-sidebar .entry-content > .wp-block-heading {
        font-size: 18px !important;
        margin: 36px 0 12px !important;
    }
    body.single-post.ast-right-sidebar .entry-content .wp-block-image,
    body.single-post.ast-right-sidebar .entry-content .wp-block-image img,
    body.single-post.ast-right-sidebar .entry-content figure {
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0;
        margin-right: 0;
    }

    /* 표: 가로는 스크롤, 글자는 줄바꿈 안 함 */
    body.single-post.ast-right-sidebar .entry-content .wp-block-table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 태그 */
    body.single-post.ast-right-sidebar .taxonomy-post_tag.wp-block-post-terms {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    body.single-post.ast-right-sidebar .wp-block-post-terms__separator {
        display: none;
    }
    body.single-post.ast-right-sidebar a[rel="tag"],
    body.single-post.ast-right-sidebar .wp-block-post-terms a {
        margin: 0;
    }
    
    /* 원장 카드 */
    body.single-post.ast-right-sidebar .bsm-author-card {
        display: block;
        padding: 20px;
        margin: 28px 0;
    }
    body.single-post.ast-right-sidebar .bsm-author-card::after {
        content: "";
        display: block;
        clear: both;
    }
    body.single-post.ast-right-sidebar .bsm-author-card > a {
        float: left;
        width: 38%;
        max-width: 120px;
        margin: 0 16px 0 0;
    }
    body.single-post.ast-right-sidebar .bsm-author-card img {
        display: block;
        width: 120% !important;
        height: auto !important;
        object-fit: cover;
    }
    body.single-post.ast-right-sidebar .bsm-author-body {
        overflow: visible;
    }
    body.single-post.ast-right-sidebar .bsm-author-name {
        display: block;
        margin-bottom: 6px;
    }
    body.single-post.ast-right-sidebar .bsm-author-body p {
        margin: 0;
        font-size: 14px;
        line-height: 1.66;
        word-break: break-all;
        word-wrap: break-word;
    }

    /* 같이 보면 좋은 글 */
    body.single-post.ast-right-sidebar .spectra-post-loop-wrapper {
        display: grid !important;
        grid-template-columns: calc((100% - 20px) / 2) calc((100% - 20px) / 2) !important;
        gap: 20px !important;
    }
    body.single-post.ast-right-sidebar .spectra-post-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.single-post.ast-right-sidebar .spectra-post-item .is-nowrap {
        flex-wrap: wrap !important;
        white-space: normal !important;
        padding: 10px 0 0 0;
    }
    body.single-post.ast-right-sidebar .spectra-post-item .wp-block-post-title {
        display: block;
        overflow: hidden;
        font-size: 16px !important;
        line-height: 1.4;
        min-height: calc(1.4em * 2);
    }
    body.single-post.ast-right-sidebar .spectra-post-item .wp-block-post-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
        line-height: 1.4;
    }

    /* 사이드바 많이 본 글 */
    body.single-post.ast-right-sidebar .site-content > .ast-container .sidebar-main {padding-top: 0;}
    body.single-post.ast-right-sidebar #secondary {margin-top: 20px;padding: 0 20px 80px !important;}
    body.single-post.ast-right-sidebar #secondary h2.wp-block-heading{font-size: 18px;}
    body.single-post.ast-right-sidebar .wpp-item {display: flex;align-items: center;gap: 12px;margin: 0 0 14px;}
    body.single-post.ast-right-sidebar .wpp-post-title {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;font-size: 16px;line-height: 1.4;}
    .bsmeye-wpp .wpp-date{font-size: 14px;}
    
    .ast-archive-entry-banner.custom-search-wrap {padding:60px 20px 0;}
    .ast-archive-entry-banner.custom-search-wrap .ast-container h1 {font-size:36px;}
}

/* 모바일 */
@media (max-width: 767px) {
    /* 헤더 로고 */
    .bsm-home-logo img, .bsm-allmenu__logo img {width:130px !important;}
    #ast-mobile-popup .ast-mobile-popup-header {height:60px !important;min-height:60px !important;padding:0 20px !important;}
    .bsm-search__form {gap:8px;}
    .bsm-search__field {height:52px;padding:0 52px 0 18px;}
    .bsm-search__input {font-size:15px;}
    .bsm-search button.bsm-search__submit {flex-basis:48px;width:48px;height:48px;}
    /* 퀵메뉴 */
    .bsm-quick-wrap {left: 5%;right: 5%;width: 90%;bottom: 6px !important;top: auto !important;transform: none !important;margin: 0 auto;}
    .bsm-quick-wrap.is-compact {left: 15%;right: 15%;width: 70%;bottom: 12px !important;}
    .bsm-quick {display: flex;align-items: stretch;height: auto;overflow: hidden;border-radius: 0;padding: 0;padding-bottom: env(safe-area-inset-bottom, 0px);box-sizing: border-box !important;}
    .bsm-quick-wrap .bsm-quick {padding: 0 10px;padding-bottom: 0;border-radius: 34px;}
    .bsm-quick__item {flex: 1;height: 68px !important;min-height: 68px !important;gap: 2px;box-sizing: border-box !important;}
    .bsm-quick__txt {display: block;font-size: 10px;font-weight: 700; max-height: 14px;overflow: hidden;transition: font-size .5s ease, max-height .5s ease, opacity .5s ease;}
    .bsm-quick.is-compact .bsm-quick__item {gap: 0;height: 54px !important;min-height: 54px !important;}
    .bsm-quick.is-compact .bsm-quick__ico {width: 20px;height: 20px;}
    .bsm-quick.is-compact .bsm-quick__txt {font-size: 0;max-height: 0;opacity: 0;}
    .bsm-quick-top {display: none !important;}
    /* 푸터 */
    .site-footer .wp-block-spectra-container {padding: 0;}
    .footer_col3_wrap {display: flex !important;flex-direction: column !important;gap: 32px !important;width: 100% !important;padding: 40px 20px 8px !important;}
    .footer_col3_wrap > div {display: block !important;width: 100% !important;max-width: 100% !important;justify-content: flex-start !important;flex-wrap: wrap !important;}
    /* 공통 제목 */
    .footer_col3_wrap .footer_col1_cont > div:first-child, .footer_col3_wrap .footer_col2_cont > div:first-child, .footer_col3_wrap .footer_col3_cont > div:first-child {margin-bottom: 12px;font-size: 15px;font-weight: 700;}
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row, .site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {max-width: 100%;padding-left: 20px !important;padding-right: 20px !important;padding-bottom: 60px !important;}
    .footer_col3_wrap {padding-left: 0 !important;padding-right: 0 !important;}
    .site-below-footer-wrap {padding-left: 0 !important;padding-right: 0 !important;}
    /* 1. 오시는 길 */
    .footer_col3_wrap .footer_col1_cont {width: 100%;}
    .footer_col3_wrap .footer_col1_cont address {margin-bottom: 14px;font-size: 14px;line-height: 1.6;word-break: keep-all;}
    .footer_col3_wrap .footer_col1_cont .footer_map_wrap {display: flex;flex-wrap: wrap;gap: 8px;font-size: 0;}
    .footer_col3_wrap .footer_col1_cont .footer_map_wrap a {flex: 1 1 calc(33.33% - 6px);width: auto !important;min-width: 0;height: 44px !important;margin: 0 !important;padding: 0 6px !important;}
    .footer_col3_wrap .footer_col1_cont .footer_map_wrap span {font-size: 12px;}
    /* 2. 진료시간 */
    .footer_col3_wrap .footer_col2_cont {width: 100%;}
    .footer_col3_wrap .footer_col2_cont ul {width: 100%;margin: 0 0 12px;padding: 0;list-style: none;}
    .footer_col3_wrap .footer_col2_cont li {display: flex;justify-content: space-between;align-items: center;margin: 0 0 8px;font-size: 14px;line-height: 1.4;}
    .footer_col3_wrap .footer_col2_cont li:last-child {margin-bottom: 0;}
    .footer_col3_wrap .footer_col2_cont p {margin: 0;font-size: 13px;line-height: 1.5;color: #aaa;}
    .footer_col3_wrap .footer_col2_cont p + p {margin-top: 4px;}
    /* 3. 대표전화 + 채널 */
    .footer_col3_wrap .footer_col3_cont {width: 100%;}
    .footer_col3_wrap .footer_col3_cont p {margin: 0 0 20px;}
    .footer_col3_wrap .footer_col3_cont p a {display: inline-block;margin: 0;font-size: 28px;line-height: 1.2;letter-spacing: -0.03em;}
    .footer_col3_wrap .footer_col3_cont > div:nth-child(3) {margin: 0 0 10px;font-size: 15px;font-weight: 700;color: #fff;}
    .footer_col3_wrap .footer_col3_cont .footer_channel_wrap {display: flex;gap: 8px;font-size: 0;}
    .footer_col3_wrap .footer_col3_cont .footer_channel_wrap a {width: 44px;height: 44px;margin: 0;}
    /* 약관 + 카피 */
    .site-below-footer-wrap {padding: 20px 0 !important;}
    .site-below-footer-inner-wrap {display: flex !important;flex-direction: column !important;align-items: center !important;gap: 12px !important;}
    #astra-footer-menu {display: flex !important;flex-direction: row !important;flex-wrap: wrap !important;justify-content: center !important;gap: 0 16px !important;margin: 0 !important;padding: 0 !important;list-style: none;}
    #astra-footer-menu .menu-link {padding: 0 !important;font-size: 13px !important;color: #aaa !important;}
    .ast-footer-copyright {display: block !important;width: 100%;text-align: center !important;font-size: 12px !important;line-height: 1.5;color: #888 !important;}
    
    
    
    /* 메인 */    
    /* ===== 메인 슬라이더 ===== */
    .main_slider_wrap .slide-content > .has-image-background {width:100% !important;height:70vw !important;min-height:0 !important;padding:0 !important;background-size:cover !important;background-position:center center !important;}
    .main_slider_wrap .slide-content > .is-layout-constrained {padding:0 20px !important;}
    .main_slider_wrap .slide-content h2 {font-size:26px !important;font-weight:700 !important;letter-spacing:-0.03em !important;line-height:1.4 !important;color:#101010 !important;}
    .main_slider_wrap .slide-content p {font-size:16px !important;line-height:1.75 !important;letter-spacing:-0.02em !important;}
    .main_slider_wrap .swiper-button-prev, .main_slider_wrap .swiper-button-next {top:35vw !important;width:28px !important;height:auto !important;margin:0 !important;transform:translateY(-50%) !important;}
    .main_slider_wrap .swiper-button-prev {left:8px !important;}
    .main_slider_wrap .swiper-button-next {right:8px !important;}
    .main_slider_wrap .swiper-button-disabled {opacity:0.35 !important;pointer-events:none !important;}
    .main_slider_wrap .swiper-pagination {top:70vw !important;bottom:auto !important;transform:translateY(-30px);}
    .main_slider_wrap .swiper-pagination-bullet {width:20px !important;height:3px !important;}

    /* ===== 메인 글 목록 ===== */
    body.home .main_blog_wrap {position:relative;padding:40px 0 24px !important;overflow:hidden;}
    .main_blog_wrap:has(.main_popular_post_wrap) > .is-layout-flex {gap:0;}
    body.home .main_blog_wrap h2.wp-block-heading {max-width:none !important;margin:0 0 20px 0 !important;padding:0 96px 0 20px !important;font-size:26px !important;font-weight:700 !important;letter-spacing:-0.03em !important;line-height:1.4 !important;}
    body.home .main_blog_wrap > p, body.home .main_blog_wrap .wp-block-paragraph {margin: 0 0 20px !important;padding:0 20px !important;font-size:16px !important;line-height:1.75 !important;letter-spacing:-0.02em !important;}
    body.home .main_post_wrap.spectra-post-layout-carousel {width:100% !important;max-width:none !important;position:static !important;left:auto;margin:0 !important;overflow:hidden;}
    body.home .main_post_wrap.spectra-post-layout-carousel .swiper {overflow:hidden;margin:0;padding:0;}
    body.home .main_post_wrap .swiper-slide {width:calc(100vw - 72px) !important;flex:0 0 calc(100vw - 72px) !important;max-width:none !important;}
    body.home .main_post_wrap {--spectra-arrow-opacity-sm:1;}
    body.home .main_post_wrap.spectra-post-layout-carousel .swiper-button-prev, body.home .main_post_wrap.spectra-post-layout-carousel .swiper-button-next {display:flex !important;position:absolute !important;top:2px !important;width:32px !important;height:32px !important;margin:0 !important;transform:none !important;}
    body.home .main_post_wrap.spectra-post-layout-carousel .swiper-button-prev {left:auto !important;right:60px !important;}
    body.home .main_post_wrap.spectra-post-layout-carousel .swiper-button-next {left:auto !important;right:20px !important;}
    body.home .main_post_wrap.spectra-post-layout-carousel .swiper-button-disabled {opacity:0.35 !important;pointer-events:none !important;}
    body.home .main_post_wrap .wp-block-post-featured-image a, body.home .main_post_wrap .wp-block-post-featured-image img {aspect-ratio:16/9 !important;width:100% !important;height:auto !important;object-fit:cover !important;}
    body.home .main_popular_post_wrap .wp-block-post-featured-image a, body.home .main_popular_post_wrap .wp-block-post-featured-image img {aspect-ratio:1/1 !important;}
    body.home .main_popular_post_wrap h2.wp-block-post-title, body.home .main_popular_post_wrap h2.wp-block-post-title a {font-size: 20px !important;line-height: 28px !important;}
    body.home .main_popular_post_wrap h2.wp-block-post-title {height: 56px;}
    body.home .main_post_wrap:not(.main_popular_post_wrap) h2.wp-block-post-title, body.home .main_post_wrap:not(.main_popular_post_wrap) h2.wp-block-post-title a {font-size: 16px !important;line-height: 23px !important;}
    body.home .main_post_wrap:not(.main_popular_post_wrap) h2.wp-block-post-title {height: 46px;}
    body.home .main_post_wrap .wp-block-post-date {padding:6px 0 0 !important;color:#8a949c !important;}
    .main_post_wrap .wp-block-post-featured-image a::after{right: 14px;bottom: 14px;width: 60px;height: 9px;}
        
        
    /*의료진*/
    body.category-doctors #primary .ast-row {width: 100%;margin: 0 auto;display: flex;flex-wrap: wrap;column-gap: 20px;row-gap: 40px;}
    body.category-doctors #primary .ast-article-post,
    body.category-doctors #primary .ast-article-post.ast-full-width {width: calc((100% - 20px) / 2) !important;max-width: none !important;float: none !important;padding: 0 !important;margin: 0 !important;}
    .category-doctors .ast-article-post .post-thumb-img-content a {display: block;overflow: hidden;padding-top: 30px;}
    .category-doctors .ast-article-post .post-thumb-img-content img {width: 130%;max-width: none !important;height: auto;position: relative;left: 50%;transform: translateX(-50%);}
    .category-doctors .bsm-doctors-updated {font-size: 13px !important;}
    
    
    /*의료진-상세*/
    body.category-doctors-body-wrap .doctor_all_wrap{padding: 0 !important;}
    body.category-doctors-body-wrap .doctor-layout {display: flex !important;flex-direction: column !important;align-items: stretch !important;gap: 0 !important;width: 100% !important;}
    body.category-doctors-body-wrap .doctor-left,
    body.category-doctors-body-wrap .doctor-right {position: static !important;flex: none !important;width: 100% !important;max-width: 100% !important;}
    body.category-doctors-body-wrap .doctor-right> div{margin-bottom: 40px !important;}
    body.category-doctors-body-wrap .doctor-right .doctor_message_wrap h2{display: none;}
    body.category-doctors-body-wrap .doctor-left .wp-block-post-featured-image {margin: 0;padding-top: 40px !important;overflow: hidden;background: linear-gradient(0deg, #d0d1d5 0%, #bfbec4 100%);}
    body.category-doctors-body-wrap .doctor-name-wrap {padding: 30px 20px 0px !important;font-size: 30px !important;display: block;margin: 0 !important;width: 100%;}
    body.category-doctors-body-wrap .doctor-right {padding: 0 20px !important;}
    body.category-doctors-body-wrap .doctor-right h2.wp-block-heading {font-size: 26px !important;}
    body.category-doctors-body-wrap h3.wp-block-heading {font-size: 18px !important;font-weight: 700;}
    body.category-doctors-body-wrap .doctor_message_one_word.wp-block-paragraph{margin: 40px 0 60px !important;font-size: 18px !important;font-style: inherit;}
    body.category-doctors-body-wrap .profile_wrap {height: 240px;}

    /* 관련 게시글 2열 */
    body.category-doctors-body-wrap #related .spectra-post-loop-wrapper {display: grid !important;grid-template-columns: 1fr 1fr !important;gap: 24px 20px !important;}
    body.category-doctors-body-wrap #related .spectra-post-item {width: 100% !important;max-width: none !important;padding: 0 !important;margin: 0 !important;}

    /* 원장단 더보기: 2명 + 다음 살짝 */
    .bsm-doctors-more {padding: 80px 0;}
    .bsm-doctors-head {max-width: none;margin: 0 0 20px;padding: 0 20px;}
    .bsm-doctors-more-title {font-size: 26px;}
    .bsm-doctors-track {gap: 20px;padding: 0 20px;}
    .bsm-doctors-card {flex: 0 0 calc((100cqi - 88px) / 2);width: calc((100cqi - 88px) / 2);}
    .bsm-doctors-card strong {font-size: 16px;}
    .bsm-doctors-role {font-size: 13px;}
    .bsm-doctors-photo {padding-top: 30px;}
    .bsm-doctors-photo img {width: 140%;}
        
    /*검색페이지*/
    .no-posts-found {min-height:280px;margin:50px 20px 0;padding:32px 16px;}
    .no-posts-found .no-posts-title {font-size:20px;}
    .no-posts-found .no-posts-message {font-size:16px;margin-bottom:20px;}
    .no-posts-search {gap:8px;width:100%;}
    .no-posts-found .search-input-wrap {height:52px;padding:0 52px 0 16px;}
    .no-posts-search-input {font-size:15px;}
    .no-posts-search-btn {flex-basis:48px;width:48px;height:48px;}
    .search-no-results.ast-separate-container #primary {margin:0 auto 150px;padding:0;}
    .bsm-infield-btn {width: 40px;height: 40px;right: 6px;}
    .bsm-search__keys {flex-wrap:wrap;}
    .bsm-search__keys em {display:block;width:100%;text-align:center;margin:0 0 8px;}
    
    /*서브페이지*/
    #primary {margin: 40px 0 150px;}
    .ast-archive-entry-banner.custom-search-wrap {padding:60px 20px 0;}
    .ast-archive-entry-banner.custom-search-wrap .ast-container h1,.ast-archive-entry-banner.custom-search-wrap .ast-container h1 span,.ast-archive-entry-banner[data-post-type="post"] .ast-container h1 {font-size:24px !important;}
    .ast-article-inner {padding: 0;}
    .ast-blog-layout-4-grid .ast-article-post {margin-bottom: 40px;}
    .ast-archive-entry-banner .sub_2depth_nav_wrap ul {padding: 0 0 14px;}
    .ast-archive-entry-banner .sub_2depth_nav_wrap a{padding-bottom: 2px;}
    
    .ast-pagination {margin: 0;padding: 0;}
    .ast-pagination .nav-links {gap: 4px;}
    .ast-pagination .page-numbers {flex: 0 0 36px;width: 36px;min-width: 36px !important;height: 36px !important;font-size: 13px;}
    .ast-pagination .prev,
    .ast-pagination .next {flex: 0 0 36px;width: 36px;min-width: 36px !important;padding: 0 !important;font-size: 0;}
    .ast-pagination .prev::before {content: "‹";font-size: 20px;line-height: 1;color: inherit;}
    .ast-pagination .next::before {content: "›";font-size: 20px;line-height: 1;color: inherit;}
    
    .key-answer-wrap{padding: 20px !important;}
    .key-answer-wrap p strong{font-size: 18px;}
    .key-answer-wrap p{font-size: 16px !important}
    .bsm-related-care-wrap li{font-size: 14px !important;}
    .bsm-related-care-wrap h3 {margin: 0 0 8px !important;font-size: 16px !important;}
    
    
    
    
    
    
    
}