/* ══════════════════════════════════════════════════════
   press.css – Vil-Laju! Brunei
   Press Releases Page
   ══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────────────── */
.press-hero {
    height: 70vh;
    min-height: 450px;
    background: url("/media/SHBK-vlbn.JPG") center/cover no-repeat;
    background-position: 70% center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.45);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.press-hero-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #d6b78a;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeIn 1.8s ease forwards;
}

.press-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-align: center;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.3;
    max-width: 900px;
    opacity: 0;
    animation: fadeIn 2s ease forwards;
}

.press-hero-sub {
    font-family: 'Merriweather', serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #e6d2b1;
    margin-top: 14px;
    line-height: 1.7;
    max-width: 700px;
    opacity: 0;
    animation: fadeIn 2.2s ease forwards;
}

/* ─────────────────────────────────────────────────────
   ANIMATION
───────────────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────────────────────────────────
   MAIN SECTION
───────────────────────────────────────────────────── */
.press-section {
    padding: 80px 20px;
    background: #fffdf9;
}

.press-container {
    max-width: 1200px;
    margin: 0 auto;
}

.press-section h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #4b2e12;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-divider {
    width: 85%;
    max-width: 700px;
    margin: 0 auto 50px;
    border: none;
    border-top: 1px solid #bfa98a;
}

/* ─────────────────────────────────────────────────────
   FILTER BAR
───────────────────────────────────────────────────── */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 55px;
}

.filter-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 20px;
    border: 1.5px solid #bfa98a;
    border-radius: 4px;
    background: transparent;
    color: #7a5030;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4b2e12;
    color: #f3e5c6;
    border-color: #4b2e12;
}

/* ─────────────────────────────────────────────────────
   GRID
───────────────────────────────────────────────────── */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* ─────────────────────────────────────────────────────
   CARD
───────────────────────────────────────────────────── */
.press-card {
    background: linear-gradient(to bottom right, #ffffff, #f8f3ea);
    border: 1px solid #eadbc6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    animation: fadeUp 0.6s ease both;
}

.press-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Top coloured strip */
.card-strip {
    height: 6px;
    width: 100%;
    flex-shrink: 0;
    transition: height 0.25s ease;
}

.press-card:hover .card-strip {
    height: 9px;
}

/* Card body */
.press-card-body {
    padding: 28px 28px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.card-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 3px;
    color: white;
}

.card-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    color: #9a7355;
    letter-spacing: 0.5px;
}

.press-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 700;
    color: #3a2008;
    line-height: 1.5;
    margin-bottom: 14px;
}

.press-card p {
    font-size: 0.96rem;
    line-height: 1.8;
    color: #5a3a1d;
    flex: 1;
}

/* ─────────────────────────────────────────────────────
   CARD FOOTER
───────────────────────────────────────────────────── */
.card-footer {
    padding: 18px 28px 24px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #eadbc6;
}

/* ─────────────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────────────── */
.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-pdf-primary {
    background: linear-gradient(to right, #4b2e12, #7a4c22);
    color: #f3e5c6;
    border: none;
}

.btn-pdf-primary:hover {
    background: linear-gradient(to right, #2e1b0e, #5a3414);
    transform: translateY(-2px);
}

.btn-pdf-secondary {
    background: transparent;
    color: #7a5030;
    border: 1.5px solid #bfa98a;
}

.btn-pdf-secondary:hover {
    background: #f3e5c6;
}

/* ─────────────────────────────────────────────────────
   CATEGORY COLOURS
───────────────────────────────────────────────────── */
.cat-workshop {
    background: linear-gradient(to right, #7a8c5c, #a5b88a);
}

.cat-community {
    background: linear-gradient(to right, #c4783a, #e0a166);
}

.cat-awards {
    background: linear-gradient(to right, #7a5c8c, #a588ba);
}

.cat-outreach {
    background: linear-gradient(to right, #3a7a7a, #5ca8a8);
}

.cat-youth {
    background: linear-gradient(to right, #8c5c3a, #b07a52);
}

.tag-workshop {
    background: #7a8c5c;
}

.tag-community {
    background: #c4783a;
}

.tag-awards {
    background: #7a5c8c;
}

.tag-outreach {
    background: #3a7a7a;
}

.tag-youth {
    background: #8c5c3a;
}

/* ─────────────────────────────────────────────────────
   EMPTY STATE
───────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: #9a7355;
    display: none;
}

.empty-state i {
    font-size: 2.8rem;
    margin-bottom: 15px;
    opacity: 0.5;
    display: block;
}

.empty-state p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
}

/* ─────────────────────────────────────────────────────
   FOOTER LINKS
───────────────────────────────────────────────────── */
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    list-style: none;
}

/* ─────────────────────────────────────────────────────
   STAGGER ANIMATION
───────────────────────────────────────────────────── */
.press-card:nth-child(1) {
    animation-delay: 0.05s;
}

.press-card:nth-child(2) {
    animation-delay: 0.12s;
}

.press-card:nth-child(3) {
    animation-delay: 0.19s;
}

.press-card:nth-child(4) {
    animation-delay: 0.26s;
}

.press-card:nth-child(5) {
    animation-delay: 0.33s;
}

.press-card:nth-child(6) {
    animation-delay: 0.40s;
}

/* ─────────────────────────────────────────────────────
   MOBILE
───────────────────────────────────────────────────── */
@media (max-width: 768px) {

    .press-hero {
        height: 36vh;
        min-height: 240px;
    }

    .press-section {
        padding: 60px 20px;
    }

    .press-grid {
        gap: 24px;
    }

    .press-card-body {
        padding: 24px 22px 18px;
    }

    .card-footer {
        padding: 16px 22px 22px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {

    .press-hero {
        height: 30vh;
        min-height: 210px;
    }

    .press-hero h1 {
        letter-spacing: 2px;
    }

    .filter-bar {
        gap: 8px;
    }

    .filter-btn {
        width: 100%;
        max-width: 240px;
    }

    .press-grid {
        grid-template-columns: 1fr;
    }
}