/* ─── Sitrep Page ────────────────────────────────────────────────── */

.sr-page {
    position: relative;
    background-image: url('../img/hero.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sr-page__overlay {
    position: absolute;
    inset: 0;
    background: #0000008a;
    z-index: 0;
}

.sr-page__content {
    position: relative;
    z-index: 1;
}

/* ─── Page Title ─────────────────────────────────────────────────── */
.sr-page-title {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
    margin: 0;
}

/* ─── Title + Filter Row ─────────────────────────────────────────── */
.sr-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 20px;
}

.sr-header-spacer {
    flex: 1;
}

.sr-page-title {
    flex: 1;
    text-align: center;
}

.sr-filter {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.sr-filter select {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: .88rem;
    min-width: 220px;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
}

.sr-filter select:focus {
    border-color: #f0a500;
}

.sr-filter select option {
    background: #1a3a1a;
    color: #fff;
}

/* ─── Equal-height layout ────────────────────────────────────────── */
.sr-main-row {
    display: flex;
    align-items: stretch;
    gap: 24px;
    flex-wrap: wrap;
}

.sr-list-col {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
}

.sr-image-col {
    flex: 1;
    min-width: 260px;
}

@media (max-width: 991px) {
    .sr-list-col  { flex: 0 0 100%; max-width: 100%; }
    .sr-image-col { display: none; }
}

/* ─── Cards ──────────────────────────────────────────────────────── */
.sr-card-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sr-card {
    background: rgba(255,255,255,0.93);
    border-radius: 8px;
    border-left: 4px solid #1a7a1a;
    box-shadow: 0 3px 12px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.sr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
    color: inherit;
    text-decoration: none;
}

.sr-card.is-latest {
    border-left-color: #d62828;
}

.sr-card__body {
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sr-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #1a7a1a;
}

.sr-card.is-latest .sr-card__icon {
    background: #fff0f0;
    color: #d62828;
}

.sr-card__info {
    flex: 1;
    min-width: 0;
}

.sr-card__title {
    font-size: .88rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-card__date {
    font-size: .73rem;
    color: #666;
    margin: 0;
}

/* ─── Latest Badge Blink ─────────────────────────────────────────── */
.badge-latest {
    background: #d62828;
    color: #fff;
    font-size: .62rem;
    padding: 1px 7px;
    border-radius: 20px;
    vertical-align: middle;
    animation: sr-blink 1.2s step-start infinite;
    display: inline-block;
    margin-left: 4px;
}

@keyframes sr-blink {
    50% { opacity: 0; }
}

/* ─── Side Image ─────────────────────────────────────────────────── */
.sr-side-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    height: 100%;
}

.sr-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ─── Pagination ─────────────────────────────────────────────────── */
.sr-pagination .page-link {
    border-radius: 6px !important;
    margin: 0 2px;
    border: 1px solid #1a7a1a;
    background: #1a7a1a;
    color: #fff;
    font-size: .8rem;
}

.sr-pagination .page-link:hover {
    background: #145e14;
    border-color: #145e14;
    color: #fff;
}

.sr-pagination .page-item.active .page-link {
    background: #f0a500;
    border-color: #f0a500;
    color: #fff;
}

.sr-pagination .page-item.disabled .page-link {
    background: #555;
    border-color: #555;
    color: #aaa;
    opacity: 1;
}
