/* VRL /tags/ page - loaded only by template.tags.php (kept out of overwrite.css on purpose) */
.page-tags .title-col { display: none; }               /* the "Tags" header h2 duplicates the page H1 */
.page-tags .alphabet-col { display: none; }

.vrl-tags { width: 100%; max-width: 100%; min-width: 0; padding: 10px 0 40px; font-family: 'Lato', sans-serif; color: #fff; }
.vrl-tags *, .vrl-tags *::before, .vrl-tags *::after { box-sizing: border-box; }

.vrl-tags-intro { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.vrl-tags-h1 { font-size: 40px; line-height: 1.15; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 12px; color: #fff; }
.vrl-tags-lead { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0 0 22px; }
.vrl-tags-search { max-width: 420px; margin: 0 auto; position: relative; }
.vrl-tags-search input {
    width: 100%; height: 46px; padding: 0 18px 0 44px; border-radius: 23px;
    border: 1px solid rgba(255,255,255,.14); background: #262022 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23DF1D65' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 16px 50%;
    color: #fff; font: 400 15px 'Lato', sans-serif; outline: none; transition: border-color .2s, box-shadow .2s;
}
.vrl-tags-search input::placeholder { color: rgba(255,255,255,.45); }
.vrl-tags-search input:focus { border-color: #DF1D65; box-shadow: 0 0 0 3px rgba(223,29,101,.25); }

.vrl-tags-sec { margin: 0 0 48px; min-width: 0; max-width: 100%; }
.vrl-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.vrl-sec-titles { position: relative; padding-top: 14px; }
.vrl-sec-titles::before { content: ''; position: absolute; top: 0; left: 0; width: 56px; height: 2px; background: #DF1D65; }
.vrl-sec-kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #DF1D65; margin-bottom: 6px; }
.vrl-sec-title { font-size: 30px; line-height: 1.1; font-weight: 900; text-transform: uppercase; margin: 0; color: #fff; }
.vrl-sec-text { margin: 0; max-width: 360px; text-align: right; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.6); }

.vrl-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; }
.vrl-az a, .vrl-az span { min-width: 34px; height: 34px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.vrl-az a { background: #262022; color: #fff; transition: background .2s, color .2s; }
.vrl-az a:hover, .vrl-az a:focus { background: #DF1D65; color: #fff; }
.vrl-az span.-off { color: rgba(255,255,255,.2); }

.vrl-letter-group { margin: 0 0 30px; scroll-margin-top: 90px; }
.vrl-letter { font-size: 22px; font-weight: 900; color: #DF1D65; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }

.vrl-tag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.vrl-tag-card { display: block; text-decoration: none; color: #fff; transition: transform .3s ease; }
.vrl-tag-card:hover, .vrl-tag-card:focus { transform: translateY(-4px); color: #fff; text-decoration: none; }
.vrl-tag-thumb { display: block; position: relative; aspect-ratio: 325 / 180; overflow: hidden; border-radius: 10px; background: #262022; }
.vrl-tag-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vrl-tag-thumb::after { content: ''; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .3s; }
.vrl-tag-card:hover .vrl-tag-thumb img { transform: scale(1.05); }
.vrl-tag-card:hover .vrl-tag-thumb::after, .vrl-tag-card:focus .vrl-tag-thumb::after { box-shadow: inset 0 0 0 2px #DF1D65; }
.vrl-tag-letter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 900; color: rgba(223,29,101,.6); }
.vrl-tag-info { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 2px 0; }
.vrl-tag-name { font-size: 14px; font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrl-tag-count { flex: 0 0 auto; font-size: 11px; color: rgba(255,255,255,.6); white-space: nowrap; }
.vrl-tag-card:hover .vrl-tag-name { color: #ff7fae; }

.vrl-tag-grid.-featured .vrl-tag-thumb { box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.vrl-tag-grid.-featured .vrl-tag-thumb::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.vrl-tag-grid.-featured .vrl-tag-name { font-size: 15px; }

.vrl-tags-none, .vrl-tags-empty { text-align: center; color: rgba(255,255,255,.6); font-size: 16px; padding: 30px 0; }

@media (min-width: 640px) {
    .vrl-tag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
    .vrl-tag-name { font-size: 15px; }
    .vrl-tag-count { font-size: 12px; }
}
@media (min-width: 1024px) {
    .vrl-tag-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
    .vrl-tag-grid.-featured { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .vrl-tag-grid.-featured .vrl-tag-name { font-size: 17px; }
}
@media (min-width: 1280px) {
    .vrl-tag-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 18px; }
    .vrl-tag-name { font-size: 16px; }
    .vrl-tag-count { font-size: 13px; }
}
@media (max-width: 767px) {
    .vrl-tags { padding-left: 12px; padding-right: 12px; }
    /* VRL Nov 2026 (head1): keep the H1 clear of the fixed mobile header */
    .vrl-tags { padding-top: 24px; }
    .vrl-tags-h1 { font-size: 28px; }
    .vrl-tags-lead { font-size: 15px; }
    .vrl-sec-head { display: block; }
    .vrl-sec-title { font-size: 24px; }
    .vrl-sec-text { text-align: left; margin-top: 8px; }
    .vrl-az { max-width: calc(100vw - 30px); flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
    .vrl-az a, .vrl-az span { flex: 0 0 auto; }
}
/* VRL Nov 2026 (head1): below 375px the mobile header wraps to two rows (~116px) */
@media (max-width: 374px) {
    .vrl-tags { padding-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    .vrl-tag-card, .vrl-tag-thumb img { transition: none; }
}
