/* Notice Page Specific Styles based on KMDA reference */

/* Page Hero */
.page-hero {
    position: relative;
    padding: 120px 0;
    min-height: 400px;
    background-image: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&q=80&w=2000');
    /* Professional workstation placeholder */
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(160, 91, 100, 0.85), rgba(160, 91, 100, 0.4));
    /* Rose Pink Overlay to match image */
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: left;
}

.page-hero .badge-outline {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--white);
    border-radius: 50px;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 600px;
}

/* Content Area */
.content-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Search Area */
.notice-search-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-select {
    padding: 10px 15px;
    border: none;
    border-right: 1px solid #ddd;
    background-color: #f9f9f9;
    font-size: 0.95rem;
    outline: none;
}

.search-input {
    padding: 10px 15px;
    border: none;
    width: 300px;
    font-size: 0.95rem;
    outline: none;
}

.search-submit {
    padding: 10px 25px;
    background-color: #eee;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background-color: #ddd;
}

/* Notice List Style - KMDA style */
.notice-list-container {
    border-top: 2px solid #333;
}

.kmda-notice-item {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.kmda-notice-item:hover {
    background-color: #fcfcfc;
}

.item-left {
    flex: 0 0 150px;
    text-align: center;
    color: #888;
}

.item-id {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.item-date {
    display: block;
    font-size: 0.9rem;
}

.item-body {
    flex: 1;
    padding-left: 30px;
    display: flex;
    align-items: center;
}

.item-title {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    transition: var(--transition);
}

.item-title:hover {
    color: var(--primary-color);
}

/* Floating Donate Button from Image */
.floating-donate {
    position: fixed;
    right: 30px;
    bottom: 15%;
    width: 90px;
    height: 90px;
    background-color: #e95a64;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(233, 90, 100, 0.4);
    z-index: 100;
    transition: var(--transition);
}

.floating-donate i {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.floating-donate span {
    font-size: 0.9rem;
    font-weight: 700;
}

.floating-donate:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #d84953;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-num {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #666;
    transition: var(--transition);
}

.page-num.active {
    background-color: #333;
    color: var(--white);
    border-color: #333;
}

.page-num:hover:not(.active) {
    background-color: #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .notice-search-wrap {
        justify-content: center;
    }

    .search-input {
        width: 100%;
    }

    .kmda-notice-item {
        flex-direction: column;
    }

    .item-left {
        flex: none;
        text-align: left;
        display: flex;
        gap: 15px;
        padding-bottom: 10px;
    }

    .item-body {
        padding-left: 0;
    }

    .floating-donate {
        width: 70px;
        height: 70px;
        right: 15px;
    }
}
