/* ==========================================================================
   Resources CSS (Article / Show Page - Mobile Locked Viewport)
   ========================================================================== */

.page-container {
    padding-top: 1rem;
    padding-bottom: 2rem;
    background-color: var(--bg-page);
    width: 100%;
}

.article-header {
    text-align: center;
    margin: 0.8rem auto 1.4rem;
    background: linear-gradient(135deg, #1e3d31 0%, #2f5446 100%);
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.article-header .section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 191, 41, 0.18);
    color: var(--accent-gold);
    border: 1px solid rgba(249, 191, 41, 0.35);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 0.8rem;
}

.landing-title,
.article-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: #ffffff;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.landing-subtitle {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
}

/* Article & Landing Content Card */
.show-landing,
.article-detail {
    padding: 0;
}

.landing-content,
.article-content {
    background: var(--bg-white);
    padding: 1.5rem 1.2rem;
    border-radius: var(--radius-md);
    line-height: 1.75;
    color: #334155;
    font-size: 0.92rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.landing-content h2,
.article-content h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 1.8rem 0 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-light);
}

.landing-content h3,
.article-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1.4rem 0 0.6rem;
}

.landing-content p,
.article-content p {
    margin-bottom: 1.2rem;
    color: #334155;
}

.landing-content img,
.article-content img {
    margin: 1.5rem auto;
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.landing-content ul,
.article-content ul,
.landing-content ol,
.article-content ol {
    margin: 1rem 0 1.2rem 1.4rem;
    color: var(--text-body);
}

.landing-content li,
.article-content li {
    margin-bottom: 0.4rem;
    line-height: 1.55;
}

.meta-info {
    margin-bottom: 1.2rem;
    font-size: 0.82rem;
    color: #52605b;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-light);
}

.meta-info a {
    color: var(--primary-color);
    font-weight: 700;
}

/* Related Suggestions / List Cards */
.list-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--text-heading);
    text-align: center;
}

.list-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.list-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.list-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.card-body {
    padding: 1.2rem 1rem;
}

.card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.card-body h3 a {
    color: var(--text-heading);
}

.card-body p {
    color: var(--text-body);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* ==========================================================================
   Back to Home Navigation
   ========================================================================== */
.back-nav-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.8rem;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background-color: var(--bg-white);
    color: var(--primary-color);
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-back-home:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    transform: translateX(-3px);
}

.btn-back-home i {
    font-size: 0.78rem;
    transition: var(--transition);
}

.article-bottom-actions {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--border-color);
    display: flex;
    justify-content: center;
}

.btn-bottom-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.btn-bottom-home:hover {
    background: linear-gradient(135deg, var(--primary-dark), #1b2e26);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}