/* =========================================================
   ABC PROJECTS
   RESOURCES PAGE
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.resources-hero {
  padding: 92px 0 88px;

  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(198, 161, 91, 0.14),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f4f8fb 62%,
      #edf3f7 100%
    );

  border-bottom:
    1px solid var(--border);
}


.resources-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.12fr)
    minmax(350px, 0.68fr);

  align-items: center;

  gap: 72px;
}


.resources-hero-content {
  max-width: 780px;
}


.resources-eyebrow {
  display: inline-block;

  margin-bottom: 16px;

  color: var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.86rem;
  font-weight: 700;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}


.resources-hero h1 {
  max-width: 850px;

  margin-bottom: 24px;

  font-size:
    clamp(
      2.65rem,
      5vw,
      4.25rem
    );
}


.resources-hero-text {
  max-width: 740px;

  margin-bottom: 32px;

  color: var(--muted);

  font-size: 1.16rem;
  line-height: 1.75;
}


/* HERO PANEL */

.resources-hero-panel {
  padding: 34px 32px;

  background:
    rgba(255, 255, 255, 0.93);

  border:
    1px solid
    rgba(23, 50, 77, 0.12);

  border-radius: 18px;

  box-shadow:
    0 18px 48px
    rgba(15, 35, 55, 0.10);
}


.resources-panel-label {
  display: block;

  margin-bottom: 22px;

  color: var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.09em;
  text-transform: uppercase;
}


.resources-panel-item {
  display: flex;
  align-items: center;

  gap: 17px;

  padding: 18px 0;

  border-bottom:
    1px solid var(--border);
}


.resources-panel-item:last-child {
  border-bottom: 0;
}


.resources-panel-item > span {
  flex: 0 0 43px;

  width: 43px;
  height: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white);

  background: var(--navy);

  border-radius: 50%;

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.72rem;
  font-weight: 700;
}


.resources-panel-item strong {
  display: block;

  margin-bottom: 3px;

  color: var(--navy);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.96rem;
}


.resources-panel-item small {
  display: block;

  color: var(--muted);

  font-size: 0.88rem;
  line-height: 1.45;
}


/* =========================================================
   SHARED HEADING
   ========================================================= */

.resources-section-heading {
  max-width: 830px;
}


/* =========================================================
   FEATURED RESOURCES
   ========================================================= */

.featured-resources {
  background:
    var(--white);
}


.featured-resource-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 20px;
}


.featured-resource-card {
  min-height: 315px;

  display: flex;
  flex-direction: column;

  padding: 29px 27px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafcff 100%
    );

  border:
    1px solid var(--border);

  border-top:
    4px solid var(--gold);

  border-radius: 13px;

  box-shadow:
    0 5px 18px
    rgba(15, 35, 55, 0.05);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}


.featured-resource-card:nth-child(2) {
  border-top-color:
    #315c83;
}


.featured-resource-card:nth-child(3) {
  border-top-color:
    #688578;
}


.featured-resource-card:hover {
  transform:
    translateY(-8px);

  border-color:
    rgba(198, 161, 91, 0.58);

  box-shadow:
    0 18px 36px
    rgba(15, 35, 55, 0.13);
}


.featured-resource-number {
  display: block;

  margin-bottom: 24px;

  color: var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.78rem;
  font-weight: 700;
}


.featured-resource-card h3 {
  margin-bottom: 15px;

  line-height: 1.4;
}


.featured-resource-card p {
  margin-bottom: 24px;

  color: var(--muted);

  font-size: 0.94rem;
  line-height: 1.62;
}


.featured-resource-card a {
  margin-top: auto;

  color: var(--navy);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.84rem;
  font-weight: 700;
}


.featured-resource-card a:hover {
  color: var(--gold);
}


/* =========================================================
   RESOURCE AREAS
   ========================================================= */

.resource-areas {
  background:
    #eef4f8;
}


.resource-area-grid {
  display: grid;

  grid-template-columns:
    repeat(5, minmax(0, 1fr));

  gap: 16px;
}


.resource-area-card {
  min-height: 270px;

  display: flex;
  flex-direction: column;

  padding: 25px 22px;

  background:
    var(--white);

  border:
    1px solid var(--border);

  border-top:
    4px solid var(--navy);

  border-radius: 12px;

  box-shadow:
    0 5px 16px
    rgba(15, 35, 55, 0.045);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}


.resource-area-publications {
  border-top-color:
    var(--gold);
}


.resource-area-impact {
  border-top-color:
    #688578;
}


.resource-area-review {
  border-top-color:
    #77659a;
}


.resource-area-immigration {
  border-top-color:
    #9a6f45;
}


.resource-area-card:hover {
  transform:
    translateY(-6px);

  box-shadow:
    0 14px 28px
    rgba(15, 35, 55, 0.10);
}


.resource-area-code {
  display: block;

  margin-bottom: 24px;

  color: var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.75rem;
  font-weight: 700;
}


.resource-area-card h3 {
  margin-bottom: 12px;

  font-size: 1.05rem;
}


.resource-area-card p {
  margin-bottom: 22px;

  color: var(--muted);

  font-size: 0.88rem;
  line-height: 1.58;
}


.resource-area-card a {
  margin-top: auto;

  color: var(--navy);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.8rem;
  font-weight: 700;
}


.resource-area-card a:hover {
  color: var(--gold);
}


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

.resource-topic-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.86fr)
    minmax(440px, 1.14fr);

  align-items: center;

  gap: 72px;
}


.resource-topic-grid-reverse {
  grid-template-columns:
    minmax(440px, 1.14fr)
    minmax(0, 0.86fr);
}


.resource-topic-intro h2 {
  margin-bottom: 20px;
}


.resource-topic-intro p {
  max-width: 620px;

  margin-bottom: 26px;

  color: var(--muted);

  font-size: 1.03rem;
}


.resource-topic-link {
  color: var(--navy);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.88rem;
  font-weight: 700;
}


.resource-topic-link:hover {
  color: var(--gold);
}


.resource-topic-list {
  background:
    var(--white);

  border:
    1px solid var(--border);

  border-radius: 12px;

  overflow: hidden;

  box-shadow:
    0 7px 22px
    rgba(15, 35, 55, 0.055);
}


.resource-list-item {
  display: grid;

  grid-template-columns:
    42px 1fr;

  gap: 14px;

  padding: 20px 22px;

  border-bottom:
    1px solid var(--border);
}


.resource-list-item:last-child {
  border-bottom: 0;
}


.resource-list-item > span {
  color: var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.74rem;
  font-weight: 700;
}


.resource-list-item strong {
  display: block;

  margin-bottom: 4px;

  color: var(--navy);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.93rem;
}


.resource-list-item small {
  display: block;

  color: var(--muted);

  font-size: 0.86rem;
  line-height: 1.45;
}


.resource-topic-visibility {
  background:
    var(--white);
}


.resource-topic-publications {
  background:
    #faf8f3;
}


.resource-topic-impact {
  background:
    #f2f6f3;
}


.resource-topic-review {
  background:
    #f5f3f8;
}


/* IMPACT PRINCIPLES */

.impact-principles {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 14px;
}


.impact-principle {
  min-height: 180px;

  padding: 22px 20px;

  background:
    var(--white);

  border:
    1px solid var(--border);

  border-radius: 11px;

  box-shadow:
    0 4px 14px
    rgba(15, 35, 55, 0.04);
}


.impact-principle > span {
  display: block;

  margin-bottom: 18px;

  color: var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.73rem;
  font-weight: 700;
}


.impact-principle h3 {
  margin-bottom: 9px;

  font-size: 1rem;
}


.impact-principle p {
  margin: 0;

  color: var(--muted);

  font-size: 0.86rem;
  line-height: 1.5;
}


/* =========================================================
   EVIDENCE GUIDES
   ========================================================= */

.evidence-guides {
  color:
    #d9e2eb;

  background:
    linear-gradient(
      135deg,
      #10263a 0%,
      #17324d 100%
    );
}


.resources-heading-light h2 {
  color:
    var(--white);
}


.resources-heading-light p {
  color:
    #b9c8d5;
}


.evidence-guide-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}


.evidence-guide-card {
  min-height: 290px;

  display: flex;
  flex-direction: column;

  padding: 27px 24px;

  background:
    rgba(255, 255, 255, 0.055);

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  border-radius: 12px;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}


.evidence-guide-card:hover {
  transform:
    translateY(-6px);

  background:
    rgba(255, 255, 255, 0.085);

  border-color:
    rgba(198, 161, 91, 0.58);
}


.evidence-guide-code {
  display: block;

  margin-bottom: 22px;

  color:
    var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.78rem;
  font-weight: 700;
}


.evidence-guide-card h3 {
  margin-bottom: 13px;

  color:
    var(--white);
}


.evidence-guide-card p {
  margin-bottom: 22px;

  color:
    #b9c8d5;

  font-size: 0.9rem;
  line-height: 1.6;
}


.evidence-guide-card a {
  margin-top: auto;

  color:
    var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.82rem;
  font-weight: 700;
}


.evidence-guide-card a:hover {
  color:
    var(--white);
}


.evidence-guides-note {
  margin-top: 24px;

  padding: 17px 20px;

  color:
    #b9c8d5;

  background:
    rgba(255, 255, 255, 0.045);

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 9px;

  font-size: 0.9rem;
  line-height: 1.55;
}


.evidence-guides-note strong {
  color:
    var(--gold);
}


/* =========================================================
   MEDIUM INSIGHTS
   ========================================================= */

.medium-insights {
  background: var(--white);
}

.medium-insights .container {
  width: 70%;
  max-width: 1120px;
}

.medium-insights-heading {
  margin-bottom: 34px;
}

.medium-insights-heading h2 {
  max-width: 900px;
  margin-bottom: 15px;
}

.medium-insights-heading p {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 1.01rem;
  line-height: 1.7;
}

.medium-inline-link {
  margin-left: 5px;
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.medium-inline-link:hover {
  color: var(--navy);
}

/* ARTICLE LIST */

.medium-reading-list {
  width: 75%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 30px;
}

.medium-reading-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 10px;
  min-height: 51px;
  align-items: center;
  padding: 10px 15px;
  color: var(--charcoal);
  background: #fafbfc;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.medium-reading-item:hover {
  transform: translateX(4px);
  background: var(--white);
  border-color: rgba(198, 161, 91, 0.65);
  box-shadow: 0 7px 18px rgba(15, 35, 55, 0.07);
}

.medium-article-number {
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
}

.medium-reading-item p {
  margin: 0;
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.5;
}

.medium-article-arrow {
  color: var(--gold);
  font-size: 0.95rem;
  text-align: right;
  transition: transform 0.22s ease;
}

.medium-reading-item:hover .medium-article-arrow {
  transform: translate(2px, -2px);
}

/* =========================================================
   MEDIUM INSIGHTS RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {
  .medium-insights .container {
    width: min(calc(100% - 40px), 1180px);
    max-width: none;
  }

  .medium-reading-list {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .medium-insights .container {
    width: min(calc(100% - 28px), 1180px);
  }

  .medium-inline-link {
    display: inline;
    margin-left: 3px;
    white-space: normal;
  }

  .medium-reading-item {
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    padding: 14px;
  }
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.resources-final-cta {
  padding: 80px 0;

  color:
    var(--white);

  background:
    radial-gradient(
      circle at 85% 22%,
      rgba(198, 161, 91, 0.18),
      transparent 27%
    ),
    var(--deep-navy);
}


.resources-cta-inner {
  max-width: 850px;

  margin:
    0 auto;

  text-align:
    center;
}


.resources-cta-eyebrow {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--gold);

  font-family:
    "Montserrat",
    Arial,
    sans-serif;

  font-size: 0.82rem;
  font-weight: 700;

  letter-spacing: 0.09em;
  text-transform: uppercase;
}


.resources-cta-inner h2 {
  margin-bottom: 18px;

  color:
    var(--white);
}


.resources-cta-inner > p {
  max-width: 720px;

  margin:
    0 auto 30px;

  color:
    #bac8d5;

  font-size:
    1.04rem;
}


.resources-cta-buttons {
  justify-content:
    center;
}


.resources-cta-primary {
  color:
    var(--deep-navy);

  background:
    var(--gold);
}


.resources-cta-primary:hover {
  color:
    var(--deep-navy);

  background:
    #d4b574;
}


.resources-cta-secondary {
  color:
    var(--white);

  background:
    transparent;

  border:
    1px solid
    rgba(255, 255, 255, 0.55);
}


.resources-cta-secondary:hover {
  color:
    var(--deep-navy);

  background:
    var(--white);
}


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

@media (max-width: 1100px) {

  .resources-hero-grid {
    gap: 45px;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(320px, 0.62fr);
  }


  .resource-area-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }


  .resource-topic-grid,
  .resource-topic-grid-reverse {
    gap: 45px;
  }

}


@media (max-width: 850px) {

  .resources-hero {
    padding:
      72px 0;
  }


  .resources-hero-grid {
    grid-template-columns:
      1fr;
  }


  .resources-hero-panel {
    max-width:
      650px;
  }


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


  .featured-resource-card {
    min-height:
      auto;
  }


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


  .resource-topic-grid,
  .resource-topic-grid-reverse {
    grid-template-columns:
      1fr;
  }


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


  .evidence-guide-card {
    min-height:
      auto;
  }


  .medium-insights-heading {
    align-items:
      flex-start;

    flex-direction:
      column;
  }

}


@media (max-width: 640px) {

  .resources-hero {
    padding:
      58px 0;
  }


  .resources-hero h1 {
    font-size:
      clamp(
        2.15rem,
        11vw,
        3rem
      );
  }


  .resources-hero-text {
    font-size:
      1.05rem;
  }


  .resources-hero-panel {
    padding:
      26px 22px;
  }


  .resource-area-grid,
  .impact-principles,
  .medium-reading-list {
    grid-template-columns:
      1fr;
  }


  .resource-area-card {
    min-height:
      auto;
  }


  .resources-final-cta {
    padding:
      65px 0;
  }

}
/* =========================================================
   FOUR IMMIGRATION EVIDENCE CARDS
   ========================================================= */

.evidence-guide-grid {
  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 15px;
}


.evidence-guide-card {
  min-height: 330px;

  padding: 24px 20px;
}


.evidence-guide-code {
  margin-bottom: 18px;
}


.evidence-guide-card h3 {
  margin-bottom: 11px;

  font-size: 1.05rem;
  line-height: 1.4;
}


.evidence-guide-card p {
  margin-bottom: 18px;

  font-size: 0.86rem;
  line-height: 1.55;
}


.evidence-guide-card a {
  font-size: 0.78rem;
  line-height: 1.4;
}


/* EB-1A AND EB-1B */

.evidence-guide-card:nth-child(1),
.evidence-guide-card:nth-child(2) {
  background:
    linear-gradient(
      145deg,
      rgba(93, 116, 158, 0.25) 0%,
      rgba(124, 106, 155, 0.15) 100%
    );

  border-color:
    rgba(150, 164, 202, 0.42);
}


.evidence-guide-card:nth-child(1):hover,
.evidence-guide-card:nth-child(2):hover {
  background:
    linear-gradient(
      145deg,
      rgba(93, 116, 158, 0.36) 0%,
      rgba(124, 106, 155, 0.24) 100%
    );

  border-color:
    rgba(178, 187, 220, 0.70);
}


/* EB-2 NIW */

.evidence-guide-card:nth-child(3) {
  background:
    linear-gradient(
      145deg,
      rgba(198, 161, 91, 0.20) 0%,
      rgba(198, 161, 91, 0.10) 100%
    );

  border-color:
    rgba(198, 161, 91, 0.45);
}


.evidence-guide-card:nth-child(3):hover {
  background:
    linear-gradient(
      145deg,
      rgba(198, 161, 91, 0.31) 0%,
      rgba(198, 161, 91, 0.17) 100%
    );

  border-color:
    rgba(218, 184, 119, 0.75);
}


/* O-1 */

.evidence-guide-card:nth-child(4) {
  background:
    linear-gradient(
      145deg,
      rgba(104, 133, 120, 0.24) 0%,
      rgba(104, 133, 120, 0.11) 100%
    );

  border-color:
    rgba(132, 164, 149, 0.43);
}


.evidence-guide-card:nth-child(4):hover {
  background:
    linear-gradient(
      145deg,
      rgba(104, 133, 120, 0.35) 0%,
      rgba(104, 133, 120, 0.19) 100%
    );

  border-color:
    rgba(151, 187, 170, 0.72);
}


/* TABLET */

@media (max-width: 1100px) {

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

}


/* MOBILE */

@media (max-width: 640px) {

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


  .evidence-guide-card {
    min-height: auto;

    padding: 23px 20px;
  }

}