
/* =========================================================
   AVW RESOURCE CENTRE
   Page-specific styles — V2.0.1
   Shared header, typography and footer: ../styles.css
   ========================================================= */

.resources-page {
  width: 100%;
}

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

.resources-page section {
  scroll-margin-top: 100px;
}

/* =========================================================
   HERO QUICK LINKS
   Original appearance preserved
   ========================================================= */

.resources-quicklinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 960px;
  margin-top: 0;
  background: #385061;
  border: 1px solid #385061;
}

.resources-quicklinks a {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 26px 24px;
  background: #0a2337;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease;
}

.resources-quicklinks a:hover {
  background: #163b55;
}

/* =========================================================
   RESOURCE SECTIONS
   ========================================================= */

.resources-section {
  padding: 110px 8%;
  background: #fff;
}

.resources-section-alt {
  background: #f6f8fa;
}

.resources-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 50px;
}

.resources-heading > div {
  min-width: 0;
  flex: 1;
}

.resources-heading .eyebrow {
  margin: 0;
}

.resources-heading h2 {
  max-width: 850px;
}

.resources-heading h2 span {
  color: #157cb8;
}

.resources-heading > p {
  max-width: 350px;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #61707d;
}

/* =========================================================
   CORPORATE DOCUMENTS / DOWNLOADS
   ========================================================= */

.resources-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.resources-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 110px;
  padding: 30px 27px;
  background: #fff;
  border: 1px solid #e7ebef;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.resources-item > span {
  color: #17212c;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.resources-item > small {
  flex-shrink: 0;
  color: #127ab5;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.resources-item:hover {
  border-color: #9fc8df;
  background: #f9fcfe;
}

/* =========================================================
   TECHNICAL LIBRARY / MEDIA CARDS
   ========================================================= */

.resources-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.resources-category {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 35px 27px;
  background: #fff;
  border: 1px solid #e7ebef;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.resources-category::before {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  margin-bottom: 25px;
  background: #1586c7;
}

.resources-category h3 {
  margin: 0 0 15px;
  color: #17212c;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.7px;
  line-height: 1.25;
}

.resources-category p {
  margin: 0;
  color: #61707d;
  font-size: 14px;
  line-height: 1.65;
}

.resources-category:hover {
  border-color: #9fc8df;
  background: #f9fcfe;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

  .resources-section {
    padding: 75px 7%;
  }

  .resources-heading {
    display: block;
  }

  .resources-heading > p {
    max-width: 650px;
    margin-top: 25px;
  }

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

@media (max-width: 650px) {

  .resources-quicklinks {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }

  .resources-quicklinks a {
    min-height: 65px;
    padding: 20px;
    font-size: 16px;
  }

  .resources-section {
    padding: 65px 7%;
  }

  .resources-heading {
    margin-bottom: 35px;
  }

  .resources-heading h2 {
    font-size: clamp(36px, 9vw, 50px);
    letter-spacing: -2px;
  }

  .resources-list,
  .resources-category-grid {
    grid-template-columns: 1fr;
  }

  .resources-item {
    min-height: 85px;
    padding: 24px 20px;
  }

  .resources-item > span {
    font-size: 16px;
  }

  .resources-category {
    min-height: 190px;
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resources-quicklinks a,
  .resources-item,
  .resources-category {
    transition: none;
  }
}

