.training-schedule { padding-top: 2.75rem; }
.training-schedule__intro { display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; margin-bottom:1.5rem; }
.training-schedule__intro h2 { margin:.35rem 0 .65rem; }
.training-schedule__intro p { margin:0; }
.training-schedule__updated { color:var(--color-text-secondary); font-size:.9rem; white-space:nowrap; }
.training-schedule__instructors { margin:1.25rem 0 1.5rem; padding:1.25rem 1.4rem; border:1px solid var(--color-border-subtle,#d9e1e8); border-left:4px solid var(--color-brand-accent,#0097c8); background:linear-gradient(110deg,#f5f8fa,#fff 70%); border-radius:var(--radius-sm,6px); }
.training-schedule__instructors h2 { margin:0 0 .65rem; font-size:clamp(1.25rem,2vw,1.65rem); }
.training-schedule__instructors p { margin:.35rem 0 0; }
.training-schedule__filters { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:1rem; padding:1.15rem; margin:1.5rem 0 1rem; background:var(--color-bg-subtle,#f2f5f7); border:1px solid var(--color-border-subtle,#d9e1e8); border-radius:var(--radius-sm,6px); }
.training-schedule__filter { display:flex; flex-direction:column; gap:.4rem; }
.training-schedule__filter label { font-weight:600; color:var(--color-text-primary,#001a2e); }
.training-schedule__filter select { min-height:44px; padding:.55rem .7rem; border:1px solid #aebbc5; border-radius:4px; background:#fff; color:var(--color-text-primary,#001a2e); font:inherit; }
.training-schedule__time-note { font-size:.9rem; margin:.5rem 0; }
.training-schedule__scroll-hint { font-size:.88rem; margin:.75rem 0; color:var(--color-text-secondary); }
.training-schedule__scroll { width:100%; overflow:auto; overscroll-behavior-inline:contain; border:1px solid var(--color-border-subtle,#d9e1e8); border-radius:var(--radius-sm,6px); background:#fff; }
.training-schedule__scroll:focus-visible { outline:3px solid var(--color-border-focus,#008fc7); outline-offset:2px; }
.training-schedule__table { width:100%; min-width:1085px; border-collapse:separate; border-spacing:0; table-layout:fixed; }
.training-schedule__table caption { text-align:left; }
.training-schedule__table th,.training-schedule__table td { border-right:1px solid #e3e9ee; border-bottom:1px solid #e3e9ee; padding:.65rem .45rem; vertical-align:top; text-align:left; }
.training-schedule__table thead th { position:sticky; top:0; z-index:2; background:#eaf1f5; color:#001a2e; font-size:.83rem; }
.training-schedule__table thead th:first-child { z-index:4; }
.training-schedule__programme-head,.training-schedule__programme-cell { width:205px; min-width:205px; }
.training-schedule__table { --schedule-programme-width:205px; --schedule-month-width:64px; --schedule-enquiry-width:105px; }
.training-schedule__programme-column { width:var(--schedule-programme-width); }
.training-schedule__month-column { width:auto; }
.training-schedule__enquiry-column { width:var(--schedule-enquiry-width); }
.training-schedule__enquiry-head,.training-schedule__enquiry-cell { width:105px; min-width:105px; }
.training-schedule__table th[data-month-column],.training-schedule__month-cell { width:auto; min-width:64px; }
.training-schedule__programme-cell { position:sticky; left:0; z-index:1; background:#fff; }
.training-schedule__table thead .training-schedule__programme-head { left:0; }
.training-schedule__programme-cell > a { display:block; color:var(--color-text-primary,#001a2e); font-size:.95rem; font-weight:750; text-decoration:none; text-underline-offset:2px; transition:color .18s ease; }
.training-schedule__programme-name { display:block; margin-top:.2rem; color:#334b5a; font-size:.76rem; line-height:1.3; font-weight:650; }
.training-schedule__programme-delivery { display:inline-block; width:max-content; max-width:100%; margin-top:.38rem; padding:.12rem .38rem; border:1px solid #91b8c8; border-radius:3px; background:#eaf6fa; color:#00354d; font-size:.68rem; line-height:1.3; font-weight:650; white-space:nowrap; }
.training-schedule__definitions { display:flex; flex-wrap:wrap; gap:.5rem 1.25rem; margin:.35rem 0 .7rem; padding:.55rem .75rem; border-left:3px solid var(--color-brand-accent,#0097c8); background:#f2f7f9; }
.training-schedule__definitions p { margin:0; font-size:.84rem; color:#334b5a; }
.training-schedule__definitions strong { color:#001a2e; }
.training-schedule__definition-times { display:inline-block; margin-top:.15rem; color:#53636d; font-size:.78rem; }
.training-schedule__session { margin:.1rem 0 .55rem; line-height:1.25; }
.training-schedule__date { display:block; color:#001a2e; font-size:.86rem; font-weight:650; white-space:normal; overflow-wrap:anywhere; }
.training-schedule__enquiry-cell a { color:#005d86; font-size:.8rem; font-weight:600; line-height:1.3; text-underline-offset:2px; }
.training-schedule__table tr:last-child th,.training-schedule__table tr:last-child td { border-bottom:0; }
.training-schedule__table th:last-child,.training-schedule__table td:last-child { border-right:0; }
.training-schedule__result { margin:.7rem 0; color:var(--color-text-secondary); font-size:.9rem; }
.training-schedule__no-results { padding:1rem; border-left:4px solid var(--color-brand-accent,#0097c8); background:#f2f7f9; }
.training-schedule__year-notice[hidden] { display:none !important; }
.training-schedule__disclaimer { margin-top:1.4rem; padding:1rem 1.2rem; background:#f1f6f8; border-left:4px solid var(--color-brand-accent,#0097c8); }
.training-schedule__disclaimer p + p { margin-top:.45rem; }
/* Keep the delivery legend compact above the annual schedule matrix. */
.training-schedule__definitions { display:flex; flex-wrap:wrap; gap:.5rem 1.25rem; margin:.35rem 0 .7rem; padding:.55rem .75rem; border-left:3px solid var(--color-brand-accent,#0097c8); background:#f2f7f9; }
.training-schedule__definitions p { margin:0; }
.training-schedule__actions { display:flex; flex-wrap:wrap; gap:.75rem; margin-top:1.5rem; }
.training-schedule__actions .btn { min-height:44px; }
.training-schedule__table [hidden] { display:none !important; }
@media(max-width:1439px) {
  .training-schedule__table { min-width:1085px; }
}
@media(max-width:900px) {
  .training-schedule__filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .training-schedule__programme-head,.training-schedule__programme-cell { width:195px; min-width:195px; }
  .training-schedule__table { --schedule-programme-width:195px; --schedule-month-width:68px; --schedule-enquiry-width:120px; }
  .training-schedule__programme-column { width:var(--schedule-programme-width); }
  .training-schedule__month-column { width:var(--schedule-month-width); }
  .training-schedule__enquiry-column { width:var(--schedule-enquiry-width); }
  .training-schedule__table th[data-month-column],.training-schedule__month-cell { width:68px; min-width:68px; }
  .training-schedule__enquiry-head,.training-schedule__enquiry-cell { width:120px; min-width:120px; }
  .training-schedule__table { min-width:1131px; }
  .training-schedule__intro { align-items:flex-start; flex-direction:column; gap:.6rem; }
}
@media(max-width:600px) {
  .training-schedule__filters { grid-template-columns:1fr 1fr; padding:.85rem; gap:.75rem; }
  .training-schedule__filter--period { grid-column:1/-1; }
  .training-schedule__definitions { grid-template-columns:1fr; }
  .training-schedule__table { min-width:1090px; }
  .training-schedule__programme-head,.training-schedule__programme-cell { width:190px; min-width:190px; }
  .training-schedule__table { --schedule-programme-width:190px; --schedule-month-width:65px; --schedule-enquiry-width:120px; }
  .training-schedule__programme-column { width:var(--schedule-programme-width); }
  .training-schedule__month-column { width:var(--schedule-month-width); }
  .training-schedule__enquiry-column { width:var(--schedule-enquiry-width); }
  .training-schedule__table th[data-month-column],.training-schedule__month-cell { width:65px; min-width:65px; }
  .training-schedule__enquiry-head,.training-schedule__enquiry-cell { width:120px; min-width:120px; }
  .training-schedule__date { font-size:.8rem; }
  .training-schedule__actions { flex-direction:column; }
  .training-schedule__actions .btn { width:100%; }
}


/* Training Schedule hero and restrained interaction feedback. */
.dcaa-photo-hero--schedule { --dcaa-hero-image:url('/images/heroes/dcaa-training-schedule-planner.webp'); }
.training-schedule__programme-cell a:focus-visible,
.training-schedule__enquiry-cell a:focus-visible {
  color:var(--color-brand-accent,#008fc7);
  text-decoration:underline;
  outline:3px solid var(--color-border-focus,#008fc7);
  outline-offset:2px;
  border-radius:2px;
}
.training-schedule__session {
  padding:.18rem .22rem;
  border-radius:4px;
  transition:background-color .16s ease,box-shadow .16s ease;
}
.training-schedule__session:focus-within {
  background-color:#eaf6fa;
  box-shadow:inset 2px 0 0 var(--color-brand-accent,#008fc7);
}
@media (hover:hover) and (pointer:fine) {
  .training-schedule__programme-cell a:hover {
    color:var(--color-brand-accent,#008fc7);
    text-decoration:underline;
  }
  .training-schedule__session:hover {
    background-color:#eaf6fa;
    box-shadow:inset 2px 0 0 var(--color-brand-accent,#008fc7);
  }
}
@media (prefers-reduced-motion:reduce) {
  .training-schedule__programme-cell a,
  .training-schedule__session { transition:none; }
}


/* PR #39 approved refinements: preserve the photo and keep mobile filters in one column. */
.dcaa-photo-hero--schedule { --dcaa-mobile-focal-x:.55; --dcaa-mobile-focal-y:.48; }
.dcaa-photo-hero--schedule .dcaa-mobile-hero-media::after { display:none; }
.training-schedule__filters { box-sizing:border-box; min-width:0; }
.training-schedule__filter { min-width:0; }
.training-schedule__filter select { width:100%; max-width:100%; min-width:0; box-sizing:border-box; }
@media (max-width:900px) {
  .training-schedule__filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px) {
  .training-schedule__filters { grid-template-columns:minmax(0,1fr); }
  .training-schedule__filter--period { grid-column:auto; }
}


/* Operations refinements: fixed programme width, inline enquiry CTA, readable annual view. */
.training-schedule__enquiry-column,
.training-schedule__enquiry-head,
.training-schedule__enquiry-cell { display:none !important; }
.training-schedule__table {
  --schedule-programme-width: 236px;
  --schedule-month-width: 78px;
  width:100%;
  min-width:1188px;
  table-layout:fixed;
}
.training-schedule__programme-column { width:var(--schedule-programme-width); }
.training-schedule__programme-head,
.training-schedule__programme-cell { width:var(--schedule-programme-width); min-width:var(--schedule-programme-width); }
.training-schedule__table th[data-month-column],
.training-schedule__month-cell { width:var(--schedule-month-width); min-width:var(--schedule-month-width); }
/* Keep delivery and duration paired; place Enquire on its own aligned line below. */
.training-schedule__programme-meta { display:grid; grid-template-columns:max-content max-content; justify-content:start; align-items:center; column-gap:.22rem; row-gap:.3rem; margin-top:.42rem; }
.training-schedule__programme-delivery { margin-top:0; flex:0 0 auto; }
.training-schedule__programme-duration { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; padding:.12rem .24rem; border:1px solid #c9d6de; border-radius:3px; background:#f2f5f7; color:#334b5a; font-size:.68rem; line-height:1.15; font-weight:650; white-space:nowrap; }
.training-schedule__programme-cell .training-schedule__enquire {
  display:inline-flex;
  grid-column:1 / -1;
  justify-self:start;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:.18rem .25rem;
  border:1px solid #006b91;
  border-radius:3px;
  background:#fff;
  color:#005d86;
  font-size:.68rem;
  line-height:1.15;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.training-schedule__programme-cell .training-schedule__enquire:hover,
.training-schedule__programme-cell .training-schedule__programme-cell .training-schedule__enquire:focus-visible { background:#eaf6fa; color:#00354d; text-decoration:underline; }
.training-schedule__enquire:focus-visible { outline:3px solid #008fc7; outline-offset:2px; }
.dcaa-photo-hero--schedule::before {
  width:100%;
  background-size:cover;
  background-position:center;
  -webkit-mask-image:none;
  mask-image:none;
}
.dcaa-photo-hero--schedule .dcaa-mobile-hero-media::after { display:none !important; }
@media(min-width:1200px) {
  .training-schedule__table { min-width:0; }
  .training-schedule__programme-column { width:236px; }
  .training-schedule__table th[data-month-column],
  .training-schedule__month-cell { width:auto; min-width:68px; }
}
@media(max-width:1199px) {
  .training-schedule__table { min-width:1188px; }
}
@media(max-width:900px) {
  .training-schedule__table { --schedule-programme-width:220px; --schedule-month-width:72px; min-width:1084px; }
  .training-schedule__programme-head,
  .training-schedule__programme-cell { width:220px; min-width:220px; }
  .training-schedule__table th[data-month-column],
  .training-schedule__month-cell { width:72px; min-width:72px; }
}
@media(max-width:600px) {
  .training-schedule__table { --schedule-programme-width:190px; --schedule-month-width:65px; min-width:970px; }
  .training-schedule__programme-head,
  .training-schedule__programme-cell { width:190px; min-width:190px; }
  .training-schedule__table th[data-month-column],
  .training-schedule__month-cell { width:65px; min-width:65px; }
}


.dcaa-photo-hero--schedule {
  --dcaa-hero-image: url('/images/heroes/dcaa-training-schedule-desktop.webp');
  --dcaa-mobile-hero-image: url('/images/heroes/dcaa-training-schedule-mobile.webp');
  --dcaa-mobile-focal-x: .5;
  --dcaa-mobile-focal-y: .5;
}
.page-hero.dcaa-photo-hero.dcaa-photo-hero--schedule::before {
  content:"";
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:100%;
  background-image:var(--dcaa-hero-image) !important;
  background-size:cover !important;
  background-position:center right !important;
  -webkit-mask-image:none !important;
  mask-image:none !important;
}
.page-hero.dcaa-photo-hero.dcaa-photo-hero--schedule::after {
  display:block !important;
  background:linear-gradient(90deg,#001A2E 0%,rgba(0,26,46,.96) 27%,rgba(0,26,46,.82) 39%,rgba(0,26,46,.44) 53%,rgba(0,26,46,.08) 72%,rgba(0,26,46,0) 100%) !important;
}
/* Preserve the mobile text-first hero; its photo remains in the dedicated media row. */
@media(max-width:767px) {
  .page-hero.dcaa-photo-hero.dcaa-photo-hero--schedule::before { display:none !important; }
  .page-hero.dcaa-photo-hero.dcaa-photo-hero--schedule::after {
    display:block !important;
    position:relative;
    inset:auto;
    width:100%;
    height:clamp(220px,62vw,480px);
    background:var(--dcaa-mobile-hero-image) center/cover no-repeat !important;
    box-shadow:none !important;
  }
  .page-hero.dcaa-photo-hero.dcaa-photo-hero--schedule.dcaa-photo-hero--mobile-ready::after { display:none !important; }
  .dcaa-photo-hero--schedule .dcaa-mobile-hero-media { display:block; }
  .dcaa-photo-hero--schedule .dcaa-mobile-hero-media::after { display:none !important; }
  .dcaa-photo-hero--schedule .dcaa-mobile-hero-media img { display:block; }
}

/* Keep the fixed Programme and month widths inclusive of their cell padding. */
.training-schedule__table th,.training-schedule__table td { box-sizing:border-box; }
