@charset "utf-8";

/* ========================================================
   Mobile Homecare Center Styles (640px base / responsive)
   ======================================================== */

.homecare_m_con {
    width: 100%;
    max-width: 600px;
    margin: 20px auto 60px auto;
    padding: 0 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Dotum", sans-serif;
    color: #333333;
}

/* 2-Depth Sub Tab Menu (재택의료센터 / 충남지원사업) */
.homecare_tab {
    margin: 15px auto 25px auto;
    width: 100%;
    overflow: hidden;
}
.homecare_tab ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
}
.homecare_tab ul li {
    flex: 1;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #c2c2c2;
    border-radius: 4px;
    box-sizing: border-box;
}
.homecare_tab ul li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 15px;
    color: #8c8a87;
    text-decoration: none;
}
.homecare_tab ul li.active {
    background: #484649;
    border-color: #484649;
}
.homecare_tab ul li.active a {
    color: #ffffff;
    font-weight: bold;
}

/* 3-Depth Tab Menu (난임 / 청소년 / 다자녀) */
.cn_tab {
    margin: 0 auto 25px auto;
    width: 100%;
}
.cn_tab ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}
.cn_tab ul li {
    flex: 1;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #c2c2c2;
    border-radius: 4px;
    box-sizing: border-box;
}
.cn_tab ul li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 13.5px;
    color: #8c8a87;
    text-decoration: none;
    letter-spacing: -0.3px;
}
.cn_tab ul li.active {
    background: #484649;
    border-color: #484649;
}
.cn_tab ul li.active a {
    color: #ffffff;
    font-weight: bold;
}

/* Header Banner Box */
.hc_header_box {
    background: #f4f4f5;
    border: 1px solid #ccced0;
    border-radius: 6px;
    padding: 22px 18px;
    margin-bottom: 30px;
    text-align: left;
    box-sizing: border-box;
}
.hc_badge {
    display: inline-block;
    background: #484649;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    margin-bottom: 10px;
    border-radius: 3px;
}
.hc_title {
    font-size: 21px;
    color: #222222;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.35;
    letter-spacing: -0.5px;
    word-break: keep-all;
}
.hc_desc {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

/* Section Common */
.hc_section {
    margin-bottom: 35px;
}
.hc_sec_tit_wrap {
    border-bottom: 2px solid #484649;
    padding-bottom: 8px;
    margin-bottom: 18px;
}
.hc_sec_tit {
    font-size: 19px;
    color: #222222;
    font-weight: bold;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.35;
    word-break: keep-all;
}

/* Callout Box */
.hc_callout {
    background: #fafaf9;
    border: 1px solid #e5e3de;
    border-left: 5px solid #484649;
    border-radius: 4px;
    padding: 18px 16px;
    margin-bottom: 20px;
}
.hc_callout_main {
    font-size: 15px;
    color: #222222;
    line-height: 1.65;
    margin-bottom: 14px;
    word-break: keep-all;
}
.hc_stat_box {
    background: #ffffff;
    border: 1px solid #e0deda;
    border-radius: 6px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hc_stat_num {
    font-size: 28px;
    font-weight: bold;
    color: #484649;
    white-space: nowrap;
}
.hc_stat_txt {
    font-size: 13px;
    color: #444444;
    line-height: 1.45;
    word-break: keep-all;
}
.hc_stat_txt small {
    display: block;
    color: #888888;
    font-size: 11px;
    margin-top: 3px;
}

/* Content Cards */
.hc_card {
    background: #ffffff;
    border: 1px solid #ccced0;
    border-radius: 6px;
    padding: 20px 16px;
    margin-bottom: 18px;
    box-sizing: border-box;
}
.hc_card_header {
    margin-bottom: 10px;
}
.hc_card_tag {
    display: inline-block;
    background: #6e6b70;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    margin-right: 6px;
    vertical-align: middle;
    border-radius: 2px;
}
.hc_card_title {
    font-size: 16.5px;
    font-weight: bold;
    color: #222222;
    vertical-align: middle;
}
.hc_card_lead {
    font-size: 14.5px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
    word-break: keep-all;
}
.hc_list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hc_list li {
    position: relative;
    padding-left: 14px;
    font-size: 13.5px;
    color: #555555;
    line-height: 1.65;
    margin-bottom: 8px;
    word-break: keep-all;
}
.hc_list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #484649;
    font-weight: bold;
}
.hc_list li.note {
    color: #888888;
    font-size: 12.5px;
}
.hc_list li.note:before {
    content: "※";
    font-size: 11px;
}

/* Service Grid */
.hc_service_grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}
.hc_service_item {
    background: #fbfbfa;
    border: 1px solid #ebe8e2;
    border-radius: 6px;
    padding: 14px 14px;
}
.s_tit {
    font-size: 15.5px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.s_badge {
    font-size: 11px;
    font-weight: bold;
    background: #484649;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
}
.s_freq {
    font-size: 12.5px;
    font-weight: bold;
    color: #5c554a;
    margin-bottom: 4px;
}
.s_desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}

/* Bottom Inquiry Box */
.hc_inquiry_box {
    background: #484649;
    color: #ffffff;
    padding: 22px 18px;
    border-radius: 8px;
    margin-top: 25px;
    text-align: center;
}
.hc_inquiry_info h4 {
    font-size: 17.5px;
    margin: 0 0 6px 0;
    color: #ffffff;
    font-weight: bold;
}
.hc_inquiry_info p {
    font-size: 13px;
    color: #dedede;
    margin: 0 0 16px 0;
    line-height: 1.5;
    word-break: keep-all;
}
.hc_inquiry_contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hc_contact_pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}
.hc_contact_pill .loc {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}
.hc_contact_pill .tel {
    font-size: 16px;
    font-weight: bold;
    color: #ffeb3b;
    text-decoration: none;
}

/* Detail Box */
.cn_detail_box {
    background: #fdfcf9;
    border: 1px solid #ede8df;
    border-radius: 6px;
    padding: 16px 14px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cn_detail_path {
    font-size: 11.5px;
    color: #888888;
    word-break: keep-all;
}
.cn_detail_title {
    font-size: 14px;
    color: #333333;
    font-weight: bold;
    word-break: keep-all;
}
.cn_detail_btn {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    text-align: center;
    background: #484649;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    box-sizing: border-box;
}

/* Health Center Bottom Box */
.cn_health_box {
    background: #fbfbfa;
    border: 1px solid #eae8e1;
    border-radius: 6px;
    padding: 18px 14px;
    margin-top: 25px;
    text-align: center;
}
.cn_health_title {
    font-size: 13.5px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 12px;
    word-break: keep-all;
}
.cn_health_links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cn_health_btn {
    display: block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #c2c2c2;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: bold;
    text-decoration: none;
    color: #333333 !important;
    background: #ffffff;
    box-sizing: border-box;
}

/* Reviews Section */
.cn_review_section {
    margin-top: 35px;
    margin-bottom: 30px;
}
.cn_review_text_grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}
.cn_review_card {
    background: #ffffff;
    border: 1px solid #ebe8e2;
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}
.cn_review_text {
    font-size: 13.5px;
    color: #333333;
    line-height: 1.6;
    margin: 0 0 12px 0;
    word-break: keep-all;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    -webkit-user-select: none;
    user-select: none;
}
.cn_review_profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f2f0eb;
}
.cn_review_avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e3ded6;
    color: #5c554a;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cn_review_author {
    font-size: 12.5px;
    color: #736d64;
    font-weight: 500;
}

/* Photo Reviews */
.cn_review_photo_sec {
    background: #fbfbfa;
    border: 1px solid #eae8e1;
    border-radius: 10px;
    padding: 18px 14px;
    box-sizing: border-box;
}
.cn_review_photo_header {
    margin-bottom: 14px;
}
.cn_review_photo_tit {
    font-size: 15.5px;
    font-weight: bold;
    color: #222222;
    margin: 0 0 4px 0;
}
.cn_review_photo_sub {
    font-size: 12px;
    color: #888888;
    line-height: 1.45;
    display: block;
    word-break: keep-all;
}
.cn_review_photo_grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cn_review_photo_card {
    background: #ffffff;
    border: 1px solid #ebe8e2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.cn_review_photo_thumb {
    height: 220px;
    background: #f7f6f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-bottom: 1px solid #ebe8e2;
    cursor: default;
    position: relative;
    overflow: hidden;
}
.cn_review_photo_thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    -webkit-filter: blur(10px);
    filter: blur(10px);
    transform: translateZ(0);
    pointer-events: none;
}
.cn_review_photo_badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(72, 70, 73, 0.9);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 3px;
    z-index: 2;
}
.cn_review_photo_zoom {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 2;
}
.cn_review_photo_body {
    padding: 12px 14px;
}
.cn_review_photo_name {
    font-size: 14px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 4px;
    display: block;
}
.cn_review_photo_desc {
    font-size: 12.5px;
    color: #666666;
    line-height: 1.45;
    margin: 0;
    word-break: keep-all;
}

/* Lightbox Modal */
.cn_modal_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.cn_modal_content {
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.cn_modal_img {
    max-width: 88vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}
.cn_modal_close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #222222;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 재택의료센터 활동 사진 (모바일: 2열) */
.hc_photo_section {
    margin-top: 35px;
    margin-bottom: 0;
}
.hc_photo_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
}
.hc_photo_item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f4f4f5;
    cursor: pointer;
}
.hc_photo_item p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #555555;
    text-align: center;
    word-break: keep-all;
}
.hc_photo_modal_img {
    max-height: 72vh;
}
.hc_photo_modal_cap {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333333;
    text-align: center;
    word-break: keep-all;
}
/* Cafe Notice (PC와 동일) */
.hc_cafe_notice {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid #ccced0;
    background: #ffffff;
    text-align: center;
}
.hc_cafe_notice p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #444444;
    line-height: 1.5;
    word-break: keep-all;
}
.hc_cafe_notice p strong {
    color: #222222;
}
a.hc_cafe_btn,
a.hc_cafe_btn:link,
a.hc_cafe_btn:visited {
    display: inline-block;
    padding: 10px 22px;
    background: #03c75a;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}
a.hc_cafe_btn:active {
    background: #02a84c;
    color: #ffffff;
}
