/*  Adult Learning 2026 Landing Page
–––––––––––––––––––––––––––––––––––––––––––––––––– */ 

.lp-adult-learning-header {
    height: 700px;
    background: #160007;
    background: linear-gradient(135deg,rgba(22, 0, 7, 1) 0%, rgba(69, 11, 34, 1) 50%, rgba(87, 24, 49, 1) 100%); }

.lp-adult-learning-header:after {
    content: '';
    width: 100%;
    height: 700px;
    position: absolute;
    bottom: 0;
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 100;
    background-image: url("/_images/misc/landing-pages/bg-adult-learning-curve-002.png"); }

@media (min-width:240px) and (max-width:767px) {   
    .lp-adult-learning-header { height: 500px; }
    .lp-adult-learning-header:after { background-size: 1500px 500px; }
    }
    
.lp-adult-learning-bg {
    position: relative;
    background: linear-gradient(135deg,rgba(22, 0, 7, 1) 0%, rgba(69, 11, 34, 1) 50%, rgba(87, 24, 49, 1) 100%); 
    padding: 4rem 1.5rem;     /* generous top/bottom breathing room */ }

/* Top dashed line */

.lp-adult-learning-bg::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    border-top: 3px dashed #801e49;
    pointer-events: none; }

/* Bottom dashed line */

.lp-adult-learning-bg::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    border-top: 3px dashed #801e49;  /* still border-top because we just need one line */
    pointer-events: none; }
    
/* Heart of Yorkshire — responsive feature grid (1 title card + 4 reason cards) */

/* Mobile default: 2-column grid, title card spans the full width */
.hoy-feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr; }

.hoy-feature-grid > :first-child {
    grid-column: 1 / -1;  /* title spans both columns */ }

/* Tablet: 3-column grid, title spans 2 rows on the left */
@media (min-width: 768px) {
  .hoy-feature-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .hoy-feature-grid > :first-child {
    grid-column: auto;        /* reset the column-span */
    grid-row: 1 / span 2;     /* now span 2 rows instead */
  }
}

/* Desktop: 5-column grid, title is just one cell again */
@media (min-width: 992px) {
  .hoy-feature-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .hoy-feature-grid > :first-child {
    grid-row: auto;
  }
}

/* The cards themselves */

.hoy-feature-card {
    position: relative;
    background: linear-gradient(135deg, #4a0e22 0%, #2a0712 100%);
    color: #fff;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    text-align: center;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; }

.hoy-feature-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 3px dashed #801e49;
    border-radius: 5px; 
    pointer-events: none; }

/* Title-card variant — left-aligned heading instead of centred icon */

.hoy-feature-card--title {
    text-align: left;
    align-items: flex-start;
    padding: 2.5rem; }

.hoy-feature-card--title > * {
    position: relative;  /* sit above the dashed ::before frame */ }

/* Step Grid */
    
.hoy-steps-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .hoy-steps-grid {
    grid-template-columns: repeat(3, 1fr);   /* tablet & desktop: 3 across, equal width */
  }
}

/* Mobile: 2-column grid, title spans full width */
.hoy-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.hoy-feature-grid > :first-child {
  grid-column: 1 / -1;        /* title spans both columns */
}

/* Tablet & up: 4 columns, title spans 2 rows on the left */
@media (min-width: 768px) {
  .hoy-feature-grid {
    grid-template-columns: repeat(4, 1fr);   /* was repeat(3, 1fr) */
  }
  .hoy-feature-grid > :first-child {
    grid-column: auto;        /* reset column-span */
    grid-row: 1 / span 2;     /* title spans both rows */
  }
}

.cta a { color: rgba(255, 255, 255, 0.85) !important; font-family: "CaustenRound-Black"; }
.cta a:hover { color: rgba(255, 255, 255, 1) !important; }