/* Tag index */
.tag-page {
    min-height: 70vh;
    background: #181818;
    color: #f3f0e8;
    padding-bottom: 90px;
}
.tag-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(74px, 10vw, 118px) 0 clamp(46px, 7vw, 78px);
    border-bottom: 1px solid rgba(255,255,255,.09);
    background: #181818;
}
.tag-hero::after {
    content: "";
    position: absolute;
    width: min(620px, 70vw);
    height: 420px;
    left: -110px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(216,173,74,.09), rgba(216,173,74,0) 70%);
    pointer-events: none;
}
.tag-hero-inner { position: relative; z-index: 1; max-width: 920px; }
.tag-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--dim-yellow, #d8ad4a);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.tag-title {
    margin: 0;
    color: #f3f0e8;
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.035em;
}
.tag-title span { color: var(--dim-yellow, #d8ad4a); }
.tag-intro {
    max-width: 650px;
    margin: 24px 0 0;
    color: #aaa79f;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
}
.tag-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: #d5d0c6;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tag-meta::before { content: ""; width: 30px; height: 1px; background: var(--dim-yellow, #d8ad4a); }
.tag-results { padding-top: 48px; }
.tag-results-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.tag-results-head h2 { margin: 0; color: #f3f0e8; font-size: 19px; font-weight: 500; }
.tag-results-head a { color: var(--dim-yellow, #d8ad4a); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.tag-results-head a:hover { color: #f3f0e8; }
.tag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tag-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #202020;
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.tag-card:hover { transform: translateY(-3px); border-color: rgba(216,173,74,.32); box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.tag-card-media { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: #242424; }
.tag-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tag-card:hover .tag-card-media img { transform: scale(1.025); }
.tag-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.tag-card-date { margin-bottom: 10px; color: #8f8c85; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.tag-card-title { margin: 0 0 12px; font-size: 22px; font-weight: 500; line-height: 1.22; }
.tag-card-title a { color: #f3f0e8; text-decoration: none; }
.tag-card-title a:hover { color: var(--dim-yellow, #d8ad4a); }
.tag-card-text { margin: 0 0 20px; color: #aaa79f; font-size: 14px; line-height: 1.65; }
.tag-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 4px; }
.tag-card-tag { color: #bbb6aa; font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.tag-card-tag + .tag-card-tag::before { content: "·"; margin-right: 7px; color: var(--dim-yellow, #d8ad4a); }
.tag-read { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--dim-yellow, #d8ad4a); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.tag-read span { transition: transform .2s ease; }
.tag-read:hover { color: #f3f0e8; }
.tag-read:hover span { transform: translateX(3px); }
.tag-empty {
    position: relative;
    overflow: hidden;
    max-width: 820px;
    margin: 22px 0 0;
    padding: clamp(42px, 7vw, 72px);
    background: #202020;
    border: 1px solid rgba(255,255,255,.08);
}
.tag-empty::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 260px;
    right: -150px;
    bottom: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216,173,74,.08), rgba(216,173,74,0) 70%);
    pointer-events: none;
}
.tag-empty-mark { display: flex; flex-direction: column; gap: 5px; width: 31px; margin-bottom: 24px; }
.tag-empty-mark span { display: block; height: 1px; background: var(--dim-yellow, #d8ad4a); }
.tag-empty-mark span:nth-child(2) { width: 22px; }
.tag-empty-mark span:nth-child(3) { width: 13px; }
.tag-empty-kicker { display: block; margin-bottom: 12px; color: var(--dim-yellow, #d8ad4a); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.tag-empty h2 { margin: 0; color: #f3f0e8; font-size: clamp(28px, 4vw, 42px); font-weight: 500; letter-spacing: -.025em; }
.tag-empty p { max-width: 570px; margin: 16px 0 0; color: #aaa79f; font-size: 15px; line-height: 1.7; }
.tag-empty p strong { color: #d5d0c6; font-weight: 500; }
.tag-empty-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tag-empty-actions a,
.tag-empty-explore { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 17px; border: 1px solid rgba(216,173,74,.42); background: transparent; color: var(--dim-yellow, #d8ad4a); font: inherit; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.tag-empty-actions a:hover,
.tag-empty-explore:hover { background: var(--dim-yellow, #d8ad4a); border-color: var(--dim-yellow, #d8ad4a); color: #181818; }
.tag-empty-actions a:focus-visible,
.tag-empty-explore:focus-visible { outline: 2px solid var(--dim-yellow, #d8ad4a); outline-offset: 3px; }
.tag-page .pagination { margin-top: 46px; gap: 6px; }
.tag-page .page-link { min-width: 38px; border: 1px solid rgba(255,255,255,.1) !important; background: #202020 !important; color: #d5d0c6 !important; text-align: center; box-shadow: none !important; }
.tag-page .page-item.active .page-link { border-color: var(--dim-yellow, #d8ad4a) !important; background: var(--dim-yellow, #d8ad4a) !important; color: #181818 !important; }
.tag-page .page-link:hover { border-color: rgba(216,173,74,.5) !important; color: var(--dim-yellow, #d8ad4a) !important; }
@media (max-width: 991px) { .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .tag-hero { padding-top: 58px; }
    .tag-grid { grid-template-columns: 1fr; }
    .tag-results-head { align-items: flex-start; flex-direction: column; }
    .tag-card-body { padding: 20px; }
    .tag-empty { padding: 34px 24px; }
    .tag-empty-actions { flex-direction: column; align-items: stretch; }
    .tag-empty-actions a, .tag-empty-explore { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .tag-card, .tag-card-media img, .tag-read span, .tag-empty-actions a, .tag-empty-explore { transition: none; } }
