/* Training page: programmes at a glance (same layout as the training catalogue) */
.ov-intro { font-family: 'Montserrat', sans-serif; font-size: 1rem; line-height: 1.65; color: var(--dark-grey); max-width: 60ch; margin: 0 0 36px; }
.ov-grid { display: flex; flex-direction: column; gap: 28px; }
.ov-card { background: #fff; }
.ov-head { background: #F0F0F0; border-left: 5px solid var(--yellow); padding: 20px 24px 18px; }
.ov-head h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 1.6rem; color: var(--purple); margin: 0 0 6px; }
.ov-head p { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; line-height: 1.55; color: var(--dark-grey); margin: 0; max-width: 60ch; }
.ov-rows { margin: 0; padding: 0 0 0 5px; }
.ov-row { display: grid; grid-template-columns: minmax(180px, 30%) 1fr; gap: 24px; padding: 14px 24px; border-bottom: 1px solid #E4E0EA; }
.ov-row dt { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.95rem; line-height: 1.45; color: var(--purple); }
.ov-row dd { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 0.92rem; line-height: 1.55; color: var(--dark-grey); max-width: 56ch; }
.ov-row > dt:only-child { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .ov-head { padding: 18px 18px 16px; }
  .ov-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
}

/* Training page hero: same layout as the catalogue cover */
.tr-hero { padding: 0; overflow: hidden; }
.tr-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 560px; }
.tr-hero-text { padding: 96px 0 88px; align-self: center; }
.tr-hero-text .page-hero-heading { font-weight: 400; }
.tr-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.tr-chips a { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--white); text-decoration: none; border: 1.5px solid var(--yellow); border-radius: 999px; padding: 8px 20px; transition: background-color 0.15s ease, color 0.15s ease; }
.tr-chips a:hover, .tr-chips a:focus-visible { background: var(--yellow); color: var(--purple); }
.tr-hero-photo { background-image: url('/assets/training-hero.webp?v=1'); background-size: cover; background-position: center 12%; background-repeat: no-repeat; min-height: 420px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 38%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 14%, #000 80%, transparent 100%);
  mask-composite: intersect; }
.ov-card { scroll-margin-top: 96px; }
@media (max-width: 860px) {
  .tr-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .tr-hero-text { padding: 64px 0 8px; }
  .tr-hero-photo { min-height: 380px; margin: 0 -32px; background-position: center 10%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 82%, transparent 100%); }
}
