:root {
    --primary-color: #0D3D91;
}

.dark-overlay {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 1;
}

.main-menu ul.sub-menu li a {
    position: relative;
    padding-left: 0;
}

.main-menu ul.sub-menu:before {
    display:none;
}

.master-menu {
    flex-wrap: nowrap;
}

.picture-box2 [class*=picture-] {
    max-width: 310px;
}

.sec-icon img {
    max-width: 150px;
}

.date-box {
    border-bottom: 1px solid #D2D2D2;
    padding: 25px;
}

.category-img img {
    height: 350px;
    object-fit: cover;
}

.category-style1 .category-title a:hover {
    color: white !important;
}

.hero-layout1.style2 .hero-content {
    max-width: 660px !important;
}

.btn-primary {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    padding: 10px 13px;
    font-weight: 600;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.blog-card:hover {
    box-shadow: 0 32px 64px -12px #10182824 !important;
}

.blog-card .card-title a:hover {
    color: var(--bs-primary) !important;
}

.blog-meta .badge {
    font-size: 0.75em;
}


.blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ffc107;
    color: #333333;
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-date .day {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.blog-date .month {
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #777;
    font-size: 14px;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-meta span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #FFA500;
}

.blog-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.read-more-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: #333;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 30px;
    }

    .blog-img img {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 18px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

span.badge.bg-info {
    position: relative;
    border-radius: 5px !important;
    background-color: var(--theme-color);
    color: white;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.content-text p {
    margin-bottom: 1.2rem;
}

.content-text h1, .content-text h2, .content-text h3,
.content-text h4, .content-text h5, .content-text h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.content-text h1 { font-size: 2rem; }
.content-text h2 { font-size: 1.75rem; }
.content-text h3 { font-size: 1.5rem; }
.content-text h4 { font-size: 1.25rem; }
.content-text h5 { font-size: 1.1rem; }
.content-text h6 { font-size: 1rem; }

.content-text img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-text table th,
.content-text table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.content-text table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.content-text blockquote {
    background: #f8f9fa;
    border-left: 4px solid black;
    margin: 1.5rem 0;
    padding: 1rem;
    font-style: italic;
}

.content-text ul, .content-text ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}

.content-text strong {
    font-weight: 600;
}

.content-text em {
    font-style: italic;
}

.content-text a {
    color: black;
    text-decoration: none;
}

.content-text a:hover {
    text-decoration: underline;
}

.content-text hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 2rem 0;
}

.sidebar-widget {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.widget-title h5 {
    color: #495057;
    margin-bottom: 15px;
}

.related-article:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.share-buttons .btn {
    border-radius: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

.artikel-meta {
    border-left: 4px solid white;
}

section.auth {
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color) !important;
}

.auth-left {
    position: relative;
    display:block;
}

.auth-left::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/auth/auth-cover.jpg');
    background-size: cover;
    background-position: center;
    display: block;
    opacity: .1
}

.auth-right {
    background-color: white;
    border-radius: 30px 0 0 30px;
    z-index: 1;
}
.font-white {
    color: white;
}

.title-auth {
    max-width: 50%;
}

.subtitle-auth {
    font-weight: 500;
    max-width: 80%
}

.mt-12, .mb-12 {
    margin-top: 50px;
    margin-bottom: 75px;
}

.footer-layout2 .copyright-wrap {
    background-color: #1b2d4c;
    border: none !important;
    border-color: transparent !important;
}

.icon i {
    color: var(--primary-color);
}

.count {
    width: 25%;
}

.count:not(:last-child) {
    border-right: 1px solid #dedddd;
}

.btn-sosmed.btn-add {
    padding: 6px 13px !important;
    color: white !important;
    border-radius: 12px;
}

@media (max-width: 2100px) {
    .sec-title2, .sec-title {
        font-size: 38px;
    }
}

@media (max-width: 600px) {
    .header-detail-artikel {
        flex-direction: column;
        align-items: flex-start !important;
    }

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

    h1.hero-title {
        font-size: 20px;
    }

    .swiper-button-prev, .swiper-button-next {
        display: none !important;
    }

    .swiper-slide .container {
        width: 90% !important;
    }

    .sec-title2, .sec-title {
        font-size: 22px;
    }

    .category-img img {
        height: 200px;
        object-fit: cover;
    }

    #count-school .card-count {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .count {
        width: 50%;
        border: none !important;
    }

    .icon i {
        font-size: 32px !important;
    }

    section.auth.d-flex {
        flex-direction: column !important;
    }

    .auth-left, .title-auth, .subtitle-auth {
        width: 100% !important;
        max-width: 100%;
    }
}


