/* ===============
   LANDING HERO (show.html)
   =============== */
.landing-hero {
    padding: 110px 0 72px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

/* Diagonal right panel */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #111111 0%, #1a1408 100%);
    clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

/* Gold grid overlay */
.landing-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,162,39,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,162,39,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.landing-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.landing-hero-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.landing-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,162,39,0.1);
    border: 1px solid rgba(201,162,39,0.3);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    width: fit-content;
}

.landing-hero-eyebrow::before { content: '♦'; font-size: 8px; }

.page-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--text);
}

.page-title span {
    display: block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 60%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle,
.landing-hero-text p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.8;
    max-width: 480px;
    font-weight: 500;
}

.landing-hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-hero-img-frame {
    position: relative;
    display: inline-block;
}

.landing-hero-img-frame::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(201,162,39,0.2);
    z-index: 0;
}

.landing-hero-img img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    max-height: 340px;
    box-shadow: 0 24px 56px rgba(0,0,0,0.6), var(--glow);
    position: relative;
    z-index: 1;
}

/* ===============
   PAGE HEADER (generic)
   =============== */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    margin-top: 72px;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* ===============
   ARCHIVE LIST
   =============== */
.archive-list {
    margin: 48px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
}

.archive-item {
    background: var(--bg-card-solid);
    overflow: hidden;
    transition: background var(--speed), box-shadow var(--speed);
    position: relative;
}

.archive-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--speed);
    z-index: 2;
}

.archive-item:hover::before { transform: scaleX(1); }

.archive-item:hover {
    background: rgba(201,162,39,0.04);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    z-index: 2;
}

.archive-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.85) saturate(0.8);
}

.archive-item:hover .archive-img {
    transform: scale(1.04);
    filter: brightness(1) saturate(1);
}

.archive-item > a:first-child { display: block; overflow: hidden; }

.archive-content {
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

.archive-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.archive-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--text);
    transition: color var(--speed);
}

.archive-item:hover .archive-title { color: var(--primary-light); }

.archive-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.65;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    transition: background var(--speed), color var(--speed), box-shadow var(--speed);
}

.btn-read-more:hover {
    background: var(--primary);
    color: #080808;
    box-shadow: var(--glow);
}

/* ===============
   PAGINATION
   =============== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 40px 0 72px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-light);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: background var(--speed), color var(--speed), border-color var(--speed);
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.pagination a:hover {
    background: var(--primary);
    color: #080808;
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.pagination span.current {
    background: rgba(201,162,39,0.12);
    color: var(--primary);
    border-color: rgba(201,162,39,0.35);
}

/* ===============
   ARTICLE CONTAINER
   =============== */
.article-container {
    max-width: 880px;
    margin: 64px auto;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-light);
    padding: 52px;
    position: relative;
}

.article-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
}

.article-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

.article-title {
    font-family: var(--font-head);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text);
}

.article-meta {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-meta::before {
    content: '◆';
    color: var(--primary);
    font-size: 0.5rem;
}

.article-hero-img {
    margin-bottom: 36px;
    overflow: hidden;
}

.article-hero-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.4s ease;
}

.article-hero-img img:hover { filter: brightness(1); }

/* ===============
   ARTICLE BODY (rich text)
   =============== */
.article-body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-light);
    font-weight: 500;
}

.article-body p {
    margin-bottom: 22px;
    color: var(--text-muted);
}

.article-body h2 {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 900;
    color: var(--text);
    margin: 44px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.article-body h2::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 40px; height: 2px;
    background: var(--primary);
}

.article-body h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 12px;
}

.article-body h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin: 24px 0 8px;
    letter-spacing: 0.3px;
}

.article-body a {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1px solid rgba(201,162,39,0.3);
    transition: color var(--speed), border-color var(--speed);
}

.article-body a:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}

.article-body ul,
.article-body ol {
    margin: 0 0 22px 0;
    padding-left: 0;
    list-style: none;
}

.article-body ul li,
.article-body ol li {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.75;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    font-weight: 500;
}

.article-body ul li:last-child,
.article-body ol li:last-child { border-bottom: none; }

.article-body ul li::before {
    content: '◆';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.45rem;
}

.article-body ol { counter-reset: article-counter; }
.article-body ol li { counter-increment: article-counter; }
.article-body ol li::before {
    content: counter(article-counter, decimal-leading-zero);
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    font-family: var(--font-head);
}

.article-body blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    background: rgba(201,162,39,0.05);
    border-left: 3px solid var(--primary);
    color: var(--text-light);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 28px 0;
    filter: brightness(0.9);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 0.9rem;
}

.article-body th {
    background: rgba(201,162,39,0.08);
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--primary);
}

.article-body td {
    padding: 12px 16px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    font-weight: 500;
}

.article-body tr:hover td {
    background: rgba(201,162,39,0.03);
}

/* ===============
   RELATED SECTION TITLE (show.html)
   =============== */
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    text-align: center;
    margin: 80px 0 12px;
    color: var(--text);
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.section-label {
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 900px) {
    .landing-hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .landing-hero::before { display: none; }
    .landing-hero-img { max-width: 320px; margin: 0 auto; }
    .landing-hero-img img { max-height: 260px; }
    .article-container { padding: 28px 20px; margin: 36px auto; }
    .archive-list { margin: 32px 0; }
}

@media (max-width: 768px) {
    .landing-hero { padding: 100px 0 56px; }
    .page-header { padding: 80px 0 48px; }
    .pagination { gap: 6px; }
}

@media (max-width: 480px) {
    .archive-list { grid-template-columns: 1fr; gap: 1px; }
    .article-body h2 { font-size: 1.2rem; }
}
