/* One Christmas Wish Wall (page-wishlist.php), loaded on the wishlist page only.
   Layout, spacing and type come from Bootstrap utilities and the theme's
   heading / para classes; this file only adds what they cannot: the black and
   gold palette, the scrolling wall, snow and the share card. */

/* ---------- Header (header-wishlist.php) ---------- */
.ww-header {
  --ww-header-bg: #0a0a0b;
  --ww-header-border: #2c2a26;
  --ww-header-pill: #1f1f23;
  --ww-header-gold: #d4af37;
  --ww-header-gold-light: #f3dc8f;
  background: var(--ww-header-bg);
  border-bottom: 1px solid var(--ww-header-border);
}

/* One brand gradient strip along the top */
.ww-header::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #463C9E 0%, #4DB8C8 22%, #2D62B7 46%, #E6229B 73%, #F25C1D 100%);
}

.ww-header .ww-header-logo {
  width: 68px;
  height: 68px;
}

.ww-header .ww-header-link {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  color: #fff;
  padding: 12px 28px !important;
  border: 1.5px solid transparent;
  transition: color .2s, border-color .2s, background-color .2s;
}

.ww-header .ww-header-link:hover,
.ww-header .ww-header-link:focus-visible,
.ww-header .ww-header-link.active {
  color: var(--ww-header-gold-light);
  background: var(--ww-header-pill);
  border-color: var(--ww-header-gold);
}

@media (max-width: 991.98px) {
  .ww-header .ww-header-logo {
    width: 52px;
    height: 52px;
  }

  .ww-header .ww-header-link {
    padding: 10px 20px !important;
  }
}

.wish-wall-page {
  --ww-black: #0a0a0b;
  --ww-panel: #17171a;
  --ww-panel-2: #1f1f23;
  --ww-gold: #d4af37;
  --ww-gold-light: #f3dc8f;
  --ww-gold-deep: #a8841f;
  --ww-gold-gradient: linear-gradient(135deg, #f3dc8f 0%, #d4af37 45%, #a8841f 100%);
  /* ONE Communications brand gradient (from the logo) */
  --ww-one-gradient: linear-gradient(90deg, #463C9E 0%, #4DB8C8 22%, #2D62B7 46%, #E6229B 73%, #F25C1D 100%);
  /* Bootstrap's .border reads this, so every border on the page matches the design */
  --bs-border-color: #2c2a26;
  background: var(--ww-black);
  overflow-x: hidden;
}

/* ---------- Colour and type helpers ---------- */
.ww-script { font-family: "Great Vibes", cursive !important; }
.ww-gold { color: var(--ww-gold) !important; }
.ww-gold-light { color: var(--ww-gold-light) !important; }
.ww-gold-text { background: var(--ww-gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ww-rule { width: 80px; height: 3px; background: var(--ww-one-gradient); }

/* ---------- Hero ---------- */
.ww-hero { background: var(--ww-black) center 30% / cover no-repeat; }
.ww-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse at 50% 40%, rgba(10,10,11,.35), rgba(10,10,11,.7) 75%),
  linear-gradient(180deg, rgba(10,10,11,.45) 0%, rgba(10,10,11,.55) 60%, var(--ww-black) 100%); }
.ww-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(ellipse at 50% 30%, rgba(212,175,55,.18), transparent 60%); }
.ww-snow { inset: 0; z-index: 1; pointer-events: none; }
.ww-snow i { position: absolute; top: -10px; border-radius: 50%; background: var(--ww-gold-light); animation: ww-fall linear infinite; }
@keyframes ww-fall { to { transform: translateY(110vh) translateX(30px); } }
.ww-hero .container { z-index: 2; }
.ww-title-art { max-width: 620px; }
.ww-title-art img { filter: brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0,0,0,.6)); }
.ww-title-script { font-size: clamp(44px, 7vw, 76px); line-height: 1.1; text-shadow: 0 4px 18px rgba(0,0,0,.6); }
.ww-intro { max-width: 600px; }
.ww-pulse { width: 10px; height: 10px; background: #E6229B; animation: ww-pulse 1.8s infinite; }
@keyframes ww-pulse { 0% { box-shadow: 0 0 0 0 rgba(230,34,155,.6); } 70% { box-shadow: 0 0 0 12px rgba(230,34,155,0); } 100% { box-shadow: 0 0 0 0 rgba(230,34,155,0); } }

/* ---------- Buttons (on top of the theme's .btn .btn-md) ---------- */
.wish-wall-page .ww-btn-gold { background: var(--ww-gold-gradient); color: #1a1405; border: 0; box-shadow: 0 6px 24px rgba(212,175,55,.25); }
.wish-wall-page .ww-btn-gold:hover { color: #1a1405; box-shadow: 0 8px 32px rgba(212,175,55,.4); }
.wish-wall-page .ww-btn-ghost { background: transparent; color: #fff; border: 1px solid var(--bs-border-color); box-shadow: none; }
.wish-wall-page .ww-btn-ghost:hover { border-color: var(--ww-gold-deep); color: var(--ww-gold-light); }
.wish-wall-page .btn[disabled] { opacity: .6; cursor: wait; }
.wish-wall-page .ww-linkbtn { height: auto; font-size: inherit; vertical-align: baseline; }

/* ---------- Wall ---------- */
.ww-pill { background: var(--ww-panel); }
.ww-stream { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ww-track { width: max-content; animation: ww-scroll 60s linear infinite; }
.ww-stream.is-reverse .ww-track { animation-direction: reverse; animation-duration: 70s; }
.ww-stream:hover .ww-track { animation-play-state: paused; }
@keyframes ww-scroll { to { transform: translateX(-50%); } }

.ww-card { width: 300px; flex: 0 0 auto; background: linear-gradient(180deg, var(--ww-panel-2), var(--ww-panel)); border: 1px solid var(--bs-border-color); }
.ww-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ww-gold-gradient); }
.ww-card.is-fresh { border-color: var(--ww-gold); box-shadow: 0 0 0 1px var(--ww-gold), 0 0 30px rgba(212,175,55,.3); }
.ww-card-text { line-height: 1.35; }

.ww-card { display: flex; flex-direction: column; }
.ww-card-foot { margin-top: auto; }
.ww-card-text { overflow-wrap: anywhere; word-break: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }


.ww-like { border: 1px solid var(--bs-border-color); background: var(--ww-black); color: rgba(255,255,255,.5); cursor: pointer; transition: .15s; }
.ww-like:hover { border-color: var(--ww-gold-deep); color: var(--ww-gold-light); }
.ww-like-h { font-size: 15px; transition: transform .2s; }
.ww-like[aria-pressed="true"] { background: rgba(212,175,55,.14); border-color: var(--ww-gold); color: var(--ww-gold-light); }
.ww-like[aria-pressed="true"] .ww-like-h { color: var(--ww-gold); }
.ww-like.is-pop .ww-like-h { animation: ww-pop .35s ease; }
@keyframes ww-pop { 50% { transform: scale(1.5); } }

.ww-band { border-block: 1px solid var(--bs-border-color); background: radial-gradient(ellipse at center, rgba(212,175,55,.1), transparent 70%); }
.ww-band span { letter-spacing: .3em; color: var(--ww-gold-light); }

/* The grid replaces the scrolling rows in static view */
.wish-wall-page .ww-static-grid { display: none; }
.ww-static-grid .ww-card { width: 100%; height: 100%; }
.wish-wall-page.is-static .ww-stream,
.wish-wall-page.is-static .ww-band { display: none; }
.wish-wall-page.is-static .ww-static-grid { display: flex; }
@media (prefers-reduced-motion: reduce) {
  .ww-track, .ww-snow i, .ww-pulse { animation: none; }
  .wish-wall-page .ww-stream, .wish-wall-page .ww-band { display: none; }
  .wish-wall-page .ww-static-grid { display: flex; }
}

/* ---------- Form ---------- */
.ww-panel { background: var(--ww-panel); }
.ww-chip { background: var(--ww-panel-2); color: #fff; cursor: pointer; transition: .15s; }
.ww-chip:hover { border-color: var(--ww-gold-deep) !important; color: var(--ww-gold-light); }
.ww-chip[aria-pressed="true"] { background: var(--ww-gold-gradient); color: #1a1405; border-color: transparent !important; }
.ww-prefix-row { background: var(--ww-black); transition: border-color .15s; }
.ww-prefix-row:focus-within { border-color: var(--ww-gold) !important; }
.wish-wall-page .form-control::placeholder { color: rgba(255,255,255,.4); }
.wish-wall-page .ww-input { background: var(--ww-black); border-color: var(--bs-border-color); }
.wish-wall-page .ww-input:focus { background: var(--ww-black); border-color: var(--ww-gold); }
.ww-count.is-warn { color: #F25C1D; }
.ww-error { color: #ff8a7a; }
.ww-error:not(.is-shown) { display: none; }

/* ---------- Success ---------- */
.ww-success:not(.is-shown) { display: none; }
.ww-tick { width: 64px; height: 64px; background: var(--ww-gold-gradient); color: #1a1405; }
.ww-social { background: var(--ww-panel-2); color: #fff; cursor: pointer; }
.ww-social:hover { border-color: var(--ww-gold-deep) !important; color: var(--ww-gold-light); }
.ww-note { max-width: 460px; }

/* ---------- Live preview ---------- */
@media (min-width: 992px) { .ww-preview-col { top: 96px; } }
.ww-preview { background: radial-gradient(circle at 50% 20%, #2a2312, var(--ww-black) 70%); border: 1px solid var(--ww-gold-deep); }
.ww-preview::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(212,175,55,.35); border-radius: 16px; pointer-events: none; }
.ww-pv-top { letter-spacing: .3em; }
.ww-pv-wish { font-size: clamp(44px, 6vw, 64px); }
.ww-pv-msg { word-break: break-word; }
.ww-pv-msg.is-empty { color: rgba(255,255,255,.5); font-weight: 600 !important; }
.ww-pv-bar { height: 5px; background: var(--ww-one-gradient); }

/* ---------- Toast (outside the page wrapper) ---------- */
.ww-toast { bottom: 24px; transform: translate(-50%, 120px); background: linear-gradient(135deg, #f3dc8f 0%, #d4af37 45%, #a8841f 100%); color: #1a1405; transition: transform .3s; z-index: 1100; }
.ww-toast.is-shown { transform: translate(-50%, 0); }

/* The theme capitalises every .heading and .btn; keep the design's sentence case. */
.wish-wall-page .heading,
.wish-wall-page .btn { text-transform: none; }

/* ---------- Typography: Archivo from the design, over the theme's Clash Grotesk ---------- */
.wish-wall-page,
.wish-wall-page .heading,
.wish-wall-page .para,
.wish-wall-page .btn,
.wish-wall-page .form-control,
.wish-wall-page button,
/*.ww-toast { font-family: Archivo, system-ui, sans-serif; }*/
.wish-wall-page { color: #f6f1e4; }
.wish-wall-page .heading-wrapper .heading { font-weight: 900; letter-spacing: -.01em; }
.wish-wall-page .heading-wrapper .heading.h-md { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; }
.wish-wall-page .ww-hero .heading-wrapper .heading.h-md { font-size: clamp(28px, 4vw, 40px); color: #f6f1e4 !important; }
.wish-wall-page .ww-hero .ww-gold-light.fs-2 { font-size: clamp(28px, 4vw, 38px) !important; line-height: 1.5; }
.wish-wall-page .ww-intro { max-width: 600px; font-size: 17px; line-height: 1.5; color: #e6dfcf; }
.wish-wall-page .btn.btn-md { font-size: 15px; height: auto; padding-top: 14px; padding-bottom: 14px; }
.wish-wall-page .ww-card-text { font-size: 18px; }

/* ---------- Footer: colours only (footer.php is unchanged) ---------- */
.footer.footer-main {
  background-color: #0a0a0b !important;
  color: #c9c3b5 !important;
}

.footer.footer-main .footer-links-wrapper .heading-wrapper .heading {
  color: #f3dc8f;
}

.footer.footer-main .footer-links-wrapper .lists-wrapper .footer-list li a,
.footer.footer-main .footer-links-wrapper .lists-wrapper .footer-list.contact-us li a,
.footer.footer-main .copyrights {
  color: #c9c3b5;
}

.footer.footer-main .footer-links-wrapper .lists-wrapper .footer-list li a:hover {
  color: #f3dc8f !important;
}

.footer.footer-main .footer-links-wrapper .lists-wrapper .footer-list li::marker {
  color: #d4af37;
}