/* ===================================================================
   RESOURCES & SHOW PAGE STYLES - MOBILE-FIRST CASINO INDONESIA
   =================================================================== */

.page-container {
    padding: 1.5rem 0 4rem;
    min-height: 70vh;
    background: #FAF7F2;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Show Landing Header */
.show-landing {
    padding-top: 0.5rem;
    padding-bottom: 2.5rem;
}

/* Breadcrumb & Back to Home */
.breadcrumb-back-bar {
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(168, 88, 46, 0.08);
    border: 1px solid rgba(168, 88, 46, 0.2);
    padding: 0.42rem 0.95rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
}

.btn-back-home:hover {
    background: var(--color-primary);
    color: #FFFFFF;
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(168, 88, 46, 0.25);
}

.btn-back-home .back-icon {
    font-size: 1rem;
    line-height: 1;
}

.show-bottom-nav {
    margin-top: 1.25rem;
    margin-bottom: 1.8rem;
    text-align: center;
}

.btn-back-home-bottom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.82rem 1.2rem;
    background: #FFFFFF;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
}

.btn-back-home-bottom:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #FAF7F2;
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.landing-header-wrap {
    text-align: center;
    margin-bottom: 1.8rem;
}

.landing-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-top: 0.75rem;
    margin-bottom: 0.85rem;
}

.landing-content {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.2rem;
    box-shadow: var(--shadow-subtle);
    line-height: 1.75;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.landing-content img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    margin: 0 auto 1.6rem;
    max-height: 260px;
    width: 100%;
    object-fit: cover;
}

.landing-content h2,
.landing-content h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 1.4rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

.landing-content ul {
    list-style: disc;
    padding-left: 1.4rem;
    margin-bottom: 1.4rem;
}

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

/* In-Article Promo CTA */
.in-article-cta {
    text-align: center;
    margin: 2.2rem 0 1rem;
    padding: 2.2rem 1.2rem;
    background: linear-gradient(145deg, #2D1A10 0%, #462414 45%, #7E3E1F 100%);
    border-radius: var(--radius-lg);
    color: #FAF5EE;
}

.in-article-cta h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.in-article-cta p {
    color: rgba(250, 245, 238, 0.85);
    margin-bottom: 1.4rem;
    font-size: 0.85rem;
    line-height: 1.55;
}

.in-article-cta .btn-primary {
    background: #FFFFFF;
    color: var(--color-primary-deep);
    width: 100%;
}

/* Gallery Section (2-Column Mobile Grid strictly constrained to container) */
.gallery-section {
    padding: 2.5rem 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.gallery-card-link {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
}

.gallery-card {
    background: #FAF7F2;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    transition: var(--transition-fast);
}

.gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
}

.gallery-card img {
    width: 100%;
    max-width: 100%;
    height: 115px;
    object-fit: cover;
    display: block;
}

.gallery-info {
    padding: 0.75rem 0.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.gallery-info h3 {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.gallery-info p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
