/* 공연·전시 페이지 스타일 */

/* 타이틀 및 검색 섹션 */
.title-search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title-container {
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.sub-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    margin-bottom: 20px;
    line-height: 1.5;
}

.search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.0rem;
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.search-container {
    display: flex;
    width: 100%;
    background: #ffffff;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    transform: translateY(-2px);
}

.search-input-main {
    flex: 1;
    padding: 0.5rem 1.5rem !important;
    border: none;
    outline: none;
    font-size: 18px;
    color: var(--text-primary);
    background: transparent;
    border: 2px solid var(--color) !important;
    border-radius: 50px 0px 0px 50px !important;
}

.search-input-main::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-btn-main {
    padding:20px;
    background: var(--color);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 50px 50px 0;
}

.search-btn-main:hover {
    background: var(--color);
    transform: scale(1.05);
}

.search-btn-main i {
    font-size: 1.1rem;
}

.reset-btn-main {
    padding: 20px;
    background: #9c9c9c;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin-left: 10px;
}

.reset-btn-main:hover {
    background: #222222;
}

.reset-btn-main i {
    font-size: 1.1rem;
}

.easy-search-btn {
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    color: var(--text-primary);
    border: 1px solid #dee2e6;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.easy-search-btn:hover {
    background: #e9ecef;
    border-color: var(--color);
    color: var(--color);
    transform: translateY(-1px);
}

.easy-search-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.easy-search-btn:hover i {
    transform: translateY(-2px);
}

/* 반응형 디자인 - 타이틀 및 검색 */
@media (max-width: 768px) {
    .title-search-section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .sub-title {
        font-size: 1rem; margin-bottom: 0px;
    }
    
    .search-section {
        gap: 1rem;
        margin-bottom: 0px;
    }
    
    .search-container {
        border-radius: 25px;
    }
    
    .search-input-main {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .search-btn-main {
        padding: 0.8rem 1.2rem;
    }
    
    .search-btn-main i {
        font-size: 1rem;
    }
    
    .reset-btn-main {
        padding: 0.8rem 1.2rem;
        margin-left: 5px;
    }
    
    .reset-btn-main i {
        font-size: 1rem;
    }
    
    .easy-search-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .title-search-section {
        padding: 0rem;
        margin-bottom: 0rem;
    }
    
    .main-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .sub-title {
        font-size: 0.9rem;
    }
    
    .search-container {
        border-radius: 20px;
    }
    
    .search-input-main {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
    
    .search-btn-main {
        padding: 0.7rem 1rem;
    }
    
    .search-btn-main i {
        font-size: 0.9rem;
    }
    
    .easy-search-btn {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
    
    .easy-search-btn i {
        font-size: 0.7rem;
    }
}

/* 분류별 탭 */
.category-tabs {
    display: flex;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0px;
    overflow: hidden;
    margin: 3rem 0px 5rem 0px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.tab-item {
    flex: 1;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #dee2e6;
    background: #ffffff;
    position: relative;
}

.tab-item:last-child {
    border-right: none;
}

.tab-item:hover {
    background: #e9ecef;
}

.tab-item.active {
    background: var(--color);
    border-bottom: 3px solid var(--color);
}

.tab-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.tab-count {
    font-size: 1.1rem;
    font-weight: 700;
    color:  var(--color);
    transition: all 0.3s ease;
}

.tab-item.active .tab-name {
    color: var(--white-color);
}

.tab-item.active .tab-count {
    color: var(--white-color) !important;
}

.tab-item:hover .tab-name {
    color: var(color2);
}

.tab-item:hover .tab-count {
    color: var(--color);
}

/* 반응형 디자인 - 분류별 탭 */
@media (max-width: 768px) {
    .category-tabs {
        flex-wrap: wrap;
        border-radius: 6px;
    }
    
    .tab-item {
        flex: 1 1 calc(50% - 1px);
        padding: 1rem 0.5rem;
        border-right: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
    }
    
    .tab-item:nth-child(2n) {
        border-right: none;
    }
    
    .tab-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .tab-name {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .tab-count {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .category-tabs {
        flex-direction: column;
    }
    
    .tab-item {
        flex: none;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .tab-item:last-child {
        border-bottom: none;
    }
    
    .tab-item.active {
        border-bottom: 3px solid var(--color);
    }
    
    .tab-name {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .tab-count {
        font-size: 0.9rem;
    }
}

/* 상세검색 팝업 */
.easy-search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(228 228 228 / 50%);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.easy-search-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.easy-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.0rem 2rem;
    background: var(--color);
    color: #ffffff;
}

.easy-search-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.easy-search-body {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    max-height: 60vh;
}

.search-category {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.search-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header input[type="radio"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.category-header label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.category-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-left: 2rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-item:hover {
    background: var(--color4);
    border-color: var(--color4);
}
.option-item:hover i, .option-item:hover span {
    color: #ffffff;
}

.option-item.selected {
    background: var(--color);
    color: #ffffff;
    border-color: var(--color);
}

.option-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.option-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* 서브 카테고리 */
.sub-category {
    margin-bottom: 1.5rem;
}

.sub-category:last-child {
    margin-bottom: 0;
}

.sub-category-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sub-category-title i {
    font-size: 1rem;
    color: var(--color);
}

.sub-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-left: 0rem;
}

.sub-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sub-options label:hover {
    background: #e9ecef;
}

.sub-options input[type="radio"] {
    transform: scale(1.1);
}

.easy-search-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.deselect-all-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #6c757d;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.deselect-all-btn:hover {
    background: #5a6268;
}

.search-actions {
    display: flex;
    gap: 1rem;
}

.cancel-btn {
    padding: 0.8rem 1.5rem;
    background: #ffffff;
    color: var(--text-secondary);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cancel-btn:hover {
    background: #f8f9fa;
    border-color: var(--color);
    color: var(--color);
}

.easy-search-footer .search-btn {
    padding: 0.8rem 1.5rem;
    background: var(--color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.easy-search-footer .search-btn:hover {
    background: var(--color);
}

/* 반응형 디자인 - 상세검색 */
@media (max-width: 768px) {
    .easy-search-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .easy-search-header {
        padding: 1rem 1.5rem;
    }
    
    .easy-search-header h3 {
        font-size: 1.1rem;
    }
    
    .easy-search-body {
        padding: 1.5rem;
        max-height: 50vh;
    }
    
    .category-options {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
        margin-left: 1.5rem;
    }
    
    .option-item {
        padding: 0.6rem 0.8rem;
    }
    
    .option-item i {
        font-size: 1rem;
    }
    
    .option-item span {
        font-size: 0.8rem;
    }
    
    .sub-options {
        margin-left: 1.5rem;
        gap: 0.8rem;
    }
    
    .sub-options label {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .easy-search-footer {
        padding: 1rem 1.5rem;
        gap: 1rem;
    }
    
    .search-actions {
        justify-content: center;
    }
    
    .deselect-all-btn,
    .cancel-btn,
    .easy-search-footer .search-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .easy-search-content {
        width: 98%;
        max-height: 98vh;
    }
    
    .easy-search-header {
        padding: 0.8rem 1rem;
    }
    
    .easy-search-header h3 {
        font-size: 1rem;
    }
    
    .easy-search-body {
        padding: 1rem;
        max-height: 45vh;
    }
    
    .category-options {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-left: 1rem;
    }
    
    .option-item {
        padding: 0.5rem 0.7rem;
    }
    
    .option-item i {
        font-size: 0.9rem;
    }
    
    .option-item span {
        font-size: 0.8rem;
    }
    
    .sub-options {
        margin-left: 1rem;
        gap: 0.6rem;
    }
    
    .sub-options label {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .easy-search-footer {
        padding: 0.8rem 1rem;
    }
    
    .deselect-all-btn,
    .cancel-btn,
    .easy-search-footer .search-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* 검색 및 필터 섹션 */
.search-filter-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px;
    margin-bottom: 50px;
}

.filter-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.total-count {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.count-number {
    font-weight: 700;
    color: var(--color);    
    margin: 0 3px;
}

.count-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.filter-header .page-info {
    color: var(--text-secondary);
    font-size: 0.9rem;    
    padding-right: 10px;
}

.search-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* 검색 input과 버튼을 나란히 배치 */
.search-box .search-input,
.search-box > .search-input,
#searchKeyword.search-input {
    flex: 1;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 14px;
    min-width: 200px;
    max-width: none;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    padding: 10px 15px;
    height: 40px;
    margin-right: 0 !important;
    display: block !important; /* input은 block 유지 */
    width: auto !important; /* width 자동으로 flex에 맞춤 */
}

.search-box .search-input:focus,
.search-box > .search-input:focus,
#searchKeyword.search-input:focus {
    outline: none;
    border-color: var(--color);
    box-shadow: 0 0 0 3px rgba(27, 148, 211, 0.1);
}

.search-box .search-btn,
.search-box > .search-btn,
.search-box button.search-btn {
    padding: 12px 20px;
    background: var(--color);
    color: #ffffff;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
    width: auto !important;
}

.search-box .search-btn:hover,
.search-box > .search-btn:hover,
.search-box button.search-btn:hover {
    background: var(--color);
    transform: translateY(0px);
}

.search-box .filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-right: 15px;
}

.search-box .filter-select {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 3.5L5 6.5L8 3.5'/%3E%3C/svg%3E") no-repeat right 10px center !important;
    background-size: 10px 10px !important;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    padding: 0px 40px 0px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-box .filter-select::-ms-expand {
    display: none;
}

.search-box .filter-select:hover {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 3.5L5 6.5L8 3.5'/%3E%3C/svg%3E") no-repeat right 10px center !important;
    background-size: 10px 10px !important;
}

.search-box .filter-select:focus {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%232b6db0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 3.5L5 6.5L8 3.5'/%3E%3C/svg%3E") no-repeat right 15px center !important;
    background-size: 10px 10px !important;
    border-color: var(--color);
}

.search-box .filter-select:focus {
    outline: none;
    border-color: var(--color);
}

.search-box .filter-select#categoryFilter {
    min-width: 240px;
}

/* 이벤트 그리드 */
.events-container {
    margin-bottom: 3rem;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* 이벤트 카드 */
.event-card {
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;    
    flex-direction: column;
    align-content: space-around;
    width: 18.4%;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.event-card:hover {
    transform: translateY(-2px);
}

.event-image {
    position: relative;
    width: 100%;
    height: 23vw;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-status {
    min-width: 60px;
    text-align: center;
    position: absolute;
    top: 1.0rem;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;    
    letter-spacing: 1px;
    font-weight: 100;
    color: var(--white-color);
    text-transform: uppercase;
}

.event-status.ongoing {
    background: var(--end-color);
}

.event-status.recruiting {
    background: var(--color1);
}

.event-status.completed {
    background: var(--text-secondary);
}

.event-status.planning {
    background: var(--text-secondary);
}

.event-status.cancelled {
    background: var(--text-secondary);
}
.event-status.sold_out {
    background: var(--color1);
}

.event-priority {
    position: absolute;
    top: 1.5rem;
    left: 76px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    display: none;
}

.event-priority.featured {
    background: var(--color);
}

.event-priority.main {
    background: var(--color);
}

.event-content {
    padding: 1rem 0rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 카테고리와 분야를 감싸는 컨테이너 */
.event-category-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.event-category {
    display: inline-block;
    padding: 4px 10px;
    background: #ecf0f1;
    color: var(--color);
    border-radius: 0px !important;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 이벤트 분야 (기획/대관) */
/* 카테고리 컨테이너 안의 event-field (기획/대관) */
.event-category-container .event-field {
    display: inline-block;
    padding: 4px 12px;
    background: #feede2;
    color: #ed7d31;
    border-radius: 0px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 빈 event-field 숨기기 */
.event-category-container .event-field:empty {
    display: none !important;
}

.event-category-container .event-field.rental {
    background: #fff3cd;
    color: #f39c12;
}

/* 예매 섹션 안의 event-field (티켓링크 예매/홈페이지 예매) - 별도 스타일 */
.event-reservation-section .event-field {
    display: inline-block;
    padding: 10px;
    background: #ffffff;
    color: #000000;
    border: 1px solid #000;
    border-radius: 0px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    width: auto;
    text-align: center;
}

.event-reservation-section .event-field-ticketlink {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000; width: 100%;
}

.event-reservation-section .event-field-homepage {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000; width: 100%;
}

/* 카테고리별 색상 */
.event-category[data-category="PERFORMANCE"] {
    background: #e3f2fd;
    color: #1976d2;
}

.event-category[data-category="EXHIBITION"] {
    background: #f3e5f5;
    color: #7b1fa2;
}

.event-category[data-category="FESTIVAL"] {
    background: #fff3e0;
    color: #f57c00;
}

.event-category[data-category="EVENT"] {
    background: #e8f5e8;
    color: #388e3c;
}

.event-category[data-category="EDUCATION"] {
    background: #fce4ec;
    color: #c2185b;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.event-info {
    margin-bottom: 0rem;
}
#monthEventsGrid .event-info {
    margin-bottom: 1rem !important;
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-item i {
    width: 16px;
    margin-top: 4px;
    margin-right: 8px;
    color: var(--color);
}

/* 내용이 없으면 아이콘과 함께 전체 info-item 숨김 */
.info-item:has(span:empty) {
    display: none;
}

/* 빈 텍스트만 있는 경우도 숨김 */
.info-item span:empty {
    display: none;
}

/* 예매 정보 및 상세보기 버튼 섹션 */
.event-reservation-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: auto;
    padding-top: 15px;
}

/* 예매 섹션 안의 event-field는 위에서 이미 정의됨 */

.btn-detail-view {
    width: 100%;
    text-align: center;
    padding: 10px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #000;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-detail-view-full {
    width: 100% !important;
}

.btn-detail-view:hover {
    background: #5684B1;
    border: 1px solid #5684B1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(58, 100, 146, 0.3);
}

.event-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: none;
}

.event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.btn-detail {
    padding: 10px 20px;
    background:var(--color);
    color: #ffffff;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    width: 100%;
}

.btn-detail:hover {
    background: var(--color);
    transform: translateY(-1px);
}

.btn-bookmark {
    width: 32px;
    height: 32px;
    border: 2px solid #ecf0f1;
    background: #ffffff;
    border-radius: 50%;
    /* right: 0px; */
    /* position: absolute; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-bookmark:hover {
    border-color: var(--success-color);
    color: var(--success-color);
}

.btn-bookmark.active {
    background: var(--success-color);
    border-color: var(--success-color);
    color: #ffffff;
}

.btn-bookmark i {
    font-size: 1rem;
}

/* 페이지네이션 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ecf0f1;
    background: #ffffff;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
}

.page-btn:hover {
    border-color: var(--color);
    color: var(--color);
}

.page-btn.active {
    background: var(--color);
    border-color: var(--color);
    color: #ffffff;
}

.page-btn.prev,
.page-btn.next {
    width: 40px;
}

/* 반응형 디자인 */
@media (max-width: 1450px) {
    .event-card { width: 23%;}
}

@media (max-width: 1100px) {
    .event-card { width: 30%;}
    .event-content {justify-content: flex-start;}
}

@media (max-width: 768px) {
    .btn-bookmark i{font-size: 0.85rem;}
    .event-reservation-section .event-field,
    .btn-detail-view{font-size:13px; padding: 5px 10px;}
    .event-reservation-section {gap: 5px;}
    .page-title {
        font-size: 2rem;
    }
    
    .search-filter-section {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-header {
        justify-content: flex-start;
        gap: 1rem;
        width: 100%;
    }
    
    .search-box {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 0.5rem !important;
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
        font-size: 1rem;
    }
    
    /* 모바일에서도 input과 button을 나란히 배치 */
    .search-box {
        flex-direction: row !important; /* 세로가 아닌 가로 배치 */
        flex-wrap: wrap;
    }
    
    .search-box .filter-options {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
    
    .search-box .search-input,
    .search-box > .search-input,
    #searchKeyword.search-input {
        width: auto !important;
        flex: 1 !important;
        min-width: 150px;
        border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
        padding: 0.8rem;
        font-size: 1rem;
        margin-right: 0 !important;
    }
    
    .search-box .search-btn,
    .search-box > .search-btn,
    .search-box button.search-btn {
        width: auto !important;
        flex-shrink: 0 !important;
        border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
        padding: 0.8rem;
        font-size: 1rem;
        justify-content: center;
        margin-left: 0 !important;
    }
    
    .events-grid {
        gap: 1rem;
    }
    
    .event-card {
        flex-direction: column;
        width: calc(50% - 0.5rem);
        height: auto;
    }
    
    .event-image {
        width: 100%;
        height: 70vw;
    }
    
    .event-title {
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }
    
    .event-actions {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .btn-detail {
        margin-right: 0;
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
    }   
    
    .pagination-container {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-btn {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1rem 0;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .search-filter-section {
        padding: 0rem;
        margin-bottom: 2rem;
    }
    
    .filter-header {
        gap: 0.5rem;
    }
    
    .count-number {
        font-size: 1.3rem;
    }
    
    .count-text {
        font-size: 0.9rem;
    }
    
    .filter-options {
        gap: 0.3rem !important;
    }
    
    .filter-select {
        font-size: 0.9rem;
    }
    
    .search-input {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .event-card {
        margin-bottom: 0;
    }
        
    .event-title {
        font-size: 1rem;
        margin: 0.3rem 0;
    }
    
    .event-category-container {
        gap: 0.3rem;
    }
    
    .event-category {
        padding: 3px 8px !important;
        font-size: 0.75rem;
    }
    
    .event-field {
        padding: 3px 8px !important;
        font-size: 0.75rem !important;
    }
    
    .event-info-summary .event-category {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    .info-item {
        font-size: 0.8rem;        
        flex-direction: row !important;
        margin-bottom: 0.3rem;
    }
    
    .event-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .event-actions {
        gap: 0.3rem;
        flex-wrap: wrap;
    }
    
    .btn-detail {
        padding:0.5rem;
        font-size: 0.9rem;
    }
    
    .btn-bookmark {
        width: 26px;
        height: 26px;
    }
    
    .btn-bookmark i {
        font-size: 0.85rem;
    }
    
    .pagination {
        gap: 0.3rem;
    }
    
    .page-btn {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .event-reservation-section {flex-direction: column; padding-top: 0px;}
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}

.event-card:nth-child(1) { animation-delay: 0.05s; }
.event-card:nth-child(2) { animation-delay: 0.1s; }
.event-card:nth-child(3) { animation-delay: 0.15s; }
.event-card:nth-child(4) { animation-delay: 0.2s; }
.event-card:nth-child(5) { animation-delay: 0.25s; }
.event-card:nth-child(6) { animation-delay: 0.3s; }
.event-card:nth-child(7) { animation-delay: 0.35s; }
.event-card:nth-child(8) { animation-delay: 0.4s; }
.event-card:nth-child(9) { animation-delay: 0.45s; }
.event-card:nth-child(10) { animation-delay: 0.5s; }

/* 로딩 상태 */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ecf0f1;
    border-radius: 50%;
    border-top-color: var(--color);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 포커스 스타일 */
.btn-detail:focus,
.search-btn:focus,
.filter-select:focus,
.page-btn:focus,
.btn-bookmark:focus {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
}

/* 고대비 모드 지원 */
@media (prefers-contrast: high) {
    .event-card {
        border: 2px solid var(--text-primary);
    }
    
    .event-status,
    .event-priority {
        border: 1px solid #ffffff;
    }
}

/* ===== 상세 페이지 스타일 ===== */

/* 브레드크럼 */
.breadcrumb {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.breadcrumb a {
    color: var(--color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-primary);
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--text-secondary);
}

.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* 행사 상세 컨테이너 */
.detail-container {
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    top: 0px;
    z-index: 0;
}

.event-detail-container {
    /* border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);    
    padding: 0px 5% 50px 5%;*/ 
    overflow: hidden;
}

/* 1025px ~ 1100px 사이에서 top_menu 아래에 위치하도록 margin-top 추가 */
@media screen and (min-width: 1025px) and (max-width: 1100px) {
    .event-detail-container {
        margin-top: 28px !important; /* top_menu 높이(약 64px) + 여백(16px) */
    }
}

/* 1101px ~ 1203px 사이에서 top_menu 아래에 위치하도록 margin-top 추가 */
@media screen and (min-width: 1101px) and (max-width: 1203px) {
    .event-detail-container {
        margin-top: 90px !important; /* top_menu 높이(약 170px) + 여백(10px) */
    }
}

/* 행사 헤더 */
.event-header {
    display: grid;
    grid-template-columns:1.0fr 4.5fr;
    gap: 6rem;
    padding: 80px 80px 60px 80px;
    border-top: 1px solid #444444;
    margin-bottom: 20px;
    background-size: cover !important;
}
.event-header.bg-img {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

.event-header.bg-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;    
    background-size: cover !important;
    filter: grayscale(100%) blur(5px) brightness(60%) !important;
    backdrop-filter: blur(5px);
    z-index: -2;
  }

.event-header.bg-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    /* ← 왼쪽은 검정색으로 어둡게, 오른쪽은 투명하게 해서 배경 이미지가 보임 */
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
    mask-image: linear-gradient(to right, black 50%, transparent 100%);
    z-index: -1;
  }

.event-header .event-header-title {
    font-size: 2rem;
    font-weight: 700;
    padding-bottom: 10px;
}

.event-detail-container .event-header  .event-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 이미지 갤러리 */
.event-image-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    max-width: 100%;
    /* border-radius: var(--border-radius); */
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
    box-sizing: border-box;
}

.main-image img,
#mainImage img,
#mainImageTarget {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}

.thumbnail-images {
    display: flex;
    gap: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 90px;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--color);
}

/* 행사 정보 요약 */
.event-info-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #fff;
}

.event-status-badge,
.event-priority-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white-color);
    text-transform: uppercase;
    align-self: flex-start;
}

.event-status-badge.ongoing {
    background: var(--end-color);
}

.event-priority-badge.featured {
    background: var(--success-color);
}

.event-info-summary.event-category {
    display: inline-block;
    padding: 6px 16px;
    background: #ecf0f1;
    color: var(--color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    align-self: flex-start;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 10px;
}

.meta-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.0rem;
}

.meta-item i {
    width: 10px;
    color: var(--white-color);
    font-size: 0.8rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.meta-item label {
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--white-color);
    min-width: 60px;
    opacity: 0.8;
}

.meta-item span {
    /* flex: 1; */
    line-height: 1.4;
}


.event-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: auto;
}

.btn-primary {
    padding: 10px 30px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.event-actions-secondary {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.btn-primary:hover {
    /* background: var(--color); */
    transform: translateY(-2px);
}

.btn-secondary,
.btn-share {
    padding: 10px 30px;
    background: #ffffff;
    color: var(--color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover,
.btn-share:hover {
    /* border-color: var(--color); */
    color: var(--color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 탭 컨텐츠 */

.event-content-detail  {
    border: 0px solid #d5d5d5;
    padding: 0px 5% 50px 5%;
    margin: 0 auto;
}

.content-tabs {
    display: flex;
    border-bottom: 2px solid #ecf0f1;
    background: #ffffff;
}

.tab-btn {
    padding: 1rem 4rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--color);
}

.tab-btn.active {
    color: var(--color);
    border-bottom-color: var(--color);
}

.tab-content {
    padding: 30px 0px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.content-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.content-section img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0px;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.content-section li::before {
    content: '•';
    color: var(--color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 테이블 스타일 */
.content-section table{width:100%;border-collapse:collapse;}
.content-section table.table_center{text-align: center;}
.content-section table th{background: #f7f7f7; border: 1px solid #ccc; border-top: 2px solid #323232; padding: 20px;text-align: center;white-space: nowrap;}
.content-section table th:first-child{border-left: none;}
.content-section table th:last-child{
    border-right: none;
    max-width: 100%;
    white-space: normal !important;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}
.content-section table td {font-size: 16px; border: 1px solid #ccc; padding: 20px; text-align: center;  white-space: normal !important;}
.content-section table td:first-child{border-left: none;}
.content-section table td:last-child{border-right: none;}
.content-section table td.left {text-align: left;}
.content-section table th.row_th{ border-top: 1px solid #ccc;}
.content-section table .top_border{ border-top: 2px solid #323232;}

/* 정보 그리드 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: #000000;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.info-card small {
    font-size: 0.8rem;
    color: var(--white-color);
}

/* 타임라인 */
.schedule-timeline {
    position: relative;
    padding-left: 2rem;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--color);
    border-radius: 50%;
    border: 3px solid var(--white-color);
    box-shadow: 0 0 0 2px var(--color);
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* 신청 방법 */
.apply-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.method-card {
    background: #ffffff;
    border: 2px solid #ecf0f1;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.method-card:hover {
    border-color: var(--color);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: #ecf0f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.method-icon i {
    font-size: 1.5rem;
    color: var(--color);
}

.method-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.method-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-apply {
    padding: 10px 20px;
    background: var(--color);
    color: #ffffff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: var(--color);
}

/* 주의사항 박스 */
.notice-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 20px;
}

.notice-box ul {
    margin: 0;
}

.notice-box li {
    color: #856404;
    padding-left: 1.5rem;
}

.notice-box li::before {
    color: #f39c12;
}

/* 후기 섹션 */
.reviews-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-write-review {
    padding: 10px 20px;
    background: var(--color);
    color: #ffffff;
    border: none;
    /* border-radius: var(--border-radius); */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-write-review:hover {
    background: var(--danger-color);
}

.reviews-summary {
    background: #ecf0f1;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.rating-average {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.stars i {
    color: #f39c12;
    font-size: 1.2rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background: #ffffff;
    border: 1px solid #ecf0f1;
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
}

.review-rating {
    display: flex;
    gap: 0.1rem;
}

.review-rating i {
    color: #f39c12;
    font-size: 0.9rem;
}

.review-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.review-content p {
    margin: 0;
    line-height: 1.6;
}

/* 반응형 디자인 - 상세 페이지 */
@media (max-width: 1400px) {
    .event-header {
        grid-template-columns: 1fr 2.5fr;
        gap: 1.5rem;
        padding: 20px 10px;
    }
    .event-header .event-header-title { 
        font-size: 1.2rem;
    }
    .event-content-detail {
        padding: 0px 10px;
    }
}

@media (max-width: 1024px) {
    .event-detail-container {
        margin-top: 34px !important /* top_menu 높이(약 64px ~ 73px) + 여백 */
    }
    
    .event-header {
        grid-template-columns: 1fr;
        padding: 20px 15px;
        gap: 1rem;
    }
    .main-image {
        height: auto;
        max-height: 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .main-image img,
    #mainImage img,
    #mainImageTarget {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }
    
    .thumbnail-images {
        gap: 0.3rem;
    }
    
    .event-content-detail {
        padding: 0px 15px 50px 15px;
    }
}

@media (max-width: 850px) {
    
    .event-header {
        padding: 15px 10px;
        gap: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .main-image {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .main-image img,
    #mainImage img,
    #mainImageTarget {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }
    
    .event-content-detail {
        padding: 0px 10px 30px 10px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .event-priority {    
        left: 80px;
        right: auto;
    }
    
    .thumbnail {
        width: 60px;
        height: 70px;
    }
    
    .event-title {
        font-size: 1.4rem;
        line-height: 1.3;
        height: auto;
    }

    .event-info {height: auto;}
    
    .event-category-container {
        gap: 3px;
        margin-bottom: 0.5rem;
    }
    
    .event-category {
        padding: 4px 12px;
    }
    
    .event-meta {
        gap: 0rem;
    }
    
    .meta-item {
        width: 100%;
        gap: 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .meta-item i {
        width: 18px;
        font-size: 1rem;
    }
    
    .event-actions {
        gap: 0.8rem;
    }
    
    .event-actions-secondary {
        gap: 0.5rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-share {
        justify-content: center;
    }
    
    .content-tabs {
        overflow-x: auto;
        gap: 0.5rem;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 100px;
        padding: 0.8rem 0.5rem;
        font-size: 13px;
        text-align: center;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .content-section h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .content-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .content-section li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
        padding-left: 1.2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .info-card h4 {
        font-size: 1rem;
    }
    
    .info-card p {
        font-size: 1.1rem;
    }
    
    .schedule-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .timeline-date {
        font-size: 1rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .apply-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .method-card {
        padding: 1.5rem;
    }
    
    .method-card h4 {
        font-size: 1.1rem;
    }
    
    .method-card p {
        font-size: 0.9rem;
    }
    
    .btn-apply {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .notice-box {
        padding: 1rem;
    }
    
    .notice-box li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }
    
    .reviews-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .btn-write-review {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .reviews-summary {
        padding: 1rem;
    }
    
    .rating-average {
        gap: 0.8rem;
    }
    
    .stars i {
        font-size: 1rem;
    }
    
    .rating-score {
        font-size: 1.3rem;
    }
    
    .rating-count {
        font-size: 0.8rem;
    }
    
    .review-item {
        padding: 1rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .reviewer-info {
        gap: 0.5rem;
    }
    
    .reviewer-name {
        font-size: 0.9rem;
    }
    
    .review-rating i {
        font-size: 0.8rem;
    }
    
    .review-date {
        font-size: 0.8rem;
    }
    
    .review-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}
@media (max-width: 580px) {
    .event-detail-container {
        margin-top: 0px !important; /* top_menu 높이 고려 */
    }
    
    .event-header {
        gap: 0.8rem;
        max-width: 100%;
        padding: 50px 20px;
        box-sizing: border-box;
    }
    
    .main-image {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .main-image img,
    #mainImage img,
    #mainImageTarget {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }
    
    .event-content-detail {
        padding: 0px 5px 20px 5px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .thumbnail-images {
        gap: 0.2rem;
    }
    
    .thumbnail {
        width: 50px;
        height: 60px;
    }
    .event-status{letter-spacing: 0px; font-size: 11px; font-weight: 400; padding: 3px 10px; min-width: auto;}
    .event-info { height: auto !important;}
    .event-info span{font-size: 12px;}
    .info-item i{font-size: 12px; width: auto; margin-top: 2px;}
    .event-title {
        font-size: 14px;
        height: auto; margin-bottom: 15px;
    }
    
    .event-info-summary .event-category-container {
        gap: 3px;
        margin-bottom: 0.3rem;
    }
    
    .event-info-summary .event-category {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    .event-info-summary .event-field {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
        
    .meta-item {
        gap: 0.8rem;
        font-size: 0.8rem;
        margin-bottom: 0.3rem; margin-bottom: 0.7rem;
    }
    
    .meta-item i {
        width: 16px;
        font-size: 0.9rem;
    }
    
    .event-actions {
        gap: 0.5rem;
    }
    
    .event-actions-secondary {
        gap: 0.3rem; width: 100%;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn-secondary,
    .btn-share {
        width: auto;
        padding: 0.8rem;
        font-size: 0.9rem;
        flex: 1;
    }
    
    .content-tabs {
        gap: 0rem;
    }
    
    .tab-btn {
        padding: 0.6rem 0rem;
    }
    
    .tab-content {
        padding: 0.8rem;
    }
    
    .content-section h3 {
        font-size: 1rem;
        margin: 1rem 0 0.8rem 0;
    }
    
    .content-section p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .content-section li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
        padding-left: 1rem;
    }
    
    .info-card {
        padding: 0.8rem;
    }
    
    .info-card h4 {
        font-size: 0.9rem;
    }
    
    .info-card p {
        font-size: 1rem;
    }
    
    .schedule-timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 1rem;
        margin-bottom: 1rem;
    }
    
    .timeline-date {
        font-size: 0.9rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .method-card {
        padding: 1rem;
    }
    
    .method-card h4 {
        font-size: 1rem;
    }
    
    .method-card p {
        font-size: 0.8rem;
    }
    
    .btn-apply {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
    
    .notice-box {
        padding: 0.8rem;
    }
    
    .notice-box li {
        font-size: 0.8rem;
        padding-left: 1rem;
    }
    
    .btn-write-review {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
    
    .reviews-summary {
        padding: 0.8rem;
    }
    
    .rating-average {
        gap: 0.5rem;
    }
    
    .stars i {
        font-size: 0.9rem;
    }
    
    .rating-score {
        font-size: 1.1rem;
    }
    
    .rating-count {
        font-size: 0.7rem;
    }
    
    .review-item {
        padding: 0.8rem;
    }
    
    .review-header {
        gap: 0.3rem;
    }
    
    .reviewer-info {
        gap: 0.3rem;
    }
    
    .reviewer-name {
        font-size: 0.8rem;
    }
    
    .review-rating i {
        font-size: 0.7rem;
    }
    
    .review-date {
        font-size: 0.7rem;
    }
    
    .review-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}


/* 예매 신청 페이지 */
.booking-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
}

.booking-container .booking-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.booking-container .booking-summary {
    color: #333;
    margin-bottom: 20px;
}

.booking-container .form-section {
    margin-bottom: 30px;
}

.booking-container .form-section h3 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.booking-container .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.booking-container .form-group {
    flex: 1;
}

.booking-container .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.booking-container .form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    text-align: left;
}

.booking-container .form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.booking-container .form-group textarea {
    height: 100px;
    resize: vertical;
}

.booking-container .required {
    color: #e74c3c;
}

.booking-container .booking-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.booking-container .booking-summary h3 {
    margin-bottom: 20px;
}

.booking-container .summary-item {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.booking-container .summary-item:last-child {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}
.booking-container .summary-item span:first-child {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
    min-width: 60px;
    text-align: right;
}

.booking-container .form-actions {
    text-align: center;
    margin-top: 40px;
}

.booking-container .btn-booking {
    background: #007bff;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 10px;
}

.booking-container .btn-booking:hover {
    background: #0056b3;
}

.booking-container .btn-cancel {
    background: #6c757d;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.booking-container .btn-cancel:hover {
    background: #545b62;
}

.booking-container .error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.booking-container .capacity-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.booking-container .loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.booking-container .loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .booking-container .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .booking-container .booking-form {
        padding: 20px;
    }
    
    .booking-container .form-actions {
        text-align: center;
    }
    .booking-container .summary-item {
        flex-direction: column;  
    }
    
    .booking-container .btn-booking,
    .btn-cancel {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    .booking-container .summary-item span:first-child {text-align: left;}
}

/* 예매 신청 완료 페이지 */
.success-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px;
    text-align: center;
}

.success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 30px;
}

.success-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.success-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.booking-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 10px;
    text-align: left;
}

.booking-info h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.booking-info .info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.booking-info .info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    font-weight: 600;
    color: #007bff;
}

.booking-info .info-label {
    font-weight: 600;
    color: #333;
}

.booking-info .info-value {
    color: #666;
}

.booking-info .notice-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.notice-box h4 {
    color: #856404;
    margin-bottom: 15px;
}

.notice-box ul {
    font-size: 0.9rem;
    color: #856404;
    text-align: left;
    margin: 0;
}

.notice-box li {
    margin-bottom: 8px;
    padding-left: 0rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .btn-action {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.action-buttons .btn-primary {
    background: #007bff;
    color: white;
}

.action-buttons .btn-primary:hover {
    background: #0056b3;
}

.action-buttons .btn-secondary {
    background: #000000;
    color: white;
}

.action-buttons .btn-secondary:hover {
    background: #003d79;
    color: var(--white-color);
}

.action-buttons .btn-outline {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.action-buttons .btn-outline:hover {
    background: #007bff;
    color: white;
}

.action-buttons .btn-payment {
    background: #28a745;
    color: white;
}

.action-buttons .btn-payment:hover {
    background: #218838;
    color: white;
}

@media (max-width:680px) {
    .success-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }
    .success-title {
        font-size: 20px;
    }
    
    .success-message {
        font-size: 14px;
    }
    
    .booking-info {
        padding: 20px;
    }
    
    .info-item {
        font-size: 14px;
        align-items: flex-start;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .action-buttons .btn-action {
        width: 100%;
    }
}

/* 인쇄 시 버튼 숨김 */
@media print {
    .action-buttons {
        display: none !important;
    }
}



         /* 프리미엄포친스 퀵메뉴 스타일 */
         .event-header {
            position: relative;
        }
        
        .event-info-summary {
            position: relative;
        }
        
        .quickWrap1 {
            position: absolute;
            top: 0;
            right: 0;
            z-index: 1001;
        }
        
        .quick_new01 {
            position: relative;
        }
        
        .quick_new01 a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 120px;
            height: 120px;
            background: #fff;
            border: none;
            border-radius: 50%;
            text-align: center;
            text-decoration: none;
            color: #000;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            padding: 15px 10px;
            box-sizing: border-box;
        }
        
        .quick_new01 a:hover {
            background: #007bff;
            border: 2px solid #007bff;
            box-shadow: 0 4px 12px rgba(0,123,255,0.2);
            transform: translateY(-2px);
            color: #fff;
        }
        
        .quick_new01 a i {
            font-size: 32px;
            color: inherit;
            margin-bottom: 8px;
        }
        
        .quick_new01 a span {
            font-size: 13px;
            font-weight: 600;
            line-height: 1.3;
            word-break: keep-all;
            color: inherit;
        }
        
        @media screen and (max-width: 768px) {
            .quickWrap1 {
                display: none;
            }
            
            .quick_new01 a {
                width: 100px;
                height: 100px;
                padding: 10px 8px;
                border-radius: 50%;
            }
            
            .quick_new01 a i {
                font-size: 24px;
                margin-bottom: 5px;
            }
            
            .quick_new01 a span {
                font-size: 11px;
            }
        }

        .no-event-message {
		    text-align: center;
		    padding: 80px 0;
		    color: #555;
		    font-size: 1.1rem;
		}
		
		.no-event-message i {
		    font-size: 2rem;
		    color: #999;
		    margin-bottom: 10px;
		}
		


        #eventsGrid {
            min-height: 400px;
        }
        
        .event-card {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.5s ease-out forwards;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .event-card:nth-child(1) { animation-delay: 0.1s; }
        .event-card:nth-child(2) { animation-delay: 0.2s; }
        .event-card:nth-child(3) { animation-delay: 0.3s; }
        .event-card:nth-child(4) { animation-delay: 0.4s; }
        .event-card:nth-child(5) { animation-delay: 0.5s; }
        .event-card:nth-child(6) { animation-delay: 0.6s; }
        .event-card:nth-child(7) { animation-delay: 0.7s; }
        .event-card:nth-child(8) { animation-delay: 0.8s; }
        .event-card:nth-child(9) { animation-delay: 0.9s; }
        .event-card:nth-child(10) { animation-delay: 1.0s; }
        .event-card:nth-child(n+11) { animation-delay: 1.1s; }
        
        /* 행사등록 버튼 오른쪽 정렬 및 스타일 - 해당 페이지만 적용 */
        a[href="/phcf/culture_region/write.do"] {
            display: block;
            text-align: right;
        }
        
        #regionWriteBtn {
            display: inline-block;
            padding: 12px 32px;
            border-radius: 0px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            font-size: 15px;
            background: #0e67a9;
    		color: #ffffff;
            transition: background 0.2s;
        }
        
        #regionWriteBtn:hover {
            background: #000000;
        }
        
        /* 문화행사정보 등록방법 버튼 */
        .btn-registration-guide {
            display: inline-block;
            padding: 10px 20px;
            border-radius: 8px;
            border: 1px solid #0e67a9;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            background: #ffffff;
            color: #0e67a9;
            transition: all 0.3s ease;
        }
        
        .btn-registration-guide:hover {
            background: #0e67a9;
            color: #ffffff;
        }
        
        .btn-registration-guide i {
            margin-right: 5px;
        }
        
        /* 모달 스타일 */
        .registration-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10000;
        }
        
        .registration-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .registration-modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 10001;
        }
        
        .registration-modal-content {
            position: relative;
            background: #ffffff;
            border-radius: 12px;
            max-width: 900px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            z-index: 10002;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease-out;
        }

		.event-registration-wrapper {padding: 0px 5% !important;}
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .registration-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 30px;
            border-bottom: 1px solid #e0e0e0;
            background: #f8f9fa;
            border-radius: 12px 12px 0 0;
        }
        
        .registration-modal-header h2 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 700;
            color: #333;
        }
        
        .registration-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #666;
            cursor: pointer;
            padding: 5px 10px;
            transition: color 0.3s ease;
        }
        
        .registration-modal-close:hover {
            color: #000;
        }
        
        .registration-modal-body {
            padding: 30px;
        }

        /* 지역문화행사 등록 가이드 (모달·등록 페이지 공통) — 유의사항 블록만 색 배경, 나머지 흰색·회색 라인 */
        .culture-registration-guide {
            margin-bottom: 1.5rem;
            padding:2rem;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            line-height: 1.65;
            color: #334155;
            box-sizing: border-box;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
        }
        .culture-registration-guide-head {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            gap: 12px;
            margin-bottom:2rem;
        }
        .culture-registration-guide-badge {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 10px;
            background: linear-gradient(135deg, #0e67a9 0%, #1a8bc7 100%);
            color: #fff;
            font-size: 1.1rem;
            box-shadow: 0 2px 8px rgba(14, 103, 169, 0.35);
        }
        .culture-registration-guide-title {
            margin: 0;
            padding-top: 2px;
            font-size:1.5rem;
            font-weight: 700;
            color: #000000;
            line-height: 1.35;
        }
        .culture-registration-guide-lead {
            margin: 0 0 1.1rem;
            background: #fff;
            position: relative;
            text-align: center;
        }
        .culture-registration-guide-lead-icon {
            color: #0e67a9;
            margin-right: 6px;
            opacity: 0.85;
            font-size: 0.85em;
        }
        .culture-registration-guide-section {
            margin-top: 1rem;
            padding: 1rem 1rem 1.05rem;
            border-radius: 10px;
            border: 1px solid transparent;
        }
        .culture-registration-guide-section--principles {
            background: #fff;
            border-color: #e5e7eb;
        }
        .culture-registration-guide-section--notice {
            background: rgba(254, 252, 232, 0.85);
            border-color: #fde68a;
        }
        .culture-registration-guide-h {
            margin: 0 0 0.5rem;
            font-size: 0.98rem;
            font-weight: 700;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .culture-registration-guide-h .fa,
        .culture-registration-guide-h .fas {
            color: #0e67a9;
            font-size: 1em;
        }
        .culture-registration-guide-section--notice .culture-registration-guide-h .fa,
        .culture-registration-guide-section--notice .culture-registration-guide-h .fas {
            color: #b45309;
        }
        .culture-registration-guide-note {
            margin: 0 0 0.65rem;
            font-size: 13px;
            color: #475569;
        }
        .culture-registration-guide-list {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .culture-registration-guide-list--cards li {
            display: flex;
            align-items: flex-start;
            align-items: center;
            gap: 12px;
            margin-bottom: 0.65rem;
            padding: 0.65rem 0.75rem;
            background: #fff;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            box-shadow: none;
        }
        .culture-registration-guide-list--cards li:last-child {
            margin-bottom: 0;
        }
        .culture-registration-guide-li-ico {
            flex-shrink: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 0.95rem;
            color: #fff;
        }
        .culture-registration-guide-li-ico--open {
            background: linear-gradient(135deg, #0284c7, #0ea5e9);
        }
        .culture-registration-guide-li-ico--nonprofit {
            background: linear-gradient(135deg, #059669, #10b981);
        }
        .culture-registration-guide-li-ico--neutral {
            background: linear-gradient(135deg, #7c3aed, #8b5cf6);
        }
        .culture-registration-guide-li-text {
            flex: 1;
            min-width: 0;
            font-size: 14px;
            line-height: 1.6;
            color: #334155;
        }
        .culture-registration-guide-list--plain li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 0.55rem;
            font-size: 14px;
            line-height: 1.58;
            color: #44403c;
            list-style: none;
        }
        .culture-registration-guide-list--plain li:last-child {
            margin-bottom: 0;
        }
        .culture-registration-guide-bullet {
            flex-shrink: 0;
            margin-top: 3px;
            color: #d97706;
            font-size: 0.9rem;
        }
        .culture-registration-guide-footer {
            margin: 1.1rem 0 0;
            padding: 0.9rem 0.75rem;
            border-top: 1px dashed #d1d5db;
            font-weight: 500;
            text-align: center;
            background: #fff;
            border-radius: 8px;
        }
        .culture-registration-guide-footer-icon {
            color: #e11d48;
            margin-right: 6px;
            font-size: 0.95em;
        }
        
        /* 지역문화행사 버튼 그룹 */
        .region-button-group {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .btn-registration-guide {
            display: inline-block;
            padding:12px 32px;
            border-radius: 0px;
            border: 1px solid #0e67a9;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            background: #ffffff;
            color: #0e67a9;
            transition: all 0.3s ease;
        }
        
        .btn-registration-guide:hover {
            background: #0e67a9;
            color: #ffffff;
        }
        
        .btn-registration-guide i {
            margin-right: 5px;
        }
        
        
        @media (max-width: 768px) {
            .culture-registration-guide {
                padding: 0.5rem;border: none;box-shadow: none;
            }
            .culture-registration-guide-list--cards li {flex-direction: column;}
            .culture-registration-guide-title, .culture-registration-guide-li-text {text-align: center;}
            .region-button-group {
                flex-direction: column;
                align-items: stretch;
            }
            
            .btn-registration-guide,
            #regionWriteBtn {
                width: 100%;
            }
        }