/* Christmas 2026 (docs/gift-vouchers/christmas-2026.md): the gift icon in the header bar
   (gift_voucher/christmas/_header_gift) and the gift block on tour and country pages
   (gift_voucher/christmas/_tour_block). Mobile first, rungs 600 / 900 / 1200 only. */

/* --- The header icon: the account link's circle, an orange gift, a glowing dot ------------------ */
.xg-icon[hidden] { display: none; }
.xg-icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin: 6px 0 6px 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.45); border-radius: 50%;
  color: #FF6A00; text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.xg-icon .bi { font-size: 16px; line-height: 1; }
.xg-icon:hover, .xg-icon:focus-visible { background: #EDE3D5; border-color: #EDE3D5; color: #FF6A00; }
.xg-icon:focus-visible { outline: 2px solid #FF6A00; outline-offset: 2px; }
.xg-icon::after {
  content: ''; position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%;
  background: #FFB45E; box-shadow: 0 0 0 3px rgba(255, 140, 40, 0.25), 0 0 10px 2px rgba(255, 170, 80, 0.8);
  animation: xgGlow 2.6s ease-in-out infinite;
}
@keyframes xgGlow { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }
/* From countdown_from: the days to Christmas Eve instead of the dot. */
.xg-icon__n { display: none; }
.xg-icon.is-count::after { display: none; }
.xg-icon.is-count .xg-icon__n {
  display: inline-flex; position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px;
  align-items: center; justify-content: center; border-radius: 9px;
  background: #FF6A00; color: #111214; font: 700 10px/1 'Roboto', sans-serif;
}
/* The label: a tooltip under the icon (no hover on a phone, the aria-label says it there). */
.xg-icon__tip { display: none; }
@media (min-width: 900px) {
  .xg-icon__tip {
    display: block; position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, -4px);
    white-space: nowrap; padding: 9px 12px; border-radius: 2px; background: #EDE3D5; color: #111214;
    font: 500 13px/1 'Roboto', sans-serif; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s;
  }
  .xg-icon__tip::before {
    content: ''; position: absolute; top: -5px; left: 50%; margin-left: -5px;
    border: 5px solid transparent; border-top: 0; border-bottom-color: #EDE3D5;
  }
  .xg-icon:hover .xg-icon__tip, .xg-icon:focus-visible .xg-icon__tip { opacity: 1; transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .xg-icon::after { animation: none; opacity: 1; }
  .xg-icon__tip { transition: none; }
}

/* --- The block: milk topo ground, the tour's certificate tilted beside the copy --------------- */
.xg-block {
  --gv-ink: #111214; --gv-orange: #FF6A00; --gv-milk-flat: #EDE3D5;
  padding: 48px 20px;
  background: #F5EDDE url('/images/backgrounds/6a0acbec-9e6a-463e-a7e9-0ae96154faa9.webp') center / cover no-repeat;
  color: #111214; font-family: 'Roboto', sans-serif;
}
.xg-block__in { max-width: 1140px; margin: 0 auto; display: grid; gap: 28px; align-items: center; }
.xg-block__tk { max-width: 560px; width: 100%; margin: 0 auto; transform: rotate(-3deg); }
.xg-block__tk .gv-sheet { box-shadow: 0 22px 50px rgba(17, 18, 20, 0.28); }
.xg-block__eye {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #1f5d3a;
}
.xg-block__h2 { margin: 0 0 14px; font-size: var(--oc-h2-size, clamp(24px, 5.5vw, 30px)); font-weight: 800; line-height: 1.1; }
.xg-block__text { margin: 0 0 22px; font-size: 16px; line-height: 1.55; color: rgba(17, 18, 20, 0.72); }
.xg-block__cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  background: #FF6A00; color: #111214; font-size: 16px; font-weight: 700; text-decoration: none; border-radius: 2px;
}
.xg-block__cta:hover { background: #e55e00; color: #111214; }
.xg-block__cta:focus-visible, .xg-block__alt a:focus-visible { outline: 2px solid #111214; outline-offset: 2px; }
.xg-block__alt { margin: 14px 0 0; font-size: 14px; color: rgba(17, 18, 20, 0.62); }
.xg-block__alt a { color: #B84A00; font-weight: 600; }
@media (min-width: 900px) {
  .xg-block { padding: 80px 20px; }
  .xg-block__in { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .xg-block__h2 { font-size: var(--oc-h2-size, 36px); }
}
