/* ============================================================
   HAXD 2027 — Utility Classes
   Reusable helpers that replace repeated inline style="..."
   attributes across the page templates. Loaded after the main
   stylesheets so these small helpers win when intended.
   ============================================================ */

/* Small circular/!square icon badge used in checklist rows.
   Replaces inline: width:34px;height:34px;flex-shrink:0 */
.icon-badge-sm {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

/* Fixed-width leading table columns (icon / number columns). */
.col-w-60 { width: 60px; }
.col-w-56 { width: 56px; }

/* Naples gallery thumbnails — responsive fixed-ratio image.
   Replaces inline height/width/object-fit on .scope-thumb images. */
.scope-thumb {
  height: clamp(140px, 20vw, 220px);
  width: 100%;
  object-fit: cover;
}
/* Slightly taller variant used on the Previous Editions page. */
.scope-thumb--tall {
  height: clamp(150px, 22vw, 240px);
}

/* Corner "edition" ribbon on version cards.
   Replaces the long inline absolute-positioned badge style. */
.edition-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: var(--primary-color, #8B5CF6);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  padding: .25rem .6rem;
  border-radius: 4px;
  letter-spacing: .03em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

/* Hero subtitle line under the main title. */
.hero-subtitle {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-secondary, #475569);
  letter-spacing: .02em;
}

/* Large decorative quote/emblem mark. */
.decorative-mark {
  color: var(--primary-color, #8B5CF6);
  opacity: .3;
}

/* Generic positioning helpers to replace one-off inline styles. */
.pos-relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-above { position: relative; z-index: 1; }

/* Hero section top spacing (was inline padding/scroll-margin). */
.hero-offset-top {
  padding-top: 6.5rem;
  scroll-margin-top: 6.5rem;
}

/* Readable prose block (larger line-height) — was inline on the CFP scope. */
.prose-lg {
  font-size: 1.08rem;
  line-height: 1.75;
}

/* Borderless embed (map iframe). */
.border-0-embed { border: 0; }

/* Clickable element affordance. */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* Soft warm section background (venue closing band). */
.section-warm-fade {
  background: linear-gradient(180deg, #F4F7FC 0%, #ffffff 60%, #EEF3FB 100%);
}
html[data-theme="dark"] .section-warm-fade {
  background: linear-gradient(180deg, #211C16 0%, #16130F 60%, #211C16 100%);
}
