/* Tombol link banner dibuat seragam di seluruh halaman. */
.pm-popup-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 10001 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.7) !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,.55) !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 30px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.pm-popup-close::before {
    content: '\00d7';
    display: block;
    color: #fff;
    font-size: 23px;
    font-weight: 400;
    line-height: 26px;
}

.heading-banner-link,
.carousel .btn-warning,
a[class$="-ads-link-btn"],
a[class*="ads-link-btn"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 8px !important;
    border-radius: 5px !important;
    font-size: 10px !important;
    line-height: 24px !important;
    white-space: nowrap;
}

/* Penyesuaian tipografi global untuk layar ponsel. */
@media (max-width: 767px) {
    .pm-popup-close {
        top: 6px !important;
        right: 6px !important;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        line-height: 26px !important;
    }
    .pm-popup-close::before { font-size: 20px; line-height: 22px; }

    .heading-banner-link,
    .carousel .btn-warning,
    a[class$="-ads-link-btn"],
    a[class*="ads-link-btn"] {
        height: 22px !important;
        min-height: 22px !important;
        padding: 0 7px !important;
        font-size: 9px !important;
        line-height: 22px !important;
    }

    body { font-size: 13px !important; line-height: 1.45; }
    h1 { font-size: 23px !important; line-height: 1.25 !important; }
    h2 { font-size: 20px !important; line-height: 1.3 !important; }
    h3 { font-size: 18px !important; line-height: 1.35 !important; }
    h4 { font-size: 16px !important; line-height: 1.4 !important; }
    h5 { font-size: 14px !important; line-height: 1.4 !important; }
    h6 { font-size: 13px !important; line-height: 1.4 !important; }
    p, li, label, td, th, dt, dd, input, select, textarea, button, .btn {
        font-size: 12px !important; line-height: 1.45 !important;
    }
    input, select, textarea { min-height: 34px; }
    small, .small, .help-block, .form-help, .text-muted {
        font-size: 11px !important; line-height: 1.4 !important;
    }
    .card .header h2, .card .header h2 span, .panel-head, .section-title {
        font-size: 16px !important; line-height: 1.35 !important;
    }
    .material-icons { font-size: 18px !important; line-height: 1 !important; }
    .pagination .material-icons, .pager .material-icons,
    .my-post-pagination .material-icons, .alumni-pagination-controls .material-icons {
        font-size: 14px !important; line-height: 24px !important;
    }
    .navbar-brand, .brand-logo { font-size: 18px !important; }
    table { font-size: 12px !important; }
}
