/* ============================================
   CASINO ONLINE INDONESIA — Resources (show / list / news)
   Matches the clean emerald green & light slate SaaS aesthetic
============================================ */

/* ── Page base ── */
.page-container {
    padding: 2.5rem 0 4rem;
    min-height: 70vh;
    background: var(--bg-light);
}

.list-page .page-container,
.show-page .page-container,
.news-page .page-container { padding-top: 2rem; }
.news-page .article-detail  { margin-top: 0; }

/* ── Page / article titles ── */
.page-title,
.landing-title,
.article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    position: relative;
    display: block;
    margin: 0 auto 2.5rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.landing-title { font-size: 2.2rem; margin-bottom: 1.8rem; }

/* ── Show page (simple single column) ── */
.show-landing {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

/* ── Back to Home button ── */
.show-top-nav {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
}

.btn-back-home svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

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

.show-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
    width: 100%;
}

.show-action-buttons .landing-cta {
    margin-top: 0;
    width: 100%;
    text-align: center;
}

.btn-back-home-bottom {
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
}

.btn-back-home-bottom:hover {
    transform: translateY(-2px);
}

.show-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-medium);
    margin-bottom: 1.5rem;
}

.show-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    text-align: center;
}

/* CTA button inside show page */
.landing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-green);
    transition: var(--transition);
}

.landing-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(22, 163, 74, 0.45);
    color: #ffffff;
}

/* Rich content area (CMS-injected HTML) */
.landing-content {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    margin-bottom: 3rem;
    line-height: 1.85;
    color: var(--text-body);
    font-size: 1.02rem;
}

.landing-content h2,
.landing-content h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    margin: 2rem 0 0.8rem;
    font-weight: 700;
}

.landing-content h2 { font-size: 1.6rem; }
.landing-content h3 { font-size: 1.3rem; color: var(--primary); }

.landing-content p  { margin-bottom: 1.2rem; }

.landing-content a  { color: var(--primary); text-decoration: underline; font-weight: 600; }
.landing-content a:hover { color: var(--primary-hover); }

.landing-content ul,
.landing-content ol {
    margin: 0.5rem 0 1.2rem 1.5rem;
    list-style: disc;
}

.landing-content li { margin-bottom: 0.5rem; }

.landing-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    max-width: 100%;
}

.landing-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.landing-content th {
    background: var(--primary-subtle);
    color: var(--primary);
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    text-align: left;
    font-weight: 700;
}

.landing-content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    color: var(--text-body);
}

.landing-content tr:nth-child(even) {
    background: var(--bg-light);
}

.related-section {
    margin-top: 3.5rem;
}
