/* =========================================================
   IMMWIT Resource Hub Templates
   Theme colors: #1EAE8F and #122237
========================================================= */

.immwit-resource-page {
  color: #122237;
  background: #ffffff;
}

/* Hero */
.resource-hero {
  padding: 125px 0 76px;
  background:
    radial-gradient(circle at 12% 18%, rgba(30, 174, 143, 0.16), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(30, 174, 143, 0.08), transparent 28%),
    linear-gradient(180deg, #f4fbf8 0%, #ffffff 100%);
  overflow: hidden;
  position: relative;
}

.resource-hero::before {
  content: "";
  position: absolute;
  left: -90px;
  top: 80px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(30, 174, 143, 0.09);
  pointer-events: none;
}

.resource-hero::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -125px;
  width: 285px;
  height: 285px;
  border-radius: 999px;
  background: rgba(30, 174, 143, 0.10);
  pointer-events: none;
}

.resource-hero-inner {
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.resource-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 15px;
  background: #122237;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
}

.resource-hero h1 {
  margin: 0;
  padding: 0;
  color: #122237;
  font-size: 58px;
  line-height: 68px;
  font-weight: 500;
}

.resource-hero-text,
.resource-hero-text p {
  max-width: 760px;
  margin: 20px auto 0;
  color: #33445d;
  font-size: 20px;
  line-height: 33px;
}

/* Resource List */
.resource-list-section {
  padding: 76px 0;
  background:
    radial-gradient(circle at 92% 10%, rgba(30, 174, 143, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
}

.resource-card-row {
  align-items: stretch;
}

/* Cards */
.resource-card {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  background: #ffffff;
  border: 1px solid rgba(18, 34, 55, 0.10);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(18, 34, 55, 0.07);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}



.resource-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 174, 143, 0.34);
  box-shadow: 0 22px 48px rgba(18, 34, 55, 0.11);
}

/* Image */
.resource-card-img {
  display: block;
  height: 245px;
  background: #e8f7f3;
  overflow: hidden;
  position: relative;
}

.resource-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 34, 55, 0) 42%, rgba(18, 34, 55, 0.20) 100%);
  pointer-events: none;
}

.resource-card-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease, filter 0.35s ease;
}



/* Body */
.resource-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-card-type {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: #1EAE8F;
  background: #e8f7f3;
  border: 1px solid rgba(30, 174, 143, 0.22);
  border-radius: 999px;
  font-size: 12px;
  line-height: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card h2 {
  margin: 0 0 13px;
  padding: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}

.resource-card h2 a {
  color: #122237;
  text-decoration: none;
  font-weight: 500;
}

.resource-card h2 a:hover {
  color: #1EAE8F;
}

.resource-card p {
  margin: 0 0 22px;
  color: #40516a;
  font-size: 16px;
  line-height: 27px;
}

/* Read Link */
.resource-read-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 11px 16px;
  color: #122237;
  background: #ffffff;
  border: 1px solid rgba(18, 34, 55, 0.14);
  border-radius: 999px;
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.resource-read-link::after {
  content: "→";
  width: auto;
  height: auto;
  margin-left: 8px;
  background: none;
  transition: transform 0.22s ease;
}

.resource-read-link:hover {
  color: #ffffff;
  background: #1EAE8F;
  border-color: #1EAE8F;
  transform: translateY(-2px);
}

.resource-read-link:hover::after {
  transform: translateX(4px);
}

/* Empty */
.resource-empty {
  padding: 38px;
  background: #ffffff;
  border: 1px solid rgba(18, 34, 55, 0.10);
  border-radius: 18px;
  color: #40516a;
}

/* Pagination */
.resource-pagination {
  margin-top: 30px;
}

.resource-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 4px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(18, 34, 55, 0.14);
  color: #122237;
  background: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.resource-pagination .page-numbers.current,
.resource-pagination .page-numbers:hover {
  background: #1EAE8F;
  border-color: #1EAE8F;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 991px) {
  .resource-hero {
    padding: 105px 0 60px;
  }

  .resource-hero h1 {
    font-size: 44px;
    line-height: 54px;
  }

  .resource-hero-text,
  .resource-hero-text p {
    font-size: 18px;
    line-height: 30px;
  }

  .resource-list-section {
    padding: 66px 0;
  }

  .resource-card-img {
    height: 225px;
  }

  .resource-card h3 {
    font-size: 23px;
    line-height: 31px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .resource-hero {
    padding: 86px 0 48px;
  }

  .resource-kicker {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.10em;
  }

  .resource-hero h1 {
    font-size: 34px;
    line-height: 43px;
  }

  .resource-hero-text,
  .resource-hero-text p {
    font-size: 17px;
    line-height: 29px;
  }

  .resource-list-section {
    padding: 54px 0;
  }

  .resource-card {
    height: auto;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .resource-card::before {
    left: 22px;
    right: 22px;
  }

  .resource-card-img {
    height: 220px;
  }

  .resource-card-body {
    padding: 22px;
  }

  .resource-card h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .resource-card p {
    font-size: 16px;
    line-height: 27px;
  }

  .resource-read-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .resource-pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-card,
  .resource-card-img img,
  .resource-read-link,
  .resource-read-link::after,
  .resource-pagination .page-numbers {
    transition: none;
    transform: none;
  }
}
.hero #wpnavmenu_breadcrumbs{
	justify-content: center;
}

