/* Homepage advertising platforms + integration partners */
.nws-ads-section,
.nws-eco-section {
  position: relative;
  padding: 110px 0;
  scroll-margin-top: 110px;
}

.nws-ads-section {
  background: #fff;
}

.nws-eco-section {
  background: var(--theme-color-gray, #f6f6f6);
}

.nws-ads-section .sec-title,
.nws-eco-section .sec-title {
  max-width: 760px;
  margin: 0 auto 48px;
}

.nws-ads-section .sec-title .title,
.nws-eco-section .sec-title .title {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.nws-ads-section .sec-title .text,
.nws-eco-section .sec-title .text {
  margin: 0 auto;
  max-width: 640px;
  color: #5b6570;
  font-size: 16px;
  line-height: 1.7;
}

.nws-ads-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nws-ad-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: 14px;
  box-shadow: none;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.nws-ad-card:hover,
.nws-ad-card:focus-within {
  border-color: rgba(242, 82, 13, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(19, 19, 19, 0.06);
}

.nws-ad-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: #f7f8fa;
  border: 1px solid rgba(19, 19, 19, 0.06);
  border-radius: 10px;
  transition: transform 0.22s ease;
}

.nws-ad-card:hover .nws-ad-card__logo,
.nws-ad-card:focus-within .nws-ad-card__logo {
  transform: translateY(-1px);
}

.nws-ad-card__logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nws-ad-card h3 {
  margin: 0 0 8px;
  color: var(--headings-color, #131313);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.nws-ad-card p {
  margin: 0 0 14px;
  color: #5b6570;
  font-size: 14px;
  line-height: 1.6;
}

.nws-ad-card__caps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.nws-ad-card__caps li {
  padding: 4px 9px;
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: 999px;
  background: #f7f8fa;
  color: #3d4550;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.nws-ad-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  min-height: 44px;
  color: var(--theme-color1, #f2520d);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.nws-ad-card__cta:hover,
.nws-ad-card__cta:focus-visible {
  color: var(--theme-color2, #131313);
  gap: 11px;
}

.nws-ad-card__cta i {
  font-size: 11px;
}

.nws-ads-foot {
  margin-top: 28px;
  text-align: center;
}

.nws-ads-foot p {
  margin: 0 0 12px;
  color: #5b6570;
  font-size: 14px;
  line-height: 1.6;
}

.nws-ads-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--headings-color, #131313);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nws-ads-flow li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nws-ads-flow li:not(:last-child)::after {
  content: "";
  width: 18px;
  height: 1px;
  margin: 0 8px 0 0;
  background: rgba(176, 137, 79, 0.55);
}

.nws-eco-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nws-eco-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 16px 10px 14px;
  background: #fff;
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.nws-eco-item:hover,
.nws-eco-item:focus-within {
  border-color: rgba(242, 82, 13, 0.28);
  box-shadow: 0 8px 22px rgba(19, 19, 19, 0.05);
}

.nws-eco-item__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.nws-eco-item__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nws-eco-item__logo img[src*="mailchimp-mark"] {
  width: 40px;
  height: 40px;
  padding: 6px;
  background: #ffe01b;
  border-radius: 10px;
}

.nws-eco-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(242, 82, 13, 0.08);
  color: var(--theme-color1, #f2520d);
  font-size: 16px;
}

.nws-eco-item h3 {
  margin: 0 0 4px;
  color: var(--headings-color, #131313);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.nws-eco-item p {
  margin: 0;
  color: #7a828c;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.nws-eco-note {
  margin: 22px 0 0;
  text-align: center;
  color: #5b6570;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1199.98px) {
  .nws-ads-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .nws-ads-section,
  .nws-eco-section {
    padding: 80px 0;
  }
}

@media (max-width: 767.98px) {
  .nws-ads-grid {
    grid-template-columns: 1fr;
  }
  .nws-eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .nws-eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nws-ad-card {
    padding: 18px 14px 16px;
  }
  .nws-ad-card h3 {
    font-size: 16px;
  }
  .nws-ads-section .sec-title,
  .nws-eco-section .sec-title {
    margin-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nws-ad-card,
  .nws-ad-card__logo,
  .nws-ad-card__cta,
  .nws-eco-item {
    transition: none;
  }
  .nws-ad-card:hover,
  .nws-ad-card:focus-within,
  .nws-ad-card:hover .nws-ad-card__logo,
  .nws-ad-card:focus-within .nws-ad-card__logo {
    transform: none;
  }
}
