/* ── Mobile-Only Resources: Show & Article Pages ── */

.page-container {
    padding: 12px 0 24px;
    min-height: 80vh;
}

.show-landing {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-xs);
}

.article-hero {
    margin: -14px -12px 14px -12px;
    max-height: 240px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: #0d213a;
}

.article-hero .hero-img {
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: cover;
}

.article-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta .tag {
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.landing-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.3;
}

.landing-content.rich-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 18px;
}

.landing-content.rich-text p {
    margin-bottom: 12px;
}

.landing-content.rich-text h2,
.landing-content.rich-text h3 {
    margin: 16px 0 8px;
    color: var(--text-heading);
    font-weight: 800;
    font-size: 15px;
}

.landing-content.rich-text ul,
.landing-content.rich-text ol {
    margin: 0 0 12px 18px;
}

.landing-content.rich-text li {
    margin-bottom: 4px;
}

.action-buttons {
    display: flex;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.action-buttons .btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6a00 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.action-buttons .btn-secondary {
    flex: 1;
    background: #f1f5f9;
    color: var(--color-secondary);
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ── Back to Home Buttons ── */
.back-to-home-bar {
    margin-bottom: 12px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-secondary);
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.btn-back-home:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: #f8fafc;
    transform: translateX(-2px);
}

.btn-home-return {
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-secondary);
    background: #f8fafc;
    border: 1px dashed var(--border-color);
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-home-return:hover {
    background: #f1f5f9;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ── Related Articles (Mobile) ── */
.list-section {
    margin-bottom: 18px;
}

.list-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    display: flex;
    gap: 10px;
    padding: 8px;
}

.list-card img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.list-card .card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.list-card .card-body h3 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
}

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

.list-card .card-body p {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
