/* =====================================================
   HERO SLIDER
===================================================== */

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    margin-bottom: 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.15;
    font-weight: 700;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.hero-list li {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.hero-stat-item {
    min-width: 120px;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
}

.hero-stat-item strong {
    display: block;
    font-size: 24px;
    color: #fff;
}

.hero-stat-item span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

/* =====================================================
   NEWS & ANNOUNCEMENT
===================================================== */

.news-card,
.news-card-small {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   NEWS IMAGE
===================================================== */

.news-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.news-image-small {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* =====================================================
   CATEGORY LABEL
===================================================== */

.news-category {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 6px 14px;
    background: #0d6efd;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

/* =====================================================
   META INFO
===================================================== */

.news-meta {
    font-size: 13px;
    color: #777;
}

.news-meta i,
.news-meta .bi {
    color: #0d6efd;
}

.news-card-small .news-meta {
    font-size: 12px;
}

/* =====================================================
   NEWS TITLE
===================================================== */

.news-title,
.news-card-small h6 {
    line-height: 1.5;
    overflow: hidden;

    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.news-title {
    -webkit-line-clamp: 3;
}

.news-card-small h6 {
    -webkit-line-clamp: 3;
}

.news-title a,
.news-card-small h6 a {
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.news-title a {
    font-weight: 700;
}

.news-card-small h6 a {
    font-weight: 600;
}

.news-title a:hover,
.news-card-small h6 a:hover {
    color: #0d6efd;
}

/* =====================================================
   ANNOUNCEMENT
===================================================== */

.announcement-item a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    background: #f5f7fa;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    font-weight: 500;
    transition: 0.3s;
}

.announcement-item a:hover {
    background: #0d6efd;
    color: #fff;
}

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

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .news-image {
        height: 220px;
    }

    .news-image-small {
        height: 180px;
    }

    .announcement-item a {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-list li {
        font-size: 16px;
    }

    .hero-stat-item {
        min-width: 100px;
        padding: 12px 15px;
    }

    .hero-stat-item strong {
        font-size: 20px;
    }
}
/* =====================================================
   POST DETAIL
===================================================== */

.article-hero {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 50px 0;
}

.article-category {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.article-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.3;
    margin: 15px 0 20px;
    color: #111827;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #6b7280;
    font-size: 14px;
}

.article-meta i {
    color: #0d6efd;
    margin-right: 5px;
}

.article-featured-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 20px;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #374151;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-content iframe {
    max-width: 100%;
}

.article-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* =====================================================
   TAGS
===================================================== */

.article-tags {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.tag-badge {
    display: inline-block;
    background: #eef2ff;
    color: #0d6efd;
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all .3s ease;
}

.tag-badge:hover {
    background: #0d6efd;
    color: #fff;
}

/* =====================================================
   SHARE
===================================================== */

.article-share {
    margin-top: 40px;
    margin-bottom: 60px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* =====================================================
   SIDEBAR
===================================================== */

.sidebar-widget {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.widget-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.sidebar-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}

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

.sidebar-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.sidebar-post a {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
}

.sidebar-post a:hover {
    color: #0d6efd;
}

/* =====================================================
   RELATED POSTS
===================================================== */

.related-posts {
    margin-top: 60px;
}

.section-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.related-posts .news-card-small {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 15px;
    overflow: hidden;
    transition: all .3s ease;
    height: 100%;
}

.related-posts .news-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.related-post-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.related-posts .news-meta {
    font-size: 12px;
    color: #6b7280;
}

.related-posts h6 {
    margin: 0;
    line-height: 1.5;
}

.related-posts h6 a {
    text-decoration: none;
    color: #111827;
}

.related-posts h6 a:hover {
    color: #0d6efd;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        gap: 10px;
        font-size: 13px;
    }

    .article-featured-image img {
        max-height: 280px;
    }

    .sidebar-thumb {
        width: 80px;
        height: 60px;
    }

    .related-post-image {
        height: 100px;
    }

    .section-heading {
        font-size: 26px;
    }
}

/* share artikel */
.article-share .btn{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

.article-share .btn:hover{
    background:#0d6efd;
    color:#fff;
}