/* EVENT BANNER */
.event-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 14px 24px;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    color: var(--fg);
    text-align: left;
}
.event-banner-tag {
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.14em;
    padding: 4px 12px;
    text-transform: uppercase;
    white-space: nowrap;
}
.event-sessions {
    display: flex;
    align-items: stretch;
    gap: 20px;
}
.event-session {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 20px;
    border-left: 1px solid var(--border2);
    line-height: 1.35;
    white-space: nowrap;
    font-weight: 600;
}
.event-session-date {
    font-size: 15px;
    letter-spacing: 0.03em;
    color: var(--accent2);
}
.event-session-meta {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--fg);
}
.event-room { color: var(--accent2); }
.event-sep {
    color: var(--fg2);
    padding-right: 6px;
}
@media screen and (max-width: 760px) {
    .event-banner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .event-sessions {
        flex-direction: column;
        gap: 10px;
    }
    .event-session { padding-left: 14px; }
}

/* HERO SIDE */
.hero-side {
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}

/* #halftone-hero {
object-fit: cover;
object-position: right center;
clip-path: inset(7.95% 0.00% 38.09% 0.00%);
} */

/* #halftone-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block; 
  object-fit: cover;
  object-position: right center;
}
.hero-main,
.hero-gradient {
  position: relative;
  z-index: 1;
} */

/* 1. Force the Flex container to behave left-to-right */
.hero {
    display: flex !important;
    flex-direction: row !important; /* Forces standard Left-to-Right order */
    align-items: stretch !important; /* image fills hero height instead of floating centered */
    justify-content: space-between !important;
    position: relative;
    overflow: hidden;
    /* fixed hero height on desktop: the photo crops smoothly as the
       window narrows instead of the section changing size */
    min-height: 380px;
}

/* 2. Force the text to stay in flow (Left side) */
.hero-main {
    width: 50% !important;
    position: static !important; /* Kills any leftover absolute positioning */
    float: none !important;      /* Kills any leftover floats */
    transform: none !important;
    z-index: 2;
}

/* 3. Force the image to stay in flow (Right side) */
#halftone-hero {
    width: 45% !important;
    max-width: 600px;
    height: auto !important;
    object-fit: cover;      /* crop instead of shrink when the column is taller than the photo */
    object-position: center;
    position: static !important; /* Kills any leftover absolute positioning */
    float: none !important;      /* Kills any leftover floats */
    transform: none !important;
    display: block !important;
    margin: 0 !important;
}

@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column !important;
    }

    /* Force the image to be first */
    #halftone-hero {
        order: 1 !important;
        width: 100% !important;
        padding: 0 !important;
        max-width: none;
    }

    /* Force the text to be second */
    .hero-main {
        order: 2 !important;
        width: 100% !important;
        padding: 12px 20px 24px !important;
    }
}

@media screen and (max-width: 600px) {
    .project-desc { padding: 24px 20px; }
    .hero-main { padding: 10px 20px 20px !important; }
    .project-desc-title { font-size: 18px; }
    .project-desc-text { font-size: 12px; }
    .side-block-title { font-size: 8px; }
    .stat-row { padding: 2px 0; }
    .stat-label { font-size: 9px; }
    .stat-val { font-size: 11px; }
}

@media screen and (max-width: 400px) {
    .project-desc { padding: 16px 16px; }
    .hero-main { padding: 8px 16px 16px !important; }
    .project-desc-title { font-size: 16px; }
    .project-desc-subtitle { font-size: 14px; }
    .project-desc-text { font-size: 11px; }
    .hero-side { padding: 10px; }
}

.side-block-title {
  font-size: 9px; letter-spacing: 0.1em; color: var(--fg3); text-transform: uppercase;
  margin-bottom: 6px; border-bottom: 1px solid var(--border); padding-bottom: 4px;
}
.stat-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px solid var(--border);
}
.stat-label { font-size: 10px; color: var(--fg2); }
.stat-val { font-size: 12px; color: var(--fg); font-weight: 500; }
.stat-val.accent { color: var(--accent2); }
.eeg-bar { height: 28px; position: relative; overflow: hidden; background: var(--bg2); }
.eeg-svg { width: 100%; height: 100%; }



.plain-link { color: var(--fg2); text-decoration: none; }
.plain-link:hover { text-decoration: underline; }

/* PROJECT DESCRIPTION */
.project-desc {
    padding: 32px 20px;
    border-top: 1px solid var(--border);
}
.project-desc-inner {
    max-width: 800px;
    margin: 0 auto;
}
.project-desc-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--fg);
}
.project-desc-subtitle {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--fg);
}
.project-desc-text {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--fg2);
}
.project-desc-list {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}
.project-desc-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 16px;
    color: var(--fg2);
    font-size: 13px;
    line-height: 1.7;
}
.project-desc-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent2);
}
