/* Homepage story teaser refinement.
   Keeps Adela visually present without competing with the headline, and uses
   a compact two-line story button with intentional line grouping. */

.home-about-brief__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.home-about-brief__copy {
  min-width: 0;
}

.home-about-brief__eyebrow {
  text-align: center;
}

.home-about-brief__portrait {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23,75,143,.18);
  border-radius: 18px;
  background: #f6efe4;
  box-shadow: 0 12px 28px rgba(19,52,91,.12);
  transform: rotate(.7deg);
}

.home-about-brief__portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.home-about-brief__link {
  display: flex !important;
  width: fit-content !important;
  max-width: max-content !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: auto !important;
  white-space: normal !important;
  text-align: center;
}

.home-about-brief__link > span {
  display: block;
  white-space: nowrap;
}

@media (min-width: 981px) {
  body:has(.home-photo-hero) .home-about-brief__inner {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr) !important;
    gap: clamp(2rem, 4vw, 4.25rem) !important;
  }

  body:has(.home-photo-hero) .home-about-brief__copy {
    min-width: 0 !important;
  }

  body:has(.home-photo-hero) .home-about-brief__eyebrow,
  body:has(.home-photo-hero) .home-about-brief h2,
  body:has(.home-photo-hero) .home-about-brief__link {
    grid-column: auto !important;
  }

  body:has(.home-photo-hero) .home-about-brief h2 {
    max-width: 8em !important;
  }

  body:has(.home-photo-hero) .home-about-brief__link {
    justify-self: center !important;
    margin-top: 1.7rem !important;
    margin-inline: auto !important;
    padding-inline: 1.05rem !important;
  }

  body:has(.home-photo-hero) .home-about-brief__portrait {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    border-radius: 18px !important;
    transform: rotate(.7deg) translateY(.1rem);
  }
}

@media (max-width: 980px) {
  .home-about-brief__inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem 1.1rem;
  }

  .home-about-brief__copy {
    grid-column: 1;
  }

  .home-about-brief__portrait {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    align-self: center;
    border-radius: 16px;
    transform: rotate(.8deg);
  }
}

@media (max-width: 680px) {
  .home-about-brief {
    padding-top: 3.05rem !important;
    padding-bottom: 3.35rem !important;
  }

  .home-about-brief__inner {
    grid-template-columns: minmax(0, 2fr) minmax(118px, 1fr);
    gap: 1.15rem .85rem;
  }

  .home-about-brief h2 {
    margin-bottom: 0 !important;
  }

  .home-about-brief__portrait {
    width: 100%;
    max-width: none;
    border-radius: 15px;
    box-shadow: 0 10px 22px rgba(19,52,91,.13);
  }

  .home-about-brief__link {
    min-height: 48px !important;
    margin-top: 1.35rem !important;
    margin-inline: auto !important;
    padding: .72rem .82rem !important;
    font-size: .59rem !important;
    line-height: 1.24 !important;
  }
}