/* This campaign inherits RRM's site header, footer and typefaces. */
.rrm-giveaway {
  --giveaway-charcoal: #393a3c;
  --giveaway-blue: #69b3e4;
  background: #fff;
}
.giveaway-shell {
  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;
}
.giveaway-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 780px;
  padding: 156px 0 72px;
  color: #fff;
  background: #15262f url("../images/sema-giveaway-background-v2.webp") center 48% / cover no-repeat;
  isolation: isolate;
}
.giveaway-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 20, 28, 0.82) 0%, rgba(5, 20, 28, 0.61) 35%, rgba(5, 20, 28, 0.12) 75%), linear-gradient(0deg, rgba(5, 20, 28, 0.58), transparent 55%);
}
.giveaway-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 18px;
}
.rrm-giveaway .giveaway-hero h1 {
  font-size: clamp(4.5rem, 7.2vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.giveaway-hero h1 span { color: var(--giveaway-blue); }
.giveaway-prizes {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.15vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.giveaway-hero__description {
  max-width: 42ch;
  margin-top: 22px;
  color: #e0edf4;
  font-size: 1rem;
}
.giveaway-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  padding: 15px 24px;
  color: #102f3d;
  background: var(--giveaway-blue);
  font-weight: 800;
  transition: background-color 180ms ease;
}
.giveaway-button:hover { background: #9cd4f5; }
.giveaway-button::after {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rrm-giveaway a:focus-visible {
  outline: 3px solid #2d6f9e;
  outline-offset: 5px;
}
.giveaway-hero a:focus-visible { outline-color: #fff; }
.giveaway-hero__visual {
  min-width: 0;
  width: calc(100% + 46px);
  margin: 66px -46px 0 0;
  align-self: end;
}
.giveaway-hero__visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.24));
}
.giveaway-entry {
  padding: 80px 0 72px;
  border-top: 4px solid var(--giveaway-blue);
  scroll-margin-top: 108px;
}
.giveaway-entry__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 48px;
}
.rrm-giveaway .giveaway-entry h2 {
  color: var(--giveaway-charcoal);
  font-size: clamp(2.5rem, 4.3vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
}
.rrm-giveaway .giveaway-how-title {
  margin-top: 42px;
  color: #2d6f9e;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}
.giveaway-steps {
  display: grid;
  gap: 27px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}
.giveaway-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 17px;
}
.giveaway-step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #102f3d;
  background: var(--giveaway-blue);
  font-size: 1.25rem;
  font-weight: 800;
}
.giveaway-steps h4 {
  margin: 2px 0 6px;
  color: var(--giveaway-charcoal);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}
.giveaway-steps p { max-width: 30ch; color: #53616a; font-size: 0.95rem; }
.giveaway-help { margin-top: 38px; font-size: 0.95rem; }
.giveaway-help a,
.giveaway-form__fallback a {
  color: #245d85;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.giveaway-form { min-width: 0; scroll-margin-top: 110px; }
.giveaway-form iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.giveaway-form__fallback { margin-top: 20px; color: #53616a; font-size: 0.8rem; text-align: center; }
.rrm-giveaway ::selection { color: #102f3d; background: #b5e1fa; }
@media (max-width: 1000px) {
  .giveaway-shell { width: calc(100% - 48px); }
  .giveaway-hero { min-height: 720px; padding: 140px 0 60px; }
  .giveaway-hero__layout { gap: 22px; }
  .giveaway-hero__visual { width: 100%; margin-right: 0; }
  .giveaway-entry__layout { grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr); gap: 28px; }
}
@media (max-width: 760px) {
  .giveaway-shell { width: calc(100% - 40px); }
  .giveaway-hero {
    min-height: 0;
    padding: 122px 0 30px;
    background-image: url("../images/sema-giveaway-background-mobile-v2.webp");
    background-position: 48% center;
  }
  .giveaway-hero::before {
    background: linear-gradient(180deg, rgba(5, 20, 28, 0.7), rgba(5, 20, 28, 0.37) 56%, rgba(5, 20, 28, 0.65));
  }
  .giveaway-hero__layout,
  .giveaway-entry__layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rrm-giveaway .giveaway-hero h1 { font-size: clamp(3.5rem, 14.4vw, 5rem); }
  .giveaway-hero h1 br { display: none; }
  .giveaway-hero__visual { width: calc(100% + 16px); margin: 0 -8px; }
  .giveaway-hero__layout { gap: 30px; }
  .giveaway-prizes { margin-top: 20px; font-size: clamp(1.4rem, 5.8vw, 1.9rem); }
  .giveaway-hero__description { margin-top: 18px; }
  .giveaway-button { width: 100%; margin-top: 24px; }
  .giveaway-entry { padding: 42px 0; scroll-margin-top: 82px; }
  .rrm-giveaway .giveaway-entry h2 { font-size: 2.75rem; }
  .giveaway-entry h2 br { display: none; }
  .rrm-giveaway .giveaway-how-title { margin-top: 28px; }
  .giveaway-steps { gap: 20px; }
  .giveaway-steps p { max-width: none; }
  .giveaway-help { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .giveaway-button { transition: none; }
}
