.notice-hero {
    position: relative;
    padding: 5rem 0 4rem;
    color: #fff;
    overflow: hidden;
}

.notice-hero .hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.notice-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3);
    transform: scale(1.05);
}

.notice-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(2, 8, 32, 0.92), rgba(6, 75, 158, 0.9));
    z-index: 1;
}

.notice-hero .container {
    position: relative;
    z-index: 2;
}

.notice-hero .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .notice-hero .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-search-card {
        order: -1;
    }
}

.hero-text-block h1 {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    margin: 0.25rem 0 1rem;
    font-family: var(--font-heading);
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.hero-lede {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hero-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
}

.hero-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.highlight-card {
    flex: 1;
    min-width: 140px;
    background: rgba(4, 18, 46, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1rem 1.25rem;
}

.highlight-card .value {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.highlight-card .label {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.hero-search-card {
    background: rgba(4, 24, 63, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(3, 17, 48, 0.45);
    backdrop-filter: blur(12px);
}

.hero-search-card h3 {
    margin-bottom: 0.35rem;
}

.hero-search-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0;
}

.hero-search-card form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.hero-search-card label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-input input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
}

.hero-input input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.hero-search-card .btn {
    border-radius: 16px;
    padding: 0.9rem 1rem;
    font-weight: 600;
}

.quick-filters {
    margin-top: 1.75rem;
}

.quick-filters span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.6rem;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.filter-pills a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.filter-pills a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.notice-grid-section {
    padding: 4rem 0;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.notice-grid .notice-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 38px rgba(20, 44, 77, 0.08);
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notice-grid .notice-card h2 {
    font-size: 1.4rem;
    margin: 0;
}

.notice-grid .notice-card p {
    margin: 0;
    color: var(--text-secondary);
}

.notice-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.notice-pin {
    background: rgba(255, 149, 0, 0.15);
    color: #c05621;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.notice-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.notice-attachments span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f4f6fb;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
}

.notice-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.notice-pagination a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
    text-decoration: none;
}

.notice-pagination a.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.empty-notice-state {
    text-align: center;
    padding: 4rem 1rem;
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: 18px;
}

.empty-notice-state i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.notice-details-hero {
    padding: 4rem 0 2rem;
    background: #f5f7fb;
}

.notice-details-body {
    padding: 3rem 0 5rem;
}

.notice-details-body .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.notice-content {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(12, 32, 63, 0.08);
}

.notice-summary {
    background: #f4f8ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.notice-rich-text p {
    line-height: 1.7;
    color: var(--text-secondary);
}

.notice-downloads {
    margin-top: 2rem;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.notice-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.notice-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.notice-gallery img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.recent-notices ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recent-notices li a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.recent-notices .date {
    color: var(--text-secondary);
}

.recent-notices .title {
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .notice-details-body .container {
        grid-template-columns: 1fr;
    }
}

