/* ═══════════════════════════════════════════════════
   DETAIL PAGES — shared stylesheet for:
     single-service.php    single-location.php
     archive-career.php    single-career.php
     archive-resource.php  single-resource.php
   These share the same visual language (simple navy hero,
   pill filters, two-column content+sidebar layout) so one
   file keeps them consistent instead of six near-duplicates.
   Mobile-first.
   ═══════════════════════════════════════════════════ */

/* ── Shared: simple navy hero (career/resource archives) ── */
.victor-archive-header {
    background: var(--victor-bg-navy);
    color: var(--victor-text-on-navy);
    padding: var(--victor-space-2xl) 0;
}
.victor-archive-header h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: var(--victor-fw-black);
    color: var(--victor-text-on-navy);
    margin: 0 0 var(--victor-space-sm);
}
.victor-archive-header p {
    color: rgba(255,255,255,0.85);
    font-size: var(--victor-fs-md);
    max-width: 640px;
    margin: 0;
}

/* ── Shared: pill filter nav (careers, resources) ── */
.victor-filter-list {
    list-style: none;
    padding: 0;
    margin: var(--victor-space-xl) 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--victor-space-sm);
}
.victor-filter-link {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.1rem;
    border: 1.5px solid var(--victor-border);
    border-radius: var(--victor-radius-full);
    font-size: var(--victor-fs-sm);
    font-weight: var(--victor-fw-bold);
    color: var(--victor-primary);
    text-decoration: none;
}
.victor-filter-link:hover,
.victor-filter-link:focus-visible {
    border-color: var(--victor-primary);
}
.victor-filter-link.is-active {
    background: var(--victor-primary);
    border-color: var(--victor-primary);
    color: #fff;
}

.victor-pagination {
    margin-top: var(--victor-space-2xl);
    display: flex;
    justify-content: center;
}

/* ═══════════════════════════════════════
   SINGLE SERVICE
   ═══════════════════════════════════════ */
.victor-service-hero {
    background: var(--victor-bg-navy);
    color: var(--victor-text-on-navy);
    text-align: center;
    padding: var(--victor-space-2xl) 0;
}
.victor-service-hero__icon {
    display: block;
    margin: 0 auto var(--victor-space-md);
    border-radius: var(--victor-radius-md);
}
.victor-service-hero h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: var(--victor-fw-black);
    color: var(--victor-text-on-navy);
    margin: 0 0 var(--victor-space-sm);
}
.victor-service-hero__tagline {
    color: rgba(255,255,255,0.85);
    font-size: var(--victor-fs-md);
    max-width: 640px;
    margin: 0 auto;
}

.victor-service-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--victor-space-2xl);
    padding: var(--victor-space-2xl) 0 var(--victor-space-3xl);
}
.victor-service-content {
    font-size: var(--victor-fs-base);
    color: var(--victor-text-light);
    line-height: var(--victor-lh-relaxed);
}
.victor-service-content p {
    margin: 0 0 var(--victor-space-lg);
}
.victor-service-content .victor-btn {
    margin-top: var(--victor-space-md);
}

.victor-service-sidebar {
    background: var(--victor-bg-alt);
    border-radius: var(--victor-radius-lg);
    padding: var(--victor-space-xl);
    align-self: start;
}
.victor-service-sidebar h2 {
    font-size: var(--victor-fs-lg);
    font-weight: var(--victor-fw-black);
    color: var(--victor-primary);
    margin: 0 0 var(--victor-space-md);
}
.victor-service-locations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--victor-space-md);
}
.victor-service-locations-list li {
    padding-bottom: var(--victor-space-md);
    border-bottom: 1px solid var(--victor-border);
}
.victor-service-locations-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.victor-service-locations-list a {
    display: block;
    font-weight: var(--victor-fw-bold);
    color: var(--victor-primary);
    text-decoration: none;
}
.victor-service-locations-list a:hover,
.victor-service-locations-list a:focus-visible {
    text-decoration: underline;
}
.victor-service-loc-city {
    display: block;
    font-size: var(--victor-fs-sm);
    color: var(--victor-text-muted);
}

/* ═══════════════════════════════════════
   SINGLE LOCATION
   ═══════════════════════════════════════ */
.victor-location-hero {
    background: var(--victor-bg-navy);
    color: var(--victor-text-on-navy);
    padding: var(--victor-space-3xl) 0;
    overflow: hidden;
}
.victor-location-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--victor-space-xl);
    align-items: center;
}
.victor-location-hero__eyebrow {
    font-size: var(--victor-fs-sm);
    font-weight: var(--victor-fw-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--victor-accent);
    background: transparent;
    margin: 0 0 var(--victor-space-sm);
}
.victor-location-hero__title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: var(--victor-fw-black);
    color: var(--victor-text-on-navy);
    background: transparent;
    line-height: 1.15;
    margin: 0 0 var(--victor-space-sm);
}
.victor-location-hero__meta {
    font-size: var(--victor-fs-md);
    color: rgba(255,255,255,0.7);
    background: transparent;
    margin: 0 0 var(--victor-space-lg);
}
.victor-location-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--victor-space-md);
    margin-top: var(--victor-space-md);
}
.victor-location-hero__image {
    border-radius: var(--victor-radius-lg);
    overflow: hidden;
    line-height: 0;
}
.victor-location-hero__image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.victor-location-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--victor-space-2xl);
    padding: var(--victor-space-3xl) 0 var(--victor-space-4xl);
}
.victor-location-content {
    min-width: 0;
}
.victor-location-description {
    font-size: var(--victor-fs-base);
    color: var(--victor-text-light);
    line-height: var(--victor-lh-relaxed);
    margin-bottom: var(--victor-space-2xl);
    padding-bottom: var(--victor-space-2xl);
    border-bottom: 1px solid var(--victor-border-light);
}
.victor-location-description p {
    margin: 0 0 var(--victor-space-md);
}
.victor-location-description p:last-child { margin-bottom: 0; }

.victor-location-services {
    margin-bottom: var(--victor-space-2xl);
    padding-bottom: var(--victor-space-2xl);
    border-bottom: 1px solid var(--victor-border-light);
}
.victor-location-services h2,
.victor-location-form h2 {
    font-size: var(--victor-fs-xl);
    font-weight: var(--victor-fw-black);
    color: var(--victor-primary);
    margin: 0 0 var(--victor-space-lg);
}
.victor-location-services__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--victor-space-sm);
}
.victor-location-services__list a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--victor-primary-light);
    color: var(--victor-primary);
    border-radius: var(--victor-radius-full);
    font-size: var(--victor-fs-sm);
    font-weight: var(--victor-fw-bold);
    text-decoration: none;
    transition: background-color var(--victor-transition), color var(--victor-transition);
}
.victor-location-services__list a:hover,
.victor-location-services__list a:focus-visible {
    background: var(--victor-primary);
    color: #fff;
}

.victor-location-sidebar {
    align-self: start;
}
.victor-location-info-card {
    background: var(--victor-bg-alt);
    border-radius: var(--victor-radius-lg);
    padding: var(--victor-space-xl);
    margin-bottom: var(--victor-space-lg);
}
.victor-location-info__item {
    padding-bottom: var(--victor-space-md);
    margin-bottom: var(--victor-space-md);
    border-bottom: 1px solid var(--victor-border);
}
.victor-location-info__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.victor-location-info__label {
    font-size: var(--victor-fs-xs);
    font-weight: var(--victor-fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--victor-text-muted);
    margin: 0 0 var(--victor-space-xs);
}
.victor-location-info-card address,
.victor-location-info-card p,
.victor-location-info-card span {
    font-style: normal;
    font-size: var(--victor-fs-base);
    color: var(--victor-text);
    margin: 0;
}
.victor-location-info-card a {
    color: var(--victor-primary);
    font-weight: var(--victor-fw-bold);
    text-decoration: none;
}
.victor-location-info-card a:hover,
.victor-location-info-card a:focus-visible {
    text-decoration: underline;
}
.victor-location-map {
    border-radius: var(--victor-radius-lg);
    overflow: hidden;
    line-height: 0;
    height: 320px;
    background: var(--victor-primary-light);
}

@media (min-width: 48rem) {
    .victor-location-hero--split .victor-location-hero__inner {
        grid-template-columns: 1fr 400px;
        gap: var(--victor-space-3xl);
    }
    .victor-location-hero--split .victor-location-hero__image img {
        height: 420px;
    }
    .victor-location-layout {
        grid-template-columns: 1fr 340px;
    }
}

@media (min-width: 64rem) {
    .victor-location-hero--split .victor-location-hero__inner {
        grid-template-columns: 1fr 460px;
    }
    .victor-location-layout {
        grid-template-columns: 1fr 360px;
    }
}

/* ═══════════════════════════════════════
   CAREERS — archive + single
   ═══════════════════════════════════════ */
.victor-career-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--victor-space-lg);
    padding-bottom: var(--victor-space-2xl);
}
.victor-career-card {
    background: #fff;
    border: 1px solid var(--victor-border);
    border-radius: var(--victor-radius-lg);
    padding: var(--victor-space-xl);
    transition: box-shadow var(--victor-transition);
}
.victor-career-card:hover,
.victor-career-card:focus-within {
    box-shadow: var(--victor-shadow-md);
}
.victor-career-card__title {
    font-size: var(--victor-fs-lg);
    font-weight: var(--victor-fw-black);
    margin: 0 0 var(--victor-space-sm);
}
.victor-career-card__title a {
    color: var(--victor-primary);
    text-decoration: none;
}
.victor-career-card__title a:hover,
.victor-career-card__title a:focus-visible {
    text-decoration: underline;
}
.victor-career-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--victor-space-sm);
    margin-bottom: var(--victor-space-md);
}
.victor-career-card__meta span {
    font-size: var(--victor-fs-xs);
    font-weight: var(--victor-fw-bold);
    color: var(--victor-text-muted);
    background: var(--victor-bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: var(--victor-radius-full);
}
.victor-career-card__excerpt {
    font-size: var(--victor-fs-base);
    color: var(--victor-text-light);
    line-height: var(--victor-lh-relaxed);
    margin: 0 0 var(--victor-space-lg);
}

.victor-career-detail {
    padding: var(--victor-space-2xl) 0 var(--victor-space-3xl);
}
.victor-career-header h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: var(--victor-fw-black);
    color: var(--victor-primary);
    margin: 0 0 var(--victor-space-lg);
}
.victor-career-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--victor-space-md);
    background: var(--victor-bg-alt);
    border-radius: var(--victor-radius-lg);
    padding: var(--victor-space-lg);
    margin: 0 0 var(--victor-space-2xl);
}
.victor-career-meta__item dt {
    font-size: var(--victor-fs-xs);
    font-weight: var(--victor-fw-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--victor-text-muted);
    margin: 0 0 0.2rem;
}
.victor-career-meta__item dd {
    font-size: var(--victor-fs-base);
    font-weight: var(--victor-fw-bold);
    color: var(--victor-primary);
    margin: 0;
}
.victor-career-body {
    font-size: var(--victor-fs-base);
    color: var(--victor-text-light);
    line-height: var(--victor-lh-relaxed);
    max-width: 760px;
    margin-bottom: var(--victor-space-2xl);
}
.victor-career-apply {
    padding-top: var(--victor-space-lg);
    border-top: 1px solid var(--victor-border);
}

/* ═══════════════════════════════════════
   RESOURCES — archive + single
   ═══════════════════════════════════════ */
.victor-resource-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--victor-space-lg);
    padding-bottom: var(--victor-space-2xl);
}
.victor-resource-card {
    background: #fff;
    border: 1px solid var(--victor-border);
    border-radius: var(--victor-radius-lg);
    padding: var(--victor-space-xl);
    transition: box-shadow var(--victor-transition);
}
.victor-resource-card:hover,
.victor-resource-card:focus-within {
    box-shadow: var(--victor-shadow-md);
}
.victor-resource-card__title {
    font-size: var(--victor-fs-lg);
    font-weight: var(--victor-fw-black);
    margin: 0 0 var(--victor-space-sm);
}
.victor-resource-card__title a {
    color: var(--victor-primary);
    text-decoration: none;
}
.victor-resource-card__title a:hover,
.victor-resource-card__title a:focus-visible {
    text-decoration: underline;
}
.victor-resource-card__type {
    display: inline-block;
    font-size: var(--victor-fs-xs);
    font-weight: var(--victor-fw-bold);
    letter-spacing: 0.06em;
    color: var(--victor-accent-dark);
    background: var(--victor-accent-light);
    padding: 0.2rem 0.6rem;
    border-radius: var(--victor-radius-full);
    margin-bottom: var(--victor-space-md);
}
.victor-resource-card__excerpt {
    font-size: var(--victor-fs-base);
    color: var(--victor-text-light);
    line-height: var(--victor-lh-relaxed);
    margin: 0 0 var(--victor-space-lg);
}

.victor-resource-detail {
    padding: var(--victor-space-2xl) 0 var(--victor-space-3xl);
}
.victor-resource-detail h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: var(--victor-fw-black);
    color: var(--victor-primary);
    margin: 0 0 var(--victor-space-sm);
}
.victor-resource-meta {
    font-size: var(--victor-fs-sm);
    font-weight: var(--victor-fw-bold);
    color: var(--victor-text-muted);
    margin: 0 0 var(--victor-space-xl);
}
.victor-resource-body {
    font-size: var(--victor-fs-base);
    color: var(--victor-text-light);
    line-height: var(--victor-lh-relaxed);
    margin-bottom: var(--victor-space-xl);
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (768px+)
   ═══════════════════════════════════════ */
@media (min-width: 48rem) {
    .victor-service-layout {
        grid-template-columns: 1fr 340px;
    }
    .victor-career-meta {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Desktop (1024px+)
   ═══════════════════════════════════════ */
@media (min-width: 64rem) {
    .victor-career-list,
    .victor-resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .victor-career-meta {
        grid-template-columns: repeat(4, 1fr);
    }
}
