/* ==========================================================================
   Artists Camp — MasterClass page (patterns: master-class-*)
   Values ported verbatim from artists-camp-3.0/src/pages/MasterClass.tsx
   inline styles + MasterClass.css. Owned by the mc-map pattern group.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero — ink, horizon-trails backdrop at 0.14
   -------------------------------------------------------------------------- */

.mc-hero {
  position: relative;
  overflow: hidden;
  background: #111827;
}

.mc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  pointer-events: none;
}

.mc-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(56px, 9vw, 100px) clamp(16px, 4vw, 32px) clamp(52px, 8vw, 88px);
}

.mc-hero__inner > * {
  margin: 0;
}

.mc-hero__title {
  color: #ffffff;
  max-width: 820px;
  line-height: 1.02;
}

.mc-hero__lead {
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.5;
  color: #cdd4df;
  max-width: 620px;
  text-wrap: pretty;
}

.mc-hero__btns {
  margin-top: 6px;
}

/* Dark-hero ghost CTA: transparent fill, slate border. */
.mc-btn-ghost,
.wp-block-button.mc-btn-ghost .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #516078;
}

/* MasterClass.css .mc-border-white, ported verbatim
   (style-hover="border-color: #FFFFFF; color: #FFFFFF"). */
.mc-border-white:hover {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.wp-block-button.mc-border-white:hover .wp-block-button__link {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.wp-block-button.mc-border-white:hover {
  background: transparent !important;
}

/* --------------------------------------------------------------------------
   Dates strip — white band, hairline below only
   -------------------------------------------------------------------------- */

.mc-dates {
  background: #ffffff;
  border-bottom: 1px solid #e8ecf2;
}

.mc-dates__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mc-dates__inner > * {
  margin: 0;
}

.mc-dates__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mc-dates__head > * {
  margin: 0;
}

.mc-note {
  font-size: 13.5px;
  color: #8b97aa;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Day by day — three phases of details/summary day cards
   -------------------------------------------------------------------------- */

.mc-days__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mc-days__inner > * {
  margin: 0;
}

.mc-phases {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.mc-phases > * {
  margin: 0;
}

.mc-phase {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-phase > * {
  margin: 0;
}

.mc-phase__head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mc-phase__head > * {
  margin: 0;
}

.mc-phase__range {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 16px;
}

.mc-phase__range--intro {
  background: #19a974;
}

.mc-phase__range--intensive {
  background: #ffb000;
}

.mc-phase__range--capstone {
  background: #ff5a5f;
}

.mc-phase__name {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(19px, 2.6vw, 23px);
  font-weight: 700;
}

.mc-phase__note {
  font-size: 14px;
  color: #8b97aa;
}

.mc-daylist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-daylist > * {
  margin: 0;
}

/* Day card — the single-open accordion ported to native details/summary. */
.mc-day {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-left: 4px solid #19a974;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.mc-day--intensive {
  border-left-color: #ffb000;
}

.mc-day--capstone {
  border-left-color: #ff5a5f;
}

/* MasterClass.css .mc-shadow, ported verbatim — shadow only, no lift. */
.mc-shadow:hover {
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.09);
}

.mc-day > summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(16px, 2.6vw, 22px) clamp(16px, 3vw, 26px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background-color 0.22s ease;
}

.mc-day > summary::-webkit-details-marker {
  display: none;
}

/* hv-row wash on the summary row (button hover in the SPA). */
.mc-day > summary:hover {
  background: #f5f7fa;
}

.mc-day__label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.mc-day__no {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-width: 64px;
  color: #0b7d58;
}

.mc-day--intensive .mc-day__no {
  color: #9a6200;
}

.mc-day--capstone .mc-day__no {
  color: #d7374f;
}

.mc-day__title {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

/* The "+" disc (chev port) — rotates 45° when the day opens, JS-free. */
.mc-day > summary::after {
  content: "+";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #cdd4df;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #516078;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mc-day[open] > summary::after {
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .mc-day,
  .mc-day > summary,
  .mc-day > summary::after {
    transition: none;
  }
}

.mc-day__body {
  border-top: 1px solid #e8ecf2;
  background: #f5f7fa;
  padding: clamp(16px, 2.6vw, 22px) clamp(16px, 3vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-day__body > * {
  margin: 0;
}

.mc-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.mc-blocks > * {
  margin: 0;
}

.mc-block {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-block > * {
  margin: 0;
}

.mc-block__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0b7d58;
}

.mc-day--intensive .mc-block__k {
  color: #9a6200;
}

.mc-day--capstone .mc-block__k {
  color: #d7374f;
}

.mc-block__v {
  font-size: 13px;
  line-height: 1.5;
  color: #243047;
}

.mc-day__meta {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
}

.mc-day__meta > * {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.mc-meta--anchor {
  color: #0b7d58;
}

.mc-meta--ai {
  color: #00789e;
}

.mc-meta--proof {
  color: #9a6200;
}

/* --------------------------------------------------------------------------
   Day 06 figure — mix-decision, 5:2 crop
   -------------------------------------------------------------------------- */

.mc-figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-figure > * {
  margin: 0;
}

.mc-figure__img img {
  aspect-ratio: 5 / 2;
}

.mc-figure__cap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.mc-figure__cap > * {
  margin: 0;
}

.mc-figure__note {
  font-size: 13.5px;
  color: #516078;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Master Mind band (ink)
   -------------------------------------------------------------------------- */

.mc-mm-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-mm-stack > * {
  margin: 0;
}

.mc-mm-title {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.mc-mm-copy {
  color: #8b97aa;
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.mc-mm-meta {
  font-size: 14px;
  color: #cdd4df;
}

/* Master Mind CTA sizing (13px 24px / 15 in the source). */
.mc-mm-btn,
.wp-block-button.mc-mm-btn .wp-block-button__link {
  padding: 13px 24px;
  font-size: 15px;
}

.mc-mm-photo img {
  aspect-ratio: 16 / 9;
}
