/* Homepage: distinct reading compositions, using the shared OnlineCourse identity. */
.oc-home .oc-home-masthead{
  display:block;max-width:none;margin:0;min-height:0;
  padding:clamp(2.5rem,5vw,4.5rem) var(--oc-gutter) clamp(3rem,5vw,4.5rem)!important;
}
.oc-home .oc-home-masthead .oc-home-copy{
  width:min(100%,61rem);max-width:61rem!important;margin:0 auto!important;padding:0!important;
}
.oc-home .oc-home-copy>div{max-width:none}
.oc-home .oc-home-copy h1{
  max-width:none;font-size:clamp(2.75rem,5.3vw,4.7rem);line-height:1.07;
}
.oc-home .oc-home-copy .mt-10{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 2.25rem;
  max-width:none;margin-top:1.75rem;
}
.oc-home .oc-home-copy .mt-10>div{margin:0;align-items:flex-start;min-width:0}
.oc-home .oc-home-copy .mt-10>div>div:first-child{margin-top:2px}
.oc-home .oc-home-copy .mt-8.flex{
  flex-direction:row;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1.75rem;
}
.oc-home .oc-home-masthead .oc-home-visual{
  display:block;position:relative!important;inset:auto!important;width:min(100%,61rem);
  height:auto;min-height:0;max-height:550px;aspect-ratio:1672/941;object-fit:contain;
  margin:2.5rem auto 0;border-radius:3px;background:var(--oc-media);
}

/* Two coherent choices, with images, copy and links kept inside each article. */
.oc-home .oc-home-choices{width:100%;max-width:var(--oc-page);margin-inline:auto;padding:64px var(--oc-gutter) 80px}
.oc-home .oc-home-section-heading{max-width:none;margin:0 0 40px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:12px 48px;align-items:end}
.oc-home .oc-home-choice-eyebrow{grid-column:1/-1;font-size:12px;line-height:1.5;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:var(--oc-action);margin:0}
.oc-home .oc-home-section-heading h2{font-size:clamp(30px,3.2vw,42px);line-height:1.16;letter-spacing:-.035em;max-width:26ch;margin:0}
.oc-home .oc-home-choice-intro{font-size:17px;line-height:1.7;color:var(--oc-muted);margin:0 0 4px;max-width:32ch}
.oc-home .oc-home-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;max-width:none;margin:0;padding:0;border:0}
.oc-home .oc-home-choice{display:flex;flex-direction:column;min-width:0;margin:0;padding:0;overflow:visible;box-shadow:none;border:0;border-radius:0;aspect-ratio:auto;background:transparent}
.oc-home .oc-home-choice-photo{margin:0 0 28px;overflow:hidden;border-radius:3px;background:var(--oc-wash)}
.oc-home .oc-home-choice .oc-home-choice-image{display:block;position:static;width:100%;height:auto;max-width:none;aspect-ratio:1672/941;object-fit:contain;transform:none}
.oc-home .oc-home-choice-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;position:static;min-width:0;padding:0;margin:0}
.oc-home .oc-home-choice-label{color:var(--oc-action);font-size:12px;line-height:1.5;font-weight:650;letter-spacing:.1em;text-transform:uppercase;margin:0 0 12px}
.oc-home .oc-home-choice-copy h3{font-family:var(--font-body);font-weight:750;color:var(--oc-ink);font-size:clamp(27px,2.6vw,34px);line-height:1.2;letter-spacing:-.035em;max-width:25ch;margin:0 0 20px}
.oc-home .oc-home-choice-description{font-size:16px;line-height:1.75;color:var(--oc-muted);max-width:55ch;margin:0 0 24px}
.oc-home .oc-home-choice-action{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:48px;margin-top:auto;padding:11px 0;font-family:var(--font-body);font-size:15px;font-weight:650;line-height:1.6;color:var(--oc-action);background:transparent;text-decoration:none;border-bottom:1px solid var(--oc-border);transition:none}
.oc-home .oc-home-choice-action svg{flex-shrink:0}
.oc-home .oc-home-choice-action:is(:hover,:focus-visible,:active){color:var(--oc-action-hover);background:transparent;border-color:var(--oc-action-hover);text-decoration:underline;text-underline-offset:5px}
.oc-home .oc-home-choice-action:focus-visible{outline:2px solid var(--oc-ink);outline-offset:5px;border-radius:1px}
@media(max-width:1000px){
 .oc-home .oc-home-choice-list{gap:32px}
 .oc-home .oc-home-section-heading{grid-template-columns:minmax(0,1fr);gap:12px}
 .oc-home .oc-home-choice-intro{max-width:55ch}
}
@media(max-width:700px){
 .oc-home .oc-home-choices{padding:44px 24px 56px}
 .oc-home .oc-home-section-heading{margin-bottom:32px}
 .oc-home .oc-home-section-heading h2{font-size:clamp(28px,6vw,36px)}
 .oc-home .oc-home-choice-list{grid-template-columns:minmax(0,1fr);gap:40px}
 .oc-home .oc-home-choice+.oc-home-choice{padding-top:32px;border-top:var(--oc-rule)}
 .oc-home .oc-home-choice-photo{margin-bottom:24px}
 .oc-home .oc-home-choice-copy h3{font-size:29px;line-height:1.22;margin-bottom:16px}
 .oc-home .oc-home-choice-description{margin-bottom:20px}
 .oc-home .oc-home-choice-action{margin-top:0}
}

/* A company-training reading spread with a compact, separate photographic gallery. */
.oc-home .oc-home-company-layout{
  display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
  column-gap:clamp(2.5rem,5vw,5.5rem);row-gap:2.5rem;
}
.oc-home .oc-home-company-intro{grid-column:1;grid-row:1;max-width:none;margin:0}
.oc-home .oc-home-company-intro h2{font-size:clamp(2rem,3vw,2.9rem);max-width:15ch}
.oc-home .oc-home-company-intro>p:last-child{max-width:35ch;font-size:16px;line-height:1.7}
.oc-home .oc-home-company-reading{grid-column:2;grid-row:1;min-width:0}
.oc-home .oc-home-company-group{display:block;margin:0;min-width:0}
.oc-home .oc-home-company-group+.oc-home-company-group{margin-top:2.75rem}
.oc-home .oc-home-company-group-copy>h3{font-family:var(--font-body);font-size:1.4rem;font-weight:650;line-height:1.3}
.oc-home .oc-home-benefit-list{margin-top:1.1rem}
.oc-home .oc-home-benefit-list>.oc-home-benefit{margin:0;padding:1.15rem 0;border-top:var(--oc-rule);gap:1rem}
.oc-home .oc-home-benefit>div:last-child{min-width:0}
.oc-home .oc-home-benefit>div:first-child{flex-shrink:0}
.oc-home .oc-home-company-gallery{
  grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;min-width:0;
}
.oc-home .oc-home-company-image{aspect-ratio:1672/941;border-radius:3px;order:initial;overflow:hidden;min-width:0}
.oc-home .oc-home-company-image img{display:block;width:100%;height:auto;object-fit:contain}
.oc-home .oc-home-company-action{grid-column:2;margin:0;text-align:left}

/* Individual learning reads as two chapters: open benefit columns, then a full image. */
.oc-home .oc-home-individual{background:var(--oc-paper)}
.oc-home .oc-home-individual-intro{max-width:52rem;margin:0 0 3rem}
.oc-home .oc-home-individual-intro h2{max-width:24ch}
.oc-home .oc-home-individual-intro>p:last-child{max-width:68ch}
.oc-home .oc-home-workshop-chapter{display:flex;flex-direction:column;align-items:stretch;gap:2rem;margin:0}
.oc-home .oc-home-workshop-chapter+.oc-home-workshop-chapter{margin-top:3.5rem}
.oc-home .oc-home-workshop-copy{order:initial;min-width:0;border-top:var(--oc-rule);padding-top:1.5rem}
.oc-home .oc-home-workshop-copy>h3{font-family:var(--font-body);font-size:1.4rem;font-weight:650;line-height:1.3}
.oc-home .oc-home-workshop-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin-top:1.5rem}
.oc-home .oc-home-workshop-benefits>.oc-home-benefit{margin:0;gap:.85rem;align-items:flex-start;min-width:0}
.oc-home .oc-home-workshop-benefits>.oc-home-benefit>div:first-child{width:24px;height:24px;background:transparent;border-radius:0}
.oc-home .oc-home-workshop-benefits p{font-size:15px;line-height:1.7}
.oc-home .oc-home-workshop-benefits p:first-child{font-size:16px;line-height:1.4}
.oc-home .oc-home-workshop-image{
  order:initial;align-self:flex-start;width:min(100%,51rem);aspect-ratio:1672/941;
  max-height:460px;border-radius:3px;overflow:hidden;
}
.oc-home .oc-home-workshop-image img{display:block;width:100%;height:auto;object-fit:contain}
.oc-home .oc-home-workshop-chapter+.oc-home-workshop-chapter .oc-home-workshop-image{align-self:flex-end}
.oc-home .oc-home-individual-action{margin:2.5rem 0 0;text-align:right}

/* The final action and common questions have different shapes and pacing. */
.oc-home .oc-home-inquiry{background:var(--oc-ink);padding-top:clamp(3rem,5vw,4.5rem);padding-bottom:clamp(3rem,5vw,4.5rem)}
.oc-home .oc-home-inquiry-layout{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  gap:1rem 3rem;max-width:var(--oc-page);margin-inline:auto;
}
.oc-home .oc-home-inquiry-layout h2{grid-column:1;grid-row:1;margin:0;color:var(--oc-paper);max-width:none}
.oc-home .oc-home-inquiry-layout>p{grid-column:1;grid-row:2;max-width:52ch;margin:0;color:var(--oc-paper);font-size:16px}
.oc-home .oc-home-inquiry-layout>div{grid-column:2;grid-row:1/3;margin:0}
.oc-home .oc-home-faq{
  display:grid;grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);
  gap:clamp(2.5rem,5vw,5rem);max-width:var(--oc-page);align-items:start;
}
.oc-home .oc-home-faq-intro{max-width:none;margin:0}
.oc-home .oc-home-faq>.oc-home-faq-intro,.oc-home .oc-home-faq>.oc-home-faq-list{padding-top:0;padding-bottom:0}
.oc-home .oc-home-faq-intro h2{max-width:13ch}
.oc-home .oc-home-faq-intro>p{max-width:32ch}
.oc-home .oc-home-faq-list{max-width:none;width:100%;min-width:0;margin:0}
.oc-home .oc-home-faq-list .faq-content p{max-width:70ch}

@media(max-width:1023px){
  .oc-home .oc-home-company-layout{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);column-gap:2rem}
  .oc-home .oc-home-workshop-benefits{grid-template-columns:1fr;gap:0}
  .oc-home .oc-home-workshop-benefits>.oc-home-benefit{padding:1rem 0;border-top:var(--oc-rule)}
  .oc-home .oc-home-workshop-benefits>.oc-home-benefit:first-child{border-top:0;padding-top:0}
  .oc-home .oc-home-workshop-benefits p{max-width:70ch}
  .oc-home .oc-home-faq{grid-template-columns:1fr;gap:2rem}
  .oc-home .oc-home-faq-intro>p{max-width:62ch}
}
@media(max-width:767px){
  .oc-home .oc-home-copy .mt-10{grid-template-columns:1fr;gap:1rem}
  .oc-home .oc-home-company-layout{display:block}
  .oc-home .oc-home-company-intro{margin-bottom:2.5rem}
  .oc-home .oc-home-company-intro h2{max-width:22ch}
  .oc-home .oc-home-company-intro>p:last-child{max-width:65ch}
  .oc-home .oc-home-company-gallery{margin-top:2rem}
  .oc-home .oc-home-company-action{margin-top:2rem}
  .oc-home .oc-home-inquiry-layout{display:block}
  .oc-home .oc-home-inquiry-layout>p{margin-top:1.25rem}
  .oc-home .oc-home-inquiry-layout>div{margin-top:1.75rem}
}
@media(max-width:639px){
  .oc-home .oc-home-copy h1{font-size:clamp(2.5rem,9.8vw,3.8rem)}
  .oc-home .oc-home-copy .mt-8.flex{flex-direction:column;align-items:stretch}
  .oc-home .oc-home-masthead .oc-home-visual{margin-top:2rem}
  .oc-home .oc-home-company-gallery{gap:.75rem}
  .oc-home .oc-home-workshop-chapter{gap:1.5rem}
  .oc-home .oc-home-workshop-chapter+.oc-home-workshop-chapter{margin-top:2.5rem}
  .oc-home .oc-home-individual-action{text-align:left}
  .oc-home .oc-home-individual-intro{margin-bottom:2rem}
}
