/* ===============
   PAGE HEADER (For Archives/Details)
   =============== */
.page-header {
    background-color: var(--card-bg);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-top: 50px;
}

/* ===============
   ARCHIVE LIST (list.html)
   =============== */
.archive-list {
    margin: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 40px;
}

.archive-item {
    background: linear-gradient(145deg, rgba(35, 13, 66, 0.8), rgba(62, 22, 99, 0.8));
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 0, 127, 0.3);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.archive-item:hover {
    transform: translateY(-10px);
    border-color: #00ffff;
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

.archive-item > a {
    display: block;
    overflow: hidden;
}

.archive-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.archive-item:hover .archive-img {
    transform: scale(1.08); /* slight zoom on hover */
}

.archive-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.archive-date {
    display: inline-block;
    color: #00ffff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.archive-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffd700;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.archive-item:hover .archive-title {
    color: #00ffff;
}

.archive-desc {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1; /* pushes button to bottom */
}

.btn-read-more {
    display: inline-block;
    align-self: flex-start;
    padding: 10px 25px;
    background: linear-gradient(45deg, #ff007f, #7a00ff);
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-read-more:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.5);
    text-decoration: none;
}

/* ===============
   PAGINATION
   =============== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: rgba(30, 10, 50, 0.8);
    border: 1px solid rgba(255, 0, 127, 0.3);
    border-radius: 8px;
    font-weight: 600;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: linear-gradient(45deg, #ff007f, #7a00ff);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4);
    transform: translateY(-2px);
}

/* ===============
   ARTICLE DETAIL (news.html)
   =============== */
.article-container {
    max-width: 900px;
    margin: 60px auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body p {
    margin-bottom: 25px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.article-body h2,
.article-body h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin: 40px 0 20px;
}

/* ===============
   SHOW/LANDING PAGE (show.html)
   =============== */
.landing-hero {
    padding: 100px 0;
    text-align: center;
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--primary-color);
}

.landing-content {
    max-width: 800px;
    margin: 60px auto;
    font-size: 1.15rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .archive-list {
        margin: 40px 0;
        gap: 25px;
    }

    .pagination {
        gap: 10px;
        flex-wrap: wrap;
    }

    .pagination a,
    .pagination span {
        min-width: 35px;
        height: 35px;
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .article-container {
        padding: 25px 20px;
        margin: 30px auto;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-body {
        font-size: 1.05rem;
    }

    .landing-hero {
        padding: 60px 0;
    }

    .landing-content {
        margin: 40px auto;
        font-size: 1.05rem;
    }
}