.maultasch-bulletin-container {
    font-family: inherit;
}

/* Search area styling matching Gem2Go */
.maultasch-bulletin-search-input-wrapper input:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
}

.maultasch-bulletin-year-filters .btn {
    border-radius: 20px;
    padding: 0.375rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.maultasch-bulletin-year-filters .btn-dark.active {
    background-color: #000;
    border-color: #000;
}

#maultasch-bulletin-year-select {
    max-width: 200px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

/* Card Styling */
.maultasch-bulletin-card {
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maultasch-bulletin-card:hover {
    transform: none;
    box-shadow: none;
}

.maultasch-bulletin-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 141%; /* Approximate A4 aspect ratio */
    overflow: hidden;
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* Shadow on the cover frame */
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.maultasch-bulletin-image-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.maultasch-bulletin-cover {
    position: absolute;
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    object-fit: cover;
    object-position: top center;
    border-radius: 8px; /* Slightly rounded actual cover image */
    transition: transform 0.5s ease;
}

.maultasch-bulletin-image-wrap:hover .maultasch-bulletin-cover {
    transform: scale(1.03);
}

.maultasch-bulletin-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.maultasch-bulletin-content {
    padding: 1.25rem 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    width: 100%;
}

.maultasch-bulletin-date {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.maultasch-bulletin-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    color: #212529;
    margin-bottom: 1.25rem;
    display: block;
    width: 100%;
}

.maultasch-bulletin-actions {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.maultasch-bulletin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 140px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.maultasch-bulletin-btn-download {
    background-color: transparent;
    color: #292929;
    border: 1px solid #292929;
}

.maultasch-bulletin-btn-download:hover {
    background-color: #292929;
    border-color: #292929;
    color: white;
}

/* ===================================
   Pagination
   =================================== */
.maultasch-bulletin-pagination {
    margin-top: 4rem;
}

.maultasch-pagination .pagination {
    border: 1px solid #292929;
    border-radius: 14px;
    padding: 1.75rem 2rem;
    gap: 0.75rem;
    background: #fff;
    justify-content: center;
    align-items: center;
    display: flex;
    list-style: none;
    margin: 0;
}

.maultasch-pagination .page-item {
    display: flex;
    align-items: center;
}

.maultasch-pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

.maultasch-pagination .page-item.active .page-link {
    background: rgba(124, 124, 124, 0.1);
    font-weight: 600;
}

.maultasch-pagination .page-link {
    border: none;
    background: transparent;
    color: #000;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.maultasch-pagination .page-link:hover {
    background: rgba(124, 124, 124, 0.1);
}

.maultasch-pagination .page-item:first-child .page-link,
.maultasch-pagination .page-item:last-child .page-link {
    font-weight: 600;
    color: #292929;
}

.maultasch-pagination .page-item:first-child .page-link:hover,
.maultasch-pagination .page-item:last-child .page-link:hover {
    background: transparent;
    color: #892323;
}
