/* ════════════════════════════════════════════════════════════
 * GBI Slawi — featured-card.css
 * Featured card, section divider, news page
 * ════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════
   FEATURED CARD
════════════════════════════════════════════ */
.peng-featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 14px;
    background: var(--bg3);
    cursor: pointer;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    animation: pengFeatIn .4s cubic-bezier(.22, 1, .36, 1) both;
}

.peng-featured-card:hover {
    border-color: rgba(245, 200, 66, .35);
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(245, 200, 66, .1);
}

@keyframes pengFeatIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Hero image area ── */
.peng-feat-hero {
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, #1a1200 0%, #120e00 40%, #0d0a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.peng-feat-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.peng-featured-card:hover .peng-feat-hero-img {
    transform: scale(1.03);
}

.peng-feat-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 60% 40%, rgba(245, 200, 66, .13) 0%, transparent 70%);
    pointer-events: none;
}

.peng-feat-hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to top, var(--bg3), transparent);
    pointer-events: none;
}

/* ── "Terbaru" floating badge ── */
.peng-feat-badge-live {
    position: absolute;
    top: 14px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 9px;
    border-radius: 99px;
    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 200, 66, .3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
}

.peng-feat-badge-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pengDotBlink 1.8s ease-in-out infinite;
}

@keyframes pengDotBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

/* ── Content area ── */
.peng-feat-content {
    padding: 20px 22px 20px;
}

.peng-feat-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.peng-feat-date {
    font-size: 11.5px;
    color: var(--text3);
    font-family: 'DM Sans', sans-serif;
}

.peng-feat-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    letter-spacing: -.015em;
    margin-bottom: 8px;
}

.peng-feat-excerpt {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.peng-feat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.peng-feat-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.peng-feat-author-dot {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.peng-feat-author-label {
    font-size: 10px;
    color: var(--text3);
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
}

.peng-feat-author-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    line-height: 1;
}

.peng-feat-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: 99px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
    flex-shrink: 0;
}

.peng-feat-cta:hover {
    background: rgba(245, 200, 66, .22);
    box-shadow: 0 4px 18px rgba(245, 200, 66, .15);
}

.peng-feat-arrow {
    display: inline-block;
    transition: transform .2s;
    font-style: normal;
}

.peng-featured-card:hover .peng-feat-arrow {
    transform: translateX(3px);
}

/* ════════════════════════════════════════════
   SECTION DIVIDER
════════════════════════════════════════════ */
.peng-section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.peng-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.peng-divider-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text3);
    white-space: nowrap;
}

/* ════════════════════════════════════════════
   LIST CARDS
════════════════════════════════════════════ */
.kom-pengumuman-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* handled internally */
}

/* kartu non-featured */
.peng-list-card {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 8px;
    transition: border-color .22s, background .22s, box-shadow .22s, transform .22s;
    animation: pengCardIn .38s cubic-bezier(.22, 1, .36, 1) both;
}

.peng-list-card:hover {
    border-color: rgba(245, 200, 66, .28);
    background: var(--bg4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .28);
    transform: translateX(4px);
}

@keyframes pengCardIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accent strip kiri */
.peng-list-strip {
    width: 3px;
    flex-shrink: 0;
    align-self: stretch;
    background: var(--border);
    transition: background .22s;
    border-radius: 99px 0 0 99px;
}

.peng-list-card:hover .peng-list-strip {
    background: var(--gold);
}

.peng-list-body {
    flex: 1;
    min-width: 0;
    padding: 16px 18px 16px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.peng-list-text {
    flex: 1;
    min-width: 0;
}

.peng-list-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    flex-wrap: wrap;
}

.peng-list-date {
    font-size: 11px;
    color: var(--text3);
    font-family: 'DM Sans', sans-serif;
}

.peng-list-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.peng-list-excerpt {
    font-size: 12.5px;
    color: var(--text3);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Thumbnail opsional */
.peng-list-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--bg4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text3);
    transition: border-color .22s;
}

.peng-list-card:hover .peng-list-thumb {
    border-color: var(--gold-border);
}

/* ════════════════════════════════════════════
   BADGE GLOBAL
════════════════════════════════════════════ */
.kom-pengumuman-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--gold-border);
    line-height: 1;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}

/* ════════════════════════════════════════════
   SKELETON LOADER
════════════════════════════════════════════ */
.peng-state-wrap {
    padding: 2px 0;
}

.peng-skeleton-featured {
    width: 100%;
    height: 280px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--bg3) 25%, var(--bg4) 50%, var(--bg3) 75%);
    background-size: 200% 100%;
    animation: pengSkelShimmer 1.5s infinite;
    margin-bottom: 14px;
}

.peng-skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.peng-skeleton-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    height: 100px;
}

.peng-skeleton-strip {
    width: 3px;
    align-self: stretch;
    background: var(--border);
    flex-shrink: 0;
}

.peng-skeleton-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.peng-skeleton-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.peng-skel {
    border-radius: 6px;
    background: linear-gradient(90deg, var(--bg4) 25%, rgba(255, 255, 255, .05) 50%, var(--bg4) 75%);
    background-size: 200% 100%;
    animation: pengSkelShimmer 1.5s infinite;
}

.peng-skel-badge {
    width: 64px;
    height: 18px;
    border-radius: 99px;
}

.peng-skel-date {
    width: 80px;
    height: 12px;
}

.peng-skel-title {
    width: 75%;
    height: 14px;
}

.peng-skel-short {
    width: 50%;
}

.peng-skel-excerpt {
    width: 90%;
    height: 12px;
}

.peng-skel-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    margin: 16px 16px 16px 0;
    flex-shrink: 0;
}

@keyframes pengSkelShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ════════════════════════════════════════════
   STATE: EMPTY
════════════════════════════════════════════ */
.peng-empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 56px 24px;
    text-align: center;
}

.peng-empty-icon-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text3);
    margin-bottom: 4px;
}

.peng-empty-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text2);
    font-family: 'DM Sans', sans-serif;
}

.peng-empty-desc {
    font-size: 13px;
    color: var(--text3);
    font-family: 'DM Sans', sans-serif;
}

/* ════════════════════════════════════════════
   STATE: ERROR
════════════════════════════════════════════ */
.peng-error-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 52px 24px;
    text-align: center;
}

.peng-error-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text3);
}

.peng-error-msg {
    font-size: 14px;
    color: var(--text2);
    font-family: 'DM Sans', sans-serif;
}

.peng-retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text2);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
    margin-top: 4px;
}

.peng-retry-btn:hover {
    border-color: var(--gold-border);
    color: var(--gold);
    background: var(--bg4);
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 600px) {
    .peng-tab-header {
        margin-bottom: 18px;
        gap: 12px;
    }

    .peng-tab-main-title {
        font-size: 1.3rem;
    }

    .peng-tab-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .peng-filter-toggle {
        flex: 1;
    }

    .peng-filter-btn {
        flex: 1;
        justify-content: center;
        padding: 6px 8px;
        font-size: 11px;
    }

    .peng-feat-hero {
        height: 150px;
    }

    .peng-feat-title {
        font-size: 1.05rem;
    }

    .peng-feat-excerpt {
        display: none;
    }

    .peng-list-thumb {
        display: none;
    }

    .peng-list-title {
        font-size: 13.5px;
    }
}

#peng-view-detail {
    animation: pengDetFadeIn .3s ease both;
}

@keyframes pengDetFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ════════════════════════════════════════════
   NAVIGATION BAR
════════════════════════════════════════════ */
.peng-det-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.peng-det-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text2);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}

.peng-det-nav-btn:hover {
    border-color: var(--gold-border);
    color: var(--gold);
    background: var(--bg4);
}

/* ════════════════════════════════════════════
   HERO IMAGE
════════════════════════════════════════════ */
.peng-det-hero {
    width: 100%;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1200 0%, #120e00 40%, #0d0a1a 100%);
}

.peng-det-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(245, 200, 66, .12), transparent 70%);
    z-index: 0;
}

.peng-det-hero-inner {
    width: 100%;
    aspect-ratio: 16 / 7;
    max-height: 280px;
    position: relative;
    z-index: 1;
}

.peng-det-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity .4s ease, transform .6s ease;
    transform: scale(1.04);
}

.peng-det-hero-img.loading {
    opacity: 0;
}

.peng-det-hero-img.loaded {
    opacity: 1;
    transform: scale(1);
}

.peng-det-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, .65) 100%);
    pointer-events: none;
    z-index: 2;
}

/* ════════════════════════════════════════════
   CARD KONTEN
════════════════════════════════════════════ */
.peng-det-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 26px 22px;
    position: relative;
}

.peng-det-card.has-image {
    border-top: none;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

/* ════════════════════════════════════════════
   META: BADGE + TANGGAL
════════════════════════════════════════════ */
.peng-det-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    flex-wrap: wrap;
}

.peng-det-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text3);
    flex-shrink: 0;
}

.peng-det-date {
    font-size: 11.5px;
    color: var(--text3);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: .03em;
}

/* ════════════════════════════════════════════
   JUDUL
════════════════════════════════════════════ */
.peng-det-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.22;
    margin-bottom: 18px;
    letter-spacing: -.02em;
}

/* ════════════════════════════════════════════
   AUTHOR
════════════════════════════════════════════ */
.peng-det-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 12px;
    background: var(--bg4);
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.peng-det-author-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.peng-det-author-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.peng-det-author-label {
    font-size: 9.5px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    line-height: 1;
}

.peng-det-author-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

/* ════════════════════════════════════════════
   DIVIDER
════════════════════════════════════════════ */
.peng-det-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 20px;
}

/* ════════════════════════════════════════════
   BODY KONTEN
════════════════════════════════════════════ */
.peng-det-body {
    font-size: 14.5px;
    color: var(--text2);
    line-height: 1.85;
    margin-bottom: 22px;
}

.peng-det-body p {
    margin-bottom: 1rem;
}

.peng-det-body p:last-child {
    margin-bottom: 0;
}

.peng-det-body strong,
.peng-det-body b {
    color: var(--text);
    font-weight: 700;
}

.peng-det-body em,
.peng-det-body i {
    color: var(--text2);
}

.peng-det-body ul,
.peng-det-body ol {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.peng-det-body li {
    margin-bottom: .4rem;
}

.peng-det-body h3,
.peng-det-body h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.6rem 0 .6rem;
}

.peng-det-body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .15s;
}

.peng-det-body a:hover {
    opacity: .75;
}

.peng-det-body blockquote {
    border-left: 3px solid var(--gold);
    padding: .85rem 1.2rem;
    margin: 1.2rem 0;
    background: var(--gold-dim);
    border-radius: 0 10px 10px 0;
    color: var(--text2);
    font-style: italic;
}

.peng-det-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 1rem;
}

.peng-det-body th,
.peng-det-body td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.peng-det-body th {
    background: var(--bg4);
    color: var(--text);
    font-weight: 700;
}

/* ════════════════════════════════════════════
   ACTION BAR
════════════════════════════════════════════ */
.peng-det-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.peng-det-action-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.peng-det-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg4);
    color: var(--text2);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s;
}

.peng-det-act-btn:hover {
    border-color: var(--gold-border);
    color: var(--text);
    background: var(--bg3);
}

.peng-det-act-btn.active {
    background: var(--gold-dim);
    border-color: var(--gold-border);
    color: var(--gold);
}

.peng-det-act-btn.active .peng-like-emoji {
    animation: pengLikePop .3s ease;
}

@keyframes pengLikePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.55);
    }

    100% {
        transform: scale(1);
    }
}

.peng-det-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 10px;
    background: var(--gold, #f5c842);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .02em;
    box-shadow: 0 4px 20px rgba(245, 200, 66, .25);
    transition: opacity .2s, transform .2s, box-shadow .2s;
}

.peng-det-cta:hover {
    opacity: .9;
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(245, 200, 66, .35);
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 540px) {
    .peng-det-card {
        padding: 20px 16px 18px;
    }

    .peng-det-hero-inner {
        max-height: 200px;
    }

    .peng-det-title {
        font-size: 1.35rem;
    }

    .peng-det-body {
        font-size: 14px;
    }

    .peng-det-cta {
        width: 100%;
        justify-content: center;
    }

    .peng-det-actions {
        gap: 8px;
    }

    .peng-det-nav-btn {
        padding: 7px 12px;
        font-size: 12px;
    }
}

