/**
 * Section: Entry Requirements
 *
 * Desktop (Figma 207:1044): 310px image left, numbered step list right
 * starting at x=507, each step ruled above with a 68px numeral circle.
 */

.vu-entry__head {
  margin-block-end: 56px;
}

.vu-entry__deadline {
  margin-block-start: var(--vu-space-5);
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.vu-entry {
  display: flex;
  align-items: flex-start;
  gap: 11.5%;   /* 507 − 350 over the 1360 container */
}

.vu-entry__media {
  flex: 0 0 22.8%;   /* 310 / 1360 */
}

.vu-entry__image {
  width: 100%;
  height: auto;
  aspect-ratio: 310 / 440;
  object-fit: cover;
}

.vu-entry__steps {
  flex: 1 1 65.7%;
  min-width: 0;
  /* Numerals are rendered by the template so they can be styled as
     circles; the <ol> is kept for its semantics, not its markers. */
  list-style: none;
  counter-reset: none;
}

.vu-entry__step {
  border-block-start: var(--vu-rule-width) solid var(--vu-rule);
}

.vu-entry__step:last-child {
  border-block-end: var(--vu-rule-width) solid var(--vu-rule);
}

.vu-entry__summary {
  display: flex;
  align-items: center;
  gap: var(--vu-space-7);
  padding-block: var(--vu-space-5);
  cursor: pointer;
  list-style: none;
}

.vu-entry__summary--static {
  cursor: default;
}

.vu-entry__summary::-webkit-details-marker {
  display: none;
}

.vu-entry__summary::marker {
  content: "";
}

.vu-entry__summary:focus-visible {
  outline: var(--vu-focus-width) solid var(--vu-focus-colour);
  outline-offset: -3px;
}

.vu-entry__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 var(--vu-rule-width) var(--vu-gold);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.vu-entry__label {
  flex: 1 1 auto;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -0.01em;
}

.vu-entry__icon {
  flex-shrink: 0;
  transition: rotate var(--vu-transition);
}

.vu-entry__disclosure[open] .vu-entry__icon {
  rotate: 45deg;
}

.vu-entry__detail {
  /* Indented to align with the step text, clear of the numeral. */
  padding-inline-start: calc(68px + var(--vu-space-7));
  padding-block-end: var(--vu-space-6);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.vu-entry__detail a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================================
 * Mobile
 * ============================================================== */
@media (max-width: 1023px) {
  .vu-entry {
    flex-direction: column;
    align-items: stretch;
    gap: var(--vu-space-8);
  }

  .vu-entry__media {
    flex: 1 1 auto;
    width: 100%;
    max-width: 320px;
  }

  .vu-entry__summary {
    gap: var(--vu-space-4);
    align-items: flex-start;
  }

  .vu-entry__num {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .vu-entry__label {
    font-size: 18px;
    line-height: 24px;
	  font-weight: bold;
  }

  .vu-entry__detail {
    padding-inline-start: calc(44px + var(--vu-space-4));
    font-size: 17px;
    line-height: 27px;
  }
  .vu-entry__summary {
		display: grid;
	}
	.vu-entry__icon {
		position: absolute;
		right: 40px;
	}
}
