/* Phase 22 Success Stories. No selectors escape the page-body component. */
.tg-success{width:100%;min-width:0;background:var(--tekgen-ui-white,#fff);color:var(--tekgen-ui-charcoal,#273339);font:400 16px/24px Inter,Arial,sans-serif}
.tg-success *,.tg-success *::before,.tg-success *::after{box-sizing:border-box}
.tg-success :is(h1,h2,h3,p,figure,blockquote){margin:0;padding:0;font-family:inherit}
.tg-success :is(h1,h2,h3){color:var(--tekgen-ui-charcoal,#273339);font-weight:700;letter-spacing:-.03em;text-wrap:balance}
.tg-success h1{font-size:56px;line-height:64px}
.tg-success h2{font-size:40px;line-height:48px}
.tg-success h3{font-size:24px;line-height:32px}
.tg-success p{color:var(--tekgen-ui-muted,#5e6b71)}
.tg-success a{color:inherit;text-decoration:none}
.tg-success a:focus-visible,.tg-success [tabindex="-1"]:focus-visible{outline:3px solid #2d6575;outline-offset:5px;border-radius:4px}
.tg-success :is(.tg-success__hero,.tg-success__closing) a:focus-visible{outline-color:#accf38}
.tg-success .tg-success__container{width:min(calc(100% - 64px),1280px);margin-inline:auto}
.tg-success .tg-success__section{padding-block:88px}
.tg-success .tg-success__eyebrow{font-size:12px;line-height:20px;font-weight:700;letter-spacing:.12em;color:#2e7d32;margin-bottom:16px}
.tg-success .tg-success__hero{background:var(--tekgen-ui-deep,#1f2a30);border-bottom:3px solid var(--tekgen-ui-green,#48ae50);padding-block:64px}
.tg-success .tg-success__hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:64px;align-items:center}
.tg-success .tg-success__hero h1,.tg-success .tg-success__closing h2{color:#fff}
.tg-success .tg-success__hero .tg-success__eyebrow{color:#accf38}
.tg-success .tg-success__intro{font-size:18px;line-height:28px;color:#d9e0e2;max-width:48ch;margin-top:24px}
.tg-success .tg-success__hero-copy>.tg-success__button{margin-top:32px}
/* About Us hero-photo frame and accent, scoped here because its source rules
   are page-115-only. Outset = its 8px padding + 1px border, preserving this
   photograph's existing box/crop instead of shrinking it with frame padding. */
.tg-success .tg-success__hero-media{position:relative;isolation:isolate;aspect-ratio:1.4;border-radius:var(--tekgen-ui-radius-media,16px);overflow:visible;min-width:0;background:transparent;outline:none}
.tg-success .tg-success__hero-media::before{content:"";position:absolute;inset:-9px;z-index:-1;border:1px solid #526067;border-radius:var(--tekgen-ui-radius-media,16px);background:rgba(255,255,255,.035);pointer-events:none}
.tg-success .tg-success__hero-media::after{content:"";position:absolute;width:var(--tekgen-ui-space-12,48px);height:3px;bottom:-11px;left:23px;background:var(--tekgen-ui-lime,#accf38);pointer-events:none}
.tg-success .tg-success__hero-media img{display:block;width:100%;height:100%;object-fit:cover;border-radius:9px}
/* Match About Us's <=600px 5px inset / 12px frame / 7px image corners.
   Accent coordinates are measured from the outset frame, as in About Us. */
@media(max-width:600px){.tg-success .tg-success__hero-media::before{inset:-6px;border-radius:var(--tekgen-ui-radius-card,12px)}.tg-success .tg-success__hero-media::after{bottom:-8px;left:26px}.tg-success .tg-success__hero-media img{border-radius:7px}}
.tg-success .tg-success__media-placeholder{display:flex;height:100%;min-height:200px;flex-direction:column;align-items:center;justify-content:center;padding:24px;color:#5e6b71;border:1px solid #d9e0e2;border-radius:16px;text-align:center}
.tg-success .tg-success__media-placeholder svg{width:48px;height:48px;stroke:#879398;stroke-width:1.5;margin-bottom:20px}
.tg-success .tg-success__media-placeholder>span{color:#273339;font-size:18px;line-height:28px;font-weight:600}
.tg-success .tg-success__media-placeholder small{font-size:14px;line-height:20px;margin-top:4px}
.tg-success .tg-success__button{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:14px 24px;min-height:48px;border:1px solid #273339;border-radius:8px;font-size:15px;line-height:20px;font-weight:600;background:#273339;color:#fff;transition:background-color .15s,color .15s,border-color .15s}
.tg-success .tg-success__button--light{background:#fff;border-color:#fff;color:#1f2a30}
.tg-success .tg-success__button--outline{background:transparent;color:#fff;border-color:#879398}
.tg-success .tg-success__button:hover{background:#accf38;border-color:#accf38;color:#1f2a30}
.tg-success .tg-success__section-head{max-width:760px}
.tg-success .tg-success__section-head>p:last-child{font-size:18px;line-height:28px;margin-top:20px}
.tg-success #learner-reviews{scroll-margin-top:180px}
.tg-success .tg-success__source-note{margin-top:32px}
.tg-success .tg-success__review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch;margin-top:40px}
.tg-success .tg-success__review{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #d9e0e2;border-radius:12px;background:#fff;overflow-wrap:anywhere;gap:10px}
.tg-success .tg-success__review-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tg-success .tg-success__review-platform{display:flex;align-items:center;gap:0;color:#5e6b71;font-size:13px;line-height:20px;font-weight:600}
/* The unaltered official PNG already includes one mark-width of clear space.
   Its 42px canvas displays the actual mark at approximately 14px. */
.tg-success .tg-success__google-mark{display:inline-flex;flex:0 0 auto}
.tg-success .tg-success__google-mark img{display:block;width:42px;height:42px;max-width:none;object-fit:contain}
.tg-success .tg-success__review .tg-success__rating{color:#2e7d32;font-size:15px;line-height:20px;letter-spacing:1px;margin:0;white-space:nowrap}
.tg-success .tg-success__review blockquote{border:0;margin:0;font-style:normal}
.tg-success .tg-success__review blockquote p{color:#273339;font-size:15px;line-height:22px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}
.tg-success .tg-success__review-topic{margin:0}
.tg-success .tg-success__review-topic>p:last-child{color:var(--tekgen-ui-charcoal,#273339);font-size:14px;line-height:22px}
.tg-success .tg-success__review-topic-label{font-size:11px;line-height:16px;font-weight:500;margin-bottom:4px;color:var(--tekgen-ui-muted,#5e6b71)}
.tg-success .tg-success__attribution{margin-top:auto;border:0;padding:0;font-size:13px;line-height:20px}
.tg-success .tg-success__review-meta{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;column-gap:12px;row-gap:0}
.tg-success .tg-success__attribution .tg-success__reviewer{color:#273339;font-size:14px;font-weight:600}
.tg-success .tg-success__attribution time{display:block;color:#5e6b71;font-size:12px;line-height:18px;margin:0}
.tg-success .tg-success__attribution a,.tg-success .tg-success__source-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px;font-size:15px;line-height:24px;font-weight:600}
.tg-success .tg-success__review .tg-success__attribution a{margin:6px 0 0;gap:0;min-height:36px;font-size:13px;line-height:20px}
.tg-success .tg-success__review .tg-success__attribution a:focus-visible{outline-offset:2px}
.tg-success .tg-success__review .tg-success__attribution a::before,.tg-success .tg-success__review .tg-success__attribution a::after{content:none;display:none}
.tg-success .tg-success__source-link:hover,.tg-success .tg-success__attribution a:hover{color:#2e7d32}
.tg-success .tg-success__sources{margin-top:40px;padding:32px;background:var(--tekgen-ui-canvas,#f7f9f8);border-top:1px solid #d9e0e2}
.tg-success .tg-success__sources h3{font-size:20px;line-height:28px}
.tg-success .tg-success__source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:24px}
.tg-success .tg-success__source{min-width:0}
.tg-success .tg-success__source+.tg-success__source{border-left:1px solid #d9e0e2;padding-left:32px}
.tg-success .tg-success__platform{font-size:16px;line-height:24px;font-weight:700;color:#273339;margin-bottom:4px}
.tg-success .tg-success__source-link{margin-top:12px}
.tg-success .tg-success__journeys{background:#f7f9f8}
.tg-success .tg-success__story{padding-top:40px;overflow-wrap:anywhere}
.tg-success .tg-success__story+.tg-success__story{margin-top:48px;border-top:1px solid #d9e0e2;padding-top:48px}
.tg-success .tg-success__story--with-image{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:start}
.tg-success .tg-success__story figure{aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#eef2f2}
.tg-success .tg-success__story img{width:100%;height:100%;object-fit:cover;display:block}
.tg-success .tg-success__story h3{font-size:28px;line-height:36px}
.tg-success .tg-success__story p{max-width:70ch}
.tg-success .tg-success__story h3~p{margin-top:20px}
.tg-success .tg-success__story-context{color:#273339}
.tg-success .tg-success__story blockquote{border:0;border-left:3px solid #48ae50;padding-left:24px;margin-top:24px;font-style:normal}
.tg-success .tg-success__closing{background:#f7f9f8;border:0;padding-block:80px}
.tg-success .tg-success__closing-grid{background:#1f2a30;border-radius:12px;padding:64px}
.tg-success .tg-success__closing-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:64px}
.tg-success .tg-success__closing h2{max-width:21ch}
.tg-success .tg-success__closing p{margin-top:20px;color:#d9e0e2;font-size:18px;line-height:28px;max-width:56ch}
.tg-success .tg-success__actions{display:flex;flex-wrap:wrap;gap:16px;justify-content:flex-end}
.tg-success .tg-success__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.tg-success .tg-success__hero-grid,.tg-success .tg-success__closing-grid{gap:32px}.tg-success .tg-success__hero{padding-block:56px}.tg-success .tg-success__section{padding-block:80px}.tg-success .tg-success__actions{flex-direction:column;align-items:stretch}.tg-success .tg-success__review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.tg-success .tg-success__container{width:calc(100% - 40px)}.tg-success h1{font-size:40px;line-height:48px}.tg-success h2{font-size:30px;line-height:38px}.tg-success .tg-success__hero{padding-block:48px 40px}.tg-success .tg-success__hero-grid,.tg-success .tg-success__closing-grid,.tg-success .tg-success__story--with-image{grid-template-columns:1fr;gap:32px}.tg-success .tg-success__hero-media{aspect-ratio:16/9}.tg-success .tg-success__intro{margin-top:20px}.tg-success .tg-success__hero-copy>.tg-success__button{margin-top:24px}.tg-success .tg-success__section{padding-block:56px}.tg-success .tg-success__source-grid{grid-template-columns:1fr;gap:24px}.tg-success .tg-success__source+.tg-success__source{border-left:0;border-top:1px solid #d9e0e2;padding:24px 0 0}.tg-success .tg-success__sources{padding:24px;margin-top:32px}.tg-success .tg-success__review-grid{grid-template-columns:1fr;gap:20px;margin-top:32px}.tg-success .tg-success__review{padding:18px}.tg-success .tg-success__actions{align-items:stretch}.tg-success .tg-success__button{padding-inline:20px}.tg-success .tg-success__closing h2{max-width:22ch}.tg-success #learner-reviews{scroll-margin-top:120px}}
@media(prefers-reduced-motion:reduce){.tg-success .tg-success__button{transition:none}}

/* Phase 22B: contained CTA and plain-text primary buttons only. */
.tg-success .tg-success__hero-copy>[data-review-jump],.tg-success .tg-success__closing .tg-success__button--light{gap:0}
.tg-success .tg-success__hero-copy>[data-review-jump]::before,.tg-success .tg-success__hero-copy>[data-review-jump]::after,.tg-success .tg-success__closing .tg-success__button--light::before,.tg-success .tg-success__closing .tg-success__button--light::after{content:none;display:none}
@media(max-width:1100px){.tg-success .tg-success__closing-grid{padding:40px}}
@media(max-width:767px){.tg-success .tg-success__closing{padding-block:48px}.tg-success .tg-success__closing-grid{padding:24px}}

/* Phase 22C: slim final CTA only; other sections retain their approved styles. */
.tg-success .tg-success__closing{padding-block:40px}
.tg-success .tg-success__closing-grid{grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:24px 40px;min-height:96px}
.tg-success .tg-success__closing h2{max-width:none;font-size:28px;line-height:36px}
.tg-success .tg-success__closing .tg-success__actions{flex-direction:row;align-items:center;justify-content:flex-end}
.tg-success .tg-success__closing .tg-success__button--light{width:fit-content;min-height:44px;height:44px;padding:11px 18px;font-family:Inter,Arial,sans-serif;font-size:14px;line-height:20px;font-weight:600;color:#273339;background:#fff;border-color:#fff;text-decoration:none;transform:none}
.tg-success .tg-success__closing .tg-success__button--light:hover{background:#accf38;border-color:#accf38;color:#273339;text-decoration:none;transform:none}
@media(max-width:1100px){.tg-success .tg-success__closing-grid{padding-inline:32px}.tg-success .tg-success__closing h2{font-size:26px;line-height:32px}}
@media(max-width:767px){.tg-success .tg-success__closing{padding-block:28px}.tg-success .tg-success__closing-grid{grid-template-columns:1fr;justify-items:start;gap:16px;padding:24px;min-height:0}.tg-success .tg-success__closing .tg-success__actions{justify-content:flex-start;align-items:flex-start}}

/* Phase 22D-E: content-led secondary hero proportions; retain media ornaments. */
.tg-success .tg-success__hero{padding-block:40px}
.tg-success .tg-success__hero-media{aspect-ratio:16/9}
@media(max-width:900px){
  .tg-success .tg-success__hero{padding-block:32px}
  .tg-success .tg-success__hero .tg-success__eyebrow{margin-bottom:12px}
  .tg-success .tg-success__hero .tg-success__intro{margin-top:16px}
  .tg-success .tg-success__hero-copy>.tg-success__button{margin-top:20px}
}
@media(max-width:767px){
  .tg-success .tg-success__hero{padding-block:28px 24px}
  .tg-success .tg-success__hero-grid{gap:16px}
  .tg-success .tg-success__hero .tg-success__eyebrow{margin-bottom:8px}
  .tg-success .tg-success__hero .tg-success__intro{margin-top:12px}
  .tg-success .tg-success__hero-copy>.tg-success__button{margin-top:12px}
}

/* Phase 22J-B: journeys only. Approved hero/reviews/CTA selectors unchanged. */
.tg-success #tg-success-journeys{scroll-margin-top:180px}
.tg-success .tg-success__story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:40px}
.tg-success .tg-success__story-grid>.tg-success__story{padding:0;min-width:0}
.tg-success .tg-success__story-grid>.tg-success__story:first-child{grid-column:1/-1}
.tg-success .tg-success__story-grid>.tg-success__story+.tg-success__story{margin:0;border-top:1px solid #d9e0e2;padding-top:32px}
.tg-success .tg-success__story-grid>.tg-success__story--with-image:not(:first-child){display:flex;flex-direction:column;gap:24px}
.tg-success .tg-success__story-grid>.tg-success__story--with-image:not(:first-child) figure{width:100%}
.tg-success .tg-success__story .tg-success__story-role{color:#273339;font-weight:600;margin-top:8px}
.tg-success .tg-success__story .tg-success__story-meta{font-size:14px;line-height:22px;margin-top:8px}
.tg-success .tg-success__story .tg-success__story-headline{font-size:22px;line-height:30px;color:#273339;font-weight:600;margin-top:20px}
.tg-success .tg-success__story .tg-success__story-detail{margin-top:20px}
.tg-success .tg-success__story .tg-success__story-detail h4{font-family:inherit;font-size:14px;line-height:22px;color:#273339;font-weight:600;margin:0 0 6px}
.tg-success .tg-success__story .tg-success__story-detail p{margin:0}
@media(max-width:900px){.tg-success .tg-success__story--with-image{gap:32px}}
@media(max-width:767px){.tg-success .tg-success__story-grid{grid-template-columns:1fr;gap:32px;margin-top:32px}.tg-success #tg-success-journeys{scroll-margin-top:120px}}
/* Phase 22J-D: approved editorial Learner Journeys only. */
.tg-success .tg-journey{min-width:0;background:#fff;border:1px solid #d9e0e2;border-radius:12px;padding:32px;overflow-wrap:anywhere}
.tg-success .tg-journey--featured .tg-journey__content{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:start}
.tg-success .tg-journey--featured.tg-journey--photo{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px;align-items:start}
.tg-success .tg-journey--featured.tg-journey--photo .tg-journey__content{display:block}
.tg-success .tg-journey--photo .tg-journey__narrative{margin-top:24px}
.tg-success .tg-journey__photo{aspect-ratio:4/3;overflow:hidden;border-radius:8px;min-width:0}
.tg-success .tg-journey__photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.tg-success .tg-journey h3{font-size:30px;line-height:38px;letter-spacing:-.025em}
.tg-success .tg-journey .tg-journey__role{color:#273339;font-size:15px;line-height:24px;font-weight:600;margin-top:8px}
.tg-success .tg-journey .tg-journey__employer{font-size:14px;line-height:22px;margin-top:4px}
.tg-success .tg-journey .tg-journey__training{font-size:14px;line-height:22px;color:#273339;margin-top:24px}
.tg-success .tg-journey__training>span{display:block;font-size:12px;line-height:20px;color:#5e6b71;margin-bottom:4px}
.tg-success .tg-journey .tg-journey__summary,.tg-success .tg-journey__continuation>p{font-size:16px;line-height:26px;color:#273339}
.tg-success .tg-journey__continuation{margin-top:8px}
.tg-success .tg-journey__continuation summary{display:flex;align-items:center;width:fit-content;min-height:44px;list-style:none;font-size:14px;line-height:22px;font-weight:600;color:#273339;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.tg-success .tg-journey__continuation summary::marker{content:""}
.tg-success .tg-journey__continuation summary::-webkit-details-marker{display:none}
.tg-success .tg-journey__continuation .tg-journey__less,.tg-success .tg-journey__continuation[open] .tg-journey__more{display:none}
.tg-success .tg-journey__continuation[open] .tg-journey__less{display:inline}
.tg-success .tg-journey__continuation>p{margin-top:8px}
.tg-success .tg-journey__continuation summary:focus-visible{outline:3px solid #2d6575;outline-offset:3px;border-radius:4px}
.tg-success .tg-journey__comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0 0;padding:20px 0 0;border-top:1px solid #eef2f2}
.tg-success .tg-journey__comparison dt{font-size:12px;line-height:20px;color:#5e6b71}
.tg-success .tg-journey__comparison dd{font-size:14px;line-height:22px;font-weight:600;color:#273339;margin:4px 0 0}
.tg-success .tg-journey__quote{margin:24px 0 0;padding-left:20px;border:0;border-left:3px solid #48ae50}
.tg-success .tg-journey__quote p{font-size:15px;line-height:24px;color:#273339}
.tg-success .tg-journey__link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:22px;font-weight:600;text-decoration:underline;text-underline-offset:4px;margin-top:12px}
.tg-success .tg-journey__link:hover,.tg-success .tg-journey__continuation summary:hover{color:#2e7d32}
.tg-success .tg-success__journey-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.tg-success .tg-journey--secondary{padding:24px}
.tg-success .tg-journey--secondary h3{font-size:22px;line-height:30px}
.tg-success .tg-journey--secondary .tg-journey__role{font-size:14px;line-height:22px;margin-top:6px}
.tg-success .tg-journey--secondary .tg-journey__training{font-size:13px;line-height:20px;margin-top:16px}
.tg-success .tg-journey--secondary .tg-journey__narrative{margin-top:20px}
.tg-success .tg-journey--secondary .tg-journey__summary,.tg-success .tg-journey--secondary .tg-journey__continuation>p{font-size:14px;line-height:22px}
.tg-success .tg-journey--secondary.tg-journey--photo{display:grid;grid-template-columns:80px minmax(0,1fr);gap:20px}
.tg-success .tg-journey--secondary .tg-journey__photo{aspect-ratio:1}
@media(max-width:1024px){.tg-success .tg-journey--featured .tg-journey__content{gap:32px}.tg-success .tg-journey--featured.tg-journey--photo{gap:32px;padding:28px}.tg-success .tg-journey h3{font-size:28px;line-height:36px}}
@media(max-width:900px){.tg-success .tg-journey--featured .tg-journey__content{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px}.tg-success .tg-journey--featured.tg-journey--photo{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px}.tg-success .tg-journey{padding:24px}.tg-success .tg-journey--secondary{padding:20px}.tg-success .tg-journey--secondary h3{font-size:20px;line-height:28px}}
@media(max-width:767px){.tg-success .tg-journey--featured .tg-journey__content,.tg-success .tg-journey--featured.tg-journey--photo{display:block}.tg-success .tg-journey h3{font-size:26px;line-height:34px}.tg-success .tg-journey--featured .tg-journey__narrative{margin-top:24px}.tg-success .tg-journey--featured.tg-journey--photo .tg-journey__content{margin-top:24px}.tg-success .tg-journey--featured.tg-journey--photo{padding:24px}.tg-success .tg-success__journey-secondary{grid-template-columns:1fr;gap:20px}.tg-success .tg-journey--secondary h3{font-size:21px;line-height:29px}.tg-success .tg-journey__comparison{grid-template-columns:1fr;gap:16px}}

.tg-success .tg-success__journey-list{margin-top:32px}
.tg-success .tg-journey__link:focus-visible{outline:3px solid #2d6575;outline-offset:3px;border-radius:4px}
