/* Events list v2 — companion to public_home_v2 / Diamond Youth mockup */

:root {
  --navy: #0a1931;
  --navy-2: #0d2242;
  --red: #c8102e;
  --red-hot: #e01830;
  --white: #ffffff;
  --ink: #0a1931;
  --muted: #6b7c8f;
  --line: #e8eef5;
  --bg: #f5f7fa;
  --font: "Montserrat", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ev2 {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.ev2-wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 1.5rem; }

/* ═══════════════ NAV ═══════════════ */
/* hv2-nav / hv2-brand / hv2-nav-links / hv2-login / hv2-btn now live ONLY in
   public_home_v2.css (single shared navbar for every public page). This file
   used to carry a stale duplicate copy that had drifted out of sync (e.g.
   `position: sticky` instead of `relative`, and mobile `.is-open` selectors
   targeting `.hv2-nav-links`/`.hv2-nav-right` directly instead of the actual
   `.hv2-nav-panel` wrapper the JS toggles), causing the mobile menu to behave
   differently here than on the home page. Do not re-add nav rules here. */

.ev2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.55rem 1.05rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
}
.ev2-btn:hover { transform: translateY(-1px); }

.ev2-btn-red { background: var(--red); color: #fff; }
.ev2-btn-red:hover { background: #a70d26; }

.ev2-btn-navy { background: var(--navy); color: #fff; }
.ev2-btn-navy:hover { background: #061022; }

.ev2-btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.ev2-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ═══════════════ HERO ═══════════════ */

.ev2-hero {
  position: relative;
  min-height: clamp(320px, 48vh, 420px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.ev2-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ev2-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.ev2-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 16, 34, 0.92) 0%, rgba(10, 25, 49, 0.78) 45%, rgba(10, 25, 49, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(6, 16, 34, 0.55) 100%);
}

.ev2-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5.5rem;
}

.ev2-hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.ev2-hero-title em {
  font-style: normal;
  color: var(--red-hot);
}

.ev2-hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.ev2-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
}

.ev2-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.ev2-stat svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
}
.ev2-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.ev2-stat span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

@keyframes ev2-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.ev2-hero-title { animation: ev2-fade-up 0.55s ease both; }
.ev2-hero-lead { animation: ev2-fade-up 0.55s ease 0.1s both; }
.ev2-hero-stats { animation: ev2-fade-up 0.55s ease 0.2s both; }

/* ═══════════════ SEARCH BAR ═══════════════ */

.ev2-search {
  position: relative;
  z-index: 10;
  margin-top: -2.75rem;
  margin-bottom: 0.5rem;
}

.ev2-search-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(10, 25, 49, 0.14);
  border: 1px solid rgba(10, 25, 49, 0.06);
  padding: 1.15rem 1.25rem;
  max-width: 100%;
  min-width: 0;
}

#ev2SearchForm,
.ev2-search-fields,
.ev2-sf,
.ev2-sf-wrap {
  min-width: 0;
  max-width: 100%;
}

.ev2-search-fields {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.95fr 0.95fr 1.15fr auto;
  gap: 0.75rem;
  align-items: end;
  width: 100%;
}

.ev2-sf-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ev2-sf-wrap {
  position: relative;
  width: 100%;
}

.ev2-sf-input,
.ev2-sf-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0.55rem 2.25rem 0.55rem 0.85rem;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  outline: none;
  transition: border-color .15s, background .15s;
}
.ev2-sf-input:focus,
.ev2-sf-select:focus {
  border-color: #9bb0c7;
  background: #fff;
}
.ev2-sf-select {
  appearance: none;
  cursor: pointer;
}

.ev2-sf-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #93a1b1;
  pointer-events: none;
}

.ev2-dates-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}
.ev2-dates-wrap .ev2-sf-input {
  padding-right: 0.5rem;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}
.ev2-dates-sep {
  color: var(--muted);
  font-weight: 700;
  flex: 0 0 auto;
}
.ev2-dates-wrap .ev2-sf-icon { display: none; }

.ev2-search-btn {
  min-height: 44px;
  padding-inline: 1.25rem;
}

.ev2-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.ev2-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #eef3f8;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
}
.ev2-chip:hover { background: #e2eaf3; }
.ev2-chip-clear {
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .ev2-search-fields {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .ev2-search-btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 980px) {
  .ev2-search-fields {
    grid-template-columns: 1fr 1fr;
  }
  .ev2-search-btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 720px) {
  .ev2-search { margin-top: -2rem; }
  .ev2-search .ev2-wrap { padding-left: 1rem; padding-right: 1rem; }
  .ev2-search-panel { padding: 1rem; }
  .ev2-search-fields { grid-template-columns: 1fr; }
  .ev2-dates-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
  }
  .ev2-dates-wrap .ev2-sf-input { width: 100%; }
  .ev2-dates-sep { display: none; }
  .ev2-hero-inner { padding-bottom: 4.5rem; }
}

/* ═══════════════ LIST SECTION ═══════════════ */

.ev2-list {
  padding: 1.75rem 0 1rem;
}

.ev2-list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ev2-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid #e5ebf2;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.ev2-tab {
  position: relative;
  padding: 0.55rem 0.1rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border: 0;
  background: none;
  cursor: pointer;
}
.ev2-tab:hover { color: var(--navy); }
.ev2-tab.is-active { color: var(--navy); }
.ev2-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--red);
  border-radius: 2px 2px 0 0;
}

.ev2-sort {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.ev2-sort select {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #fff;
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.ev2-event-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Event row */
.ev2-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10, 25, 49, 0.05);
  transition: box-shadow .18s, border-color .18s;
  color: inherit;
  min-height: 108px;
}
.ev2-card:hover {
  box-shadow: 0 6px 18px rgba(10, 25, 49, 0.1);
  border-color: #d5dee8;
}

.ev2-card-img {
  position: relative;
  min-height: 108px;
  height: 100%;
  background: #0d2242;
  overflow: hidden;
}
.ev2-card-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ev2-card-img-ph {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(200,16,46,.28), transparent 50%),
    linear-gradient(135deg, #1a3a5c 0%, #0d2242 100%);
}
.ev2-card-img--logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo badge — bottom-right corner of card image */
.ev2-card-logo {
  position: absolute;
  bottom: 0.4rem;
  right: 0.4rem;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  overflow: hidden;
  z-index: 2;
}
.ev2-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ev2-card-logo--hero {
  position: relative;
  bottom: auto;
  right: auto;
  width: min(58%, 72px);
  height: min(58%, 72px);
  aspect-ratio: 1;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
}

.ev2-card-date {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  min-width: 46px;
  padding: 0.28rem 0.38rem;
  background: #fff;
  border-radius: 7px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  z-index: 3;
}
.ev2-card-date--hot { background: var(--red); }
.ev2-card-date-days {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
}
.ev2-card-date-month {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ev2-card-date--hot .ev2-card-date-days,
.ev2-card-date--hot .ev2-card-date-month { color: #fff; }

.ev2-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 1.1rem;
  min-width: 0;
}

.ev2-card-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.ev2-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev2-card-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  min-width: 0;
}

.ev2-card-loc {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
  min-width: 0;
  max-width: 100%;
}
.ev2-card-loc span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ev2-card-loc svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: #93a1b1;
}
.ev2-card-flag {
  width: 16px;
  height: 12px;
  flex: 0 0 auto;
  display: inline-block;
  object-fit: cover;
  border-radius: 2px;
  vertical-align: -1px;
}
.ev2-card-country {
  color: #64748b;
  font-size: 0.82em;
  white-space: nowrap;
}

.ev2-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  flex: 1 0 100%;
}
.ev2-card-meta-counts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-left: auto;
}

.ev2-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ev2-tag-registration svg,
.ev2-tag-count svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}
.ev2-tag-count strong {
  font-weight: 900;
}
.ev2-tag-count.ev2-count--teams {
  background: var(--navy);
  color: #fff;
}
.ev2-tag-count.ev2-count--players {
  background: #e8eef5;
  color: var(--navy);
}
.ev2-tag-schedule {
  background: #e4f6ee;
  color: #0b6b4a;
  border: 1px solid #b7e4cf;
}
.ev2-tag-schedule svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}
.ev2-tag-player {
  background: #e8eef5;
  color: var(--navy);
}
.ev2-tag-team {
  background: #d4deea;
  color: var(--navy);
}
.ev2-tag-type {
  background: #fff;
  color: var(--navy);
  border: 1px solid #c5d0dc;
}
.ev2-tag-age {
  background: #f0f3f7;
  color: #3d4f61;
}

.ev2-card-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

.ev2-status {
  font-size: 0.72rem;
  font-weight: 800;
}
.ev2-status--open { color: #16a34a; }
.ev2-status--few { color: #ea580c; }
.ev2-status--closed,
.ev2-status--pending { color: var(--muted); }
.ev2-status--live { color: var(--red); }

.ev2-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
}
.ev2-card:hover .ev2-card-link { text-decoration: underline; }

.ev2-empty {
  width: 100%;
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 12px;
}
.ev2-empty h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.ev2-empty p { margin: 0; font-size: 0.9rem; }

@media (max-width: 780px) {
  .ev2-card {
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 96px;
  }
  .ev2-card-img { min-height: 96px; }
  .ev2-card-body { padding: 0.6rem 0.85rem; gap: 0.5rem 0.75rem; }
}
@media (max-width: 640px) {
  .ev2-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 88px;
  }
  .ev2-card-img { min-height: 88px; }
  .ev2-card-logo {
    width: 30px;
    height: 30px;
    bottom: 0.28rem;
    right: 0.28rem;
    border-radius: 6px;
  }
  .ev2-card-logo--hero {
    width: min(62%, 56px);
    height: min(62%, 56px);
    border-radius: 10px;
    padding: 4px;
  }
  .ev2-card-date {
    min-width: 38px;
    padding: 0.18rem 0.26rem;
    top: 0.28rem;
    left: 0.28rem;
  }
  .ev2-card-date-days,
  .ev2-card-date-month { font-size: 0.56rem; }
  .ev2-card-body {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 0.55rem 0.7rem;
    gap: 0.35rem;
  }
  .ev2-card-title {
    font-size: 0.88rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ev2-card-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }
}

.ev2-more {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 0.5rem;
}
.ev2-more-btn {
  min-width: min(420px, 100%);
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #d7e0ea;
  background: #eef2f6;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s;
}
.ev2-more-btn:hover { background: #e2e8f0; }

/* ═══════════════ EXPLORE TYPES ═══════════════ */

.ev2-types {
  padding: 1.75rem 0 2rem;
  background: #fff;
  margin-top: 2rem;
  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;
}

.ev2-types-title {
  margin: 0 0 1.25rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.ev2-types-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid #edf1f7;
  border-radius: 12px;
  overflow: hidden;
}

.ev2-type {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 0.9rem 1rem;
  background: #fff;
  border-right: 1px solid #edf1f7;
  transition: background .15s;
  color: inherit;
}
.ev2-type:last-child { border-right: 0; }
.ev2-type:hover { background: #f8fafc; }

.ev2-type-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef3f8;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.ev2-type:hover .ev2-type-icon { background: #e2eaf4; }
.ev2-type-icon svg {
  width: 22px;
  height: 22px;
  color: var(--navy);
}

.ev2-type-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.ev2-type-body h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
}
.ev2-type-body p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}
.ev2-type-link {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.75;
}
.ev2-type:hover .ev2-type-link {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .ev2-types-grid { grid-template-columns: repeat(3, 1fr); }
  .ev2-type:nth-child(3) { border-right: 0; }
  .ev2-type:nth-child(4),
  .ev2-type:nth-child(5),
  .ev2-type:nth-child(6) { border-top: 1px solid #edf1f7; }
}
@media (max-width: 640px) {
  .ev2-types-grid { grid-template-columns: repeat(2, 1fr); }
  .ev2-type:nth-child(2n) { border-right: 0; }
  .ev2-type:nth-child(n+3) { border-top: 1px solid #edf1f7; }
  .ev2-type:nth-child(3) { border-right: 1px solid #edf1f7; }
}

/* ═══════════════ CTA ROW ═══════════════ */

.ev2-cta-row {
  padding: 2.5rem 0;
  background: #fff;
}

.ev2-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ev2-cta-news {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ev2-cta-news svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.9);
}
.ev2-cta-news h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}
.ev2-cta-news p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.ev2-cta-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.ev2-cta-form input {
  flex: 1 1 180px;
  min-width: 12rem;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
  outline: none;
}

.ev2-cta-org {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.ev2-cta-org-media {
  position: absolute;
  inset: 0;
}
.ev2-cta-org-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ev2-cta-org-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 49, 0.16) 0%, rgba(10, 25, 49, 0.58) 100%);
}
.ev2-cta-org-body {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 28rem;
}
.ev2-cta-org-body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}
.ev2-cta-org-body p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 780px) {
  .ev2-cta-grid { grid-template-columns: 1fr; }
}

/* Red organize banner */
.ev2-banner {
  background: var(--red);
  color: #fff;
}
.ev2-banner-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ev2-banner-copy {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.ev2-banner-copy svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}
.ev2-banner-copy strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ev2-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ev2-banner-mark {
  width: 34px;
  height: 34px;
  opacity: 0.9;
}

@media (max-width: 560px) {
  .ev2-banner-inner { justify-content: center; text-align: center; }
  .ev2-banner-copy { flex-direction: column; }
}

/* Login modal (lightweight, no Bootstrap dependency for layout) */
.ev2-modal[hidden] { display: none !important; }
.ev2-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.ev2-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 34, 0.65);
}
.ev2-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.ev2-modal-dialog h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.ev2-modal-dialog > p {
  margin: 0 0 1.15rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.ev2-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: 0;
  background: #f1f5f9;
  border-radius: 8px;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
}
.ev2-field { margin-bottom: 0.85rem; }
.ev2-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}
.ev2-field input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
}
.ev2-modal-error {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 600;
}
.ev2-modal-foot {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.ev2-modal-foot a { color: #2563eb; font-weight: 700; }
