/* ============================================================
   featured-card.css — 1:1 with Figma node 6003:4082 ("דיקלה").
   2-col layout: 1fr text on the start side, 600px image on the end.
   Accent color drives title/location/time → set via inline --accent.
   ============================================================ */

.darom-featured {
    --accent: #c5984e;
    display: grid;
    /* Image column (600px, fixed) lands on the RIGHT in RTL grid because it
       comes first in the markup; info column (1fr) lands on the LEFT. */
    grid-template-columns: 600px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin: 0;             /* parent .darom-day-section / .darom-events handles spacing */
}

/* Info column */
.darom-featured-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    text-align: right;
}
.darom-featured-pre {
    font-size: var(--t-pXL);            /* 22px Bold */
    line-height: var(--t-pXL-lh);
    font-weight: 700;
    color: var(--c-ink-soft);
    margin: 0;
}
.darom-featured-title-row {
    display: flex;
    flex-direction: row-reverse;       /* icons on the visual LEFT, title on the visual RIGHT (RTL start) */
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}
.darom-featured-title-row .darom-featured-title { flex: 1 1 0; min-width: 0; }
.darom-featured-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.darom-featured-icons img {
    width: 38px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.darom-featured-title {
    flex: 1;
    margin: 0;
    font-size: var(--t-h2);            /* 54px Bold — H2-sized */
    line-height: var(--t-h2-lh);       /* 50px */
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
}
/* Compact variant — used by the closing-party DJ card. Image on the RIGHT,
   text on the LEFT, smaller h4-sized title. Uses flex with row-reverse so
   the image (1st in markup) lands at flex-end (= LEFT in RTL) — which under
   row-reverse flips to the RIGHT. */
.darom-featured--compact {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 32px;
    margin: 0;             /* parent .darom-events / .darom-day-section handles spacing */
}
/* True 50/50 split — image and text each take half the card width. */
.darom-featured--compact .darom-featured-media {
    flex: 1 1 0;
    min-width: 0;
    align-self: stretch;
}
.darom-featured--compact .darom-featured-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.darom-featured--compact .darom-featured-info {
    flex: 1 1 0;
    min-width: 0;
    align-items: flex-start;           /* RTL flex-start = right edge */
    text-align: right;
    gap: 18px;
}
.darom-featured--compact .darom-featured-title {
    font-size: var(--t-h4);            /* 36px */
    line-height: var(--t-h4-lh);
    font-weight: 700;
}
.darom-featured-subtitle {
    margin: 0;
    font-size: var(--t-pL);            /* 18px */
    line-height: var(--t-pL-lh);       /* 28px */
    color: var(--c-ink-soft);
}
.darom-featured-subtitle small {
    display: inline-block;
    margin-top: 4px;
    font-size: var(--t-pM);            /* 14px — musicians/meta line */
    line-height: var(--t-pM-lh);       /* 22px */
}
.darom-featured-location {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: var(--t-h5);            /* 28px */
    line-height: var(--t-h5-lh);       /* 32px */
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -1px;
}
.darom-featured-pin {
    flex-shrink: 0;
    color: var(--accent);
}
.darom-featured-desc {
    margin: 0;
    font-size: var(--t-pXL);           /* 22px Regular */
    line-height: var(--t-pXL-lh);      /* 32px */
    font-weight: 400;
    color: var(--c-ink-soft);
    max-width: 540px;
}
.darom-featured-credits {
    margin: 0;
    font-size: var(--t-pM);            /* 14px */
    line-height: var(--t-pM-lh);       /* 22px */
    color: var(--c-ink-soft);
}
.darom-featured-credits b { font-weight: 700; }

.darom-featured-time {
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    padding: 22px 0;
    font-size: var(--t-h4);            /* 36px Medium */
    line-height: var(--t-h4-lh);
    font-weight: 500;
    color: var(--accent);
    letter-spacing: -1px;
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
}

/* Pill CTA used by ג'ימבו ג'יי featured card. White fill, accent border +
   text. Markup is [text, svg] so the default RTL flex row puts text on the
   visual RIGHT (start) and the arrow on the visual LEFT (end). */
.darom-featured-cta {
    align-self: flex-start;            /* RTL flex-start = right edge */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 22px 32px;                /* Figma py-22 px-32 */
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-pill);
    font-size: var(--t-pL);
    line-height: 1;
    font-weight: 700;
    color: var(--accent);
    background: transparent;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.darom-featured-cta:hover,
.darom-featured-cta:focus-visible {
    background: var(--accent);
    color: #fff;
}
.darom-featured-cta svg { flex-shrink: 0; }

/* Image column */
.darom-featured-media {
    margin: 0;
    position: relative;
    align-self: stretch;
}
.darom-featured-media img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
}
.darom-featured-media figcaption {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    background: rgba(0,0,0,.55);
    color: var(--c-white);
    font-size: var(--t-pM);
    font-weight: 600;
    padding: 10px 14px;
    text-align: center;
    border-radius: 6px;
}

@media (max-width: 1024px) {
    .darom-featured:not(.darom-featured--compact) { grid-template-columns: 1fr; gap: 32px; }
    .darom-featured:not(.darom-featured--compact) .darom-featured-media { order: -1; }
    .darom-featured:not(.darom-featured--compact) .darom-featured-media img { max-width: 100%; margin: 0 auto; }
    .darom-featured-title { font-size: 40px; line-height: 42px; }
    /* Compact stays side-by-side and 50/50 until phone size. */
    .darom-featured--compact { gap: 20px; }
}

@media (max-width: 760px) {
    .darom-featured { margin: 0; gap: 16px; }
    .darom-featured-info { gap: 16px; }
    .darom-featured-pre { font-size: 13px; line-height: 18px; }
    .darom-featured-title-row { gap: 8px; }
    .darom-featured-icons img { width: 32px; height: 32px; }
    .darom-featured-title { font-size: 22px; line-height: 26px; }
    .darom-featured-location { font-size: 16px; line-height: 22px; gap: 8px; }
    .darom-featured-desc { font-size: 14px; line-height: 22px; }
    .darom-featured-credits { font-size: 11px; line-height: 16px; }
    .darom-featured-time { font-size: 18px; line-height: 22px; padding: 14px 0; }
    .darom-featured-cta { padding: 14px 24px; font-size: 13px; gap: 8px; }
    .darom-featured-cta svg { width: 14px; height: 14px; }

    /* Compact (DJ) on phone: stack image above text. */
    .darom-featured--compact { flex-direction: column; gap: 16px; margin: 0; }
    .darom-featured--compact .darom-featured-media { flex: 0 0 auto; max-width: 100%; }
    .darom-featured--compact .darom-featured-media img { margin: 0 auto; max-width: 320px; }
    .darom-featured--compact .darom-featured-title { font-size: 22px; line-height: 28px; }
}
