/* ==========================================================================
   양주시 드론봇인재교육센터 - 페이지별 스타일
   ========================================================================== */

/** ================== 메인 페이지 START ================== */
/* ===== 메인 페이지 - 히어로 슬라이더 ===== */
.hero {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 550px;
    background: linear-gradient(135deg, var(--brand-accent) 0%, #fff 100%);
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-placeholder {
    text-align: center;
    color: var(--text-muted);
}
.hero-placeholder .label {
    font-size: 1.5em;
    font-weight: 500;
    color: var(--brand-deep);
    margin-bottom: 8px;
}
.hero-placeholder .desc {
    font-size: 0.9375em;
    color: var(--text-muted);
}

/* ===== 메인 슬라이드 이미지 ===== */
.hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* 슬라이드 위 어두운 오버레이 (텍스트 가독성) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 20, 50, 0.65) 0%,
        rgba(0, 20, 50, 0.45) 50%,
        rgba(0, 20, 50, 0.25) 100%
    );
    z-index: 1;
}

/* 슬라이드 텍스트 영역 */
.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 640px;
    color: #fff;
    opacity: 0;
    transform: translateY(-30%);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}
.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(-50%);
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.8125em;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 2.75em;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 18px;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
    letter-spacing: -0.01em;
}

.hero-desc {
    font-size: 1.125em;
    font-weight: 400;
    line-height: 1.65;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    line-height: 1;
}
.hero-btn i { font-size: 1.1em; transition: transform 0.25s ease; }
.hero-btn.primary {
    background: #fff;
    color: var(--brand-deep);
    border: 1px solid #fff;
}
.hero-btn.primary:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}
.hero-btn.primary:hover i { transform: translateX(4px); }
.hero-btn.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.125em;
    color: var(--bg-light);
    transition: all 0.2s;
    z-index: 5;
}
.hero-arrow:hover {
    background: #fff;
    color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }

.hero-indicators {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.hero-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
}
.hero-indicators span.active { background: var(--brand-primary); }

/* ===== 메인 - 하단 정보 영역 ===== */
.main-info {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 0px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 50px;
}
.info-card {
    background: #fff;
    transition: box-shadow 0.2s;
}
.info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--text-primary);
}
.info-card-header h3 {
    font-size: 1.125em;
    font-weight: 700;
}
.info-card-header a {
    font-size: 0.9375em;
    color: var(--text-secondary);
    text-decoration: none;
}
.info-card-header a:hover { color: var(--brand-primary); }
.info-list {
    list-style: none;
}
.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-list li:hover { color: var(--brand-primary); }
.info-list li .date {
    font-size: 0.9375em;
    color: var(--text-muted);
}

.quick-menu {
    grid-column: span 1;
    display: grid;
    grid-template-rows: 1fr;
}
.quick-menu .info-card-header {
    justify-content: center;
}
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /** grid-template-columns: 1fr 1fr; */
    gap: 12px;
    height: 100%;
}
.quick-btn {
    position: relative;
    border-radius: 12px;
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    min-height: 170px;
    text-align: center;
}
.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.quick-btn:active {
    transform: translateY(-1px);
}

/* 배경 장식용 원 */
.quick-btn-bg-circle {
    position: absolute;
    right: -28px;
    top: -28px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease;
    pointer-events: none;
}
.quick-btn:hover .quick-btn-bg-circle {
    transform: scale(1.25);
}

/* 큰 아이콘 (박스 없이 그대로) */
.quick-btn-icon {
    position: relative;
    z-index: 1;
    font-size: 2.25em;
    color: #fff;
    line-height: 1;
    transition: transform 0.25s ease;
}
.quick-btn:hover .quick-btn-icon {
    transform: translateY(-2px);
}

/* 한글 타이틀 */
.quick-btn-title {
    position: relative;
    z-index: 1;
    font-size: 1.0625em;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

/* 영문 서브 카피 */
.quick-btn-sub {
    position: relative;
    z-index: 1;
    font-size: 0.6875em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.12em;
}

/* 컬러 변형: Primary (교육신청) - 파랑 그라데이션 유지 */
.quick-btn-primary {
    background: linear-gradient(135deg, #185fa5 0%, #0c447c 100%);
}

/* 컬러 변형: Dark (마이페이지) - 검정 그라데이션 유지 */
.quick-btn-dark {
    background: linear-gradient(135deg, #2c2c2a 0%, #1a1a1a 100%);
}

/** ================== 메인 페이지 END ================== */

/* ==========================
   Paging
========================== */

/*==========================
    Paging
==========================*/

.paging-wrap{
    display:flex;
    justify-content:center;
    margin:40px 0;
}

.paging{
    display:flex;
    align-items:center;
    gap:6px;
}

.paging button{
    min-width:38px;
    height:38px;
    padding:0 10px;
    border:1px solid #ddd;
    background:#fff;
    color:#666;
    border-radius:4px;
    cursor:pointer;
    transition:.2s;
}

.paging button:hover{
    border-color:#004ea2;
    color:#004ea2;
}

.paging button.active{
    background:#004ea2;
    border-color:#004ea2;
    color:#fff;
}

.paging button:disabled{
    opacity:.4;
    cursor:default;
}

@media(max-width:768px){

    .paging{
        gap:4px;
        flex-wrap:wrap;
    }

    .paging button{
        min-width:34px;
        height:34px;
        font-size:13px;
    }

}

.location-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #ddd;
}

.location-table th,
.location-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
    text-align: left;
    line-height: 1.5;
}

.location-table th {
    width: 180px;
    background: #f8f9fb;
    font-weight: 700;
    color: #222;
	text-align: center;      /* 가운데 정렬 */
	vertical-align: middle;  /* 세로 가운데 */
}

.location-table td {
    color: #555;
    text-align: center;      /* 가운데 정렬 */
	vertical-align: middle;  /* 세로 가운데 */
}

.location-note {
    color: #777;
    font-size: 0.95rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #ddd;
}

.info-table th,
.info-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
    text-align: left;
    line-height: 1.8;
}

.info-table th {
    width: 180px;
    background: #f8f9fb;
    font-weight: 700;
    color: #222;
	text-align: center;      /* 가운데 정렬 */
	vertical-align: middle;  /* 세로 가운데 */
}

.info-table td {
    color: #555;
}

.info-note {
    color: #777;
    font-size: 0.95rem;
}

/* ===== 센터 안내 ===== */
.intro-text {
    /** background: var(--bg-light); */
    padding: 5px;
    border-radius: 8px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}
.intro-text .placeholder-note {
    color: var(--text-muted);
    margin-left: 10px;
    /** font-size: 0.9375em; */
}

.intro-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #2771f50a;
    border-radius: 8px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.intro-box i {
    flex-shrink: 0;
    font-size: 36px;
    color: var(--primary-color);
    line-height: 1;
}

.intro-content {
    flex: 1;
}

.intro-content p {
    margin: 0;
   
    line-height: 1.8;
}

.intro-content p + p {
    margin-top: 8px;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}
.facility-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
}
.facility-img {
    aspect-ratio: 4/3;
    background: var(--bg-light);
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9375em;
}
.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 핵심 */
    display: block;
}
.facility-name {
    padding: 14px;
    text-align: center;
    font-weight: 600;
    background: #fff;
}

/* ===== 일정표 (캘린더) ===== */
.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}
.calendar-header button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1em;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-family: inherit;
}
.calendar-header button:hover {
    background: var(--brand-accent);
    color: var(--brand-primary);
}
.calendar-header .month {
    font-size: 1.375em;
    font-weight: 700;
}
.calendar {
    width: 100%;
    table-layout: fixed;             
    border-collapse: collapse;
    border: 1px solid var(--border-color);
}

.calendar th,
.calendar td {
    width: 14.28%;                   
    box-sizing: border-box;          
}

.calendar th {
    padding: 14px 8px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9375em;
}

.calendar th.sun {
    color: var(--weekend-sun);
}

.calendar th.sat {
    color: var(--weekend-sat);
}

.calendar td.today .date-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2771f5;
    color: #fff;
    font-weight: bold;
}

.calendar td {
    border: 1px solid var(--border-color);
    height: 110px;
    vertical-align: top;
    padding: 8px;
    position: relative;
}

.calendar td .date-num {
    font-size: 0.9375em;
    font-weight: 500;
}

.calendar td.sun .date-num {
    color: var(--weekend-sun);
}

.calendar td.sat .date-num {
    color: var(--weekend-sat);
}

.calendar td.empty {
    background: #fafafa;
}

.calendar-selected {
    border: 2px solid #2563eb !important;
    box-sizing: border-box;
}

.more-edu {
    font-size: 12px;
    color: #666;
    cursor: pointer;
    margin-top: 2px;
}
.event-bar {
    position: absolute;
    height: 22px;
    left: 0;
    right: 0;
    padding: 0px 8px;
    font-size: 0.9375em;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.event-bar.list1 {
    background: #7b6fc4;
    /** top: 30px; */
}
.event-bar.list2 {
    background: #e8a87c;
    /** top: 56px; */
}
.event-bar.list3 {
    background: #6ec5a8;
    /** top: 82px; */
}

.event-bar.list4 {
	background: #fbd8fc;
}


.btn-apply-wrap {
    text-align: center;
    margin-top: 30px;
}

.fac-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.facility-btn {
    border: none;
    border-radius: 4px;
    padding: 2px 6px;
    color: #fff;
    /** cursor: pointer; */

    font-size: 11px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* 신청 가능 */
.facility-btn.active {
    background: #2f6df6;
}

/* 신청 불가 */
.facility-btn.disabled {
    background: #bfc5cc;
}


/* ===== 교육 신청 목록 ===== */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.filter-tab {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.9375em;
    transition: all 0.2s;
    font-family: inherit;
}
.filter-tab.active {
    background: var(--text-primary);
    color: #fff;
}
.filter-tab:hover:not(.active) {
    border-color: var(--border-color);
}

.search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    align-items: center;
}
.search-bar select {
	padding: 10px 14px;
}

.search-bar input {
	flex: 1;
    min-width: 400px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9375em;
    font-family: inherit;
}
.search-bar input { flex: 1; }

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.course-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}
.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.course-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f0f4fa 0%, #e3edf9 100%);
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9375em;
    position: relative;
}
.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 핵심 */
    display: block;
}
.course-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--text-primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.9375em;
    font-weight: 600;
    border-radius: 3px;
}
.course-body { padding: 14px; }
.course-title {
    font-size: 0.9375em;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}
.course-meta {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.course-meta .info {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}
.course-price {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.9375em;
}
.course-price i { color: #ffca00; }

/* ===== 교육 상세 ===== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}
.detail-section {
    margin-bottom: 30px;
}
.detail-section h4,
.detail-section h3 {
    /** font-size: 1em; */
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.detail-img {
    aspect-ratio: 16/9;
    background: var(--bg-light);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 핵심 */
    display: block;
}
.detail-text {
    padding: 10px;
    /** background: var(--bg-light); */
    border-radius: 6px;
    /** color: var(--text-secondary); */
    line-height: 1.7;
    /** min-height: 80px; */
}

@media (max-width:768px){

    .info-table th{
        width:110px;
        font-size:15px;
        padding:14px 10px;
    }

    .info-table td{
        font-size:15px;
        padding:14px 12px;
    }
}
.apply-card {
    position: sticky;
    top: 110px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    height: fit-content;
}
.apply-card .badge {
    display: inline-block;
    background: var(--bg-tab);
    color: var(--brand-deep);
    padding: 4px 10px;
    font-size: 0.9375em;
    border-radius: 4px;
    margin-bottom: 12px;
    font-weight: 600;
}
.apply-card h3 {
    font-size: 1.1875em;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
}
.apply-card .price {
    color: var(--brand-primary);
    font-size: 1.125em;
    font-weight: 700;
    margin-bottom: 20px;
}
.apply-card .actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.apply-card .actions button {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9375em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-family: inherit;
}
.apply-card .actions button:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.apply-card .btn-class {
    width: 100%;
    background: linear-gradient(135deg, #5b7ee8 0%, #3a5bd0 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 0.9375em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: block;
    text-align: center;
}
.apply-card .btn-class.btn-class-cancel {
    background: linear-gradient(135deg, #9aa0a6 0%, #6b7280 100%);
}
.apply-card .btn-class:hover { opacity: 0.9; }
.apply-card .info-rows {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9375em;
    color: var(--text-secondary);
}
.apply-card .info-rows div {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== 신청 폼 ===== */
.agree-box{
    border:1px solid #d9d9d9;
    background:#fafafa;
}

.agree-title{
    padding:12px 18px;
    background:#f5f5f5;
    border-bottom:1px solid #ddd;
    font-size:16px;
    font-weight:700;
}

.agree-content{
    padding:10px;
    background:#fff;
}

.agree-table{
    width:100%;
    border-collapse:collapse;
}

.agree-table th{
    width:180px;
    text-align:left;
    padding:12px 15px;
    background:#f8f8f8;
    border:1px solid #e5e5e5;
    font-weight:600;
    vertical-align:top;
}

.agree-table td{
    padding:12px 15px;
    border:1px solid #e5e5e5;
    line-height:1.8;
    color:#555;
}

.agree-check{
    padding:15px 18px;
    background:#f8f8f8;
    border-top:1px solid #ddd;
}


.agree-check label{
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.5;
    font-weight:600;
}

.agree-check input[type="checkbox"]{
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.agree-check .required{
    color: #e53935;
    font-weight: 600;
}

.required{
    color:#e53935;
}

.form-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--border-color);
}
.form-table th,
.form-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.9375em;
    vertical-align: middle;
}
.form-table th {
    background: var(--bg-light);
    width: 200px;
    font-weight: 600;
}
.form-table th .req::after {
    content: " \2713";
    color: var(--brand-primary);
    font-size: 0.9375em;
}
.form-table input[type="text"],
.form-table input[type="email"],
.form-table select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9375em;
    font-family: inherit;
}
.form-table input[type="text"] { min-width: 300px; }
.form-table .row-flex {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.form-table textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9375em;
    resize: vertical;
}
.form-actions {
    text-align: right;
    margin-top: 20px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.form-actions button {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9375em;
    font-family: inherit;
    transition: all 0.2s;
}
.form-actions button.primary {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}
.form-actions button:hover:not(.primary) {
    background: var(--bg-light);
}
.form-actions button.primary:hover {
    background: #000;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.date-range input[type="date"] {
    width: 180px;
    min-width: 160px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    box-sizing: border-box;
}

.date-range span {
    font-weight: 600;
    color: var(--text-muted);
}


@media (max-width: 768px) {
    .date-range {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .date-range span {
        display: none;
    }

    .date-range input[type="date"] {
        width: 100%;
    }
}

/* ===== Q&A 게시판 ===== */
.notice-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.notice-box svg {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--text-muted);
}
.notice-box i { color: var(--text-muted); font-size: 36px; }
.notice-box p {
    font-size: 0.9375em;
    color: var(--text-secondary);
    line-height: 1.6;
}
.board-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--text-primary);
    flex-wrap: wrap;
    gap: 10px;
}
.board-count { font-weight: 600; }
.board-controls .search-bar { margin: 0; }

.qna-table {
    width: 100%;
    border-collapse: collapse;
}
.qna-table th,
.qna-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375em;
}
.qna-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9375em;
}
.qna-table td.title-cell {
    text-align: left;
    cursor: pointer;
}
.qna-table td.title-cell:hover { color: var(--brand-primary); }
.qna-table .status-proc { color: var(--danger); font-weight: 600; }
.qna-table .status-done { color: var(--success); font-weight: 600; }
.qna-table .secret-icon {
    color: #b5b5b5;
    margin-right: 6px;
    font-size: 1em;
    vertical-align: middle;
}

.noti-table {
    width: 100%;
    border-collapse: collapse;
}
.noti-table th,
.noti-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375em;
}
.noti-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9375em;
}
.noti-table td.title-cell {
    text-align: left;
    cursor: pointer;
}
.noti-table td.title-cell:hover { color: var(--brand-primary); }
.noti-table .status-proc { color: var(--danger); font-weight: 600; }
.noti-table .status-done { color: var(--success); font-weight: 600; }
.noti-table .secret-icon {
    color: #b5b5b5;
    margin-right: 6px;
    font-size: 1em;
    vertical-align: middle;
}


.board-table {
    width: 100%;
    border-collapse: collapse;
}
.board-table th,
.board-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375em;
}
.board-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9375em;
}
.board-table td.title-cell {
    text-align: left;
    cursor: pointer;
}
.board-table td.title-cell:hover { color: var(--brand-primary); }
.board-table .status-proc { color: var(--danger); font-weight: 600; }
.board-table .status-done { color: var(--success); font-weight: 600; }
.board-table .secret-icon {
    color: #b5b5b5;
    margin-right: 6px;
    font-size: 1em;
    vertical-align: middle;
}
.board-footer {
    margin-top: 20px;
    text-align: right;
}
.btn-write {
    background: var(--text-primary);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9375em;
    font-family: inherit;
}

/* ===== FAQ ===== */
.faq-list {
    list-style: none;
    border-top: 1px solid var(--border-color);
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-q-icon {
    width: 28px;
    height: 28px;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375em;
    flex-shrink: 0;
}
.faq-q-text {
    flex: 1;
    font-size: 0.9375em;
    font-weight: 500;
}
.faq-toggle {
    color: var(--text-muted);
    transition: transform 0.3s;
}
.faq-item.open .faq-toggle { transform: rotate(180deg); }
.faq-answer {
    display: block;
    padding: 20px 20px 24px 64px;
    background: var(--bg-light);
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
}
.faq-item.open .faq-answer { display: block; }

/* ===== 마이페이지 ===== */
/* ==============================
   조회영역
============================== */
.search-area{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;

    margin:30px 0;
    padding:20px 24px;

    border:1px solid #e5e5e5;
    border-radius:10px;
    background:#fafafa;
}

.search-title{
    font-size:18px;
    font-weight:700;
    white-space:nowrap;
}

.period-btn-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.period-btn{
    min-width:70px;
    height:38px;

    padding:0 15px;

    border:1px solid #dcdcdc;
    border-radius:6px;

    background:#fff;
    cursor:pointer;

    transition:.2s;
}

.period-btn:hover{
    border-color:#2c67d8;
}

.period-btn.active{
    background:#2c67d8;
    color:#fff;
    border-color:#2c67d8;
}

.date-wrap{
    display:flex;
    align-items:center;
    gap:10px;

    margin-left:auto;
    flex-wrap:wrap;
}

.date-wrap input{
    width:160px;
    height:40px;

    padding:0 10px;

    border:1px solid #ddd;
    border-radius:6px;
    box-sizing:border-box;
}

.btn-search{
    width:90px;
    height:40px;

    border:none;
    border-radius:6px;

    background:#2c67d8;
    color:#fff;

    cursor:pointer;
    transition:.2s;
}

.btn-search:hover{
    background:#1f56bd;
}


/* ==============================
   Tablet (1024px 이하)
============================== */
@media (max-width:1024px){

    .search-area{
        gap:15px;
    }

    .date-wrap{
        margin-left:0;
        width:100%;
    }

}


/* ==============================
   Mobile (768px 이하)
============================== */
@media (max-width:768px){

    .search-area{
        flex-direction:column;
        align-items:flex-start;
        padding:18px;
    }

    .search-title{
        font-size:16px;
    }

    .period-btn-wrap{
        width:100%;
        justify-content:space-between;
    }

    .period-btn{
        flex:1;
        min-width:0;
        padding:0;
    }

    .date-wrap{
        width:100%;
        margin-left:0;
        gap:8px;
    }

    .date-wrap input{
        flex:1;
        width:auto;
    }

    .btn-search{
        width:100%;
        margin-top:8px;
    }

}

.mypage-summary {
	background:var(--bg-light);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}
.mypage-summary h3 {
    text-align: center;
    font-size: 1.125em;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}
.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.summary-stats .stat-box {
    cursor: pointer;
}
.stat-box {
    text-align: center;
    padding: 16px;
    background: #fff;
    border-radius: 6px;
}
.stat-box .label {
    color: var(--text-secondary);
    font-size: 0.9375em;
    font-weight: 600;
    margin-bottom: 6px;
}
.stat-box .value {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--brand-primary);
}
.stat-box .unit { font-size: 0.9375em; color: var(--text-secondary); }

.mypage-tabs {
    display: flex;
    border-bottom: 2px solid var(--text-primary);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.mypage-tabs button {
    padding: 14px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9375em;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    font-family: inherit;
}
.mypage-tabs button.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
    font-weight: 700;
}
.booking-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
    background: #fff;
    transition: box-shadow 0.2s;
}
.booking-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.booking-status {
    display: inline-block;
    padding: 4px 12px;
    background: var(--success);
    color: #fff;
    font-size: 0.9375em;
    border-radius: 4px;
    margin-bottom: 12px;
    font-weight: 600;
}
.booking-status.wait { background: var(--brand-wait); }
.booking-status.app { background: var(--brand-primary); }
.booking-status.end { background: var(--brand-end); }

.booking-card h4 {
    font-size: 1.0625em;
    font-weight: 700;
    margin-bottom: 12px;
}
.booking-info {
    color: var(--text-secondary);
    font-size: 0.9375em;
    line-height: 1.8;
    margin-bottom: 16px;
}
.booking-info .note {
    color: var(--text-muted);
    font-size: 0.9375em;
    font-style: italic;
}
.booking-actions {
    display: flex;
    gap: 8px;
}
.booking-actions button {
    padding: 8px 18px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9375em;
    font-family: inherit;
    transition: all 0.2s;
}
.booking-actions button:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.booking-actions button.danger:hover {
    border-color: var(--danger);
    color: var(--danger);
}

/* ===== 페이지별 반응형 ===== */
@media (max-width: 1024px) {
    .main-info { grid-template-columns: 1fr; }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .facility-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .course-grid { grid-template-columns: 1fr; }
    .summary-stats { grid-template-columns: 1fr; }
    .form-table th { width: 110px; padding: 12px 8px; font-size: 0.9375em; }
    .hero-slider { height: 380px; }
    .hero-content { left: 6%; right: 6%; max-width: none; }
    .hero-title { font-size: 1.625em; }
    .hero-desc { font-size: 0.9375em; margin-bottom: 24px; }
    .hero-tag { font-size: 0.75em; padding: 4px 12px; margin-bottom: 16px; }
    .hero-btn { padding: 11px 20px; font-size: 0.9375em; }
}
/* ===== Q&A 글보기 ===== */
.view-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.view-table th,
.view-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.9375em;
    vertical-align: middle;
}
.view-table th {
    background: var(--bg-light);
    width: 140px;
    font-weight: 600;
    color: var(--text-secondary);
}
.view-title-row th {
    font-size: 1em;
}
.view-title-row td {
    font-size: 1.0625em;
    font-weight: 600;
}


.view-table .form-ipt {
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
}



.view-content {
    padding: 30px 20px;
    min-height: 240px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-wrap;
}
.view-answer {
    background: var(--bg-light);
    padding: 18px 20px;
    border-radius: 0;
    margin-bottom: 10px;
    border-left: 3px solid var(--brand-primary);
}
.view-answer:last-of-type {
    margin-bottom: 24px;
}
.view-answer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.view-answer-header .badge-a {
    background: var(--brand-primary);
    color: #fff;
    font-size: 0.75em;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 3px;
    line-height: 1.5;
}
.view-answer-header .view-answer-writer {
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-primary);
}
.view-answer-header .view-answer-date {
    margin-left: auto;
    font-size: 0.8125em;
    font-weight: 400;
    color: var(--text-muted);
}
.view-answer-body {
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 0;
    font-size: 0.9375em;
}
.view-answer-empty {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
    font-size: 0.9375em;
}
.view-nav {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 30px 0 20px;
}
.view-nav-item {
    display: flex;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    gap: 16px;
    font-size: 0.9375em;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.2s;
}
.view-nav-item:last-child { border-bottom: none; }
.view-nav-item:hover { background: var(--bg-light); color: var(--brand-primary); }
.view-nav-item .arrow {
    width: 60px;
    color: var(--text-muted);
    font-weight: 600;
}
.view-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 8px;
}
.view-actions .left,
.view-actions .right {
    display: flex;
    gap: 8px;
}
.view-actions button,
.view-actions a {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9375em;
    font-family: inherit;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}
.view-actions button:hover,
.view-actions a:hover {
    background: var(--bg-light);
}
.view-actions .primary {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}
.view-actions .primary:hover {
    background: #000;
}
.view-actions .danger {
    color: var(--danger);
    border-color: var(--danger);
}
.view-actions .danger:hover {
    background: var(--danger);
    color: #fff;
}

/* ===== Q&A 글쓰기 ===== */
.write-form {
    border-top: 1px solid var(--border-color);
}
.write-form .form-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}
.write-form .form-label {
    width: 160px;
    background: var(--bg-light);
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.9375em;
    display: flex;
    align-items: center;
}
.write-form .form-label .req {
    color: var(--brand-primary);
    margin-left: 4px;
}
.write-form .form-field {
    flex: 1;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.write-form input[type="text"],
.write-form input[type="password"],
.write-form select {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.9375em;
    font-family: inherit;
}
.write-form input[type="text"],
.write-form input[type="password"]
 { flex: 1; min-width: 0; }
 
 .file-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.file-field > div {
    width: 100%;
    margin-top: 10px;
}

.file-select-btn,
.file-del-btn {
    height: 30px;
    padding: 0 12px;
    cursor: pointer;
}


.file-del-btn {
    margin-left: 8px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    font-size: 14px;
}

.file-del-btn:hover {
    color: red;
}

.write-form select { min-width: 140px; }
.write-form .form-field.full {
    padding: 0;
    align-items: stretch;
}
.write-form textarea {
    width: 100%;
    min-height: 280px;
    padding: 16px;
    border: none;
    font-family: inherit;
    font-size: 0.9375em;
    resize: vertical;
    line-height: 1.7;
    outline: none;
}
.write-form .file-info {
    padding: 12px 16px;
    background: var(--bg-light);
    font-size: 0.9375em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}
.write-notice {
    background: var(--bg-light);
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9375em;
    color: var(--text-secondary);
    line-height: 1.7;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.write-notice strong {
    color: var(--brand-primary);
    flex-shrink: 0;
}
.write-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.write-actions button,
.write-actions a {
    padding: 12px 36px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9375em;
    font-family: inherit;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}
.write-actions button:hover,
.write-actions a:hover {
    background: var(--bg-light);
}
.write-actions .primary {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
    font-weight: 600;
}
.write-actions .primary:hover {
    background: var(--brand-deep);
}

@media (max-width: 640px) {
    .view-table th { width: 90px; padding: 12px 10px; }
    .view-table td { padding: 12px 10px; }
    .write-form .form-row { flex-direction: column; }
    .write-form .form-label { width: 100%; padding: 12px 16px; }
}

/* ===== 마이페이지 - 카테고리 태그 ===== */
.category-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8125em;
    font-weight: 600;
    margin-right: 10px;
    vertical-align: middle;
    line-height: 1.4;
    letter-spacing: 0.02em;
}
.category-tag.tag-edu {
    background: #e3edf9;
    color: #1e5fbf;
    border: 1px solid #b9d2ee;
}
.category-tag.tag-facility {
    background: #e9f6ef;
    color: #2a8d5d;
    border: 1px solid #b9e0c8;
}
.category-tag.tag-event {
    background: #fef0e6;
    color: #c25a16;
    border: 1px solid #f5cda8;
}

/* booking-card h4 자체의 정렬 조정 */
.booking-card h4 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

/* 필터링: hidden 처리 */
.booking-card.hidden {
    display: none;
}

/* mypage-tabs 버튼 호버 효과 보강 */
.mypage-tabs button:hover:not(.active) {
    color: var(--brand-primary);
}
/* ===== 사이트맵 ===== */
.sitemap-intro {
    background: var(--bg-light);
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 0.9375em;
    color: var(--text-secondary);
    line-height: 1.7;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.sitemap-intro i {
    color: var(--brand-primary);
    font-size: 1.5em;
    flex-shrink: 0;
    line-height: 1;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sitemap-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}
.sitemap-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.sitemap-card-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-deep) 100%);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.sitemap-card-header i {
    font-size: 1.75em;
    flex-shrink: 0;
}
.sitemap-card-header h3 {
    font-size: 1.25em;
    font-weight: 700;
    margin: 0;
}
.sitemap-card-header p {
    font-size: 0.8125em;
    opacity: 0.85;
    margin-top: 2px;
}
.sitemap-card-body {
    padding: 16px 24px 20px;
}
.sitemap-card-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sitemap-card-body li {
    border-bottom: 1px solid #f0f0f0;
}
.sitemap-card-body li:last-child { border-bottom: none; }
.sitemap-card-body a {
	position: relative;
    display: flex;
    align-items: center;
    justify-content:  flex-start;
    padding: 12px 4px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9375em;
    font-weight: 500;
    transition: color 0.2s, padding-left 0.2s;
}
.sitemap-card-body a:hover {
    color: var(--brand-primary);
    padding-left: 10px;
}
.sitemap-card-body a .arrow {
    color: var(--text-muted);
    font-size: 0.875em;
    transition: transform 0.2s;
	position: absolute;
    right: 10px;
}
.sitemap-card-body a:hover .arrow {
    color: var(--brand-primary);
    transform: translateX(4px);
}
.sitemap-card-body .sub-list {
    padding-left: 16px;
    margin-top: 4px;
    margin-bottom: 4px;
}
.sitemap-card-body .sub-list a {
    padding: 8px 4px;
    font-size: 0.875em;
    font-weight: 400;
    color: var(--text-secondary);
}
.sitemap-card-body .sub-list a .tree-icon {
    color: var(--text-muted);
    margin-right: 8px;
    font-size: 0.95em;
}
.sitemap-card-body .sub-list a:hover .tree-icon {
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .sitemap-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   페이지별 모바일 반응형 최적화 (통합)
   ========================================================================== */

/* 태블릿 (1024px 이하) */
@media (max-width: 1024px) {
    /* 메인 - 슬라이드 */
    .hero { padding: 24px 16px 20px; }
    .hero-slider { height: 420px; }
    .hero-content { left: 6%; }
    .hero-title { font-size: 2.25em; }

    /* 메인 - 정보 카드 */
    .main-info { padding: 24px 16px 50px; gap: 16px; }

    /* 강좌 카드 */
    .course-grid { grid-template-columns: repeat(2, 1fr); }

    /* 상세 페이지 레이아웃 */
    .detail-layout { grid-template-columns: 1fr; gap: 24px; }
    .apply-card { position: static; }

    /* 시설 그리드 */
    .facility-grid { grid-template-columns: repeat(2, 1fr); }

    /* 사이트맵 */
    .sitemap-grid { grid-template-columns: 1fr; }
}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
    /* 메인 - 슬라이드 */
    .hero { padding: 16px 12px; }
    .hero-slider { height: 380px; border-radius: 6px; }
    .hero-arrow { display: none; }
    .hero-content {
        left: 24px;
        right: 24px;
        max-width: none;
    }
    .hero-title { font-size: 1.625em; }
    .hero-desc { font-size: 0.9375em; margin-bottom: 24px; }
    .hero-tag { font-size: 0.75em; padding: 4px 12px; margin-bottom: 16px; }
    .hero-btn { padding: 11px 20px; font-size: 0.9375em; }
    .hero-indicators { bottom: 24px; }

    /* 메인 - 정보 카드 (1열) */
    .main-info {
        grid-template-columns: 1fr;
        padding: 20px 16px 40px;
    }
    .info-card { padding: 18px; }
    .info-card-header h3 { font-size: 1em; }

    /* 시설 (1열) */
    .facility-grid { grid-template-columns: 1fr; gap: 14px; }

    /* 강좌 카드 (2열 유지하되 컴팩트) */
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .course-card-body { padding: 10px; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 6px 12px; font-size: 0.8125em; }

    /* 폼 테이블 - 모바일에서 세로 레이아웃 */
    .form-table th,
    .form-table td {
        display: block;
        width: 100% !important;
        padding: 10px 12px;
        border-bottom: none;
    }
    .form-table th {
        background: var(--bg-light);
        font-size: 0.875em;
        border-top: 1px solid var(--border-color);
    }
    .form-table td {
        border-bottom: 1px solid var(--border-color);
    }
    .form-table input[type="text"],
    .form-table input[type="email"] {
        width: 100% !important;
        min-width: 0;
    }
    .form-table .row-flex { flex-wrap: wrap; gap: 6px; }
    .form-actions { flex-wrap: wrap; }
    .form-actions button { flex: 1; min-width: 90px; }

    /* 글쓰기 폼 (label/field 세로 배치) */
    .write-form .form-row { flex-direction: column; }
    .write-form .form-label {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.875em;
    }
    .write-form .form-field { padding: 12px 16px; }

    /* 게시판 테이블 - 일부 컬럼 숨김 */
    /**
    .board-table th:nth-child(1),
    .board-table td:nth-child(1),
    .board-table th:nth-child(2),
    .board-table td:nth-child(2) {
        display: none;
    }
    */
    .qna-table th:nth-child(1),
    .qna-table td:nth-child(1),
    .qna-table th:nth-child(5),
    .qna-table td:nth-child(5){
    	display: none;
    }
    .qna-table th,
    .qna-table td {
        padding: 12px 8px;
        font-size: 0.875em;
    }
    .board-table th,
    .board-table td {
        padding: 12px 8px;
        font-size: 0.875em;
    }
    
    .noti-table th:nth-child(1),
    .noti-table td:nth-child(1),
    .noti-table th:nth-child(4),
    .noti-table td:nth-child(4){
    	display: none;
    }
    
    .noti-table th,
    .noti-table td {
        padding: 12px 8px;
        font-size: 0.875em;
    }
    
    

    /* Q&A 글보기 테이블 */
    .view-table th { width: 90px; padding: 12px 12px; font-size: 0.875em; }
    .view-table td { padding: 12px; font-size: 0.875em; }
    .view-actions { flex-direction: column; gap: 8px; }
    .view-actions .left,
    .view-actions .right {
        width: 100%;
        justify-content: flex-end;
    }

    /* FAQ */
    .faq-question { padding: 14px 16px; gap: 12px; }
    .faq-q-text { font-size: 0.9375em; }
    .faq-answer { padding: 16px 16px 20px 48px; font-size: 0.875em; }

    /* 마이페이지 */
    .mypage-summary { padding: 18px; }
    .summary-stats { grid-template-columns: 1fr; gap: 10px; }
    .stat-box { padding: 14px; }
    .mypage-tabs { flex-wrap: wrap; gap: 4px; border-bottom: none; }
    .mypage-tabs button {
        flex: 1 1 calc(50% - 4px);
        padding: 10px;
        font-size: 0.875em;
        border: 1px solid var(--border-color);
        border-radius: 6px;
    }
    .mypage-tabs button.active {
        border-color: var(--brand-primary);
        background: var(--bg-tab);
    }
    .booking-card { padding: 18px; }
    .booking-card h4 { font-size: 1em; }

    /* 사이트맵 카드 */
    .sitemap-card-header { padding: 16px 18px; }
    .sitemap-card-header h3 { font-size: 1.0625em; }
    .sitemap-card-body { padding: 12px 18px 16px; }

    /* 상세 페이지 */
    .detail-section h4 { font-size: 0.9375em; }
    .detail-text { padding: 14px; font-size: 0.875em; }
    .apply-card { padding: 18px; }
    .apply-card h3 { font-size: 1.0625em; }

    /* 검색바 */
    .search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .search-bar select,
    .search-bar input {
        width: 100%;
    }
    .board-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
}

/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    /* 메인 슬라이드 */
    .hero-slider { height: 320px; }
    .hero-title { font-size: 1.375em; }
    .hero-desc { font-size: 0.875em; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-btn { justify-content: center; padding: 12px 20px; }

    /* 강좌 카드 1열 */
    .course-grid { grid-template-columns: 1fr; }

}


/* ==========================================================================
   캘린더 - 범례 및 일정 리스트
   ========================================================================== */

/* 범례 (캘린더 아래) */
.event-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 20px 0 0;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: 8px;
}
.event-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375em;
    color: var(--text-secondary);
}
.event-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}
.event-dot.list1 { background: #7b6fc4; }
.event-dot.list2 { background: #e8a87c; }
.event-dot.list3 { background: #6ec5a8; }
.event-dot.list4 { background: #fbd8fc; }
.event-dot.list5 { background: #95b3f3; }
.event-dot.list6 { background: #ff888b; }
.event-dot.list7 { background: #b6fd8a; }
.event-dot.list8 { background: #5d525c; }



/* 일정 목록 (캘린더 아래) - 데스크탑에서는 숨김, 모바일에서만 표시 */
.event-list {
    display: none;
    margin-top: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px 20px;
}
.event-list-title {
    font-size: 1em;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}
.event-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.event-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.event-list li:last-child { border-bottom: none; }
.event-list-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.event-list-info strong {
    font-size: 0.9375em;
    font-weight: 600;
    color: var(--text-primary);
}
.event-list-info span {
    font-size: 0.8125em;
    color: var(--text-muted);
}

/* ===========================
   개인정보처리방침
=========================== */

.policy-wrap{
    display:flex;
    gap:50px;
}

.policy-nav{
    width:260px;
    flex-shrink:0;
    position:sticky;
    top:120px;
    align-self:flex-start;
}

.policy-nav h3{
    margin-bottom:15px;
    font-size:20px;
    font-weight:700;
}

.policy-nav ul{
    list-style:none;
    border:1px solid #ddd;
}

.policy-nav li{
    border-bottom:1px solid #eee;
}

.policy-nav li:last-child{
    border-bottom:none;
}

.policy-nav a{
    display:block;
    padding:12px 16px;
    color:#555;
    text-decoration:none;
}

.policy-nav a:hover{
    background:#f7f7f7;
    color:#0d6efd;
}

.policy-content{
    flex:1;
    min-width:0;
}

.policy-info{
    margin-bottom:30px;
    padding:18px;
    background:#f8f8f8;
    border-left:4px solid #0d6efd;
}

.policy-section{
    margin-bottom:60px;
}

.policy-section h3{
    font-size:24px;
    margin-bottom:20px;
    padding-bottom:12px;
    border-bottom:2px solid #222;
}

.policy-section p,
.policy-section li{
    line-height:1.9;
    color:#555;
}

.policy-section ul{
    padding-left:20px;
}

.policy-body{
    margin-top:25px;
}

.policy-body p{
    margin-bottom:18px;
    line-height:1.9;
    color:#444;
    text-align:justify;
}

.policy-list{
    margin-top:15px;
    padding-left:22px;
}

.policy-list li{
    margin-bottom:12px;
    line-height:1.8;
}

.policy-note{
    display:block;
    margin-top:6px;
    color:#666;
    font-size:15px;
}
.policy-table-wrap{
    overflow-x:auto;
    margin:25px 0;
}

.policy-table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
    font-size:16px;
}

.policy-table th{
    background:#2f7d78;
    color:#fff;
    padding:14px;
    border:1px solid #2b5d59;
    text-align:left;
    font-weight:600;
}

.policy-table td{
    padding:14px;
    border:1px solid #d9d9d9;
    vertical-align:middle;
    line-height:1.8;
    word-break:keep-all;
}

.policy-table tbody tr:nth-child(even){
    background:#fafafa;
}

.policy-table tbody tr:hover{
    background:#f3f8f8;
}

.policy-box{
    margin-top:25px;
    padding:24px 28px;
    background:#eef7f8;
    border-left:5px solid #2f7d78;
    border-radius:4px;
}

.policy-box-title{
    margin-bottom:18px;
    color:#2f7d78;
    font-size:22px;
    font-weight:700;
}

.policy-box ul{
    margin:0;
    padding-left:22px;
}

.policy-box li{
    margin-bottom:12px;
    line-height:1.9;
}

.policy-box li:last-child{
    margin-bottom:0;
}

/* ==========================================================================
   캘린더 - 모바일 최적화 (768px 이하)
   ========================================================================== */
@media (max-width: 768px) {
    /* 일정 리스트 표시 */
    .event-list { display: block; }

    /* 범례를 컴팩트하게 */
    .event-legend {
        gap: 10px 16px;
        padding: 12px 14px;
    }
    .event-legend-item { font-size: 0.8125em; }
    .event-dot { width: 10px; height: 10px; }

    /* 캘린더 컨테이너에 가로 여유 확보 - 테이블 자체는 100% */
    .calendar {
        table-layout: fixed;
        width: 100%;
    }
    .calendar th {
        padding: 10px 2px;
        font-size: 0.75em;
        font-weight: 600;
    }
    .calendar td {
        height: 70px;
        padding: 4px 2px;
        vertical-align: top;
    }
    .calendar td .date-num {
        font-size: 0.8125em;
        margin-bottom: 2px;
    }

    /* 이벤트 바: 데스크탑처럼 옆 셀로 이어지는 구조 유지, 텍스트만 숨김 */
    .calendar .event-bar {
        height: 8px;
        padding: 0;
        font-size: 0;
        line-height: 0;
        border-radius: 0;
        overflow: hidden;
    }
    /* 셀 안에서의 위치 조정 (날짜 숫자 아래) 
    .calendar .event-bar.list1 { top: 22px; }
    .calendar .event-bar.list2 { top: 32px; }
    .calendar .event-bar.list3 { top: 42px; }
    */
}

/* 공통 페이지 제목 */
.sub-title{
    text-align:center;
    margin-bottom:70px;
}

.sub-title h2{
    font-size:46px;
    font-weight:700;
    color:#222;
    margin-bottom:10px;
}

.sub-title p{
    font-size:18px;
    color:#999;
    letter-spacing:2px;
}

.festival-title{
    text-align:center;
    margin-bottom:60px;
}

.intro-top{
    text-align:center;
}

.festival-name{
    font-size:22px;
    color:#999;
    margin-top:10px;
}

.intro-top h3{
    margin:35px 0 20px;
    font-size:38px;
    font-weight:700;
    color:#ef7b73;
}

.intro-top .line{
    display:block;
    width:70px;
    height:2px;
    margin:0 auto 45px;
    background:#ef7b73;
}

.intro-text{
    font-size:18px;
    line-height:2;
    color:#444;
}


.festival-info{
    margin-top:60px;
    border-top:2px solid #222;
}

.festival-info table{
    width:100%;
    border-collapse:collapse;
}

.festival-info th{
    width:140px;
    padding:22px 15px;
    text-align:left;
    border-bottom:1px solid #ddd;
    font-weight:700;
}

.festival-info td{
    padding:22px 15px;
    border-bottom:1px solid #ddd;
    color:#555;
}

.opening{
    margin-top:10px;
    font-weight:600;
}

.opening i{
    color:#222;
    margin-right:5px;
}

/* ===============================
   Festival History
================================= */

.festival-title{
    width:100%;
    max-width:1100px;
    margin:0 auto;
    padding:20px 0 80px;
}


/* ===========================
   타임라인
=========================== */

.history-wrap{
    position:relative;
    padding-left:170px;
}

.history-wrap::before{
    content:"";
    position:absolute;
    left:95px;
    top:0;
    bottom:0;
    width:2px;
    background:#e5e5e5;
}

/* ===========================
   아이템
=========================== */

.history-item{
    display:flex;
    align-items:flex-start;
    margin-bottom:60px;
}

.history-item:last-child{
    margin-bottom:0;
}

/* ===========================
   연도
=========================== */

.history-year{
    position:relative;
    width:100px;
    flex-shrink:0;

    font-size:36px;
    font-weight:700;
    line-height:1;

    color:#e96f65;
}

/* 동그라미 */
.history-year::after{
    content:"";
    position:absolute;

    top:50%;
    right:-28px;

    transform:translateY(-50%);

    width:18px;
    height:18px;

    background:#fff;
    border:5px solid #e96f65;
    border-radius:50%;
    box-sizing:border-box;
}

/* ===========================
   카드
=========================== */

.history-content{
    flex:1;

    display:flex;
    align-items:center;
    gap:30px;

    margin-left:60px;
    padding:25px;

    background:#fff;
    border:1px solid #e6e6e6;
    border-radius:12px;

    box-shadow:0 3px 12px rgba(0,0,0,.04);
    transition:.3s ease;
}

.history-content:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.10);
}

/* ===========================
   이미지
=========================== */

.history-img{
    width:260px;
    flex-shrink:0;
}

.history-img img{
    display:block;
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:10px;
}

/* ===========================
   내용
=========================== */

.history-text{
    flex:1;
}

.history-text h3{
    font-size:28px;
    font-weight:700;
    color:#222;
    margin-bottom:12px;
}

.history-date{
    font-size:16px;
    color:#999;
    margin-bottom:18px;
}

.history-desc{
    font-size:17px;
    color:#555;
    line-height:1.8;
}

.history-link{
    display:inline-block;
    margin-top:18px;
    color:#e96f65;
    text-decoration:none;
    font-weight:600;
}

.history-link:hover{
    text-decoration:underline;
}

/* ==================================================
   Tablet
================================================== */

@media (max-width:1024px){

    .history-wrap{
        padding-left:130px;
    }

    .history-wrap::before{
        left:70px;
    }

    .history-year{
        width:70px;
        font-size:30px;
    }

    .history-year::after{
        right:-22px;
    }

    .history-content{
        margin-left:45px;
        gap:24px;
    }

    .history-img{
        width:220px;
    }

    .history-text h3{
        font-size:24px;
    }

}

/* ==================================================
   Mobile
================================================== */

@media (max-width:768px){

    .festival-history .sub-title{
        margin-bottom:45px;
    }

    .festival-history .sub-title h2{
        font-size:34px;
    }

    .festival-history .sub-title p{
        font-size:15px;
    }

    /* 타임라인 */
    .history-wrap{
        padding-left:35px;
    }

    .history-wrap::before{
        left:14px;
    }

    /* 아이템을 세로 배치 */
    .history-item{
        display:block;
        position:relative;
        margin-bottom:45px;
    }

    /* 연도 */
    .history-year{
        width:auto;
        margin-bottom:18px;
        margin-left:18px;
        font-size:28px;
    }

    /* 동그라미 */
    .history-year::after{
        left:-30px;
        right:auto;
        top:50%;
        transform:translateY(-50%);
    }

    /* 카드 */
    .history-content{
        flex-direction:column;
        align-items:flex-start;

        margin-left:18px;

        gap:20px;
        padding:20px;
    }

    /* 이미지 */
    .history-img{
        width:100%;
    }

    .history-img img{
        width:100%;
        height:220px;
    }

    /* 텍스트 */
    .history-text h3{
        font-size:22px;
    }

    .history-date{
        font-size:15px;
    }

    .history-desc{
        font-size:15px;
        line-height:1.7;
    }

}


.festival-map{
    max-width:1200px;
    margin:0 auto;
}


/* 배치도 */
.map-box{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.map-box img{
    width:100%;
    display:block;
}

.festival-location{
    max-width:1200px;
    margin:0 auto;
}


/* 배치도 */
.location-box{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.05);

}

.location-box img{
    width:100%;
    display:block;
}

.media-tab{

    display:flex;

    justify-content:center;

    margin-bottom:50px;

    border-bottom:2px solid #ddd;

}

.tab-btn{

    width:180px;

    padding:18px 0;

    border:none;

    background:none;

    font-size:20px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

    color:#666;

    border-bottom:3px solid transparent;

}

.tab-btn:hover{

    color:#ef7b73;

}

.tab-btn.active{

    color:#ef7b73;

    border-color:#ef7b73;

}

.tab-content{

    display:none;

}

.tab-content.active{

    display:block;

}


.poster-box{
    max-width:700px;
    margin:0 auto;
    text-align:center;
}

.poster-box img{
    width:100%;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    transition:.3s;
}

.poster-box img:hover{
    transform:scale(1.02);
}

.poster-btn{
    margin-top:30px;
    text-align:center;
}

.poster-btn a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 28px;
    border-radius:50px;
    background:#ef7b73;
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.poster-btn a:hover{
    background:#e5645b;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(239,123,115,.3);
}

.video-box{
    position:relative;
    width:100%;
    max-width:1100px;
    aspect-ratio:16/9;
    margin:0 auto;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    background:#000;
}

.video-box video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}



/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
    .calendar th {
        padding: 8px 1px;
        font-size: 0.6875em;
    }
    .calendar td {
        height: 52px;
        padding: 3px 1px;
    }
    .calendar td .date-num { font-size: 0.75em; }
    .calendar .event-bar { height: 6px; }
    .calendar .event-bar.list1 { top: 18px; }
    .calendar .event-bar.list2 { top: 26px; }
    .calendar .event-bar.list3 { top: 34px; }
    .calendar-header { gap: 12px; }
    .calendar-header .month { font-size: 1em; }
    .calendar-header button { width: 30px; height: 30px; }
}


/* ==========================================================================
   detail.html - 모바일 하단 고정 신청 바
   ========================================================================== */

/* 데스크탑/태블릿에서는 숨김 */
.mobile-apply-bar {
    display: none;
}

@media (max-width: 1024px) {
    /* 모바일/태블릿: apply-card 안의 신청 버튼은 숨기고 상단 정보만 보이도록 */
    .apply-card .btn-class {
        display: none;
    }

    /* 본문 하단에 고정 바 영역만큼 여백 확보 (버튼이 콘텐츠를 가리지 않도록) */
    body[data-page="detail"] {
        padding-bottom: 80px;
    }

    /* 하단 고정 신청 바 */
    .mobile-apply-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        z-index: 90;
        padding: 12px 16px;
        animation: slideUp 0.3s ease;
    }
    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    .mobile-apply-bar-inner {
        max-width: 1280px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .mobile-apply-price {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex-shrink: 0;
    }
    .mobile-apply-price .label {
        font-size: 0.75em;
        color: var(--text-muted);
    }
    .mobile-apply-price .value {
        font-size: 1.125em;
        font-weight: 700;
        color: var(--brand-primary);
    }
    .mobile-apply-btn {
        flex: 1;
        background: linear-gradient(135deg, #5b7ee8 0%, #3a5bd0 100%);
        color: #fff;
        text-decoration: none;
        font-size: 1em;
        font-weight: 600;
        padding: 14px 20px;
        border-radius: 6px;
        text-align: center;
        transition: opacity 0.2s;
    }
    .mobile-apply-btn.mobile-apply-btn-cancel {
    	background: linear-gradient(135deg, #9aa0a6 0%, #6b7280 100%);
	}
    .mobile-apply-btn:active {
        opacity: 0.85;
    }

    /* apply-card는 본문 상단 (지금 detail-layout이 1열이므로 자연스럽게 콘텐츠 위에) */
    .detail-layout {
        display: flex;
        flex-direction: column-reverse;
        gap: 24px;
    }
    .apply-card {
        position: static;
        margin-bottom: 4px;
    }
    .apply-card h3 {
        font-size: 1.125em;
    }
}

@media (max-width: 480px) {
    .mobile-apply-bar {
        padding: 10px 12px;
    }
    .mobile-apply-price .value {
        font-size: 1em;
    }
    .mobile-apply-btn {
        padding: 12px 16px;
        font-size: 0.9375em;
    }
}


/* 퀵버튼 - 모바일 최적화 */
@media (max-width: 768px) {
    .quick-btn {
        padding: 22px 16px 18px;
        gap: 10px;
        min-height: 140px;
    }
    .quick-btn-icon {
        font-size: 1.875em;
    }
    .quick-btn-bg-circle {
        width: 80px;
        height: 80px;
        right: -22px;
        top: -22px;
    }
    .quick-btn-title {
        font-size: 1em;
    }
    .quick-btn-sub {
        font-size: 0.625em;
    }
}

@media (max-width: 480px) {
    .quick-btn {
        padding: 20px 14px 16px;
        min-height: 124px;
        gap: 8px;
    }
    .quick-btn-icon {
        font-size: 1.625em;
    }
}