/* Scoped to the learning-path catalog; existing site theme/header remain unchanged. */
.taraaf-paths{--path-ink:#103b30;--path-gold:#b99758;--path-warm:#faf8f3;background:var(--path-warm);color:var(--path-ink);padding:64px 0 88px}
.taraaf-paths .web-container{width:min(1180px,calc(100% - 64px));max-width:1180px}
.taraaf-paths .web-section-heading{text-align:start!important;max-width:none;border:0;padding:0;margin:0 0 38px}
.taraaf-paths .web-section-heading h1{font-size:clamp(28px,3vw,42px);line-height:1.55;margin:8px 0 10px}
.taraaf-paths .web-section-heading h2{font-size:30px;margin:0 0 10px}
.taraaf-paths .web-section-heading p{margin:0;color:#72776f;max-width:640px;font-size:15px;line-height:1.9}
.taraaf-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.taraaf-path-card{min-width:0;overflow:hidden;border:1px solid #e1dfd6;border-radius:14px;background:#fffdf9;box-shadow:0 5px 18px #103b3005;transition:transform .2s,border-color .2s}
.taraaf-path-card:hover{transform:translateY(-4px);border-color:var(--path-gold)}
.taraaf-path-media{display:block;aspect-ratio:1.23;overflow:hidden;background:#163d33;position:relative}
.taraaf-path-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s}
.taraaf-path-card:hover .taraaf-path-media img{transform:scale(1.035)}
.taraaf-path-body{padding:22px 24px 24px}
.taraaf-path-body .web-card-kind{display:block;font-size:11px;letter-spacing:.03em;color:#9a7c46;margin-bottom:8px}
.taraaf-path-body h2,.taraaf-path-body h3{font-size:20px!important;font-weight:700;line-height:1.7;margin:0 0 12px!important;max-width:none}
.taraaf-path-body h2 a,.taraaf-path-body h3 a{color:var(--path-ink);text-decoration:none}
.taraaf-path-body .web-card-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;color:#68736b;border:0;margin:0 0 18px;padding:0;line-height:1.9}
.taraaf-path-body .web-card-meta span{white-space:normal}
.taraaf-path-body .web-text-link{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eeece4;padding-top:14px;color:var(--path-ink);text-decoration:none;font-size:13px;font-weight:600}
.taraaf-path-body .web-card-description{font-size:13px;color:#72776f;line-height:1.9;margin-bottom:18px;overflow-wrap:anywhere}
.taraaf-paths a:focus-visible{outline:3px solid var(--path-gold);outline-offset:4px}
.taraaf-paths .program-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;margin-bottom:30px}
@media(max-width:960px){.taraaf-path-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}}
@media(max-width:600px){.taraaf-paths{padding:32px 0 48px}.taraaf-paths .web-container{width:calc(100% - 32px)}.taraaf-path-grid{grid-template-columns:1fr;gap:24px}.taraaf-path-media{aspect-ratio:1.35}.taraaf-path-body{padding:18px 20px 22px}.taraaf-paths .web-section-heading{margin-bottom:26px}.taraaf-path-body h2,.taraaf-path-body h3{font-size:19px!important}}
@media(prefers-reduced-motion:reduce){.taraaf-path-card,.taraaf-path-media img{transition:none}.taraaf-path-card:hover{transform:none}}
.taraaf-path-body .web-text-link svg{flex-shrink:0}

/* Course cards: image, title, instructor and duration; independent of path cards. */
.taraaf-course-card .taraaf-path-media{aspect-ratio:1.4}
.taraaf-course-card .taraaf-path-body{padding:20px 22px 22px}
.taraaf-course-card h3{font-size:19px!important;min-height:3.4em;margin-bottom:18px!important}
.taraaf-course-details{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-top:1px solid #e9e6dd;padding-top:16px}
.taraaf-course-instructor,.taraaf-course-duration{display:flex;align-items:center;gap:9px;min-width:0}
.taraaf-course-instructor{flex:1}
.taraaf-course-details svg{flex-shrink:0;color:#8a967f}
.taraaf-course-details span{display:block;font-size:10px;color:#828879;margin-bottom:4px}
.taraaf-course-details strong{display:block;font-size:12px;font-weight:500;color:#314b41;line-height:1.65;overflow-wrap:anywhere}
@media(max-width:600px){.taraaf-course-card .taraaf-path-body{padding:18px 18px 20px}.taraaf-course-card h3{min-height:0}.taraaf-course-details{gap:10px}.taraaf-course-card .taraaf-path-media{aspect-ratio:1.35}}
.taraaf-paths .web-section-heading{display:block}
