/* ===============
   SECTION TITLE (shared)
   =============== */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    text-align: center;
    margin: 56px 0 36px;
    color: var(--text);
    font-weight: 700;
    position: relative;
    letter-spacing: -0.3px;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ===============
   PAGE HEADER
   =============== */
.page-header {
    padding: 100px 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0, 200, 150, 0.08) 0%, transparent 70%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary);
    font-weight: 900;
    position: relative;
    z-index: 1;
    margin-top: 0;
    letter-spacing: -0.3px;
}

/* ===============
   ARCHIVE LIST
   =============== */
.archive-list {
    margin: 48px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 28px;
}

.archive-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}

.archive-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), var(--glow-gold);
}

.archive-item > a {
    display: block;
    overflow: hidden;
}

.archive-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.archive-item:hover .archive-img {
    transform: scale(1.06);
}

.archive-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.archive-date {
    display: inline-block;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.archive-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.35;
    font-weight: 700;
    transition: color var(--transition);
}

.archive-item:hover .archive-title {
    color: var(--primary);
}

.archive-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    padding: 8px 20px;
    background: transparent;
    color: var(--primary) !important;
    border: 1px solid var(--border-bright);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
}

.btn-read-more::after {
    content: '→';
    transition: transform var(--transition);
}

.btn-read-more:hover {
    background: var(--primary);
    color: var(--bg-deep) !important;
    border-color: var(--primary);
    box-shadow: var(--glow-gold);
}

.btn-read-more:hover::after {
    transform: translateX(3px);
}

/* ===============
   PAGINATION
   =============== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0 56px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

/* ===============
   ARTICLE DETAIL
   =============== */
.article-container {
    max-width: 860px;
    margin: 56px auto;
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.article-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

.article-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 14px;
    line-height: 1.25;
    color: var(--text);
    font-weight: 900;
}

.article-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-meta time {
    color: var(--accent);
    font-weight: 600;
}

.article-hero-img {
    margin: 0 0 28px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.article-hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
}

.article-body p { margin-bottom: 22px; }

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
    border: 1px solid var(--border);
}

.article-body h2,
.article-body h3 {
    font-family: var(--font-display);
    color: var(--primary);
    margin: 36px 0 16px;
}

/* ===============
   LANDING HERO (show.html)
   =============== */
.landing-hero {
    padding: 120px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.landing-content {
    max-width: 800px;
    margin: 56px auto;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ===============
   RESPONSIVE — resources
   =============== */

@media (max-width: 768px) {

    /* page header */
    .page-header { padding: 72px 0 32px; }

    /* archive */
    .archive-list {
        grid-template-columns: 1fr;
        margin: 28px 0;
        gap: 16px;
    }

    .archive-img { height: 190px; }

    .archive-content { padding: 18px 16px; }

    .archive-title { font-size: 1.05rem; }

    .archive-desc { font-size: 0.88rem; margin-bottom: 16px; }

    .btn-read-more {
        padding: 9px 18px;
        font-size: 0.8rem;
        min-height: 40px;
    }

    /* pagination */
    .pagination {
        gap: 8px;
        margin: 24px 0 36px;
    }

    .pagination a,
    .pagination span {
        min-width: 44px;
        height: 44px;
        padding: 0 14px;
        font-size: 0.88rem;
    }

    /* article */
    .article-container {
        padding: 24px 16px;
        margin: 20px auto;
        border-radius: 10px;
    }

    .article-title { font-size: 1.4rem; line-height: 1.3; }

    .article-body { font-size: 1rem; line-height: 1.75; }

    .article-body p { margin-bottom: 18px; }

    /* landing hero */
    .landing-hero { padding: 72px 0 40px; }

    .landing-content {
        margin: 28px auto;
        font-size: 0.95rem;
        padding: 0 4px;
    }
}

@media (max-width: 480px) {

    .archive-list { gap: 14px; }

    .archive-img { height: 170px; }

    .pagination a,
    .pagination span {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 0.82rem;
    }
}

