/* ============================================================
   자주 묻는 질문(FAQ) · 건강칼럼(블로그) 섹션 스타일
   AI 검색 특화 작업 추가분
   ============================================================ */

/* ----- 공통 ----- */
.faq.page {
    background: #fff;
}
/* 건강칼럼 : 흰색에 가까운 연한 회색 배경 */
.blog.page {
    background: #f8f9fa;
}
/* 섹션 제목 가운데 정렬 */
.faq .main_tit,
.blog .main_tit {
    text-align: center;
}
.faq .main_tit > div,
.blog .main_tit > div {
    display: block;
}

/* ----- FAQ ----- */
.faq_wrap {
    max-width: 1000px;
    margin: 0 auto;
}
.faq_list {
    margin: 0;
    padding: 0;
}
.faq_item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .25s ease;
}
.faq_item.on {
    box-shadow: 0 8px 24px rgba(59, 49, 143, .12);
    border-color: var(--color-main);
}
.faq_q {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 60px 24px 24px;
    font-size: 20px;
    font-weight: 700;
    color: #262626;
    cursor: pointer;
    line-height: 1.4;
}
.faq_q span {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-main);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.faq_q::after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-main);
    border-bottom: 2px solid var(--color-main);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .25s ease;
}
.faq_item.on .faq_q::after {
    transform: translateY(-30%) rotate(-135deg);
}
.faq_a {
    margin: 0;
    max-height: 0;
    opacity: 0;
    padding: 0 24px 0 72px;
    color: #555;
    font-size: 17px;
    line-height: 1.75;
    overflow: hidden;
    transition: max-height .35s ease, opacity .3s ease, padding .3s ease;
}
.faq_item.on .faq_a {
    max-height: 600px;
    opacity: 1;
    padding: 0 24px 26px 72px;
}

/* ----- 건강칼럼(블로그) ----- */
.blog_wrap {
    max-width: 1280px;
    margin: 0 auto;
}
.blog_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}
.blog_loading,
.blog_empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #888;
    font-size: 18px;
}
.blog_card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}
.blog_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(59, 49, 143, .15);
}
.blog_thumb {
    position: relative;
    width: 100%;
    padding-top: 62%;
    background: #f3f2f8 center/cover no-repeat;
    overflow: hidden;
}
.blog_thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog_body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog_title {
    font-size: 18px;
    font-weight: 700;
    color: #262626;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.blog_desc {
    font-size: 15px;
    color: #777;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.blog_date {
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-main);
    font-weight: 600;
}
.blog_pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 44px;
}
.blog_pager[hidden] {
    display: none;
}
.blog_pager_nums {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog_pager_nums a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 6px;
    border-radius: 8px;
    color: #555;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.blog_pager_nums a:hover {
    background: #f0eefa;
    color: var(--color-main);
}
.blog_pager_nums a.is-active {
    background: var(--color-main);
    color: #fff;
}
.blog_pager_ellipsis {
    padding: 0 4px;
    color: #aaa;
    font-size: 16px;
}
.blog_pager_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease;
}
.blog_pager_arrow:hover:not(:disabled) {
    border-color: var(--color-main);
}
.blog_pager_arrow:disabled {
    opacity: .35;
    cursor: default;
}
.blog_pager_arrow span {
    width: 9px;
    height: 9px;
    border-top: 2px solid #555;
    border-right: 2px solid #555;
}
.blog_pager_arrow:hover:not(:disabled) span {
    border-color: var(--color-main);
}
.blog_pager_prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}
.blog_pager_next span {
    transform: rotate(45deg);
    margin-right: 4px;
}
.blog_more {
    text-align: center;
    margin-top: 44px;
}
.blog_more a {
    display: inline-block;
    padding: 15px 46px;
    border: 1.5px solid var(--color-main);
    border-radius: 40px;
    color: var(--color-main);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}
.blog_more a:hover {
    background: var(--color-main);
    color: #fff;
}

/* ----- 반응형 ----- */
@media (max-width: 1200px) {
    .blog_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .blog_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq_q {
        font-size: 4.4vw;
        padding: 20px 50px 20px 18px;
    }
    .faq_a {
        font-size: 4vw;
        padding-left: 56px;
    }
    .faq_item.on .faq_a {
        padding: 0 18px 22px 56px;
    }
}
@media (max-width: 600px) {
    .blog_grid {
        grid-template-columns: 1fr;
    }
    .faq_q span {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }
}

/* ----- 075 연수점 섹션 여백 (msec 패턴) ----- */
.msec-blog {
    padding: 120px 0;
    background: #f8f9fa;
}
.msec-faq {
    padding: 120px 0 140px;
    background: #fff;
}
.msec-blog .mtit-cont,
.msec-faq .mtit-cont {
    margin-bottom: 60px;
}
@media all and (max-width: 1024px) {
    .msec-blog,
    .msec-faq {
        padding: 70px 0 80px;
    }
    .msec-blog .mtit-cont,
    .msec-faq .mtit-cont {
        margin-bottom: 40px;
    }
}
/* 지점소개(shop.js) 주입 전 공간 예약 — 측정값(모바일 994px/데스크톱 1004px), 주입 후에도 유지해 CLS 방지 */
#shop_placeholder,
#shop_placeholder:empty {
    min-height: 1000px;
}
