/* Consistent typography and contrast across the public and trainee portals. */
html body.portal-identity {
    --ink: #213247;
    --muted: #526176;
    --pds-ink: #213247;
    --pds-ink-soft: #35475c;
    --pds-muted: #526176;
    --line: #dde4ec;
    --pds-line: #dde4ec;
    --pds-line-soft: #e8edf3;
    --site-field-height: 48px;
    font-size: 14px;
    line-height: 1.9;
}
.portal-identity a,
.portal-identity a:hover,
.portal-identity a:visited { text-decoration: none; }
.portal-identity :is(a, button, summary):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.portal-identity .site-header .pds-site-nav nav a,
.portal-identity .site-header nav a,
.portal-identity .pds-portal-header nav a { font-size: 13px; font-weight: 600; }
.portal-identity .site-header .brand > span,
.portal-identity .pds-site-brand > span { font-size: 18px; font-weight: 700; }
.portal-identity .site-header .pds-site-nav nav a.lang,
.portal-identity .site-header .portal-cta-button { font-size: 13px; }
.portal-identity .content-breadcrumb { gap: 10px; margin-bottom: 24px; font-size: 12px; line-height: 1.8; }
.portal-identity .content-breadcrumb a,
.portal-identity .content-breadcrumb a:visited { color: var(--muted); font-weight: 500; }
.portal-identity .content-breadcrumb a:hover { color: var(--brand-dark); }
.portal-identity .content-article { max-inline-size: 960px; padding-block: 28px 48px; }
.portal-identity .content-article__header { padding-bottom: 24px; }
.portal-identity .content-article__header h1 { max-inline-size: 820px; margin-block: 20px 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.8; font-weight: 700; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
.portal-identity .content-article__header > p { max-inline-size: 780px; margin-block: 0; font-size: 15px; line-height: 2.05; color: #46586e; }
.portal-identity .content-article__header::after { inline-size: 56px; block-size: 3px; margin-top: 20px; }
.portal-identity .content-post-meta { gap: 9px 12px; font-size: 12px; color: var(--muted); }
.portal-identity .content-post-meta :is(a, .content-featured, .content-reading-time) { font-size: 11px; font-weight: 500; line-height: 1.8; padding: 4px 10px; }
.portal-identity .content-article__cover { max-block-size: 460px; border-radius: 16px; margin-block: 28px; }
.portal-identity .content-prose { max-inline-size: 760px; padding-block: 8px 32px; color: var(--ink); font-size: 15px; line-height: 2.1; }
.portal-identity .content-prose :is(p, li) { color: #35475c; }
.portal-identity .content-prose h2 { font-size: clamp(20px, 2.2vw, 25px); }
.portal-identity .content-prose h3 { font-size: clamp(18px, 1.8vw, 21px); }
.portal-identity .content-prose :is(h2, h3) { font-weight: 700; line-height: 1.85; margin-block: 28px 12px; }
.portal-identity .content-prose h2::after { display: none; }
.portal-identity .content-prose a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.portal-identity .content-prose a:hover { background: var(--pds-brand-soft); }
.portal-identity .content-prose blockquote { font-size: 15px; line-height: 2; font-style: normal; color: var(--ink); }
.portal-identity .content-prose :is(pre, code) { font-size: 13px; }
.portal-identity .content-prose pre { line-height: 1.8; }
.portal-identity .content-prose figcaption { color: var(--muted); font-size: 12px; }
.portal-identity .journal-hero h1,
.portal-identity .public-detail-hero h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.7; letter-spacing: 0; }
.portal-identity .journal-hero p,
.portal-identity .public-detail-hero p { font-size: 15px; line-height: 2; }
.portal-identity .journal-featured h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.85; }
.portal-identity .journal-featured p { font-size: 14px; line-height: 2; color: var(--muted); }
.portal-identity .journal-list-heading h2,
.portal-identity .section-head h2,
.portal-identity .pds-section-head h2 { font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; line-height: 1.8; }
.portal-identity .content-post-card h2,
.portal-identity .journal-grid .content-post-card h2,
.portal-identity .course-card h3,
.portal-identity .institute-card h3 { font-size: 18px; font-weight: 600; line-height: 1.9; }
.portal-identity .content-post-card p,
.portal-identity .course-card p,
.portal-identity .institute-card p { font-size: 13px; line-height: 2; color: var(--muted); }
.portal-identity .content-read-more,
.portal-identity .card-link,
.portal-identity .public-back,
.portal-identity .public-account-link { font-size: 13px; font-weight: 600; }
.portal-identity .content-value h2 { font-size: 20px; font-weight: 600; }
.portal-identity .content-paragraphs,
.portal-identity .public-copy { font-size: 14px; line-height: 2.05; color: #35475c; }
.portal-identity .content-story h2 { font-size: clamp(23px, 2.5vw, 30px); line-height: 1.8; }
.portal-identity .public-fact dt { font-size: 12px; }
.portal-identity .public-fact dd { font-size: 15px; font-weight: 600; }
.portal-identity .pds-field { font-size: 13px; font-weight: 600; line-height: 1.8; }
.portal-identity .content-blog-filters label { font-size: 13px; font-weight: 600; }
.portal-identity .pds-btn,
.portal-identity .button { font-size: 14px; font-weight: 600; }
.portal-identity .institute-footer h2 { font-size: 18px; font-weight: 600; }
.portal-identity .institute-footer p,
.portal-identity .institute-footer nav a { font-size: 13px; line-height: 2; }
.portal-identity .institute-footer p { color: var(--identity-footer-text); opacity: .9; }
.portal-identity .content-pagination nav { gap: 8px; }
.portal-identity .content-pagination :is(a, span) { font-size: 13px; padding: 9px 16px; }
/* Preserve clear lettering on the dark identity surfaces. */
.portal-identity .page-hero p { opacity: 1; }
.portal-identity .public-registration-summary dt { opacity: 1; }
.portal-identity .public-registration-summary .eyebrow { background: transparent; color: var(--identity-header-text); border: 0; }
.portal-identity .dashboard-hero h1 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.7; font-weight: 700; }
.portal-identity .dashboard-hero p,
.portal-identity .hero-action small { color: #ffffffe6; font-size: 13px; }
.portal-identity .pds-table :is(th, td) { font-size: 13px; line-height: 1.8; }
.portal-identity .i360-home .home-hero-copy h1,
.portal-identity.i360-home .home-hero-copy h1 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.65; letter-spacing: 0; }
.portal-identity .home-section h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.8; }
.portal-identity .home-hero-copy > p { font-size: 15px; line-height: 2; }
@media (max-width: 600px) {
    .portal-identity .content-article { padding-block: 22px 36px; }
    .portal-identity .content-article__header h1 { font-size: 25px; line-height: 1.9; }
    .portal-identity .content-article__header > p,
    .portal-identity .content-prose { font-size: 14px; }
    .portal-identity .content-post-card__body { padding: 20px; }
    .portal-identity .content-breadcrumb { font-size: 11px; }
}
.portal-identity.pds-public .public-detail-hero h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.7; letter-spacing: 0; }
.portal-identity.pds-public .public-detail-hero p { font-size: 15px; line-height: 2; opacity: 1; }
.portal-identity.registration-view .public-detail-hero h1 { font-size: clamp(24px, 3vw, 34px); }
.portal-identity .dashboard-hero { background: linear-gradient(125deg, var(--brand-dark), var(--brand)); }
.portal-identity .registration-card label { font-size: 13px; font-weight: 600; line-height: 1.8; }
.portal-identity .registration-card h2,
.portal-identity .public-enroll-card h2 { font-size: 20px; font-weight: 600; line-height: 1.8; }
.portal-identity .public-enroll-card > p { font-size: 13px; color: var(--muted); }

/* Compact closing call to action and a continuous, readable footer. */
.portal-identity.pds-public .portal-cta { padding-block: 32px; background: var(--identity-footer); }
.portal-identity.pds-public .portal-cta > .shell { gap: 24px; padding: 28px 32px; border-radius: 16px; background: linear-gradient(120deg, var(--identity-header), var(--brand-dark)); border-color: color-mix(in srgb, var(--identity-footer-text) 18%, transparent); box-shadow: none; }
.portal-identity.pds-public .portal-cta h2 { font-size: clamp(23px, 2.5vw, 30px); font-weight: 700; line-height: 1.8; margin-block: 6px 10px; color: #fff; }
.portal-identity.pds-public .portal-cta p { max-width: 620px; margin: 0; color: #ffffffe6; font-size: 13px; line-height: 2; }
.portal-identity.pds-public .portal-cta .eyebrow { padding: 0; background: transparent; border: 0; color: #ffffffe6; font-size: 11px; font-weight: 500; }
.portal-identity.pds-public .portal-cta .button.primary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 18px; border-radius: 9px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--identity-accent) !important; color: var(--identity-accent-text) !important; box-shadow: none; }
.portal-identity.i360-home .institute-footer { margin-block-start: 0; border-top: 0; box-shadow: none; }
.portal-identity .institute-footer .institute-footer-grid { gap: 40px; padding-block: 36px 30px; }
.portal-identity .institute-footer .pds-footer-brand { gap: 12px; margin-bottom: 14px; }
.portal-identity .institute-footer .pds-footer-brand strong { font-size: 18px; font-weight: 600; line-height: 1.8; }
.portal-identity .institute-footer .pds-footer-brand img { width: 54px; height: 48px; }
.portal-identity .institute-footer h2 { font-size: 16px; font-weight: 600; line-height: 1.8; margin-block: 0 16px; }
.portal-identity .institute-footer .institute-footer-brand > p,
.portal-identity .institute-footer .institute-footer-contact > p { font-size: 13px; color: inherit; opacity: .95; line-height: 2; margin-bottom: 16px; }
.portal-identity .institute-footer .institute-footer-nav > div { row-gap: 12px; column-gap: 20px; }
.portal-identity .institute-footer .institute-footer-nav a { font-size: 13px; font-weight: 400; line-height: 1.8; opacity: .95; }
.portal-identity .institute-footer .institute-footer-nav a:hover { text-decoration: none; opacity: 1; }
.portal-identity .institute-footer .institute-footer-signature { font-size: 12px; line-height: 1.8; }
.portal-identity .institute-footer a.institute-footer-register { min-height: 42px; padding: 9px 18px; margin-bottom: 14px; font-size: 13px; font-weight: 600; border-radius: 9px; }
.portal-identity .institute-footer .institute-footer-detail { font-size: 12px; line-height: 1.8; }
.portal-identity .institute-footer .institute-footer-bottom { padding-block: 16px; font-size: 11px; }
.portal-identity .institute-footer .institute-footer-bottom > span,
.portal-identity .institute-footer .institute-footer-bottom a { opacity: .9; }
@media (max-width: 1000px) { .portal-identity .institute-footer .institute-footer-grid { gap: 28px; } }
@media (max-width: 620px) {
    .portal-identity.pds-public .portal-cta { padding-block: 24px; }
    .portal-identity.pds-public .portal-cta > .shell { padding: 22px; gap: 18px; }
    .portal-identity.pds-public .portal-cta h2 { font-size: 23px; }
    .portal-identity.pds-public .portal-cta .button.primary { width: 100%; }
    .portal-identity .institute-footer .institute-footer-grid { gap: 26px; padding-block: 28px; }
}
