/*
 * Alvascience "special page"
 * Scoped to the special page template so it can be reused across pages
 * Appearance > Customize > Additional CSS.
 */

body.page-template-template-special {
  --alva-navy: #082c55;
  --alva-navy-deep: #041d3b;
  --alva-blue: #078bd2;
  --alva-blue-bright: #16a9f5;
  --alva-coral: #ff7c75;
  --alva-ink: #102a43;
  --alva-muted: #52667d;
  --alva-line: #dce9f3;
  --alva-mist: #f3f8fc;
  --alva-white: #ffffff;
  background: #f7fafc;
  color: var(--alva-ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.page-template-template-special #masthead,
body.page-template-template-special #header-text-nav-container,
body.page-template-template-special #header-text-nav-wrap,
body.page-template-template-special .mobile-menu_menu,
body.page-template-template-special .main-navigation ul ul,
body.page-template-template-special .main_menu_nav .sub-menu {
  background: var(--alva-white);
}

body.page-template-template-special #masthead {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(8, 44, 85, 0.09);
  box-shadow: 0 4px 18px rgba(5, 44, 84, 0.06);
}

body.page-template-template-special #main {
  background:
    radial-gradient(circle at 92% 18%, rgba(22, 169, 245, 0.08), transparent 24rem),
    #f7fafc;
  padding-bottom: 0;
}

body.page-template-template-special #primary {
  float: none;
  width: 100%;
}

body.page-template-template-special #secondary,
body.page-template-template-special .entry-meta-bar {
  display: none;
}

body.page-template-template-special .header-post-title-container {
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(circle at 84% 32%, rgba(22, 169, 245, 0.38), transparent 22rem),
    radial-gradient(circle at 62% 120%, rgba(255, 124, 117, 0.18), transparent 18rem),
    linear-gradient(125deg, var(--alva-navy-deep), var(--alva-navy));
  padding: clamp(4.25rem, 8vw, 7rem) 0 clamp(5.5rem, 10vw, 8.5rem);
}

body.page-template-template-special .header-post-title-container::before,
body.page-template-template-special .header-post-title-container::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

body.page-template-template-special .header-post-title-container::before {
  top: -13rem;
  right: -8rem;
  width: 35rem;
  height: 35rem;
}

body.page-template-template-special .header-post-title-container::after {
  right: 19%;
  bottom: -15rem;
  width: 25rem;
  height: 25rem;
}

body.page-template-template-special .header-post-title-container .inner-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

body.page-template-template-special .header-post-title-class {
  max-width: 900px;
  margin: 0;
  color: var(--alva-white);
  font-size: clamp(2.45rem, 5.2vw, 4.75rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

body.page-template-template-special .header-post-title-class::before {
  display: block;
  margin-bottom: 1.1rem;
  color: #8ed9ff;
  content: "CHEMINFORMATICS & QSAR SOFTWARE";
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

body.page-template-template-special .entry-content {
  box-sizing: border-box;
  max-width: 1180px;
  margin: -3.25rem auto 0;
  padding: 0 2rem 6.5rem;
}

body.page-template-template-special .entry-content > p:first-child,
body.page-template-template-special .entry-content > p:nth-child(2) {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 64%;
  margin: 0;
  background: var(--alva-white);
}

body.page-template-template-special .entry-content > p:first-child {
  border: 1px solid var(--alva-line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 24px 54px rgba(5, 44, 84, 0.12);
  padding: 2.2rem 2.5rem 0.75rem;
  color: var(--alva-ink);
  font-size: clamp(1.16rem, 2.1vw, 1.42rem) !important;
  font-weight: 520;
  letter-spacing: -0.015em;
  line-height: 1.55;
}

body.page-template-template-special .entry-content > p:nth-child(2) {
  border: 1px solid var(--alva-line);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 24px 54px rgba(5, 44, 84, 0.12);
  padding: 0 2.5rem 2.2rem;
  font-size: 1rem !important;
  line-height: 1.55;
}

body.page-template-template-special .entry-content > p:nth-child(2) a {
  color: var(--alva-blue);
  text-decoration: none;
}

body.page-template-template-special .entry-content > p:nth-child(2) a:hover {
  color: var(--alva-navy);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.page-template-template-special .entry-content > figure:first-of-type {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: -6.5rem 0 2rem 32%;
  border: 1px solid #d6e6f2;
  border-radius: 28px;
  background: var(--alva-white);
  box-shadow: 0 24px 56px rgba(5, 44, 84, 0.11);
}

body.page-template-template-special .entry-content > figure:first-of-type img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  aspect-ratio: 8 / 3;
  object-fit: contain;
  object-position: center;
}

body.page-template-template-special .entry-content > figure:first-of-type + .wp-block-columns {
  justify-content: flex-start;
  gap: 0.9rem;
  margin: 0;
}

body.page-template-template-special .entry-content > figure:first-of-type + .wp-block-columns > .wp-block-column:empty {
  display: none;
}

body.page-template-template-special .entry-content .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center !important;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.45rem;
  font-size: 0.96rem;
  font-weight: 720;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

body.page-template-template-special .entry-content .btn.blue {
  background: linear-gradient(135deg, var(--alva-blue), var(--alva-blue-bright));
  box-shadow: 0 10px 26px rgba(7, 139, 210, 0.25);
  color: var(--alva-white);
}

body.page-template-template-special .entry-content .btn.white {
  border-color: #bcd6e8;
  background: var(--alva-white);
  color: var(--alva-navy);
}

body.page-template-template-special .entry-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 44, 84, 0.18);
}

body.page-template-template-special .entry-content > p:empty,
body.page-template-template-special .entry-content > .wp-block-spacer {
  display: none;
}

body.page-template-template-special .entry-content h2 {
  max-width: 800px;
  margin: clamp(4.75rem, 8vw, 7.25rem) auto 1rem;
  color: var(--alva-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 740;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}

body.page-template-template-special .entry-content > h2:first-of-type + ul {
  display: grid;
  margin: 2.2rem 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

body.page-template-template-special .entry-content > h2:first-of-type + ul:has(> li:nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-template-template-special .entry-content > h2:first-of-type + ul li {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  box-sizing: border-box;
  border: 1px solid var(--alva-line);
  border-radius: 20px;
  background: var(--alva-white);
  box-shadow: 0 14px 32px rgba(5, 44, 84, 0.07);
  padding: 1.5rem 1.6rem;
  color: var(--alva-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

body.page-template-template-special .entry-content > h2:first-of-type + ul li:has(a) {
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.page-template-template-special .entry-content > h2:first-of-type + ul li:has(a):hover {
  transform: translateY(-5px);
  border-color: #a8d7f1;
  box-shadow: 0 18px 38px rgba(5, 44, 84, 0.12);
}

body.page-template-template-special .entry-content > h2:first-of-type + ul li::after {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: rgba(22, 169, 245, 0.09);
  content: "";
}

body.page-template-template-special .entry-content > h2:first-of-type + ul strong {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--alva-blue);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1;
}

body.page-template-template-special .entry-content > h2:first-of-type + ul li a {
  color: inherit;
  text-decoration: none;
}

body.page-template-template-special .entry-content > h2:first-of-type + ul li a::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: 20px;
  content: "";
}

body.page-template-template-special .entry-content > h2:first-of-type + ul li a:focus-visible {
  outline: 0;
}

body.page-template-template-special .entry-content > h2:first-of-type + ul li a:focus-visible::after {
  outline: 3px solid var(--alva-blue);
  outline-offset: 3px;
}

body.page-template-template-special #explore + p {
  max-width: 650px;
  margin: 0 auto 2.25rem;
  color: var(--alva-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: center;
}

body.page-template-template-special #explore + p + .wp-block-columns,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns {
  position: relative;
  display: flex;
  float: left;
  width: calc((100% - 4rem) / 5);
  max-width: none;
  height: 255px;
  min-height: 255px;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start;
  box-sizing: border-box;
  margin: 0 1rem 1rem 0;
  border: 1px solid var(--alva-line);
  border-radius: 18px;
  background: var(--alva-white);
  box-shadow: 0 10px 28px rgba(5, 44, 84, 0.055);
  padding: 1.75rem 1rem 1.5rem;
  gap: 1.1rem;
  cursor: pointer;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns {
  margin-right: 0;
}

body.page-template-template-special #explore + p + .wp-block-columns:hover,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns:hover,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns:hover,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns:hover,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns:hover {
  transform: translateY(-5px);
  border-color: #a8d7f1;
  box-shadow: 0 18px 38px rgba(5, 44, 84, 0.12);
}

body.page-template-template-special #explore + p + .wp-block-columns > .wp-block-column,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns > .wp-block-column,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column {
  display: flex !important;
  width: 100%;
  flex-basis: auto !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

body.page-template-template-special #explore + p + .wp-block-columns > .wp-block-column:first-child figure,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns > .wp-block-column:first-child figure,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:first-child figure,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:first-child figure,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:first-child figure {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-template-template-special #explore ~ .wp-block-columns .wp-block-image {
  margin: 0;
}

body.page-template-template-special #explore + p + .wp-block-columns img,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns img,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns img,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns img,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns img {
  display: block;
  width: 72px;
  height: 72px;
}

body.page-template-template-special #explore ~ .wp-block-columns p {
  margin: 0;
  color: var(--alva-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: center;
}

body.page-template-template-special #explore ~ .wp-block-columns p strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--alva-navy);
  font-size: 1.1rem;
}

body.page-template-template-special #explore ~ .wp-block-columns p a {
  color: var(--alva-blue);
  font-weight: 700;
  text-decoration: none;
}

/*
 * The product-name link is stretched across its card. This keeps one
 * semantic link while making the complete card clickable.
 */
body.page-template-template-special #explore + p + .wp-block-columns > .wp-block-column:nth-child(2) a::after,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a::after,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a::after,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a::after,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: 18px;
  content: "";
}

body.page-template-template-special #explore + p + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible {
  outline: 0;
}

body.page-template-template-special #explore + p + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible::after,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible::after,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible::after,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible::after,
body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns > .wp-block-column:nth-child(2) a:focus-visible::after {
  outline: 3px solid var(--alva-blue);
  outline-offset: 3px;
}

body.page-template-template-special #explore ~ p.has-text-align-center {
  clear: both;
  max-width: 840px;
  box-sizing: border-box;
  margin: 1.4rem auto 0;
  border: 1px solid #bee5f8;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef9ff, #f8fcff);
  padding: 1.3rem 1.6rem;
  color: var(--alva-navy) !important;
  font-size: 1.04rem !important;
  line-height: 1.55;
}

body.page-template-template-special #explore ~ p.has-text-align-center a {
  color: inherit;
  text-decoration: none;
}

/* Add "alva-info-card" in the block's Advanced > Additional CSS class(es). */
body.page-template-template-special .alva-info-card {
  box-sizing: border-box;
  max-width: 960px;
  margin: 2rem auto;
  border: 1px solid rgba(8, 44, 85, 0.06);
  border-radius: 14px;
  background: var(--alva-white);
  box-shadow: 0 12px 30px rgba(5, 44, 84, 0.08);
  padding: 1.45rem clamp(1.5rem, 7vw, 6.5rem);
  color: var(--alva-ink);
  font-size: 1rem;
  line-height: 1.5;
}

body.page-template-template-special .alva-info-card > :first-child {
  margin-top: 0;
}

body.page-template-template-special .alva-info-card > :last-child {
  margin-bottom: 0;
}

body.page-template-template-special .alva-info-card strong {
  color: var(--alva-navy);
  font-weight: 750;
}

body.page-template-template-special .wp-block-pullquote {
  position: relative;
  max-width: 920px;
  box-sizing: border-box;
  margin: 2.25rem auto 0;
  border: 0;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(22, 169, 245, 0.18), transparent 18rem),
    linear-gradient(135deg, var(--alva-navy-deep), var(--alva-navy));
  box-shadow: 0 24px 54px rgba(5, 44, 84, 0.16);
  padding: clamp(3rem, 6vw, 4.6rem) clamp(2rem, 6vw, 4.8rem);
  color: var(--alva-white);
  text-align: left;
}

body.page-template-template-special .wp-block-pullquote::before {
  position: absolute;
  top: 1.3rem;
  left: clamp(1.35rem, 4vw, 3rem);
  color: #79cdf8;
  content: "“";
  font-family: Georgia, serif;
  font-size: 5.4rem;
  line-height: 1;
  opacity: 0.78;
  pointer-events: none;
}

body.page-template-template-special .wp-block-pullquote::after {
  position: absolute;
  right: clamp(1.35rem, 4vw, 3rem);
  bottom: 0.35rem;
  color: #79cdf8;
  content: "”";
  font-family: Georgia, serif;
  font-size: 5.4rem;
  line-height: 1;
  opacity: 0.38;
  pointer-events: none;
}

body.page-template-template-special .wp-block-pullquote blockquote {
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.page-template-template-special .wp-block-pullquote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1.05rem, 2vw, 1.27rem);
  line-height: 1.75;
}

body.page-template-template-special .wp-block-pullquote cite {
  display: block;
  margin-top: 1.5rem;
  color: #8ed9ff;
  font-size: 0.86rem;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.page-template-template-special .wpforms-container {
  overflow: hidden;
  width: 100%;
  max-width: 780px;
  box-sizing: border-box;
  margin: 2.25rem auto 0;
  border: 1px solid var(--alva-line);
  border-radius: 28px;
  background: var(--alva-white);
  box-shadow: 0 26px 60px rgba(5, 44, 84, 0.12);
  padding: clamp(1.75rem, 5vw, 3.5rem);
}

body.page-template-template-special .wpforms-container .wpforms-field-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.2rem;
  row-gap: 1rem;
}

body.page-template-template-special .wpforms-container .wpforms-field-email,
body.page-template-template-special .wpforms-container .wpforms-field-textarea,
body.page-template-template-special .wpforms-container .wpforms-field-checkbox {
  grid-column: 1 / -1;
}

body.page-template-template-special .wpforms-container .wpforms-field {
  padding: 0;
}

body.page-template-template-special .wpforms-container .wpforms-field-label {
  margin-bottom: 0.45rem;
  color: var(--alva-ink);
  font-size: 0.87rem;
  font-weight: 700;
}

body.page-template-template-special .wpforms-container input[type="text"],
body.page-template-template-special .wpforms-container input[type="email"],
body.page-template-template-special .wpforms-container textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbdce8;
  border-radius: 11px;
  background: #fbfdff;
  padding: 0.82rem 0.95rem;
  color: var(--alva-ink);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.page-template-template-special .wpforms-container input[type="text"],
body.page-template-template-special .wpforms-container input[type="email"] {
  min-height: 48px;
}

body.page-template-template-special .wpforms-container textarea {
  min-height: 130px;
  resize: vertical;
}

body.page-template-template-special .wpforms-container input:focus,
body.page-template-template-special .wpforms-container textarea:focus {
  outline: 0;
  border-color: var(--alva-blue);
  background: var(--alva-white);
  box-shadow: 0 0 0 4px rgba(7, 139, 210, 0.12);
}

body.page-template-template-special .wpforms-container .wpforms-field-checkbox {
  color: var(--alva-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

body.page-template-template-special .wpforms-container button[type="submit"] {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--alva-blue), var(--alva-blue-bright));
  box-shadow: 0 10px 25px rgba(7, 139, 210, 0.24);
  padding: 0.85rem 1.7rem;
  color: var(--alva-white);
  font-size: 0.96rem;
  font-weight: 720;
}

body.page-template-template-special .wpforms-container button[type="submit"]:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #067fc1, #0e9de7);
  box-shadow: 0 14px 28px rgba(7, 139, 210, 0.28);
}

@media (max-width: 900px) {
  body.page-template-template-special .header-post-title-container {
    padding: 4rem 0 6.5rem;
  }

  body.page-template-template-special .entry-content {
    margin-top: -2.5rem;
    padding-inline: 1.25rem;
  }

  body.page-template-template-special .entry-content > p:first-child,
  body.page-template-template-special .entry-content > p:nth-child(2) {
    width: 88%;
  }

  body.page-template-template-special .entry-content > figure:first-of-type {
    margin: -3rem 0 1.5rem 10%;
  }

  body.page-template-template-special .entry-content > h2:first-of-type + ul {
    grid-template-columns: 1fr;
  }

  body.page-template-template-special .entry-content > h2:first-of-type + ul:has(> li:nth-child(4):last-child) {
    grid-template-columns: 1fr;
  }

  body.page-template-template-special #explore + p + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns {
    width: calc((100% - 1rem) / 2);
    height: 235px;
    min-height: 235px;
  }

  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns {
    margin-right: 0;
  }

}

@media (max-width: 600px) {
  body.page-template-template-special .header-post-title-container {
    padding: 3.5rem 0 5.25rem;
  }

  body.page-template-template-special .header-post-title-class {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  body.page-template-template-special .entry-content {
    margin-top: -2rem;
    padding-inline: 0.9rem;
  }

  body.page-template-template-special .entry-content > p:first-child,
  body.page-template-template-special .entry-content > p:nth-child(2) {
    width: 100%;
  }

  body.page-template-template-special .entry-content > p:first-child {
    padding: 1.5rem 1.35rem 0.6rem;
  }

  body.page-template-template-special .entry-content > p:nth-child(2) {
    padding: 0 1.35rem 1.5rem;
  }

  body.page-template-template-special .entry-content > figure:first-of-type {
    margin: 1rem 0 1.25rem;
    border-radius: 20px;
  }

  body.page-template-template-special .entry-content > figure:first-of-type img {
    height: auto !important;
    min-height: 0;
  }

  body.page-template-template-special .entry-content > figure:first-of-type + .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.page-template-template-special .entry-content .btn {
    width: 100%;
  }

  body.page-template-template-special .entry-content h2 {
    margin-top: 4.5rem;
  }

  body.page-template-template-special #explore + p + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns {
    float: none;
    width: 100%;
    height: auto;
    min-height: auto;
    align-items: center !important;
    margin: 0 0 0.85rem;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  body.page-template-template-special #explore + p + .wp-block-columns img,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns img,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns img,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns img,
  body.page-template-template-special #explore + p + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns + .wp-block-columns img {
    width: 64px;
    height: 64px;
  }

  body.page-template-template-special .wp-block-pullquote {
    border-radius: 20px;
    padding: 3.6rem 1.35rem 3.1rem;
  }

  body.page-template-template-special .wpforms-container {
    border-radius: 20px;
    padding: 1.4rem;
  }

  body.page-template-template-special .wpforms-container .wpforms-field-container {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-template-template-special *,
  body.page-template-template-special *::before,
  body.page-template-template-special *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
