/* Custom CSS for Pengumuman Detail Page Layout Improvements */
/* Also applies to Berita and Renungan Detail Pages */

/* Main container improvements */
.pengumuman-detail-page .main,
.berita-detail-page .main,
.renungan-detail-page .main {
    padding-top: 20px;
}

/* Page title improvements */
.pengumuman-detail-page .page-title,
.berita-detail-page .page-title,
.renungan-detail-page .page-title {
    background: linear-gradient(135deg, #37517e 0%, #47b2e4 100%);
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.pengumuman-detail-page .page-title .breadcrumbs ol {
    margin-bottom: 0;
}

.pengumuman-detail-page .page-title .breadcrumbs ol li {
    color: rgba(255, 255, 255, 0.8);
}

.pengumuman-detail-page .page-title .breadcrumbs ol li a {
    color: #ffffff;
    text-decoration: none;
}

.pengumuman-detail-page .page-title .breadcrumbs ol li.current {
    color: #47b2e4;
    font-weight: 600;
}

/* Article content improvements */
.pengumuman-detail-page .blog-details .article {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.pengumuman-detail-page .blog-details .hero-img {
    position: relative;
    margin-bottom: 0;
}

.pengumuman-detail-page .blog-details .hero-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

.pengumuman-detail-page .blog-details .hero-img .meta-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.pengumuman-detail-page .blog-details .hero-img .meta-overlay .reading-time {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* Content header improvements */
.pengumuman-detail-page .blog-details .article-content {
    padding: 40px;
}

.pengumuman-detail-page .blog-details .article-content .content-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.pengumuman-detail-page .blog-details .article-content .content-header .title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #37517e;
}

/* Author info improvements */
.pengumuman-detail-page .blog-details .article-content .content-header .author-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.pengumuman-detail-page .blog-details .article-content .content-header .author-info .author-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pengumuman-detail-page .blog-details .article-content .content-header .author-info .author-details .author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #47b2e4;
    box-shadow: 0 4px 15px rgba(71, 178, 228, 0.3);
}

.pengumuman-detail-page .blog-details .article-content .content-header .author-info .author-details .info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #37517e;
}

.pengumuman-detail-page .blog-details .article-content .content-header .author-info .author-details .info .role {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Post meta improvements */
.pengumuman-detail-page .blog-details .article-content .content-header .author-info .post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #6c757d;
}

.pengumuman-detail-page .blog-details .article-content .content-header .author-info .post-meta i {
    color: #47b2e4;
    margin-right: 5px;
}

.pengumuman-detail-page .blog-details .article-content .content-header .author-info .post-meta .divider {
    color: #dee2e6;
    font-weight: bold;
}

/* Content body improvements */
.pengumuman-detail-page .blog-details .article-content .content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444444;
    font-family: 'Poppins', sans-serif;
}

.pengumuman-detail-page .blog-details .article-content .content p,
.berita-detail-page .blog-details .article-content .content p,
.renungan-detail-page .blog-details .article-content .content p {
    margin-bottom: 1.2rem;
    text-align: left;
    line-height: 1.6;
}

.pengumuman-detail-page .blog-details .article-content .content h2,
.pengumuman-detail-page .blog-details .article-content .content h3,
.pengumuman-detail-page .blog-details .article-content .content h4 {
    color: #37517e;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.pengumuman-detail-page .blog-details .article-content .content ul,
.pengumuman-detail-page .blog-details .article-content .content ol,
.berita-detail-page .blog-details .article-content .content ul,
.berita-detail-page .blog-details .article-content .content ol,
.renungan-detail-page .blog-details .article-content .content ul,
.renungan-detail-page .blog-details .article-content .content ol {
    margin-bottom: 20px;
    padding-left: 30px;
    list-style-position: outside;
}

.pengumuman-detail-page .blog-details .article-content .content ul,
.berita-detail-page .blog-details .article-content .content ul,
.renungan-detail-page .blog-details .article-content .content ul {
    list-style-type: disc;
}

.pengumuman-detail-page .blog-details .article-content .content ol,
.berita-detail-page .blog-details .article-content .content ol,
.renungan-detail-page .blog-details .article-content .content ol {
    list-style-type: decimal;
}

.pengumuman-detail-page .blog-details .article-content .content li,
.berita-detail-page .blog-details .article-content .content li,
.renungan-detail-page .blog-details .article-content .content li {
    margin-bottom: 8px;
    padding-left: 5px;
    line-height: 1.6;
}

/* Share section improvements */
.pengumuman-detail-page .blog-details .article-content .meta-bottom {
    border-top: 2px solid #f8f9fa;
    padding-top: 30px;
    margin-top: 40px;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .share-section h4 {
    color: #37517e;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a.twitter {
    background: #1da1f2;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a.facebook {
    background: #3b5998;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a.linkedin {
    background: #0077b5;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a.whatsapp {
    background: #25d366;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a.telegram {
    background: #0088cc;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a.copy-link {
    background: #6c757d;
}

.pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Sidebar improvements */
.pengumuman-detail-page .sidebar {
    padding-left: 30px;
}

.pengumuman-detail-page .sidebar .widget-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
}

.pengumuman-detail-page .sidebar .widget-item .widget-title {
    color: #37517e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #47b2e4;
    position: relative;
}

.pengumuman-detail-page .sidebar .widget-item .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #47b2e4;
}

/* Search widget improvements */
.pengumuman-detail-page .sidebar .search-widget form {
    position: relative;
}

.pengumuman-detail-page .sidebar .search-widget input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pengumuman-detail-page .sidebar .search-widget input:focus {
    border-color: #47b2e4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(71, 178, 228, 0.1);
}

.pengumuman-detail-page .sidebar .search-widget button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #47b2e4;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pengumuman-detail-page .sidebar .search-widget button:hover {
    background: #37517e;
    transform: translateY(-50%) scale(1.05);
}

/* Quick links improvements */
.pengumuman-detail-page .sidebar .quick-links-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pengumuman-detail-page .sidebar .quick-links-widget ul li {
    margin-bottom: 12px;
}

.pengumuman-detail-page .sidebar .quick-links-widget ul li a {
    display: block;
    padding: 12px 15px;
    color: #6c757d;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.pengumuman-detail-page .sidebar .quick-links-widget ul li a:hover {
    background: #f8f9fa;
    color: #47b2e4;
    border-left-color: #47b2e4;
    transform: translateX(5px);
}

/* Quote widget improvements */
.pengumuman-detail-page .sidebar .spiritual-quote-widget .quote-content {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    position: relative;
}

.pengumuman-detail-page .sidebar .spiritual-quote-widget .quote-content::before {
    content: '"';
    font-size: 4rem;
    color: #47b2e4;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
}

.pengumuman-detail-page .sidebar .spiritual-quote-widget blockquote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
    color: #37517e;
}

.pengumuman-detail-page .sidebar .spiritual-quote-widget cite {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
}

/* Responsive improvements */
@media (max-width: 991px) {
    .pengumuman-detail-page .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .pengumuman-detail-page .blog-details .article-content .content-header .author-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .pengumuman-detail-page .blog-details .article-content .content-header .title {
        font-size: 2rem;
    }
    
    .pengumuman-detail-page .blog-details .article-content {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .pengumuman-detail-page .blog-details .article-content .content-header .title {
        font-size: 1.8rem;
    }
    
    .pengumuman-detail-page .blog-details .article-content .content-header .author-info .post-meta {
        font-size: 0.8rem;
        gap: 10px;
    }
    
    .pengumuman-detail-page .blog-details .article-content .meta-bottom .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}