/* ============================================
   PENGUMUMAN DETAIL - MODERN SCHOOL WEBSITE
   ============================================ */

/* Main Section */
.pengumuman-detail {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #3498db;
}

.breadcrumb-item .icon {
    width: 14px;
    height: 14px;
}

.breadcrumb .separator {
    color: #adb5bd;
    font-weight: 300;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 600;
}

/* Container */
.pengumuman-detail .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Article Header */
.article-header {
    padding: 50px 0 30px;
    text-align: center;
}

.header-category {
    margin-bottom: 20px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.category-badge .icon {
    width: 14px;
    height: 14px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.3;
    margin: 20px 0;
    letter-spacing: -0.5px;
}

/* Article Meta */
.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.95rem;
}

.meta-item .icon {
    color: #3498db;
}

.meta-item span {
    font-weight: 500;
}

/* Featured Image */
.featured-image-wrapper {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    position: relative;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.featured-image-wrapper:hover .featured-image {
    transform: scale(1.02);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 25px 20px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-image-wrapper:hover .image-caption {
    opacity: 1;
}

/* Article Content */
.article-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.content-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #2c3e50;
}

/* Content Typography */
.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.content-body h1 {
    font-size: 2rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.content-body h2 {
    font-size: 1.7rem;
    color: #34495e;
}

.content-body h3 {
    font-size: 1.4rem;
    color: #34495e;
}

.content-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.content-body ul,
.content-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.content-body ul li {
    list-style-type: disc;
}

.content-body ol li {
    list-style-type: decimal;
}

.content-body a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.content-body a:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

.content-body blockquote {
    border-left: 4px solid #3498db;
    background: #f8f9fa;
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.content-body th,
.content-body td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.content-body th {
    background: #3498db;
    color: #ffffff;
    font-weight: 600;
}

.content-body tr:hover {
    background: #f8f9fa;
}

.content-body code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

.content-body pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.content-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Share Section */
.share-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.share-label .icon {
    color: #3498db;
}

.share-buttons {
    display: flex;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook {
    background: #1877f2;
    color: #ffffff;
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #ffffff;
}

.share-btn.twitter:hover {
    background: #1a94da;
}

.share-btn.whatsapp {
    background: #25d366;
    color: #ffffff;
}

.share-btn.whatsapp:hover {
    background: #20bd5a;
}

/* Article Navigation */
.article-navigation {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #ffffff;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-back:hover {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.btn-back .icon {
    transition: transform 0.3s ease;
}

.btn-back:hover .icon {
    transform: translateX(-4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.9rem;
    }

    .article-content {
        padding: 30px 25px;
    }

    .content-body {
        font-size: 1rem;
    }

    .content-body h1 {
        font-size: 1.6rem;
    }

    .content-body h2 {
        font-size: 1.4rem;
    }

    .content-body h3 {
        font-size: 1.2rem;
    }

    .article-meta {
        gap: 15px;
    }

    .share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 30px 0 20px;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-content {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .category-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .meta-item {
        font-size: 0.85rem;
    }

    .share-btn {
        width: 40px;
        height: 40px;
    }

    .btn-back {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .content-body table {
        font-size: 0.9rem;
    }

    .content-body th,
    .content-body td {
        padding: 10px 12px;
    }
}