/*
 * Holiday Giveaway pages: burgundy-to-rose gradient, left-aligned Inter headings in a brushed
 * rose-metal finish, dark ribbon burgundy accents. Loaded after /shared/forms.css.
 */

:root {
  --navy: #6f3036; /* page colour behind the gradient */
  --page-bg: radial-gradient(120% 70% at 55% 0%, #c9959c 0%, #a2646c 32%, #7d3b42 62%, #6b2c33 100%);
  --blush: #f6d2cd;
  --ribbon: #4f0f17;
  --selected: #5e1a23;
  --muted: rgba(255, 255, 255, .78);
  --line: rgba(255, 255, 255, .25);
}

.wrap { max-width: 800px; padding-top: 24px; }

.logo { margin: 16px 0 40px; }
.logo img { display: block; width: 110px; height: auto; }

/* Metallic rose lettering, like "HOLIDAY GIFT GUIDE 2026" in the gift guide artwork */
.metal {
  background: linear-gradient(100deg, #f9e1dc 0%, #e7b5b0 30%, #fbe8e4 50%, #d9a19f 72%, #f4d0cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Opener: the gift guide headline and blurb, set as text */
.opener { margin: 0 0 44px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.opener-title {
  margin: 0 0 22px;
  font-weight: 700;
  font-size: clamp(26px, 8.6vw, 74px); /* sized so "HOLIDAY GIFT GUIDE" fills the column on one line */
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
/* A longer headline that wraps onto several lines */
.opener-title.multiline { white-space: normal; font-size: clamp(30px, 6.4vw, 56px); line-height: 1.08; }
.opener-text { margin: 0; font-size: 19px; line-height: 1.5; }

.page-title {
  margin: 0 0 18px;
  text-align: left;
  font-weight: 700;
  font-size: clamp(21px, 5.6vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}
/* "The Giveaway: Brand" on one line: lighter "The Giveaway:", bold brand */
.page-title span { display: inline; }
.page-title .eyebrow { font-weight: 400; text-transform: none; }

.intro { text-align: left; margin: 0 0 40px; max-width: none; font-size: 18px; }
.intro .small { font-size: 14px; }

/* Small spaced-out line above a prize name, e.g. "ENTER FOR A CHANCE TO WIN" */
.kicker { margin: 0 0 10px; font-size: 15px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--blush); }

/* "How to Enter" box and "The fine print" line above the form */
.how { margin: 0 0 16px; padding: 16px 20px; border-left: 3px solid var(--blush); background: rgba(255, 255, 255, .08); font-size: 17px; line-height: 1.5; }
.how strong { font-weight: 700; }
.fine em { font-style: italic; }
.fine { margin: 0 0 40px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.fine a { color: var(--blush); }
.intro p { margin: 0 0 14px; }
.intro p:last-child { margin-bottom: 0; }
.intro { margin-bottom: 28px; }

/* Fields: white, square, with a ribbon-burgundy focus ring */
input[type=email], input[type=text], input[type=date], textarea { border-color: var(--ribbon); }
input:focus-visible, textarea:focus-visible { outline-color: var(--blush); }

.submit {
  background: var(--ribbon);
  color: var(--blush);
  border-color: var(--ribbon);
  font-weight: 600;
  letter-spacing: .08em;
}
.submit:hover { background: #3d0a11; }

/* Giveaway choice on the entries page: one card per brand */
.q[data-q="giveaway"] .checks { grid-template-columns: 1fr 1fr; gap: 12px; }
.q[data-q="giveaway"] .check {
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .06);
  font-size: 18px;
  font-weight: 600;
  transition: background .12s, border-color .12s;
}
.q[data-q="giveaway"] .check:hover { background: rgba(255, 255, 255, .12); }
.q[data-q="giveaway"] .check:has(input:checked) { background: rgba(255, 255, 255, .2); border-color: var(--blush); box-shadow: inset 0 0 0 1px var(--blush); }
.q[data-q="giveaway"].invalid .check { border-color: var(--blush); }
.q[data-q="giveaway"] .check small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--muted); }
.q[data-q="giveaway"] .check.unavailable { opacity: .6; cursor: default; }
.q[data-q="giveaway"] .check.unavailable:hover { background: rgba(255, 255, 255, .06); }
.q[data-q="giveaway"] .check em { margin-left: auto; padding-left: 8px; font-style: normal; font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--blush); }

/* Stacked confirmation checkboxes sit close together */
.q.consent + .q.consent { margin-top: 14px; }

.thanks h2, .notice h2 { text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 34px; }
.thanks, .notice { text-align: left; padding-left: 0; }

@media (max-width: 600px) {
  .wrap { padding-top: 16px; }
  .logo { margin: 8px 0 36px; }
  .logo img { width: 90px; }
  .intro { font-size: 16px; }
  .opener { margin-bottom: 32px; padding-bottom: 30px; }
  .opener-text { font-size: 17px; }
  .submit { font-size: 15px; letter-spacing: .04em; padding: 16px 10px; }
  .q[data-q="giveaway"] .checks { gap: 8px; }
  .q[data-q="giveaway"] .checks { grid-template-columns: 1fr; }
  .q[data-q="giveaway"] .check { padding: 14px 14px; font-size: 16px; }
  .how { font-size: 16px; padding: 14px 16px; }
}
.nowrap { white-space: nowrap; }

/* Terms page: list of each giveaway's official rules */
.rules { margin: 16px 0 28px; padding-left: 20px; line-height: 1.9; }
.rules a { font-weight: 600; }

/* Official rules pages */
.rules-doc h2 { font-size: 18px; letter-spacing: .02em; line-height: 1.4; margin: 0 0 20px; }
.rules-doc p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; }
.rules-doc strong { color: #fff; }
.rules-doc a { word-break: break-word; }
.rules-doc .back { margin-top: 32px; font-size: 16px; }
