/* ============================================================================
 * Component: activity-grid
 * Curated card / pill grid for category hub pages (Feriencamp / Workshop / Kurse).
 * ========================================================================= */

.rc-ag {
    padding: 48px 16px;
    background: #FFFFFF;
    color: #1A1F26;
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
}
.rc-ag *,
.rc-ag *::before,
.rc-ag *::after { box-sizing: border-box; }

/* Feature tone (e.g. Nach Saison) gets a soft tinted band so it reads as the
   primary choose-your-camp section. */
.rc-ag-feature {
    background: linear-gradient(180deg, #F4FBF7 0%, #FFFFFF 100%);
}

.rc-ag-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}
.rc-ag-eyebrow {
    display: inline-block;
    font-family: 'Plakkaat', 'ProximaNova', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00A356;
    background: #E6F9F0;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.rc-ag-h2 {
    font-family: 'ProximaNova', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 12px;
}
.rc-ag-lead {
    font-size: 17px;
    color: #555E6B;
    margin: 0;
    line-height: 1.55;
}

/* ---- Cards grid ---- */
.rc-ag-grid {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 1280px;
}
@media (min-width: 700px) {
    .rc-ag-grid { gap: 20px; }
    .rc-ag-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .rc-ag-cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
    .rc-ag-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.rc-ag-card {
    background: #FFFFFF;
    border: 1px solid #EFF1F4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rc-ag-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15,23,42,0.10);
}
.rc-ag .rc-ag-link {
    display: block;
    color: #1A1F26;
    text-decoration: none !important;
    height: 100%;
}
.rc-ag-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #EFF1F4;
}
.rc-ag-feature .rc-ag-media { aspect-ratio: 16 / 10; }
.rc-ag-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.rc-ag-card:hover .rc-ag-media img { transform: scale(1.05); }
.rc-ag-body {
    display: block;
    padding: 14px 16px 16px;
}
.rc-ag-feature .rc-ag-body { padding: 18px 20px 20px; }
.rc-ag-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: #1A1F26;
}
.rc-ag-feature .rc-ag-title { font-size: 19px; }
.rc-ag-arrow {
    color: #00A356;
    font-size: 18px;
    flex: 0 0 auto;
    transition: transform 0.15s ease;
}
.rc-ag-card:hover .rc-ag-arrow { transform: translateX(3px); }
.rc-ag-sub {
    display: block;
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #6B7280;
}

/* ---- Pills (e.g. Nach Alter) ---- */
.rc-ag-pills {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.rc-ag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'ProximaNova', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #1A1F26 !important;
    text-decoration: none !important;
    background: #F4F6F8;
    border: 1px solid #E7EAEE;
    border-radius: 999px;
    padding: 10px 18px;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.rc-ag-pill:hover {
    background: #E6F9F0;
    border-color: #00BF63;
    transform: translateY(-1px);
}
.rc-ag-pill-arrow {
    color: #00A356;
    font-size: 15px;
    transition: transform 0.15s ease;
}
.rc-ag-pill:hover .rc-ag-pill-arrow { transform: translateX(2px); }

/* ---- Slider variant (Splide) ---- */
.rc-ag-splide { max-width: 1280px; margin: 0 auto; }
.rc-ag-splide .rc-ag-card { height: auto; }
.rc-ag .splide__arrow { background: #00BF63; opacity: 1; }
.rc-ag .splide__arrow svg { fill: #FFFFFF; }
.rc-ag .splide__arrow:disabled { opacity: 0.35; }
.rc-ag .splide__pagination__page.is-active { background: #00BF63; }

@media (min-width: 768px) {
    .rc-ag { padding: 72px 32px; }
    .rc-ag-h2 { font-size: 36px; }
    .rc-ag-head { margin-bottom: 44px; }
}
