/* Evidence follows the existing Learn typography, palette and spacing. */
/* A course credential uses its existing partner badge; project evidence stays distinct. */
.authority-summary{display:grid;grid-template-columns:148px minmax(0,1fr);align-items:center;gap:24px;max-width:100%;margin:32px 0 0;padding:22px 24px;border:1px solid #d2e0e9;border-radius:22px;background:linear-gradient(120deg,#fffefa,#ffffffb8);box-shadow:0 10px 30px #24445406}
.authority-summary-badge{display:flex;align-items:center;justify-content:center;width:148px;height:132px;min-width:0;padding:10px;border-radius:15px;background:#fff}
.authority-summary-badge img{display:block;width:100%;height:100%;object-fit:contain}
.authority-summary-badge-dark{background:#172730}
.authority-summary-badge-wide{width:180px;height:72px;padding:10px 0;background:transparent}
.authority-summary:has(.authority-summary-badge-wide){grid-template-columns:180px minmax(0,1fr)}
.authority-summary-copy{min-width:0}
.authority-summary-partner{display:flex;flex-direction:column;gap:7px;min-width:0}
.authority-summary-eyebrow{color:var(--muted);font-size:11px;line-height:1.6;font-weight:500}
.authority-summary-partner strong{font-size:20px;font-weight:650;line-height:1.35;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.authority-summary-description{font-size:13px;line-height:1.75;color:var(--muted);margin:10px 0 4px;text-wrap:pretty}
.authority-summary a,.learn-authority a{color:var(--blue);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;overflow-wrap:anywhere}
.authority-summary .authority-summary-link{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;max-width:100%;margin-top:6px;font-size:12px;line-height:1.6;font-weight:650;text-decoration:none}
.authority-summary-link>span:first-child{text-decoration:underline;text-underline-offset:4px}
.authority-summary-arrow{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border:1px solid #d4e0ed;border-radius:50%;background:#f1f5ff;color:var(--blue);transition:background .2s,color .2s,transform .2s}
.authority-summary-link:hover .authority-summary-arrow{color:#fff;background:var(--blue);transform:translateY(2px)}
.authority-summary a:focus-visible,.learn-authority a:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:4px}
.authority-summary a:hover,.learn-authority a:hover{color:var(--ink);text-decoration-thickness:2px}
.authority-summary-projects{grid-template-columns:72px minmax(0,1fr);gap:22px;padding-block:22px}
.authority-summary-visual{display:flex;align-items:center;justify-content:center;width:72px;height:80px;color:var(--blue)}
.authority-summary-visual svg{width:72px;height:72px}
.authority-summary-context{display:block;color:var(--muted);font-size:12px;line-height:1.6;font-weight:500}
.authority-summary-clients{display:block;margin-top:6px;color:var(--ink);font-size:20px;line-height:1.4;font-weight:650;letter-spacing:-.025em;text-wrap:balance}
@media(max-width:1150px) and (min-width:961px){
 .authority-summary{grid-template-columns:108px minmax(0,1fr);gap:18px;padding:20px}
 .authority-summary-badge{width:108px;height:118px;padding:8px}
 .authority-summary:has(.authority-summary-badge-wide){grid-template-columns:minmax(0,1fr)}
 .authority-summary-badge-wide{width:200px;height:40px;padding:0}
 .authority-summary-projects{grid-template-columns:62px minmax(0,1fr)}
 .authority-summary-visual,.authority-summary-visual svg{width:62px}
}
@media(max-width:600px){
 .authority-summary{grid-template-columns:88px minmax(0,1fr);gap:16px 18px;margin-top:28px;padding:20px;border-radius:20px}
 .authority-summary-credential .authority-summary-copy{display:contents}
 .authority-summary-badge{grid-column:1;grid-row:1;width:88px;height:100px;padding:5px;border-radius:12px}
 .authority-summary-partner{grid-column:2;grid-row:1;align-self:center;gap:7px}
 .authority-summary-partner strong{font-size:18px;line-height:1.4}
 .authority-summary-description{grid-column:1/-1;margin:0;font-size:13px}
 .authority-summary .authority-summary-link{grid-column:1/-1;width:100%;margin-top:0;gap:12px;font-size:12px}
 .authority-summary-credential .authority-summary-link{border-top:1px solid #d8e3eb;padding-top:12px}
 .authority-summary:has(.authority-summary-badge-wide){grid-template-columns:minmax(0,1fr)}
 .authority-summary-badge-wide{grid-column:1;grid-row:auto;width:min(100%,240px);height:40px;padding:0;justify-content:flex-start}
 .authority-summary-badge-wide img{object-position:left center}
 .authority-summary-badge-wide+.authority-summary-copy .authority-summary-partner{grid-column:1;grid-row:auto}
 .authority-summary-projects{grid-template-columns:52px minmax(0,1fr);gap:14px;padding:18px 20px}
 .authority-summary-visual,.authority-summary-visual svg{width:52px;height:60px}
 .authority-summary-clients{font-size:18px}
}
@media(prefers-reduced-motion:reduce){.authority-summary-arrow{transition:none}.authority-summary-link:hover .authority-summary-arrow{transform:none}}
.learn-authority{border-top:1px solid var(--line);background:#f5f7f4}
.learn-authority .authority-heading{max-width:860px;margin-bottom:32px}
.learn-authority .authority-heading h2{font-size:clamp(27px,3.2vw,38px);line-height:1.25;letter-spacing:-.035em}
.learn-authority .authority-heading>p{font-size:15px;line-height:1.85;max-width:78ch}
.learn-authority .course-partner-section{padding:0;margin-bottom:28px;border:0;background:transparent}
.learn-authority .course-partner-section>.wrap{width:100%;max-width:none;margin:0}
/* Share the width between credential, explanation and a clear profile action. */
.learn-authority .course-partner{gap:32px;padding:28px 32px}
.learn-authority .course-partner-copy{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:32px;align-items:start}
.learn-authority .course-partner-copy>h3{grid-column:1;grid-row:1;align-self:end;font-size:24px;line-height:1.35;letter-spacing:-.03em;margin:0;text-wrap:balance}
.learn-authority .course-partner-copy>p:not(.course-partner-note){grid-column:1;grid-row:2;max-width:64ch;margin:12px 0 0;text-wrap:pretty}
.learn-authority .course-partner-copy>.text-link{grid-column:2;grid-row:1 / span 2;align-self:center;display:flex;align-items:center;justify-content:center;min-height:52px;max-width:100%;padding:12px 18px;border:1px solid #c9dce7;border-radius:16px;background:#f1f6fa;color:var(--ink);text-align:center;text-wrap:balance;text-decoration:none}
.learn-authority .course-partner-copy>.text-link:hover{border-color:#a9c2d5;background:#e8f1f8;color:var(--ink);text-decoration:none}
.learn-authority .course-partner-copy>.text-link:focus-visible{border-radius:16px}
.learn-authority .course-partner-copy>.course-partner-note{grid-column:1/-1;max-width:none;margin:22px 0 0;padding-top:16px;border-top:1px solid #d4e1e7;text-wrap:pretty}
@media(max-width:1000px){
 .learn-authority .course-partner-copy{grid-template-columns:minmax(0,1fr)}
 .learn-authority .course-partner-copy>.text-link{grid-column:1;grid-row:auto;justify-self:start;margin-top:16px}
}
@media(max-width:760px){.learn-authority .course-partner{gap:24px;padding:24px}}
@media(max-width:600px){
 .learn-authority .course-partner{grid-template-columns:minmax(0,1fr);gap:20px}
 .learn-authority .course-partner-copy>.text-link{width:100%;justify-self:stretch}
 .learn-authority .course-partner-copy>.course-partner-note{margin-top:20px}
}
.learn-authority .authority-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.learn-authority .authority-cases>.authority-case:only-child{grid-column:1/-1;max-width:820px}
.learn-authority .authority-case{min-width:0;border-top:1px solid #cbdad8;padding-top:22px}
.learn-authority .authority-label{font-size:12px;line-height:1.6;font-weight:700;letter-spacing:.025em;color:#46606f;margin:0 0 10px}
.learn-authority .authority-case h3{font-size:25px;line-height:1.35;letter-spacing:-.025em;margin:0 0 14px}
.learn-authority .authority-case>p:not(.authority-label){color:var(--muted);font-size:14px;line-height:1.85;margin:0 0 14px}
.learn-authority .authority-case>.authority-stack{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.learn-authority .authority-stack>span{font-weight:700}
.learn-authority .authority-case>.authority-relevance{padding-left:14px;border-left:2px solid #bbcdbd}
.learn-authority .authority-case>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:650;line-height:1.7}
.learn-authority .authority-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-top:28px}
.learn-authority .authority-source{min-width:0;padding:22px 24px;background:#fffefa;border:1px solid var(--line);border-radius:16px}
.learn-authority .authority-source:only-child{grid-column:1/-1;max-width:820px}
.learn-authority .authority-source h3{font-size:17px;line-height:1.6;margin:0 0 12px;letter-spacing:-.02em}
.learn-authority .authority-source h3 a{display:inline-flex;align-items:center;min-height:44px}
.learn-authority .authority-source>p:last-child{font-size:14px;line-height:1.85;color:var(--muted);margin:0}
/* General pages share one editorial panel and the catalogue's tool marks. */
.learn-authority.authority-overview{padding-block:56px;background:var(--paper);border-top:0}
.authority-overview .authority-overview-panel{padding:42px 44px 36px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(115deg,#edf5fa,#f2f6f3)}
.authority-overview .authority-overview-intro{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:48px;align-items:start}
.authority-overview .authority-overview-heading{min-width:0}
.authority-overview .authority-overview-heading h2{font-size:clamp(29px,3.2vw,40px);font-weight:600;line-height:1.18;letter-spacing:-.045em;max-width:22ch;margin:0;text-wrap:balance}
.authority-overview .authority-overview-copy{min-width:0;padding-bottom:2px}
.authority-overview .authority-overview-copy>p{font-size:15px;line-height:1.85;color:var(--muted);max-width:53ch;margin:0;text-wrap:pretty}
.authority-overview .authority-company-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.authority-overview .authority-company-link{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;max-width:100%;min-height:48px;padding:10px 12px 10px 18px;border:1px solid #c9dce7;border-radius:999px;background:#fffefacc;color:var(--ink);text-decoration:none;font-size:13px;line-height:1.5;font-weight:650;box-shadow:0 2px 4px #24445405;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.authority-overview .authority-company-link>span:first-child{min-width:0;text-wrap:pretty}
.authority-overview .authority-company-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;border-radius:50%;background:#eaf0ff;color:var(--blue)}
.authority-overview .authority-company-icon svg{width:16px;height:16px;transition:transform .2s}
.authority-overview .authority-company-link:hover{border-color:#9bb5ce;background:#fffefa;color:var(--ink);text-decoration:none;box-shadow:0 5px 12px #2444540d;transform:translateY(-1px)}
.authority-overview .authority-company-link:hover svg{transform:translate(1px,-1px)}
.authority-overview .authority-company-link:active{transform:translateY(0);box-shadow:none}
.authority-overview .authority-company-link:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:999px}
.authority-overview .authority-directories{margin-top:32px;padding-top:26px;border-top:1px solid #cbdde5}
.authority-overview .authority-partner-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;list-style:none;margin:0;padding:0;border:1px solid #d5e2e8;border-radius:18px;overflow:hidden;background:#d5e2e8}
.authority-overview .authority-partner-grid[data-authority-partner-count="5"],.authority-overview .authority-partner-grid[data-authority-partner-count="10"]{grid-template-columns:repeat(5,minmax(0,1fr))}
.authority-overview .authority-partner-grid[data-authority-partner-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:660px}
.authority-overview .authority-partner-grid[data-authority-partner-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.authority-overview .authority-partner-grid[data-authority-partner-count="1"]{grid-template-columns:minmax(0,1fr);max-width:380px}
.authority-overview .authority-partner-grid>li{min-width:0;background:#fffefa}
.authority-overview .authority-partner{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:100px;height:100%;padding:18px 16px;color:var(--ink);text-decoration:none;transition:background .2s,color .2s}
.authority-overview .authority-partner-mark{width:40px;height:40px;flex:none;border:0;border-radius:11px;box-shadow:none;background:transparent}
.authority-overview .authority-partner-mark.tool-dark{background:#172730}
.authority-overview .authority-partner-mark img{width:27px;height:27px;object-fit:contain}
.authority-overview .authority-partner-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.authority-overview .authority-partner-copy strong{font-size:15px;font-weight:650;line-height:1.4;letter-spacing:-.015em}
.authority-overview .authority-partner-copy>span{font-size:12px;line-height:1.55;color:var(--muted);text-wrap:pretty}
.authority-overview .authority-partner>svg{width:16px;height:16px;color:#6d8798;transition:transform .2s,color .2s}
.authority-overview .authority-partner:hover{background:#eaf3fa;color:var(--ink)}
.authority-overview .authority-partner:hover>svg{color:var(--blue);transform:translate(2px,-2px)}
.authority-overview .authority-partner:focus-visible{outline:2px solid var(--blue);outline-offset:-4px;border-radius:7px;background:#eaf3fa}
/* Diploma introduces the people behind Learn, using the existing portraits. */
.authority-diploma .authority-overview-panel{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:46px;padding-block:50px}
.authority-diploma .authority-overview-intro{display:block}
.authority-diploma .authority-overview-heading h2{max-width:17ch;font-size:clamp(31px,3.4vw,42px)}
.authority-diploma .authority-overview-copy{margin-top:22px;padding:0}
.authority-diploma .authority-overview-copy>p{max-width:48ch}
.authority-diploma .authority-company-links{margin-top:26px}
.authority-diploma .authority-team-gallery{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;margin:0;padding:30px 0;list-style:none}
.authority-diploma .authority-team-gallery::before{content:"";position:absolute;inset:0 -18px;z-index:-1;background:radial-gradient(ellipse at center,#3433d51a,transparent 70%);pointer-events:none}
.authority-diploma .authority-team-gallery>li{min-width:0}
.authority-diploma .authority-team-gallery>li:nth-child(2){transform:translateY(-24px)}
.authority-diploma .authority-team-person{margin:0;padding:9px 9px 14px;border:1px solid #d5e2e8;border-radius:23px;background:#fffefa;box-shadow:0 12px 24px #2444540d}
.authority-diploma .authority-team-person img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:15px}
.authority-diploma .authority-team-person figcaption{display:flex;align-items:center;justify-content:center;min-height:3em;margin-top:12px;color:var(--ink);font-size:12px;line-height:1.5;font-weight:650;text-align:center;text-wrap:balance;overflow-wrap:anywhere}
@media(max-width:1100px){
 .authority-overview .authority-overview-panel{padding:34px 32px 30px}
 .authority-overview .authority-overview-intro{gap:32px}
 .authority-overview .authority-partner-grid,.authority-overview .authority-partner-grid[data-authority-partner-count="5"],.authority-overview .authority-partner-grid[data-authority-partner-count="10"],.authority-overview .authority-partner-grid[data-authority-partner-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}
 .authority-overview .authority-partner-grid[data-authority-partner-count="5"]>li:last-child,.authority-overview .authority-partner-grid[data-authority-partner-count="3"]>li:last-child{grid-column:1/-1}
 .authority-diploma .authority-overview-panel{gap:28px}
 .authority-diploma .authority-team-gallery{gap:8px}
 .authority-diploma .authority-team-person{padding:7px 7px 12px;border-radius:20px}
}
@media(max-width:960px){
 .authority-diploma .authority-overview-panel{grid-template-columns:minmax(0,1fr);gap:32px;padding-block:34px}
 .authority-diploma .authority-overview-intro{max-width:620px}
 .authority-diploma .authority-team-gallery{width:min(100%,580px);justify-self:center;gap:14px;padding-block:26px 4px}
}
@media(max-width:760px){
 .authority-overview .authority-overview-panel{padding:26px 24px 24px;border-radius:24px}
 .learn-authority.authority-overview{padding-block:40px}
 .authority-overview .authority-overview-intro{grid-template-columns:minmax(0,1fr);gap:20px}
 .authority-overview .authority-overview-heading h2{font-size:31px;max-width:23ch}
 .authority-overview .authority-overview-copy>p{font-size:14px;line-height:1.8}
 .authority-overview .authority-company-links{gap:10px;margin-top:18px}
 .authority-overview .authority-company-link{width:100%;padding-left:16px}
 .authority-overview .authority-directories{margin-top:26px;padding-top:22px}
 .authority-overview .authority-partner-grid{border-radius:15px}
 .authority-overview .authority-partner{grid-template-columns:minmax(0,1fr) 16px;grid-template-rows:36px auto;align-items:start;gap:11px 6px;padding:16px 14px;min-height:122px}
 .authority-overview .authority-partner-mark{grid-column:1;grid-row:1;width:36px;height:36px;border-radius:9px}
 .authority-overview .authority-partner-mark img{width:25px;height:25px}
 .authority-overview .authority-partner-copy{grid-column:1/-1;grid-row:2}
 .authority-overview .authority-partner>svg{grid-column:2;grid-row:1;justify-self:end;align-self:start;margin-top:2px}
 .learn-authority .authority-cases,.learn-authority .authority-sources{grid-template-columns:minmax(0,1fr);gap:24px}
 .learn-authority .course-partner-copy>h3{font-size:21px}
 .learn-authority .authority-source{padding:18px 20px}
 .learn-authority .authority-case h3{font-size:23px}
}
@media(max-width:420px){
 .authority-diploma .authority-team-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding-block:16px 0}
 .authority-diploma .authority-team-gallery>li:nth-child(2){transform:translateY(-16px)}
 .authority-diploma .authority-team-gallery>li:last-child{grid-column:1/-1;width:calc(50% - 6px);justify-self:center}
}
@media(prefers-reduced-motion:reduce){.authority-overview .authority-partner,.authority-overview .authority-partner>svg,.authority-overview .authority-company-link,.authority-overview .authority-company-icon svg{transition:none}.authority-overview .authority-partner:hover>svg,.authority-overview .authority-company-link:hover,.authority-overview .authority-company-link:hover svg{transform:none}}
@media print{.authority-summary,.learn-authority{display:none!important}}
/* The expanded mobile fallback must not cover the native evidence anchor. */
@media(max-width:960px){
 html:not(.js) body[data-page-kind="course"] .site-header,
 html:not(.js) body[data-page-kind="extension"] .site-header{position:static}
}

@media(prefers-reduced-motion:reduce){.authority-summary-link>span{transition:none}.authority-summary-link:hover>span{transform:none}}
