/* =====================================================
   Portal Organisasi - Custom Stylesheet
   Warna Utama: Orange (#ff7a00) dan Hitam (#111111)
   ===================================================== */

:root {
    --primary: #ff7a00;
    --primary-dark: #e06900;
    --dark: #111111;
    --dark-secondary: #1a1a1a;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(255, 122, 0, 0.2);
    --transition: all 0.3s ease;
}

/* Reset dan Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar-custom {
    background: transparent !important;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar-custom.scrolled {
    padding: 12px 0;
    background: var(--dark) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-custom .navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.navbar-logo {
    height: 40px;
    width: auto;
    filter: brightness(1.1);
    transition: var(--transition);
}

.navbar-custom.scrolled .navbar-logo {
    height: 35px;
}

.navbar-custom .brand-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: none;
}

/* Separator antara brand dan menu */
.navbar-custom .navbar-nav {
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 20px;
    margin-left: 20px;
}

.navbar-custom .navbar-brand span {
    color: var(--primary);
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 1) !important;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 8px 12px !important;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--white) !important;
    text-shadow: 0 0 15px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.4);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 70%;
}

.navbar-toggler {
    border-color: var(--primary) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 122, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* =====================================================
   HERO SECTION - BANNER STYLE (Adventure Style)
   ===================================================== */
.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

/* Crossfade Background Container */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg-item.active {
    opacity: 1;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

/* Crossfade text items */
.hero-text-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    padding: 20px;
}

.hero-text-item.active {
    opacity: 1;
}

.hero-subtitle {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}

.hero-title span {
    color: var(--white);
    display: inline-block;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.hero-buttons .btn-primary-custom {
    background: var(--white);
    color: var(--dark);
    padding: 14px 40px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
}

.hero-buttons .btn-primary-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.4);
}

.hero-buttons .btn-outline-custom {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 14px 40px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
}

.hero-buttons .btn-outline-custom:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0.3; }
}

.scroll-indicator p {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

/* =====================================================
   HERO SECTION (Old - kept for compatibility)
   ===================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
}

.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.4);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 122, 0, 0.4);
}

/* =====================================================
   ABOUT / VISI MISI SECTION (Overlap Style)
   ===================================================== */
.about-overlap-wrapper {
    position: relative;
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.about-overlap-image {
    width: 45%;
    flex-shrink: 0;
    z-index: 1;
}

.about-overlap-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-overlap-content {
    width: 55%;
    background: var(--white);
    padding: 45px 40px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.1), 0 2px 15px rgba(0,0,0,0.08);
    z-index: 2;
    border: 1px solid rgba(0,0,0,0.05);
}

.about-overlap-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-overlap-text {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.8;
    text-align: justify;
}

.about-overlap-text p,
.about-overlap-text br + br {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .about-overlap-wrapper {
        flex-direction: column;
    }
    
    .about-overlap-image {
        width: 100%;
    }
    
    .about-overlap-content {
        width: 100%;
        padding: 30px 25px;
    }
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* =====================================================
   DIVISI CARDS (Adventure Style)
   ===================================================== */
.divisi-card {
    background: var(--white);
    border-radius: 0;
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid #eee;
}

.divisi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.divisi-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden;
    transition: var(--transition);
}

.divisi-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.divisi-icon i {
    font-size: 1.6rem;
    color: var(--dark);
}

.divisi-card:hover .divisi-icon {
    background: var(--dark);
    color: var(--white);
}

.divisi-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    font-style: italic;
}

.divisi-text {
    font-size: 0.72rem;
    color: #555;
    line-height: 1.5;
    text-align: justify;
    margin: 0;
}

/* =====================================================
   CARDS
   ===================================================== */
.card-custom {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-custom .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.card-custom:hover .card-img-top {
    transform: scale(1.05);
}

.card-custom .card-body {
    padding: 25px;
}

.card-custom .card-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.card-custom .card-text {
    color: var(--gray);
    font-size: 0.9rem;
}

.card-custom .card-footer {
    background: transparent;
    border-top: 1px solid #eee;
    padding: 15px 25px;
}

/* Card Icon Style */
.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.5rem;
}

/* =====================================================
   PAGE HEADER / BREADCRUMB
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    padding: 90px 0 30px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--white);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item a {
    color: var(--primary);
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    padding-left: 0;
}

/* =====================================================
   GALERI STRIP (Full Width Photo Row)
   ===================================================== */
.galeri-strip {
    padding: 0;
    overflow: hidden;
}

.galeri-strip-wrapper {
    position: relative;
    overflow: hidden;
}

.galeri-strip-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 3px;
}

.galeri-strip-item {
    flex-shrink: 0;
    width: calc((100% - 12px) / 5);
    overflow: hidden;
}

.galeri-strip-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeri-strip-item:hover img {
    transform: scale(1.05);
}

/* Tombol Navigasi Galeri */
.galeri-strip-nav {
    position: absolute;
    right: 30px;
    bottom: -55px;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 5;
}

.galeri-nav-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark);
    transition: var(--transition);
}

.galeri-nav-btn:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

@media (max-width: 768px) {
    .galeri-strip-item {
        width: calc(100% / 3);
    }
    .galeri-strip-item img {
        height: 150px;
    }
}

/* =====================================================
   GALERI GRID
   ===================================================== */
.galeri-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.galeri-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.galeri-item:hover img {
    transform: scale(1.1);
}

.galeri-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.8), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.galeri-item:hover .overlay {
    opacity: 1;
}

.galeri-item .overlay h5 {
    color: var(--white);
    font-weight: 600;
    margin: 0;
}

/* =====================================================
   TIMELINE / KEGIATAN
   ===================================================== */
.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
    border-left: 2px solid var(--primary);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
}

.timeline-item .date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* =====================================================
   KONTAK FORM
   ===================================================== */
.contact-form .form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 20px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 0, 0.15);
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination .page-link {
    color: var(--dark);
    border-radius: 10px !important;
    margin: 0 3px;
    border: none;
    box-shadow: var(--shadow);
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   MITRA / PARTNER
   ===================================================== */
.partner-logo {
    padding: 30px;
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: var(--transition);
}

.partner-logo:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.partner-logo img {
    max-height: 60px;
    transition: var(--transition);
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .navbar-custom .navbar-collapse {
        background: var(--dark);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
    }

    .navbar-custom .navbar-nav {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
    }
}

/* =====================================================
   BERITA DETAIL
   ===================================================== */
/* Berita Headline Card */
.berita-headline-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.berita-headline-img {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.berita-headline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.berita-headline-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(17,17,17,0.9), transparent);
    color: #fff;
}

.berita-headline-date {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.berita-headline-overlay h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 12px 0 8px;
    color: #fff;
}

.berita-headline-overlay p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.berita-headline-btn {
    display: inline-block;
    border: 1px solid #fff;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 3px;
}

.berita-headline-card:hover .berita-headline-btn {
    background: #fff;
    color: var(--dark);
}

/* Trending Box */
.berita-trending-box {
    background: var(--dark);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
}

.berita-trending-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.berita-trending-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
}

.berita-trending-item:last-child { border-bottom: none; }

.berita-trending-thumb {
    width: 55px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.berita-trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.berita-trending-noimg {
    width: 100%;
    height: 100%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.berita-trending-info h6 {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px;
    line-height: 1.3;
}

.berita-trending-info small {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 500;
}

/* Berita List Item */
.berita-list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: var(--transition);
}

.berita-list-item:hover {
    background: rgba(255,122,0,0.03);
    padding-left: 10px;
}

.berita-list-thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.berita-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.berita-list-noimg {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.5rem;
}

.berita-list-info .berita-date {
    font-size: 0.72rem;
}

.berita-list-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin: 5px 0;
    line-height: 1.4;
}

.berita-list-info p {
    font-size: 0.78rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Search Box */
.berita-search-box {
    display: flex;
    position: relative;
}

.berita-search-box input {
    border: 2px solid #eee;
    border-radius: 8px 0 0 8px;
    padding: 10px 15px;
    font-size: 0.85rem;
    flex: 1;
}

.berita-search-box input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: none;
}

.berita-search-box button {
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.berita-search-box button:hover {
    background: var(--primary);
}

/* Berita Utama (besar) - Legacy */
.berita-utama {
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #eee;
}

.berita-utama-img {
    height: 100%;
    min-height: 400px;
}

.berita-utama-img img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: contain;
    object-position: top;
    display: block;
    background: #f5f5f5;
}

.berita-utama-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.berita-utama-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 15px 0;
}

.berita-utama-content p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.berita-date {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
}

/* Berita Card Kecil */
.berita-card {
    background: var(--white);
    border: 1px solid #eee;
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}

.berita-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.berita-card-img {
    height: 200px;
    overflow: hidden;
}

.berita-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.berita-card:hover .berita-card-img img {
    transform: scale(1.05);
}

.berita-card-body {
    padding: 15px 20px;
}

.berita-card-body h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin: 8px 0;
    line-height: 1.4;
}

.berita-card-body p {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.berita-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
}

.berita-link:hover {
    color: var(--primary-dark);
}

.berita-no-img, .berita-no-img-sm {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 3rem;
}

.berita-no-img { min-height: 350px; }

/* Share Buttons */
.berita-share {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover { transform: scale(1.15); color: #fff; }
.share-fb { background: #1877F2; }
.share-wa { background: #25D366; }
.share-tw { background: #000; }
.share-tg { background: #0088cc; }
.share-copy { background: #666; }

.berita-share-mini {
    display: flex;
    gap: 5px;
}

.berita-share-mini a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.berita-share-mini a:hover { transform: scale(1.15); color: #fff; }
.berita-share-mini a:first-child { background: #1877F2; }
.berita-share-mini a:last-child { background: #25D366; }

.berita-detail-img {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 400px;
}

.berita-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.berita-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.berita-meta span {
    margin-right: 20px;
}

.berita-meta i {
    color: var(--primary);
    margin-right: 5px;
}

/* =====================================================
   BG VARIANTS
   ===================================================== */
.bg-light-custom {
    background: var(--gray-light);
}

.bg-dark-custom {
    background: var(--dark);
}

.text-primary-custom {
    color: var(--primary) !important;
}

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}
