/* ========== AKTIVITAS DETAIL PAGE - PINTEREST STYLE ========== */

/* Container */
.aktivitas-detail-container {
    padding: 3rem 0;
    max-width: 1400px;
}

/* Header Section */
.aktivitas-header {
    margin-bottom: 3rem;
}

.aktivitas-title {
    color: #111827;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.aktivitas-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}

.author-name {
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
}

.meta-divider {
    color: #d1d5db;
}

.meta-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.badge-kategori {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #93c5fd;
}

/* Layout Content - Image Left with Divider, Text Right */
.aktivitas-content-layout {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

/* Vertical Divider */
.content-divider {
    position: absolute;
    left: 450px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1e40af 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

/* Image Container */
.aktivitas-image-box {
    flex: 0 0 420px;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}

.image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.aktivitas-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.image-wrapper:hover .aktivitas-main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-info {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Text Content */
.aktivitas-text-content {
    flex: 1;
    padding-left: 1rem;
}

/* Content Card - Gabungan Ringkasan & Deskripsi */
.content-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem !important;
    font-weight: 700;
    color: #004d88 !important;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    font-family: 'Bebas Neue', sans-serif;
}

/* Ringkasan Section */
.ringkasan-section {
    margin-bottom: 2rem;
}

.ringkasan-text {
    font-size: 1rem;
    font-weight: 400;
    color: #374151;
    line-height: 1.8;
    margin: 0;
}

/* Divider between sections */
.content-divider-hr {
    border: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #062c64, transparent);
    margin: 2rem 0;
}

/* Deskripsi Section */
.deskripsi-section {
    margin-top: 2rem;
}

.deskripsi-text {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.9;
    margin: 0;
}

.deskripsi-text p {
    margin-bottom: 1.25rem;
}

.deskripsi-text p:last-child {
    margin-bottom: 0;
}

/* Divider */
.aktivitas-divider {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 4rem 0;
}

/* ========== SARAN AKTIVITAS - PINTEREST GRID ========== */

.saran-section {
    margin-top: 4rem;
}

.saran-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.saran-section-title {
    color: #111827;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.saran-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, transparent);
}

/* Pinterest Style Cards */
.saran-card-wrapper {
    margin-bottom: 2rem;
}

.saran-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.saran-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.saran-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.saran-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.saran-card:hover .saran-card-image {
    transform: scale(1.1);
}

.saran-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.saran-card:hover .saran-overlay {
    opacity: 1;
}

.saran-card-body {
    padding: 1.5rem;
}

.saran-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.saran-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.saran-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
}

.saran-card-author {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.saran-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    .aktivitas-content-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .content-divider {
        display: none;
    }

    .aktivitas-image-box {
        flex: 1;
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .aktivitas-text-content {
        padding-left: 0;
    }

    .aktivitas-title {
        font-size: 2rem;
        font-family: 'Bebas Neue', sans-serif;
    }
}

@media (max-width: 576px) {
    .aktivitas-title {
        font-size: 1.75rem;
        font-family: 'Bebas Neue', sans-serif;
    }

    .ringkasan-text {
        font-size: 1rem;
    }

    .deskripsi-text {
        font-size: 0.95rem;
    }

    .ringkasan-card,
    .deskripsi-card {
        padding: 1.5rem;
    }
}
