.efp-resources-overview {
  background: #2d0b1a;
  color: #fff;
}

.efp-resources-overview *,
.efp-resources-overview *::before,
.efp-resources-overview *::after {
  box-sizing: border-box;
}

.efp-resources-shell {
  width: min(1440px, calc(100% - 2rem));
  margin-inline: auto;
}

.efp-resources-hero {
  position: relative;
  height: 500px;
  min-height: 500px;
  max-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6rem 1rem 2rem;
  text-align: center;
  background: #2d0b1a;
}

.efp-resources-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(45, 11, 26, .18), rgba(45, 11, 26, .24)),
    url('/assets/efp-resources-banner-20260810b.png') center / cover no-repeat;
}

.efp-resources-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-shadow: 0 2px 12px rgba(45, 11, 26, .62);
}

.efp-resources-eyebrow {
  margin: 0;
  color: #f8e8ee;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.efp-resources-hero h1,
.efp-resources-heading {
  font-family: Georgia, "Times New Roman", serif;
}

.efp-resources-hero h1 {
  margin: 1rem 0 0;
  font-size: clamp(2rem, 1.5rem + 1.85vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.efp-resources-hero p:last-child {
  max-width: 760px;
  margin: 1.1rem auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(.95rem, 1.7vw, 1.1rem);
  line-height: 1.55;
}

.efp-resources-section {
  padding: 5.5rem 0;
}

.efp-resources-section--light {
  background: #f4f1ef;
  color: #2d0b1a;
}

.efp-resources-section--white {
  background: #fff;
  color: #2d0b1a;
}

.efp-resources-section--wine {
  background: #2d0b1a;
  color: #fff;
}

.efp-resources-intro {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.efp-resources-heading {
  margin: .7rem 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.efp-resources-copy {
  margin: 1rem auto 0;
  color: rgba(45, 11, 26, .68);
  line-height: 1.75;
}

.efp-resources-section--wine .efp-resources-copy {
  color: rgba(255, 255, 255, .72);
}

.efp-resource-centres {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.efp-resource-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid rgba(45, 11, 26, .12);
  border-radius: 8px;
  background: #fff;
  color: #2d0b1a;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(45, 11, 26, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease, color .25s ease;
}

.efp-resource-card:hover,
.efp-resource-card:focus-visible {
  transform: translateY(-5px);
  border-color: #2d0b1a;
  background: #2d0b1a;
  color: #fff;
  box-shadow: 0 26px 55px rgba(45, 11, 26, .14);
  outline: none;
}

.efp-resource-card__number {
  color: #8d2f55;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  transition: color .25s ease;
}

.efp-resource-card h3 {
  margin: 1.6rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
}

.efp-resource-card p {
  margin: 1rem 0 0;
  color: rgba(45, 11, 26, .66);
  line-height: 1.65;
  transition: color .25s ease;
}

.efp-resource-card__link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  margin-top: auto;
  padding: .72rem 1.15rem;
  border-radius: 6px;
  background: #8d2f55;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease;
}

.efp-resource-card:hover .efp-resource-card__number,
.efp-resource-card:focus-visible .efp-resource-card__number,
.efp-resource-card:hover p,
.efp-resource-card:focus-visible p {
  color: #fff;
}

.efp-resource-card:hover .efp-resource-card__link,
.efp-resource-card:focus-visible .efp-resource-card__link {
  background: #fff;
  color: #2d0b1a;
}

.efp-featured-guide {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  color: #2d0b1a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
}

.efp-featured-guide__visual {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  background:
    linear-gradient(rgba(45, 11, 26, .18), rgba(45, 11, 26, .35)),
    url('/assets/efp-resources-featured-20260810a.png') center / cover no-repeat;
}

.efp-featured-guide__visual .efp-resources-button {
  align-self: flex-end;
  margin-top: 0;
}

.efp-featured-guide__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.efp-featured-guide h3 {
  margin: 1rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.efp-featured-guide p {
  margin: 1.25rem 0 0;
  color: rgba(45, 11, 26, .68);
  line-height: 1.75;
}

.efp-resources-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 2rem;
  padding: .85rem 1.5rem;
  border: 1px solid #8d2f55;
  background: #8d2f55;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.efp-resources-button:hover,
.efp-resources-button:focus-visible {
  background: #2d0b1a;
  border-color: #2d0b1a;
  outline: none;
}

.efp-question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(45, 11, 26, .12);
  border-radius: 8px;
  background: rgba(45, 11, 26, .12);
}

.efp-question-list a {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  color: #2d0b1a;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.efp-question-list a::after {
  content: "→";
  flex: none;
  color: #8d2f55;
}

.efp-question-list a:hover,
.efp-question-list a:focus-visible {
  background: #2d0b1a;
  color: #fff;
  outline: none;
}

.efp-question-list a:hover::after,
.efp-question-list a:focus-visible::after {
  color: #fff;
}

.efp-latest-news {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.efp-news-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: #2d0b1a;
  text-decoration: none;
}

.efp-news-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4f1ef;
}

.efp-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.efp-news-card:hover img {
  transform: scale(1.035);
}

.efp-news-card__body {
  padding: 1.5rem;
}

.efp-news-card__meta {
  color: #8d2f55;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.efp-news-card h3 {
  margin: .8rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.efp-news-card p {
  margin: .8rem 0 0;
  color: rgba(45, 11, 26, .65);
  line-height: 1.6;
}

.efp-resources-final {
  text-align: center;
}

.efp-resources-final .efp-resources-button {
  align-self: auto;
}

.efp-resources-secondary-link {
  display: block;
  width: fit-content;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, .75);
  text-underline-offset: 4px;
}

.efp-resources-social {
  overflow: hidden;
  min-height: 790px;
  padding: 6rem 3rem 7rem;
  background: #f2f2f2;
  color: #2d0b1a;
}

.efp-resources-social__inner {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
}

.efp-resources-social__heading {
  max-width: 576px;
  margin: 0 auto;
  text-align: center;
}

.efp-resources-social__heading h2 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
}

.efp-resources-social__heading p {
  margin: .75rem 0 0;
  font-size: .875rem;
  font-weight: 900;
}

.efp-resources-social__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 3rem;
  margin-top: 3.5rem;
}

.efp-resources-social__card {
  min-width: 0;
  height: 440px;
  overflow: hidden;
  padding: 1.75rem 2rem;
  border-radius: 1.75rem;
  background: #fff;
}

.efp-resources-social.is-reveal-ready .efp-resources-social__card {
  opacity: .4;
  transform: translateY(var(--efp-social-start, -150px));
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .75s ease;
  transition-delay: var(--efp-social-delay, 0s);
}

.efp-resources-social.is-reveal-ready .efp-resources-social__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.efp-resources-social__card:nth-child(2) {
  --efp-social-start: -210px;
  --efp-social-delay: .08s;
}

.efp-resources-social__card:nth-child(3) {
  --efp-social-start: -270px;
  --efp-social-delay: .14s;
}

.efp-resources-social__card-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.efp-resources-social__card-heading svg,
.efp-resources-social__pinterest {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.efp-resources-social__pinterest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2d0b1a;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1;
}

.efp-resources-social__card h3 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.efp-resources-social__scroll {
  height: 350px;
  overflow-y: auto;
  padding-right: .75rem;
  scrollbar-color: #8d2f55 #f2f2f2;
  scrollbar-width: thin;
}

.efp-resources-social__scroll::-webkit-scrollbar {
  width: 6px;
}

.efp-resources-social__scroll::-webkit-scrollbar-track {
  background: #f2f2f2;
}

.efp-resources-social__scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #8d2f55;
}

.efp-resources-social__list {
  display: grid;
  gap: 1.25rem;
}

.efp-resources-social__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.efp-resources-social__image {
  width: 112px;
  height: 112px;
  overflow: hidden;
  border-radius: 6px;
  background: #f2f2f2;
}

.efp-resources-social__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.efp-resources-social__item:hover img,
.efp-resources-social__item:focus-visible img {
  transform: scale(1.05);
}

.efp-resources-social__text {
  min-width: 0;
  padding-top: .25rem;
}

.efp-resources-social__text h4 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.efp-resources-social__text p {
  display: -webkit-box;
  overflow: hidden;
  margin: .5rem 0 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: #2d0b1a;
}

@media (max-width: 900px) {
  .efp-resource-centres,
  .efp-latest-news {
    grid-template-columns: 1fr;
  }

  .efp-featured-guide {
    grid-template-columns: 1fr;
  }

  .efp-featured-guide__visual {
    min-height: 300px;
  }

  .efp-resources-social__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .efp-resources-social__card {
    height: 440px;
  }
}

@media (max-width: 640px) {
  .efp-resources-shell {
    width: min(100% - 1.25rem, 1440px);
  }

  .efp-resources-hero {
    height: 500px;
    min-height: 500px;
    max-height: 500px;
    padding: 4.5rem 1rem 4.25rem;
  }

  .efp-resources-hero p:last-child {
    margin-top: 1.5rem;
    line-height: 1.8;
  }

  .efp-resources-section {
    padding: 4rem 0;
  }

  .efp-resources-social {
    min-height: 0;
    padding: 5rem 1rem;
  }

  .efp-resources-social__heading h2 {
    font-size: 48px;
  }

  .efp-resources-social__card {
    padding: 1.75rem 1.25rem;
  }

  .efp-question-list {
    grid-template-columns: 1fr;
  }

  .efp-resource-card {
    min-height: 260px;
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .efp-resources-overview *,
  .efp-resources-overview *::before,
  .efp-resources-overview *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
