/* ============================================================================
 * /locations/ archive — "ROBBO Club Standorte in Wien".
 * Replaces the bare GeneratePress post-type archive (H1 "Archiv: Locations"
 * + full-bleed unstyled images). Sizes in px, colours from --robbo-* tokens.
 * ========================================================================= */

.rc-locarch {
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
    color: var(--robbo-coal);
    background: var(--robbo-white);
}
.rc-locarch *, .rc-locarch *::before, .rc-locarch *::after { box-sizing: border-box; }

/* ---------- hero ---------- */
.rc-locarch-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 16px 32px;
    text-align: center;
}
.rc-locarch-eyebrow {
    display: inline-block;
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--robbo-green-dark);
    background: #E6F9F0;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.rc-locarch-h1 {
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 14px;
    color: var(--robbo-coal);
}
.rc-locarch-lead {
    font-size: var(--robbo-fs-lg);
    line-height: 1.55;
    color: var(--robbo-grey);
    margin: 0 auto;
    max-width: 720px;
}
.rc-locarch-chips {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.rc-locarch-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--robbo-fs-sm);
    font-weight: 600;
    color: var(--robbo-coal);
    background: var(--robbo-grey-light);
    border: 1px solid var(--robbo-line);
    border-radius: 999px;
    padding: 7px 14px;
}
.rc-locarch-chip svg { width: 15px; height: 15px; color: var(--robbo-green-dark); flex: 0 0 auto; }

/* ---------- cards ---------- */
.rc-locarch-grid {
    list-style: none;
    padding: 0 16px 8px;
    margin: 0 auto;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 700px)  {
    .rc-locarch-grid { grid-template-columns: repeat(2, 1fr); }
    .rc-locarch-media { aspect-ratio: 4 / 3; }
}
@media (min-width: 1100px) { .rc-locarch-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.rc-locarch-card {
    background: var(--robbo-white);
    border: 1px solid var(--robbo-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.rc-locarch-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
    border-color: #BFECD7;
}
.rc-locarch .rc-locarch-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: var(--robbo-coal);
}
.rc-locarch-media {
    position: relative;
    /* Shallower on phones: four 4:3 cards stacked made the page a long scroll. */
    aspect-ratio: 16 / 9;
    background: var(--robbo-grey-light);
    overflow: hidden;
}
.rc-locarch-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.rc-locarch-card:hover .rc-locarch-media img { transform: scale(1.04); }
.rc-locarch-plz {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--robbo-white);
    background: var(--robbo-green);
    border-radius: 999px;
    padding: 6px 12px;
}
.rc-locarch-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
}
.rc-locarch-name {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: var(--robbo-coal);
}
.rc-locarch-street {
    font-size: var(--robbo-fs-md);
    line-height: 1.45;
    color: var(--robbo-grey);
    margin: 0;
}
.rc-locarch-transit {
    list-style: none;
    padding: 0;
    margin: 2px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.rc-locarch-transit li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--robbo-fs-xs);
    font-weight: 600;
    color: var(--robbo-coal);
    background: var(--robbo-grey-light);
    border-radius: 8px;
    padding: 5px 9px;
}
.rc-locarch-transit svg { width: 13px; height: 13px; color: var(--robbo-green-dark); flex: 0 0 auto; }
.rc-locarch-more {
    margin-top: auto;
    padding-top: 4px;
    font-size: var(--robbo-fs-md);
    font-weight: 700;
    color: var(--robbo-green-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.rc-locarch-card:hover .rc-locarch-more span { transform: translateX(3px); }
.rc-locarch-more span { transition: transform 0.15s ease; display: inline-block; }

/* ---------- CTA ---------- */
.rc-locarch-cta {
    max-width: 1180px;
    margin: 8px auto 0;
    padding: 0 16px 56px;
}
.rc-locarch-cta-inner {
    background: var(--robbo-grey-light);
    border: 1px solid var(--robbo-line);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
}
.rc-locarch-cta-h2 {
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--robbo-coal);
}
.rc-locarch-cta-sub {
    font-size: var(--robbo-fs-md);
    color: var(--robbo-grey);
    margin: 0 auto 20px;
    max-width: 560px;
    line-height: 1.55;
}
.rc-locarch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.rc-locarch .rc-locarch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.rc-locarch .rc-locarch-btn--primary { background: var(--robbo-green); color: var(--robbo-white); }
.rc-locarch .rc-locarch-btn--primary:hover { background: var(--robbo-green-dark); transform: translateY(-1px); }
.rc-locarch .rc-locarch-btn--ghost {
    background: var(--robbo-white);
    color: var(--robbo-coal);
    border: 1px solid var(--robbo-line);
}
.rc-locarch .rc-locarch-btn--ghost:hover { border-color: var(--robbo-green); color: var(--robbo-green-dark); }

@media (min-width: 768px) {
    .rc-locarch-hero { padding: 64px 32px 40px; }
    .rc-locarch-h1 { font-size: 40px; }
    .rc-locarch-grid { padding-left: 32px; padding-right: 32px; }
    .rc-locarch-cta { padding-left: 32px; padding-right: 32px; padding-bottom: 72px; }
    .rc-locarch-cta-inner { padding: 36px 32px; }
    .rc-locarch-cta-h2 { font-size: 28px; }
}
