/* =========================================================
   Charichare 2026 theme
   Bulmaはレイアウト補助として残し、見た目だけ上書きするCSS
   ========================================================= */

:root {
  --cc-navy: #0b2742;
  --cc-blue: #1479b8;
  --cc-sky: #eaf7ff;
  --cc-yellow: #ffd84d;
  --cc-orange: #ff9f1c;
  --cc-green: #24a36b;
  --cc-white: #ffffff;
  --cc-text: #17324a;
  --cc-muted: #63798c;
  --cc-shadow: 0 18px 48px rgba(11, 39, 66, 0.14);
  --cc-radius-lg: 28px;
  --cc-radius-md: 18px;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  color: var(--cc-text);
  background: #f6fbff !important;
  line-height: 1.75;
}

html[data-theme="light"],
:root {
  color-scheme: light;
}

html[data-theme="light"] body {
  color: var(--cc-text);
  background: #f6fbff !important;
}

html[data-theme="light"] .section,
html[data-theme="light"] .box,
html[data-theme="light"] .table,
html[data-theme="light"] .message-body {
  color: var(--cc-text);
}

body,
p,
td,
th,
input,
textarea,
select,
button {
  font-family: "UD Shin Go Conde90 M", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
}

a {
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  opacity: 0.88;
}

/* ========================
   Navbar
   ======================== */

.cc-navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(11, 39, 66, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(11, 39, 66, 0.06);
}

.cc-navbar .navbar-item {
  color: var(--cc-text);
  font-weight: 700;
}

.cc-navbar .navbar-item:hover {
  color: var(--cc-blue);
  background: transparent;
}

.cc-navbar__brand {
  color: var(--cc-navy) !important;
  font-size: 1.15rem;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
}

/* ========================
   Hero
   ======================== */

.cc-hero {
  position: relative;
  min-height: 86vh;
  margin-top: 52px;
  color: var(--cc-white);
  background:
    linear-gradient(110deg, rgba(6, 28, 50, 0.82), rgba(13, 89, 135, 0.58), rgba(255, 159, 28, 0.20)),
    url("../img/use_in_toppage/0004.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.cc-hero::before,
.cc-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.cc-hero::before {
  width: 360px;
  height: 360px;
  right: -100px;
  top: 90px;
  background: rgba(255, 216, 77, 0.28);
}

.cc-hero::after {
  width: 520px;
  height: 520px;
  right: 10%;
  bottom: -260px;
  background: rgba(36, 163, 107, 0.18);
}

.cc-hero__overlay {
  position: relative;
  z-index: 1;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem;
}

.cc-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cc-hero__label::before {
  content: "🚴";
  letter-spacing: 0;
}

.cc-hero__title {
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.26);
}

.cc-hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.22rem, 3vw, 2.08rem);
  font-weight: 900;
  line-height: 1.55;
}

.cc-hero__text {
  max-width: 680px;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 700;
}

.cc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.1rem;
}

.cc-pill-button {
  border-radius: 999px !important;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.cc-pill-button:hover {
  transform: translateY(-2px);
}

.cc-hero-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--cc-radius-lg);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.cc-hero-card__eyebrow {
  color: var(--cc-yellow);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.cc-hero-card__main {
  margin-top: 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.35;
}

.cc-hero-card__sub {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

/* ========================
   Sections
   ======================== */

.cc-section {
  background: var(--cc-sky);
}

.cc-section--white {
  background: var(--cc-white);
}

.cc-section-heading {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}

.cc-section-heading__sub {
  color: var(--cc-blue);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.cc-section-heading__title {
  margin-top: 0.3rem;
  color: var(--cc-navy);
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 900;
  line-height: 1.2;
}

.cc-section-heading__text {
  margin-top: 1rem;
  color: var(--cc-muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.cc-simple-title {
  position: relative;
  margin-bottom: 1.6rem;
  padding-left: 1rem;
  color: var(--cc-navy);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  font-weight: 900;
  border-left: 8px solid var(--cc-orange);
}

.cc-simple-title .icon {
  margin-right: 0.35rem;
  color: var(--cc-orange);
}

/* ========================
   Cards
   ======================== */

.cc-feature-card,
.cc-info-card,
.cc-link-card {
  border: 0;
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow);
}

.cc-feature-card {
  height: 100%;
  padding: 2.2rem 1.7rem;
  background: var(--cc-white);
  text-align: center;
}

.cc-feature-card:hover,
.cc-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(11, 39, 66, 0.18);
}

.cc-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff4ba, #e8f8ff);
  font-size: 2.25rem;
}

.cc-feature-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 1.3rem;
  overflow: hidden;
  border-radius: 22px;
  background: #eaf7ff;
  box-shadow: 0 14px 34px rgba(11, 39, 66, 0.12);
}

.cc-feature-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-feature-card h3 {
  color: var(--cc-navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.cc-feature-card p {
  margin-top: 0.8rem;
  color: var(--cc-muted);
  font-weight: 700;
}

.cc-info-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.2rem;
  background: var(--cc-white);
}

.cc-info-table {
  overflow: hidden;
  border-radius: var(--cc-radius-md);
}

.cc-info-table th {
  width: 9rem;
  color: var(--cc-navy);
  background: #eef8ff !important;
  font-weight: 900;
  vertical-align: middle;
}

.cc-info-table td {
  color: var(--cc-text);
  font-weight: 700;
  vertical-align: middle;
}

.cc-link-card {
  min-height: 9rem;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff, #eaf7ff);
  color: var(--cc-navy);
  font-weight: 900;
}

.cc-link-card p:first-child {
  color: var(--cc-blue);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.cc-link-card p:last-child {
  font-size: 1.45rem;
}

.cc-link-card--yellow {
  background: linear-gradient(135deg, #fff7c8, #ffffff);
}

.cc-link-card--yellow p:first-child {
  color: #d27800;
}


/* ========================
   Poster
   ======================== */

.cc-poster-card {
  display: block;
  height: 100%;
  padding: 1rem;
  border-radius: var(--cc-radius-lg);
  background: var(--cc-white);
  box-shadow: var(--cc-shadow);
  text-align: center;
}

.cc-poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(11, 39, 66, 0.18);
}

.cc-poster-card img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  border-radius: 20px;
  background: #f6fbff;
}

.cc-poster-card span {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--cc-blue);
  font-weight: 900;
}

/* ========================
   Staff CTA
   ======================== */

.cc-staff-entry {
  position: relative;
  overflow: hidden;
  color: var(--cc-white);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 216, 77, 0.25), transparent 32%),
    linear-gradient(135deg, #0b2742, #1479b8);
}

.cc-staff-entry::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.cc-staff-entry .container {
  position: relative;
  z-index: 1;
}

.cc-staff-entry .cc-section-heading__sub {
  color: var(--cc-yellow);
}

.cc-staff-entry__text {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 700;
}

.cc-staff-entry__note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

/* ========================
   Existing commonHtml form support
   ======================== */

#regStaff,
#regChallenger,
#poster,
#photo,
#commonInformation,
#chariMap,
#challenger_list,
#staff_list {
  scroll-margin-top: 76px;
}

#regStaff h1,
#regChallenger h1,
#photo h1,
#commonInformation h1,
#chariMap h1,
#challenger_list h1,
#staff_list h1 {
  margin: 0 0 1.6rem 0 !important;
  padding: 0.85rem 1rem 0.85rem 1.2rem !important;
  color: var(--cc-navy) !important;
  background: linear-gradient(90deg, #fff0a8, #eaf7ff) !important;
  border-radius: var(--cc-radius-md) !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
}

#regStaff h1 span,
#regChallenger h1 span,
#photo h1 span,
#commonInformation h1 span,
#chariMap h1 span,
#challenger_list h1 span,
#staff_list h1 span {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.2rem !important;
  height: 2.2rem !important;
  margin-right: 0.5rem;
  color: var(--cc-white) !important;
  background: var(--cc-orange) !important;
  border: 0 !important;
  border-radius: 999px !important;
  transform: none !important;
  line-height: 1 !important;
}

#regStaff .box,
#regChallenger .box,
#photo .box,
#commonInformation .box {
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow);
}

#regStaff input,
#regStaff select,
#regStaff textarea,
#regChallenger input,
#regChallenger select,
#regChallenger textarea,
#contact input,
#contact textarea {
  border-radius: 12px;
}

#regStaffNotice p,
#regChallengerNotice p {
  margin: 0.35rem 0;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  color: #8a2b00;
  background: #fff2e6;
  font-weight: 900;
}

/* ========================
   Hidden modal contents
   ======================== */

#hidden_area {
  display: none;
}

#hidden_area .message {
  border-radius: var(--cc-radius-md);
  overflow: hidden;
}

#hidden_area .message-header {
  background: var(--cc-navy);
}

.noticeFont {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--cc-navy);
  font-size: 1.15rem;
  font-weight: 900;
}


/* ========================
   Plain JS modal / photo list
   ======================== */

.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.cc-modal.is-active {
  display: flex;
}

.cc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 39, 66, 0.72);
}

.cc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(95vw, 900px);
  max-height: 90vh;
  overflow: auto;
  border-radius: var(--cc-radius-lg);
  background: var(--cc-white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.cc-modal__close {
  position: sticky;
  top: 0.7rem;
  float: right;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0.7rem 0.7rem 0 0;
  border: 0;
  border-radius: 999px;
  color: var(--cc-white);
  background: var(--cc-navy);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.cc-modal__body {
  padding: 1.4rem;
  color: var(--cc-text);
}

.cc-modal-open {
  overflow: hidden;
}

.cc-photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.cc-photo-list img {
  width: 100%;
  height: auto;
  border-radius: var(--cc-radius-md);
  box-shadow: var(--cc-shadow);
}

/* ========================
   Mobile
   ======================== */

@media screen and (max-width: 768px) {
  .cc-hero {
    min-height: 82vh;
    margin-top: 52px;
  }

  .cc-hero__overlay {
    min-height: 82vh;
    padding: 4.6rem 1rem 3.6rem;
  }

  .cc-hero__actions .button {
    width: 100%;
  }

  .cc-hero-card {
    margin-top: 2rem;
    padding: 1.4rem;
  }

  .cc-section-heading {
    margin-bottom: 2rem;
  }

  .cc-info-card {
    padding: 0.7rem;
  }

  .cc-info-table th,
  .cc-info-table td {
    display: block;
    width: 100%;
  }

  .cc-info-table th {
    padding-bottom: 0.25rem;
  }

  .cc-info-table td {
    padding-top: 0.25rem;
  }

  .cc-link-card {
    min-height: 7.5rem;
  }

  .cc-poster-card {
    padding: 0.7rem;
  }

  .cc-poster-card img {
    max-height: none;
  }
}

/* ========================
   Vanilla JS image lightbox
   ======================== */

.cc-photo-list__item {
  display: block;
  overflow: hidden;
  border-radius: var(--cc-radius-md);
}

.cc-photo-list__image {
  cursor: zoom-in;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.cc-photo-list__item:hover .cc-photo-list__image,
.cc-photo-list__image:hover {
  transform: scale(1.025);
  filter: brightness(1.04);
}

.cc-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem 4.5rem;
}

.cc-image-lightbox.is-active {
  display: flex;
}

.cc-image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 28, 0.88);
}

.cc-image-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
}

.cc-image-lightbox__image {
  display: block;
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 9rem);
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.cc-image-lightbox__caption {
  margin-top: 0.8rem;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cc-image-lightbox__close,
.cc-image-lightbox__nav {
  position: fixed;
  z-index: 2;
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.cc-image-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.cc-image-lightbox__nav {
  top: 50%;
  width: 3.4rem;
  height: 4.5rem;
  border-radius: 999px;
  font-size: 3rem;
  transform: translateY(-50%);
}

.cc-image-lightbox__nav--prev {
  left: 1rem;
}

.cc-image-lightbox__nav--next {
  right: 1rem;
}

@media screen and (max-width: 768px) {
  .cc-image-lightbox {
    padding: 3.8rem 0.8rem 2rem;
  }

  .cc-image-lightbox__image {
    max-height: calc(100vh - 8rem);
    border-radius: 12px;
  }

  .cc-image-lightbox__nav {
    width: 2.8rem;
    height: 3.8rem;
    font-size: 2.4rem;
  }

  .cc-image-lightbox__nav--prev {
    left: 0.35rem;
  }

  .cc-image-lightbox__nav--next {
    right: 0.35rem;
  }
}
/* ========================
   Prevent horizontal scroll
   ======================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
}

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

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container,
.fixed-grid,
.grid {
  max-width: 100%;
}

/*
  Bulmaのcolumnsは左右に余白・負のマージンが出ることがあるため、
  スマホ時だけhero内では横はみ出しを抑える
*/
@media screen and (max-width: 768px) {
  .cc-hero {
    max-width: 100%;
    overflow: hidden;
  }

  .cc-hero::before,
  .cc-hero::after,
  .cc-staff-entry::after {
    display: none;
  }

  .cc-hero__overlay {
    max-width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow: visible;
  }

  .cc-hero .columns {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .cc-hero .column {
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .cc-hero__title {
    max-width: 100%;
    font-size: clamp(2.15rem, 10.5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .cc-hero__lead,
  .cc-hero__text,
  .cc-hero__actions {
    max-width: 100%;
  }

  .cc-hero__actions .button {
    width: 100%;
  }

  .cc-poster-card {
    max-width: 100%;
  }
}
/* ========================
   Challenger entry 2026
   ======================== */
.cc-challenger-entry { background: linear-gradient(180deg, #fff7d1, #f6fbff); }
.cc-entry-announcement { max-width: 980px; margin: 0 auto 2rem; padding: 2rem; border-radius: var(--cc-radius-lg); background: linear-gradient(135deg, #ffb300, #ff7a00); color: #fff; text-align: center; box-shadow: var(--cc-shadow); }
.cc-entry-announcement__label { font-weight: 900; letter-spacing: .16em; }
.cc-entry-announcement h2 { margin-top: .45rem; font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.3; }
.cc-entry-announcement p:last-child { margin-top: .8rem; font-weight: 800; }
.cc-entry-status { max-width: 900px; margin: 0 auto; padding: 1.5rem; text-align: center; font-size: 1.15rem; }
.cc-entry-form { max-width: 980px; margin: 0 auto; }
.cc-entry-panel { margin-bottom: 1.5rem; padding: 1.5rem; border-radius: var(--cc-radius-lg); background: #fff; box-shadow: var(--cc-shadow); }
.cc-entry-panel__heading { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.3rem; }
.cc-entry-panel__heading > span { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--cc-orange); color: #fff; font-weight: 900; }
.cc-entry-panel__heading p { color: var(--cc-navy); font-size: 1.35rem; font-weight: 900; }
.cc-entry-panel__heading small { color: var(--cc-muted); font-weight: 700; }
.cc-child-card { position: relative; margin-bottom: 1rem; padding: 1.25rem; border: 2px solid #dceef9; border-radius: var(--cc-radius-md); background: #fafdff; }
.cc-child-card__title { margin-bottom: 1rem; color: var(--cc-navy); font-size: 1.15rem; font-weight: 900; }
.cc-child-card__remove { position: absolute; top: 1rem; right: 1rem; }
.cc-entry-confirm { display: block; margin: 1.2rem 0; padding: 1rem; border-radius: 14px; background: #fff; font-weight: 800; }
.cc-staff-entry--closed { background: linear-gradient(135deg, #536273, #7b8794); }
@media screen and (max-width: 768px) { .cc-entry-announcement, .cc-entry-panel { padding: 1.2rem; } .cc-child-card { padding-top: 3.5rem; } }

/* Challenger birthday selectors / pre-open preview */
.cc-birthday-selects {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Challenger entry preview: original guide UI with responsive image source */
.cc-entry-preview {
    max-width: 1080px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: var(--cc-radius-lg);
    background: #fff;
    box-shadow: var(--cc-shadow);
}

.cc-entry-preview__eyebrow {
    color: var(--cc-orange);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.cc-entry-preview h3 {
    margin: .4rem 0 1rem;
    color: var(--cc-navy);
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1.35;
}

.cc-entry-preview__content > p:not(.cc-entry-preview__eyebrow) {
    color: var(--cc-muted);
    font-weight: 700;
    line-height: 1.8;
}

.cc-entry-preview__steps {
    margin-top: 1.25rem;
    padding-left: 0;
    list-style: none;
    counter-reset: entry-step;
}

.cc-entry-preview__steps li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 3rem;
    counter-increment: entry-step;
}

.cc-entry-preview__steps li::before {
    content: counter(entry-step);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--cc-orange);
    color: #fff;
    font-weight: 900;
}

.cc-entry-preview__steps strong,
.cc-entry-preview__steps span {
    display: block;
}

.cc-entry-preview__steps strong {
    color: var(--cc-navy);
    font-size: 1.05rem;
}

.cc-entry-preview__steps span {
    margin-top: .2rem;
    color: var(--cc-muted);
    line-height: 1.65;
}

.cc-entry-preview__image {
    margin: 0;
}

.cc-entry-preview__image picture {
    display: block;
}

.cc-entry-preview__image img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #d6e5ef;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(20, 55, 80, .12);
}

.cc-entry-preview__image figcaption {
    margin-top: .65rem;
    color: var(--cc-muted);
    font-size: .85rem;
    font-weight: 700;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .cc-entry-preview {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }

    .cc-entry-preview__image {
        order: -1;
    }
}

/* Birthday selector width adjustment for mobile Safari */
.cc-birthday-selects {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: .75rem;
}

.cc-birthday-selects > .column {
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
}

.cc-birthday-selects .select,
.cc-birthday-selects .select select {
    width: 100%;
    min-width: 0;
}

.cc-birthday-selects .select select {
    padding-left: .7em;
    padding-right: 2.25em;
    font-size: 1rem;
}

@media screen and (max-width: 420px) {
    .cc-birthday-selects {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
        gap: .55rem;
    }

    .cc-birthday-selects .select select {
        padding-left: .55em;
        padding-right: 1.9em;
    }
}

/* Hide dropdown arrows for challenger birthday selectors */
.cc-birthday-selects .select::after,
.cc-birthday-selects .select:not(.is-multiple):not(.is-loading)::after {
    display: none !important;
}

.cc-birthday-selects .select select {
    -webkit-appearance: none;
    appearance: none;
    background-image: none !important;
    padding-right: .65em !important;
}
