/* ==============================
   Module Berita Pengadilan
================================= */

.berita-pengadilan {
    --berita-shell-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.14) 0%, rgba(243, 199, 86, 0) 30%),
        radial-gradient(circle at left 110%, rgba(160, 55, 24, 0.08) 0%, rgba(160, 55, 24, 0) 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 248, 241, 0.98) 48%, rgba(246, 239, 229, 0.97) 100%);
    --berita-shell-border: rgba(177, 132, 46, 0.11);
    --berita-shell-shadow:
        0 20px 40px rgba(93, 60, 36, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    --berita-shell-sheen:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, rgba(255, 243, 218, 0.10) 0%, rgba(255, 243, 218, 0) 42%);
    --berita-header-divider: rgba(183, 133, 33, 0.12);
    --berita-heading-accent: linear-gradient(90deg, #e0b54a 0%, #9a3317 100%);
    --berita-eyebrow: #b77c1a;
    --berita-title: #6f2110;
    --berita-subtitle: #786658;
    --berita-action-bg: rgba(154, 51, 23, 0.06);
    --berita-action-border: rgba(154, 51, 23, 0.10);
    --berita-action-color: #8a3015;
    --berita-action-bg-hover: linear-gradient(180deg, #9a3013 0%, #771b08 100%);
    --berita-action-color-hover: #fff5e3;
    --berita-card-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.12) 0%, rgba(243, 199, 86, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 245, 237, 0.97) 100%);
    --berita-card-border: rgba(177, 132, 46, 0.10);
    --berita-card-shadow:
        0 14px 28px rgba(93, 60, 36, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    --berita-card-shadow-hover:
        0 20px 34px rgba(93, 60, 36, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    --berita-card-top-border: rgba(186, 112, 37, 0.96);
    --berita-card-top-border-hover: rgba(203, 128, 50, 0.98);
    --berita-image-bg: #f1ede5;
    --berita-image-overlay: linear-gradient(180deg, rgba(14, 19, 28, 0) 0%, rgba(14, 19, 28, 0.20) 100%);
    --berita-noimage-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.20), transparent 42%),
        linear-gradient(135deg, #f8f4ed 0%, #eee3d4 100%);
    --berita-noimage-color: #9d7a4a;
    --berita-date-bg: rgba(154, 51, 23, 0.07);
    --berita-date-border: rgba(154, 51, 23, 0.10);
    --berita-date-color: #8b3014;
    --berita-card-title: #243240;
    --berita-card-title-hover: #7a2210;
    --berita-card-text: #65584d;
    --berita-button-bg: linear-gradient(180deg, #922611 0%, #731a08 100%);
    --berita-button-border: rgba(130, 37, 14, 0.14);
    --berita-button-color: #fff7ea;
    --berita-button-shadow: 0 10px 20px rgba(95, 39, 21, 0.18);
    --berita-button-bg-hover: linear-gradient(180deg, #f0c34f 0%, #ddab28 100%);
    --berita-button-border-hover: rgba(178, 127, 28, 0.22);
    --berita-button-color-hover: #5c1b0f;
    --berita-empty-bg: rgba(154, 51, 23, 0.04);
    --berita-empty-border: rgba(154, 51, 23, 0.08);
    --berita-empty-color: #7a6758;

    position: relative;
    box-sizing: border-box;
    padding: 22px;
    border-radius: 24px;
    background: var(--berita-shell-bg);
    border: 1px solid var(--berita-shell-border);
    box-shadow: var(--berita-shell-shadow);
    overflow: hidden;
    isolation: isolate;
}

.berita-pengadilan,
.berita-pengadilan *,
.berita-pengadilan *::before,
.berita-pengadilan *::after {
    box-sizing: border-box;
}

.berita-pengadilan::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--berita-shell-sheen);
    pointer-events: none;
}

/* Header */

.berita-pengadilan-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--berita-header-divider);
}

.berita-pengadilan-heading {
    min-width: 0;
    max-width: 720px;
}

.berita-pengadilan-heading::before {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: var(--berita-heading-accent);
    box-shadow: 0 6px 16px rgba(154, 51, 23, 0.18);
}

.berita-pengadilan-header h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.45px;
    color: var(--berita-title);
}

.berita-pengadilan-header p {
    margin: 7px 0 0;
    font-size: 13.25px;
    line-height: 1.5;
    color: var(--berita-subtitle);
}

.berita-pengadilan-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.berita-all-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid var(--berita-action-border);
    background: var(--berita-action-bg);
    color: var(--berita-action-color) !important;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        background 0.24s ease,
        border-color 0.24s ease,
        color 0.24s ease,
        transform 0.24s ease,
        box-shadow 0.24s ease;
}

.berita-all-link:hover {
    background: var(--berita-action-bg-hover);
    border-color: transparent;
    color: var(--berita-action-color-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(95, 39, 21, 0.16);
}

/* Grid */

.berita-pengadilan-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.berita-pengadilan-grid.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.berita-pengadilan-grid.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.berita-pengadilan-grid.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Card */

.berita-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 19px;
    background: var(--berita-card-bg);
    border: 1px solid var(--berita-card-border);
    border-top: 4px solid var(--berita-card-top-border);
    box-shadow: var(--berita-card-shadow);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.24s ease;
}

.berita-card:hover {
    transform: translateY(-3px);
    border-color: rgba(183, 133, 33, 0.18);
    border-top-color: var(--berita-card-top-border-hover);
    box-shadow: var(--berita-card-shadow-hover);
}

/* Image */

.berita-card-image {
    position: relative;
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: var(--berita-image-bg);
    border-radius: 19px 19px 0 0;
}

.berita-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 19px 19px 0 0;
    transition: transform 0.55s ease;
}

.berita-card:hover .berita-card-image img {
    transform: scale(1.05);
}

.berita-card-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    background: var(--berita-image-overlay);
    pointer-events: none;
}

.berita-card-noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--berita-noimage-color);
    font-size: 34px;
    background: var(--berita-noimage-bg);
}

/* Body */

.berita-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 13px 14px 15px;
}

.berita-card-date {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 5px;
    margin-bottom: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid var(--berita-date-border);
    background: var(--berita-date-bg);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    color: var(--berita-date-color);
    letter-spacing: 0.02em;
}

.berita-card h4 {
    margin: 0 0 8px;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.34;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

.berita-card h4 a {
    color: var(--berita-card-title);
    text-decoration: none;
    transition: color 0.24s ease;
}

.berita-card h4 a:hover {
    color: var(--berita-card-title-hover);
}

.berita-card p {
    margin: 0 0 12px;
    font-size: 12.5px;
    line-height: 1.52;
    color: var(--berita-card-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

/* Button */

.berita-card-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-top: auto;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid var(--berita-button-border);
    background: var(--berita-button-bg);
    color: var(--berita-button-color) !important;
    box-shadow: var(--berita-button-shadow);
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        background 0.24s ease,
        border-color 0.24s ease,
        color 0.24s ease,
        transform 0.24s ease,
        box-shadow 0.24s ease;
}

.berita-card-button:hover {
    background: var(--berita-button-bg-hover);
    border-color: var(--berita-button-border-hover);
    color: var(--berita-button-color-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(95, 39, 21, 0.20);
}

.berita-card-button:hover .berita-inline-icon {
    transform: translateX(2px);
}

.berita-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: transform 0.24s ease;
}

.berita-inline-icon svg {
    width: 12px;
    height: 12px;
    display: block;
}

.berita-card-date .berita-inline-icon svg {
    width: 11px;
    height: 11px;
}

.berita-noimage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.berita-noimage-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Empty */

.berita-empty {
    position: relative;
    z-index: 1;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--berita-empty-border);
    background: var(--berita-empty-bg);
    color: var(--berita-empty-color);
    text-align: center;
    font-size: 14px;
}

/* ==============================
   Variant Light
================================= */

.berita-pengadilan-light {
}

/* ==============================
   Variant Pearl Gold
================================= */

.berita-pengadilan-pearl-gold {
    --berita-shell-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.12) 0%, rgba(243, 199, 86, 0) 28%),
        radial-gradient(circle at left 105%, rgba(160, 55, 24, 0.05) 0%, rgba(160, 55, 24, 0) 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(252, 250, 246, 0.99) 46%, rgba(244, 238, 229, 0.98) 100%);
    --berita-shell-border: rgba(194, 155, 78, 0.12);
    --berita-shell-shadow:
        0 18px 36px rgba(100, 72, 46, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    --berita-shell-sheen:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, rgba(255, 245, 224, 0.08) 0%, rgba(255, 245, 224, 0) 40%);
    --berita-header-divider: rgba(194, 155, 78, 0.12);
    --berita-heading-accent: linear-gradient(90deg, #e7bf63 0%, #9b3418 100%);
    --berita-title: #6a1f10;
    --berita-subtitle: #7b6859;
    --berita-action-bg: rgba(154, 51, 23, 0.05);
    --berita-action-border: rgba(154, 51, 23, 0.09);
    --berita-action-color: #8d3317;
    --berita-action-bg-hover: linear-gradient(180deg, #f0c34f 0%, #ddab28 100%);
    --berita-action-color-hover: #5c1b0f;
    --berita-card-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.10) 0%, rgba(243, 199, 86, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(251, 247, 240, 0.98) 100%);
    --berita-card-border: rgba(194, 155, 78, 0.10);
    --berita-card-shadow:
        0 12px 24px rgba(100, 72, 46, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    --berita-card-shadow-hover:
        0 18px 30px rgba(100, 72, 46, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    --berita-card-top-border: rgba(197, 135, 45, 0.96);
    --berita-card-top-border-hover: rgba(215, 153, 61, 0.98);
    --berita-image-bg: #f5f0e8;
    --berita-image-overlay: linear-gradient(180deg, rgba(14, 19, 28, 0) 0%, rgba(14, 19, 28, 0.16) 100%);
    --berita-noimage-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.16), transparent 40%),
        linear-gradient(135deg, #fbf7f1 0%, #eee4d6 100%);
    --berita-noimage-color: #a07c47;
    --berita-date-bg: rgba(194, 135, 45, 0.07);
    --berita-date-border: rgba(194, 135, 45, 0.10);
    --berita-date-color: #93611d;
    --berita-card-title: #263442;
    --berita-card-title-hover: #7a2210;
    --berita-card-text: #6a5d51;
    --berita-button-bg: linear-gradient(180deg, #932612 0%, #741a08 100%);
    --berita-button-border: rgba(130, 37, 14, 0.12);
    --berita-button-color: #fff8ef;
    --berita-button-shadow: 0 10px 18px rgba(95, 39, 21, 0.16);
    --berita-button-bg-hover: linear-gradient(180deg, #a72f15 0%, #831f0a 100%);
    --berita-button-border-hover: rgba(154, 51, 23, 0.18);
    --berita-button-color-hover: #fff8ef;
    --berita-empty-bg: rgba(194, 135, 45, 0.05);
    --berita-empty-border: rgba(194, 135, 45, 0.08);
    --berita-empty-color: #7d6b5c;
}

/* ==============================
   Variant Soft Dark
================================= */

.berita-pengadilan-soft-dark {
    --berita-shell-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.14) 0%, rgba(243, 199, 86, 0) 30%),
        radial-gradient(circle at left 110%, rgba(130, 37, 14, 0.16) 0%, rgba(130, 37, 14, 0) 25%),
        linear-gradient(135deg, rgba(29, 38, 49, 0.99) 0%, rgba(46, 23, 17, 0.98) 54%, rgba(16, 21, 28, 0.99) 100%);
    --berita-shell-border: rgba(255, 239, 207, 0.08);
    --berita-shell-shadow:
        0 24px 46px rgba(10, 12, 16, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --berita-shell-sheen:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, rgba(255, 242, 211, 0.05) 0%, rgba(255, 242, 211, 0) 40%);
    --berita-header-divider: rgba(243, 199, 86, 0.12);
    --berita-heading-accent: linear-gradient(90deg, #f3c756 0%, #ba4f20 100%);
    --berita-title: #fff0cf;
    --berita-subtitle: rgba(255, 239, 212, 0.78);
    --berita-action-bg: rgba(255, 244, 218, 0.08);
    --berita-action-border: rgba(243, 199, 86, 0.12);
    --berita-action-color: #f3d288;
    --berita-action-bg-hover: linear-gradient(180deg, rgba(243, 199, 86, 0.98) 0%, rgba(218, 167, 47, 0.98) 100%);
    --berita-action-color-hover: #37281a;
    --berita-card-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.10) 0%, rgba(243, 199, 86, 0) 28%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.99) 0%, rgba(248, 240, 229, 0.97) 100%);
    --berita-card-border: rgba(177, 132, 46, 0.10);
    --berita-card-shadow:
        0 16px 30px rgba(8, 10, 14, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    --berita-card-shadow-hover:
        0 22px 38px rgba(8, 10, 14, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    --berita-card-top-border: rgba(193, 140, 56, 0.98);
    --berita-card-top-border-hover: rgba(214, 164, 77, 0.99);
}

/* ==============================
   Variant Royal Maroon
================================= */

.berita-pengadilan-royal-maroon {
    --berita-shell-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.15) 0%, rgba(243, 199, 86, 0) 26%),
        radial-gradient(circle at left 110%, rgba(255, 214, 144, 0.10) 0%, rgba(255, 214, 144, 0) 24%),
        linear-gradient(135deg, rgba(111, 28, 14, 0.99) 0%, rgba(132, 34, 22, 0.99) 54%, rgba(86, 18, 12, 1) 100%);
    --berita-shell-border: rgba(255, 226, 171, 0.10);
    --berita-shell-shadow:
        0 24px 48px rgba(58, 14, 10, 0.24),
        inset 0 1px 0 rgba(255, 241, 219, 0.07);
    --berita-shell-sheen:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, rgba(255, 243, 218, 0.08) 0%, rgba(255, 243, 218, 0) 40%);
    --berita-header-divider: rgba(255, 226, 171, 0.12);
    --berita-heading-accent: linear-gradient(90deg, #f3c756 0%, #f2a742 100%);
    --berita-title: #fff3d7;
    --berita-subtitle: rgba(255, 239, 214, 0.78);
    --berita-action-bg: rgba(255, 243, 220, 0.09);
    --berita-action-border: rgba(255, 226, 171, 0.14);
    --berita-action-color: #ffe1a0;
    --berita-action-bg-hover: linear-gradient(180deg, rgba(243, 199, 86, 0.98) 0%, rgba(218, 167, 47, 0.98) 100%);
    --berita-action-color-hover: #4b1a10;
    --berita-card-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.14) 0%, rgba(243, 199, 86, 0) 30%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.99) 0%, rgba(249, 239, 227, 0.97) 100%);
    --berita-card-border: rgba(143, 52, 24, 0.11);
    --berita-card-shadow:
        0 16px 30px rgba(60, 18, 13, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    --berita-card-shadow-hover:
        0 22px 38px rgba(60, 18, 13, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.99);
    --berita-card-top-border: rgba(176, 68, 28, 0.96);
    --berita-card-top-border-hover: rgba(197, 89, 43, 0.98);
    --berita-image-bg: #f2e8dd;
    --berita-image-overlay: linear-gradient(180deg, rgba(14, 19, 28, 0) 0%, rgba(14, 19, 28, 0.18) 100%);
    --berita-noimage-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.18), transparent 40%),
        linear-gradient(135deg, #f9f2ea 0%, #ecdcca 100%);
    --berita-noimage-color: #a77a3f;
    --berita-date-bg: rgba(143, 52, 24, 0.07);
    --berita-date-border: rgba(143, 52, 24, 0.10);
    --berita-date-color: #8f3116;
    --berita-card-title: #3a241d;
    --berita-card-title-hover: #8a2511;
    --berita-card-text: #66554a;
    --berita-button-bg: linear-gradient(180deg, #932612 0%, #741a08 100%);
    --berita-button-border: rgba(130, 37, 14, 0.14);
    --berita-button-color: #fff7ea;
    --berita-button-shadow: 0 10px 20px rgba(88, 27, 18, 0.18);
    --berita-button-bg-hover: linear-gradient(180deg, #f0c34f 0%, #ddab28 100%);
    --berita-button-border-hover: rgba(178, 127, 28, 0.22);
    --berita-button-color-hover: #5c1b0f;
    --berita-empty-bg: rgba(255, 244, 218, 0.08);
    --berita-empty-border: rgba(255, 226, 171, 0.10);
    --berita-empty-color: #eadbc4;
}

/* ==============================
   Legacy Variant Dark
================================= */

.berita-pengadilan-dark {
    --berita-shell-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.16) 0%, rgba(243, 199, 86, 0) 28%),
        radial-gradient(circle at left 110%, rgba(130, 37, 14, 0.18) 0%, rgba(130, 37, 14, 0) 24%),
        linear-gradient(135deg, rgba(18, 23, 29, 0.99) 0%, rgba(29, 36, 45, 0.99) 58%, rgba(12, 17, 22, 1) 100%);
    --berita-shell-border: rgba(243, 199, 86, 0.10);
    --berita-shell-shadow:
        0 24px 50px rgba(6, 8, 12, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --berita-shell-sheen:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, rgba(255, 242, 211, 0.05) 0%, rgba(255, 242, 211, 0) 40%);
    --berita-header-divider: rgba(243, 199, 86, 0.10);
    --berita-heading-accent: linear-gradient(90deg, #f3c756 0%, #8c2d15 100%);
    --berita-title: #fff2d3;
    --berita-subtitle: rgba(240, 225, 197, 0.72);
    --berita-action-bg: rgba(243, 199, 86, 0.08);
    --berita-action-border: rgba(243, 199, 86, 0.14);
    --berita-action-color: #f1ce80;
    --berita-action-bg-hover: linear-gradient(180deg, rgba(243, 199, 86, 0.98) 0%, rgba(218, 167, 47, 0.98) 100%);
    --berita-action-color-hover: #2f2417;
    --berita-card-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.08) 0%, rgba(243, 199, 86, 0) 28%),
        linear-gradient(180deg, rgba(33, 40, 49, 0.98) 0%, rgba(22, 28, 35, 0.99) 100%);
    --berita-card-border: rgba(243, 199, 86, 0.10);
    --berita-card-shadow:
        0 16px 30px rgba(7, 10, 14, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    --berita-card-shadow-hover:
        0 22px 40px rgba(7, 10, 14, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --berita-card-top-border: rgba(237, 193, 80, 0.98);
    --berita-card-top-border-hover: rgba(247, 209, 111, 0.99);
    --berita-image-bg: #1f2730;
    --berita-image-overlay: linear-gradient(180deg, rgba(10, 14, 20, 0) 0%, rgba(10, 14, 20, 0.34) 100%);
    --berita-noimage-bg:
        radial-gradient(circle at top right, rgba(243, 199, 86, 0.16), transparent 42%),
        linear-gradient(135deg, #24303c 0%, #171d24 100%);
    --berita-noimage-color: #d9b776;
    --berita-date-bg: rgba(243, 199, 86, 0.10);
    --berita-date-border: rgba(243, 199, 86, 0.14);
    --berita-date-color: #f2d18a;
    --berita-card-title: #fff1cd;
    --berita-card-title-hover: #ffd77f;
    --berita-card-text: #d0c0a7;
    --berita-button-bg: linear-gradient(180deg, rgba(243, 199, 86, 0.98) 0%, rgba(214, 165, 47, 0.98) 100%);
    --berita-button-border: rgba(255, 247, 222, 0.10);
    --berita-button-color: #302517;
    --berita-button-shadow: 0 10px 20px rgba(9, 11, 14, 0.22);
    --berita-button-bg-hover: linear-gradient(180deg, rgba(250, 215, 118, 0.98) 0%, rgba(226, 181, 62, 0.98) 100%);
    --berita-button-border-hover: rgba(255, 247, 222, 0.12);
    --berita-button-color-hover: #281f14;
    --berita-empty-bg: rgba(255, 244, 218, 0.08);
    --berita-empty-border: rgba(243, 199, 86, 0.12);
    --berita-empty-color: #d6c7af;
}

/* ==============================
   Responsive
================================= */

@media (max-width: 1080px) {
    .berita-pengadilan-grid.columns-4,
    .berita-pengadilan-grid.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .berita-pengadilan {
        padding: 20px;
        border-radius: 22px;
    }

    .berita-pengadilan-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }

    .berita-pengadilan-header h3 {
        font-size: 23px;
    }

    .berita-pengadilan-actions {
        width: 100%;
    }

    .berita-card-image {
        height: 162px;
    }
}

@media (max-width: 640px) {
    .berita-pengadilan {
        padding: 18px;
        border-radius: 20px;
    }

    .berita-pengadilan-heading::before {
        width: 54px;
        margin-bottom: 10px;
    }

    .berita-pengadilan-header h3 {
        font-size: 21px;
    }

    .berita-pengadilan-header p {
        font-size: 13px;
    }

    .berita-pengadilan-grid,
    .berita-pengadilan-grid.columns-2,
    .berita-pengadilan-grid.columns-3,
    .berita-pengadilan-grid.columns-4 {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .berita-card-image {
        height: 176px;
    }

    .berita-card-body {
        padding: 14px;
    }

    .berita-card h4,
    .berita-card p {
        min-height: auto;
    }
}
