/*
 * Crop Nutrition Week 2027 landing page (templates/slide-out-2027.php).
 * Loaded only on that template. Colors sampled from the 11/19/26 design:
 *   page #2b2b2b | dark green #017a33 | lime #62c43b | yellow #ffde00
 */

body.cnw27 {
  --cnw-bg: #2b2b2b;
  --cnw-dark-green: #017a33;
  --cnw-lime: #62c43b;
  --cnw-yellow: #ffde00;
  --cnw-inner: 1070px;
  background-color: var(--cnw-bg) !important;
  color: #fff !important;
  font-family: "Open Sans", Arial, sans-serif;
  overflow-x: hidden;
}
html:has(body.cnw27) {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.cnw27) {
    scroll-behavior: auto;
  }
}

.cnw27 .cnw27-inner {
  max-width: var(--cnw-inner);
  margin: 0 auto;
  padding: 0 24px;
}
.cnw27 .cnw27-anchor {
  scroll-margin-top: 110px;
}
.cnw27 .cnw27-green {
  color: var(--cnw-lime);
}
.cnw27 .cnw27-yellow {
  color: var(--cnw-yellow) !important;
}

/* ---------- Header ---------- */
.cnw27 .cnw27-header {
  background-color: var(--cnw-bg);
  z-index: 1030;
}
.cnw27 .cnw27-header .container {
  max-width: 1200px;
}
.cnw27 .cnw27-header .navbar > .container-fluid {
  align-items: center;
  gap: 48px;
}
.cnw27 .cnw27-logo {
  display: block;
  height: 68px;
  width: auto;
}
.cnw27 .custom-logo-link {
  margin: 0;
  flex-shrink: 0;
  padding: 18px 0;
}
.cnw27 .navbar-nav-wrapper {
  margin-top: 0;
  flex: 1 1 auto;
}
@media (min-width: 768px) {
  .cnw27 .navbar-nav {
    justify-content: flex-start !important;
    align-items: center;
    gap: 48px;
  }
  .cnw27 .navbar-nav > li:last-child {
    margin-left: auto;
  }
}
.cnw27 #menu-primary-navigation a {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
@media (max-width: 767px) {
  .cnw27 .cnw27-header .navbar > .container-fluid {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .cnw27 .custom-logo-link {
    padding: 12px 0 4px;
  }
  .cnw27 .cnw27-logo {
    height: 56px;
  }
  .cnw27 .navbar-nav-wrapper {
    width: 100%;
    padding-bottom: 8px;
  }
}

/* ---------- Page blocks ----------
   The page body is Gutenberg core blocks carrying these class names (see inc/cnw-2027-blocks.php).
   Block-gap margins from the theme's layout styles are reset per element below. */
.cnw27 .cnw27-main > * {
  margin-block-start: 0;
}
.cnw27 .wp-block-group,
.cnw27 .wp-block-columns,
.cnw27 .wp-block-column,
.cnw27 .wp-block-image,
.cnw27 .wp-block-buttons {
  margin-block-start: 0;
  margin-block-end: 0;
}
.cnw27 .wp-block-group > *,
.cnw27 .wp-block-column > * {
  margin-block-start: 0;
}

/* ---------- Hero ----------
   Three layers so the logos stay crisp and independent of the photo:
   1. the photo (cropped to the designer's window from the 4096px master)
   2. a radial dark shade behind the logo (the Figma radial gradient, 80% black), drawn by ::after
   3. the CNW + AgroLiquid lockup (SVG)
   Lockup position/size are percentages of the design's 1441px-wide frame. */
.cnw27 .cnw27-hero {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  /* Height follows the photo's proportions (2880x586) up to the design width of 1920px, then stays
     put: on wider windows the photo keeps filling the width (object-fit: cover) and crops top and
     bottom instead of growing taller. The lockup and shade stay sized to a centered 1920px frame
     (--fw) so they do not balloon either. */
  aspect-ratio: 2880 / 586;
  max-height: 391px;
  container-type: inline-size;
}
.cnw27 .cnw27-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 1920px);
  transform: translateX(-50%);
  background: radial-gradient(ellipse 31% 68% at 24.9% 45.3%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.cnw27 .cnw27-hero .wp-block-image {
  margin: 0;
}
.cnw27 .cnw27-hero .cnw27-hero__photo {
  height: 100%;
}
.cnw27 .cnw27-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.cnw27 .cnw27-hero__lockup {
  --fw: min(100cqw, 1920px);
  position: absolute;
  left: calc(50cqw - var(--fw) / 2 + var(--fw) * 0.111);
  top: calc(var(--fw) * 0.0281);
  width: calc(var(--fw) * 0.295);
  z-index: 1;
}
.cnw27 .cnw27-hero__lockup img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Buttons (core Button blocks with class cnw27-btn) ---------- */
.cnw27 .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin: 0;
}
.cnw27 .wp-block-button.cnw27-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 23px;
  background: var(--cnw-lime);
  color: #1d1d1d;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  transition: background-color 0.15s ease-in-out;
}
.cnw27 .wp-block-button.cnw27-btn .wp-block-button__link:hover,
.cnw27 .wp-block-button.cnw27-btn .wp-block-button__link:focus-visible {
  background: #7ad653;
  color: #1d1d1d;
  text-decoration: none;
}
.cnw27 .wp-block-button.cnw27-btn--white .wp-block-button__link {
  background: #fff;
  color: #2b2b2b;
}
.cnw27 .wp-block-button.cnw27-btn--white .wp-block-button__link:hover,
.cnw27 .wp-block-button.cnw27-btn--white .wp-block-button__link:focus-visible {
  background: #e9f5e3;
  color: #2b2b2b;
}

/* The editor's inline text color is a <mark>; Bootstrap pads/backgrounds <mark>, so neutralise that. */
.cnw27 mark.has-inline-color {
  padding: 0;
  background: none;
}

/* ---------- Intro ---------- */
.cnw27 .cnw27-intro {
  padding: 62px 0 60px;
}
.cnw27 h1.cnw27-h1 {
  margin: 0 0 30px;
  font-size: clamp(2.5rem, 4.4vw, 3.85rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.cnw27 .cnw27-lead {
  max-width: 51rem;
  margin: 0 0 34px;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.cnw27 .cnw27-facts {
  margin: 0 0 40px;
}
.cnw27 .cnw27-fact {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 10px;
}
.cnw27 .cnw27-fact .cnw27-fact__icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: flex-start;
  height: 44px;
  margin: 0;
}
.cnw27 .cnw27-fact .cnw27-fact__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 44px;
}
.cnw27 .cnw27-fact:nth-child(1) .cnw27-fact__icon img {
  width: 44px;
}
.cnw27 .cnw27-fact:nth-child(2) .cnw27-fact__icon img {
  width: 43px;
}
.cnw27 .cnw27-fact:nth-child(3) .cnw27-fact__icon img {
  width: 44px;
}
.cnw27 .cnw27-fact:nth-child(4) .cnw27-fact__icon img {
  width: 40px;
}
.cnw27 .cnw27-fact p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.cnw27 .cnw27-fact strong {
  color: var(--cnw-lime);
  font-weight: 600;
}

/* ---------- Giveaway band ---------- */
.cnw27 .cnw27-giveaway-band {
  background: linear-gradient(180deg, #017a33 0%, #017a33 40%, #2f9d37 100%);
  padding: 56px 0 64px;
}
.cnw27 .cnw27-h2 {
  margin: 0 0 44px;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 300;
  line-height: 1.15;
}
.cnw27 .cnw27-giveaway-cols {
  display: flex;
  align-items: flex-start !important;
  gap: 40px;
  margin: 0;
}
.cnw27 .cnw27-giveaway-cols > .wp-block-column {
  min-width: 0;
}
.cnw27 .cnw27-giveaway-band__lead {
  max-width: 28rem;
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.75;
}
.cnw27 .cnw27-prize-list {
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
}
.cnw27 .cnw27-prize-list li {
  margin: 0 0 21px;
  line-height: 1.35;
}
.cnw27 .cnw27-prize-list li::before {
  content: "\2022\00a0";
}
.cnw27 .cnw27-fineprint {
  max-width: 35rem;
  margin: 0;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.25;
}
.cnw27 .cnw27-giveaway-cols > .wp-block-column:last-child {
  margin-top: 10px;
}

/* Prize artwork (lime circle + product layers). Percentages are of the 450x440 design box. */
.cnw27 .cnw27-prizes {
  position: relative;
  width: 100%;
  aspect-ratio: 450 / 440;
}
.cnw27 .cnw27-prizes img {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
}
.cnw27 .cnw27-prizes__circle {
  position: absolute;
  left: 2.7%;
  top: 4.5%;
  width: 88.9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cnw-lime);
}
.cnw27 .cnw27-prizes .p-cover {
  left: 10.5%;
  top: 10.2%;
  width: 43.5%;
}
.cnw27 .cnw27-prizes .p-stove {
  left: 41.8%;
  top: 19.3%;
  width: 46%;
}
.cnw27 .cnw27-prizes .p-yeti {
  left: 3.1%;
  top: 46.4%;
  width: 35.5%;
}
.cnw27 .cnw27-prizes .p-griddle {
  left: 41%;
  top: 63.6%;
  width: 51.5%;
}
.cnw27 .cnw27-prizes--grand,
.cnw27 .cnw27-prizes--daily {
  aspect-ratio: 1;
}
.cnw27 .cnw27-prizes--grand .cnw27-prizes__circle,
.cnw27 .cnw27-prizes--daily .cnw27-prizes__circle {
  left: 8%;
  top: 4%;
  width: 90%;
}
.cnw27 .cnw27-prizes--grand .p-single {
  left: -6%;
  top: 22%;
  width: 108%;
}
.cnw27 .cnw27-prizes--daily .p-single {
  left: -6%;
  top: 2%;
  width: 112%;
}

/* ---------- Topics ---------- */
.cnw27 .cnw27-topics {
  padding: 62px 0 80px;
}
.cnw27 .cnw27-topics .cnw27-h2 {
  margin-bottom: 52px;
}
.cnw27 .wp-block-columns.cnw27-topic {
  display: flex;
  flex-wrap: nowrap;
  align-items: center !important; /* core forces align-items: normal !important on Columns */
  gap: 25px;
  margin: 0;
  padding: 35px 0;
}
.cnw27 .cnw27-h2 + .cnw27-topic {
  padding-top: 0;
}
.cnw27 .cnw27-topic + .cnw27-topic {
  border-top: 1px solid rgba(255, 255, 255, 0.85);
}
.cnw27 .cnw27-topic > .wp-block-column {
  min-width: 0;
}
.cnw27 .cnw27-topic .cnw27-topic__img {
  margin: 0;
}
.cnw27 .cnw27-topic .cnw27-topic__img img {
  display: block;
  width: 190px;
  height: 179px;
  object-fit: cover;
}
.cnw27 .cnw27-topic p {
  margin: 0;
}
.cnw27 .cnw27-topic .cnw27-topic__day {
  font-size: 0.875rem;
  margin-bottom: 4px;
}
.cnw27 .cnw27-topic .cnw27-topic__title {
  margin: 0 0 12px !important;
  font-size: 1.25rem;
  font-weight: 600 !important;
  line-height: 1.25;
}
.cnw27 .cnw27-topic .cnw27-topic__text {
  max-width: 52rem;
  font-size: 1rem;
  line-height: 1.75;
}
.cnw27 .cnw27-topics > .cnw27-inner > .wp-block-buttons {
  margin-top: 56px;
}

/* ---------- AgroLiquid callout ---------- */
.cnw27 .cnw27-callout {
  background: linear-gradient(78deg, #62c43b 0%, #017a33 82%);
  padding: 56px 0;
}
.cnw27 .cnw27-callout-cols {
  display: flex;
  align-items: center !important;
  gap: 94px;
  margin: 0;
}
.cnw27 .cnw27-callout-cols > .wp-block-column {
  min-width: 0;
}
.cnw27 .cnw27-callout__logo {
  margin: 0;
}
.cnw27 .cnw27-callout__logo img {
  display: block;
  width: 440px;
  max-width: 100%;
  height: auto;
}
.cnw27 .cnw27-callout__title {
  max-width: 24rem;
  margin: 0 0 14px;
  font-family: "Teko", "Open Sans", sans-serif;
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 0.95;
}
.cnw27 .cnw27-callout__text {
  max-width: 28rem;
  margin: 0 0 24px;
  font-size: 0.9375rem;
  line-height: 1.25;
}

/* ---------- Footer ---------- */
.cnw27 .cnw27-footer {
  background-color: var(--cnw-bg);
  padding: 48px 0 24px;
}
.cnw27 .cnw27-footer .cnw27-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.cnw27 .cnw27-footer__logo img {
  display: block;
  width: 227px;
  height: auto;
}
.cnw27 .cnw27-footer__contact {
  text-align: right;
}
.cnw27 .cnw27-footer__contact p {
  margin: 0 0 8px;
  font-size: 0.75rem;
}
.cnw27 .cnw27-footer__contact a {
  color: #fff;
  text-decoration: none;
}
.cnw27 .cnw27-footer__contact a:hover {
  color: var(--cnw-lime);
}
.cnw27 .cnw27-footer__follow {
  margin-top: 28px !important;
}
.cnw27 .cnw27-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 10px;
}
.cnw27 .cnw27-footer__legal {
  display: block;
  font-size: 0.75rem;
}
.cnw27 .cky-custom-link-container {
  background: var(--cnw-bg);
}

/* ---------- Password prompt ---------- */
.cnw27 .cnw27-pw {
  max-width: 480px;
  margin: 96px auto 120px;
  padding: 0 24px;
  text-align: center;
}
.cnw27 .cnw27-pw h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 700;
}
.cnw27 .cnw27-pw p {
  font-size: 1rem;
}
.cnw27 .cnw27-pw .post-password-form > p:first-of-type {
  display: none;
}
.cnw27 .cnw27-pw label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 600;
  text-align: left;
}
.cnw27 .cnw27-pw input[type="password"] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  color: #1d1d1d;
}
.cnw27 .cnw27-pw input[type="submit"] {
  margin-top: 16px;
  min-height: 43px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--cnw-lime);
  color: #1d1d1d;
  font-weight: 600;
  text-transform: uppercase;
}

/* ================= Registration panels ================= */
.cnw27 .cnw27-panel.offcanvas {
  --bs-offcanvas-width: 380px;
  background: linear-gradient(180deg, #017a33 0%, #017a33 68%, #62c43b 100%);
  color: #fff;
  border-left: 0;
}
.cnw27 .cnw27-panel .offcanvas-header {
  justify-content: flex-start;
  padding: 18px 24px 0;
}
.cnw27 .cnw27-panel .btn-close {
  width: 18px;
  height: 18px;
  padding: 0;
  opacity: 1;
  filter: none;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231d1d1d' stroke-width='1.4'%3E%3Cpath d='M1.5 1.5l13 13M14.5 1.5l-13 13'/%3E%3C/svg%3E")
    center / 100% no-repeat;
}
.cnw27 .cnw27-panel .offcanvas-body {
  /* Bootstrap pads the body by 1rem; the design's 48px side margin is set on .cnw27-panel__inner
     (284px of content in the 380px panel), so remove the extra padding. */
  padding: 0;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.cnw27 .cnw27-panel__inner {
  padding: 8px 48px 56px;
}
.cnw27 .cnw27-panel-title,
.cnw27 .cnw27-panel-sub {
  margin: 0 0 20px !important;
  font-size: 22px;
  font-weight: 700 !important;
  line-height: 23px;
  text-transform: uppercase;
  color: #fff;
}
.cnw27 .cnw27-panel-sub {
  font-size: 15px;
  line-height: 18px;
}
.cnw27 .cnw27-panel-title.cnw27-yellow {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 22px;
}
.cnw27 .cnw27-check {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 2px;
  width: 20px;
  height: 20px;
}
.cnw27 .cnw27-panel-text {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
.cnw27 .cnw27-panel-label {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Countdown */
.cnw27 .cnw27-timer {
  display: flex;
  gap: 14px;
  margin: 0 0 30px;
}
.cnw27 .cnw27-timer .days-container,
.cnw27 .cnw27-timer .hours-container,
.cnw27 .cnw27-timer .minutes-container,
.cnw27 .cnw27-timer .seconds-container {
  flex: 1 1 0;
  flex-basis: 0;
  min-height: 64px;
  padding: 7px 0 5px;
  border: 1px solid #fff;
  border-radius: 2px;
}
.cnw27 .cnw27-timer .days,
.cnw27 .cnw27-timer .hours,
.cnw27 .cnw27-timer .minutes,
.cnw27 .cnw27-timer .seconds {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.05;
}
.cnw27 .cnw27-timer .days-label,
.cnw27 .cnw27-timer .hours-label,
.cnw27 .cnw27-timer .minutes-label,
.cnw27 .cnw27-timer .seconds-label {
  font-size: 0.8rem;
  line-height: 1.2;
}

/* Panel 1: register */
.cnw27 .cnw27-register .gform_wrapper {
  margin: 0 0 30px;
}
/* Form 8 carries its own saved HTML block (an older countdown + "Register now" heading).
   The 2027 panel renders the countdown and heading itself, so hide that block here. */
.cnw27 #gform_wrapper_8 .gfield--type-html {
  display: none;
}
.cnw27 .cnw27-register .gform_wrapper.gravity-theme .gfield_label,
.cnw27 .cnw27-giveaway .gform_wrapper.gravity-theme .gfield_label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.cnw27 .cnw27-panel .gform_wrapper .gfield_required {
  color: #ff4a3d;
}
.cnw27 .cnw27-panel .gform_wrapper .gfield_required_text {
  font-size: 0;
}
.cnw27 .cnw27-panel .gform_wrapper .gfield_required_text::after {
  content: "*";
  font-size: 0.8125rem;
}
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme input[type="text"],
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme input[type="email"],
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme input[type="tel"],
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme select {
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background-color: #fff;
  color: #1d1d1d;
  font-size: 15px;
}
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme input[type="submit"],
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gform_footer input {
  min-height: 40px;
  padding: 0 12px;
  box-shadow: none;
  font-size: 15px;
}
.cnw27 .cnw27-panel .gform_wrapper .gform_footer,
.cnw27 .cnw27-panel .gform_wrapper .gform_page_footer {
  margin-top: 28px;
  padding: 0;
}
.cnw27 .cnw27-panel .gform_wrapper .gfield_description,
.cnw27 .cnw27-panel .gform_wrapper .gform_required_legend {
  color: #fff;
}
/* Validation: Gravity Forms' default error styling is red-on-pink, unreadable on the
   green panel, so use white text on a dark translucent box. */
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gform_validation_errors {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid #fff !important;
  border-radius: 0;
  box-shadow: none;
}
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gform_validation_errors > h2,
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gform_validation_errors .gform_submission_error,
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gform_validation_errors li,
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gform_validation_errors a {
  margin: 0;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
}
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gform_validation_errors .gform-icon {
  display: none;
}
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gfield_error {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
}
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gfield_error input:not([type="checkbox"]),
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gfield_error select {
  outline: 3px solid var(--cnw-yellow);
}
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .gfield_validation_message,
.cnw27 .cnw27-panel .gform_wrapper.gravity-theme .validation_message {
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 600;
}
.cnw27 .cnw27-register__promo {
  /* Design: the heading spans the top; the paragraph (left) and the prize circle (right) sit
     side by side beneath it, so the circle is level with the paragraph, not the heading. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  grid-template-rows: auto 1fr;
  column-gap: 8px;
  align-items: start;
}
.cnw27 .cnw27-promo__copy {
  display: contents;
}
.cnw27 .cnw27-register__promo .cnw27-panel-sub {
  grid-column: 1 / -1;
  max-width: 168px;
  margin-bottom: 12px !important;
  font-size: 18px;
  line-height: 18px;
}
.cnw27 .cnw27-register__promo .cnw27-panel-text {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: 166px;
}
.cnw27 .cnw27-register__promo .cnw27-prizes {
  grid-column: 2;
  grid-row: 2;
  margin-top: -4px;
}
.cnw27 .cnw27-register.is-confirmed .cnw27-register__top,
.cnw27 .cnw27-register.is-confirmed .cnw27-register__promo {
  display: none;
}

/* Panel 2: giveaway */
.cnw27 .cnw27-giveaway__intro {
  margin-bottom: 26px;
}
.cnw27 .cnw27-grand {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  margin: 22px 0 18px;
}
.cnw27 .cnw27-grand p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
.cnw27 .cnw27-grand strong {
  text-transform: uppercase;
}
.cnw27 .cnw27-daily {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  column-gap: 4px;
  align-items: start; /* the circle sits level with the "Daily prizes" label, as designed */
}
.cnw27 .cnw27-daily .cnw27-prizes {
  margin-top: 6px;
}
.cnw27 .cnw27-daily ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}
.cnw27 .cnw27-daily li {
  margin: 0 0 4px;
  padding-left: 12px;
  text-indent: -12px;
}
.cnw27 .cnw27-daily li::before {
  content: "\2022\00a0\00a0";
}
.cnw27 .cnw27-eligible {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 400;
}
.cnw27 .cnw27-giveaway.is-done .cnw27-giveaway__intro,
.cnw27 .cnw27-giveaway:has(.cnw27-done) .cnw27-giveaway__intro {
  display: none;
}

/* Giveaway form: labels become in-field placeholders (set in cnw-2027.js) */
.cnw27 .cnw27-giveaway .gform_wrapper .gfield:not(.gfield--type-checkbox) > .gfield_label,
.cnw27 .cnw27-giveaway .gform_wrapper .gfield:not(.gfield--type-checkbox) legend.gfield_label,
.cnw27 .cnw27-giveaway .gform_wrapper .ginput_complex label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.cnw27 .cnw27-giveaway .gform_wrapper .gform_fields {
  row-gap: 14px;
  column-gap: 8px; /* Gravity Forms zeroes the column gap on narrow screens, which fused City / State / ZIP */
}
.cnw27 .cnw27-giveaway #field_2_10 {
  display: none;
}
.cnw27 .cnw27-giveaway #field_2_12,
.cnw27 .cnw27-giveaway #field_2_11,
.cnw27 .cnw27-giveaway #field_2_13 {
  grid-column: span 4; /* City / State / ZIP in equal thirds so "Zip Code" is not truncated */
}
.cnw27 .cnw27-giveaway #field_2_17 {
  order: 20;
}
.cnw27 .cnw27-giveaway #field_2_19 {
  order: 30;
}
.cnw27 .cnw27-giveaway .gfield--type-checkbox .gchoice {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cnw27 .cnw27-giveaway .gfield--type-checkbox label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.cnw27 .cnw27-giveaway .gfield--type-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 0;
}
.cnw27 .cnw27-giveaway .gfield--type-checkbox > legend,
.cnw27 .cnw27-giveaway .gfield--type-checkbox > .gfield_label {
  display: none;
}

/* Panel 3: confirmation */
.cnw27 .cnw27-done__lead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 18px;
}
.cnw27 .cnw27-done__lead .cnw27-check {
  width: 16px;
  height: 16px;
}
.cnw27 .cnw27-done .cnw27-panel-text {
  font-weight: 400;
}

/* ================= Responsive ================= */
@media (max-width: 991px) {
  .cnw27 .cnw27-giveaway-cols > .wp-block-column:last-child {
    flex-basis: 330px !important;
  }
  .cnw27 .cnw27-callout-cols {
    gap: 48px;
  }
  .cnw27 .cnw27-callout-cols > .wp-block-column:first-child {
    flex-basis: 300px !important;
  }
}
@media (max-width: 781px) {
  /* core stacks Columns below 782px; give the stacked giveaway art a sensible size */
  .cnw27 .cnw27-giveaway-cols {
    gap: 8px;
  }
  .cnw27 .cnw27-giveaway-cols > .wp-block-column:last-child {
    flex-basis: auto !important;
    max-width: 380px;
    margin: 8px auto 0;
  }
  .cnw27 .cnw27-callout-cols {
    gap: 28px;
  }
  .cnw27 .cnw27-callout-cols > .wp-block-column:first-child {
    flex-basis: auto !important;
  }
}
@media (max-width: 767px) {
  /* At phone width the full banner would shrink the lockup to a few pixels, so use a taller
     crop of the photo and size the lockup against the viewport instead. */
  .cnw27 .cnw27-hero {
    aspect-ratio: auto;
    max-height: none;
  }
  .cnw27 .cnw27-hero__photo img {
    height: 210px;
    object-fit: cover;
    object-position: 50% 50%;
  }
  .cnw27 .cnw27-hero::after {
    left: 0;
    width: 100%;
    transform: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 100%);
  }
  .cnw27 .cnw27-hero__lockup {
    left: 50%;
    top: 50%;
    width: min(78%, 330px);
    transform: translate(-50%, -50%);
  }
  .cnw27 .cnw27-intro {
    padding: 40px 0 44px;
  }
  .cnw27 .wp-block-buttons {
    gap: 14px;
  }
  .cnw27 .wp-block-buttons .wp-block-button {
    flex: 1 1 100%;
  }
  .cnw27 .wp-block-buttons .wp-block-button__link {
    width: 100%;
  }
  .cnw27 .cnw27-giveaway-band {
    padding: 44px 0 52px;
  }
  .cnw27 .cnw27-h2 {
    margin-bottom: 28px;
  }
  .cnw27 .cnw27-prize-list li {
    margin-bottom: 14px;
  }
  .cnw27 .cnw27-prize-list {
    margin-bottom: 28px;
  }
  .cnw27 .cnw27-topics {
    padding: 44px 0 56px;
  }
  .cnw27 .wp-block-columns.cnw27-topic {
    align-items: flex-start !important;
    gap: 16px;
    padding: 26px 0;
  }
  .cnw27 .cnw27-topic > .wp-block-column:first-child {
    flex-basis: 104px !important;
  }
  .cnw27 .cnw27-topic .cnw27-topic__img img {
    width: 104px;
    height: 104px;
  }
  .cnw27 .cnw27-topic .cnw27-topic__title {
    font-size: 1.1rem;
  }
  .cnw27 .cnw27-topic .cnw27-topic__text {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
  .cnw27 .cnw27-callout {
    padding: 44px 0;
  }
  .cnw27 .cnw27-callout__logo img {
    width: 280px;
  }
  .cnw27 .cnw27-callout__title {
    font-size: 2.3rem;
  }
  .cnw27 .cnw27-footer .cnw27-inner {
    flex-direction: column;
  }
  .cnw27 .cnw27-footer__contact {
    text-align: left;
  }
  .cnw27 .cnw27-footer__social {
    justify-content: flex-start;
  }
  .cnw27 .cnw27-panel.offcanvas {
    --bs-offcanvas-width: 100vw;
  }
  .cnw27 .cnw27-panel__inner {
    padding: 8px 28px 48px;
  }
  /* The panel is full width here, so let the promo copy use the space beside the prize art
     (the design's fixed 164px text column would strand the circle at the far right edge). */
  .cnw27 .cnw27-register__promo {
    grid-template-columns: minmax(0, 1fr) 128px;
    column-gap: 16px;
  }
  .cnw27 .cnw27-register__promo .cnw27-panel-sub,
  .cnw27 .cnw27-register__promo .cnw27-panel-text {
    max-width: none;
  }
}
