/* ======================
   ABOUT RESOURCES SECTION
   ====================== */

.about-resources-section .resources {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  text-align: left;
  color: #333f5b;
  font-family: "Avenir Next", sans-serif;
  gap: 80px;
  font-size: 16px;
  max-width: 1680px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .about-resources-section .resources {
    gap: 32px;
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-resources-section .resourcesGroup {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 48px);
    width: 100%;
    align-items: stretch;
    font-size: clamp(28px, 4vw, 34px);
  }

  .about-resources-section .resources {
    padding: 0 clamp(24px, 4vw, 48px);
    gap: clamp(60px, 8vw, 80px);
    text-align: center;
  }

  .about-resources-section .resourcesGroup > * {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 32px);
  }
}

.about-resources-section .resourcesGroup {
  display: flex;
  align-items: stretch;
  z-index: 2;
  width: 100%;
  max-width: 1680px;
  min-height: 400px;
  gap: 32px;
  font-size: 38px;
  font-family: "P22 Mackinac Pro", serif;
}

@media (max-width: 767px) {
  .about-resources-section .resourcesGroup {
    flex-direction: column;
    width: 100%;
    gap: 24px;
    font-size: 22px;
    min-height: auto;
    align-items: center;
    overflow: visible;
    padding-bottom: 0;
    scrollbar-width: auto;
    -ms-overflow-style: auto;
  }

  .about-resources-section .resourcesGroup::-webkit-scrollbar {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-resources-section .resourcesGroup {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
    align-items: stretch;
  }

  .about-resources-section .resources {
    padding: 0 var(--spacing-md);
    gap: clamp(50px, 10vw, 98px);
  }

  .about-resources-section .resourcesGroup > * {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .about-resources-section .resources {
    text-align: center;
  }

  .about-resources-section .resourcesGroup {
    min-height: auto;
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .about-resources-section .resourcesGroup {
    width: 100%;
    gap: clamp(24px, 2.5vw, 32px);
    justify-content: space-between;
  }
}

/* Header */
.about-resources-section .header {
  width: 100%;
  max-width: 1680px;
  display: flex;
  flex-direction: column;
  align-items: left;
  z-index: 1;
  gap: 64px;
}

@media (max-width: 767px) {
  .about-resources-section .header {
    gap: 28px;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-resources-section .header {
    gap: clamp(40px, 8vw, 64px);
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .about-resources-section .header {
    gap: clamp(40px, 3vw, 64px);
  }
}

.about-resources-section .subheading {
  position: relative;
  line-height: 150%;
  color: #6d717b;
  font-family: "Avenir Next";
  font-size: 20px;
  font-weight: 500;
  max-width: 724.6px;
  letter-spacing: -0.03em;
}

.about-resources-section .heading {
  position: relative;
  letter-spacing: -0.03em;
  font-weight: 500;
  font-family: "P22 Mackinac Pro", serif;
  margin: 0;
  max-width: 933px;
  font-size: clamp(48px, 4.2vw, 80px);
  line-height: 110%;
}

@media (max-width: 767px) {
  .about-resources-section .heading {
    align-self: stretch;
    width: auto;
    font-size: clamp(24px, 7.6vw, 30px);
    line-height: 120%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-resources-section .heading {
    width: auto;
    max-width: 600px;
    font-size: clamp(40px, 8vw, 59px);
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .about-resources-section .heading {
    max-width: 572px;
  }
}

/* Card */
.about-resources-section .resourcesCard {
  border-radius: 24px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  box-sizing: border-box;
  max-width: 540px;
  min-width: 300px;
  padding: 48px;
}

@media (max-width: 767px) {
  .about-resources-section .resourcesCard {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    flex-shrink: 0;
    border-radius: 20px;
    padding: 24px 24px 28px;
    gap: 24px;
    margin-bottom: 0;
    align-self: stretch;
  }

  .about-resources-section .cardHeader {
    align-items: center;
    text-align: center;
  }

  .about-resources-section .resourcesTitle {
    font-size: 22px;
    line-height: 120%;
    text-align: left;
  }

  .about-resources-section .resourcesDescription {
    text-align: left;
    width: 100%;
  }

  .about-resources-section .resourcesLink {
    gap: 8px;
    margin-top: 12px;
    align-self: left;
  }

  .about-resources-section .linkLabel {
    font-size: 14px;
  }

  .about-resources-section .solararrowRightLinearIcon {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-resources-section .resourcesCard {
    flex: 1;
    min-width: clamp(280px, 30vw, 350px);
    padding: clamp(32px, 5vw, 48px);
    gap: clamp(32px, 5vw, 48px);
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .about-resources-section .resourcesCard {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    padding: 40px;
    gap: 24px;
    border-radius: 24px;
    height: auto;
    min-height: 480px;
  }

  .about-resources-section .iconContainer {
    margin-top: 30px;
    margin-bottom: 28px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-resources-section .resourcesTitle {
    font-size: 32px;
    line-height: 130%;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
  }

  .about-resources-section .resourcesDescription {
    font-size: 17px;
    line-height: 150%;
    width: 100%;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    color: #6d717b;
  }

  .about-resources-section .resourcesLink {
    font-size: 15px;
    gap: 10px;
    margin-top: auto;
  }

  .about-resources-section .cardContent {
    gap: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
  }

  .about-resources-section .cardHeader {
    flex-shrink: 0;
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .about-resources-section .resourcesIcon {
    width: 180px;
    height: 180px;
    object-fit: contain;
  }

  .about-resources-section .iconBlur {
    width: 65px;
    height: 65px;
    top: calc(50% - 32.5px);
    left: calc(50% - 32.5px);
    filter: blur(10px);
  }

  .about-resources-section .resourcesDescription {
    width: 100%;
    flex-grow: 1;
  }

  .about-resources-section .resourcesCard {
    display: flex;
    flex-direction: column;
  }
}

.about-resources-section .cardBackground1,
.about-resources-section .cardBackground2,
.about-resources-section .cardBackground3 {
  width: 100%;
  position: absolute;
  height: 100%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  left: 0%;
  z-index: 0;
}

.about-resources-section .cardBackground1 { background-color: #ebf4ff; }
.about-resources-section .cardBackground2 { background-color: #fef1ec; }
.about-resources-section .cardBackground3 { background-color: #f2f2f3; }

.about-resources-section .iconContainer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  margin-bottom: clamp(24px, 4vw, 32px);
}

@media (max-width: 767px) {
  .about-resources-section .iconContainer {
    margin-bottom: 20px;
  }
}

.about-resources-section .resourcesIcon {
  object-fit: cover;
  z-index: 1;
  border-radius: 24px;
}

@media (max-width: 767px) {
  .about-resources-section .resourcesIcon {
    width: 100%;
    height: auto;
  }
}

.about-resources-section .cardContent {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  z-index: 2;
  height: 100%;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .about-resources-section .cardContent {
    gap: 24px;
    height: 100%;
    justify-content: space-between;
  }
}

.about-resources-section .cardHeader {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 767px) {
  .about-resources-section .cardHeader {
    align-items: center;
    text-align: center;
  }
}

.about-resources-section .resourcesTitle {
  align-self: stretch;
  position: relative;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  font-family: "P22 Mackinac Pro", serif;
  font-size: 38px;
  line-height: 130%;
  margin-bottom: 25px;
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .about-resources-section .resourcesTitle {
    font-size: 28px;
    margin-bottom: 0px;
  }
}

@media (max-width: 767px) {
  .about-resources-section .resourcesTitle {
    font-size: 22px;
    line-height: 120%;
    text-align: left;
    margin-bottom: 0px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-resources-section .resourcesTitle {
    font-size: clamp(26px, 4vw, 32px);
    line-height: 125%;
    text-align: left;
    margin-bottom: 15px;
  }

  .about-resources-section .resourcesDescription {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 150%;
    margin-bottom: 0px;
    text-align: left;
  }
}

.about-resources-section .titleLine {
  display: block;
}

.about-resources-section .resourcesDescription {
  position: relative;
  letter-spacing: -0.02em;
  line-height: 150%;
  font-weight: 500;
  font-family: "Avenir Next";
  color: #6d717b;
  margin: 0;
  z-index: 3;
  flex-grow: 1;
  width: 385px;
  font-size: 18px;
  margin-bottom: 50px;
}

@media (min-width: 1025px) and (max-width: 1600px) {
  .about-resources-section .resourcesDescription {
    font-size: 17px;
    line-height: 150%;
    width: 227px;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    color: #6d717b;
  }
}

@media (max-width: 767px) {
  .about-resources-section .resourcesDescription {
    text-align: left;
    width: 100%;
    flex-grow: 1;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-resources-section .resourcesDescription {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 150%;
    width: 100%;
    max-width: 650px;
    margin-bottom: 40px;
    text-align: left;
  }
}

.about-resources-section .resourcesLink {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 10px);
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
  color: #333f5b;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
  width: fit-content;
  flex-shrink: 0;
}

.about-resources-section .resourcesLink:hover {
  color: #333f5b;
  transform: translateX(4px);
}

.about-resources-section .linkLabel {
  font-family: "Avenir Next", sans-serif;
  line-height: 1.4;
  white-space: nowrap;
}

.about-resources-section .solararrowRightLinearIcon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(1019%) hue-rotate(181deg) brightness(94%) contrast(89%);
}

.about-resources-section .resourcesLink:hover .solararrowRightLinearIcon {
  transform: translateX(2px);
  filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(1019%) hue-rotate(181deg) brightness(94%) contrast(89%);
}

@media (max-width: 767px) {
  .about-resources-section .resourcesLink {
    gap: 8px;
    margin-top: auto;
    align-self: left;
  }

  .about-resources-section .linkLabel {
    font-size: 14px;
  }

  .about-resources-section .solararrowRightLinearIcon {
    width: 16px;
    height: 16px;
  }
}
