/* ==========================================================================
   PVSC home page: quick-link tiles under the banner. Scoped to .pv-tiles.
   A solid band that continues the banner's navy-to-blue sweep; the
   current call to action is picked out in the logo's sun yellow.
   ========================================================================== */

.pv-tiles {
  --pv-navy: #0a2540;
  --pv-sun: #f6c343;

  background: var(--pv-navy);
  border-top: 4px solid var(--pv-sun);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pv-tiles-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pv-tiles a.pv-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  background: var(--pv-tile-bg, #134a80);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: background-color .2s ease;
}
/* Navy-to-blue ramp, left to right, echoing the banner */
.pv-tiles a.pv-tile:nth-child(1) { --pv-tile-bg: #0c2f55; }
.pv-tiles a.pv-tile:nth-child(2) { --pv-tile-bg: #0f3b69; }
.pv-tiles a.pv-tile:nth-child(3) { --pv-tile-bg: #13487f; }
.pv-tiles a.pv-tile:nth-child(4) { --pv-tile-bg: #165696; }
.pv-tiles a.pv-tile:nth-child(5) { --pv-tile-bg: #1a64ae; }
.pv-tiles a.pv-tile:nth-child(6) { --pv-tile-bg: #1d71c5; }

/* Thin divider between tiles */
.pv-tiles a.pv-tile + a.pv-tile { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .1); }

/* Hover: a light sweep from the bottom plus a sun-colored base line */
.pv-tiles a.pv-tile::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity .2s ease;
}
.pv-tiles a.pv-tile::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--pv-sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.pv-tiles a.pv-tile:hover,
.pv-tiles a.pv-tile:focus-visible { color: #fff; text-decoration: none; }
.pv-tiles a.pv-tile:hover::before,
.pv-tiles a.pv-tile:focus-visible::before { opacity: 1; }
.pv-tiles a.pv-tile:hover::after,
.pv-tiles a.pv-tile:focus-visible::after { transform: scaleX(1); }
.pv-tiles a.pv-tile:focus-visible { outline: 2px solid var(--pv-sun); outline-offset: -2px; }

.pv-tile-icon {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.pv-tile-icon svg { display: block; }
.pv-tiles a.pv-tile:hover .pv-tile-icon {
  transform: translateY(-2px);
  background: var(--pv-sun);
  color: var(--pv-navy);
  box-shadow: none;
}

.pv-tile-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pv-tile-title,
.pv-tile-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-tile-icon svg { width: 19px; height: 19px; }
.pv-tile-title {
  font-size: 14px; font-weight: 600; line-height: 1.25;
  letter-spacing: -.005em;
}
.pv-tile-sub {
  font-size: 12px; line-height: 1.35;
  color: rgba(255, 255, 255, .72);
}

.pv-tile-badge {
  position: absolute; top: 8px; right: 8px;
  font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

/* Featured tile: the current call to action, in sun yellow */
.pv-tiles a.pv-tile.is-featured { --pv-tile-bg: var(--pv-sun); color: var(--pv-navy); }
.pv-tiles a.pv-tile.is-featured:hover,
.pv-tiles a.pv-tile.is-featured:focus-visible { color: var(--pv-navy); }
.pv-tiles a.pv-tile.is-featured .pv-tile-sub { color: rgba(10, 37, 64, .78); }
.pv-tiles a.pv-tile.is-featured .pv-tile-sub strong { color: var(--pv-navy); font-weight: 700; }
.pv-tiles a.pv-tile.is-featured .pv-tile-icon {
  color: #fff;
  background: var(--pv-navy);
  box-shadow: none;
}
.pv-tiles a.pv-tile.is-featured:hover .pv-tile-icon { background: #fff; color: var(--pv-navy); }
.pv-tiles a.pv-tile.is-featured::before { background: linear-gradient(0deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 70%); }
.pv-tiles a.pv-tile.is-featured::after { background: var(--pv-navy); }

@media (max-width: 1100px) {
  .pv-tiles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pv-tiles a.pv-tile:nth-child(4) { box-shadow: none; }
  .pv-tiles a.pv-tile:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 575px) {
  .pv-tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-tiles a.pv-tile { padding: 16px 12px; gap: 10px; }
  .pv-tile-title, .pv-tile-sub { white-space: normal; }
  .pv-tiles a.pv-tile:nth-child(odd) { box-shadow: none; }
  .pv-tiles a.pv-tile:nth-child(4) { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .1); }
  .pv-tiles a.pv-tile:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .pv-tile-icon { width: 34px; height: 34px; }
  .pv-tile-icon svg { width: 18px; height: 18px; }
  .pv-tile-title { font-size: 13.5px; }
  .pv-tile-sub { font-size: 11.5px; }
  .pv-tile-badge { top: 6px; right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .pv-tiles a.pv-tile, .pv-tiles a.pv-tile::before, .pv-tiles a.pv-tile::after, .pv-tile-icon { transition: none; }
}


/* ==========================================================================
   Home page body: welcome, sidebar cards and the Tracks band. Scoped to .pv-home.
   ========================================================================== */
.pv-home {
  --pv-navy: #0a2540; --pv-navy-2: #0f3b66; --pv-blue: #1f74d4; --pv-sun: #f6c343;
  --pv-ink: #24344a; --pv-muted: #5b6b80; --pv-line: #e5eaf1; --pv-soft: #f2f6fb;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--pv-ink);
  padding-top: 36px !important;
}
.pv-home *, .pv-home *::before, .pv-home *::after { box-sizing: border-box; }
.pv-home-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pv-blue); }

/* Welcome */
.pv-home-main { padding-bottom: 36px; }
.pv-home .cd-intro { margin: 0 0 22px; text-align: left; }
.pv-home h1.pv-home-headline {
  margin: 0; font-family: inherit; font-size: 34px; font-weight: 300; line-height: 1.2;
  letter-spacing: -.015em; color: var(--pv-navy); text-align: left;
}
.pv-home h1.pv-home-headline > span:first-child { font-weight: 600; }
.pv-home h1.pv-home-headline .pv-home-headline-static { display: none !important; margin-left: .28em; font-weight: 600; color: var(--pv-blue); }
.pv-home h1.pv-home-headline .cd-words-wrapper b { font-weight: 600; color: var(--pv-blue); }
.pv-home-welcome {
  padding: 28px 30px 26px; border-radius: 16px;
  background: #fff; border: 1px solid var(--pv-line); box-shadow: 0 16px 34px -26px rgba(10, 37, 64, .45);
  font-size: 15px; line-height: 1.75;
}
.pv-home-welcome p { margin: 0 0 1em; color: var(--pv-ink); font-size: inherit; line-height: inherit; }
.pv-home-welcome p.pv-home-lead {
  margin: 0 0 1.2em; padding: 16px 20px; border-radius: 12px;
  border-left: 4px solid var(--pv-sun); background: var(--pv-soft);
  font-size: 17px; line-height: 1.65; color: var(--pv-navy);
}
.pv-home-chair { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--pv-line); }
.pv-home-chair img { flex: none; width: 150px; height: 188px; border-radius: 14px; object-fit: cover; object-position: center top; box-shadow: 0 12px 24px -16px rgba(10, 37, 64, .55); }
.pv-home-chair { gap: 22px; }
.pv-home-chair b { display: block; margin-top: 2px; font-size: 18px; font-weight: 600; color: var(--pv-navy); line-height: 1.3; }
.pv-home-chair div > span:last-child { font-size: 13.5px; color: var(--pv-muted); }
.pv-home-sign { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--pv-line); line-height: 1.45; }
.pv-home-sign b { display: block; color: var(--pv-navy); font-weight: 600; }
.pv-home-sign span { font-size: 13.5px; color: var(--pv-muted); }

/* Sidebar cards */
.pv-home-side { padding-bottom: 36px; }
.pv-home-card { margin: 0 0 18px; padding: 20px 20px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--pv-line); }
.pv-home h2.pv-home-card-title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pv-navy);
}
.pv-home h2.pv-home-card-title svg { color: var(--pv-blue); width: 18px; height: 18px; }
.pv-home ul.pv-home-dates { list-style: none; margin: 0; padding: 0; }
.pv-home-dates li { margin: 0; padding: 0; }
.pv-home-dates a {
  display: block; padding: 10px 12px 10px 14px; margin: 0 0 6px; border-radius: 10px;
  border-left: 3px solid var(--pv-line); background: var(--pv-soft); text-decoration: none; line-height: 1.35;
  transition: border-color .15s, background-color .15s;
}
.pv-home-dates a:hover { border-left-color: var(--pv-blue); background: #e9f1fc; text-decoration: none; }
.pv-home-dates b { display: block; font-size: 15px; font-weight: 600; color: var(--pv-navy); }
.pv-home-dates span { font-size: 13px; color: var(--pv-muted); }
.pv-home-dates li.is-next a { border-left-color: var(--pv-sun); background: #fff8e1; }
.pv-home img.pv-home-sponsors { display: block; width: 100%; max-width: 260px; margin: 0 auto; }

/* Tracks band */
.pv-home-tracks { padding: 44px 0 50px; background: var(--pv-soft); border-top: 1px solid var(--pv-line); }
.pv-home-section-head { max-width: 680px; margin: 0 0 24px; }
.pv-home-section-head h2 { margin: 4px 0 8px; font-family: inherit; font-size: 26px; font-weight: 600; color: var(--pv-navy); letter-spacing: -.01em; }
.pv-home-section-head p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--pv-muted); }
.pv-home-track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pv-home a.pv-home-track {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 22px 22px 20px; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--pv-line); text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pv-home a.pv-home-track::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--pv-blue), var(--pv-sun)); }
.pv-home a.pv-home-track:hover { transform: translateY(-3px); border-color: #cfdcef; box-shadow: 0 18px 32px -20px rgba(10, 37, 64, .5); text-decoration: none; }
.pv-home-track-num { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pv-blue); }
.pv-home-track-title { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--pv-navy); }
.pv-home-track-text { font-size: 14px; line-height: 1.6; color: var(--pv-muted); }
.pv-home-track-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--pv-blue); }

@media (max-width: 991px) {
  .pv-home-track-grid { grid-template-columns: 1fr; }
  /* Stack the sidebar under the welcome; cards side by side where they fit */
  .pv-home .pv-home-main, .pv-home .pv-home-side { flex: 0 0 100%; max-width: 100%; }
  .pv-home-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: start; }
  .pv-home-card { margin: 0; }
  /* The theme's rotating words don't wrap well: show a static line instead */
  .pv-home h1.pv-home-headline .cd-words-wrapper { display: none !important; }
  .pv-home h1.pv-home-headline .pv-home-headline-static { display: inline-block !important; }
}
@media (max-width: 767px) {
  .pv-home { padding-top: 24px !important; }
  .pv-home h1.pv-home-headline { font-size: 26px; }
  .pv-home-welcome { padding: 20px 18px; }
  .pv-home-chair img { width: 110px; height: 138px; }
  .pv-home-welcome p.pv-home-lead { padding: 14px 16px; font-size: 16px; }
  .pv-home-chair { gap: 16px; }
  .pv-home-tracks { padding: 34px 0 40px; }
}
