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

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

/* ---------- 7. Pages ---------- */
/* Home — hero */
.rc-hero {
    position: relative;
    height: 1024px;
    max-height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: var(--rc-bg);
}
.rc-hero .rc-veil {
    --hero-pos: center;
    left: -10%;
    right: -10%;
}
.rc-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: max(110px, 18vh);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    text-align: center;
}
.rc-hero-content { top: 0; }
/* the block fills the whole hero: the logo centers in the free space above */
.rc-hero-brand {
    display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; margin: auto 0;
    padding-top: 72px; /* off-token: layout */
}
.rc-hero-logo {
    display: block;
    width: min(360px, 70vw);
    margin: 0;   /* the page's h1 */
    filter: drop-shadow(var(--shadow-sticker));
}
/* red letters (original mockup), thick black outline: the two colors stay distinct
   (with a single color, letters and outline merged into an unreadable mass) */
.rc-hero-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
/* the thick outline slightly overflows the drawing */
.rc-hero-logo .l { fill: var(--rc-red); }
.rc-hero-logo .o { fill: var(--rc-dark-900); }
/* the motto, right under the logo: same lettering family (title font), black outline like the logo;
   on two balanced lines if space runs out, never cut */
.rc-hero-motto {
    max-width: min(640px, 100%);
    margin: 0;
    padding: 0 4px;
    font: 400 clamp(17px, 2vw, 26px)/1.15 var(--font-display);   /* off-token: home motto, as in the Figma */
    letter-spacing: .04em;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: break-word;
    color: #fff;
    -webkit-text-stroke: 6px var(--rc-dark-900);
    paint-order: stroke fill;
    filter: drop-shadow(0 6px 3px rgba(0, 0, 0, .35));
}
[data-bs-theme=light] .rc-hero-logo { filter: drop-shadow(0 6px 3px rgba(0, 0, 0, .2)); }
.rc-hero-platforms {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    color: var(--rc-fg);
}
.rc-home-more { margin-top: var(--space-6); }
.rc-hero-cube { width: clamp(80px, 16.7vw, 240px); height: auto; }
.rc-hero-message {
    padding: var(--pad-card, 24px);
    max-width: 680px;
    margin: 0 auto 32px;
}
/* Home — sections under the hero (order set in Red&Co → Contenus du site → Accueil): introduction, next event, news */
.rc-home { padding-bottom: 110px; } /* off-token: layout */
.rc-home-block { padding-top: 32px; }
.rc-home-intro-text {
    max-width: 760px;
    font: 500 18px/1.6 var(--font-ui);
    color: var(--rc-fg-2);
}
.rc-home-intro-text p { margin: 0 0 12px; }
.rc-home-intro-text p:last-child { margin: 0; }
@media (max-width: 991.98px) {
.rc-hero { min-height: 640px; height: 92vh; }
.rc-hero .rc-btn-lg { height: var(--ctl-xl); padding: 0 24px; }
}
.rc-hero-platforms.is-single { align-items: center; gap: 8px; }
/* copyable address under "Join": for regulars, one click instead of the modal */
.rc-hero-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: var(--ctl-sm);
    padding: 0 16px;
    border: 1px dashed rgba(var(--rc-fg-rgb), .45);
    border-radius: var(--radius-pill);
    background: rgba(var(--rc-fg-rgb), var(--fill-1));
    color: var(--rc-fg);
    font: 600 14px/1 var(--font-ui);
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color var(--dur-fast), border-color var(--dur-fast);
}
.rc-hero-address:hover { background: rgba(var(--rc-fg-rgb), var(--fill-2)); border-color: var(--rc-fg); }
.rc-hero-address:focus-visible { outline: 2px solid var(--rc-fg); outline-offset: 3px; }
.rc-hero-address[data-copied] { border-style: solid; border-color: var(--rc-success); color: var(--rc-success); }
.rc-hero-address svg { flex: none; opacity: .8; }
.rc-hero-address-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* each icon opens the "Join" modal on its platform */
.rc-hero-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    opacity: .85;
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.rc-hero-platform:hover { opacity: 1; transform: translateY(-2px); }
.rc-hero-platform:focus-visible { opacity: 1; outline: 2px solid var(--rc-fg); outline-offset: 4px; border-radius: var(--radius-sm); }
.rc-hero-platform-name { font: 500 14px/1 var(--font-ui); color: var(--rc-fg-2); }
.rc-hero-platform-name strong { font-weight: 700; color: var(--rc-fg); }
@media (max-width: 767.98px) {
.rc-section-title { gap: 12px; }
.rc-section-title .rc-cube { width: 26px; height: 28px; }
/* mobile/home-news.css: home, news, article. Mockups: m-pages-a.jsx (MoHome, MoNews, MoArticle,
   MoFeatured, MoNewsItem, MoCountdown), m-shared.jsx (MoHero, MoSectionHead, MoHScroll). */
/* ---------- Home: 640 px hero, two cubes, pill + full-width button + 18 px platforms ---------- */
.rc-hero { height: 640px; min-height: 0; max-height: none; }
.rc-hero .rc-veil { --hero-pos: 36% center; }
.rc-m-hero-cubes span:nth-child(1) { right: -50px; top: 190px; }
.rc-m-hero-cubes span:nth-child(2) { left: -40px; top: 300px; }
.rc-hero-content { bottom: 44px; gap: 12px; padding: 0 16px; }
.rc-hero-brand { padding-top: 64px; }
.rc-hero-motto { font-size: 17px; -webkit-text-stroke-width: 5px; }   /* off-token: home motto, as in the Figma */
.rc-hero .rc-btn-lg { width: 100%; height: var(--ctl-xl); padding: 0 24px; font-size: 20px; }
.rc-hero-platforms { gap: 12px; margin-top: 0; zoom: .9; }
/* ---------- Home: sections (News, introduction, next event) ---------- */
.rc-home { padding-bottom: 48px; }
.rc-home-block { padding-top: 24px; }
.rc-home-block > .rc-container { display: flex; flex-direction: column; gap: 20px; padding: 0 16px; }
.rc-home-intro-text { font-size: 16px; }
.rc-home-news .rc-grid-3 { display: block; margin-top: 0; border-bottom: 1px solid var(--rc-hair); }
}

/* ===== src/elements/post-card.css ===== */
/* Red&Co: news cards (elements/post-card, featured article, compact list) and section header
   (elements/section-head), on the home page and in the news. Mobile / tablet rules (@media) at the end of the
   file. */

@media (max-width: 991.98px) {
.rc-post-featured { grid-template-columns: 1fr; gap: 16px; }
.rc-post-featured .rc-post-media { --media-h: 220px; }
.rc-post-featured-body { padding: 0 4px 4px; }
.rc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
.rc-grid-3 { grid-template-columns: 1fr; }
.rc-section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 767.98px) {
/* ---------- Section header (MoSectionHead): one single line, 26 px cube ---------- */
.rc-section-head { flex-direction: row; align-items: center; gap: 12px; margin-bottom: 0; }
.rc-section-head .rc-h2 { font-size: var(--fs-title-m); }
/* ---------- Featured article (MoFeatured): 190 px image, tag + label, 26 px title, 3-line excerpt, author ---------- */
.rc-post-featured { display: flex; flex-direction: column; gap: 0; padding: 0; border-radius: var(--radius-lg); overflow: hidden; }
.rc-post-featured .rc-post-media { --media-h: 190px; --media-r: 0; }
.rc-post-featured .rc-post-media .rc-cube { width: 96px; height: 104px; }
.rc-post-featured-body { gap: 12px; padding: 16px 16px 20px; }
.rc-post-featured-kicker { gap: 8px; font: 600 12px/1 var(--font-ui); letter-spacing: .08em; color: var(--rc-fg-2); }
.rc-post-featured :is(h2, h3) { font: 400 var(--fs-title-m)/1 var(--font-display); text-wrap: pretty; }
.rc-post-excerpt {
    font: 500 16px/1.5 var(--font-ui);
    color: var(--rc-fg-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rc-post-featured-foot { margin-top: 0; padding-top: 4px; }
.rc-post-featured-foot .rc-more { display: none; }
.rc-post-featured .rc-head { --size: 32px !important; }
/* ---------- Compact list (MoNewsItem): 96 × 76 thumbnail, tag, 15 px title on 2 lines, 12 px date ---------- */
.rc-post-card,
.rc-news-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border: 0;
    border-top: 1px solid var(--rc-hair);
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.rc-post-card:hover { transform: none; border-color: var(--rc-hair); }
.rc-post-card .rc-post-media,
.rc-news-row .rc-post-media { height: 76px; border-radius: var(--radius-md); }
.rc-post-card .rc-post-media .rc-cube,
.rc-news-row .rc-post-media .rc-cube { width: 40px; height: 43px; }
.rc-post-card-body,
.rc-news-row-body { gap: 8px; min-width: 0; padding: 0; justify-content: center; }
.rc-post-card-body .rc-tag,
.rc-news-row-meta .rc-tag { align-self: flex-start; }
.rc-post-card h3,
.rc-news-row h3 {
    font: 600 14px/1.3 var(--font-ui);
    text-transform: uppercase;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rc-post-card .rc-meta,
.rc-news-row .rc-meta { font: 500 12px/1.2 var(--font-ui); }
}

/* ===== 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;
}
}
