/* ========================================
   DETAIL PAGES - MODERN CLEAN DESIGN
   For Berita, Event, Pengumuman Details
   ======================================== */

/* ========== WHITE NAVBAR FOR DETAIL PAGES ========== */
.detail-page ~ .header,
.detail-page + .header,
body:has(.detail-page) .header,
body:has(.detail-page) .header.header-transparent {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body:has(.detail-page) .header .nav__item-link {
    color: #1a1a1a !important;
}

body:has(.detail-page) .header .nav__item-link:hover,
body:has(.detail-page) .header .nav__item-link.active {
    color: #0e82fd !important;
}

body:has(.detail-page) .header .logo-light {
    display: none !important;
}

body:has(.detail-page) .header .logo-dark {
    display: block !important;
}

body:has(.detail-page) .header .action__btn-login {
    color: #1a1a1a !important;
}

body:has(.detail-page) .header .action__btn-contact {
    background: #0e82fd !important;
    border-color: #0e82fd !important;
}

/* CSS Variables for consistency */
:root {
    --primary-blue: #0e82fd;
    --primary-dark: #0066cc;
    --primary-light: #e8f4ff;
    --dark-text: #1a1a1a;
    --body-text: #555;
    --light-text: #888;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e8e8e8;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Detail Page Wrappers */
.detail-page,
.berita-detail-page,
.event-detail-page,
.pengumuman-detail-page {
    background: var(--bg-light);
    min-height: 100vh;
}

/* ========== PAGE TITLE SECTION ========== */
.detail-page .page-title,
.berita-detail-page .page-title,
.event-detail-page .page-title,
.pengumuman-detail-page .page-title {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%) !important;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.detail-page .page-title::before,
.berita-detail-page .page-title::before,
.event-detail-page .page-title::before,
.pengumuman-detail-page .page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: fadeIn 1s ease;
}

.detail-page .page-title .container,
.berita-detail-page .page-title .container,
.event-detail-page .page-title .container,
.pengumuman-detail-page .page-title .container {
    position: relative;
    z-index: 1;
}

.berita-detail-page .page-title h1,
.event-detail-page .page-title h1,
.pengumuman-detail-page .page-title h1 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease;
    line-height: 1.4;
}

.berita-detail-page .breadcrumb,
.event-detail-page .breadcrumb,
.pengumuman-detail-page .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 15px 0 0;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.berita-detail-page .breadcrumb-item,
.event-detail-page .breadcrumb-item,
.pengumuman-detail-page .breadcrumb-item,
.berita-detail-page .breadcrumb-item a,
.event-detail-page .breadcrumb-item a,
.pengumuman-detail-page .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: var(--transition);
}

.berita-detail-page .breadcrumb-item a:hover,
.event-detail-page .breadcrumb-item a:hover,
.pengumuman-detail-page .breadcrumb-item a:hover {
    color: var(--white);
}

.berita-detail-page .breadcrumb-item.active,
.event-detail-page .breadcrumb-item.active,
.pengumuman-detail-page .breadcrumb-item.active {
    color: var(--white);
}

.berita-detail-page .breadcrumb-item + .breadcrumb-item::before,
.event-detail-page .breadcrumb-item + .breadcrumb-item::before,
.pengumuman-detail-page .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== CONTENT SECTION ========== */
.berita-detail-page .section-area,
.event-detail-page .section-area,
.pengumuman-detail-page .section-area {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

/* ========== MAIN CONTENT CARD ========== */
.detail-content,
.blog-single-post,
.event-detail-content,
.pengumuman-detail-content {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease;
    border: 1px solid var(--border-color);
}

/* Featured Image */
.detail-featured-img,
.blog-featured-img {
    position: relative;
    overflow: hidden;
    max-height: 450px;
}

.detail-featured-img img,
.blog-featured-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    animation: fadeIn 1s ease;
}

.detail-featured-img::after,
.blog-featured-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

/* Content Body */
.detail-body,
.blog-content-body {
    padding: 40px;
}

/* Meta Information */
.detail-meta,
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.detail-meta-item,
.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--body-text);
}

.detail-meta-item i,
.blog-meta i {
    color: var(--primary-blue);
    font-size: 1rem;
}

.detail-meta-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.detail-meta-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Category Badge in Detail */
.detail-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

/* Title */
.detail-title,
.blog-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 25px;
    line-height: 1.4;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Content */
.detail-text,
.blog-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--body-text);
    animation: fadeIn 1s ease 0.4s both;
}

.detail-text p,
.blog-text p {
    margin-bottom: 20px;
}

.detail-text h2,
.detail-text h3,
.detail-text h4,
.blog-text h2,
.blog-text h3,
.blog-text h4 {
    color: var(--dark-text);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-text h2,
.blog-text h2 {
    font-size: 1.5rem;
}

.detail-text h3,
.blog-text h3 {
    font-size: 1.3rem;
}

.detail-text h4,
.blog-text h4 {
    font-size: 1.15rem;
}

.detail-text ul,
.detail-text ol,
.blog-text ul,
.blog-text ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.detail-text li,
.blog-text li {
    margin-bottom: 10px;
}

.detail-text blockquote,
.blog-text blockquote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-blue);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--dark-text);
}

.detail-text img,
.blog-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.detail-text a,
.blog-text a {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.detail-text a:hover,
.blog-text a:hover {
    border-bottom-color: var(--primary-blue);
}

/* ========== EVENT SPECIFIC STYLES ========== */
.event-info-card {
    background: var(--primary-light);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.event-info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(14, 130, 253, 0.1);
}

.event-info-row:last-child {
    border-bottom: none;
}

.event-info-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.event-info-content h6 {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-info-content p {
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 600;
    margin: 0;
}

/* Event Status */
.event-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.event-status.upcoming {
    background: var(--primary-light);
    color: var(--primary-blue);
}

.event-status.ongoing {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.event-status.ended {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.event-status i {
    font-size: 0.8rem;
}

/* Register Button */
.btn-register-event {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-register-event:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 130, 253, 0.4);
    color: var(--white);
}

.btn-register-event i {
    font-size: 1.1rem;
}

/* ========== TAGS SECTION ========== */
.detail-tags,
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.detail-tags .tag-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-right: 10px;
}

.detail-tags a,
.blog-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--body-text);
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.detail-tags a:hover,
.blog-tags a:hover {
    background: var(--primary-light);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ========== SHARE SECTION ========== */
.detail-share,
.blog-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.detail-share span,
.blog-share span {
    font-weight: 600;
    color: var(--dark-text);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.copy-link {
    background: var(--body-text);
}

/* ========== AUTHOR BOX ========== */
.author-box {
    display: flex;
    gap: 25px;
    background: var(--bg-light);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.author-info .author-role {
    font-size: 0.85rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.author-info p {
    font-size: 0.95rem;
    color: var(--body-text);
    line-height: 1.7;
    margin: 0;
}

/* ========== NAVIGATION ========== */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.nav-post {
    flex: 1;
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.nav-post:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.nav-post.prev {
    text-align: left;
}

.nav-post.next {
    text-align: right;
}

.nav-post .nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.nav-post.next .nav-label {
    justify-content: flex-end;
}

.nav-post .nav-title {
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 600;
    line-height: 1.4;
    transition: var(--transition);
}

.nav-post:hover .nav-title {
    color: var(--primary-blue);
}

/* ========== SIDEBAR ========== */
.detail-sidebar,
.blog-sidebar {
    animation: slideInRight 0.8s ease 0.3s both;
}

.detail-sidebar .widget,
.blog-sidebar .widget {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.detail-sidebar .widget:hover,
.blog-sidebar .widget:hover {
    box-shadow: var(--shadow-md);
}

.detail-sidebar .widget-title,
.blog-sidebar .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}

.detail-sidebar .widget-title::after,
.blog-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-blue);
}

/* Related Posts Widget */
.related-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.related-post-item:last-child {
    border-bottom: none;
}

.related-post-item:hover {
    background: var(--primary-light);
    margin: 0 -15px;
    padding: 15px;
    border-radius: 10px;
}

.related-post-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-info h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.related-post-info h6 a {
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}

.related-post-info h6 a:hover {
    color: var(--primary-blue);
}

.related-post-info .date {
    font-size: 0.8rem;
    color: var(--light-text);
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%) !important;
    color: var(--white);
    text-align: center;
}

.cta-widget .widget-title {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    text-align: center;
}

.cta-widget .widget-title::after {
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.cta-widget .btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.cta-widget .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ========== COMMENTS SECTION ========== */
.comments-section {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.comments-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 30px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 700;
    color: var(--dark-text);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--light-text);
}

.comment-text {
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 10px;
}

.comment-reply {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.comment-reply:hover {
    text-decoration: underline;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comment-form h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.comment-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .btn-submit {
    background: var(--primary-blue);
    color: var(--white);
    padding: 14px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form .btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(14, 130, 253, 0.4);
}

/* ========== ATTACHMENT SECTION ========== */
.attachment-section {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
}

.attachment-section h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachment-section h5 i {
    color: var(--primary-blue);
}

.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.attachment-item:hover {
    border-color: var(--primary-blue);
}

.attachment-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.attachment-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.attachment-details h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 3px;
}

.attachment-details span {
    font-size: 0.8rem;
    color: var(--light-text);
}

.attachment-download {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.attachment-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .berita-detail-page .page-title,
    .event-detail-page .page-title,
    .pengumuman-detail-page .page-title {
        padding: 60px 0;
    }
    
    .berita-detail-page .page-title h1,
    .event-detail-page .page-title h1,
    .pengumuman-detail-page .page-title h1 {
        font-size: 1.75rem;
    }
    
    .detail-body {
        padding: 30px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .berita-detail-page .page-title,
    .event-detail-page .page-title,
    .pengumuman-detail-page .page-title {
        padding: 50px 0;
    }
    
    .berita-detail-page .page-title h1,
    .event-detail-page .page-title h1,
    .pengumuman-detail-page .page-title h1 {
        font-size: 1.5rem;
    }
    
    .detail-body {
        padding: 25px;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .detail-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .comment-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .comment-avatar {
        width: 50px;
        height: 50px;
    }
    
    .comments-section {
        padding: 25px;
    }
}

/* ========== OVERRIDE TEMPLATE DEFAULT COLORS ========== */
/* Remove green colors and replace with blue */
.detail-page .page-title.bg-overlay-gradient::before,
.detail-page .page-title.bg-overlay::before {
    background: linear-gradient(135deg, rgba(14, 130, 253, 0.95) 0%, rgba(0, 102, 204, 0.95) 100%) !important;
}

.detail-page .page-title {
    background-color: var(--primary-blue) !important;
}

.detail-page .page-title .bg-img {
    opacity: 0.3;
}

/* Post item styles */
.detail-page .post-item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.detail-page .post__img {
    overflow: hidden;
}

.detail-page .post__img img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

.detail-page .post__content {
    padding: 30px;
}

.detail-page .post__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.4;
}

.detail-page .post__meta {
    margin-bottom: 20px;
}

.detail-page .post__meta-cat a {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.detail-page .post__meta-cat a:hover {
    background: var(--primary-dark) !important;
}

.detail-page .post__meta-date {
    color: var(--light-text);
    font-size: 0.9rem;
}

.detail-page .post__desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--body-text);
}

.detail-page .post__desc p {
    margin-bottom: 15px;
}

/* Bordered box */
.detail-page .bordered-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

/* Social icons */
.detail-page .social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light) !important;
    color: var(--primary-blue) !important;
    border-radius: 50%;
    transition: var(--transition);
    margin-right: 8px;
}

.detail-page .social-icons a:hover {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    transform: translateY(-3px);
}

/* Blog tags */
.detail-page .blog-tags a {
    background: var(--bg-light);
    color: var(--body-text);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.detail-page .blog-tags a:hover {
    background: var(--primary-light);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Button styles */
.detail-page .btn__primary,
.detail-page .btn-primary {
    background: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: var(--white) !important;
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.detail-page .btn__primary:hover,
.detail-page .btn-primary:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(14, 130, 253, 0.4);
}

/* Sidebar widgets */
.detail-page .sidebar .widget {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.detail-page .sidebar .widget__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}

.detail-page .sidebar .widget__title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-blue);
}

/* Navigation links */
.detail-page .widget-nav a {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.detail-page .widget-nav a:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.detail-page .widget-nav .nav__action {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
}

.detail-page .widget-nav .nav__title {
    color: var(--dark-text);
    font-weight: 600;
    transition: var(--transition);
}

.detail-page .widget-nav a:hover .nav__title {
    color: var(--primary-blue);
}

/* Blog section background */
.detail-page .blog {
    background: var(--bg-light);
}

.detail-page .blog.pt-0 {
    padding-top: 0 !important;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

/* Pagetitle heading */
.detail-page .pagetitle__heading {
    color: var(--white) !important;
}

/* Breadcrumb in detail page */
.detail-page .breadcrumb {
    background: transparent !important;
}

.detail-page .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.detail-page .breadcrumb-item a:hover {
    color: var(--white) !important;
}

.detail-page .breadcrumb-item.active {
    color: var(--white) !important;
}

.detail-page .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6) !important;
}
