/* ==========================================================================
   Show / Inner Page Stylesheet — Mobile App UI Layout
   ========================================================================== */

/* ── Breadcrumb ── */
.breadcrumb {
    padding: 14px 16px;
    width: 100%;
    max-width: var(--mobile-width);
    margin: 0 auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: #cbd5e1;
}

/* ── Hero Banner (Show Page) ── */
.hero-banner {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
    filter: blur(2px);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 29, 21, 0.7) 0%, rgba(18, 29, 21, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 30px 16px;
    text-align: center;
}

.hero-title {
    font-size: 1.65rem;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.hero-description {
    font-size: 0.875rem;
    color: var(--text-light-muted);
    line-height: 1.55;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.hero-actions .btn {
    width: 100%;
    padding: 11px 18px;
    font-size: 0.85rem;
}

/* ── Page Wrap & Content ── */
.page-wrap {
    width: 100%;
    padding: 24px 16px 40px;
}

.featured-image-container {
    margin-bottom: 22px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    background: #ffffff;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.article-lead {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 14px 16px;
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.show-body {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 30px;
}

.show-body h2,
.show-body h3 {
    margin: 24px 0 10px;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.show-body p {
    margin-bottom: 16px;
}

.show-body ul,
.show-body ol {
    margin: 14px 0 18px 20px;
}

.show-body li {
    margin-bottom: 6px;
}

.page-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 24px 0 32px;
    width: 100%;
}

.page-actions .btn {
    width: 100%;
}

/* ── Related Section (2 Columns Mobile Game Grid) ── */
.related-section {
    margin-top: 36px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.related-title {
    font-size: 1.45rem;
    margin-bottom: 4px;
    color: var(--text-dark);
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.related-item {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
}

.related-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eaeaea;
}

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

.related-info {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-item-title {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-item-desc {
    font-size: 0.725rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.related-arrow {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}
