/* ============================================
   ROYAL CASINO — Resources (show / list / news)
   Matches dark luxury gold theme from common.css
============================================ */

/* ── Page base ── */
.page-container {
    padding: 2.5rem 0 4rem;
    min-height: 70vh;
    background: var(--bg-black);
}

.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: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2.5rem;
    line-height: 1.25;
}

.landing-title { font-size: 2.2rem; margin-bottom: 1.8rem; }

.page-title::after,
.landing-title::after,
.article-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 99px;
}

/* ── Show page (simple single column) ── */
.show-landing {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.show-cover {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    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;
    gap: 0.5rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0a0f;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.85rem 2rem;
    border-radius: 99px;
    box-shadow: 0 4px 20px rgba(201,168,76,0.35);
    transition: var(--transition);
}

.landing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(201,168,76,0.55);
    color: #0a0a0f;
}

/* Rich content area (CMS-injected HTML) */
.landing-content {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    margin-bottom: 3rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-size: 1rem;
}

.landing-content h2,
.landing-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-white);
    margin: 2rem 0 0.8rem;
}

.landing-content h2 { font-size: 1.6rem; }
.landing-content h3 { font-size: 1.3rem; color: var(--gold); }

.landing-content p  { margin-bottom: 1.2rem; }

.landing-content a  { color: var(--gold); text-decoration: underline; }
.landing-content a:hover { color: var(--gold-light); }

.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-gold);
    box-shadow: var(--shadow-dark);
    max-width: 100%;
}

.landing-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.landing-content th {
    background: rgba(201,168,76,0.12);
    color: var(--gold);
    font-weight: 700;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gold);
    text-align: left;
}

.landing-content td {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(201,168,76,0.15);
    color: var(--text-muted);
}

.landing-content tr:hover td { background: rgba(201,168,76,0.04); }

.show-landing .landing-cta {
    display: table;
    margin: 2rem auto 0;
}

/* ── Related articles section ── */
.related-section {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-gold);
    margin-top: 1rem;
}

/* ── List page ── */
.list-section { padding: 3rem 0; }

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.list-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-gold);
}

.list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold);
}

.list-card img {
    width: 100%; height: 210px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.list-card:hover img { transform: scale(1.06); }

.card-body { padding: 1.5rem; }

.card-body .date {
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
    display: inline-block;
}

.card-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.card-body h2 a:hover { color: var(--gold); }

.card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.7rem 1.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
}

.page-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0a0f;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ── Article detail (news page) ── */
.article-detail {
    max-width: 860px;
    margin: 0 auto 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.article-header {
    padding: 2.5rem 3rem 2rem;
    border-bottom: 1px solid var(--border-gold);
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card2) 0%, var(--bg-card) 100%);
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.article-meta .meta-date {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.article-content {
    padding: 2.5rem 3rem;
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.article-content > img:first-child {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    border: 1px solid var(--border-gold);
}

.article-content p  { margin-bottom: 1.4rem; }

.article-content h2,
.article-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-white);
    margin: 2rem 0 0.8rem;
}

.article-content h2 { font-size: 1.55rem; }
.article-content h3 { font-size: 1.25rem; color: var(--gold); }

.article-content a  { color: var(--gold); text-decoration: underline; }
.article-content a:hover { color: var(--gold-light); }

.article-content ul,
.article-content ol {
    margin: 0.5rem 0 1.4rem 1.5rem;
    list-style: disc;
}

.article-content li { margin-bottom: 0.5rem; }

.article-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-dark);
    max-width: 100%;
}

/* ── Breadcrumb ── */
.breadcrumb {
    padding: 1.2rem 0;
    font-size: 0.85rem;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.4rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--gold);
    font-weight: 600;
}

.breadcrumb a:hover { color: var(--gold-light); }

.breadcrumb li[aria-current="page"] {
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .page-container { padding: 1.5rem 0 3rem; }

    .show-cover { max-height: 240px; }

    .page-title,
    .landing-title,
    .article-title { font-size: 1.7rem; margin-bottom: 1.8rem; }

    .landing-content { padding: 1.5rem; }

    .list-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2rem; }
    .list-card img { height: 185px; }
    .card-body { padding: 1.25rem; }
    .card-body h2 { font-size: 1.1rem; }

    .article-header  { padding: 1.5rem; }
    .article-content { padding: 1.5rem; font-size: 0.98rem; }
    .article-title   { font-size: 1.55rem; }

    .pagination { flex-direction: column; align-items: center; }
    .page-btn   { width: min(380px, 92%); text-align: center; }

}

@media (max-width: 480px) {
    .page-title,
    .landing-title,
    .article-title { font-size: 1.4rem; }
    .landing-content { padding: 1.1rem; }
}