/* Standalone homepage styles. Enqueue after the Zerif parent and child styles. */
body.preneste-home-page { margin: 0; padding: 0; background: #faf9f5; }
#preneste-cover-home {
    --pp-navy: #102b55;
    --pp-dark: #09203e;
    --pp-paper: #faf9f5;
    --pp-surface: #ffffff;
    --pp-section: #e9edf2;
    --pp-yellow: #f8d748;
    --pp-red: #df3828;
    --pp-ink: #152640;
    --pp-muted: #566579;
    --pp-line: #dce0e3;
    color-scheme: light;
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--pp-ink);
    background: var(--pp-paper);
    font: 400 15px/1.55 "Manrope", sans-serif;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    text-shadow: none;
    overflow: clip;
  }
  #preneste-cover-home *, #preneste-cover-home *::before, #preneste-cover-home *::after { box-sizing: border-box; }
  #preneste-cover-home header, #preneste-cover-home main, #preneste-cover-home section, #preneste-cover-home nav, #preneste-cover-home footer, #preneste-cover-home figure, #preneste-cover-home figcaption { position: static; float: none; clear: none; width: auto; max-width: none; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; text-align: inherit; }
  #preneste-cover-home h1, #preneste-cover-home h2, #preneste-cover-home h3, #preneste-cover-home p { display: block; float: none; clear: none; width: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; font-family: inherit; font-size: inherit; font-style: normal; font-weight: inherit; line-height: inherit; letter-spacing: inherit; text-align: inherit; text-transform: none; text-shadow: none; }
  #preneste-cover-home a { position: static; float: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; text-decoration: none; text-shadow: none; box-shadow: none; }
  #preneste-cover-home img { display: block; width: auto; max-width: 100%; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  #preneste-cover-home button { appearance: none; float: none; margin: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; text-shadow: none; box-shadow: none; cursor: pointer; }
  #preneste-cover-home a:focus-visible, #preneste-cover-home button:focus-visible { outline: 3px solid #2776c7; outline-offset: 4px; }
  #preneste-cover-home .pp-icon { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
  #preneste-cover-home .pp-wrap { width: 100%; padding-inline: 38px; }
  #preneste-cover-home .pp-header { min-height: 82px; display: flex; gap: 25px; align-items: center; background: var(--pp-surface); }
  #preneste-cover-home .pp-brand { flex: 0 0 190px; display: block; }
  #preneste-cover-home .pp-brand img { width: 190px; height: 54px; object-fit: contain; }
  #preneste-cover-home .pp-brand-location { display: block; margin: 0 0 4px; color: var(--pp-navy); font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
  #preneste-cover-home .pp-nav { margin-left: auto; display: flex; gap: 23px; align-items: center; font-size: 12px; font-weight: 700; }
  #preneste-cover-home .pp-nav a:not(.pp-action) { padding-block: 14px; }
  #preneste-cover-home .pp-nav a:not(.pp-action):hover { text-decoration: underline; text-decoration-color: var(--pp-red); text-underline-offset: 6px; }
  #preneste-cover-home .pp-action { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 47px; padding: 12px 18px; border: 0; border-radius: 2px; background: var(--pp-yellow); color: var(--pp-dark); font-size: 13px; font-weight: 800; line-height: 1.35; transition: background-color .18s ease, transform .18s ease; }
  #preneste-cover-home .pp-action:hover { background: #ffe577; transform: translateY(-1px); }
  #preneste-cover-home .pp-action .pp-icon { flex: 0 0 auto; }
  #preneste-cover-home .pp-nav .pp-action { min-height: 42px; padding: 10px 15px; background: var(--pp-navy); color: #fff; }
  #preneste-cover-home .pp-menu-toggle { display: none; min-height: 44px; min-width: 44px; padding: 9px 11px; border: 1px solid var(--pp-line); border-radius: 2px; background: var(--pp-surface); color: var(--pp-ink); font-size: 13px; font-weight: 700; }
  #preneste-cover-home .pp-hero { display: flex; flex-direction: column; position: relative; background: var(--pp-navy); color: #fff; }
  #preneste-cover-home .pp-hero-intro { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #preneste-cover-home .pp-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
  #preneste-cover-home .pp-eyebrow::before { content: ""; width: 25px; height: 3px; flex: 0 0 auto; background: var(--pp-red); }
  #preneste-cover-home .pp-hero .pp-eyebrow { color: #e3eaf4; }
  #preneste-cover-home .pp-hero h1 { color: #ffffff; margin-block: 18px 15px; font-family: "Barlow Condensed", sans-serif; font-size: clamp(72px, 15vw, 100px); font-weight: 800; line-height: .9; letter-spacing: -.015em; text-transform: uppercase; }
  #preneste-cover-home .pp-hero h1 span { color: #ff2118; font: inherit; letter-spacing: inherit; }
  #preneste-cover-home .pp-hero-lead { color: #ffffff; font-size: 20px; line-height: 1.3; font-weight: 800; letter-spacing: -.035em; }
  #preneste-cover-home .pp-hero-media { min-width: 0; width: 100%; }
  #preneste-cover-home .pp-hero-media > img { width: 100%; height: auto; }
  #preneste-cover-home .pp-hero-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 19px; }
  #preneste-cover-home .pp-hero-actions .pp-action { flex: 0 1 auto; }
  #preneste-cover-home .pp-hero-location { color: #e3eaf4; font-size: 13px; line-height: 1.55; max-width: 355px; }
  #preneste-cover-home .pp-training-strip { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 25px; padding-block: 20px; background: var(--pp-yellow); color: var(--pp-dark); }
  #preneste-cover-home .pp-training-item { display: flex; gap: 12px; align-items: flex-start; }
  #preneste-cover-home .pp-training-item > .pp-icon { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px; }
  #preneste-cover-home .pp-training-item small { display: block; margin-bottom: 2px; font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  #preneste-cover-home .pp-training-item strong { display: block; font-size: 17px; line-height: 1.35; font-weight: 800; letter-spacing: -.035em; }
  #preneste-cover-home .pp-training-item span { display: block; font-size: 12px; line-height: 1.5; }
  #preneste-cover-home .pp-community { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
  #preneste-cover-home .pp-community-copy { min-width: 0; }
  #preneste-cover-home .pp-community-photo { min-width: 0; }
  #preneste-cover-home .pp-community-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
  #preneste-cover-home .pp-community-photo figcaption { color: var(--pp-muted); font-size: 11px; line-height: 1.4; margin-top: 8px; }
  #preneste-cover-home .pp-section-title { font-family: "Barlow Condensed", sans-serif; font-size: 43px; line-height: 1.02; font-weight: 700; letter-spacing: -.015em; text-transform: uppercase; }
  #preneste-cover-home .pp-community .pp-section-title { margin-block: 11px 13px; }
  #preneste-cover-home .pp-section-copy { color: var(--pp-muted); font-size: 13px; line-height: 1.7; max-width: 440px; }
  #preneste-cover-home .pp-text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 12px; line-height: 1.4; font-weight: 800; padding-block: 5px; text-decoration: underline; text-decoration-color: var(--pp-red); text-underline-offset: 5px; }
  #preneste-cover-home .pp-session { display: grid; grid-template-columns: 1fr 285px; gap: 36px; padding-top: 27px; padding-bottom: 27px; background: var(--pp-section); }
  #preneste-cover-home .pp-session-copy { align-self: center; }
  #preneste-cover-home .pp-session .pp-section-title { margin-top: 10px; margin-bottom: 12px; font-size: 39px; }
  #preneste-cover-home .pp-session .pp-section-copy { max-width: 440px; }
  #preneste-cover-home .pp-session-info { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #c8d1dd; }
  #preneste-cover-home .pp-session-info strong { display: block; font-size: 12px; font-weight: 800; }
  #preneste-cover-home .pp-session-info span { display: block; color: var(--pp-muted); font-size: 12px; }
  #preneste-cover-home .pp-poster { width: 100%; align-self: center; }
  #preneste-cover-home .pp-poster img { width: 100%; height: auto; max-height: 285px; object-fit: contain; background: var(--pp-dark); }
  #preneste-cover-home .pp-poster figcaption { margin-top: 7px; color: var(--pp-muted); font-size: 11px; line-height: 1.4; }
  #preneste-cover-home .pp-contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; padding-top: 31px; padding-bottom: 31px; background: var(--pp-navy); color: #fff; }
  #preneste-cover-home .pp-contact .pp-section-title { color: var(--pp-yellow); font-size: 43px; margin-bottom: 9px; }
  #preneste-cover-home .pp-contact p { max-width: 450px; color: #d8e2ee; font-size: 13px; }
  #preneste-cover-home .pp-contact-action { justify-self: end; min-width: 0; }
  #preneste-cover-home .pp-contact-action > a:not(.pp-action) { display: block; margin-top: 12px; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
  #preneste-cover-home .pp-footer { display: flex; justify-content: space-between; gap: 16px; padding-block: 15px; font-size: 11px; line-height: 1.4; color: var(--pp-muted); background: var(--pp-surface); }
  #preneste-cover-home .pp-footer strong { color: var(--pp-ink); font-weight: 800; }
  #preneste-cover-home section { scroll-margin-top: 18px; }
  @media (max-width: 760px) {
    #preneste-cover-home .pp-wrap { padding-inline: 25px; }
    #preneste-cover-home .pp-header { gap: 18px; min-height: 76px; }
    #preneste-cover-home .pp-brand { flex-basis: 160px; }
    #preneste-cover-home .pp-brand img { width: 160px; }
    #preneste-cover-home .pp-nav { gap: 14px; font-size: 11px; }
    #preneste-cover-home .pp-nav .pp-action { display: none; }
    #preneste-cover-home .pp-hero-actions { gap: 20px; }
    #preneste-cover-home .pp-hero-location { max-width: 265px; font-size: 12px; }
    #preneste-cover-home .pp-training-strip { gap: 17px; }
    #preneste-cover-home .pp-training-item { gap: 8px; }
    #preneste-cover-home .pp-training-item strong { font-size: 15px; }
    #preneste-cover-home .pp-community { gap: 24px; }
    #preneste-cover-home .pp-section-title { font-size: 35px; }
    #preneste-cover-home .pp-session { grid-template-columns: 1fr 230px; gap: 24px; }
    #preneste-cover-home .pp-session .pp-section-title { font-size: 33px; }
    #preneste-cover-home .pp-contact .pp-section-title { font-size: 36px; }
  }
  @media (max-width: 679px) {
    #preneste-cover-home .pp-hero-intro { position: static; width: auto; height: auto; margin: 0; padding: 28px 21px 0; overflow: visible; clip-path: none; white-space: normal; order: 1; }
    #preneste-cover-home .pp-hero-actions { order: 2; flex-direction: column; align-items: flex-start; gap: 13px; padding: 23px 21px 25px; }
    #preneste-cover-home .pp-hero-actions .pp-action { max-width: 100%; }
    #preneste-cover-home .pp-hero-location { max-width: 360px; font-size: 13px; }
    #preneste-cover-home .pp-hero-media { order: 3; aspect-ratio: 4 / 5; overflow: hidden; }
    #preneste-cover-home .pp-hero-media > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: right center; }
    #preneste-cover-home .pp-community { grid-template-columns: 1fr; gap: 22px; }
    #preneste-cover-home .pp-community-photo { width: 100%; max-width: 520px; justify-self: center; }
  }
  @media (max-width: 600px) {
    #preneste-cover-home .pp-wrap { padding-inline: 21px; }
    #preneste-cover-home .pp-header { flex-wrap: wrap; justify-content: space-between; gap: 0; padding-block: 10px; min-height: 72px; }
    #preneste-cover-home .pp-brand { flex-basis: 165px; }
    #preneste-cover-home .pp-brand img { width: 165px; height: 48px; }
    #preneste-cover-home .pp-menu-toggle { align-items: center; gap: 6px; }
    #preneste-cover-home.pp-js-ready .pp-menu-toggle { display: inline-flex; }
    #preneste-cover-home .pp-nav { display: flex; width: 100%; margin-left: 0; padding: 10px 0 5px; flex-direction: column; gap: 0; align-items: stretch; font-size: 13px; }
    #preneste-cover-home.pp-js-ready .pp-nav { display: none; }
    #preneste-cover-home.pp-js-ready .pp-nav.pp-is-open { display: flex; }
    #preneste-cover-home .pp-nav a:not(.pp-action) { padding: 11px 0; }
    #preneste-cover-home .pp-nav .pp-action { display: inline-flex; align-self: flex-start; margin-block: 5px; }
    #preneste-cover-home .pp-training-strip { grid-template-columns: 1fr 1fr; gap: 19px; padding-block: 22px; }
    #preneste-cover-home .pp-training-item:last-child { grid-column: 1 / -1; }
    #preneste-cover-home .pp-training-item strong { font-size: 16px; }
    #preneste-cover-home .pp-community { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 29px; }
    #preneste-cover-home .pp-section-title { font-size: 40px; }
    #preneste-cover-home .pp-session { grid-template-columns: 1fr; gap: 24px; padding-block: 29px; }
    #preneste-cover-home .pp-session .pp-section-title { font-size: 37px; }
    #preneste-cover-home .pp-poster { max-width: 380px; margin-inline: auto; }
    #preneste-cover-home .pp-poster img { max-height: none; }
    #preneste-cover-home .pp-contact { grid-template-columns: 1fr; gap: 21px; padding-block: 30px; }
    #preneste-cover-home .pp-contact .pp-section-title { font-size: 40px; }
    #preneste-cover-home .pp-contact-action { justify-self: start; }
    #preneste-cover-home .pp-footer { flex-direction: column; gap: 5px; font-size: 11px; }
  }
  @media (prefers-reduced-motion: reduce) {
    #preneste-cover-home .pp-action { transition: none; }
    #preneste-cover-home .pp-action:hover { transform: none; }
  }

/* Recruitment artwork, club history and triathlon team. */
#preneste-cover-home .pp-community-photo img { aspect-ratio: 1; object-fit: contain; }
#preneste-cover-home .pp-enrolment { margin-top: 15px; color: var(--pp-navy); font-size: 14px; font-weight: 800; }
#preneste-cover-home .pp-history { position: relative; padding-top: 24px; padding-bottom: 28px; background: #fff; border-block: 1px solid var(--pp-line); }
#preneste-cover-home .pp-history-visual { width: 100%; max-width: 1360px; margin-inline: auto; }
#preneste-cover-home .pp-history-visual img { width: 100%; height: auto; }
#preneste-cover-home .pp-history-heading { margin-bottom: 28px; }
#preneste-cover-home .pp-history-list { margin: 0; padding: 0; list-style: none; }
#preneste-cover-home .pp-history-list li { position: relative; margin: 0; padding: 0 0 27px 25px; border-left: 2px solid #ccd7e3; list-style: none; }
#preneste-cover-home .pp-history-list li:last-child { padding-bottom: 0; }
#preneste-cover-home .pp-history-list li::before { content: ''; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--pp-red); box-shadow: 0 0 0 4px #fff; }
#preneste-cover-home .pp-history-list time { display: block; margin-bottom: 5px; color: var(--pp-navy); font-size: 16px; font-weight: 800; }
#preneste-cover-home .pp-history-list h3 { margin-bottom: 4px; font-family: 'Barlow Condensed', sans-serif; font-size: 27px; font-weight: 700; line-height: 1.1; }
#preneste-cover-home .pp-history-list p { max-width: 520px; color: var(--pp-muted); font-size: 14px; line-height: 1.55; }
#preneste-cover-home .pp-history-foot { display: flex; align-items: center; justify-content: space-between; gap: 25px; max-width: 1250px; margin: 16px auto 0; }
#preneste-cover-home .pp-history-foot > p { max-width: 800px; color: var(--pp-muted); font-size: 13px; line-height: 1.7; }
#preneste-cover-home .pp-history-foot .pp-text-link { flex-shrink: 0; margin: 0; }
#preneste-cover-home .pp-club-credentials { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; max-width: 1250px; margin: 22px auto 0; padding-top: 16px; border-top: 1px solid var(--pp-line); font-size: 12px; }
#preneste-cover-home .pp-club-credentials strong { margin-left: 7px; color: var(--pp-navy); font-weight: 800; }
#preneste-cover-home .pp-triathlon { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 36px; padding-top: 38px; padding-bottom: 38px; background: #fff; }
#preneste-cover-home .pp-triathlon-photo img { width: 100%; height: auto; }
#preneste-cover-home .pp-triathlon-photo figcaption { margin-top: 8px; font-size: 11px; line-height: 1.4; color: var(--pp-muted); }
#preneste-cover-home .pp-triathlon .pp-section-title { margin-block: 11px 13px; }
#preneste-cover-home .pp-triathlon-disciplines { margin-bottom: 14px; color: var(--pp-navy); font-size: 17px; font-weight: 800; }
#preneste-cover-home .pp-triathlon .pp-section-copy + .pp-section-copy { margin-top: 10px; }
#preneste-cover-home .pp-triathlon .pp-action { margin-top: 20px; }
@media (min-width: 801px) {
  #preneste-cover-home .pp-history-heading, #preneste-cover-home .pp-history-list { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 800px) {
  #preneste-cover-home .pp-history { padding-block: 35px; }
  #preneste-cover-home .pp-history-visual { display: none; }
  #preneste-cover-home .pp-history-list { margin-left: 7px; }
  #preneste-cover-home .pp-history-foot { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 27px; }
  #preneste-cover-home .pp-triathlon { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  #preneste-cover-home .pp-triathlon-copy { order: -1; }
  #preneste-cover-home .pp-triathlon .pp-section-copy { max-width: 600px; }
}
@media (max-width: 600px) {
  #preneste-cover-home .pp-history .pp-section-title { font-size: 37px; }
  #preneste-cover-home .pp-triathlon { padding-block: 30px; }
  #preneste-cover-home .pp-club-credentials { flex-direction: column; }
}
#preneste-cover-home .pp-triathlon-poster { width: 100%; max-width: 320px; justify-self: center; }
@media (min-width: 801px) {
  #preneste-cover-home .pp-triathlon { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
/* Horizontal road timeline with accessible lateral scrolling. */
#preneste-cover-home .pp-history-heading { position: static; width: auto; height: auto; padding: 0; margin: 0 0 22px; overflow: visible; clip-path: none; white-space: normal; }
#preneste-cover-home .pp-history-visual { display: block; width: 100%; max-width: 1360px; margin-inline: auto; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-gutter: stable; scrollbar-color: #102b55 #e9edf2; }
#preneste-cover-home .pp-history-visual img { display: block; width: 100%; min-width: 1200px; max-width: none; height: auto; }
#preneste-cover-home .pp-history-visual:focus-visible { outline: 3px solid #2776c7; outline-offset: 4px; }
#preneste-cover-home .pp-history-list, #preneste-cover-home .pp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#preneste-cover-home .pp-history-scroll-help { display: none; margin-bottom: 13px; color: var(--pp-muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 1280px) {
  #preneste-cover-home .pp-history-scroll-help { display: block; }
}

/* Social channels at the end of the homepage. */
#preneste-cover-home .pp-social { padding-top: 35px; padding-bottom: 31px; background: var(--pp-surface); text-align: center; border-bottom: 1px solid var(--pp-line); }
#preneste-cover-home .pp-social .pp-section-title { margin-bottom: 23px; font-size: 38px; line-height: 1.1; }
#preneste-cover-home .pp-social-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 840px; margin: 0 auto; padding: 0; list-style: none; }
#preneste-cover-home .pp-social-list li { display: block; float: none; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; background: none; list-style: none; }
#preneste-cover-home .pp-social-item { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; min-height: 104px; padding: 10px 8px; border-radius: 14px; color: var(--pp-ink); font-size: 13px; font-weight: 800; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; }
#preneste-cover-home .pp-social-list a.pp-social-item:hover { background: var(--pp-paper); }
#preneste-cover-home .pp-social-list a.pp-social-item:hover .pp-social-label { text-decoration: underline; text-underline-offset: 4px; }
#preneste-cover-home .pp-social-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; flex: 0 0 58px; }
#preneste-cover-home .pp-social-icon svg { display: block; width: 40px; height: 40px; fill: currentColor; }
#preneste-cover-home .pp-social-icon--instagram { border-radius: 15px; color: #fff; background: radial-gradient(circle at 30% 105%, #feda75 0%, #fa7e1e 26%, #d62976 53%, #962fbf 76%, #4f5bd5 100%); }
#preneste-cover-home .pp-social-icon--instagram svg { width: 35px; height: 35px; }
#preneste-cover-home .pp-social-icon--facebook { color: #0866ff; }
#preneste-cover-home .pp-social-icon--facebook svg { width: 54px; height: 54px; }
#preneste-cover-home .pp-social-icon--strava { color: #fc4c02; }
#preneste-cover-home .pp-social-icon--strava svg { width: 45px; height: 45px; }
#preneste-cover-home .pp-social-icon--garmin { color: #111; }
#preneste-cover-home .pp-social-icon--garmin svg { width: 54px; height: 54px; }
@media (max-width: 600px) {
  #preneste-cover-home .pp-social { padding-top: 30px; padding-bottom: 25px; }
  #preneste-cover-home .pp-social .pp-section-title { font-size: 34px; margin-bottom: 17px; }
  #preneste-cover-home .pp-social-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 390px; }
}


/* Sezione calendario gare della homepage. */
#preneste-cover-home .pp-calendar { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 45px; align-items: center; padding-top: 46px; padding-bottom: 46px; background: var(--pp-navy); color: #fff; }
#preneste-cover-home .pp-calendar .pp-eyebrow { color: var(--pp-yellow); }
#preneste-cover-home .pp-calendar .pp-section-title { font-size: clamp(40px,5vw,64px); margin-block: 12px 18px; }
#preneste-cover-home .pp-calendar .pp-section-copy { color: #e3eaf4; max-width: 550px; font-size: 14px; }
#preneste-cover-home .pp-calendar .pp-action { margin-top: 24px; }
#preneste-cover-home .pp-calendar-panel { padding: 28px; border: 1px solid #ffffff40; border-top: 4px solid var(--pp-yellow); background: #ffffff08; }
#preneste-cover-home .pp-calendar-symbol { display: block; width: 68px; height: 68px; margin-bottom: 18px; fill: none; stroke: var(--pp-yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#preneste-cover-home .pp-calendar-panel-title { font-family: "Barlow Condensed", sans-serif; font-size: 30px; font-weight: 700; line-height: 1.15; margin-bottom: 10px; }
#preneste-cover-home .pp-calendar-panel-copy { font-size: 13px; color: #e3eaf4; line-height: 1.7; }
#preneste-cover-home .pp-calendar .pp-text-link { color: #fff; text-decoration-color: var(--pp-yellow); flex-wrap: wrap; }
@media (max-width: 760px) {
  #preneste-cover-home .pp-calendar { grid-template-columns: minmax(0,1fr); gap: 28px; padding-block: 32px; }
  #preneste-cover-home .pp-calendar-panel { padding: 22px; }
}

/* Calendario mensile consultabile senza JavaScript. */
#preneste-cover-home .pp-calendar-full { display: block; }
#preneste-cover-home .pp-calendar-full .pp-section-copy { max-width: 780px; }
#preneste-cover-home .pp-calendar-source { max-width: 900px; margin-top: 14px; color: #d7e2f0; font-size: 12px; line-height: 1.7; }
#preneste-cover-home .pp-race-months { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; margin-top: 28px; }
#preneste-cover-home .pp-race-month { min-width: 0; border: 1px solid #ffffff40; border-radius: 4px; background: #ffffff08; overflow: hidden; }
#preneste-cover-home .pp-race-month summary { cursor: pointer; padding: 18px; font-size: 16px; font-weight: 800; color: #fff; }
#preneste-cover-home .pp-race-month summary::marker { color: var(--pp-yellow); }
#preneste-cover-home .pp-race-month summary span { margin-left: 12px; color: var(--pp-yellow); font-size: 11px; font-weight: 600; white-space: nowrap; }
#preneste-cover-home .pp-race-month summary:focus-visible { outline: 3px solid var(--pp-yellow); outline-offset: -4px; }
#preneste-cover-home .pp-race-list { margin: 0; padding: 0 18px; list-style: none; }
#preneste-cover-home .pp-race-card { display: flex; gap: 14px; margin: 0; padding: 20px 0; border-top: 1px solid #ffffff30; list-style: none; }
#preneste-cover-home .pp-race-day { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 48px; border-radius: 3px; background: var(--pp-yellow); color: var(--pp-dark); font-size: 23px; font-weight: 800; }
#preneste-cover-home .pp-race-info { min-width: 0; }
#preneste-cover-home .pp-race-date { margin-bottom: 4px; color: var(--pp-yellow); font-size: 11px; font-weight: 700; }
#preneste-cover-home .pp-race-info h3 { color: #fff; font-size: 18px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
#preneste-cover-home .pp-race-meta { font-size: 12px; color: #e3eaf4; line-height: 1.7; }
#preneste-cover-home .pp-race-note { margin-top: 8px; font-size: 12px; line-height: 1.6; color: #fbe49a; }
#preneste-cover-home a.pp-race-link { display: inline-flex; gap: 8px; min-height: 44px; align-items: center; margin-top: 6px; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; color: #fff; }
#preneste-cover-home .pp-calendar-bottom { display: flex; gap: 12px 28px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
#preneste-cover-home .pp-calendar-bottom .pp-action, #preneste-cover-home .pp-calendar-bottom .pp-text-link { margin-top: 0; }
@media (max-width: 760px) { #preneste-cover-home .pp-race-months { grid-template-columns: minmax(0,1fr); } }

/* Gara in evidenza e navigazione del calendario. */
#preneste-cover-home [hidden] { display: none !important; }
#preneste-cover-home .pp-calendar-full { padding-top: 52px; padding-bottom: 48px; background: #f4f3ed; color: var(--pp-ink); }
#preneste-cover-home .pp-calendar-full .pp-eyebrow { color: var(--pp-navy); }
#preneste-cover-home .pp-calendar-full .pp-section-copy, #preneste-cover-home .pp-calendar-source { color: var(--pp-muted); }
#preneste-cover-home .pp-next-race { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(190px,.45fr); align-items: center; gap: 32px; overflow: clip; margin-top: 28px; padding: 34px; background: var(--pp-navy); border-radius: 6px; color: #fff; }
#preneste-cover-home .pp-next-race::after { content: ""; position: absolute; right: -105px; top: -180px; width: 420px; height: 600px; border: 2px solid #ffffff12; border-radius: 50%; box-shadow: 0 0 0 18px #ffffff05,0 0 0 20px #ffffff12,0 0 0 40px #ffffff05,0 0 0 42px #ffffff12; transform: rotate(28deg); pointer-events: none; }
#preneste-cover-home .pp-next-copy, #preneste-cover-home .pp-next-countdown { position: relative; z-index: 1; }
#preneste-cover-home .pp-next-race .pp-eyebrow { color: var(--pp-yellow); }
#preneste-cover-home .pp-next-title { margin-block: 14px; font-family: "Barlow Condensed",sans-serif; font-size: clamp(38px,5vw,62px); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
#preneste-cover-home .pp-next-meta { font-size: 14px; color: #e3eaf4; }
#preneste-cover-home .pp-next-countdown { text-align: center; border-left: 1px solid #ffffff40; padding-left: 26px; }
#preneste-cover-home .pp-next-days { display: block; font-family: "Barlow Condensed",sans-serif; font-size: clamp(42px,5.5vw,72px); line-height: 1; color: var(--pp-yellow); }
#preneste-cover-home .pp-next-caption { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
#preneste-cover-home .pp-next-date { margin-top: 12px; font-size: 13px; }
#preneste-cover-home .pp-race-tools { margin-top: 32px; }
#preneste-cover-home .pp-race-filters { display: flex; flex-wrap: wrap; gap: 8px; }
#preneste-cover-home .pp-race-filters button { min-height: 44px; padding: 10px 17px; border: 1px solid #ccd4df; border-radius: 30px; background: #fff; color: var(--pp-navy); font-size: 13px; font-weight: 800; transition: background .15s ease; }
#preneste-cover-home .pp-race-filters button[aria-pressed="true"] { background: var(--pp-navy); border-color: var(--pp-navy); color: #fff; }
#preneste-cover-home .pp-race-filters button:hover { border-color: var(--pp-red); }
#preneste-cover-home .pp-race-count { margin-top: 12px; color: var(--pp-muted); font-size: 12px; }
#preneste-cover-home .pp-race-months { gap: 20px; margin-top: 20px; }
#preneste-cover-home .pp-race-month { background: #fff; border: 1px solid #dce0e3; border-top: 4px solid var(--pp-yellow); border-radius: 5px; box-shadow: 0 4px 18px #09203e06; }
#preneste-cover-home .pp-race-month summary { color: var(--pp-navy); }
#preneste-cover-home .pp-race-month summary::marker { color: var(--pp-red); }
#preneste-cover-home .pp-race-month summary span { color: var(--pp-muted); }
#preneste-cover-home .pp-race-card { border-top-color: var(--pp-line); }
#preneste-cover-home .pp-race-info h3 { color: var(--pp-navy); }
#preneste-cover-home .pp-race-meta { color: var(--pp-muted); }
#preneste-cover-home .pp-race-date { color: var(--pp-navy); }
#preneste-cover-home .pp-race-note { color: #78510b; background: #fff8dd; border-radius: 3px; padding: 8px 10px; }
#preneste-cover-home a.pp-race-link { color: var(--pp-navy); text-decoration-color: var(--pp-red); }
#preneste-cover-home .pp-calendar-full .pp-text-link { color: var(--pp-navy); text-decoration-color: var(--pp-red); }
#preneste-cover-home .pp-race-banner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-block: 14px; background: var(--pp-yellow); color: var(--pp-dark); }
#preneste-cover-home .pp-banner-info { display: flex; flex-wrap: wrap; gap: 5px 12px; align-items: baseline; }
#preneste-cover-home .pp-banner-label { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
#preneste-cover-home .pp-banner-title { font-size: 15px; font-weight: 800; }
#preneste-cover-home .pp-banner-countdown { font-size: 14px; font-weight: 800; white-space: nowrap; }
#preneste-cover-home .pp-banner-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; font-weight: 800; }
@media (max-width: 760px) {
 #preneste-cover-home .pp-next-race { grid-template-columns: minmax(0,1fr); padding: 25px; gap: 26px; }
 #preneste-cover-home .pp-next-countdown { border-left: 0; border-top: 1px solid #ffffff40; padding-left: 0; padding-top: 22px; text-align: left; }
 #preneste-cover-home .pp-next-days { font-size: 60px; }
 #preneste-cover-home .pp-calendar-full { padding-block: 32px; }
 #preneste-cover-home .pp-race-filters button { padding-inline: 14px; font-size: 12px; }
 #preneste-cover-home .pp-race-banner { gap: 0 14px; }
}

/* Conto alla rovescia all'orario ufficiale di partenza. */
#preneste-cover-home .pp-next-race { grid-template-columns: minmax(0,1fr) minmax(260px,.65fr); }
#preneste-cover-home .pp-next-days.pp-countdown-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; font-family: "Manrope",sans-serif; line-height: 1.2; }
#preneste-cover-home .pp-countdown-number { display: block; font-size: clamp(28px,3.2vw,46px); font-weight: 800; font-variant-numeric: tabular-nums; }
#preneste-cover-home .pp-countdown-label { display: block; margin-top: 8px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
#preneste-cover-home .pp-next-countdown .pp-next-date { line-height: 1.6; }
@media (max-width: 760px) {
 #preneste-cover-home .pp-next-race { grid-template-columns: minmax(0,1fr); }
 #preneste-cover-home .pp-countdown-number { font-size: clamp(28px,7vw,42px); }
 #preneste-cover-home .pp-next-days.pp-countdown-grid { gap: 8px; }
}
 /* Menu storico, con sottomenu consultabili anche senza JavaScript. */
#preneste-cover-home .pp-header { position: relative; z-index: 20; flex-wrap: wrap; padding-block: 12px; }
#preneste-cover-home .pp-nav { gap: 16px; }
#preneste-cover-home .pp-nav-list, #preneste-cover-home .pp-submenu { list-style: none; padding: 0; margin: 0; }
#preneste-cover-home .pp-nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
#preneste-cover-home .pp-nav-item, #preneste-cover-home .pp-submenu li { position: relative; margin: 0; padding: 0; list-style: none; }
#preneste-cover-home .pp-nav-item > a, #preneste-cover-home .pp-submenu-toggle { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 0; font-size: 12px; font-weight: 700; white-space: nowrap; }
#preneste-cover-home .pp-chevron { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
#preneste-cover-home .pp-submenu-toggle[aria-expanded="true"] .pp-chevron { transform: rotate(225deg); margin-top: 3px; }
#preneste-cover-home .pp-submenu { position: absolute; z-index: 30; left: 0; top: 100%; width: 275px; padding: 8px; background: #fff; color: var(--pp-ink); border: 1px solid var(--pp-line); border-radius: 4px; box-shadow: 0 12px 25px #09203e26; }
#preneste-cover-home .pp-nav-item:last-child .pp-submenu { left: auto; right: 0; }
#preneste-cover-home .pp-submenu a:not(.pp-action) { display: block; padding: 10px 12px; min-height: 44px; font-size: 13px; line-height: 1.45; white-space: normal; }
#preneste-cover-home .pp-submenu a:hover { background: var(--pp-paper); }
#preneste-cover-home:not(.pp-js-ready) .pp-submenu { position: static; box-shadow: none; }
#preneste-cover-home.pp-js-ready .pp-submenu { display: none; }
#preneste-cover-home.pp-js-ready .pp-submenu-toggle[aria-expanded="true"] + .pp-submenu { display: block; }
@media (max-width: 1150px) {
  #preneste-cover-home .pp-header { justify-content: space-between; }
  #preneste-cover-home .pp-menu-toggle { align-items: center; gap: 6px; }
  #preneste-cover-home.pp-js-ready .pp-menu-toggle { display: inline-flex; }
  #preneste-cover-home .pp-nav { width: 100%; margin-left: 0; padding-block: 10px; flex-direction: column; align-items: stretch; gap: 0; }
  #preneste-cover-home.pp-js-ready .pp-nav { display: none; }
  #preneste-cover-home.pp-js-ready .pp-nav.pp-is-open { display: flex; }
  #preneste-cover-home .pp-nav-list { display: block; }
  #preneste-cover-home .pp-nav-item { border-bottom: 1px solid var(--pp-line); }
  #preneste-cover-home .pp-nav-item > a, #preneste-cover-home .pp-submenu-toggle { width: 100%; justify-content: space-between; font-size: 14px; padding: 12px 0; text-align: left; }
  #preneste-cover-home .pp-submenu { position: static; width: 100%; border: 0; border-left: 2px solid var(--pp-yellow); border-radius: 0; margin-bottom: 10px; box-shadow: none; }
  #preneste-cover-home .pp-nav .pp-action { display: inline-flex; align-self: flex-start; margin-top: 12px; }
}




