/* ============================================================
   Carton Castle - Blog & Article Page Styles
============================================================ */

/* ---- Page Banner (duplicated so this file is standalone) ---- */
.page-banner {
    min-height: 45vh;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    background:
        linear-gradient(rgba(26, 18, 13, 0.75), rgba(26, 18, 13, 0.75)),
        url('../images/wallpaper.png') center center / cover no-repeat;
}

.page-banner-sm {
    min-height: 25vh;
}

.page-banner .breadcrumb {
    display: flex;
    gap: .5rem;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: var(--gold-light);
}

.page-banner .breadcrumb-item a {
    color: var(--gold-light);
    text-decoration: none;
}

.page-banner .breadcrumb-item a:hover {
    color: #fff;
}

.page-banner .breadcrumb-item.active {
    color: #fff;
}

/* ---- CTA ---- */
.blog-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #2a1c12 100%);
}

/* ============================================================
   Article Page
============================================================ */

/* Hidden by default; article.js reveals the matching panel */
.article-panel {
    display: none;
}

.article-panel.active-panel {
    display: block;
}

.static-tag {
    position: static;
    display: inline-block;
}

.article-meta {
    color: var(--text);
    font-size: .95rem;
}

.article-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 1rem;
}

.article-body p {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.article-share {
    border-top: 1px solid rgba(169, 126, 84, 0.2);
    padding-top: 1.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(205, 161, 100, 0.12);
    color: var(--main);
    margin-inline-end: 10px;
    font-size: 1.1rem;
    transition: background .3s ease, color .3s ease;
}

.share-btn:hover {
    background: var(--main);
    color: #fff;
}

.related-link {
    display: block;
    padding: 1rem 1.25rem;
    border-radius: .75rem;
    background: #f7f7f7;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: background .3s ease;
}

.related-link:hover {
    background: rgba(205, 161, 100, 0.15);
    color: var(--dark);
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .page-banner {
        min-height: 35vh;
    }

    .page-banner-sm {
        min-height: 20vh;
    }

    .article-cover {
        max-height: 260px;
    }
}
