/* HALO article-detail layout — namespaced with halo- to avoid clashing with
   bootstrap/.btn and existing site classes on this page. */

.halo-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 15px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 25px;
    align-items: start;
}

.halo-article {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.15) 0px 7px 29px 0px;
}

.halo-category {
    display: inline-block;
    background: #22C7E5;
    color: #fff;
    padding: 8px 18px;
    margin: 30px 0px 0;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: .5px;
}

.halo-hero {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
    display: block;
    margin-top: 20px;
}

.halo-article-meta {
    padding: 20px 0px 0;
    color: #64748B;
    font-size: 14px;
}

.halo-article-title {
    padding: 10px 0px;
    font-size: 42px;
    line-height: 1.15;
    color: #263341;
    font-weight: 800;
}

.halo-intro {
    padding: 10px 0px 25px;
    font-size: 20px;
    color: #475569;
}

.halo-article-body {
    padding: 0 0px 40px;
    color: #334155;
    line-height: 1.8;
}

.halo-article-body h2 {
    margin-top: 35px;
    color: #23296D;
}

.halo-article-body ul {
    padding-left: 25px;
}

/* SIDEBAR */

.halo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.halo-widget {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.15) 0px 7px 29px 0px;
}

.halo-widget-title {
    text-transform: uppercase;
    color: #22C7E5;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 12px;
}

.halo-profile-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    background: #D8E2EE;
    margin-bottom: 15px;
}

.halo-score {
    font-weight: bold;
    margin: 10px 0;
    color: #23296D;
}

.halo-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: #22C7E5;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
}

.halo-btn:hover {
    color: #fff;
    opacity: .9;
}

.halo-ad-box {
    height: 250px;
    border: 2px dashed #CBD5E1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: #64748B;
    border-radius: 10px;
}

.halo-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.halo-related-list li {
    margin-bottom: 10px;
}

.halo-related-list a {
    color: #23296D;
    font-weight: 600;
    text-decoration: none;
}

.halo-related-list a:hover {
    text-decoration: underline;
}

.halo-community {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.15) 0px 7px 29px 0px;
}

.halo-community-header {
    background: #E11D48;
    color: #fff;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: bold;
}

.halo-community-body {
    max-height: 320px;
    overflow-y: auto;
    padding: 10px 20px;
}

.halo-community-empty {
    padding: 15px 0;
    color: #64748B;
    font-size: 14px;
}

.halo-community-actions {
    padding: 15px 20px 20px;
}

@media (max-width: 1000px) {
    .halo-page {
        grid-template-columns: 1fr;
    }

    .halo-article-title {
        font-size: 30px;
    }

    .halo-hero {
        height: 260px;
    }
}
