/* Container resets */
#dynamic-bulletins {
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

/* Page Title Customization */
h1.page-title-blue {
    color: #03437a !important; /* Overrides default orange text */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
}
h1.page-title-blue::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #03437a;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Feature Cards */
.bulletin-featured-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}
@media (min-width: 768px) {
    .bulletin-featured-container {
        flex-direction: row;
    }
}
.bulletin-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bulletin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.bulletin-card h4 {
    margin-top: 0;
    color: #777;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.bulletin-card .date_header {
    color: #03437a;
    font-size: 28px;
    margin: 20px 0 30px;
    font-weight: 800;
}
.bulletin-card .btn-primary {
    background-color: #03437a;
    border-color: #03437a;
    color: #fff;
    border-radius: 6px;
    padding: 12px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: inline-block;
    width: 100%;
}
@media (min-width: 768px) {
    .bulletin-card .btn-primary {
        width: auto;
        align-self: center;
    }
}
.bulletin-card .btn-primary:hover, .bulletin-card .btn-primary:focus {
    background-color: #022d52;
    transform: scale(1.05);
    color: #fff;
    text-decoration: none;
}

/* Archives Section */
.archive-title-wrapper {
    text-align: center;
    margin-bottom: 30px;
}
.archive-title {
    color: #03437a;
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 10px;
}
.archive-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #03437a;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Archive Tabs (Years) */
.archive-years-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.archive-year-btn {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 10px 25px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #555;
    transition: all 0.3s ease-in-out;
    position: relative;
    outline: none;
}
.archive-year-btn::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #03437a;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}
.archive-year-btn:hover {
    color: #03437a;
    background: #d9edf7;
}
.archive-year-btn:hover::after {
    width: 60%;
}
.archive-year-btn.active {
    background: #03437a;
    color: #fff;
    border-color: #03437a;
    box-shadow: 0 4px 10px rgba(3, 67, 122, 0.2);
}
.archive-year-btn.active::after {
    display: none;
}

/* Archive Panels */
.archive-panels {
    position: relative;
    margin-bottom: 80px;
}
.archive-panel {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.archive-panel.active {
    display: block;
    animation: fadeSlideIn 0.4s forwards ease-in-out;
}
@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Months & Lists */
.archive-panel-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .archive-panel-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .archive-panel-content {
        grid-template-columns: repeat(3, 1fr);
    }
}
.month-group {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.archive-panel-header {
    color: #03437a;
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.archive-item {
    display: block;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}
.archive-item i {
    margin-right: 5px;
    color: #888;
    transition: color 0.3s ease-in-out;
}
.archive-item:hover, .archive-item:focus {
    background: #d9edf7;
    border-color: #bce8f1;
    color: #03437a;
    text-decoration: none;
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.archive-item:hover i, .archive-item:focus i {
    color: #03437a;
}
