/* ============================================================================
 * Component: camp-theme-feriencamp (0.330.0) — the look of the hub /feriencamp/ (activity 15609): «Das Ferienjahr».
 * The owner's hero shows the five signs of the school year over two children; the hub is the page of all holidays.
 * Hero: warm cream, a thin ribbon in the five holiday colours along the bottom edge (school-year order: Herbst,
 * Weihnachten, Semester, Ostern, Sommer), five dots in the eyebrow. «Schulferien in Wien»: each card wears its sign as a
 * round sticker that drops in once (camp-theme-feriencamp.js). Season colours are decoration only; actions stay green.
 * ========================================================================= */
.rc-camp-hub {
    --fj-cream: #FFF8EC;
    --fj-cream-2: #FFFCF6;
    --fj-herbst: #DE8A2E;
    --fj-weihnachten: #C94A45;
    --fj-semester: #9DC3E4;
    --fj-ostern: #E9B6C6;
    --fj-sommer: #F1C24B;
    --fj-cta-text: #EAFBF1;   /* light text on the green closing block */
}

/* ------------------------------------------------------------- hero --- */
.rc-camp-hub .rc-comp-hero {
    background: linear-gradient(180deg, var(--fj-cream) 0%, var(--fj-cream-2) 62%, var(--robbo-white) 100%) !important;
}
.rc-camp-hub .rc-comp-hero-confetti { display: none; }
.rc-camp-hub .rc-comp-hero-eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: var(--robbo-white) !important;
    border: 1px solid var(--robbo-line) !important;
    color: var(--robbo-coal) !important;
}
.rc-camp-hub .rc-comp-hero-eyebrow::before {
    content: '';
    flex: 0 0 auto;
    width: 46px;
    height: 8px;
    background:
        radial-gradient(circle at 4px 4px, var(--fj-herbst) 3.5px, transparent 4px),
        radial-gradient(circle at 13.5px 4px, var(--fj-weihnachten) 3.5px, transparent 4px),
        radial-gradient(circle at 23px 4px, var(--fj-semester) 3.5px, transparent 4px),
        radial-gradient(circle at 32.5px 4px, var(--fj-ostern) 3.5px, transparent 4px),
        radial-gradient(circle at 42px 4px, var(--fj-sommer) 3.5px, transparent 4px);
}
/* The «Ferienjahr» ribbon: five segments with small gaps, the year from autumn to summer. */
.rc-camp-hub .rc-comp-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        var(--fj-herbst) 0 19.6%, transparent 19.6% 20.4%,
        var(--fj-weihnachten) 20.4% 39.6%, transparent 39.6% 40.4%,
        var(--fj-semester) 40.4% 59.6%, transparent 59.6% 60.4%,
        var(--fj-ostern) 60.4% 79.6%, transparent 79.6% 80.4%,
        var(--fj-sommer) 80.4% 100%);
}
/* The picture is portrait (two children, full figure): on phones it must not push the h1 out of the first screen. */
@media (max-width: 767px) {
    .rc-camp-hub .rc-comp-hero-media--illustration { max-width: 200px; }
}

/* ------------------------------------------- Schulferien in Wien cards --- */
.rc-fk--symbols .rc-fk-sym {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--robbo-white);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--robbo-coal) 22%, transparent);
    transform: rotate(-6deg);
    transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.rc-fk--symbols .rc-fk-sym-img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.rc-fk--symbols a.rc-fk-card:hover .rc-fk-sym,
.rc-fk--symbols a.rc-fk-card:focus-visible .rc-fk-sym { transform: rotate(8deg) scale(1.1); }
/* Drop-in (only when the script armed it: the cards were below the first screen). */
.rc-fk--symbols.is-armed .rc-fk-sym { opacity: 0; transform: translateY(-28px) rotate(-30deg) scale(0.6); }
.rc-fk--symbols.is-armed.is-in .rc-fk-sym {
    opacity: 1;
    transform: rotate(-6deg);
    transition: transform 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) var(--fk-d, 0ms), opacity 0.25s ease var(--fk-d, 0ms);
}
@media (min-width: 640px) {
    .rc-fk--symbols .rc-fk-sym { top: 10px; left: 10px; width: 52px; height: 52px; }
    .rc-fk--symbols .rc-fk-sym-img { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .rc-fk--symbols .rc-fk-sym,
    .rc-fk--symbols.is-armed .rc-fk-sym { transition: none; opacity: 1; transform: rotate(-6deg); }
}
