/* Layout corrections to match live edzor.com (Framer): partners pages */

/* ---------- Course pages (src/pages/course.js: .ch hero, .cb body, .ct, .cf, .cc) ---------- */
/* Summary under the title shows on phones only when the course has rich overview text */
@media (min-width: 810px){ .ch-sum-ph{display:none} }
/* Rich text: live paragraphs sit 40px under the panel title, 20px apart, -0.32px tracking */
.cb-text p{letter-spacing:-0.32px}
.cb-text > p{margin-top:20px}
.cb-text > p:first-child{margin-top:40px}
/* Testimonials: 40px between quote and name, role in #333 */
.ct-card b{margin-top:40px}
.ct-card span{color:#333333}
.ct-card blockquote{letter-spacing:-0.32px}
/* FAQ on course pages: separate cards 20px apart, 40px vertical padding */
.cb ~ .cf .cf-item + .cf-item{margin-top:20px}
@media (min-width: 810px){
  .ct-eyebrow,.cb ~ .cf .cf-eyebrow{line-height:14.4px}
}
@media (min-width: 1200px){
  .cb{padding-bottom:60px}
  /* Hero facts: two fixed rows (mode, duration, hours / projects, certificate), 24px apart */
  .ch h1{max-width:777px}
  .ch-meta{column-gap:24px;row-gap:0;max-width:777px;margin-top:40px}
  .ch-meta li:nth-child(n+4){margin-top:24px}
  .ch-meta::after{content:"";order:1;flex-basis:100%;height:0}
  .ch-meta li:nth-child(n+4){order:2}
  .ch-btn{margin-top:60px}
  /* Side card: facts grid (mode, hours / duration, projects / certificate), 60px rhythm */
  .cb-facts{grid-template-columns:max-content 1fr;column-gap:24px;row-gap:24px;margin-top:60px}
  .cb-facts li:nth-child(1){order:1}.cb-facts li:nth-child(3){order:2}.cb-facts li:nth-child(2){order:3}.cb-facts li:nth-child(4){order:4}.cb-facts li:nth-child(5){order:5}
  .cb-dl{margin-top:70px}
  .cb-apply{margin-top:70px}
  .cb ~ .cf{padding-bottom:0}
  .cb ~ .cf .cf-item button{padding:40px 16px}
}
@media (max-width: 809.98px){
  .cb-panel h2{font-size:33px;line-height:46.2px}
  #tab-curriculum{min-width:206px}
  .ch-sum + .ch-meta{margin-top:40px}
  .ch-dl{margin-top:49px}
  .ch{padding-bottom:50px}
  .cb{padding-bottom:40px}
  .ct-eyebrow{padding:2px 0}
  .ct h2{margin-top:60px}
  .ct-grid{margin-top:60px}
  .ct-card{padding:24px 16px}
  .cb ~ .cf h2{margin-top:24px}
  /* CTA: tighter serif title, 24px rhythm, 40px bottom padding */
  .cc{padding-bottom:40px}
  .cc h2{line-height:48px}
  .cc p{margin-top:24px;font-weight:500;color:rgba(0,0,0,0.6)}
  .cc-btn{margin-top:24px}
}

/* ---------- Knowledge partner pages (src/pages/partner.js: .kp-*) ---------- */
.kp-intro h2{letter-spacing:-1.76px}
/* Tabs: compact title rows (44px), 16/24 body copy, 24px between tabs */
.kp-tablist{gap:24px}
.kp-tab .t{padding:1px 0 9px}
.kp-tab .c{font-size:16px;line-height:24px;letter-spacing:-0.16px}
.kp-tab .c > span{padding:0 0 8px}
.kp-card{border:0;box-shadow:inset 0 0 0 1px #E6E6E6}
@media (min-width: 1200px){
  /* Row is as tall as the 736px photo frame; copy sits at its bottom, photo frame shows its top 588px */
  .kp-tabs{padding-bottom:258px}
  .kp-tabs-row{align-items:end;min-height:736px}
  .kp-tabs .photo{align-self:start}
  .kp-tablist{margin-top:80px}
  .kp-grid{row-gap:40px}
}
@media (max-width: 809.98px){
  .kp-hero h1{line-height:48px;letter-spacing:-1.6px}
  .kp-hero p{margin-top:14px}
  .kp-hero .kp-btn{margin-top:48px}
  .kp-intro .kp-eyebrow{padding:2px 0;line-height:22.4px}
  .kp-intro h2{margin-top:60px}
  .kp-tabs .kp-eyebrow{padding:6px 0}
  .kp-tabs-row{margin-top:60px}
  .kp-tablist{margin-top:61px}
  .kp-tabs{padding-bottom:0}
  .kp-crs .kp-eyebrow{padding:6px 0}
  .kp-crs h2{margin-top:60px}
  .kp-cta h2{font-size:43px;line-height:51.6px;letter-spacing:-1.72px}
  .kp-cta h2 .kp-serif{font-size:44px}
  .kp-cta p{margin-top:24px;line-height:24px;letter-spacing:0.48px}
  .kp-cta .copy-logos{margin-top:60px}
}

/* ---------- Education partner detail (src/pages/education-partner.js: .eh/.ep/.ec/.eo) ---------- */
.eh-badge{line-height:16px;letter-spacing:1.28px;color:#01BA90}
.eh-badge svg{width:16px;height:16px}
.eh-desc{letter-spacing:-0.32px}
.eh-meta b{line-height:22.4px}
.eh-meta div{gap:3px}
/* Knowledge partner cards: borderless, logo box over a 2-line title and the link */
.ep-grid{display:flex;justify-content:center;flex-wrap:wrap;gap:60px 213px;margin-top:90px}
.ep-card{gap:0;padding:0;border:0;border-radius:0;width:max-content;max-width:222px}
.ep-card img{width:186px;height:90px}
.ep-card h3{margin-top:16px;max-width:222px}
.ep-card a{margin-top:27px}
.ep{padding-bottom:90px}
.ec-addr{letter-spacing:-0.28px}
.ec-card{padding-bottom:15px}
.eo-eyebrow{line-height:14.4px}
.eo-list{gap:20px}
.eo-groups{margin-top:60px;border-top:0}
.eo-group{padding:12px 0 36px}
.eo-group + .eo-group{margin-top:25px}
.eo-kp p{margin-top:11px}
.eo-course h3{font-weight:400}
.eo-course p.d{margin-top:11px;letter-spacing:-0.32px}
@media (min-width: 810px){
  .eh{padding-top:82px}
  .eh-logos{margin-top:43px}
  .eh-desc{margin-top:49px}
  .eh-meta{margin-top:43px}
}
@media (max-width: 809.98px){
  .eh-badge{font-size:14px;line-height:14px;letter-spacing:1.12px}
  .eh{padding-bottom:0}
  .ep h2{margin-top:60px}
  .eh-meta{gap:43px}
  .eh-status{min-height:28px}
  .eo-list{gap:60px}
  .ep-grid{flex-direction:column;align-items:center}
  .ep-card{max-width:206px}
}

/* ---------- Events list (src/pages/events.js: .evx-*) ---------- */
.evx .evx-sec > h2{margin-left:auto;margin-right:auto}
@media (max-width: 809.98px){
  .evx-hero h1{font-size:40px}
  .evx-hero h1 + p{font-size:16px;line-height:22.4px}
  .evx-card,.evx-card.soon{padding:23px 15px}
  .evx-card.soon .evx-sum{font-size:15px;line-height:22.5px;color:#475569}
  .evx-card.soon .evx-host{line-height:18.2px}
  .evx .evx-sec > h2{font-size:36px;line-height:39.6px;letter-spacing:-1.08px}
}
@media (min-width: 810px) and (max-width: 1199.98px){ .ep-grid{column-gap:64px} }

/* Event detail: registration card title */
.evx-form h2{font-size:30px}
