/* =====================================================================
   General CSS for Articles (e.g. Navbar, Buttons, Font-styling, etc.)
===================================================================== */

/* Carousel Article */


/* Article Cards */
.card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

.card-img-custom {
    width: 100%;
    height: 100%;
    object-fit: contain;          
    object-position: center;      
    background-color: #111;       
    padding: 8px;
    border-radius: 10px;
}

/* End of Article Cards */

/*** Konten Page Styling (Carousel + Text) ***/
.carousel-main-img {
    width: auto;
    height: 75vh;
    aspect-ratio: 16/9;
    object-fit: contain;
    object-position: center;
}


/* Header Text */
.articleheader-title {
    color: white;
    font-size: 40px;
    font-weight: 500;
}

.articleheader-details {
    color: white;
    font-size: 15px;
    opacity: 0.3;
}

/* Title di dalam konten */
.article-title {
    font-size: 35px;
    font-weight: 400;
    text-align: center;
    color: #FFFFFF;
    padding: 0 10%;
}

/* Konten teks utama */
.article-info {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 200;
    padding-left: 10%;
    padding-right: 10%;
    text-align: justify;
}

.text-secondary {        
    user-select: none;
    font-family: 'Saira', sans-serif !important;
}

.text-uppercase {        
    user-select: none;
    font-family: 'Saira', sans-serif !important;
}

/* Responsif */
@media screen and (max-width: 500px) {
    .konten-thumb-wrapper {
        width: 100px;
        aspect-ratio: 16/9;
        overflow: hidden;
        border: 2px solid transparent;
        border-radius: 6px;
        cursor: pointer;
        margin: 5px;
        transition: transform 0.3s, border 0.3s, opacity 0.3s;
    }
    .article-title { font-size: 20px; padding: 0 8%; }
    .article-info { font-size: 15px; padding-left: 5%; padding-right: 5%; }
}


/* === Summernote Content Styling === */
.article-content, .article-content * {
    color: #ffffff !important;
    line-height: 1.25 !important;
}

.article-content img {
    display: block;
    margin: 1rem auto !important;
    max-width: 100% !important;
    border-radius: 6px !important;
}

@media screen and (max-width: 500px) {
    .article-content {
        padding: 0 5%;
    }
}
/* Carousel Article End */

/* Paginations */
/* ===============================
   Pagination Styling
================================ */

.pagination {
    gap: 8px;
}

.page-item .page-link {
    background-color: #1e1e1e;
    color: #ffffff;
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    transition: all 0.25s ease;
}

/* Hover */
.page-item .page-link:hover {
    background-color: #FF6600;
    color: #ffffff;
    border-color: #FF6600;
}

/* Active Page */
.page-item.active .page-link {
    background-color: #FF6600;
    border-color: #FF6600;
    color: #ffffff;
    font-weight: 600;
}

/* Disabled */
.page-item.disabled .page-link {
    background-color: #2a2a2a;
    color: #777;
    border-color: #2a2a2a;
    cursor: not-allowed;
}

/* Remove focus outline */
.page-link:focus {
    box-shadow: none;
}

/* Mobile Friendly */
@media (max-width: 576px) {
    .page-item .page-link {
        padding: 6px 10px;
        font-size: 13px;
    }
}

