/* ASSD content updates requested in WEBSITE ASSD - AJUSTES VERCEL.docx. */

/* ASSD sitewide typography: use Outfit and avoid cursive/italic styling. */
body,
p,
a,
li,
blockquote,
.body,
button,
input,
select,
textarea {
  font-family: "Outfit", sans-serif;
  font-style: normal;
}

em,
dfn,
cite,
var,
.text-style-italic,
i:not([class^="w-icon-"]):not([class*=" w-icon-"]) {
  font-family: "Outfit", sans-serif;
  font-style: normal;
}

.assd-headmaster-portrait {
  position: relative;
  top: -10.2rem;
  width: 80%;
}

.assd-headmaster-portrait .image-headcoach {
  display: block;
  max-width: 100%;
  top: 0;
  width: 100%;
}

.assd-headmaster-signature {
  align-items: center;
  background: #fff;
  bottom: 0;
  color: #103153;
  display: flex;
  flex-direction: column;
  font-family: "Outfit", sans-serif;
  height: 10%;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.assd-headmaster-signature__name {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}

.assd-headmaster-signature__title {
  display: block;
  font-size: clamp(0.62rem, 1.15vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.assd-extension-staff-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  width: 70%;
}

.assd-staff-hidden {
  display: none !important;
}

.section-admissions-contact .cell {
  flex-wrap: wrap;
  row-gap: 1rem;
}

html[data-wf-page="64dc20a0e0aa31b90070bf8c"]
  .section-hero-medium
  .image-header-overlay
  .image-hero {
  object-position: center 28%;
}

html[data-wf-page="64dfe679ece0e8b489e0225a"]
  .section-hero-medium
  .image-header-overlay
  .image-hero {
  object-position: center 22%;
}

html[data-wf-page="64dff1c5c8bff842f85da411"]
  .section-hero-small
  .image-header-overlay
  .image-hero {
  object-position: center 32%;
}

.content-accreditations
  img[src$="/assets/updates/logo-ainep-home.webp"] {
  height: auto;
  max-width: 50%;
  object-fit: contain;
  width: 11.3125rem;
}

.content-accreditations
  img[src$="/assets/updates/logo-nebrija.webp"],
.content-accreditations
  img[src$="/assets/updates/logo-universidad-alfonso-x.svg"],
.content-accreditations
  img[src$="/assets/updates/logo-dream-big.png"] {
  height: auto;
  max-height: 8rem;
  max-width: 45%;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.content-accreditations
  img[src$="/assets/updates/logo-universidad-alfonso-x.svg"] {
  background: #f4f8fc;
  border-radius: 0.4rem;
  box-sizing: border-box;
  padding: 1rem;
}

.content-accreditations .assd-partner-placeholder {
  aspect-ratio: auto;
  background: #f4f8fc;
  border-radius: 0.4rem;
  box-sizing: border-box;
  height: 12rem;
  max-width: 100%;
  object-fit: contain;
  padding: 3rem;
  width: 24rem;
}

.assd-staff-placeholder {
  align-items: center;
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #e9f2fa, #caddec);
  color: #103153;
  display: flex;
  justify-content: center;
  width: 70%;
}

.assd-staff-placeholder span {
  align-items: center;
  background: #103153;
  border: 0.2rem solid #fff;
  border-radius: 50%;
  box-shadow: 0 0.4rem 1rem rgba(16, 49, 83, 0.18);
  color: #fff;
  display: flex;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 600;
  height: clamp(5rem, 11vw, 7rem);
  justify-content: center;
  letter-spacing: 0.04em;
  width: clamp(5rem, 11vw, 7rem);
}

.assd-partner-placeholder {
  align-items: center;
  aspect-ratio: 2 / 1;
  background: #f4f8fc;
  border: 0.1rem dashed rgba(16, 49, 83, 0.35);
  border-radius: 0.4rem;
  color: #103153;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50%;
  padding: 1rem;
  text-align: center;
  width: 100%;
}

.assd-partner-placeholder__label {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.assd-partner-placeholder__detail {
  font-size: 0.65rem;
  line-height: 1.2;
  margin-top: 0.4rem;
}

.assd-community-partners {
  background: #f4f8fc;
  padding: 5rem 1.25rem;
}

.assd-community-partners__inner {
  margin: 0 auto;
  max-width: 72rem;
}

.assd-community-partners__heading {
  color: #103153;
  margin: 0 0 2.5rem;
  text-align: center;
}

.assd-community-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assd-community-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.7rem 2rem rgba(16, 49, 83, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.assd-community-card__photo {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.assd-community-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem;
}

.assd-community-card__logo {
  height: 4.5rem;
  margin-bottom: 1.1rem;
  max-width: 11rem;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

.assd-community-card__title {
  color: #103153;
  margin: 0 0 0.85rem;
}

.assd-community-card__description {
  color: #3d4d5d;
  line-height: 1.65;
  margin: 0;
}

.assd-padel-card .assd-padel-icon {
  height: 4.5rem;
  width: 4.5rem;
}

.assd-padel-card .assd-padel-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .assd-community-partners {
    padding-bottom: 3.5rem;
    padding-top: 3.5rem;
  }

  .assd-community-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 991px) {
  .assd-headmaster-portrait {
    width: 100%;
  }

  .section-home-leadership
    .leadership-home-list
    > .w-dyn-item:nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
  }
}

@media screen and (max-width: 479px) {
  .assd-headmaster-portrait {
    top: 0;
  }
}
