@charset "utf-8";

/* =========================================================
   원광효도마을 노인복지센터 - 주간보호서비스
   기존 화면의 구성/인상을 유지하면서 리뉴얼 자료 반영
   ========================================================= */

#ctt header h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ctt_c7_JOoO29 #ctt_con,
.c7-daycare #ctt_con {
    width: 100%;
    min-width: 0;
    padding: 0;
}

.c7-daycare,
.c7-daycare * {
    box-sizing: border-box;
}

.c7-daycare__inner {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 10px 0 80px;
    color: #666;
    font-size: 14px;
    line-height: 1.75;
}

/* 상단 01 / 주간보호서비스 */
.c7-daycare__intro {
    margin: 0 0 68px;
}

.c7-daycare__heading {
    margin-bottom: 24px;
}

.c7-daycare__number {
    display: block;
    margin-bottom: 0;
    color: #b7b7b7;
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.c7-daycare__heading h2 {
    margin: 2px 0 0;
    padding: 0;
    color: #36a9da;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.6px;
}

.c7-daycare__summary {
    margin: 0;
    padding: 0;
    list-style: none;
}

.c7-daycare__summary li {
    position: relative;
    margin: 3px 0;
    padding-left: 12px;
}

.c7-daycare__summary li::before {
    content: '·';
    position: absolute;
    left: 1px;
    top: 0;
    color: #8f8f8f;
}

/* 공통 섹션 */
.c7-daycare__section {
    margin-top: 82px;
}

.c7-daycare__section-title {
    position: relative;
    height: auto !important;
    margin: 0 0 28px !important;
    padding: 0 0 0 18px !important;
    color: #444;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.3px;
}

.c7-daycare__section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c8c8c8;
}

/* 신청 절차 */
.c7-daycare__apply {
    margin-top: 0;
}

.c7-apply-flow {
    width: min(680px, 88%);
    margin: 0 auto;
    padding: 20px 0 0;
    list-style: none;
}

.c7-apply-flow__step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    margin: 0 0 29px;
    padding: 9px 26px;
    border-radius: 28px;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    word-break: keep-all;
}

.c7-apply-flow__step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -22px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 18px solid #ededed;
    transform: translateX(-50%);
}

.c7-apply-flow__step--1 { background: #f6ad45; }
.c7-apply-flow__step--2 { background: #f07c5d; }
.c7-apply-flow__step--3 { background: #bd7e7b; }
.c7-apply-flow__step--4 { background: #8f87b5; }
.c7-apply-flow__step--5 { background: #4bb9c1; }
.c7-apply-flow__step--6 { background: #3ba7d7; }

/* 사진 그리드 */
.c7-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.c7-photo-card {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #eee6dc;
    border-radius: 13px 13px 0 0;
}

.c7-photo-card img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    border-radius: 13px 13px 0 0;
}

.c7-photo-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 5px 4px;
    color: #5f5b57;
    background: #eee6dc;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.4px;
    word-break: keep-all;
}

.onlyadmin {
    position: absolute;
    right: 5px;
    bottom: 5px;
}

@media (max-width: 900px) {
    .c7-daycare__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .c7-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .c7-daycare__inner {
        padding: 4px 14px 60px;
        font-size: 13px;
    }

    .c7-daycare__intro {
        margin-bottom: 54px;
    }

    .c7-daycare__number {
        font-size: 40px;
    }

    .c7-daycare__heading h2 {
        font-size: 18px;
    }

    .c7-daycare__section {
        margin-top: 62px;
    }

    .c7-apply-flow {
        width: 96%;
    }

    .c7-apply-flow__step {
        min-height: 43px;
        padding: 8px 16px;
        font-size: 12px;
    }

    .c7-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 8px;
    }
}

@media (max-width: 390px) {
    .c7-photo-card span {
        min-height: 38px;
        font-size: 11px;
    }
}
