.page-container {
    padding-top: 34px;
    min-height: 80vh;
}

.page-title,
.landing-title,
.article-title {
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--text-main);
}

.list-section {
    padding: 20px 0 0;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.list-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    cursor: pointer;
}

.list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.list-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--line);
}

.list-card:hover img {
    transform: scale(1.1);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
    gap: 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.02) 100%);
}

.card-body .date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body h2,
.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
    margin: 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.card-body h2 a,
.card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-body h2 a:hover,
.card-body h3 a:hover {
    color: var(--accent);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    margin-bottom: 24px;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--text-main);
    font-weight: 600;
}

.page-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.article-detail,
.show-landing {
    width: min(calc(100% - 32px), 1020px);
    margin: 0 auto;
}

.article-header {
    padding: 24px 0 28px;
    text-align: center;
}

.article-content,
.landing-content {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-panel);
    box-shadow: var(--shadow-md);
    color: var(--text-main);
    font-size: 1rem;
}

.article-content p,
.landing-content p {
    margin-bottom: 1.3rem;
    color: var(--text-muted);
}

.article-content h2,
.article-content h3,
.landing-content h2,
.landing-content h3,
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-main);
}

.article-content img,
.landing-content img {
    margin: 0 0 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.container[style*="margin-top: 6rem"] {
    margin-top: 38px !important;
    padding-top: 0;
}

.footer-brand img {
    filter: none;
}

/* Landing/Article classes */
.landing-hero-img {
    border-radius: 16px;
    margin-bottom: 2rem;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ad-wrapper-responsive img {
    width: 100%;
    height: auto;
    min-height: 100px;
    display: block;
}

@media (max-width: 768px) {
    .list-card img {
        height: 200px;
    }
    
    .landing-hero-img {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .article-detail,
    .show-landing,
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .page-container {
        padding-top: 16px;
    }

    .article-content,
    .landing-content {
        padding: 24px 16px;
        border-radius: var(--radius-md);
    }

    .list-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-wrap: wrap;
    }
}
