/* ════════════════════════════════════════════════════════════════════
   PROFIL — PENGHARGAAN (Awards)
   Visual harmonization with other Profil pages (content-card pattern)
   + premium award-specific accents (gold ribbon, trophy badge).
   ════════════════════════════════════════════════════════════════════ */

.pgh-empty p { color: var(--clr-text-secondary); }

/* ─────────────────── FEATURED (latest) ─────────────────── */
.pgh-featured {
    position: relative;
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        linear-gradient(135deg,
            rgba(249, 167, 3, 0.06) 0%,
            rgba(15, 25, 119, 0.04) 100%),
        #fff;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
}
.pgh-featured-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 0;
    align-items: stretch;
}
.pgh-featured-media {
    position: relative;
    background: linear-gradient(135deg, #f4f6fb 0%, #e9eef9 100%);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pgh-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    box-sizing: border-box;
    display: block;
    cursor: zoom-in;
}
.pgh-featured-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
    color: var(--clr-blue-deeper);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 16px rgba(249, 167, 3, 0.45);
}
.pgh-featured-body {
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pgh-featured-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-gold-dark);
    margin-bottom: 0.85rem;
}
.pgh-featured-title {
    font-size: clamp(1.4rem, 2.4vw, 1.95rem);
    font-weight: var(--fw-extra);
    line-height: 1.2;
    color: var(--clr-text-primary);
    margin: 0 0 1.25rem;
    letter-spacing: -0.01em;
}
.pgh-featured-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.pgh-featured-giver {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    background: rgba(15, 25, 119, 0.08);
    color: var(--clr-blue-dark);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}
.pgh-featured-year {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: rgba(249, 167, 3, 0.14);
    color: var(--clr-gold-dark);
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}
.pgh-featured-year::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--clr-gold);
}

/* ─────────────────── LIST + FILTER ─────────────────── */
.pgh-list-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.pgh-list-title {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: var(--fw-extra);
    color: var(--clr-text-primary);
    margin: 0.4rem 0 0;
    letter-spacing: -0.005em;
}
.pgh-filter-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.pgh-filter-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.pgh-filter-select {
    padding: 0.5rem 2.2rem 0.5rem 1rem;
    background: var(--clr-white);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    color: var(--clr-text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    min-width: 180px;
    font-feature-settings: 'tnum';
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1f3a' stroke-width='2.5'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.pgh-filter-select:hover { border-color: var(--clr-gold); }
.pgh-filter-select:focus {
    outline: none;
    border-color: var(--clr-gold);
    box-shadow: 0 0 0 3px rgba(249, 167, 3, 0.18);
}

/* ─────────────────── LIGHTBOX ─────────────────── */
.pgh-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.pgh-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}
.pgh-lightbox-stage {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.pgh-lightbox-stage img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.pgh-lightbox.is-open img { transform: scale(1); }
.pgh-lightbox-caption {
    color: #fff;
    text-align: center;
    font-size: 0.95rem;
    max-width: 90vw;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.pgh-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: #111;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s;
}
.pgh-lightbox-close:hover { transform: scale(1.08); }

/* ─────────────────── GRID ─────────────────── */
.pgh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pgh-card {
    position: relative;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.pgh-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 48px -16px rgba(15, 25, 119, 0.22),
        0 6px 14px -4px rgba(249, 167, 3, 0.18);
    border-color: rgba(249, 167, 3, 0.45);
}
.pgh-card::before {
    content: '';
    position: absolute;
    top: 0; left: 1.5rem; right: 1.5rem;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light), var(--clr-gold));
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 4;
}
.pgh-card:hover::before { opacity: 1; }

.pgh-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f6fb 0%, #e9eef9 100%);
    cursor: zoom-in;
}
.pgh-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 0.5rem;
    box-sizing: border-box;
    transition: transform 0.45s var(--ease-out);
}
.pgh-card:hover .pgh-card-media img { transform: scale(1.04); }

.pgh-card-ribbon {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--clr-gold-dark);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
}
.pgh-card-year {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    padding: 0.3rem 0.7rem;
    background: rgba(15, 25, 119, 0.85);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    font-feature-settings: 'tnum';
}

.pgh-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pgh-card-title {
    font-size: 0.98rem;
    font-weight: var(--fw-bold);
    line-height: 1.35;
    color: var(--clr-text-primary);
    margin: 0 0 0.55rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.003em;
}
.pgh-card-accent {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--clr-gold);
    border-radius: 2px;
    margin-bottom: 0.65rem;
}
.pgh-card-giver {
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--clr-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─────────────────── PAGINATION ─────────────────── */
.pgh-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--clr-border);
}
.pgh-page-btn,
.pgh-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    background: var(--clr-white);
    border: 1.5px solid var(--clr-border);
    color: var(--clr-text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.18s;
    font-feature-settings: 'tnum';
}
.pgh-page-btn:hover,
.pgh-page-num:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold-dark);
}
.pgh-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    color: var(--clr-text-muted);
}
.pgh-page-btn:disabled:hover {
    border-color: var(--clr-border);
    color: var(--clr-text-muted);
}
.pgh-page-num.is-active {
    background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-dark) 100%);
    border-color: var(--clr-gold);
    color: var(--clr-blue-deeper);
    box-shadow: 0 4px 10px rgba(249, 167, 3, 0.35);
}
.pgh-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    color: var(--clr-text-muted);
    font-weight: 700;
}

/* ─────────────────── EMPTY STATE (year filter) ─────────────────── */
.pgh-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--clr-text-muted);
}
.pgh-empty-state svg {
    margin-bottom: 0.75rem;
    color: var(--clr-text-muted);
    opacity: 0.6;
}
.pgh-empty-state p {
    font-size: 0.95rem;
    margin: 0;
}

/* ─────────────────── RESPONSIVE ─────────────────── */
@media (max-width: 900px) {
    .pgh-featured-inner {
        grid-template-columns: 1fr;
    }
    .pgh-featured-media {
        min-height: 240px;
        aspect-ratio: 16 / 10;
    }
    .pgh-featured-body { padding: 2rem 1.5rem; }
    .pgh-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .pgh-featured-body { padding: 1.5rem 1.25rem; }
    .pgh-list-head { flex-direction: column; align-items: stretch; }
    .pgh-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .pgh-chip { flex-shrink: 0; }
    .pgh-grid { grid-template-columns: 1fr; gap: 1rem; }
    .pgh-card-media { aspect-ratio: 16 / 11; }
    .pgh-pagination { flex-wrap: wrap; gap: 0.3rem; }
    .pgh-page-num { min-width: 32px; height: 32px; font-size: 0.8rem; }
}
