@charset "utf-8";

/* ========================================================
   Homecare Center Subpage Styles (Hospital Muted Colorway)
   ======================================================== */

/* Tab Menu */
.homecare_tab {
    margin: 0 auto 35px auto;
    width: 440px;
    overflow: hidden;
}
.homecare_tab ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
}
.homecare_tab ul li {
    float: left;
    width: 218px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #c2c2c2;
    margin-right: 4px;
    box-sizing: border-box;
}
.homecare_tab ul li:last-child {
    margin-right: 0;
}
.homecare_tab ul li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 14px;
    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;
}
.homecare_tab ul li:hover:not(.active) {
    background: #f4f4f5;
}

/* Main Content Box */
#wrap.sub .con .sub_con1.homecare_con {
    background: #ffffff;
    width: 1200px;
    box-sizing: border-box;
    padding: 60px 80px 80px 80px;
    margin: 0 auto 60px auto;
    border: 1px solid #ccced0;
}

/* Header Banner Box */
.hc_header_box {
    background: #f4f4f5;
    border: 1px solid #ccced0;
    padding: 30px 35px;
    margin-bottom: 45px;
    text-align: left;
}
.hc_badge {
    display: inline-block;
    background: #484649;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    margin-bottom: 12px;
}
.hc_title {
    font-size: 24px;
    color: #222222;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}
.hc_desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Section Common */
.hc_section {
    margin-bottom: 45px;
}
.hc_sec_tit_wrap {
    border-bottom: 2px solid #484649;
    padding-bottom: 10px;
    margin-bottom: 22px;
}
.hc_sec_tit {
    font-size: 20px;
    font-weight: bold;
    color: #222222;
    margin: 0;
    display: flex;
    align-items: center;
}
.hc_sec_tit::before {
    content: "■";
    font-size: 12px;
    color: #484649;
    margin-right: 8px;
    display: inline-block;
}

/* Background Callout */
.hc_callout {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #484649;
    padding: 24px 28px;
    margin-bottom: 20px;
}
.hc_callout_main {
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 16px;
}
.hc_callout_main b {
    color: #000000;
}

/* Stat Box */
.hc_stat_box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    padding: 16px 22px;
}
.hc_stat_num {
    font-size: 28px;
    font-weight: bold;
    color: #484649;
    margin-right: 20px;
    white-space: nowrap;
    letter-spacing: -0.5px;
}
.hc_stat_txt {
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
}
.hc_stat_txt strong {
    color: #222222;
}
.hc_stat_txt small {
    display: block;
    color: #888888;
    font-size: 12px;
    margin-top: 3px;
}

/* Cards (Overview) */
.hc_card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 24px 28px;
    margin-bottom: 18px;
    box-sizing: border-box;
}
.hc_card_header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.hc_card_tag {
    display: inline-block;
    background: #f4f4f5;
    color: #484649;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    border: 1px solid #d0d0d0;
    margin-right: 10px;
}
.hc_card_title {
    font-size: 16px;
    font-weight: bold;
    color: #222222;
}
.hc_card_lead {
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 12px;
}
.hc_card_lead b {
    color: #000000;
}

/* List Items within Cards */
.hc_list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hc_list li {
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 6px;
}
.hc_list li:last-child {
    margin-bottom: 0;
}
.hc_list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 0;
    color: #777777;
    font-weight: bold;
    font-size: 15px;
}
.hc_list li.note {
    color: #777777;
    font-size: 13px;
}
.hc_list li.note::before {
    content: "※";
    font-size: 12px;
    left: 0;
    color: #888888;
}

/* Service Detail 3-Box Layout */
.hc_service_grid {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}
.hc_service_item {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 18px 20px;
    box-sizing: border-box;
}
.hc_service_item .s_tit {
    font-size: 13px;
    font-weight: bold;
    color: #484649;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}
.hc_service_item .s_badge {
    display: inline-block;
    background: #484649;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 6px;
    margin-right: 6px;
}
.hc_service_item .s_freq {
    font-size: 15px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 6px;
}
.hc_service_item .s_desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

/* Contact / Inquiry Banner */
.hc_inquiry_box {
    background: #f4f4f5;
    border: 1px solid #ccced0;
    padding: 26px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
}
.hc_inquiry_info h4 {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 6px 0;
    color: #222222;
}
.hc_inquiry_info p {
    font-size: 13px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}
.hc_inquiry_contacts {
    display: flex;
    gap: 14px;
}
.hc_contact_pill {
    background: #ffffff;
    border: 1px solid #ccced0;
    padding: 10px 18px;
    text-align: right;
}
.hc_contact_pill .loc {
    font-size: 12px;
    color: #777777;
    display: block;
}
.hc_contact_pill .tel {
    font-size: 15px;
    font-weight: bold;
    color: #222222;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.hc_contact_pill .tel:hover {
    color: #000000;
}
.hc_cafe_notice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 16px 32px;
    border: 1px solid #ccced0;
    background: #ffffff;
}
.hc_cafe_notice p {
    margin: 0;
    font-size: 14px;
    color: #444444;
    line-height: 1.5;
}
.hc_cafe_notice p strong {
    color: #222222;
}
a.hc_cafe_btn,
a.hc_cafe_btn:link,
a.hc_cafe_btn:visited {
    flex-shrink: 0;
    display: inline-block;
    padding: 9px 20px;
    background: #03c75a;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s ease;
}
a.hc_cafe_btn:hover,
a.hc_cafe_btn:active {
    background: #02a84c;
    color: #ffffff;
    font-size: 14px;
}
@media (max-width: 768px) {
    .hc_cafe_notice {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
}



/* ========================================================
   Chungnam Support Project Subpage Styles
   ======================================================== */

/* Inner 3-Tab Menu */
.cn_tab {
    margin: 0 auto 35px auto;
    width: 660px;
    overflow: hidden;
}
.cn_tab ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.cn_tab ul li {
    flex: 1;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #c2c2c2;
    border-right: none;
    box-sizing: border-box;
    cursor: pointer;
}
.cn_tab ul li:last-child {
    border-right: 1px solid #c2c2c2;
}
.cn_tab ul li a,
.cn_tab ul li a:link,
.cn_tab ul li a:visited {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 14px !important;
    color: #8c8a87 !important;
    text-decoration: none !important;
    font-weight: 500;
}
.cn_tab ul li.active {
    background: #484649;
    border-color: #484649;
}
.cn_tab ul li.active a,
.cn_tab ul li.active a:link,
.cn_tab ul li.active a:visited {
    color: #ffffff !important;
    font-weight: bold;
}
.cn_tab ul li:hover:not(.active) {
    background: #f4f4f5;
}

/* Health Center Quick-Link Box */
.cn_health_box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 20px 24px;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.cn_health_title {
    font-size: 14px;
    font-weight: bold;
    color: #222222;
    display: flex;
    align-items: center;
}
.cn_health_title::before {
    content: "🏛️";
    margin-right: 8px;
    font-size: 16px;
}
.cn_health_links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
a.cn_health_btn,
a.cn_health_btn:link,
a.cn_health_btn:visited {
    display: inline-block;
    background: #ffffff !important;
    border: 1px solid #ccced0 !important;
    padding: 8px 16px;
    font-size: 13px !important;
    color: #333333 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.15s ease;
}
a.cn_health_btn:hover,
a.cn_health_btn:active,
a.cn_health_btn:focus {
    background: #484649 !important;
    color: #ffffff !important;
    border-color: #484649 !important;
    text-decoration: none !important;
}

/* Photo Gallery Grid */
.cn_gallery_grid {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}
.cn_gallery_item {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    overflow: hidden;
}
.cn_gallery_img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.cn_gallery_item:hover .cn_gallery_img {
    transform: scale(1.02);
}
.cn_gallery_cap {
    padding: 12px 14px;
    font-size: 12px;
    color: #555555;
    line-height: 1.5;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

/* Preparation Placeholder Box */
.cn_prep_box {
    text-align: center;
    padding: 70px 40px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}
.cn_prep_box h4 {
    font-size: 20px;
    font-weight: bold;
    color: #222222;
    margin: 0 0 10px 0;
}
.cn_prep_box p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}


/* Detail Link Box */
.cn_detail_box {
    background: #f8f9fa;
    border: 1px solid #dcdcdc;
    border-left: 4px solid #484649;
    padding: 18px 24px;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.cn_detail_info {
    flex: 1;
}
.cn_detail_path {
    display: block;
    font-size: 12px;
    color: #777777;
    margin-bottom: 5px;
    line-height: 1.4;
}
.cn_detail_title {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #222222;
    line-height: 1.4;
}
a.cn_detail_btn,
a.cn_detail_btn:link,
a.cn_detail_btn:visited {
    display: inline-block;
    background: #484649 !important;
    color: #ffffff !important;
    padding: 10px 22px;
    font-size: 13px !important;
    font-weight: bold;
    text-decoration: none !important;
    border: 1px solid #484649;
    white-space: nowrap;
    transition: background 0.15s ease;
}
a.cn_detail_btn:hover,
a.cn_detail_btn:active,
a.cn_detail_btn:focus {
    background: #222222 !important;
    border-color: #222222 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.cn_health_box.bottom {
    margin-top: 35px;
    margin-bottom: 10px;
}


/* ==========================================================================
   Reviews Section (Patient Testimonials & Success Verification)
   ========================================================================== */
.cn_review_section {
    margin-top: 50px;
    margin-bottom: 40px;
}
.cn_review_text_grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.cn_review_card {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #ebe8e2;
    border-radius: 14px;
    padding: 20px 22px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s ease;
}
.cn_review_card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.cn_review_stars {
    color: #e53935;
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.cn_review_text {
    font-size: 13.5px;
    color: #333333;
    line-height: 1.65;
    margin: 0 0 14px 0;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 89px;
    -webkit-filter: blur(5px);
    filter: blur(5px);
    transform: translateZ(0);
    -webkit-user-select: none;
    user-select: none;
}
.cn_review_profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f2f0eb;
}
.cn_review_avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e3ded6;
    color: #5c554a;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cn_review_author {
    font-size: 13px;
    color: #736d64;
    font-weight: 500;
}

/* Photo Reviews */
.cn_review_photo_sec {
    background: #fbfbfa;
    border: 1px solid #eae8e1;
    border-radius: 16px;
    padding: 28px 24px;
}
.cn_review_photo_header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 18px;
    gap: 10px;
}
.cn_review_photo_tit {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    display: flex;
    align-items: center;
}
.cn_review_photo_tit::before {
    content: "📷";
    margin-right: 8px;
    font-size: 16px;
}
.cn_review_photo_sub {
    font-size: 12.5px;
    color: #888888;
}
.cn_review_photo_grid {
    display: flex;
    gap: 20px;
}
.cn_review_photo_card {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #ebe8e2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}
.cn_review_photo_card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}
.cn_review_photo_thumb {
    height: 240px;
    background: #f7f6f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    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: 6px;
    -webkit-filter: blur(10px);
    filter: blur(10px);
    transform: translateZ(0);
    pointer-events: none;
}
.cn_review_photo_badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(72, 70, 73, 0.88);
    color: #ffffff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
    z-index: 2;
}
.cn_review_photo_zoom {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}
.cn_review_photo_body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.cn_review_photo_name {
    font-size: 14px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 6px;
}
.cn_review_photo_desc {
    font-size: 12.5px;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

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

@media (max-width: 768px) {
    .cn_review_text_grid,
    .cn_review_photo_grid {
        flex-direction: column;
    }
    .cn_review_photo_thumb {
        height: 200px;
    }
}

/* 재택의료센터 활동 사진 */
.hc_photo_section {
    margin-top: 45px;
    margin-bottom: 0;
}
.hc_photo_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 18px;
}
.hc_photo_item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f4f4f5;
}
.hc_photo_item p {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #555555;
    text-align: center;
    word-break: keep-all;
}
@media (max-width: 768px) {
    .hc_photo_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
    }
    .hc_photo_item p {
        font-size: 13px;
    }
}

/* 재택의료센터 활동 사진 팝업 (.cn_modal_* 공용) */
.hc_photo_item img {
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.hc_photo_item img:hover {
    opacity: 0.85;
}
.hc_photo_modal_img {
    max-height: 74vh;
}
.hc_photo_modal_cap {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: #333333;
    text-align: center;
    word-break: keep-all;
}
