/* 
Don't want to use sass and simply modify the stylesheet in the old css fashion? 
Just customize your theme here.
================================================== */

body {}

/* Read More List */
.readmore {}

.readmore-list {
    padding: 30px;
    background-color: #fafafa;
    border-radius: 5px;
    text-align: left;
}

.readmore-title {
    margin-top: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Item */
.readmore-item {
    padding: 2px 0;
}

.readmore-item a {
    text-decoration: none;
    color: #333;
    font-size: 17px;
    line-height: 1.5;
}

.readmore-item a:hover {
    color: #007bff;
}

/* Optional bullet */

.readmore-item::before {
    content: "› ";
    font-weight: bold;
    margin-right: 4px;
}

/* ===== Share Button ===== */
.share {
    margin: 25px 0;
}

.share h5 {
    border-bottom: 3px solid #ffe51f;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.button-share {
    margin: 10px 0;
}

.button-share a {
    display: inline-block;
    width: 10%;
    height: 38px;
    line-height: 38px;
    text-align: center;
    margin-right: 6px;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    transition: 0.2s;
}

.button-share a:hover {
    transform: translateY(-2px);
}

/* Colors */

.facebook {
    background: #1877F2;
}

.twitter {
    background: #000000;
}

.vk {
    background: #4C75A3;
}

.telegram {
    background: #229ED9;
}

.linkedin {
    background: #0A66C2;
}

.pinterest {
    background: #E60023;
}

.whatsapp {
    background: #25D366;
}


/*===== Related Posts =====*/
.related-posts {
    margin-top: 40px;
}

.related-posts h5 {
    border-bottom: 3px solid #ffe51f;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Related Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px auto;
}

.related-item img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.related-item p {
    font-size: 15px;
    margin-top: 8px;
}

.related-item p:hover {
    color: #007bff;
}

/* Mobile */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Popular Posts Sidebar ===== */
.popular-item img,
.popular-thumb {
    width: 100px;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* Pastikan container tidak mengecilkan gambar */
.popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f6f6f6;
    padding: 5px 0;
}

/* Hilangkan garis pada item terakhir */
.popular-item:last-child {
    border-bottom: none;
}

.popular-item a {
    color: #494e58;
}

.popular-item a:hover {
    color: #007bff;
}

/* Judul menyesuaikan */
.popular-title {
    font-size: 15px;
    line-height: 1.4;
}


/* Fix jika ada style lain yang override */
.sidebar img {
    max-width: none;
}

/* Base Ad Style */
.ad {
    margin: 25px 0;
    text-align: center;
    clear: both;
    overflow: hidden;
}

.ad ins {
    max-width: 100%;
}

/* ===================== */
/* Ad Top */
/* ===================== */

.adtop {
    margin-top: 10px;
    margin-bottom: 30px;
}

/* ===================== */
/* Ad Middle */
/* ===================== */

.ad-middle {
    margin: 35px 0;
    padding: 10px 0;
}

/* ===================== */
/* Ad Bottom */
/* ===================== */

.adbottom {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* ===================== */
/* Responsive */
/* ===================== */

@media (max-width: 768px) {

    .ad {
        margin: 20px 0;
    }

    .ad-middle {
        margin: 30px 0;
    }

}

/* Sticky Ad */
.ad-sticky {
    position: sticky;
    top: 20px;
}

/* Full Width Ad */
.ad-full {
    width: 100%;
}

/* Box Style */
.ad-box {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 15px;
}