/* Christmas: a winter night sky over an advent gift calendar. Fraunces + Inter.
   Shown only on sites an admin switched to Christmas (ChristmasSite). */

:root {
  --night:    #0f2138;
  --night-2:  #183354;
  --night-3:  #24476f;
  --snow:     #f7f5f0;
  --paper:    #ffffff;
  --ink:      #14233a;
  --ink-2:    #3e4c60;
  --ink-3:    #6b778a;
  --red:      #c4303d;
  --red-d:    #a02330;
  --gold:     #e3b04b;
  --gold-l:   #f6dfa6;
  --pine:     #1f6149;
  --pine-l:   #dcefe6;
  --line:     rgba(20,35,58,0.1);
  --line-2:   rgba(20,35,58,0.18);
  --radius:   20px;
  --serif:    'Fraunces', Georgia, serif;
  --sans:     'Inter', system-ui, -apple-system, sans-serif;
  --wrap:     1240px;
  --gallery-border: #e9dfc4;
  --gallery-active: #c4303d;
  --gallery-glow:   rgba(196,48,61,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--snow);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Falling snow over the page */
.x-snow { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.x-snow::before, .x-snow::after {
  content: '';
  position: absolute;
  inset: -100% 0 0;
  background-image:
    radial-gradient(circle at 20px 30px, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 130px 100px, #fff 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 210px 170px, #fff 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 80px 220px, #fff 0 1.5px, transparent 2.5px);
  background-size: 260px 260px;
  filter: drop-shadow(0 0 1px rgba(15,33,56,0.35));
  opacity: 0.75;
  animation: x-fall 24s linear infinite;
}
.x-snow::after { background-size: 360px 360px; animation-duration: 36s; opacity: 0.5; }
@keyframes x-fall { to { transform: translateY(50%); } }

/* === Header === */
.x-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--snow); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.x-header-top { max-width: var(--wrap); margin: 0 auto; padding: 16px 24px 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.x-logo { display: flex; align-items: center; min-width: 0; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.x-logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-logo img { height: 48px; width: auto; max-width: 240px; object-fit: contain; background: var(--snow); border-radius: 10px; padding: 4px 8px; }
/* The ad under the header sits on the night sky, not on a white strip */
.x-ad-top { background: var(--night); padding: 22px 16px 14px; text-align: center; overflow: hidden; }
/* Days to Christmas next to the logo, on every page */
.x-countdown { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(246,223,166,0.12); border: 1px solid rgba(246,223,166,0.35); font-size: 13.5px; font-weight: 600; color: var(--gold-l); white-space: nowrap; }
.x-countdown::before { content: ''; width: 16px; height: 18px; flex: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 18'><path d='M8 0l1.2 2.6 2.8.3-2.1 1.9.6 2.7L8 6.1 5.5 7.5l.6-2.7L4 2.9l2.8-.3z' fill='%23e3b04b'/><path d='M8 5l4 5H9.8l3.7 4.5H2.5L6.2 10H4z' fill='%233fae7a'/><path d='M7 14.5h2V18H7z' fill='%23a0764a'/></svg>") center/contain no-repeat; }
.x-countdown[hidden] { display: none; }
.x-search { flex: 0 1 300px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); }
.x-search::before { content: ''; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f6dfa6' stroke-width='2'><circle cx='7' cy='7' r='5'/><path d='M11 11l4 4' stroke-linecap='round'/></svg>") center/contain no-repeat; }
.x-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--snow); font: inherit; font-size: 14px; -webkit-appearance: none; appearance: none; }
.x-search input::placeholder { color: rgba(247,245,240,0.6); }
.x-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.x-search:focus-within { border-color: var(--gold); }
.x-chips { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 4px 24px 14px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.x-chips::-webkit-scrollbar { display: none; }
.x-chip { flex: none; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: rgba(247,245,240,0.85); border: 1px solid rgba(255,255,255,0.16); transition: background 0.2s, color 0.2s; white-space: nowrap; }
.x-chip:hover { background: rgba(255,255,255,0.1); color: #fff; }
.x-chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--night); }
/* String lights hanging under the header; the two sets of bulbs twinkle in turn */
.x-lights { position: absolute; left: 0; right: 0; bottom: -15px; height: 18px; pointer-events: none; }
.x-lights::before, .x-lights::after { content: ''; position: absolute; inset: 0; background-size: 160px 18px; background-repeat: repeat-x; }
.x-lights::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 18'><path d='M0 3Q40 13 80 3T160 3' fill='none' stroke='%2338506e' stroke-width='1.2'/><rect x='19.5' y='9' width='5' height='8' rx='2.5' fill='%23e5484d'/><rect x='20.5' y='7' width='3' height='3' fill='%2338506e'/><rect x='99.5' y='9' width='5' height='8' rx='2.5' fill='%23f2c14e'/><rect x='100.5' y='7' width='3' height='3' fill='%2338506e'/></svg>"); animation: x-twinkle 3.2s ease-in-out infinite; }
.x-lights::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 18'><rect x='57.5' y='9' width='5' height='8' rx='2.5' fill='%233fae7a'/><rect x='58.5' y='7' width='3' height='3' fill='%2338506e'/><rect x='137.5' y='9' width='5' height='8' rx='2.5' fill='%23cfe3ff'/><rect x='138.5' y='7' width='3' height='3' fill='%2338506e'/></svg>"); animation: x-twinkle 3.2s ease-in-out -1.6s infinite; }
@keyframes x-twinkle { 50% { opacity: 0.55; } }

/* === Shared bits === */
.x-main { position: relative; z-index: 1; }
.x-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.x-kicker::before { content: '★'; color: var(--gold); letter-spacing: 0; }
.x-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pine); }
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: transform 0.2s, background 0.2s, box-shadow 0.2s; }
.x-btn:hover { transform: translateY(-2px); }
.x-btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(196,48,61,0.35); }
.x-btn-red:hover { background: var(--red-d); color: #fff; }
.x-btn-ghost { color: var(--snow); border: 1.5px solid rgba(247,245,240,0.5); }
.x-btn-ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.x-btn-block { display: flex; width: 100%; }
/* A paper gift tag with a string hole */
.x-tag { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 12px 5px 20px; background: var(--gold-l); color: var(--ink); font-weight: 700; font-size: 15px; border-radius: 4px 8px 8px 4px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); white-space: nowrap; }
.x-tag::before { content: ''; position: absolute; left: 8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--paper); }
.x-tag s { font-weight: 400; font-size: 12px; color: var(--ink-3); }
.x-rating { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
/* A ribbon bow on top of a gift box */
.x-bow { position: absolute; top: -18px; left: 50%; width: 64px; height: 30px; margin-left: -32px; z-index: 2; background:
  radial-gradient(ellipse 15px 11px at 17px 15px, var(--red) 96%, transparent),
  radial-gradient(ellipse 15px 11px at 47px 15px, var(--red) 96%, transparent),
  radial-gradient(circle 7px at 32px 16px, var(--red-d) 96%, transparent); }

/* === Home hero: night sky === */
.x-hero { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding: 72px max(24px, calc((100% - var(--wrap)) / 2 + 24px)) 140px; background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 70%, var(--night-3) 100%); color: var(--snow); overflow: hidden; }
.x-hero-sky { position: absolute; inset: 0; pointer-events: none; background-image:
  radial-gradient(circle at 12% 22%, rgba(255,255,255,0.9) 0 1px, transparent 2px),
  radial-gradient(circle at 34% 12%, rgba(255,255,255,0.7) 0 1px, transparent 2px),
  radial-gradient(circle at 58% 30%, rgba(255,255,255,0.8) 0 1.2px, transparent 2px),
  radial-gradient(circle at 78% 16%, rgba(255,255,255,0.7) 0 1px, transparent 2px),
  radial-gradient(circle at 90% 40%, rgba(255,255,255,0.8) 0 1px, transparent 2px),
  radial-gradient(circle at 46% 52%, rgba(255,255,255,0.6) 0 1px, transparent 2px); }
.x-moon { position: absolute; top: 40px; left: 47%; width: 70px; height: 70px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 60px rgba(246,223,166,0.45), inset -14px -6px 0 rgba(227,176,75,0.35); }
/* Santa's sleigh crossing the moon */
.x-sleigh { position: absolute; top: 46px; left: calc(47% - 42px); width: 132px; color: var(--night); }
.x-flake { position: absolute; color: rgba(247,245,240,0.35); }
.x-flake-1 { width: 46px; top: 26%; left: 4%; }
.x-flake-2 { width: 30px; bottom: 34%; left: 46%; }
.x-hero-copy { position: relative; z-index: 1; max-width: 620px; }
.x-hero-copy .x-kicker { color: var(--gold-l); }
.x-hero h1 { font-family: var(--serif); font-size: clamp(40px, 5.6vw, 72px); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; margin: 18px 0 20px; }
.x-hero h1 em { font-style: italic; color: var(--gold); }
.x-hero p { font-size: 18px; color: rgba(247,245,240,0.82); max-width: 520px; margin-bottom: 56px; }
.x-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.x-hero-gift { position: relative; z-index: 1; display: block; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 18px; box-shadow: 0 30px 60px rgba(4,12,24,0.45); transform: rotate(1.5deg); transition: transform 0.3s; }
.x-hero-gift:hover { transform: rotate(0) translateY(-4px); }
.x-hero-gift-img { position: relative; z-index: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--snow); border-radius: 14px; padding: 18px; }
.x-hero-gift-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.x-hero-gift-body { position: relative; z-index: 1; display: block; background: var(--paper); padding: 16px 4px 2px; }
.x-hero-gift-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; margin: 6px 0 14px; }
.x-hero-gift-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* Pines on the snowy hills, the tallest with its star */
.x-trees { position: absolute; left: 0; bottom: 34px; width: 100%; height: 120px; color: #12304a; pointer-events: none; }
.x-trees-star { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(246,223,166,0.8)); }
.x-hills { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; pointer-events: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 90V52C140 18 260 24 400 46S660 78 820 50 1100 6 1260 30 1400 56 1440 50V90Z' fill='%23f7f5f0'/></svg>") center/100% 100% no-repeat; }

/* === Facts strip === */
.x-facts { position: relative; z-index: 2; max-width: 980px; margin: -48px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); }
.x-facts > div { background: var(--paper); padding: 22px 18px; text-align: center; border: 1px solid var(--line); }
.x-facts > div:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.x-facts > div:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.x-facts > div + div { border-left: 0; }
.x-facts strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.1; color: var(--red); }
.x-facts span { font-size: 13px; color: var(--ink-3); }

/* === Sections and the advent grid === */
.x-section { max-width: var(--wrap); margin: 0 auto; padding: 72px 24px 88px; }
.x-section-head { text-align: center; margin-bottom: 40px; }
.x-section-head h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.015em; margin-top: 10px; }
/* A holly sprig under the section title */
.x-section-head h2::after { content: ''; display: block; width: 56px; height: 22px; margin: 14px auto 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 22'><path d='M28 12C22 4 12 3 4 7c4 2 4 6 0 8 8 4 18 3 24-3zM28 12c6-8 16-9 24-5-4 2-4 6 0 8-8 4-18 3-24-3z' fill='%231f6149'/><circle cx='24' cy='9' r='3.2' fill='%23c4303d'/><circle cx='31.5' cy='8.5' r='3.2' fill='%23c4303d'/><circle cx='28' cy='14.5' r='3.2' fill='%23c4303d'/></svg>") center/contain no-repeat; }
.x-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.x-door { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.x-door:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(20,35,58,0.14); }
/* The day number hangs like a bauble with a gold cap */
.x-door-day { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--gold-l); font-family: var(--serif); font-size: 18px; font-weight: 600; border: 2px dashed rgba(246,223,166,0.6); }
.x-door-day::before { content: ''; position: absolute; top: -7px; left: 50%; width: 12px; height: 6px; margin-left: -6px; border-radius: 3px 3px 1px 1px; background: var(--gold); }
.x-door-img { min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 26px; background: linear-gradient(180deg, var(--snow), #efece4); border-bottom: 2px dashed var(--line-2); }
.x-door-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.4s; }
.x-door:hover .x-door-img img { transform: scale(1.05); }
.x-door-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 16px 18px 18px; }
.x-door-title { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.x-door-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }

/* === Category and article bands === */
.x-band { position: relative; background: var(--night); color: var(--snow); text-align: center; padding: 40px 24px 96px; }
.x-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'><path d='M0 60V34C200 6 380 10 560 30S900 52 1080 28 1360 14 1440 26V60Z' fill='%23f7f5f0'/></svg>") center/100% 100% no-repeat; }
.x-band h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 58px); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; max-width: 900px; margin: 14px auto 12px; overflow-wrap: anywhere; }
.x-band p { max-width: 560px; margin: 0 auto; color: rgba(247,245,240,0.78); }
.x-band .search-empty { margin-bottom: 8px; }
.x-band-count { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.1); font-size: 13px; font-weight: 600; color: var(--gold-l); }
.x-band-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: rgba(247,245,240,0.75); }
.x-band-meta .x-rating { color: var(--gold-l); }
.x-crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(247,245,240,0.7); }
.x-crumbs a { color: var(--gold-l); }
.x-crumbs span { opacity: 0.5; }
.x-empty { max-width: 560px; margin: 0 auto; text-align: center; }
.x-empty p { color: var(--ink-3); margin-bottom: 18px; }
.x-empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.x-empty-links a { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.x-empty-links a:hover { border-color: var(--red); color: var(--red); }
.x-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.x-pages a, .x-pages span { min-width: 42px; padding: 9px 14px; border-radius: 999px; text-align: center; font-size: 14px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); }
.x-pages a:hover { border-color: var(--red); color: var(--red); }
.x-pages .is-on { background: var(--night); border-color: var(--night); color: var(--gold-l); }
.x-pages .is-off { opacity: 0.45; }

/* === Review === */
.x-review { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 88px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.x-figure { position: relative; margin: 0 0 32px; padding: 32px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); display: flex; justify-content: center; }
.x-figure img { max-height: 420px; object-fit: contain; mix-blend-mode: multiply; }
.x-body { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.x-body .final-verdict { display: none; }
.x-body h2, .x-body h3 { font-family: var(--serif); color: var(--ink); line-height: 1.25; }
.x-body h2 { font-size: 26px; margin: 36px 0 12px; }
.x-body h3 { font-size: 20px; margin: 28px 0 10px; }
.x-body p { margin-bottom: 16px; }
.x-body ul, .x-body ol { margin: 0 0 16px; padding-left: 22px; }
.x-body ul { list-style: disc; }
.x-body ol { list-style: decimal; }
.x-body li { margin-bottom: 6px; }
.x-h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -0.01em; margin: 48px 0 18px; }
.x-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.x-list { border-radius: var(--radius); padding: 22px 24px; }
.x-list h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 12px; }
.x-list li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 15px; line-height: 1.5; }
.x-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.x-list-nice { background: var(--pine-l); }
.x-list-nice h3, .x-list-nice li::before { color: var(--pine); }
.x-list-nice li::before { content: '✓'; }
.x-list-naughty { background: #fbe6e7; }
.x-list-naughty h3, .x-list-naughty li::before { color: var(--red-d); }
.x-list-naughty li::before { content: '✕'; }
.x-specs { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }
.x-specs th, .x-specs td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.x-specs th { width: 38%; font-weight: 600; color: var(--ink); background: var(--snow); }
.x-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.x-feature { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.x-feature-icon { display: block; font-size: 22px; margin-bottom: 6px; }
.x-feature strong { display: block; margin-bottom: 4px; }
.x-feature p { font-size: 14.5px; color: var(--ink-2); }
.x-faq .faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.x-faq .faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; text-align: left; font-weight: 600; }
.x-faq .faq-q-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--snow); display: flex; align-items: center; justify-content: center; color: var(--red); }
.x-faq .faq-a { display: none; padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; }
.x-faq .faq-item.open .faq-a { display: block; }
.x-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.x-quote { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.x-quote-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 6px; }
.x-quote p { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.x-quote footer { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.x-verdict { margin-top: 56px; padding: 40px 32px; border-radius: var(--radius); background: var(--night); color: var(--snow); text-align: center; }
.x-verdict .x-kicker { color: var(--gold-l); }
.x-verdict-score { font-family: var(--serif); font-size: 84px; font-weight: 600; line-height: 1; margin: 10px 0 6px; color: var(--gold); }
.x-verdict-score small { font-size: 28px; color: rgba(247,245,240,0.6); }
.x-verdict h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.x-verdict p { max-width: 560px; margin: 0 auto 24px; color: rgba(247,245,240,0.78); }

/* Sidebar: the gift tag */
.x-side { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 22px; }
.x-giftcard { position: relative; background: var(--paper); border-radius: 18px; padding: 34px 24px 22px; text-align: center; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20,35,58,0.1); }
.x-giftcard-hole { position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 3px solid var(--gold); background: var(--snow); }
.x-giftcard-price { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1.1; margin: 8px 0 4px; }
.x-giftcard-was { font-size: 14px; color: var(--ink-3); }
/* Santa peeks from behind the red button and pops up on hover */
.x-buy { position: relative; }
.x-buy .x-btn { position: relative; z-index: 1; }
.x-giftcard .x-buy { margin-top: 58px; }
.x-peek { position: absolute; right: 30px; bottom: 100%; width: 66px; height: 58px; overflow: hidden; pointer-events: none; }
.x-santa { position: absolute; left: 1px; bottom: 0; width: 64px; height: 64px; transform: translateY(20px); transform-origin: 50% 100%; transition: transform 0.35s cubic-bezier(.3,1.6,.5,1); animation: x-peek 0.6s 0.6s cubic-bezier(.3,1.5,.5,1) backwards; }
.x-buy:hover .x-santa { transform: translateY(8px) rotate(-7deg); }
@keyframes x-peek { from { transform: translateY(100%); } }
.x-giftcard-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.x-related { background: var(--paper); border-radius: 18px; padding: 20px; border: 1px solid var(--line); }
.x-related h4 { font-family: var(--serif); font-size: 19px; margin-bottom: 12px; }
.x-related-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.x-related-item img { width: 56px; height: 56px; flex: none; object-fit: contain; background: var(--snow); border-radius: 10px; padding: 4px; mix-blend-mode: multiply; }
.x-related-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.35; }
.x-related-meta { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.x-related-item:hover .x-related-title { color: var(--red); }

/* Stored article parts */
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.trust-badge { background: var(--pine-l); color: var(--pine); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.lede-features { display: grid; gap: 8px; margin-bottom: 28px; }
.lede-feature { position: relative; padding: 12px 16px 12px 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; }
.lede-feature::before { content: '★'; position: absolute; left: 16px; color: var(--gold); }

/* === Footer === */
.x-footer { position: relative; margin-top: 40px; background: var(--night); color: rgba(247,245,240,0.78); padding: 80px 24px 28px; }
.x-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 56px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'><path d='M0 0H1440V22C1300 46 1120 50 940 32S600 4 420 24 120 50 0 30Z' fill='%23f7f5f0'/></svg>") center/100% 100% no-repeat; }
.x-footer-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.x-footer-name { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--snow); margin-bottom: 10px; }
.x-footer-brand p { max-width: 380px; font-size: 14.5px; }
.x-footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.x-footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 4px; }
.x-footer-col a:hover { color: var(--gold-l); }
.x-footer-base { max-width: var(--wrap); margin: 0 auto; padding-top: 22px; font-size: 13px; color: rgba(247,245,240,0.55); }

/* === Responsive === */
@media (max-width: 1100px) {
  .x-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .x-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 130px; }
  .x-hero-copy { max-width: none; }
  .x-hero-gift { max-width: 460px; }
  .x-moon { left: auto; right: 6%; }
  .x-sleigh { left: auto; right: calc(6% - 8px); }
  .x-review { grid-template-columns: 1fr; gap: 32px; }
  .x-side { position: static; }
  .x-giftcard { max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 900px) {
  .x-header-top { flex-wrap: wrap; }
  .x-logo { flex: 1 1 0; }
  .x-logo img { max-width: 100%; }
  .x-search { flex: 1 1 100%; }
}
@media (max-width: 760px) {
  .x-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .x-facts { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .x-facts > div:nth-child(1) { border-radius: var(--radius) 0 0 0; }
  .x-facts > div:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
  .x-facts > div:nth-child(3) { border-radius: 0 0 0 var(--radius); border-left: 1px solid var(--line); border-top: 0; }
  .x-facts > div:nth-child(4) { border-radius: 0 0 var(--radius) 0; border-top: 0; }
  .x-lists, .x-features, .x-quotes { grid-template-columns: 1fr; }
  .x-footer-inner { grid-template-columns: 1fr 1fr; }
  .x-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .x-header-top { padding: 12px 16px 8px; gap: 10px; }
  .x-logo { font-size: 21px; }
  .x-countdown { padding: 5px 11px 5px 9px; font-size: 12.5px; }
  .x-search { height: 38px; }
  .x-chips { padding: 2px 16px 12px; }
  .x-hero { padding: 40px 16px 110px; }
  .x-hero p { font-size: 16px; }
  .x-hero-gift { transform: none; }
  .x-moon { width: 46px; height: 46px; top: 20px; left: auto; right: 6%; }
  .x-sleigh { top: 24px; width: 88px; right: calc(6% - 6px); }
  .x-trees { height: 80px; bottom: 26px; }
  .x-flake-2 { display: none; }
  .x-facts { padding: 0 16px; }
  .x-facts strong { font-size: 28px; }
  .x-section { padding: 52px 16px 64px; }
  .x-door-img { padding: 14px; }
  .x-door-body { padding: 12px 12px 14px; gap: 6px; }
  .x-door-title { font-size: 15px; }
  .x-door-foot { flex-wrap: wrap; gap: 6px; }
  .x-door-day { width: 32px; height: 32px; font-size: 15px; top: 8px; left: 8px; }
  .x-tag { font-size: 14px; flex-wrap: wrap; row-gap: 0; max-width: 100%; }
  .x-band { padding: 28px 16px 80px; }
  .x-review { padding: 0 16px 64px; }
  .x-figure { padding: 20px; }
  .x-body { font-size: 16px; }
  .x-body h2 { font-size: 22px; margin-top: 30px; }
  .x-h2 { font-size: 25px; margin-top: 40px; }
  .x-verdict { padding: 32px 20px; }
  .x-verdict-score { font-size: 64px; }
  .x-footer { padding: 70px 16px 24px; }
  .x-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .x-snow::after { display: none; }
}
@media (max-width: 400px) {
  .x-logo { font-size: 19px; }
  .x-countdown { gap: 6px; padding: 4px 9px 4px 7px; font-size: 11.5px; }
  .x-countdown::before { width: 13px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-snow::before, .x-snow::after, .x-lights::before, .x-lights::after { animation: none; }
  .x-door, .x-hero-gift, .x-btn, .x-door-img img { transition: none; }
  .x-santa { animation: none; transition: none; }
}
