/* Red&Co: bundle "calendar", generated from src/ (support/bundles.php). Do not edit here: edit the sources. */

/* ===== src/elements/date-badge.css ===== */
/* Red&Co: date badge (elements/date-badge) and month title, in the calendar and the news. Mobile / tablet rules (@media) at the end of the
   file. */

/* Date badge (news "Upcoming", calendar rows): 52 px box, 20 px day, month in red capitals */
.rc-date-badge {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: var(--radius-md);
    background: rgba(var(--rc-fg-rgb), var(--fill-2));
    border: 1px solid var(--rc-hair);
}
.rc-date-badge b { font: 400 var(--fs-title-s)/1 var(--font-display); }
.rc-date-badge small { font: 700 12px/1 var(--font-ui); letter-spacing: .08em; color: var(--rc-red-ink); }
/* Month title (news and calendar lists): 24 px, 20 px on mobile */
.rc-month-title {
    margin: 0 0 8px;
    font: 400 var(--fs-title-m)/1.1 var(--font-display);
    text-transform: capitalize;
}
@media (max-width: 767.98px) {
.rc-month-title { font-size: var(--fs-title-s); }
}

/* ===== src/elements/countdown.css ===== */
/* Red&Co: countdown (elements/countdown), on the home page, the news and the calendar (elements/next-event, "Upcoming" column). */

.rc-countdown {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.rc-countdown-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 50px;
}
.rc-countdown-cell b {
    font: 400 var(--fs-title-xl)/1 var(--font-display);
    font-variant-numeric: tabular-nums;
}
.rc-countdown-cell small {
    font: 700 12px/1 var(--font-ui);
    color: var(--rc-label);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.rc-countdown-sep {
    font: 400 var(--fs-title-l)/1 var(--font-display);
    color: rgba(var(--rc-fg-rgb), .3);
}
/* Countdown: one single rendering (digits, ":", capital units below); .rc-countdown-sm: 30 px digits */
.rc-countdown-sm { gap: 4px; }
.rc-countdown-sm .rc-countdown-cell { min-width: 40px; }
.rc-countdown-sm .rc-countdown-cell b { font-size: var(--fs-title-l); }

/* ===== src/elements/next-event.css ===== */
/* Red&Co: styles of views/elements/next-event.blade.php (next event: calendar and home). Mobile / tablet rules (@media) at the end of the file. */

.rc-cal-next {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px 32px;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--rc-red);
}
.rc-cal-next-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.rc-cal-next-title {
    margin: 0;
    font: 400 var(--fs-title-l)/1 var(--font-display);
    text-wrap: balance;
}
.rc-cal-next-place { font: 500 14px/1.4 var(--font-ui); color: var(--rc-fg-2); }
.rc-cal-next-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}
@media (max-width: 767.98px) {
/* Countdown: red left border, 30 px digits + units */
.rc-cal-next {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 4px 0 4px 16px;
}
.rc-cal-next-text { gap: 12px; }
.rc-cal-next-title { font-size: var(--fs-title-m); }
.rc-cal-next-place { display: none; }
.rc-cal-next-side {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
}

/* ===== src/vendor/redandco/pages/calendar.css ===== */
/* Red&Co: styles of views/vendor/redandco/pages/calendar.blade.php. Mobile / tablet rules (@media) at the end of the file. */

/* ---------- Calendar ---------- */
.rc-cal {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 120px; /* off-token: layout */
}
.rc-cal-intro { max-width: 720px; }
.rc-cal-intro p:last-child { margin: 0; }
.rc-cal-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.rc-cal-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.rc-event { border-top: 1px solid var(--rc-hair); }
.rc-event > summary {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 20px 0;
    list-style: none;
    cursor: pointer;
}
.rc-event > summary::-webkit-details-marker { display: none; }

.rc-event-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.rc-event-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rc-event-text strong {
    font: 600 18px/1.3 var(--font-ui);
    color: rgba(var(--rc-fg-rgb), .92);
}
.rc-event > summary:hover strong { color: var(--rc-fg); }
.rc-event-chev {
    color: var(--rc-fg-3);
    transition: transform var(--dur);
}
details[open] > summary .rc-event-chev { transform: rotate(180deg); }
.rc-event.is-past .rc-date-badge { opacity: .45; }
.rc-event.is-past .rc-date-badge small { color: var(--rc-meta); }
.rc-event.is-past .rc-event-text strong { color: var(--rc-meta); }
.rc-event-more {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 0 0 24px 88px; /* off-token: layout */
}
.rc-event-more p {
    margin: 0;
    max-width: 560px;
    font: 500 16px/1.5 var(--font-ui);
    color: var(--rc-fg-2);
}
.rc-cal-month { border-bottom: 1px solid var(--rc-hair); }
@media (max-width: 575.98px) {
.rc-countdown { gap: 8px; }
.rc-countdown-cell { min-width: 40px; }
.rc-countdown-cell b { font-size: var(--fs-title-l); }
.rc-countdown-sep { font-size: var(--fs-title-m); }
.rc-event > summary { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; }
.rc-event-more { padding-left: 64px; }
}
@media (max-width: 767.98px) {
/* =========================================================
   Calendar (MoCalendar)
   ========================================================= */
/* 260 px hero: "News" back link + title */
.rc-cal-hero { --hero-h: var(--hero-s); }
.rc-cal-hero .rc-page-hero-inner > div { gap: 12px; }
.rc-cal.rc-container {
    gap: 32px;
    padding: 12px 16px 48px;
}
/* Filters: horizontally scrolling pills + "past" checkbox */
.rc-cal-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 0; /* otherwise the row of pills widens the page */
}
.rc-cal-filters .rc-chips {
    flex-wrap: nowrap;
    gap: 8px;
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.rc-cal-filters .rc-chips::-webkit-scrollbar { display: none; }
.rc-cal-filters .rc-chip { flex-shrink: 0; gap: 8px; padding: 0 12px; }
.rc-cal-filters .rc-check {
    align-items: center;
    gap: 8px;
    font: 500 14px/1 var(--font-ui);
    color: var(--rc-fg-2);
}
.rc-cal-filters .rc-check-box { width: var(--icon-m); height: var(--icon-m); border-radius: var(--radius-xs); }
.rc-cal-filters .rc-check input { width: 18px; height: 18px; }
/* Month: 26 px title */
.rc-cal-list { gap: 32px; }
/* Expandable rows: 48 px date, tag, 16 px title, time · place, chevron */
.rc-event > summary {
    grid-template-columns: 52px minmax(0, 1fr) 18px;
    gap: 12px;
    padding: 16px 0;
}
.rc-event-text { gap: 8px; }
.rc-event-tags { gap: 8px; }
.rc-event-text strong { font-size: 16px; color: var(--rc-fg); }
.rc-event.is-past .rc-event-text strong { color: var(--rc-meta); }
.rc-event-text .rc-meta { line-height: 1.3; }
.rc-event-more {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 0 16px 64px;
}
.rc-event-more p { font-size: 14px; color: var(--rc-fg-2); }
}

/* ===== src/_shared/chart-tooltip.css ===== */
/* Red&Co: chart tooltip (service bars, history columns) and cube lift, on Status and the
   calendar. Mobile / tablet rules (@media) at the end of the
   file. */

@keyframes rcCubeLift {
    from { translate: 0 0; }
    to { translate: 0 -14px; }
}
/* Tooltip of the Status charts (service bars, history columns): one single rule */
.rc-bar:is(:hover, :focus-visible)::after,
.rc-history-col:is(:hover, :focus-visible)::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    z-index: 5;
    width: max-content;
    max-width: 240px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--rc-raised);
    border: 1px solid var(--rc-chip-border);
    box-shadow: var(--shadow-pop);
    font: 600 12px/1.3 var(--font-ui);
    color: var(--rc-fg);
    transform: translateX(-50%);
    pointer-events: none;
}
.rc-history-col:first-child:is(:hover, :focus-visible)::after { left: 0; transform: none; }
.rc-history-col:last-child:is(:hover, :focus-visible)::after { left: auto; right: 0; transform: none; }

/* ===== src/_shared/event-chevron.css ===== */
/* Red&Co: event chevron on mobile (calendar, support). Mobile / tablet rules (@media) at the end of the
   file. */

@media (max-width: 767.98px) {
.rc-event-chev { width: 18px; height: 18px; }
}
