/* Guides hub redesign (Nov 23 preview). Loaded only on /guides/. */
/* Hide the thin sitewide seasonal bar; this page has its own card under the search box. */
body.gdxp .gmc-sb{display:none!important}

/* --- Christmas / seasonal card: compact navy glass, top lights come from styles.css --- */
html body.gdxp .gdx-season{
  margin:14px 0 0;
  padding:16px 14px 10px;
  border-radius:16px;
  max-width:620px;
  box-sizing:border-box
}
html body.gdxp .gdx-season-kicker{
  margin:0 0 2px;
  font-size:12.5px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#f6d06b
}
html body.gdxp .gdx-season-title{
  margin:0;
  font-size:18px;
  line-height:1.25;
  font-weight:800;
  color:#fff
}
html body.gdxp .gdx-season-acts{
  display:flex!important;
  flex-direction:column;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:8px;
  margin:8px 0 0
}
html body.gdxp .gdx-season-btn,
html body.gdxp .gdx-season-btn-pri{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:8px 14px;
  border-radius:12px;
  font-weight:800;
  font-size:15px;
  line-height:1.2;
  text-decoration:none!important;
  text-align:center;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:100%;
  align-self:flex-start;
  box-sizing:border-box;
  background:#f6d06b;
  color:#0b2545!important;
  border:0;
  white-space:nowrap
}
html body.gdxp .gdx-season-btn-alt{
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:100%;
  box-sizing:border-box;
  min-height:44px;
  padding:8px 14px;
  border-radius:12px;
  border:1.5px solid #f6d06b;
  background:transparent!important;
  color:#f6d06b!important;
  font-weight:800;
  font-size:15px;
  line-height:1.2;
  text-decoration:none!important;
  text-align:center;
  align-self:stretch
}
html body.gdxp .gdx-season-btn-pri:hover{background:#ffe08a}
html body.gdxp .gdx-season-btn-alt:hover{background:rgba(246,208,107,.14)}

/* --- Start here: gold button + audience tabs --- */
.gdx-start{margin-top:8px}
.gdx-start>.gdx-sec{margin:8px 0 12px!important}
.gdx-ready{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border-radius:12px;background:#f6d06b;color:#0b2545!important;font-weight:800;font-size:16.5px;line-height:1.2;text-decoration:none!important;text-align:center;width:100%;box-sizing:border-box;max-width:520px}
@media (hover:hover){.gdx-ready:hover{background:#ffe08a}}
body.gdxp .gdx-seg{display:flex;flex-wrap:wrap;gap:8px;background:none;border-radius:0;padding:0;max-width:none;margin:14px 0 0;grid-template-columns:none}
body.gdxp .gdx-seg button{flex:1 1 calc(33.33% - 8px);min-height:48px;padding:8px 8px;border-radius:12px;border:1.5px solid rgba(246,208,107,.45);background:rgba(255,255,255,.06);color:#eef3fa;font:700 14.5px/1.2 inherit;font-family:inherit;cursor:pointer;white-space:normal}
body.gdxp .gdx-seg button[aria-pressed=true]{background:#f6d06b;color:#0b2545;border-color:#f6d06b}
.gdx-picks{margin-top:12px}
.gdx-picks .gdx-extra,.gdx-picks .gdx-share,.gdx-picks .gdx-pfor{grid-column:1/-1}
.gdx-picks .gdx-share{justify-self:start}
.gdx-pick{min-height:52px}
.gdx-extra{margin:10px 0 0;color:#c5d0de;font-size:14.5px;font-weight:600}
.gdx-extra a{color:#f6d06b!important;font-weight:700;text-decoration:none}
.gdx-extra a:hover{text-decoration:underline;text-underline-offset:2px}
.gdx-share{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;min-height:44px;padding:8px 16px;border-radius:999px;border:1.5px solid rgba(246,208,107,.5);background:rgba(7,26,51,.35);color:#fff;font:700 14.5px/1 inherit;font-family:inherit;cursor:pointer}
.gdx-share:hover{border-color:#f6d06b;background:rgba(246,208,107,.12)}
.gdx-share-n{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%,-4px);opacity:0;pointer-events:none;background:#0b2545;color:#fff;border:1px solid rgba(246,208,107,.5);font:600 13px/1 inherit;padding:8px 11px;border-radius:999px;white-space:nowrap;box-shadow:0 6px 20px rgba(0,0,0,.3);transition:opacity .2s,transform .2s;z-index:30}
.gdx-share.gdx-ok .gdx-share-n{opacity:1;transform:translate(-50%,0)}

/* --- Topic tiles as compact jump links --- */
#topics.gdx-sec{margin:28px 0 10px!important;font-size:15px!important}
body.gdxp .gdx-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.gdxp .gdx-tile{min-height:0;padding:10px 10px 10px 12px;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 8px;border-radius:12px;border:1px solid rgba(255,255,255,.1);border-left-width:4px;background:rgba(18,48,86,.72)}
body.gdxp .gdx-tile .gdx-ic{margin:0;width:20px;height:20px;color:var(--acc,#f6d06b)}
body.gdxp .gdx-tile b{font-size:14.5px;line-height:1.2;flex:1 1 auto}
body.gdxp .gdx-tile small{color:#c5d0de;font-size:12px;font-weight:600;width:100%;padding-left:28px;margin-top:-2px}

/* --- Topic colors (icons + left border). All checked WCAG AA on #123056. --- */
.gdx-grp[data-topic=call],.gdx-tile[data-topic=call]{--acc:#f6d06b}
.gdx-grp[data-topic=before],.gdx-tile[data-topic=before]{--acc:#7ec4ff}
.gdx-grp[data-topic=mtc],.gdx-tile[data-topic=mtc]{--acc:#6edf9f}
.gdx-grp[data-topic=field],.gdx-tile[data-topic=field]{--acc:#5ee0d6}
.gdx-grp[data-topic=home],.gdx-tile[data-topic=home]{--acc:#f3a7bc}
.gdx-grp[data-topic=travel],.gdx-tile[data-topic=travel]{--acc:#d2b3ff}
body.gdxp .gdx-tile{border-left-color:var(--acc,#f6d06b)}

/* --- Lighter navy section cards --- */
html body.gdxp .gdx-grp,html body .gdx-body>.gdx-grp{
  background:#123056;
  border:1px solid rgba(255,255,255,.1);
  border-left:4px solid var(--acc,#f6d06b);
  border-radius:16px;
  padding:16px 14px 14px;
  margin-top:28px;
  scroll-margin-top:80px
}
html body.gdxp .gdx-gh-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 2px
}
html body.gdxp .gdx-gh{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  min-width:0;
  font-size:23px!important;
  line-height:1.2;
  font-weight:800;
  margin:0!important;
  color:#fff!important
}
html body.gdxp .gdx-gh .gdx-ic{color:var(--acc,#f6d06b);flex:none}
html body.gdxp .gdx-ct{margin-left:auto;align-self:center;color:#c5d0de;flex:none}
.gdx-gh-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
html body.gdxp .gdx-gh-sub, .gdx-gh-sub{
  display:block;
  margin:0 0 12px;
  font-size:14.5px;
  line-height:1.3;
  font-weight:600;
  color:#c5d0de;
  letter-spacing:0;
  text-transform:none
}
html body.gdxp .gdx-list{background:rgba(7,26,51,.35);border:1px solid rgba(255,255,255,.08)}
html body.gdxp .gdx-row{
  min-height:52px;
  font-size:17px;
  padding:12px 14px;
  color:#eef3fa!important
}
.gdx-tag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;background:rgba(246,208,107,.18);color:#f6d06b;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:none;letter-spacing:.01em;vertical-align:middle;line-height:1.5}

/* See-all stays at the bottom of its section, open or closed */
html body.gdxp .gdx-more,html body .gdx-more{
  display:flex!important;
  flex-direction:column;
  background:none!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  box-shadow:none!important
}
html body.gdxp .gdx-more>summary,
html body .gdx-more>summary,
html body.gdxp .gdx-more[open]>summary,
html body .gdx-more[open]>summary,
html body .gdx-more.df-keep:not([open])>summary,
html body .gdx-more.df-keep[open]>summary{
  display:flex!important;
  order:2;
  align-items:center;
  justify-content:center;
  list-style:none;
  min-height:48px;
  margin:8px 0 0;
  padding:8px 16px!important;
  border:1.5px solid rgba(246,208,107,.65);
  border-radius:12px;
  background:transparent;
  color:#f6d06b;
  font-weight:800;
  font-size:15.5px;
  line-height:1.2;
  text-align:center;
  cursor:pointer
}
html body.gdxp .gdx-more>summary::-webkit-details-marker,
html body.gdxp .gdx-more>summary::marker{display:none;content:none}
html body.gdxp .gdx-more>summary::after,
html body.gdxp .gdx-more>summary:after,
html body.gdxp .gdx-more[open]>summary::after,
html body.gdxp .gdx-more[open]>summary:after{content:none!important;display:none!important;background:none!important}
html body.gdxp .gdx-more>*:not(summary){order:1}
html body.gdxp .gdx-qing .gdx-more>summary{display:none!important}

/* Back to top: phones only, after the reader has scrolled */
.gdx-top{display:none;position:fixed;right:12px;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:20;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:999px;border:1.5px solid #f6d06b;background:#0b2545;color:#f6d06b!important;font:700 14px/1 inherit;text-decoration:none!important;box-shadow:0 6px 20px rgba(0,0,0,.35)}
.gdx-top.is-on{display:inline-flex}
@media (min-width:900px){
  .gdx-top{display:none!important}
  body.gdxp .gdx-tiles{grid-template-columns:repeat(6,1fr)}
  body.gdxp .gdx-tile{flex-direction:column;align-items:flex-start;padding:12px 12px 12px 14px}
  body.gdxp .gdx-tile small{padding-left:0;width:auto}
  body.gdxp .gdx-seg button{flex:1 1 0;font-size:15px;white-space:nowrap}
  html body.gdxp .gdx-grp,html body .gdx-body>.gdx-grp{margin-top:0;margin-bottom:24px}
  html body .gdx-more>summary,
  html body .gdx-more[open]>summary,
  html body .gdx-more.df-keep[open]>summary,
  html body .gdx-more.df-keep:not([open])>summary{display:flex!important}
}
@media (prefers-reduced-motion:reduce){
  .gdx-share-n,.gdx-tile,.gdx-row,.gdx-pick,.gdx-chips a,.gdx-season-btn,.gdx-ready,.gdx-share{transition:none!important}
}

/* Search is in the HTML; reserve height so a late style/script cannot shift the Christmas card */
html body.gdxp .gdx-q{min-height:52px;box-sizing:border-box}

/* Longer hero chips wrap in two columns on phones */
html body.gdxp .gdx-chips{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:8px 0 20px;
  max-width:720px
}
html body.gdxp .gdx-chips a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:8px 10px;
  text-align:center;
  white-space:normal;
  line-height:1.25;
  box-sizing:border-box;
  border-radius:12px
}
@media (min-width:600px){
  html body.gdxp .gdx-chips{
    display:flex;
    flex-wrap:wrap;
    grid-template-columns:none
  }
  html body.gdxp .gdx-chips a{
    flex:1 1 calc(50% - 8px);
    min-height:44px;
    padding:8px 14px
  }
}

/* Popular label above the four popular chips */
html body.gdxp .gdx-chips-k{
  margin:4px 0 6px;
  font-size:12.5px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#f6d06b
}

/* The homepage hero fade is #top:after (140px navy veil). The /guides/ header
   also uses id="top", so that veil covered the logo and °F/EN. Restore the
   same 1px gold hairline used on other guide pages. */
html body.gdxp #top.mp-top:after,
html body.gdxp header#top:after{
  height:1px!important;
  top:auto!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:auto!important;
  background:linear-gradient(90deg,rgba(246,208,107,0),rgba(246,208,107,.55) 30%,rgba(255,236,180,.8) 50%,rgba(246,208,107,.55) 70%,rgba(246,208,107,0))!important;
  z-index:auto!important;
  pointer-events:none
}
