/* =========================================================
   수정본 파일명 : subscription_schedule.css
   다운로드용 TXT : subscription_schedule.css.txt
   ---------------------------------------------------------
   적용 프로젝트 : 하우징개봉 청년안심주택 웹사이트
   원본 기준     : 사용자가 업로드한 subscription_schedule.css
   수정일        : 2026-05-03
   ---------------------------------------------------------
   [기존 대화 반영 사항]
   1. 사이트 대표 컬러는 #006655 기준으로 유지합니다.
   2. 정적 리소스 경로는 /hgaebong/assets/... 기준을 유지합니다.
   3. PC / 태블릿 / 모바일 반응형 구조를 유지합니다.
   4. 서브페이지 상단 비주얼은 과도하게 높아지지 않도록 compact 기준을 유지합니다.
   5. header.css와 함께 사용해도 기본 폰트와 이미지 처리 기준이 어긋나지 않도록 보강했습니다.
   6. 유지보수자가 각 CSS 역할을 쉽게 파악할 수 있도록 한글 주석을 보강했습니다.
   7. 사용자의 브라우저 모션 최소화 설정을 고려했습니다.
   ========================================================= */

/* =========================================================
   subscription_schedule.css
   ---------------------------------------------------------
   청약안내 > 청약일정 페이지 전용 스타일
   ---------------------------------------------------------
   저장 경로 : /hgaebong/assets/css/subscription_schedule.css

   [설명]
   - 기존 사이트의 기본 컬러(#006655)와 통일감 있게 구성
   - 상단 서브 비주얼 / 공통 폭 / 섹션 제목 구조 유지
   - 달력형 일정 안내를 메인 콘텐츠로 구성
   - 단일 일정 / 기간 일정 모두 표현 가능하도록 설계
   - 상단 달력 배너는 예시 이미지와 유사한 인상을 줄 수 있는
     마젠타 / 원형 중심 장식을 제거하고,
     사이트 전용 프리미엄 스타일로 재구성
   ========================================================= */

/* =========================================================
   1. 공통 변수
   ========================================================= */
:root {
    --ss-primary: #006655;
    --ss-primary-dark: #01483c;
    --ss-primary-deep: #003d33;
    --ss-primary-soft: #edf7f4;
    --ss-primary-soft-2: #f7fbfa;

    --ss-accent-teal: #0db5b2;
    --ss-accent-blue: #2576c7;
    --ss-accent-orange: #f47a35;
    --ss-accent-purple: #7c63c5;
    --ss-accent-open: #0d7f68;

    --ss-text-main: #182624;
    --ss-text-sub: #647470;
    --ss-text-soft: #8b9894;
    --ss-text-white: #ffffff;

    --ss-bg: #ffffff;
    --ss-bg-soft: #f6faf9;
    --ss-bg-soft-2: #f3f6f8;

    --ss-border: #d8e4e0;
    --ss-border-soft: #e7efec;
    --ss-line: rgba(0, 0, 0, 0.08);

    --ss-shadow-sm: 0 8px 22px rgba(0, 102, 85, 0.08);
    --ss-shadow-md: 0 16px 40px rgba(0, 102, 85, 0.10);
    --ss-shadow-lg: 0 22px 54px rgba(0, 102, 85, 0.14);

    --ss-radius-sm: 14px;
    --ss-radius-md: 20px;
    --ss-radius-lg: 28px;
    --ss-radius-xl: 34px;

    --ss-width: 1280px;

    --ss-open: #0d7f68;
    --ss-apply: #0db5b2;
    --ss-docs: #2576c7;
    --ss-result: #f47a35;
    --ss-contract: #7c63c5;

    --ss-cell-height: 130px;
}

/* =========================================================
   2. 기본 초기화
   ========================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /*
       개별 CSS 파일이 단독 로딩되는 경우에도
       사이트 전체와 유사한 한글 폰트 기준을 유지하기 위한 안전 장치입니다.
    */
    font-family:
        "Pretendard",
        "Noto Sans KR",
        "Malgun Gothic",
        "Apple SD Gothic Neo",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    margin: 0;
    padding: 0;
    background: #ffffff;
    color: var(--ss-text-main);
    word-break: keep-all;
    overflow-x: hidden;
}


/* =========================================================
   공통 이미지 안전 처리
   ---------------------------------------------------------
   이미지가 부모 영역보다 커져 가로 스크롤이 생기는 문제를 방지합니다.
   각 페이지의 개별 이미지 클래스에서 object-fit을 별도로 지정하므로,
   여기서는 기본 안전값만 제공합니다.
   ========================================================= */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================================
   3. 페이지 전체 배경
   ========================================================= */
.subscription-schedule-page {
    width: 100%;
    background:
        radial-gradient(circle at top left, rgba(0, 102, 85, 0.05), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}

/* =========================================================
   4. 상단 서브 비주얼
   ========================================================= */
.sub-hero-section {
    position: relative;
    width: 100%;
    min-height: 140px; /* 기존 대화 반영: 서브페이지 상단 배경 높이를 compact 기준으로 유지 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px 20px;
    background:
        linear-gradient(135deg, rgba(0, 102, 85, 0.92), rgba(1, 72, 60, 0.88)),
        url("/hgaebong/assets/images/index/slide1.webp") center center / cover no-repeat;
    overflow: hidden;
}

.sub-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.10), transparent 26%),
        radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.09), transparent 24%),
        rgba(0, 0, 0, 0.08);
}

.sub-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--ss-width);
    margin: 0 auto;
    color: #ffffff;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.84);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.breadcrumb a:hover {
    opacity: 0.78;
}

.breadcrumb-separator {
    opacity: 0.7;
}

.breadcrumb-current {
    font-weight: 700;
    color: #ffffff;
}

.sub-hero-title {
    margin: 0 0 10px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.sub-hero-description {
    margin: 0;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   5. 본문 공통 폭
   ========================================================= */
.page-content-wrap {
    width: 100%;
    max-width: var(--ss-width);
    margin: 0 auto;
    padding: 84px 20px 110px;
}

/* =========================================================
   6. 섹션 제목 공통
   ========================================================= */
.section-title-wrap {
    margin-bottom: 34px;
}

.section-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--ss-primary);
}

.section-title {
    margin: 0 0 16px;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.03em;
    color: var(--ss-text-main);
}

.section-description {
    max-width: 860px;
    margin: 0;
    font-size: 17px;
    line-height: 1.85;
    color: var(--ss-text-sub);
}

/* =========================================================
   7. 상단 요약 카드 영역
   ========================================================= */
.schedule-summary-section {
    margin-bottom: 28px;
}

.schedule-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.summary-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 22px;
    border: 1px solid var(--ss-border-soft);
    border-radius: var(--ss-radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
    box-shadow: var(--ss-shadow-sm);
}

.summary-card-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 102, 85, 0.14), rgba(1, 72, 60, 0.08));
}

.summary-card-icon {
    font-size: 28px;
    color: var(--ss-primary);
}

.summary-card-title {
    margin: 2px 0 8px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ss-text-main);
}

.summary-card-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--ss-text-sub);
}

/* =========================================================
   8. 달력 헤더 카드
   ========================================================= */
.calendar-section {
    margin-top: 30px;
}

.calendar-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 24px 26px;
    border: 1px solid var(--ss-border-soft);
    border-radius: var(--ss-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #fafdfc 100%);
    box-shadow: var(--ss-shadow-sm);
}

.calendar-header-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--ss-primary);
}

.calendar-header-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ss-text-main);
}

.calendar-header-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ss-text-sub);
}

.calendar-header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-nav-btn,
.calendar-today-btn {
    border: none;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.calendar-nav-btn {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f3f7f6;
    color: var(--ss-primary);
    box-shadow: inset 0 0 0 1px rgba(0, 102, 85, 0.08);
}

.calendar-nav-btn .material-symbols-rounded {
    font-size: 28px;
}

.calendar-today-btn {
    min-width: 112px;
    padding: 0 18px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ss-primary), var(--ss-primary-dark));
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(0, 102, 85, 0.18);
}

.calendar-nav-btn:hover,
.calendar-today-btn:hover {
    transform: translateY(-2px);
}

/* =========================================================
   9. 달력 보드 카드
   ========================================================= */
.calendar-board-card {
    overflow: hidden;
    border: 1px solid var(--ss-border);
    border-radius: var(--ss-radius-xl);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: var(--ss-shadow-md);
}

/* =========================================================
   10. 달력 상단 전용 비주얼 배너
   ---------------------------------------------------------
   [핵심 수정 내용]
   - 예시 이미지와 유사한 마젠타 / 큰 원형 장식 제거
   - 사이트 기본 컬러(#006655) 중심으로 새롭게 재디자인
   - 과한 장식 대신 그라데이션, 유리판 느낌, 얇은 선 포인트 사용
   ========================================================= */
.calendar-hero-banner {
    position: relative;
    padding: 42px 32px 38px;
    background:
        linear-gradient(135deg, rgba(0, 61, 51, 0.96) 0%, rgba(0, 102, 85, 0.94) 52%, rgba(11, 132, 111, 0.90) 100%);
    overflow: hidden;
    isolation: isolate;
}

.calendar-hero-banner::before,
.calendar-hero-banner::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

/* ---------------------------------------------------------
   좌측 상단 광원 느낌
   --------------------------------------------------------- */
.calendar-hero-banner::before {
    width: 280px;
    height: 280px;
    left: -90px;
    top: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 72%);
}

/* ---------------------------------------------------------
   우측 하단 광원 느낌
   --------------------------------------------------------- */
.calendar-hero-banner::after {
    width: 240px;
    height: 240px;
    right: -60px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 48%, transparent 72%);
}

/* ---------------------------------------------------------
   좌우 장식 패턴
   - 은은한 포인트 역할만 수행
   --------------------------------------------------------- */
.calendar-hero-pattern {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.28;
}

.calendar-hero-pattern-left {
    left: 28px;
    top: 26px;
    width: 120px;
    height: 26px;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.36) 0 2px, transparent 2px 12px);
    background-size: 12px 2px;
    background-repeat: repeat-x;
}

.calendar-hero-pattern-right {
    right: 30px;
    top: 24px;
    width: 92px;
    height: 32px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.42) 1.3px, transparent 1.3px);
    background-size: 10px 10px;
    background-repeat: repeat;
}

/* ---------------------------------------------------------
   중앙 텍스트 래퍼
   - 유리판 느낌의 카드형 박스
   --------------------------------------------------------- */
.calendar-hero-text-wrap {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 24px;
    text-align: center;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 10px 24px rgba(0, 0, 0, 0.10);
}

/* ---------------------------------------------------------
   텍스트 래퍼 바깥쪽 얇은 프레임 선
   --------------------------------------------------------- */
.calendar-hero-text-wrap::before {
    content: "";
    position: absolute;
    inset: -14px -18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    z-index: -1;
}

/* ---------------------------------------------------------
   하단 중앙 포인트 라인
   --------------------------------------------------------- */
.calendar-hero-text-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 180px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.10) 100%);
    opacity: 0.72;
}

.calendar-hero-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.76);
    text-transform: uppercase;
}

.calendar-hero-title {
    margin: 0;
    font-size: 50px;
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

/* =========================================================
   11. 달력 쉘
   ========================================================= */
.calendar-shell {
    padding: 26px 26px 34px;
    background: linear-gradient(180deg, #f7f8fa 0%, #f3f6f8 100%);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    overflow: hidden;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border: 1px solid #cfd7dd;
    border-bottom: none;
}

.weekday {
    padding: 13px 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #2b2f33;
    background: #d9dde1;
    border-right: 1px solid #bfc7cd;
}

.weekday:last-child {
    border-right: none;
}

.weekday-sun {
    background: #ecd9dc;
    color: #ef3156;
}

.weekday-sat {
    background: #d6e2ef;
    color: #1483e4;
}

/* =========================================================
   12. 실제 달력 그리드
   ========================================================= */
.calendar-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: var(--ss-cell-height);
    border-left: 1px solid #cfd7dd;
    border-right: 1px solid #cfd7dd;
    border-bottom: 1px solid #cfd7dd;
    background: #ffffff;
}

.calendar-cell {
    position: relative;
    min-height: var(--ss-cell-height);
    padding: 10px 10px 8px;
    border-right: 1px solid #d2d9df;
    border-bottom: 1px solid #d2d9df;
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.calendar-cell:nth-child(7n) {
    border-right: none;
}

.calendar-cell.is-other-month {
    background: #f4f6f8;
}

.calendar-cell.is-today {
    box-shadow: inset 0 0 0 2px rgba(0, 102, 85, 0.18);
}

.calendar-day-number {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    color: #4b555b;
    background: transparent;
}

.calendar-cell.is-current-month .calendar-day-number {
    color: #4b555b;
}

.calendar-cell.is-sun .calendar-day-number {
    color: #ef3156;
}

.calendar-cell.is-sat .calendar-day-number {
    color: #1483e4;
}

.calendar-cell.has-single-event .calendar-day-number {
    border: 3px solid currentColor;
    background: #ffffff;
}

.calendar-month-label {
    position: absolute;
    left: 18px;
    top: 44px;
    font-size: 15px;
    font-weight: 800;
    color: #666f75;
}

/* =========================================================
   13. 단일 일정 블록
   ========================================================= */
.single-event-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px 10px;
    text-align: center;
    z-index: 1;
}

.single-event-box.single-open {
    background: linear-gradient(135deg, var(--ss-open), #0f8d73);
}

.single-event-box.single-apply {
    background: linear-gradient(135deg, var(--ss-apply), #08a6b2);
}

.single-event-box.single-docs {
    background: linear-gradient(135deg, var(--ss-docs), #2a67b6);
}

.single-event-box.single-result {
    background: linear-gradient(135deg, var(--ss-result), #f06c23);
}

.single-event-box.single-contract {
    background: linear-gradient(135deg, var(--ss-contract), #6d54b8);
}

.single-event-text {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

/* =========================================================
   14. 기간 일정 바
   ========================================================= */
.range-event-bar {
    position: absolute;
    left: 6px;
    right: 6px;
    top: 40px;
    bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 0;
    z-index: 1;
    overflow: hidden;
}

.range-event-bar.range-open {
    background: linear-gradient(135deg, var(--ss-open), #0f8d73);
}

.range-event-bar.range-apply {
    background: linear-gradient(135deg, var(--ss-apply), #08a6b2);
}

.range-event-bar.range-docs {
    background: linear-gradient(135deg, var(--ss-docs), #2a67b6);
}

.range-event-bar.range-result {
    background: linear-gradient(135deg, var(--ss-result), #f06c23);
}

.range-event-bar.range-contract {
    background: linear-gradient(135deg, var(--ss-contract), #6d54b8);
}

.range-start {
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.range-end {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

.range-middle {
    left: 0;
    right: 0;
}

.range-start:not(.range-end) {
    right: 0;
}

.range-end:not(.range-start) {
    left: 0;
}

.range-text {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    white-space: nowrap;
}

.range-arrow-left::before,
.range-arrow-right::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 68px;
    height: 1px;
    background: rgba(255, 255, 255, 0.72);
}

.range-arrow-left::before {
    left: 14px;
}

.range-arrow-right::after {
    right: 14px;
}

.range-arrow-left::after {
    content: "";
    position: absolute;
    left: 14px;
    top: calc(50% - 5px);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 9px solid rgba(255, 255, 255, 0.86);
}

.range-arrow-right::before {
    content: "";
    position: absolute;
    right: 14px;
    top: calc(50% - 5px);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 9px solid rgba(255, 255, 255, 0.86);
}

/* =========================================================
   15. 범례 영역
   ========================================================= */
.schedule-legend-section {
    margin-top: 24px;
}

.legend-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    border: 1px solid var(--ss-border-soft);
    border-radius: var(--ss-radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
    box-shadow: var(--ss-shadow-sm);
}

.legend-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--ss-text-main);
}

.legend-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ss-text-sub);
}

.legend-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 18px;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f6f9f8;
    box-shadow: inset 0 0 0 1px rgba(0, 102, 85, 0.06);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 999px;
}

.legend-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ss-text-main);
}

.legend-open {
    background: var(--ss-open);
}

.legend-apply {
    background: var(--ss-apply);
}

.legend-docs {
    background: var(--ss-docs);
}

.legend-result {
    background: var(--ss-result);
}

.legend-contract {
    background: var(--ss-contract);
}

/* =========================================================
   16. 하단 안내 문구 카드
   ========================================================= */
.schedule-note-section {
    margin-top: 24px;
}

.schedule-note-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 24px;
    border-radius: var(--ss-radius-lg);
    background: linear-gradient(135deg, rgba(0, 102, 85, 0.08), rgba(0, 102, 85, 0.03));
    border: 1px solid rgba(0, 102, 85, 0.10);
    box-shadow: var(--ss-shadow-sm);
}

.schedule-note-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.schedule-note-icon {
    font-size: 28px;
    color: var(--ss-primary);
}

.schedule-note-title {
    margin: 2px 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--ss-text-main);
}

.schedule-note-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: var(--ss-text-sub);
}

/* =========================================================
   17. 등장 애니메이션
   ========================================================= */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal-up {
    transform: translateY(44px);
}

.reveal-left {
    transform: translateX(-44px);
}

.reveal-right {
    transform: translateX(44px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* =========================================================
   18. 데스크톱 중간 폭 대응
   ========================================================= */
@media (max-width: 1180px) {
    :root {
        --ss-cell-height: 118px;
    }

    .schedule-summary-grid {
        grid-template-columns: 1fr;
    }

    .calendar-header-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .calendar-header-controls {
        width: 100%;
        justify-content: flex-end;
    }

    .legend-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .legend-list {
        justify-content: flex-start;
    }

    .calendar-hero-title {
        font-size: 44px;
    }

    .single-event-text,
    .range-text {
        font-size: 16px;
    }
}

/* =========================================================
   19. 태블릿 대응
   ========================================================= */
@media (max-width: 900px) {
    :root {
        --ss-cell-height: 102px;
    }

    .sub-hero-section {
        min-height: 200px;
        padding: 50px 20px 30px;
    }

    .sub-hero-title {
        font-size: 42px;
    }

    .sub-hero-description {
        font-size: 17px;
    }

    .page-content-wrap {
        padding: 70px 20px 90px;
    }

    .section-title {
        font-size: 34px;
    }

    .section-description {
        font-size: 16px;
    }

    .calendar-header-title {
        font-size: 26px;
    }

    .calendar-shell {
        padding: 18px 18px 24px;
    }

    .calendar-hero-banner {
        padding: 34px 20px 32px;
    }

    .calendar-hero-title {
        font-size: 42px;
    }

    .calendar-hero-text-wrap {
        padding: 16px 18px;
        border-radius: 20px;
    }

    .calendar-hero-pattern-left {
        left: 20px;
        top: 22px;
        width: 84px;
        height: 20px;
    }

    .calendar-hero-pattern-right {
        right: 20px;
        top: 20px;
        width: 64px;
        height: 24px;
    }

    .weekday {
        font-size: 14px;
        padding: 12px 6px;
    }

    .calendar-day-number {
        min-width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .calendar-month-label {
        left: 14px;
        top: 40px;
        font-size: 14px;
    }

    .single-event-box,
    .range-event-bar {
        top: 36px;
    }

    .single-event-text,
    .range-text {
        font-size: 14px;
    }

    .range-arrow-left::before,
    .range-arrow-right::after {
        width: 42px;
    }
}

/* =========================================================
   20. 모바일 대응
   ========================================================= */
@media (max-width: 640px) {
    :root {
        --ss-cell-height: 78px;
    }

    .sub-hero-section {
        min-height: 180px;
        padding: 42px 16px 24px;
    }

    .sub-hero-title {
        font-size: 28px;
    }

    .sub-hero-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .page-content-wrap {
        padding: 55px 16px 80px;
    }

    .section-title-wrap {
        margin-bottom: 24px;
    }

    .section-kicker {
        font-size: 12px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .summary-card {
        padding: 18px 16px;
        gap: 12px;
    }

    .summary-card-icon-wrap,
    .schedule-note-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .summary-card-title {
        font-size: 18px;
    }

    .summary-card-text,
    .schedule-note-text,
    .legend-description {
        font-size: 14px;
    }

    .calendar-header-card {
        padding: 18px 16px;
        border-radius: 22px;
    }

    .calendar-header-title {
        font-size: 22px;
    }

    .calendar-header-desc {
        font-size: 14px;
    }

    .calendar-header-controls {
        gap: 8px;
    }

    .calendar-nav-btn {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .calendar-today-btn {
        min-width: auto;
        height: 42px;
        padding: 0 14px;
        border-radius: 14px;
        font-size: 13px;
    }

    .calendar-board-card {
        border-radius: 24px;
    }

    .calendar-hero-banner {
        padding: 26px 14px 24px;
    }

    .calendar-hero-title {
        font-size: 28px;
        letter-spacing: 0.03em;
    }

    .calendar-hero-kicker {
        font-size: 10px;
        letter-spacing: 0.22em;
    }

    .calendar-hero-text-wrap {
        padding: 14px 12px;
        border-radius: 18px;
    }

    .calendar-hero-pattern-left {
        left: 14px;
        top: 16px;
        width: 54px;
        height: 14px;
    }

    .calendar-hero-pattern-right {
        right: 14px;
        top: 14px;
        width: 42px;
        height: 18px;
    }

    .calendar-shell {
        padding: 12px 12px 16px;
    }

    .weekday {
        padding: 10px 2px;
        font-size: 11px;
    }

    .calendar-cell {
        padding: 6px 4px 4px;
    }

    .calendar-day-number {
        min-width: 24px;
        height: 24px;
        padding: 0 6px;
        font-size: 11px;
        border-width: 2px;
    }

    .calendar-month-label {
        left: 8px;
        top: 30px;
        font-size: 11px;
    }

    .single-event-box,
    .range-event-bar {
        top: 28px;
        bottom: 4px;
        padding: 4px 6px;
    }

    .single-event-text,
    .range-text {
        font-size: 11px;
        line-height: 1.3;
    }

    .range-arrow-left::before,
    .range-arrow-right::after,
    .range-arrow-left::after,
    .range-arrow-right::before {
        display: none;
    }

    .legend-card {
        padding: 18px 16px;
        border-radius: 22px;
    }

    .legend-title {
        font-size: 20px;
    }

    .legend-list {
        gap: 10px;
    }

    .legend-item {
        padding: 8px 12px;
    }

    .legend-label {
        font-size: 13px;
    }

    .schedule-note-card {
        padding: 18px 16px;
        border-radius: 22px;
    }

    .schedule-note-title {
        font-size: 20px;
    }
}


/* =========================================================
   접근성 보완 : 모션 최소화 설정 대응
   ---------------------------------------------------------
   사용자의 브라우저 또는 OS에서 '동작 줄이기'가 설정되어 있으면
   스크롤 등장 애니메이션, hover 이동 효과, 버튼 이동 효과를 최소화합니다.
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal.show,
    .reveal.active {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
