*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

/* CORE NEWS */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #5DC8E8, #2FA8CE);
    z-index: 1000;
    width: 0%;
    transition: width .1s linear
}

.breadcrumb-bar {
    padding: 12px 5%;
    font-size: .8rem;
    color: #7A8FA3;
    display: flex;
    align-items: center;
    gap: 6px
}

.breadcrumb-bar a {
    color: #2FA8CE;
    text-decoration: none;
    font-weight: 600
}

.breadcrumb-bar a:hover {
    text-decoration: underline
}

.breadcrumb-bar i {
    font-size: .6rem
}

.main-grid {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr;
    gap: 30px;
    padding: 30px 5%
}

@media(max-width:900px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 5%
    }
}
@media(max-width:640px) {
    .main-grid {
        gap: 16px;
        padding: 20px 4%
    }
}

.content-card {
    background: #fff;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(10, 22, 40, .04)
}

.art-cat {
    background: #D8EFF8;
    color: #2FA8CE;
    font-size: .7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px
}

.art-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px
}

.art-meta {
    display: flex;
    gap: 20px;
    font-size: .82rem;
    color: #7A8FA3;
    margin-bottom: 25px;
    border-bottom: 1px solid #EEF7FC;
    padding-bottom: 15px
}

.art-img {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
    aspect-ratio: 16/9
}

.art-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.art-body p {
    font-size: .95rem;
    line-height: 1.7;
    color: #3A4D62;
    margin-bottom: 15px;
    text-align: justify
}

.art-body img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    margin: 15px auto;
    border-radius: 12px
}

@media (max-width: 640px) {
    .art-body img {
        max-height: 320px
    }
}

.art-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.art-tag {
    background: #EEF7FC;
    color: #2FA8CE;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    text-decoration: none;
    transition: background .18s
}

.art-tag:hover {
    background: #D8EFF8
}

.read-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FFF8EC;
    color: #B07200;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 15px
}

/* SHARE BAR */
.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 0;
    padding-top: 22px;
    border-top: 1px solid #EEF7FC;
    flex-wrap: wrap
}

/* Label "Bagikan" dipaksa ambil 1 baris penuh dalam flex-wrap container,
   jadi tombol share selalu turun ke baris baru di bawahnya (bukan cuma
   pas layar sempit). */
.share-label {
    flex-basis: 100%;
    margin-bottom: 4px;
    font-size: .8rem;
    font-weight: 700;
    color: #7A8FA3;
    text-transform: uppercase;
    letter-spacing: 1px
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform .15s, opacity .15s;
    text-decoration: none
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: .9
}

.share-btn.twitter {
    background: #1DA1F2;
    color: #fff
}

.share-btn.whatsapp {
    background: #25D366;
    color: #fff
}

.share-btn.copy-link {
    background: #EEF7FC;
    color: #2FA8CE;
    border: 1.5px solid #D8EFF8
}

.share-btn.copy-link.copied {
    background: #D8EFF8
}

/* AUTHOR CARD */
.author-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #F7F9FB;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 28px 0 0;
    border: 1.5px solid #EEF7FC
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5DC8E8, #2FA8CE);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid #EEF7FC
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.author-name {
    font-weight: 800;
    font-size: 1rem;
    color: #0A1628;
    margin-bottom: 2px
}

.author-role {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2FA8CE;
    margin-bottom: 8px
}

.author-bio {
    font-size: .85rem;
    color: #3A4D62;
    line-height: 1.6
}

/* COMMENT */
.comment-sec {
    margin-top: 40px;
    border-top: 2px solid #EEF7FC;
    padding-top: 30px
}

.comment-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px
}

.comment-item {
    background: #F7F9FB;
    padding: 15px 20px;
    border-radius: 14px;
    border-left: 4px solid #5DC8E8;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.cmt-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.cmt-avatar:not(.cmt-avatar-fallback) { cursor: pointer; }
.cmt-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5DC8E8, #2FA8CE);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}
.cmt-content { flex: 1; min-width: 0; }

.cmt-meta {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    font-weight: 700;
    color: #2FA8CE;
    margin-bottom: 4px
}

.cmt-txt {
    font-size: .88rem;
    color: #3A4D62;
    line-height: 1.4
}

.cmt-form label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #3A4D62
}

.cmt-input {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #D8EFF8;
    border-radius: 10px;
    outline: none;
    font-size: .88rem;
    margin-bottom: 12px;
    font-family: inherit
}

.cmt-btn {
    background: #2FA8CE;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 99px;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer
}

/* SIDEBAR */
.sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content
}

.sidebar-card-cat {
    background: #fff;
    border-radius: 22px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(10, 22, 40, .04)
}

.side-cat-title {
    font-size: .85rem;
    font-weight: 700;
    color: #7A8FA3;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase
}

.side-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2FA8CE;
    color: #fff;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: .88rem;
    font-weight: 700
}

.sidebar-card {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(10, 22, 40, .04)
}

.sb-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid #EEF7FC;
    padding-bottom: 8px
}

.sb-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.sb-item {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: .18s
}

.sb-item:hover {
    opacity: .8;
    transform: translateX(2px)
}

.sb-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0
}

.sb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sb-txt-ttl {
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

/* EVENT SIDEBAR */
.sidebar-card-event {
    background: #fff;
    border-radius: 22px;
    padding: 20px 22px;
    box-shadow: 0 4px 20px rgba(10, 22, 40, .04);
    overflow: hidden
}

.event-widget-title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7A8FA3;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px
}

.event-item {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s
}

.event-item:last-child {
    margin-bottom: 0
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 22, 40, .12)
}

.event-item-bg {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block
}

.event-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, .92) 50%, rgba(10, 22, 40, .2) 100%);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

.event-item-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #fff;
    line-height: 1.2
}

.event-item-sub {
    font-size: .7rem;
    color: rgba(255, 255, 255, .65);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px
}

.event-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: .62rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
    letter-spacing: .5px;
    text-transform: uppercase
}

.event-status-badge.available {
    background: #22C55E;
    color: #fff
}

.event-status-badge.soon {
    background: rgba(255, 184, 48, .9);
    color: #5A3A00
}

.event-status-badge.sold_out {
    background: rgba(255, 85, 51, .9);
    color: #fff
}

/* ALERT MODAL */
.cs-alert-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, .65);
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    overflow-y: auto
}

.cs-alert-overlay.show {
    display: flex
}

.cs-alert-box {
    background: #fff;
    border-radius: 22px;
    padding: 36px 32px 28px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    animation: popIn .3s cubic-bezier(.4, 0, .2, 1);
    margin: auto;
    flex-shrink: 0
}

@keyframes popIn {
    from {
        transform: scale(.85);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.cs-alert-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px
}

.cs-alert-icon.soon-icon {
    background: #FFF8EC;
    color: #F59E0B
}

.cs-alert-icon.sold-icon {
    background: #FEE2E2;
    color: #EF4444
}

.cs-alert-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: #0A1628;
    margin-bottom: 8px
}

.cs-alert-msg {
    font-size: .88rem;
    color: #3A4D62;
    line-height: 1.6;
    margin-bottom: 22px
}

.cs-alert-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EEF7FC;
    color: #2FA8CE;
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 22px
}

.cs-alert-notify-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1A7EA0, #2FA8CE);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    margin-bottom: 10px;
    transition: opacity .18s
}

.cs-alert-notify-btn:hover {
    opacity: .88
}

.cs-alert-close-btn {
    width: 100%;
    padding: 11px;
    background: #F7F9FB;
    color: #7A8FA3;
    border: 1.5px solid #EEF7FC;
    border-radius: 99px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: background .18s
}

.cs-alert-close-btn:hover {
    background: #EEF7FC
}

/* MOBILE */
.mobile-share-float {
    display: none
}

@media(max-width:768px) {
    .main-grid {
        grid-template-columns: 1fr !important;
        padding: 16px 4%
    }

    .art-title {
        font-size: 1.4rem
    }

    .content-card {
        padding: 20px;
        border-radius: 16px
    }

    /* Floating share DIHILANGKAN — udah ada share bar inline ("BAGIKAN") di konten.
       Biar pojok bawah-kanan nggak sesak (cuma Live Chat + sticky player). */
    .mobile-share-float {
        display: none !important;
    }

    .float-share-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        color: #fff;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(10, 22, 40, .2);
        transition: transform .2s
    }

    .float-share-btn:hover {
        transform: scale(1.1)
    }

    .float-share-btn.wa {
        background: #25D366
    }

    .float-share-btn.tw {
        background: #1DA1F2
    }

    .float-share-btn.cp {
        background: #2FA8CE
    }

    body {
        padding-bottom: 100px
    }
}