/* PAGE SUSUNAN REDAKSI */


.redaksi-section {
    padding: 40px 20px;
    background: var(--bg-soft);
    font-family: 'Inter', sans-serif;
}

/* Header Styling - Match image_c2df56.png */
.main-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dmi-dark);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sub-title {
    font-size: 1.5rem;
    color: var(--dmi-green);
    font-weight: 600;
    margin-bottom: 25px;
}

.period-badge {
    display: inline-block;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    padding: 10px 30px;
    border-radius: 50px;
    color: #166534;
    font-weight: 700;
    font-size: 0.9rem;
}

.header-line {
    width: 60px;
    height: 4px;
    background: #cbd5e1;
    margin: 30px auto 0;
    border-radius: 2px;
}

/* Executive Cards */
.executive-wrapper {
    display: flex;
    justify-content: center;
    gap: 25px; /* Jarak antar kartu lebih rapat */
    margin-bottom: 60px;
    align-items: stretch;
}

.card-exec {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px; /* Radius lebih kecil agar terlihat lebih tegas/modern */
    padding: 25px 20px;   /* Padding dipersempit dari 40px ke 25px */
    width: 340px;         /* Lebar dikurangi dari 420px ke 340px */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-exec:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--dmi-green);
}

.image-circle {
    width: 110px;  /* Mengecil dari 160px ke 110px */
    height: 110px;
    background: #f1f5f9;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px; /* Icon menyesuaikan ukuran lingkaran */
    color: #cbd5e1;
    flex-shrink: 0;
}

.card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    font-size: 1.1rem; /* Ukuran font lebih proporsional untuk card compact */
    font-weight: 800;
    color: var(--dmi-dark);
    margin-bottom: 8px;
    line-height: 1.3;
    
    /* Tetap kunci tinggi agar sejajar horizontal */
    min-height: 2.8em; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-info .role {
   color: var(--dmi-green);
    font-weight: 700;
    font-size: 0.9rem; /* Ukuran role sedikit dikecilkan */
    margin: 0;
    min-height: 1.2em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Section Divider */
.section-label {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
}

.section-label span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dmi-dark);
}

/* Members Grid */
/* Container Utama untuk Member */
.members-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Menjaga kartu tetap di tengah */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.members-flex-container2{
        display: grid;
        flex-wrap: wrap;
        grid-template-columns: repeat(2, 1fr); /* Memaksa 3 kolom */
        gap: 20px;
        max-width: 1200px;
        width: 600px;
        margin: 0 auto;
    }
/* KUNCI POSISI: Mengatur lebar kartu */
.card-member-minimal {
    background: #fffdf5; /* Warna krem sesuai gambar */
    border: 1px solid #f1f1e6;
    height: 120px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.272);
    transition: 0.3s;
    
    /* Menghitung lebar agar pas 4 kartu di baris pertama */
    flex: 0 1 calc(25% - 20px); 
    min-width: 120px;
}
.card-member-minimal2 {
    background: #fffdf5; /* Warna krem sesuai gambar */
    border: 1px solid #f1f1e6;
    height: 140px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.272);
    transition: 0.3s;
    
    /* Menghitung lebar agar pas 4 kartu di baris pertama */
    flex: 0 1 calc(25% - 20px); 
    min-width: 180px;
}

/* Mengatur 5 kartu di baris bawah */
/* Kita targetkan 5 kartu terakhir (index 5 sampai 9) */
.card-member-minimal:nth-child(n+5) {
    flex: 0 1 calc(20% - 20px);
}
.card-member-minimal2:nth-child(n+5) {
    flex: 0 1 calc(20% - 20px);
}

.card-member-minimal:hover {
    background: white;
    border-color: #215a28;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.272);
    transform: translateY(-5px);
}
.card-member-minimal2:hover {
    background: white;
    border-color: #215a28;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.272);
    transform: translateY(-5px);
}

.member-avatar-box {
    font-size: 55px;
    color: #64748b;
    margin: 15px 0;
}

.card-member-minimal h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
}
/* Container Utama */
.team-section {
    padding: 40px 20px 20px;
    padding-bottom: 80px;
    background-color: #fff;
}
.team-column h2{
    color: var(--dmi-dark);
}

.team-container {
    max-width: 800px; /* Lebar container disesuaikan agar lebih proporsional */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Tetap 2 kolom */
    gap: 30px; /* Jarak antar kolom dikurangi agar lebih compact */
    align-items: stretch; /* KUNCI: Memastikan tinggi kolom kiri & kanan sama */
}
.team-column{
    display: flex;
    flex-direction: column;
}

/* Judul Role (Editor / IT) */
.role-title {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 800;
    color: #1a2b3c;
    margin-top: 40px;
    margin-bottom: 30px;

    min-height: 1.2em; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styling Kartu */
.member-card {
   background-color: #fffdf5; 
    border-radius: 16px;
    padding: 10px 10px; /* Lebih ringkas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* Memastikan kartu memenuhi tinggi kolom */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.272);
    border: 1px solid #f1f1e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--dmi-green);
}

/* Icon (User) */
.icon-wrapper {
    font-size: 50px; /* Ukuran ikon lebih proporsional */
    color: #64748b;
    margin-bottom: 15px;
    height: 60px; /* Kunci tinggi area ikon */
    display: flex;
    align-items: center;
}

/* Nama Member */
.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-align: center;
    
    /* KUNCI: Mengunci ruang nama agar tinggi kartu tetap simetris */
    min-height: 2em; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsif Mobile */

/* Tambahan khusus untuk layar sangat kecil (di bawah 360px) */
@media (max-width: 360px) {
    
    .team-container {
        gap: 10px;
    }
    
    .member-name {
        font-size: 0.75rem;
    }
}
/* Tablet & Desktop Layout */
@media (min-width: 992px) {
    .card-exec {
        flex: 0 1 450px;
    }
}

/* KUNCI PERUBAHAN MOBILE */
@media (max-width: 768px) {
    .redaksi-section {
        padding: 30px 10px;
    }
    /* Header Header diperkecil agar tidak memakan ruang */
    .main-title { font-size: 1.4rem; }
    .sub-title { font-size: 0.9rem; }
    .period-badge { padding: 6px 20px; font-size: 0.75rem; }

    /* Executive Section: Jadi 2 Grid Berdampingan */
    .executive-wrapper {
        display: flex;
        flex-direction: row; /* Tetap sejajar 2 kolom */
        justify-content: center;
        gap: 12px;           /* Jarak antar kartu lebih rapat di HP */
        padding: 0 10px;
        align-items: stretch; /* KUNCI: Membuat tinggi kotak putih selalu sama */
    }

    .card-exec {
        flex: 1 1 calc(50% - 12px); /* Membagi 2 kolom bersih */
        width: auto;               /* Melepas fixed width desktop */
        padding: 20px 10px;        /* Padding lebih ringkas */
        border-radius: 12px;
        min-width: 0;              /* Mencegah overflow teks */
        display: flex;
        flex-direction: column;
    }

    .image-circle {
       width: 75px;               /* Ukuran pas untuk 2 kolom mobile */
        height: 75px;
        font-size: 35px;
        margin-bottom: 15px;
        flex-shrink: 0;
    }

    .card-info h3 {
        font-size: 0.85rem;        /* Font lebih kecil agar muat banyak gelar */
        line-height: 1.3;
        margin-bottom: 8px;
        
        /* KUNCI: Mengunci ruang untuk nama pimpinan yang panjang di HP */
        min-height: 4.2em;         
        display: flex;
        align-items: center;       /* Nama 1 baris tetap di tengah ruang kosong */
        justify-content: center;
    }

    .card-info .role {
        font-size: 0.75rem;
        font-weight: 700;
        margin-top: auto;          /* Memaksa jabatan nempel di paling bawah kartu */
        min-height: 1.2em;
    }

    /* Dewan Redaksi Section: 2 Grid */
    .section-label span {
        font-size: 1.4rem;
    }

    .members-flex-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 24px;
        justify-items: center;
    }
    .members-flex-container2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 24px;
        justify-items: center;
        max-width: 100%;
        margin: 0 auto;
    }
    .card-member-minimal,
    .card-member-minimal:nth-child(n+5) {
        height: auto;
        width: 100%;
        padding: 24px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
    }
    .card-member-minimal2,
    .card-member-minimal2:nth-child(n+5) {
        height: auto;
        width: 100%;
        padding: 24px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
    }
    .card-member-minimal:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 50%;
    }

    .member-avatar-box {
        font-size: 42px;
        margin-bottom: 12px;
    }

    .card-member-minimal h4,
    .card-member-minimal2 h4 {
        font-size: 0.85rem;
        letter-spacing: 0;
    }

    .team-container {
        max-width: 100%;
        gap: 15px;
    }

    .role-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .member-card {
        padding: 30px 10px;
    }

    .icon-wrapper {
        font-size: 40px;
        height: 45px;
    }

    .member-name {
        font-size: 0.85rem;
    }
}

/* 600px - medium phones */
@media (max-width: 600px) {
    .members-flex-container {
        gap: 16px;
        padding: 0 20px;
    }
    .members-flex-container2 {
        gap: 16px;
        padding: 0 20px;
    }

    .card-member-minimal,
    .card-member-minimal:nth-child(n+5) {
        padding: 20px 8px;
    }
    .card-member-minimal2,
    .card-member-minimal2:nth-child(n+5) {
        padding: 20px 8px;
    }
    .card-member-minimal:last-child:nth-child(odd) {
        max-width: 50%;
    }

    .member-avatar-box {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .card-member-minimal h4,
    .card-member-minimal2 h4 {
        font-size: 0.85rem;
    }

    .section-label span {
        font-size: 1.25rem;
    }
}

/* 400px - small phones */
@media (max-width: 400px) {
    .members-flex-container {
        gap: 12px;
        padding: 0 16px;
    }
    .members-flex-container2 {
        gap: 12px;
        padding: 0 16px;
    }

    .card-member-minimal,
    .card-member-minimal:nth-child(n+5) {
        padding: 16px 6px;
    }
    .card-member-minimal2,
    .card-member-minimal2:nth-child(n+5) {
        padding: 16px 6px;
    }
    .card-member-minimal:last-child:nth-child(odd) {
        max-width: 50%;
    }

    .member-avatar-box {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .card-member-minimal h4,
    .card-member-minimal2 h4 {
        font-size: 0.85rem;
    }

    .card-info h3 {
        font-size: 0.75rem;
        min-height: 5em;
    }
}

/* PAGE DETAIL BERITA */

:root {
    --dmi-green: #215a28;
    --dmi-green-light: #f0f7f1;
    --text-heading: #1e293b;
    --text-body: #475569;
    --text-muted: #94a3b8;
    --border-soft: #f1f5f9;
    --white: #ffffff;
    --dmi-green-hover: #1a4720;
    --slate-900: #0f172a; /* Warna font heading utama */
    --slate-600: #475569; /* Warna font body */
    --slate-400: #94a3b8; /* Warna font meta/date */
    --bg-card: #ffffff;
    --bg-subtle: #f8fafc;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Reset Khusus Detail Berita */
.news-detail-section {
    padding: 80px 0;
    background: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr; /* Perbandingan kolom yang elegan */
    gap: 80px;
}

/* Header Berita */
.news-header { margin-bottom: 40px; }
.breadcrumb {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem; 
    font-weight: 800; 
    color: var(--dmi-green); 
    text-transform: uppercase; 
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}
.news-title { 
    font-size: 32px;
    font-weight: 900; 
    color: var(--text-heading); 
    line-height: 1.2; 
    letter-spacing: -2px; 
    margin-bottom: 25px;
}
.news-meta { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    font-weight: 500;
    
}

/* Gambar Utama */
.news-featured-image { margin-bottom: 50px; text-align: center; }
.news-featured-image img { 
    max-width: 100%;
    max-height: 550px;
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
.caption { 
    font-size: 14px; 
    color: var(--text-muted); 
    text-align: center; 
    margin-top: 15px; 
    font-style: italic;
}

.news-body-text .attachment__caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    text-decoration: none;
}
.news-body-text figcaption.attachment__caption  {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    text-decoration: none;
}

/* Artikel */
.news-body-text { 
    font-size: 15px; 
    line-height: 1.85; 
    color: var(--text-body); 
}
.news-body-text p { margin-bottom: 30px; }
.news-body-text strong { color: var(--text-heading); font-weight: 800; }
.news-body-text img,
.news-body-text figure img {
    max-width: 100% !important;
    max-height: 550px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 20px auto;
    border-radius: 0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    background: transparent;
}
.news-body-text figure,
.news-body-text .attachment,
.news-body-text .attachment--preview {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    margin: 20px 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.news-body-text figure[data-trix-attachment],
.news-body-text [data-trix-attachment] {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
}

blockquote {
    margin: 50px 0;
    padding: 30px;
    border-left: 3px solid var(--dmi-green);
    background: var(--dmi-green-light);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dmi-green);
    line-height: 1.4;
}

/* Container Tags */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}

/* Base Style Tag */
.news-tags .tag {
    display: inline-block;
    padding: 8px 20px;
    background-color: #f8fafc; /* Abu-abu sangat muda */
    color: var(--text-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px; /* Pill style */
    border: 1px solid var(--border-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Efek Hover Interaktif */
.news-tags .tag:hover {
    color: #ffffff;
    background-color: var(--dmi-green);
    border-color: var(--dmi-green);
    transform: translateY(-3px); /* Melompat sedikit ke atas */
    box-shadow: 0 10px 20px rgba(33, 90, 40, 0.15);
}

/* Variasi: Tambahkan simbol '#' di depan teks secara otomatis */
.news-tags .tag::before {
    content: '#';
    margin-right: 4px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.news-tags .tag:hover::before {
    opacity: 1;
}

/* Animasi halus saat diklik (Active state) */
.news-tags .tag:active {
    transform: translateY(-1px) scale(0.95);
    box-shadow: 0 5px 10px rgba(33, 90, 40, 0.1);
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.section-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--slate-900);
    margin-bottom: 25px;
    padding-left: 10px;
    border-left: 4px solid var(--dmi-green);
}

/* Popular Cards */
.popular-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pop-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.114);
    border: 1px solid #0000001f;
}

.pop-card:hover {
    border: 1px solid #0000001f;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(54, 229, 75, 0.329);
}

.pop-card-img {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    border-radius: 12px;
    overflow: hidden;
}

.pop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pop-card:hover .pop-card-img img {
    transform: scale(1.1);
}

.pop-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pop-card-content .category {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--dmi-green);
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.5px;
}

.pop-card-content h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-900);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pop-card-content .date {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 4px;
}

@media (max-width: 992px) {
    .news-grid { grid-template-columns: 1fr; gap: 60px; }
    .sticky-sidebar { 
        padding-left: 0; 
        border-left: none; 
        border-top: 1px solid var(--border-soft);
        padding-top: 60px;
    }
    .news-title { font-size: 2.2rem; }
    .news-featured-image img,
    .news-body-text img,
    .news-body-text figure img {
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .breadcrumb { font-size: 10px; }
    .news-title { font-size: 24px; letter-spacing: -1; }
    blockquote { font-size: 16px; }
    .editorial-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .editorial-actions {
        align-self: flex-start;
    }
    .news-featured-image img,
    .news-body-text img,
    .news-body-text figure img {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .news-detail-section { padding: 40px 0; }
    .news-body-text { font-size: 15px; }
    .news-featured-image img,
    .news-body-text img,
    .news-body-text figure img {
        max-height: 280px;
    }
}




/* ============== */


/* ==============================
   SHARE MODAL - DMI News
   ============================== */

/* Overlay */
.share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.share-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Modal Card */
.share-modal {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    padding: 32px 28px 28px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.18);
    position: relative;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.share-overlay.is-open .share-modal {
    transform: translateY(0) scale(1);
}

/* Header */
.share-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
}

.share-modal__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.share-modal__subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    display: block;
}

.share-modal__close {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1rem;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.share-modal__close:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* Divider tipis */
.share-modal__divider {
    height: 1px;
    background: #f1f5f9;
    margin-bottom: 24px;
}

/* Grid Platform */
.share-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px 12px;
    border-radius: 16px;
    border: 1.5px solid #f1f5f9;
    background: #f8fafc;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.share-btn__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.share-btn:hover .share-btn__icon {
    transform: scale(1.15) rotate(-4deg);
}

.share-btn__label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Warna per platform */
.share-btn--wa   .share-btn__icon { background: #25D366; }
.share-btn--fb   .share-btn__icon { background: #1877F2; }
.share-btn--tw   .share-btn__icon { background: #000000; }
.share-btn--ig   .share-btn__icon { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.share-btn--li   .share-btn__icon { background: #0A66C2; }
.share-btn--tele .share-btn__icon { background: #26A5E4; }
.share-btn--line .share-btn__icon { background: #06C755; }
.share-btn--copy .share-btn__icon { background: var(--dmi-green, #215a28); }

.share-btn--wa:hover   { background: #f0fdf4; border-color: #bbf7d0; }
.share-btn--fb:hover   { background: #eff6ff; border-color: #bfdbfe; }
.share-btn--tw:hover   { background: #f8fafc; border-color: #e2e8f0; }
.share-btn--ig:hover   { background: #fdf4ff; border-color: #f5d0fe; }
.share-btn--li:hover   { background: #eff6ff; border-color: #bfdbfe; }
.share-btn--tele:hover { background: #f0f9ff; border-color: #bae6fd; }
.share-btn--line:hover { background: #f0fdf4; border-color: #bbf7d0; }
.share-btn--copy:hover { background: #f0f7f1; border-color: #bbf7d0; }

/* URL Copy Box */
.share-url-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    transition: border-color 0.2s ease;
}

.share-url-box:focus-within {
    border-color: var(--dmi-green, #215a28);
    background: #fff;
}

.share-url-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
    outline: none;
    min-width: 0;
    cursor: text;
}

.share-url-copy {
    flex-shrink: 0;
    padding: 7px 16px;
    border-radius: 9px;
    background: var(--dmi-green, #215a28);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.share-url-copy:hover {
    background: #1a4720;
    transform: scale(1.03);
}

.share-url-copy.copied {
    background: #16a34a;
}

/* Toast kecil di dalam modal */
.share-toast {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.share-toast.show {
    opacity: 1;
    bottom: -44px;
}

/* Responsive */
@media (max-width: 480px) {
    .share-modal {
        padding: 24px 18px 20px;
        border-radius: 20px;
    }

    .share-platforms {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .share-btn {
        padding: 10px 4px 9px;
        border-radius: 12px;
    }

    .share-btn__icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .share-btn__label {
        font-size: 0.6rem;
    }
}