/* --- notice_content.php (°øÁö»çÇ× ÆäÀÌÁö) Àü¿ë ½ºÅ¸ÀÏ --- */
/* cs.css - °í°´¼¾ÅÍ ÆäÀÌÁö Àü¿ë ½ºÅ¸ÀÏ */

/* ÄÁÅ×ÀÌ³Ê ¹× Á¦¸ñ */
.cs-page-container {
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.cs-page-container .page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.cs-page-container .page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.cs-section {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.section-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
	color: var(--text-color);
}

/* »ó´Ü ¿¬¶ôÃ³ ¹× ¹Ù·Î°¡±â ¼½¼Ç */
.cs-top-section {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 1:1 ºñÀ²·Î 2¿­ */
    gap: 30px;
    margin-bottom: 30px;
}

.cs-contact-box {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: left;
}

.cs-contact-box .contact-icon {
    font-size: 3.5rem;
    margin-right: 25px;
    opacity: 0.8;
}

.cs-contact-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.cs-contact-box .phone-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.cs-contact-box .hours {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cs-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cs-shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-color);
    min-height: 120px;
}

.cs-shortcut-item:hover {
    background-color: var(--hover-bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.cs-shortcut-item .shortcut-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cs-shortcut-item:hover .shortcut-icon {
    color: var(--primary-color);
}

.cs-shortcut-item span {
    font-size: 1.1rem;
    font-weight: 600;
}


/* FAQ ¾ÆÄÚµð¾ð */
.faq-accordion .accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion .accordion-item:last-child {
    border-bottom: none;
}

.faq-accordion .accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-accordion .accordion-header:hover {
    color: var(--primary-color);
}

.faq-accordion .accordion-header .accordion-icon {
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.faq-accordion .accordion-content {
    padding: 15px 0 0px 0;
    font-size: 0.95rem;
    color: var(--text-muted-color);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-accordion .accordion-content.open {
    max-height: 500px; /* ÃæºÐÇÑ ³ôÀÌ */
    padding-top: 15px;
    padding-bottom: 20px;
}

.faq-accordion .accordion-content p {
    margin-bottom: 10px;
}
.faq-accordion .accordion-content p:last-child {
    margin-bottom: 0;
}


/* °øÁö»çÇ× ¸ñ·Ï */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list li a {
    flex-grow: 1;
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.notice-list li a:hover {
    color: var(--primary-color);
}

.notice-list .label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 10px;
    color: #fff;
}

.notice-list .label.notice { background-color: var(--primary-color); }
.notice-list .label.event { background-color: #6c757d; } /* Gray */
.notice-list .label.update { background-color: #28a745; } /* Green */


.notice-list .notice-date {
    font-size: 0.85rem;
    color: var(--text-muted-color);
    white-space: nowrap;
}

/* ÆäÀÌÁö³×ÀÌ¼Ç */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin: 0 5px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.pagination .page-link:hover:not(.active):not(.disabled) {
    background-color: var(--hover-bg-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    pointer-events: none; /* Å¬¸¯ ºñÈ°¼ºÈ­ */
}

.pagination .page-link.disabled {
    color: var(--text-muted-color);
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none; /* Å¬¸¯ ºñÈ°¼ºÈ­ */
}

/* ¹ÝÀÀÇü µðÀÚÀÎ */
@media (max-width: 768px) {
    .cs-page-container {
        padding: 20px 15px;
    }

    .cs-page-container .page-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
		color: var(--text-color);
    }

    .cs-top-section {
        grid-template-columns: 1fr; /* ¸ð¹ÙÀÏ¿¡¼­ ´ÜÀÏ ¿­ */
        gap: 20px;
    }

    .cs-contact-box {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .cs-contact-box .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .cs-contact-box h3 {
        font-size: 1.5rem;
    }

    .cs-contact-box .phone-number {
        font-size: 2rem;
    }

    .cs-shortcut-grid {
        grid-template-columns: repeat(2, 1fr); /* 2¿­·Î º¯°æ */
        gap: 15px;
    }

    .cs-shortcut-item {
        min-height: 100px;
        padding: 15px;
    }

    .cs-shortcut-item .shortcut-icon {
        font-size: 2rem;
    }

    .cs-shortcut-item span {
        font-size: 1rem;
    }

    .cs-section {
        padding: 20px;
    }

    .section-heading {
        font-size: 1.8rem;
        margin-bottom: 20px;
		color: var(--text-color);
    }

    .faq-accordion .accordion-header {
        font-size: 1rem;
        padding: 15px 0;
    }

    .faq-accordion .accordion-content {
        font-size: 0.9rem;
        padding-top: 10px;
        padding-bottom: 15px;
    }

    .notice-list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .notice-list li a {
        margin-bottom: 5px;
        font-size: 0.95rem;
    }

    .notice-list .label {
        margin-bottom: 5px;
    }

    .pagination .page-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 3px;
    }
}

/* °Ë»ö ¹× ÇÊÅÍ¸µ ¼½¼Ç */
.notice-search-filter {
    display: flex;
    justify-content: flex-end; /* ¿À¸¥ÂÊ Á¤·Ä */
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.notice-search-filter .filter-dropdown .form-select,
.notice-search-filter .search-box .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--input-bg-color);
    appearance: none; /* ±âº» select È­»ìÇ¥ Á¦°Å */
    -webkit-appearance: none;
    -moz-appearance: none;
}

.notice-search-filter .filter-dropdown {
    position: relative;
}

.notice-search-filter .filter-dropdown::after {
    content: '\f078'; /* FontAwesome chevron-down ¾ÆÀÌÄÜ */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted-color);
    pointer-events: none; /* µå·Ó´Ù¿î Å¬¸¯ ¹æÇØ ¹æÁö */
    font-size: 0.8rem;
}


.notice-search-filter .search-box {
    display: flex;
    border: 1px solid var(--border-color); /* ÅëÇÕ º¸´õ */
    border-radius: var(--border-radius-sm);
    overflow: hidden; /* input°ú buttonÀÇ µÕ±Ù ¸ð¼­¸® À¯Áö */
}

.notice-search-filter .search-box .form-control {
    flex-grow: 1;
    border: none; /* °³º° º¸´õ Á¦°Å */
    background-color: var(--input-bg-color);
    padding: 8px 12px;
}

.notice-search-filter .search-box .form-control::placeholder {
    color: var(--placeholder-color);
}

.notice-search-filter .search-box .btn-search {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.notice-search-filter .search-box .btn-search:hover {
    background-color: var(--primary-hover-color);
}


/* °øÁö»çÇ× ¸ñ·Ï Å×ÀÌºí */
.notice-list-table {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden; /* Å×ÀÌºí ³» µÕ±Ù ¸ð¼­¸® Àû¿ë */
    margin-bottom: 30px;
}

.notice-list-table table {
    width: 100%;
    border-collapse: collapse;
}

.notice-list-table th,
.notice-list-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.notice-list-table th {
    background-color: var(--background-color);
    font-weight: 600;
    color: var(--heading-color);
    font-size: 1.1rem;
}

.notice-list-table tbody tr:last-child td {
    border-bottom: none;
}

.notice-list-table td {
    color: var(--text-color);
    font-size: 0.95rem;
}

.notice-list-table .col-no {
    width: 10%;
    text-align: center;
    white-space: nowrap;
	color: var(--text-color);
}

.notice-list-table .col-title {
    width: 70%;
	color: var(--text-color);
}

.notice-list-table .col-date {
    width: 20%;
    text-align: center;
    white-space: nowrap;
	color: var(--text-color);
}

.notice-list-table td .label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    margin-right: 5px;
}

.notice-list-table td .label.notice { background-color: var(--primary-color); }
.notice-list-table td .label.event { background-color: #6c757d; }
.notice-list-table td .label.update { background-color: #28a745; }

.notice-list-table td .col-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.notice-list-table td .col-title a:hover {
    color: var(--primary-color);
}

.notice-list-table .no-results {
    text-align: center;
    color: var(--text-muted-color);
    padding: 40px 20px;
    font-size: 1.1rem;
}

/* ¹ÝÀÀÇü µðÀÚÀÎ */
@media (max-width: 768px) {
    .notice-search-filter {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .notice-search-filter .filter-dropdown,
    .notice-search-filter .search-box {
        width: 100%;
    }

    .notice-list-table th,
    .notice-list-table td {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .notice-list-table .col-no,
    .notice-list-table .col-date {
        font-size: 0.8rem;
    }

    .notice-list-table .col-no {
        width: 15%; /* ¸ð¹ÙÀÏ¿¡¼­ Á¶±Ý ´õ ³Ð°Ô */
    }
    .notice-list-table .col-date {
        width: 25%; /* ¸ð¹ÙÀÏ¿¡¼­ Á¶±Ý ´õ ³Ð°Ô */
    }
    .notice-list-table .col-title {
        width: 60%;
    }
}

@media (max-width: 576px) {
    .notice-list-table .col-no {
        display: none; /* ¸Å¿ì ÀÛÀº È­¸é¿¡¼­ NO ¿­ ¼û±â±â */
    }
    .notice-list-table .col-title {
        width: 70%;
        padding-left: 15px;
    }
    .notice-list-table .col-date {
        width: 30%;
        text-align: right;
        padding-right: 15px;
    }
    .notice-list-table th.col-no {
        display: none;
    }
}
/* --- notice_view_content.php (°øÁö»çÇ× »ó¼¼ ÆäÀÌÁö) Àü¿ë ½ºÅ¸ÀÏ --- */

.notice-view-container {
    padding: 30px; /* cs-sectionÀÌ ±âº»ÀûÀ¸·Î paddingÀ» °¡Áü */
}

.notice-view-container .view-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.notice-view-container .view-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.notice-view-container .view-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted-color);
}

.notice-view-container .view-meta .view-type .label.general {
    background-color: #6c757d; /* ÀÏ¹Ý °Ô½Ã¹° ¶óº§ »ö»ó */
}

.notice-view-container .view-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    min-height: 200px; /* ³»¿ëÀÌ Âª¾Æµµ ¾î´À Á¤µµ ³ôÀÌ À¯Áö */
}

.notice-view-container .view-content p {
    margin-bottom: 15px;
}

.notice-view-container .view-content ul,
.notice-view-container .view-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.notice-view-container .view-content li {
    margin-bottom: 8px;
}


.notice-view-container .view-actions {
    margin-top: 40px;
    text-align: center;
}

/* ¹ÝÀÀÇü µðÀÚÀÎ */
@media (max-width: 768px) {
    .notice-view-container .view-title {
        font-size: 1.8rem;
    }

    .notice-view-container .view-meta {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.85rem;
    }

    .notice-view-container .view-meta .view-type {
        margin-top: 5px;
    }

    .notice-view-container .view-content {
        font-size: 0.95rem;
    }
}

.contact-details{ position:relative; }
.contact-details .tel-overlay{
  position:absolute; inset:0; z-index:10;
}
/* µ¥½ºÅ©Åé¿¡¼­´Â ½Ç¼ö ¹æÁö·Î ºñÈ°¼ºÈ­(¼±ÅÃ) */
@media (hover:hover){
  .contact-details .tel-overlay{ pointer-events:none; }
}

.phone-number a{
  color:#fff;
}