:root {
  --academy-ivory: #f8f5f0;
  --academy-sand: #e7dccb;
  --academy-green: #004d40;
  --academy-magenta: #a50054;
  --academy-gold: #e8b547;
  --academy-ink: #3f3934;
  --academy-content-max: 1240px;
  --academy-section-y: clamp(72px, 6.2vw, 88px);
  --academy-section-x: clamp(24px, 4vw, 48px);
}

.academy-editorial-home {
  overflow: clip;
  background: var(--academy-ivory);
  color: var(--academy-ink);
}

.academy-editorial-home h1,
.academy-editorial-home h2,
.academy-editorial-home h3,
.academy-editorial-home p {
  margin-top: 0;
}

.academy-editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--academy-magenta);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.academy-editorial-eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.academy-editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: min(780px, calc(100vh - 88px));
  background: linear-gradient(110deg, #fbf8f3 0%, #fbf8f3 46%, #efe6da 100%);
}

.academy-editorial-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 8vw, 132px) clamp(40px, 6.5vw, 112px);
}

.academy-editorial-hero h1 {
  max-width: 760px;
  margin: 24px 0 30px;
  color: var(--academy-green);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 6vw, 7.3rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.academy-editorial-hero-copy > p {
  max-width: 680px;
  margin-bottom: 0;
  color: #625a53;
  font-size: clamp(1.03rem, 1.3vw, 1.25rem);
  line-height: 1.72;
}

.academy-editorial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.academy-editorial-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid var(--academy-green);
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 280ms ease, background-color 280ms ease, color 280ms ease;
}

.academy-editorial-button.is-primary {
  background: var(--academy-green);
  color: #fff;
}

.academy-editorial-button.is-secondary {
  background: rgba(255, 255, 255, 0.35);
  color: var(--academy-green);
}

.academy-editorial-button:hover,
.academy-editorial-button:focus-visible {
  transform: translateY(-2px);
}

.academy-editorial-button.is-primary:hover,
.academy-editorial-button.is-primary:focus-visible {
  border-color: var(--academy-magenta);
  background: var(--academy-magenta);
}

.academy-editorial-hero-visual {
  position: relative;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
}

.academy-editorial-hero-visual::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, #f7f1e8 0%, transparent 100%);
  content: "";
  pointer-events: none;
}

.academy-editorial-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.academy-editorial-intro,
.academy-emotional-explorer,
.academy-emotis-world,
.academy-family-map,
.academy-masters-home {
  max-width: var(--academy-content-max);
  margin-inline: auto;
  padding: var(--academy-section-y) var(--academy-section-x);
}

.academy-editorial-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 5vw, 76px);
  align-items: start;
}

.academy-editorial-intro h2,
.academy-emotional-explorer h2,
.academy-emotis-world h2,
.academy-family-map h2,
.academy-masters-home h2 {
  margin: 14px 0 0;
  color: var(--academy-green);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 5.1vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.academy-editorial-intro-text {
  padding-top: 28px;
}

.academy-editorial-intro-text > p:not(.academy-editorial-quote) {
  max-width: 770px;
  margin-bottom: 16px;
  color: #625b55;
  font-size: 1.05rem;
  line-height: 1.75;
}

.academy-editorial-quote {
  max-width: 720px;
  margin: 32px 0 0;
  padding: 16px 0 2px 26px;
  border-left: 2px solid var(--academy-magenta);
  color: var(--academy-magenta);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-style: italic;
  line-height: 1.12;
}

.academy-emotional-explorer {
  position: relative;
  overflow: hidden;
  max-width: none;
  padding-block: clamp(56px, 5vw, 72px);
  padding-inline: max(var(--academy-section-x), calc((100vw - 1144px) / 2));
  background:
    radial-gradient(circle at 88% 12%, rgba(165, 0, 84, 0.08), transparent 28%),
    linear-gradient(145deg, #f8f3ec 0%, #fffaf5 100%);
}

.academy-emotional-explorer::after {
  content: none;
}

.academy-explorer-heading {
  position: relative;
  z-index: 1;
  max-width: 1144px;
}

.academy-emotional-explorer h2 {
  font-size: clamp(3.2rem, 4.6vw, 4.7rem);
}

.academy-explorer-heading > p {
  max-width: none;
  margin: 18px 0 0;
  color: #625b55;
  font-size: 1.08rem;
  line-height: 1.55;
}

.academy-explorer-search {
  position: relative;
  z-index: 1;
  max-width: 1144px;
  margin-top: clamp(28px, 3vw, 36px);
}

.academy-explorer-search > label {
  display: block;
  margin-bottom: 12px;
  color: var(--academy-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.academy-explorer-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(0, 77, 64, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(60, 46, 37, 0.08);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.academy-explorer-input-wrap:focus-within {
  border-color: var(--academy-magenta);
  box-shadow: 0 24px 70px rgba(165, 0, 84, 0.11);
}

.academy-explorer-input-wrap input {
  min-width: 0;
  padding: 19px 26px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--academy-green);
  font: 500 clamp(1.05rem, 1.5vw, 1.3rem)/1.3 "Montserrat", sans-serif;
}

.academy-explorer-input-wrap input::placeholder {
  color: rgba(98, 91, 85, 0.62);
}

.academy-explorer-input-wrap button {
  min-width: 142px;
  padding: 0 28px;
  border: 0;
  background: var(--academy-magenta);
  color: #fff;
  font: 800 0.76rem/1 "Montserrat", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.academy-explorer-input-wrap button span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 250ms ease;
}

.academy-explorer-input-wrap button:hover span,
.academy-explorer-input-wrap button:focus-visible span {
  transform: translateX(3px);
}

.academy-explorer-search > p {
  max-width: none;
  margin: 13px 0 0;
  color: #756c64;
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (min-width: 1100px) {
  .academy-emotional-explorer h2,
  .academy-explorer-heading > p,
  .academy-explorer-search > p {
    white-space: nowrap;
  }
}

.academy-explorer-start {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

.academy-explorer-start[hidden] {
  display: none;
}

.academy-explorer-start h3 {
  margin: 0 0 18px;
  color: var(--academy-green);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 600;
}

.academy-explorer-start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.academy-explorer-start-actions button {
  padding: 14px 18px;
  border: 1px solid rgba(0, 77, 64, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--academy-green);
  font: 700 0.82rem/1.25 "Montserrat", sans-serif;
  cursor: pointer;
  transition: transform 250ms ease, border-color 250ms ease, background 250ms ease;
}

.academy-explorer-start-actions button:hover,
.academy-explorer-start-actions button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--academy-magenta);
  background: #fff;
}

.academy-explorer-feedback {
  position: relative;
  z-index: 1;
  min-height: 1.6em;
  margin-top: 26px;
  color: #625b55;
  font-size: 0.92rem;
  font-weight: 600;
}

.academy-explorer-results {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.academy-explorer-result {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--result-color) 20%, transparent);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.academy-explorer-result-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
}

.academy-explorer-result-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0;
  background: #f5eee9;
}

.academy-explorer-result-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
}

.academy-explorer-result-label {
  color: var(--result-color);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.academy-explorer-result.is-bruma .academy-explorer-result-label {
  white-space: nowrap;
}

.academy-explorer-result h3 {
  margin: 24px 0 2px;
  color: var(--result-color);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 3.4vw, 3.7rem);
  font-weight: 600;
  line-height: 0.96;
}

.academy-explorer-result-concept {
  margin: 8px 0 16px !important;
  color: var(--academy-magenta) !important;
  font-size: 0.74rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academy-explorer-result > p:not(.academy-explorer-result-concept) {
  margin: 0 0 24px;
  color: #685f58;
  font-size: 0.92rem;
  line-height: 1.65;
}

.academy-explorer-result-body > p:not(.academy-explorer-result-concept) {
  margin: 0 0 24px;
  color: #685f58;
  font-size: 0.92rem;
  line-height: 1.65;
}

.academy-explorer-result-body > a {
  margin-top: auto;
  color: var(--academy-magenta);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.academy-explorer-result.is-bruma .academy-explorer-result-body > a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--academy-magenta);
  color: #fff;
}

.academy-explorer-result-body > a span {
  display: inline-block;
  transition: transform 250ms ease;
}

.academy-explorer-result-body > a:hover span,
.academy-explorer-result-body > a:focus-visible span {
  transform: translateX(3px);
}

.academy-emotis-world {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--academy-content-max)) / 2));
  background: var(--academy-green);
  color: #fff;
}

.academy-emotis-world .academy-editorial-eyebrow {
  color: var(--academy-gold);
}

.academy-emotis-world h2 {
  max-width: 760px;
  color: #f8f2e8;
}

.academy-emotis-world-copy > p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(248, 242, 232, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.academy-emotis-world-copy .academy-emotis-world-closing {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-style: italic;
  line-height: 1.1;
}

.academy-emotis-world-visual {
  width: min(100%, 500px);
  margin: 0;
  justify-self: start;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 42px);
  background: #f8f2e8;
  box-shadow: 0 28px 70px rgba(0, 34, 29, 0.22);
}

.academy-emotis-world-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.academy-emotis-orbit {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: end;
}

.academy-emotis-orbit-line,
.academy-emotis-orbit-core,
.academy-emotis-orbit-symbol {
  position: absolute;
}

.academy-emotis-orbit-line {
  inset: 9%;
  border: 1px solid rgba(232, 181, 71, 0.28);
  border-radius: 50%;
}

.academy-emotis-orbit-line.is-two {
  inset: 23%;
  border-color: rgba(255, 255, 255, 0.18);
}

.academy-emotis-orbit-core {
  inset: 38%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  color: #f8f2e8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.academy-emotis-orbit-symbol {
  width: clamp(48px, 6vw, 78px);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
}

.academy-emotis-orbit-symbol.is-magenta { top: 2%; left: 43%; }
.academy-emotis-orbit-symbol.is-green { top: 30%; right: 0; }
.academy-emotis-orbit-symbol.is-gold { right: 15%; bottom: 4%; }
.academy-emotis-orbit-symbol.is-turquoise { bottom: 10%; left: 10%; }
.academy-emotis-orbit-symbol.is-blue { top: 30%; left: 0; }

.academy-family-map {
  max-width: var(--academy-content-max);
}

.academy-family-heading {
  max-width: 940px;
  margin-bottom: 40px;
}

.academy-family-heading > p,
.academy-masters-heading > p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #6b625a;
  font-size: 1.05rem;
  line-height: 1.7;
}

.academy-family-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.academy-family-card {
  grid-column: span 2;
  position: relative;
  min-height: 330px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid color-mix(in srgb, var(--family-color) 22%, transparent);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.48);
  color: inherit;
  text-decoration: none;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.academy-family-card:nth-child(-n + 2) {
  grid-column: span 3;
}

.academy-family-card:hover,
.academy-family-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--family-color);
  box-shadow: 0 20px 50px rgba(50, 42, 36, 0.07);
}

.academy-family-card > img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.academy-family-index {
  position: absolute;
  top: 30px;
  right: 34px;
  color: var(--family-color);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.academy-family-card h3 {
  max-width: 360px;
  margin: 42px 0 16px;
  color: var(--family-color);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.7vw, 3.1rem);
  font-weight: 600;
  line-height: 0.98;
}

.academy-family-card p {
  max-width: 390px;
  margin-bottom: 0;
  color: #685f58;
  line-height: 1.65;
}

.academy-family-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 30px;
  color: var(--family-color);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.academy-family-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(40px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid rgba(0, 77, 64, 0.14);
}

.academy-family-closing p {
  max-width: 720px;
  margin: 0;
  color: var(--academy-green);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-style: italic;
  line-height: 1.08;
}

.academy-family-closing .academy-editorial-button {
  flex: 0 0 auto;
}

.academy-masters-home {
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--academy-content-max)) / 2));
  background: #f0e8dc;
}

.academy-masters-heading {
  max-width: 930px;
  margin-bottom: 42px;
}

.academy-masters-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 77, 64, 0.25);
  border-left: 1px solid rgba(0, 77, 64, 0.25);
}

.academy-masters-group {
  min-height: 360px;
  padding: clamp(30px, 4vw, 54px);
  border-right: 1px solid rgba(0, 77, 64, 0.25);
  border-bottom: 1px solid rgba(0, 77, 64, 0.25);
}

.academy-masters-group > span {
  color: var(--academy-magenta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.academy-masters-group h3 {
  margin: 28px 0 16px;
  color: var(--academy-green);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 600;
  line-height: 0.98;
}

.academy-masters-group p {
  max-width: 520px;
  margin-bottom: 26px;
  color: #665d55;
  line-height: 1.65;
}

.academy-masters-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.academy-masters-group li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--academy-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.academy-masters-group li:not(:last-child)::after {
  color: var(--academy-magenta);
  content: "·";
}

.academy-bruma-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 36px;
  align-items: end;
  margin-top: 24px;
  padding: clamp(38px, 4vw, 52px);
  border-radius: 28px;
  background: var(--academy-green);
  color: #fff;
}

.academy-bruma-entry .academy-editorial-eyebrow {
  color: var(--academy-gold);
}

.academy-bruma-entry h3 {
  margin: 22px 0 18px;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.academy-bruma-entry-copy > p {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.academy-bruma-entry .academy-editorial-button.is-primary {
  border-color: #fff;
  background: #fff;
  color: var(--academy-green);
}

.academy-bruma-entry-detail {
  display: grid;
  gap: 14px;
  padding-left: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.academy-bruma-entry-detail span:first-child {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

@media (max-width: 1024px) {
  .academy-editorial-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    min-height: 650px;
  }

  .academy-editorial-hero-copy {
    padding-inline: clamp(28px, 5vw, 56px);
  }

  .academy-editorial-hero h1 {
    font-size: clamp(3.8rem, 7vw, 5.4rem);
  }

  .academy-family-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .academy-family-card,
  .academy-family-card:nth-child(-n + 2) {
    grid-column: span 1;
  }

  .academy-family-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --academy-section-y: clamp(48px, 14vw, 60px);
    --academy-section-x: 20px;
  }

  .academy-editorial-hero {
    grid-template-columns: 1fr;
  }

  .academy-editorial-hero-copy {
    padding: 56px 20px 44px;
  }

  .academy-editorial-hero h1 {
    margin-block: 20px 24px;
    font-size: clamp(3.5rem, 15vw, 5.2rem);
  }

  .academy-editorial-actions,
  .academy-editorial-button {
    width: 100%;
  }

  .academy-editorial-hero-visual {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .academy-editorial-hero-visual::after {
    inset: 0 0 auto;
    width: auto;
    height: 12%;
    background: linear-gradient(180deg, #fbf8f3 0%, transparent 100%);
  }

  .academy-editorial-intro,
  .academy-emotional-explorer,
  .academy-emotis-world {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .academy-editorial-intro,
  .academy-emotional-explorer,
  .academy-emotis-world,
  .academy-family-map,
  .academy-masters-home {
    padding: var(--academy-section-y) var(--academy-section-x);
  }

  .academy-editorial-intro h2,
  .academy-emotional-explorer h2,
  .academy-emotis-world h2,
  .academy-family-map h2,
  .academy-masters-home h2 {
    margin-top: 12px;
    font-size: clamp(2.9rem, 13vw, 4.3rem);
  }

  .academy-editorial-intro-text {
    padding-top: 0;
  }

  .academy-editorial-quote {
    margin-top: 26px;
  }

  .academy-explorer-search {
    margin-top: 32px;
  }

  .academy-explorer-start {
    margin-top: 28px;
  }

  .academy-family-heading,
  .academy-masters-heading {
    margin-bottom: 32px;
  }

  .academy-emotis-world-visual {
    width: min(100%, 420px);
    justify-self: center;
  }

  .academy-explorer-input-wrap {
    grid-template-columns: 1fr;
  }

  .academy-explorer-input-wrap button {
    min-height: 54px;
  }

  .academy-explorer-results {
    grid-template-columns: 1fr;
  }

  .academy-explorer-result {
    min-height: 0;
  }

  .academy-family-closing {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
    padding-top: 24px;
  }

  .academy-family-grid,
  .academy-masters-groups {
    grid-template-columns: 1fr;
  }

  .academy-family-card,
  .academy-family-card:nth-child(-n + 2),
  .academy-family-card:last-child {
    grid-column: auto;
    min-height: 0;
  }

  .academy-masters-groups {
    border-left: 0;
  }

  .academy-masters-group {
    min-height: 0;
    padding: 30px 0;
    border-right: 0;
  }

  .academy-bruma-entry {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 20px;
    padding: 34px 22px;
  }

  .academy-bruma-entry-detail {
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .academy-editorial-home *,
  .academy-editorial-home *::before,
  .academy-editorial-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
