/* =========================================================
   RESOURCES & SHOW PAGE STYLES — MODERN THEME
   Harmonized with Light Modern Tech-Casino UI
   ========================================================= */

header {
    background: #ffffff;
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.page-container {
    padding-top: calc(var(--header-total) + 1.5rem);
    min-height: 80vh;
    background: var(--clr-bg);
}

.ambient-background {
    display: none;
}

/* Page Hero Section */
.page-hero {
    padding: 2.5rem 0 3.5rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #4f46e5 100%);
    color: #ffffff;
    text-align: center;
    border-radius: var(--radius-xl);
    margin-bottom: 3.5rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #bfdbfe;
}

.breadcrumb-nav a {
    color: #e2e8f0;
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: #fbbf24;
}

.breadcrumb-nav span {
    opacity: 0.6;
}

.page-title,
.landing-title,
.article-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 0;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.2;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: #e2e8f0;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.hero-meta-item i {
    color: #fbbf24;
}

/* Article Container & Readability */
.article-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

.article-main-visual {
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--clr-border);
    background: #ffffff;
}

.article-main-visual img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.article-body {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    box-shadow: var(--shadow-card);
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--clr-text);
    overflow-wrap: break-word;
    word-break: break-word;
}

.article-body p {
    margin-bottom: 1.75rem;
    text-align: justify;
    color: #334155;
}

.article-body h2, 
.article-body h3 {
    color: var(--clr-text);
    margin: 2.5rem 0 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: #eff6ff;
    border-left: 4px solid var(--clr-primary);
    font-style: italic;
    font-size: 1.15rem;
    color: #1e3a8a;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Recommendations Grid */
.news-grid-glow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.news-card-glow {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.news-card-glow:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow-hover);
}

.news-glow-img {
    height: 190px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    position: relative;
    background: #f1f5f9;
}

.news-glow-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-glow:hover .news-glow-img img {
    transform: scale(1.06);
}

.news-glow-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    line-height: 1.4;
    font-weight: 700;
}

.news-glow-content h3 a {
    color: var(--clr-text);
}

.news-glow-content h3 a:hover {
    color: var(--clr-primary);
}

.news-glow-content p {
    color: var(--clr-text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-glow-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--clr-border-light);
}

.read-more-glow {
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-glow:hover {
    color: var(--clr-primary-dark);
    gap: 12px;
}

@media (max-width: 992px) {
    .news-grid-glow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 1rem 3rem;
        margin-bottom: 2rem;
    }
    
    .news-grid-glow {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        padding: 1.75rem 1.25rem;
        font-size: 1rem;
    }
    
    .article-container {
        padding: 0 1rem 4rem;
    }
}
