/* WiseLearner home page (v2) */
.wl-home main{margin:0;color:#3a3a3a}
.wl-home main .wrapper{max-width:1058px;padding:0 16px;box-sizing:border-box;overflow:visible}
.wl-home main h1,.wl-home main h2,.wl-home main h3{font-family:inherit;color:#231f20;text-transform:none;letter-spacing:0;position:static}
.wl-home main h2::after,.wl-home main h3::after{content:none}
.wl-home main a{color:#c41d1a}
.wl-home [hidden]{display:none!important}

/* buttons, links */
.hp-btn{display:inline-block;border:2px solid transparent;border-radius:6px;padding:10px 20px;font-size:15px;font-weight:600;line-height:1.2;cursor:pointer;text-align:center;text-decoration:none!important;transition:background .15s,color .15s}
.hp-btn-sm{padding:6px 12px;font-size:13px}
.hp-btn-block{display:block;width:100%}
.hp-btn-red{background:#d4211d;border-color:#d4211d;color:#fff!important}
.hp-btn-red:hover,.hp-btn-red:focus{background:#b01a17;border-color:#b01a17}
.hp-btn-line{background:#fff;border-color:#c41d1a;color:#c41d1a!important}
.hp-btn-line:hover,.hp-btn-line:focus{background:#fdeeee}
.hp-btn[disabled]{opacity:.6;cursor:wait}
.hp-link{background:none;border:0;padding:0;font-weight:600;color:#c41d1a;cursor:pointer}
.hp-link:hover{text-decoration:underline}
.hp-eyebrow{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#c41d1a}
.wl-home main .hp-h2{font-size:28px;line-height:1.2;margin:0 0 22px;font-weight:700}
.hp-intro{max-width:760px;margin:-10px 0 22px;font-size:15px}
.hp-sub-h{font-size:16px!important;margin:0 0 14px!important}

/* sections */
.hp-sec{padding:56px 0}
.hp-alt{background:#f7f8fa}
.hp-more{text-align:center;margin:26px 0 0}
.hp-note{margin:18px 0 0;font-size:14px}

/* hero */
.hp-hero{background:linear-gradient(135deg,#fff 0%,#fff 55%,#fdeeee 100%);border-bottom:1px solid #eee;padding:44px 0 40px}
.hp-hero-in{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:36px;align-items:start}
.wl-home main .hp-hero h1{font-size:40px;line-height:1.15;margin:0 0 14px;font-weight:800}
.hp-lead{font-size:17px;line-height:1.55;margin:0 0 22px;color:#444;max-width:600px}
.hp-hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}
.hp-search{position:relative;max-width:560px;margin:0 0 18px}
.hp-search>.fa{position:absolute;left:15px;top:15px;color:#888;font-size:16px}
.hp-search input{width:100%;box-sizing:border-box;height:48px;border:1px solid #cfd4dc;border-radius:8px;padding:0 14px 0 42px;font-size:15px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.hp-search input:focus{outline:2px solid #d4211d;outline-offset:1px;border-color:#d4211d}
.hp-search-res{position:absolute;z-index:30;left:0;right:0;top:52px;margin:0;padding:6px 0;list-style:none;background:#fff;border:1px solid #e3e6ec;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.12);max-height:340px;overflow:auto}
.hp-search-res a{display:block;padding:8px 14px;color:#231f20!important}
.hp-search-res a:hover,.hp-search-res a:focus{background:#fdeeee;text-decoration:none}
.hp-search-res .hp-none{padding:8px 14px;color:#666}
.hp-stats{display:flex;flex-wrap:wrap;gap:12px 30px;margin:6px 0 0;padding:0;list-style:none}
.hp-stats b{display:block;font-size:24px;line-height:1.1;color:#231f20}
.hp-stats span{font-size:13px;color:#666}
.hp-next{background:#fff;border:1px solid #e3e6ec;border-radius:12px;padding:20px 20px 16px;box-shadow:0 8px 24px rgba(35,31,32,.08)}
.wl-home main .hp-next h2{font-size:17px;margin:0 0 10px;font-weight:700}
.hp-next ul{list-style:none;margin:0 0 12px;padding:0}
.hp-next li{padding:10px 0;border-bottom:1px solid #eef0f3}
.hp-next li:last-child{border-bottom:0}
.hp-next li>a{display:block;font-weight:600;color:#231f20!important;line-height:1.3}
.hp-next-date{display:inline-block;font-size:13px;color:#555;margin:3px 8px 0 0}

/* tags (same colours as the course pages) */
.hp-tags{display:inline}
.hp-tag{display:inline-block;font-size:11px;font-weight:600;line-height:1;padding:4px 7px;margin:3px 4px 0 0;border-radius:10px;background:#eef2f7;color:#334155;white-space:nowrap}
.hp-tag-weekend{background:#fff1dc;color:#8a4500}
.hp-tag-weekday{background:#e3edff;color:#1747a6}
.hp-tag-liveonline{background:#ddf5e6;color:#0f6334}
.hp-tag-classroom{background:#f1e6ff;color:#6b21a8}
.hp-tag-selfpaced{background:#d9f4f4;color:#0b6262}

/* accreditations */
.hp-accr{padding:26px 0;border-bottom:1px solid #eee;background:#fff}
.wl-home main .hp-accr h2{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#666;text-align:center;margin:0 0 14px}
.hp-accr ul{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 26px;margin:0;padding:0;list-style:none}
.hp-accr img{height:44px;width:auto;max-width:130px;object-fit:contain;filter:grayscale(1);opacity:.8;transition:filter .2s,opacity .2s}
.hp-accr img:hover{filter:none;opacity:1}
.hp-accr-txt{display:inline-block;padding:7px 14px;border:1px solid #dfe3e8;border-radius:6px;font-weight:700;font-size:14px;color:#4b5563;letter-spacing:.02em;background:#fafbfc}

/* tabs + chips */
.hp-tabs,.hp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.hp-tabs button,.hp-chips button{border:1px solid #d5dae1;background:#fff;border-radius:20px;padding:7px 14px;font-size:14px;font-weight:600;color:#374151;cursor:pointer}
.hp-tabs button span{display:inline-block;margin-left:4px;font-size:12px;color:#6b7280}
.hp-tabs button.on,.hp-chips button.on{background:#231f20;border-color:#231f20;color:#fff}
.hp-tabs button.on span{color:#ddd}
.hp-catlinks{margin:26px 0 0;font-size:14px;text-align:center}
.hp-catlinks a{display:inline-block;margin:4px 6px}

/* cards */
.hp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hp-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e3e6ec;border-radius:10px;overflow:hidden;transition:box-shadow .2s,transform .2s}
.hp-card:hover{box-shadow:0 10px 26px rgba(35,31,32,.1);transform:translateY(-2px)}
.hp-card-img{display:block;aspect-ratio:342/190;background:linear-gradient(135deg,#2b2627,#7a1715);overflow:hidden}
.hp-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.hp-card-img span{display:flex;height:100%;align-items:center;justify-content:center;padding:0 16px;color:#fff;font-weight:700;font-size:15px;text-align:center;opacity:.9}
.hp-card-body{display:flex;flex-direction:column;flex:1;padding:16px}
.wl-home main .hp-card h3{font-size:16px;line-height:1.3;margin:0 0 6px;font-weight:700}
.hp-card h3 a{color:#231f20!important}
.hp-card-sub{font-size:13px;color:#555;margin:0 0 10px}
.hp-card-facts{list-style:none;margin:0 0 6px;padding:0;font-size:13px;color:#444}
.hp-card-facts li{margin:2px 0}
.hp-card-facts .fa{width:16px;color:#888}
.hp-card-cta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px}

/* batches table */
.hp-table-wrap{background:#fff;border:1px solid #e3e6ec;border-radius:10px;overflow:hidden}
.hp-table{width:100%;border-collapse:collapse;font-size:14px}
.hp-table th{background:#231f20;color:#fff;text-align:left;font-weight:600;padding:11px 14px}
.hp-table td{padding:11px 14px;border-top:1px solid #eef0f3;vertical-align:middle}
.hp-table td a{font-weight:600;color:#231f20!important}
.hp-table td:last-child{text-align:right;white-space:nowrap}
.hp-empty{margin:16px 0 0}

/* why */
.hp-why{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none}
.hp-why li{background:#fff;border:1px solid #e3e6ec;border-radius:10px;padding:20px}
.hp-why .fa{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#fdeeee;color:#c41d1a;font-size:19px;margin-bottom:10px}
.wl-home main .hp-why h3{font-size:16px;margin:0 0 6px}
.hp-why p{margin:0;font-size:14px}

/* trainers */
.hp-trainers{display:grid;gap:20px}
.hp-trainer{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;background:#fff;border:1px solid #e3e6ec;border-radius:12px;padding:22px}
.hp-trainer-side{text-align:center}
.hp-trainer-side img{width:120px;height:128px;object-fit:cover;border-radius:10px;display:block;margin:0 auto 8px}
.hp-in{font-size:13px;font-weight:600;color:#0a66c2!important}
.wl-home main .hp-trainer h3{font-size:20px;margin:0 0 4px}
.hp-trainer-meta{font-weight:600;color:#444;margin:0 0 4px}
.hp-trainer-creds{font-size:13px;color:#666;margin:0 0 10px}
.hp-avatar{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#231f20;color:#fff;font-weight:700;font-size:14px}
.hp-avatar-lg{width:110px;height:110px;font-size:32px;margin-bottom:8px}

/* corporate */
.hp-corp-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.hp-ticks{list-style:none;margin:0 0 22px;padding:0}
.hp-ticks li{position:relative;padding:4px 0 4px 26px}
.hp-ticks li::before{content:"\f00c";font-family:FontAwesome;position:absolute;left:0;top:4px;color:#1a7f37}
.hp-clients{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.hp-clients li{display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #eef0f3;border-radius:8px;padding:8px;height:62px}
.hp-clients img{max-width:100%;max-height:44px;width:auto;height:auto;filter:grayscale(1);opacity:.85}
.hp-clients img:hover{filter:none;opacity:1}

/* reviews */
.hp-google{margin:-10px 0 22px}
.hp-google a{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #e3e6ec;border-radius:20px;padding:6px 14px 6px 6px;font-weight:600;color:#231f20!important}
.hp-g{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#4285f4;color:#fff;font-weight:700;font-family:Arial,sans-serif}
.hp-reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hp-review{display:flex;flex-direction:column;margin:0;background:#fff;border:1px solid #e3e6ec;border-radius:10px;padding:18px}
.hp-stars{color:#f5a623;font-size:13px;margin-bottom:8px}
.hp-review blockquote{margin:0 0 14px;padding:0;border:0;font-size:14px;line-height:1.55;color:#3a3a3a;flex:1}
.hp-review figcaption{display:flex;align-items:center;gap:10px;font-size:13px;color:#555;line-height:1.35}
.hp-review figcaption b{color:#231f20}

/* timeline */
.hp-time{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none;counter-reset:none}
.hp-time li{position:relative;padding:26px 18px 0 0;border-top:3px solid #e3e6ec}
.hp-time li::before{content:"";position:absolute;top:-9px;left:0;width:15px;height:15px;border-radius:50%;background:#d4211d;border:3px solid #fff;box-shadow:0 0 0 1px #d4211d}
.hp-time b{display:block;font-size:22px;color:#231f20;margin-bottom:4px}

/* closing CTA + form */
.hp-cta{background:#231f20;color:#e8e8e8}
.hp-cta-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.wl-home main .hp-cta .hp-h2{color:#fff}
.hp-cta .hp-eyebrow{color:#ff8a87}
.hp-contact-alt{list-style:none;margin:20px 0 0;padding:0}
.hp-contact-alt li{margin:8px 0}
.wl-home main .hp-contact-alt a{color:#fff;font-weight:600;font-size:15px}
.hp-contact-alt .fa{width:22px;color:#ff8a87}
.hp-contact-alt .fa-whatsapp{color:#25d366}
.hp-form{background:#fff;color:#3a3a3a;border-radius:12px;padding:22px}
.wl-home main .hp-form h3{font-size:19px;margin:0 0 2px}
.hp-form-ctx{font-size:13px;color:#c41d1a;font-weight:600;margin:0 0 10px;min-height:4px}
.hp-form label{display:block;font-size:13px;font-weight:600;color:#374151;margin:0 0 10px}
.hp-form input,.hp-form select,.hp-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;border:1px solid #cfd4dc;border-radius:6px;padding:9px 11px;font-size:14px;font-weight:400;font-family:inherit;color:#231f20;background:#fff}
.hp-form input:focus,.hp-form select:focus,.hp-form textarea:focus{outline:2px solid #d4211d;outline-offset:0;border-color:#d4211d}
.hp-f2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.hp-err{color:#b91c1c;font-weight:600;font-size:13px;margin:0 0 10px}
.hp-small{font-size:12px;color:#6b7280;margin:10px 0 0}
.hp-done{text-align:center;padding:30px 10px}
.hp-done .fa{font-size:44px;color:#1a7f37}

/* responsive */
@media (max-width:991px){
  .hp-hero-in,.hp-corp-in,.hp-cta-in{grid-template-columns:1fr;gap:28px}
  .hp-grid,.hp-why,.hp-reviews{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wl-home main .hp-hero h1{font-size:34px}
}
@media (max-width:767px){
  .hp-sec{padding:40px 0}
  .hp-hero{padding:28px 0}
  .wl-home main .hp-hero h1{font-size:28px}
  .hp-lead{font-size:16px}
  .wl-home main .hp-h2{font-size:23px}
  .hp-grid,.hp-why,.hp-reviews,.hp-time{grid-template-columns:1fr}
  .hp-time li{padding:0 0 18px 26px;border-top:0;border-left:3px solid #e3e6ec}
  .hp-time li::before{top:2px;left:-9px}
  .hp-clients{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-trainer{grid-template-columns:1fr;text-align:left}
  .hp-f2{grid-template-columns:1fr}
  .hp-hero-cta .hp-btn{flex:1 1 auto}
  .hp-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  .hp-tabs button{flex:0 0 auto}
  /* table becomes cards */
  .hp-table-wrap{border:0;background:none}
  .hp-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hp-table,.hp-table tbody,.hp-table tr,.hp-table td{display:block;width:100%}
  .hp-table tr{background:#fff;border:1px solid #e3e6ec;border-radius:10px;margin:0 0 10px;padding:8px 0}
  .hp-table tr[hidden]{display:none}
  .hp-table td{border:0;padding:4px 14px}
  .hp-table td[data-label="Dates"]::before{content:"Dates: ";color:#6b7280}
  .hp-table td[data-label="Trainer"]::before{content:"Trainer: ";color:#6b7280}
  .hp-table td:last-child{text-align:left;padding-top:8px}
}
@media (prefers-reduced-motion:reduce){.hp-card,.hp-card:hover{transition:none;transform:none}}
.hp-card-band{display:block;height:5px;background:linear-gradient(90deg,#d4211d,#7a1715)}
.hp-card-cat{padding:14px 16px 0;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#6b7280}
.hp-card-cat+.hp-card-body{padding-top:6px}
.hp-table td[data-label="Trainer"]{white-space:nowrap}
.hp-only-m{display:none}
@media (max-width:767px){
  .hp-only-m{display:block}
  .hp-pane .hp-card:nth-child(n+4),.hp-ai .hp-card:nth-child(n+4){display:none}
  .hp-table:not(.hp-all) tbody tr:nth-child(n+6){display:none}
  .hp-reviews .hp-review:nth-child(n+4){display:none}
}
/* client logos: flexible rows, last row centred */
.hp-clients{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.hp-clients li{flex:0 0 calc(33.333% - 7px);box-sizing:border-box;height:66px;padding:10px 14px}
.hp-clients img{max-height:40px;max-width:100%;object-fit:contain}
@media (max-width:767px){.hp-clients li{flex-basis:calc(50% - 5px)}}
/* accreditation logos in colour */
.hp-accr ul{gap:14px 30px}
.hp-accr img{height:48px;max-width:140px;filter:none;opacity:1}
.hp-accr-more{text-align:center;margin:12px 0 0;font-size:13px;color:#555}
/* corporate: two columns of text, logos full width below */
.hp-corp-in{align-items:center}
.hp-corp .hp-ticks{margin-top:8px}
.hp-clients-wrap{margin-top:34px}
.wl-home main .hp-clients-wrap .hp-sub-h{text-align:center;font-size:13px!important;text-transform:uppercase;letter-spacing:.08em;color:#666;margin-bottom:16px!important}
.hp-clients li{flex:0 0 calc(20% - 8px);height:70px}
@media (max-width:991px){.hp-clients li{flex-basis:calc(25% - 8px)}}
@media (max-width:767px){.hp-clients li{flex-basis:calc(33.333% - 7px);height:60px;padding:8px}}
/* logos keep their own height (set inline); width follows the logo's shape */
.hp-accr img{width:auto;max-width:150px;object-fit:contain}
.hp-clients img{width:auto;max-width:88%;max-height:none;object-fit:contain}
@media (min-width:768px) and (max-width:991px){.hp-clients li{flex-basis:calc(25% - 8px)}}
.hp-accr ul{gap:14px 22px}
.hp-accr img{max-width:160px}
@media (max-width:767px){.hp-accr ul{gap:12px 18px}}
.hp-accr ul{gap:14px 28px}
