/* CBK at 60 page (3 Dec 2026), see inc/cbk-at-60.php.
   CBK branding: navy/blue/gold, Poppins, square corners. Section classes come from the
   page's Elementor data (c60-hero, c60-week, c60-sec, c60-group, c60-archive). */
:root {
  --c60-navy: #0B2A5E;
  --c60-blue: #194C9F;
  --c60-gold: #CC9F26;
  --c60-gold-soft: #E9C766;
  --c60-ink: #1F2A44;
  --c60-text: #3A4660;
  --c60-tint: #F3F6FB;
  --c60-line: #DCE3EE;
  --c60-ease: cubic-bezier(.22, .61, .36, 1);
  --c60-top: 0px; /* height of the sticky site header, set by cbk-at-60.js */
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Shared ---------- */
.c60-hero, .c60-week, .c60-sec, .c60-group, .c60-archive { font-family: Poppins, Arial, sans-serif; }
:is(.c60-hero, .c60-week, .c60-sec, .c60-group, .c60-archive).elementor-section.elementor-section-boxed > .elementor-container {
  /* The site kit's boxed width is 1440px, edge to edge on laptops; this page reads better narrower. */
  width: calc(100% - 48px); max-width: 1240px;
}
.c60-sec, .c60-week, .c60-group { scroll-margin-top: calc(var(--c60-top) + 64px); }

.c60-eyebrow .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  color: var(--c60-gold) !important; font: 600 13px/1.4 Poppins, Arial, sans-serif !important; letter-spacing: .12em; text-transform: uppercase;
}
.c60-eyebrow .elementor-heading-title::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: 0 0 auto; }
.elementor-widget.c60-eyebrow { margin-bottom: 10px; }

.c60-title .elementor-heading-title {
  margin: 0; color: var(--c60-navy) !important; font: 600 clamp(26px, 2.6vw, 36px)/1.2 Poppins, Arial, sans-serif !important;
}
.c60-title .elementor-heading-title::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 16px; background: var(--c60-gold); }
.elementor-widget.c60-title { margin-bottom: 18px; }

.c60-body, .c60-body p { color: var(--c60-text) !important; font: 400 16px/1.75 Poppins, Arial, sans-serif; }
.c60-body p { margin: 0 0 14px; }
.c60-body p:last-child { margin-bottom: 0; }
.c60-body h4 { display: none; } /* old inline headings, now heading widgets */

/* Buttons: gold primary, outline secondary; square like the rest of the site.
   !important because the theme and Elementor kit style .elementor-button more specifically. */
.c60-btn .elementor-button {
  display: inline-flex !important; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px !important;
  border: 2px solid var(--c60-gold) !important; border-radius: 0 !important; background: var(--c60-gold) !important; color: var(--c60-navy) !important;
  font: 600 15px/1 Poppins, Arial, sans-serif !important; box-shadow: none !important; transition: background .2s, color .2s, border-color .2s;
}
.c60-btn .elementor-button .elementor-button-text { color: inherit !important; font: inherit !important; }
.c60-btn .elementor-button:hover, .c60-btn .elementor-button:focus-visible { background: #fff !important; border-color: #fff !important; color: var(--c60-navy) !important; }
.c60-btn--ghost .elementor-button { background: transparent !important; border-color: rgba(255, 255, 255, .7) !important; color: #fff !important; }
.c60-btn--ghost .elementor-button:hover, .c60-btn--ghost .elementor-button:focus-visible { background: #fff !important; border-color: #fff !important; color: var(--c60-navy) !important; }
.c60-btn--blue .elementor-button { background: var(--c60-blue) !important; border-color: var(--c60-blue) !important; color: #fff !important; }
.c60-btn--blue .elementor-button:hover, .c60-btn--blue .elementor-button:focus-visible { background: var(--c60-navy) !important; border-color: var(--c60-navy) !important; color: #fff !important; }
.c60-btn .elementor-button:focus-visible { outline: 3px solid var(--c60-gold-soft); outline-offset: 3px; }
.c60-btns > .elementor-widget-wrap { align-content: flex-start; }
.c60-hero .elementor-widget-wrap > .elementor-widget.c60-btn { width: auto !important; flex: 0 0 auto; margin: 0 12px 12px 0 !important; }

/* ---------- Hero ---------- */
.c60-hero {
  position: relative; overflow: hidden; padding: 76px 0 84px; color: #fff;
  background:
    radial-gradient(1100px 520px at 88% 12%, rgba(25, 76, 159, .75), transparent 60%),
    radial-gradient(700px 420px at 5% 110%, rgba(204, 159, 38, .18), transparent 60%),
    linear-gradient(135deg, #0B2A5E 0%, #0A2350 55%, #081B3F 100%);
}
/* Faint diamond lattice: the Diamond Jubilee motif. */
.c60-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image:
    repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 44px),
    repeating-linear-gradient(-45deg, #fff 0 1px, transparent 1px 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.c60-hero > .elementor-container { position: relative; z-index: 1; align-items: center; }
.c60-hero .c60-title .elementor-heading-title { color: #fff !important; font-size: clamp(30px, 3.6vw, 48px) !important; line-height: 1.12; }
.c60-hero .c60-body, .c60-hero .c60-body p { color: rgba(255, 255, 255, .86) !important; font-size: 17px; }
.c60-hero .elementor-widget.c60-body { margin-bottom: 26px; max-width: 620px; }

.c60-facts { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 640px; }
.c60-facts li { margin: 0; padding: 14px 18px 4px 0; border-top: 2px solid rgba(255, 255, 255, .18); list-style: none; }
.c60-facts li + li { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.c60-facts li:first-child { border-top-color: var(--c60-gold); }
.c60-facts strong { display: block; color: #fff !important; font: 600 24px/1.15 Poppins, Arial, sans-serif; letter-spacing: -.01em; }
.c60-facts span { display: block; margin-top: 6px; color: rgba(255, 255, 255, .72) !important; font: 400 13px/1.45 Poppins, Arial, sans-serif; }

.c60-hero-media > .elementor-widget-wrap { position: relative; }
.c60-hero-photo { margin: 0 !important; }
.c60-hero-photo img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important;
  box-shadow: 18px 18px 0 0 var(--c60-gold), 0 30px 60px rgba(0, 0, 0, .35) !important;
}
.elementor-widget.c60-hero-badge { position: absolute !important; left: -28px; bottom: -34px; width: 150px !important; margin: 0 !important; z-index: 2; }
.c60-hero-badge img { display: block; width: 150px; height: 150px; object-fit: contain; padding: 10px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }

/* ---------- "On this page" bar (built by cbk-at-60.js) ---------- */
.c60-nav {
  position: sticky; top: var(--c60-top); z-index: 50; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--c60-line); box-shadow: 0 6px 18px rgba(11, 42, 94, .06);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: Poppins, Arial, sans-serif;
}
.c60-nav__inner { width: calc(100% - 48px); max-width: 1240px; margin: 0 auto; padding: 0 10px; display: flex; align-items: center; gap: 14px; }
.c60-nav__label { flex: 0 0 auto; color: var(--c60-gold); font: 600 12px/1 Poppins, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.c60-nav__list {
  flex: 1 1 auto; display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.c60-nav__list::-webkit-scrollbar { display: none; }
.c60-nav__list li { flex: 0 0 auto; margin: 0; list-style: none; }
.c60-nav__list a {
  position: relative; display: block; padding: 18px 11px 16px; color: var(--c60-ink) !important; text-decoration: none; white-space: nowrap;
  font: 500 14px/1 Poppins, Arial, sans-serif; transition: color .2s;
}
.c60-nav__list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--c60-blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--c60-ease);
}
.c60-nav__list a:hover { color: var(--c60-blue) !important; }
.c60-nav__list a[aria-current="true"] { color: var(--c60-blue) !important; font-weight: 600; }
.c60-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.c60-nav__list a:focus-visible { outline: 2px solid var(--c60-blue); outline-offset: -4px; }
/* Fades at the edges when the list scrolls sideways. */
.c60-nav__list.is-scrollable { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%); }

/* ---------- Jubilee week at a glance ---------- */
.c60-week { padding: 72px 0 64px; background: #fff; }
.c60-week .elementor-widget.c60-title { margin-bottom: 34px; }
.c60-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.c60-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--c60-gold), var(--c60-blue)); }
.c60-timeline li { position: relative; margin: 0; padding: 30px 0 0; list-style: none; }
.c60-timeline li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; background: #fff;
  border: 3px solid var(--c60-gold); transform: rotate(45deg); box-sizing: border-box;
}
.c60-timeline a, .c60-timeline .c60-timeline__card {
  display: block; height: 100%; padding: 18px 18px 20px; background: var(--c60-tint); border-top: 3px solid transparent;
  color: inherit; text-decoration: none; transition: background .25s, border-color .25s, transform .35s var(--c60-ease), box-shadow .35s;
}
.c60-timeline a:hover, .c60-timeline a:focus-visible { background: #fff; border-top-color: var(--c60-gold); transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11, 42, 94, .12); }
.c60-timeline a:focus-visible { outline: 2px solid var(--c60-blue); outline-offset: 2px; }
.c60-timeline time { display: block; color: var(--c60-blue) !important; font: 600 14px/1.3 Poppins, Arial, sans-serif; letter-spacing: .02em; }
.c60-timeline strong { display: block; margin-top: 8px; color: var(--c60-navy) !important; font: 600 17px/1.3 Poppins, Arial, sans-serif; }
.c60-timeline span { display: block; margin-top: 6px; color: var(--c60-text) !important; font: 400 13.5px/1.5 Poppins, Arial, sans-serif; }
.c60-timeline .c60-timeline__more { margin-top: 12px; color: var(--c60-blue) !important; font-weight: 500; font-size: 13px; }
.c60-timeline .is-key .c60-timeline__card { background: var(--c60-navy); }
.c60-timeline .is-key time { color: var(--c60-gold-soft) !important; }
.c60-timeline .is-key strong { color: #fff !important; }
.c60-timeline .is-key span { color: rgba(255, 255, 255, .78) !important; }
.c60-timeline li.is-key::before { background: var(--c60-gold); }

/* ---------- Group headings ("Throughout the year") ---------- */
.c60-group { padding: 72px 0 8px; background: #fff; }
.c60-group .c60-body { max-width: 760px; }

/* ---------- Event sections ---------- */
.c60-sec { padding: 72px 0; background: #fff; }
.c60-sec.c60-sec--tint { background: var(--c60-tint); }
.c60-sec > .elementor-container > .elementor-column > .elementor-widget-wrap { row-gap: 0; }
.c60-intro > .elementor-container { align-items: center; }
/* The theme pads inner-section containers 50px a side; here they line up with the gallery. */
.c60-sec .elementor-inner-section > .elementor-container { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
/* Inner rows reach the same edges as the full-width gallery below them. */
.c60-sec .elementor-inner-section { width: calc(100% + 20px) !important; max-width: none !important; margin-left: -10px !important; margin-right: -10px !important; }
.c60-intro { margin-bottom: 36px; }
.c60-sec .c60-intro:last-child { margin-bottom: 0; }
.c60-sec .elementor-widget.c60-body { max-width: 640px; }

.c60-org-logo { margin-bottom: 18px !important; }
.c60-org-logo .elementor-widget-container { text-align: left !important; }
.c60-org-logo img { margin: 0 !important; display: block; width: auto !important; max-width: 100%; height: 64px !important; object-fit: contain; }

.c60-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 24px 48px rgba(11, 42, 94, .16); }
.c60-media .elementor-wrapper, .c60-sec .elementor-widget-video .elementor-wrapper { box-shadow: 0 24px 48px rgba(11, 42, 94, .16); background: #0b1730; }
.c60-videos .elementor-widget-video { margin-bottom: 0 !important; }
.c60-video-caption { margin-top: 12px !important; }
.c60-video-caption .elementor-heading-title { color: var(--c60-ink) !important; font: 500 15px/1.4 Poppins, Arial, sans-serif !important; }
.c60-videos { margin-bottom: 36px; }
.c60-videos > .elementor-container { column-gap: 8px; }

.c60-sec .cbk-ngal { margin: 8px 0 0; }
.c60-sec .elementor-widget-cbk-photo-gallery + .elementor-widget { margin-top: 24px; }
.c60-sec .cbk-ngal__head { border-bottom-color: var(--c60-line); }

/* The Governors docuseries player (its own HTML/CSS) gets a dark stage. */
.c60-sec--stage { background: linear-gradient(180deg, var(--c60-navy) 0, var(--c60-navy) 420px, var(--c60-tint) 420px); }
.c60-sec--stage .c60-title .elementor-heading-title { color: #fff !important; }
.c60-sec--stage .c60-body, .c60-sec--stage .c60-body p { color: rgba(255, 255, 255, .85) !important; }
.c60-sec--stage .elementor-widget-html { margin-top: 8px; padding: 24px; background: #fff; box-shadow: 0 24px 48px rgba(11, 42, 94, .16); }

/* ---------- CBK@50 archive band ---------- */
.c60-archive {
  position: relative; overflow: hidden; padding: 64px 0; color: #fff;
  background: linear-gradient(110deg, var(--c60-blue) 0%, var(--c60-navy) 70%);
}
.c60-archive::before {
  content: "50"; position: absolute; right: 4%; top: 50%; transform: translateY(-50%); pointer-events: none;
  color: rgba(255, 255, 255, .06); font: 700 260px/1 Poppins, Arial, sans-serif; letter-spacing: -.04em;
}
.c60-archive > .elementor-container { position: relative; align-items: center; }
.c60-archive .c60-title .elementor-heading-title { color: #fff !important; }
.c60-archive .c60-body, .c60-archive .c60-body p { color: rgba(255, 255, 255, .85) !important; }
.c60-archive .c60-btn { text-align: right; }

/* ---------- Reveal on scroll (only once cbk-at-60.js is running) ---------- */
.c60-js .c60-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--c60-ease), transform .7s var(--c60-ease); }
.c60-js .c60-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 1600px) {
  .c60-nav__label { display: none; }
}
@media (max-width: 1024px) {
  .c60-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .c60-timeline::before { display: none; }
  .elementor-widget.c60-hero-badge { left: 12px; width: 120px !important; }
  .c60-hero-badge img { width: 120px; height: 120px; }
}
@media (max-width: 767px) {
  .c60-hero { padding: 44px 0 70px; }
  .c60-hero-photo img { box-shadow: 10px 10px 0 0 var(--c60-gold), 0 20px 40px rgba(0, 0, 0, .3) !important; }
  .c60-hero-media { margin-top: 30px; }
  .elementor-widget.c60-hero-badge { left: auto; right: 18px; bottom: -40px; width: 96px !important; }
  .c60-hero-badge img { width: 96px; height: 96px; padding: 6px; }
  .c60-facts { grid-template-columns: 1fr; }
  .c60-facts li + li { padding-left: 0; border-left: 0; }
  .c60-facts li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; }
  .c60-facts strong { flex: 0 0 auto; min-width: 128px; font-size: 20px; }
  .c60-facts span { margin: 0; }
  .c60-nav__label { display: none; }
  .c60-nav__list a { padding: 15px 10px 13px; font-size: 13.5px; }
  .c60-week, .c60-sec, .c60-group { padding: 48px 0; }
  .c60-group { padding-bottom: 0; }
  .c60-timeline { grid-template-columns: 1fr; gap: 12px; padding-left: 26px; }
  .c60-timeline::before { display: block; left: 7px; right: auto; top: 4px; bottom: 4px; width: 2px; height: auto; background: linear-gradient(180deg, var(--c60-gold), var(--c60-blue)); }
  .c60-timeline li { padding: 0; }
  .c60-timeline li::before { left: -26px; top: 20px; }
  .c60-intro { margin-bottom: 24px; }
  .c60-intro .elementor-column + .elementor-column { margin-top: 20px; }
  .c60-videos .elementor-column + .elementor-column { margin-top: 18px; }
  .c60-sec--stage { background: linear-gradient(180deg, var(--c60-navy) 0, var(--c60-navy) 360px, var(--c60-tint) 360px); }
  .c60-sec--stage .elementor-widget-html { padding: 12px; }
  .c60-archive::before { font-size: 160px; }
  .c60-archive .c60-btn { text-align: left; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .c60-js .c60-reveal { opacity: 1; transform: none; transition: none; }
  .c60-timeline a, .c60-nav__list a::after { transition: none; }
}
