/* Phase 2 is scoped to new pages/navigation. Existing colour/font/card tokens remain intact. */
.p2-page { padding-top: 48px; padding-bottom: 80px; }
.p2-heading { margin-bottom: 32px; }
.p2-heading h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.06; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; margin: 12px 0 24px; }
.p2-eyebrow { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.p2-intro { max-width: 780px; font-size: 18px; line-height: 1.7; }
.p2-page p, .p2-home-section > p, .p2-home-cta p { line-height: 1.75; }
.p2-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.p2-event-card { display: flex; flex-direction: column; min-width: 0; }
.p2-event-card > img { width: 100%; height: 220px; object-fit: cover; object-position: center 25%; }
.p2-card-copy { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.p2-card-copy h2, .p2-card-copy h3, .p2-section h3, .p2-grid h2 { font-size: 23px; line-height: 1.25; font-weight: 900; }
.p2-card-copy .p2-action { margin-top: auto; align-self: flex-start; }
.p2-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; border: 2px solid var(--speechforces-blue); font-weight: 900; font-size: 12px; text-transform: uppercase; line-height: 1.4; text-align: center; transition: opacity .18s ease; }
.p2-action-outline { background: var(--white); color: var(--speechforces-blue); }
.p2-action-primary { background: var(--yellow); color: var(--speechforces-blue); }
.p2-action-secondary { background: var(--speechforces-blue); color: var(--white); }
.p2-action:hover { opacity: .82; }
.p2-actions, .p2-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.p2-tabs { padding-bottom: 18px; border-bottom: 2px solid var(--line); }
.p2-tabs > a:not(.p2-action) { padding: 12px 16px; min-height: 44px; font-size: 13px; font-weight: 900; }
.p2-section { margin-top: 56px; scroll-margin-top: 110px; }
.p2-section > h2, .p2-notice h2, .p2-about-intro h2 { font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 900; text-transform: uppercase; margin-bottom: 24px; }
.p2-section p { margin-bottom: 20px; }
.p2-status { font-size: 12px; font-weight: 900; text-transform: uppercase; }
.p2-note { font-size: 14px; margin: 20px 0; }
.p2-notice { padding: 28px; background: var(--light-blue); margin: 32px 0; }
.p2-competition-intro, .p2-about-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.p2-competition-intro > img, .p2-about-intro > img { width: 100%; max-height: 460px; object-fit: cover; object-position: center top; }
.p2-about-intro p { margin-bottom: 24px; }
.p2-breadcrumb { margin-bottom: 24px; font-size: 13px; }
.p2-breadcrumb a, .p2-page p a { text-decoration: underline; text-underline-offset: 4px; }
.p2-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 24px 0; }
.p2-gallery img { width: 100%; height: 250px; object-fit: cover; object-position: center 25%; }
.p2-video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.p2-video-grid video, .p2-home-video video { width: 100%; max-height: 500px; background: var(--speechforces-blue); }
.p2-home-video { max-width: 900px; margin-bottom: 28px; }
.p2-video-grid h3 { margin-bottom: 16px; }
.p2-edition-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.p2-edition-list article { padding-bottom: 24px; border-bottom: 2px solid var(--line); }
.p2-edition-list h3 { margin-bottom: 12px; }
#gallery .p2-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 480px); align-items: start; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 18px; }
#gallery .p2-gallery figure { min-width: 0; margin: 0; scroll-snap-align: start; }
#gallery .p2-gallery img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: var(--light-blue); }
.p2-gallery figcaption { margin-top: 12px; font-size: 12px; line-height: 1.6; }
.p2-gallery figcaption a, .p2-source-links a { text-decoration: underline; text-underline-offset: 3px; }
.p2-source-links { margin-top: 24px; font-size: 13px; }
.p2-source-links summary { cursor: pointer; font-weight: 700; }
.p2-source-links ul { padding-top: 12px; display: grid; gap: 8px; }
.p2-facts { display: grid; gap: 20px; margin-bottom: 24px; }
.p2-facts dt { font-weight: 900; margin-bottom: 6px; }
.p2-facts dd { line-height: 1.7; }
.p2-home-section { padding-top: 72px; padding-bottom: 72px; }
.p2-home-cta { padding: 64px 0; }
.p2-home-cta h2 { color: inherit; }
.p2-on-blue { border-color: var(--white); }
/* Keep the established navigation height, colour, logo, and upright lettering. */
.site-nav .p2-desktop-navigation { gap: clamp(16px,1.7vw,28px); align-items: center; }
.p2-nav-link { display: flex; align-items: center; gap: 6px; min-height: 44px; position: relative; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.p2-desktop-navigation > .p2-nav-link, .p2-desktop-navigation > .p2-dropdown > .p2-nav-link { padding: 28px 0; color: var(--speechforces-blue) !important; }
.p2-nav-link::after { content: ''; position: absolute; bottom: 15px; left: 0; right: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .18s ease; }
.p2-nav-link:hover::after, .p2-nav-link[aria-current="page"]::after { transform: scaleX(1); }
.p2-dropdown { position: relative; }
.p2-dropdown-panel { position: absolute; top: 100%; left: -20px; min-width: 285px; padding: 12px; background: var(--white); border: 2px solid var(--speechforces-blue); z-index: 55; }
.p2-dropdown-panel a, .p2-dropdown-panel button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 12px; min-height: 44px; text-align: left; font-size: 12px; font-weight: 700; color: var(--speechforces-blue) !important; }
.site-nav .p2-dropdown-panel button { padding: 13px 12px; }
.p2-dropdown-panel a:hover, .p2-dropdown-panel button:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 6px; }
.p2-submenu { padding-left: 12px; margin-left: 12px; border-left: 2px solid var(--yellow); }
.p2-mobile-navigation { padding: 16px; overflow-y: auto; }
.p2-mobile-navigation .p2-nav-link { padding: 12px; color: var(--white); }
.p2-mobile-navigation .p2-dropdown-panel { position: static; min-width: 0; margin: 4px 0 12px; }
.p2-mobile-navigation > .p2-action { margin-top: 16px; }
@media (max-width:1279px) {
  .site-nav .p2-desktop-navigation { display:none !important; }
  .site-nav button[aria-controls="mobile-navigation"] { display:block !important; }
  .site-nav #mobile-navigation { display:block !important; }
}
@media (min-width:1280px) {
  .site-nav .p2-desktop-navigation { display:flex !important; }
  .site-nav button[aria-controls="mobile-navigation"], .site-nav #mobile-navigation { display:none !important; }
}
@media (max-width:900px) {
  .p2-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .p2-competition-intro, .p2-about-intro { grid-template-columns:1fr; gap:28px; }
}
@media (max-width:600px) {
  .p2-edition-list { grid-template-columns:1fr; }
  .p2-grid, .p2-video-grid { grid-template-columns:1fr; }
  .p2-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .p2-gallery img { height:180px; }
  .p2-card-copy { padding:24px; }
  .p2-page { padding-top:32px; padding-bottom:56px; }
  .p2-tabs { gap:8px; }
  .p2-tabs .p2-action { padding:10px 12px; }
  .p2-home-section { padding-top:48px; padding-bottom:48px; }
}
