/* Homepage-only placement; card interior reuses exact live /itps .learning-card and .resource-row styles. */
.home-catalog-match{margin-top:20px;padding-top:12px}
.home-catalog-match .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.home-catalog-match .event-card{min-width:0}
.home-catalog-match .event-labels{flex-wrap:wrap}
.home-catalog-match .event-copy h3{overflow-wrap:break-word}
.home-resource-ideas{margin-top:36px}
@media(max-width:800px){
 .home-catalog-match .cards{grid-template-columns:1fr}
 .home-catalog-match{margin-top:16px}
 .home-resource-ideas{margin-top:22px}
}

/* 9 Nov feedback: section titles, workshop badges and accents. */
#home-workshops .catalog-heading h2,
#home-programmes-catalog .catalog-heading h2 {
  display:inline-flex;align-items:center;
  width:auto;min-width:0;
  border-radius:10px;
  padding:11px 19px;
  font-size:clamp(24px,2.4vw,29px);
  line-height:1.2;
}
#home-workshops .catalog-heading h2 {
  background:#ffb17e;
  color:#2e294e;
}
#home-programmes-catalog .catalog-heading h2 {
  background:#49368f;
  color:#fff;
}
#home-workshops .event-labels .format-label {
  background:#ffb17e;
  border-color:#ffb17e;
  color:#2e294e;
}
#home-workshops .event-labels .price-label {
  border-color:#f0b081;
  background:#fff1e7;
  color:#49368f;
}
@media(max-width:540px){
 #home-workshops .catalog-heading h2,
 #home-programmes-catalog .catalog-heading h2{
   font-size:24px;
   padding:10px 15px;
 }
}

/* Full-width existing programme banner now lives beneath the Programmes heading. */
#home-programmes-catalog .fce-home-promotion{width:100%;box-sizing:border-box;margin:0}
#home-programmes-catalog .fce-promotion-main{grid-template-columns:minmax(0,1fr) minmax(270px,350px);gap:30px}
#home-programmes-catalog .fce-promotion-action{display:flex;flex-direction:column;align-items:stretch;gap:11px}
#home-programmes-catalog .fce-promotion-action a.button{width:100%;box-sizing:border-box;white-space:normal;text-align:left;line-height:1.4;justify-content:space-between;min-height:48px}
#home-programmes-catalog a.programme-webinar-cta{background:#fff;border:1px solid #49368f;color:#49368f}
#home-programmes-catalog a.programme-webinar-cta:hover{background:#e6def6}
#home-programmes-catalog .fce-promotion-action p{font-size:12px;line-height:1.45;margin:2px 0 0}
@media(max-width:800px){#home-programmes-catalog .fce-promotion-main{grid-template-columns:1fr;gap:18px}#home-programmes-catalog .fce-promotion-action{display:flex;align-items:stretch}}

/* Three ways to work with Four Corners, directly under the homepage header. */
.home-offers {
  padding: clamp(18px, 2.8vw, 38px) 0 clamp(22px, 3vw, 44px);
  color: #302b4e;
}
.home-offers-audience {
  margin: 0 0 15px;
  font-weight: 700;
  font-size: 1rem;
  color: #504769;
}
.home-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
}
.home-offers .offer-link {
  --offer-tint: #e5caf1;
  --offer-body: #fbf7fe;
  --offer-line: #d8bce8;
  --offer-edge: #49368f;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--offer-line);
  border-top: 5px solid var(--offer-edge);
  border-radius: 14px;
  text-decoration: none;
  color: #302b4e;
  background: var(--offer-body);
}
.home-offers .offer-learning {
  --offer-tint: #ffdfc5;
  --offer-body: #fff8f1;
  --offer-line: #efc39f;
  --offer-edge: #ee995d;
}
.home-offers .offer-audit {
  --offer-tint: #d9cef0;
  --offer-body: #f8f5fc;
  --offer-line: #c9b9df;
  --offer-edge: #8970b8;
}
.offer-top {
  padding: 18px clamp(16px, 1.7vw, 25px);
  background: var(--offer-tint);
  min-height: 145px;
  box-sizing: border-box;
}
.offer-symbol-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}
.offer-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #fffaf4;
  color: #49368f;
}
.offer-symbol svg { width: 26px; height: 26px; }
.offer-free {
  padding: 5px 9px;
  border-radius: 5px;
  font-size: .77rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--orange);
}
.offer-name {
  display: block;
  font-size: clamp(1.3rem, 1.95vw, 1.85rem);
  letter-spacing: -.035em;
  line-height: 1.13;
}
.offer-content {
  display: flex;
  flex-direction: column;
  padding: 16px clamp(16px, 1.7vw, 25px);
  gap: 10px;
}
.offer-content p { color: #504769; margin: 0; line-height: 1.5; font-size: 1rem; }
.offer-facts { font-size: .85rem; font-weight: 700; line-height: 1.4; color: #49368f; }
.offer-action {
  margin-top: auto;
  border-top: 1px solid var(--offer-line);
  padding-top: 10px;
  color: #49368f;
  font-weight: 700;
  line-height: 1.3;
}
.offer-action span { margin-left: .25em; }
.offer-link:hover .offer-action, .offer-link:focus-visible .offer-action { text-decoration: underline; }
.offer-link:focus-visible { outline: 3px solid #49368f; outline-offset: 3px; }

@media (max-width: 760px) {
  .home-offers { padding: 16px 0 24px; }
  .home-offers-audience { margin-bottom: 10px; }
  .home-offers-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-offers .offer-link { border-top-width: 1px; border-left: 5px solid var(--offer-edge); }
  .offer-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 9px;
    padding: 10px 14px;
    min-height: 0;
  }
  .offer-symbol-row { display: contents; }
  .offer-symbol { width: 28px; height: 28px; }
  .offer-symbol svg { width: 21px; height: 21px; }
  .offer-name { font-size: 1.2rem; flex: 1; }
  .offer-free { order: 1; font-size: .73rem; }
  .offer-audit .offer-name { flex-basis: calc(100% - 47px); }
  .offer-audit .offer-free { margin-left: 37px; }
  .offer-content { padding: 9px 14px 12px; gap: 5px; }
  .offer-content p { font-size: .93rem; }
  .offer-action { padding-top: 4px; border: 0; font-size: .92rem; }
}

/* The header's global nav rules also match this independent service menu. */
.programmes-home > .home-offers { display: block; }
@media (min-width: 761px) {
  .home-offers-grid { grid-template-rows: auto 1fr; }
  .home-offers .offer-link { grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}


.home-offers .learning-destinations {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: .4rem;
}
.home-offers .learning-destinations a {
  display: inline-block;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.home-offers .learning-destinations a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
#home-workshops .event-copy + details { margin-top: 20px; }
#home-workshops details + details { margin-top: -20px; border-top: 0; }
#home-workshops .card-outcomes .audience-scope { margin: 12px 0 0; border-bottom: 0; padding-bottom: 0; }

#homepage-title .hero-audience {
  display: block;
  margin-top: 1rem;
  color: white;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: normal;
}
