.proudg-library-cover {
    --proudg-navy: #071b4d;
    --proudg-blue: #0878f9;
    --proudg-cyan: #08bce8;
    --proudg-ink: #10255f;
    --proudg-muted: #5d709c;
    --proudg-line: #d9e5f2;
    --proudg-soft: #f5f9fe;
    --proudg-pale: #eaf5ff;
    width: 100%;
    min-height: 70vh;
    color: var(--proudg-ink);
    background: #fff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.proudg-library-cover *,
.proudg-library-cover *::before,
.proudg-library-cover *::after {
    box-sizing: border-box;
}

.proudg-library-template {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.proudg-library-shell {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}

.proudg-library-cover .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.proudg-library-hero {
    position: relative;
    overflow: hidden;
    padding: 29px 0 27px;
    border-bottom: 1px solid var(--proudg-line);
    background:
        radial-gradient(circle at 82% -90%, rgba(8, 188, 232, .12), transparent 42%),
        linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.proudg-library-hero::after {
    content: "";
    position: absolute;
    right: 6%;
    bottom: -44px;
    width: 180px;
    height: 90px;
    border: 1px solid rgba(8, 120, 249, .08);
    border-radius: 50%;
    pointer-events: none;
}

.proudg-library-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, .72fr) minmax(540px, 1.28fr);
    gap: 56px;
    align-items: center;
}

.proudg-library-hero__copy > span {
    display: block;
    margin-bottom: 4px;
    color: var(--proudg-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.proudg-library-hero__copy h1 {
    margin: 0;
    color: var(--proudg-navy);
    font-size: clamp(31px, 3vw, 44px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.proudg-library-hero__copy h1 em {
    color: var(--proudg-cyan);
    font-style: normal;
}

.proudg-library-hero__copy p {
    margin: 9px 0 0;
    color: var(--proudg-muted);
    font-size: 15px;
    line-height: 1.45;
}

.proudg-library-search {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto auto;
    align-items: center;
    min-height: 50px;
}

.proudg-library-search__icon {
    z-index: 1;
    display: grid;
    width: 46px;
    height: 50px;
    place-items: center;
    color: #176ac7;
    border: 1px solid #abcaf1;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #fff;
}

.proudg-library-search__icon svg,
.proudg-library-story__meta svg,
.proudg-library-story__arrow svg,
.proudg-library-courses svg,
.proudg-library-view-all svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.proudg-library-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 50px;
    margin: 0;
    padding: 0 12px 0 2px;
    color: var(--proudg-navy);
    border: 1px solid #abcaf1;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    outline: 0;
    background: #fff;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    -webkit-appearance: none;
}

.proudg-library-search input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.proudg-library-search input[type="search"]::placeholder {
    color: #7284aa;
    opacity: 1;
}

.proudg-library-search:focus-within .proudg-library-search__icon,
.proudg-library-search:focus-within input[type="search"] {
    border-color: var(--proudg-blue);
}

.proudg-library-search__clear {
    display: grid;
    width: 40px;
    height: 50px;
    margin: 0;
    padding: 0 0 2px;
    place-items: center;
    color: #7182a8;
    border: 1px solid #abcaf1;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    font-size: 24px;
    font-weight: 300;
}

.proudg-library-search__clear[hidden] {
    display: none;
}

.proudg-library-search__button {
    height: 50px;
    min-width: 128px;
    margin: 0 0 0 12px;
    padding: 0 25px;
    color: #fff;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #0982ff, #056be1);
    box-shadow: 0 7px 18px rgba(5, 107, 225, .18);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    transition: transform .18s ease, box-shadow .18s ease;
}

.proudg-library-search__button:hover,
.proudg-library-search__button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(5, 107, 225, .25);
}

.proudg-library-stats {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 11px;
    color: #4b6295;
    font-size: 13px;
}

.proudg-library-stats::before {
    content: "";
    width: 40px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--proudg-cyan), var(--proudg-blue));
}

.proudg-library-stats strong {
    color: var(--proudg-navy);
    font-weight: 800;
}

.proudg-library-stats i,
.proudg-library-story__eyebrow i,
.proudg-library-story__meta i {
    color: #9aacca;
    font-style: normal;
}

.proudg-library-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 50px;
}

.proudg-library-sidebar {
    padding-right: 24px;
    border-right: 1px solid var(--proudg-line);
}

.proudg-library-sidebar h2,
.proudg-library-editorial__header h2 {
    margin: 0;
    color: var(--proudg-navy);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.proudg-library-sidebar h2 {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--proudg-line);
}

.proudg-library-courses {
    display: flex;
    flex-direction: column;
}

.proudg-library-courses a {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 20px;
    gap: 12px;
    align-items: center;
    min-height: 55px;
    padding: 7px 8px;
    color: var(--proudg-navy);
    border-bottom: 1px solid #e5edf6;
    border-radius: 8px;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.proudg-library-courses a:first-child {
    margin-top: 5px;
}

.proudg-library-courses a:hover,
.proudg-library-courses a:focus-visible {
    color: #075fc6;
    background: var(--proudg-pale);
    transform: translateX(2px);
}

.proudg-library-courses a[hidden] {
    display: none;
}

.proudg-library-courses strong {
    display: grid;
    min-height: 34px;
    padding: 0 7px;
    place-items: center;
    color: #fff;
    border-radius: 7px;
    background: linear-gradient(135deg, #0787ff, #0668db);
    box-shadow: 0 4px 10px rgba(8, 120, 249, .12);
    font-size: 12px;
    font-weight: 800;
}

.proudg-library-courses span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.proudg-library-courses svg {
    width: 17px;
    height: 17px;
    color: var(--proudg-blue);
}

.proudg-library-mike {
    position: relative;
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    align-items: center;
    min-height: 142px;
    margin-top: 18px;
    padding: 9px 15px 9px 4px;
    overflow: hidden;
    border: 1px solid #d9ebfb;
    border-radius: 12px;
    background: linear-gradient(135deg, #edf8ff, #f8fcff);
}

.proudg-library-mike::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -47px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(8, 188, 232, .07);
}

.proudg-library-mike img {
    position: relative;
    z-index: 1;
    display: block;
    width: 122px;
    height: 122px;
    object-fit: contain;
}

.proudg-library-mike > div {
    position: relative;
    z-index: 1;
}

.proudg-library-mike strong {
    display: block;
    color: var(--proudg-navy);
    font-size: 15px;
    font-weight: 800;
}

.proudg-library-mike p {
    margin: 6px 0 0;
    color: #4c6597;
    font-size: 12.5px;
    line-height: 1.45;
}

.proudg-library-editorial {
    min-width: 0;
}

.proudg-library-editorial__header {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 18px;
    align-items: end;
    min-height: 45px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--proudg-line);
}

.proudg-library-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
}

.proudg-library-tabs button,
.proudg-library-view-all {
    position: relative;
    margin: 0;
    padding: 7px 0 9px;
    color: #536b9e;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.proudg-library-tabs button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -12px;
    left: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--proudg-blue);
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .18s ease, transform .18s ease;
}

.proudg-library-tabs button[aria-selected="true"] {
    color: #056ee8;
}

.proudg-library-tabs button[aria-selected="true"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.proudg-library-tabs button:focus-visible,
.proudg-library-view-all:focus-visible {
    outline: 2px solid rgba(8, 120, 249, .35);
    outline-offset: 3px;
}

.proudg-library-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 22px;
    color: #0574ee;
    border-left: 1px solid #bfd1e7;
}

.proudg-library-view-all svg {
    width: 16px;
    height: 16px;
}

.proudg-library-view-all[hidden] {
    display: none;
}

.proudg-library-search-summary {
    min-height: 18px;
    margin: 8px 0 0;
    color: #6b7da5;
    font-size: 12px;
    line-height: 1.4;
}

.proudg-library-stories {
    display: flex;
    flex-direction: column;
}

.proudg-library-story {
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr) 42px;
    gap: 20px;
    align-items: center;
    min-height: 112px;
    padding: 12px 2px 12px 0;
    border-bottom: 1px solid var(--proudg-line);
    background: #fff;
    animation: proudgStoryIn .22s ease both;
}

.proudg-library-story[hidden] {
    display: none;
}

@keyframes proudgStoryIn {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.proudg-library-story__image {
    display: block;
    width: 172px;
    height: 96px;
    overflow: hidden;
    border-radius: 9px;
    background: #dfeaf6;
}

.proudg-library-story__image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform .28s ease;
}

.proudg-library-story:hover .proudg-library-story__image img {
    transform: scale(1.025);
}

.proudg-library-story__body {
    min-width: 0;
}

.proudg-library-story__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
    color: #667aa7;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .055em;
    line-height: 1.3;
    text-transform: uppercase;
}

.proudg-library-story__eyebrow span:first-child {
    color: #0576ef;
    font-weight: 850;
}

.proudg-library-story h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.018em;
}

.proudg-library-story h3 a {
    color: var(--proudg-navy);
    text-decoration: none;
}

.proudg-library-story h3 a:hover,
.proudg-library-story h3 a:focus-visible {
    color: #056ee8;
}

.proudg-library-story__body > p {
    margin: 4px 0 5px;
    overflow: hidden;
    color: #586d9b;
    font-size: 13px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proudg-library-story__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #6076a5;
    font-size: 11px;
    line-height: 1.3;
}

.proudg-library-story__meta svg {
    width: 14px;
    height: 14px;
    color: var(--proudg-blue);
}

.proudg-library-story__arrow {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--proudg-blue);
    border-radius: 50%;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.proudg-library-story__arrow:hover,
.proudg-library-story__arrow:focus-visible {
    color: #fff;
    background: var(--proudg-blue);
    transform: translateX(2px);
}

.proudg-library-story__arrow svg {
    width: 18px;
    height: 18px;
}

.proudg-library-empty {
    margin: 28px 0;
    padding: 28px;
    text-align: center;
    border: 1px dashed #bbcee5;
    border-radius: 12px;
    background: var(--proudg-soft);
}

.proudg-library-empty[hidden] {
    display: none;
}

.proudg-library-empty strong,
.proudg-library-empty span {
    display: block;
}

.proudg-library-empty strong {
    color: var(--proudg-navy);
    font-size: 15px;
}

.proudg-library-empty span {
    margin-top: 5px;
    color: var(--proudg-muted);
    font-size: 13px;
}

@media (max-width: 1120px) {
    .proudg-library-hero__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .proudg-library-layout {
        grid-template-columns: 270px minmax(0, 1fr);
    }

    .proudg-library-editorial__header {
        grid-template-columns: 1fr auto;
    }

    .proudg-library-editorial__header h2 {
        grid-column: 1 / -1;
    }

    .proudg-library-mike {
        grid-template-columns: 86px minmax(0, 1fr);
    }

    .proudg-library-mike img {
        width: 84px;
        height: 84px;
    }

    .proudg-library-story {
        grid-template-columns: 144px minmax(0, 1fr) 38px;
        gap: 14px;
    }

    .proudg-library-story__image {
        width: 144px;
        height: 86px;
    }
}

@media (max-width: 820px) {
    .proudg-library-shell {
        width: min(100% - 30px, 720px);
    }

    .proudg-library-layout {
        display: block;
        padding-top: 23px;
    }

    .proudg-library-sidebar {
        padding: 0 0 22px;
        border-right: 0;
        border-bottom: 1px solid var(--proudg-line);
    }

    .proudg-library-sidebar h2 {
        border-bottom: 0;
    }

    .proudg-library-courses {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .proudg-library-courses a,
    .proudg-library-courses a:first-child {
        min-height: 50px;
        margin-top: 0;
        border: 1px solid #e0eaf5;
    }

    .proudg-library-mike {
        display: none;
    }

    .proudg-library-editorial {
        padding-top: 25px;
    }
}

@media (max-width: 620px) {
    .proudg-library-hero {
        padding: 24px 0 22px;
    }

    .proudg-library-hero__copy h1 {
        font-size: 33px;
    }

    .proudg-library-search {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        row-gap: 10px;
    }

    .proudg-library-search__icon {
        width: 42px;
    }

    .proudg-library-search__clear {
        grid-column: 3;
        grid-row: 1;
        border-right: 1px solid #abcaf1;
        border-radius: 0 9px 9px 0;
    }

    .proudg-library-search input[type="search"] {
        grid-column: 2 / 4;
        grid-row: 1;
        padding-right: 42px;
        border-right: 1px solid #abcaf1;
        border-radius: 0 9px 9px 0;
    }

    .proudg-library-search__clear:not([hidden]) + .proudg-library-search__button {
        grid-column: 1 / -1;
    }

    .proudg-library-search__button,
    .proudg-library-search__clear[hidden] + .proudg-library-search__button {
        grid-column: 1 / -1;
        width: 100%;
        margin-left: 0;
    }

    .proudg-library-stats {
        flex-wrap: wrap;
        gap: 7px;
    }

    .proudg-library-stats::before {
        width: 28px;
    }

    .proudg-library-courses {
        grid-template-columns: 1fr;
    }

    .proudg-library-editorial__header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 18px;
    }

    .proudg-library-editorial__header h2 {
        width: 100%;
    }

    .proudg-library-tabs {
        order: 2;
        width: 100%;
        gap: 20px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .proudg-library-tabs::-webkit-scrollbar {
        display: none;
    }

    .proudg-library-view-all {
        order: 3;
        margin-left: auto;
        padding-left: 0;
        border-left: 0;
    }

    .proudg-library-tabs button::after {
        bottom: -12px;
    }

    .proudg-library-story {
        grid-template-columns: 112px minmax(0, 1fr) 28px;
        gap: 11px;
        min-height: 105px;
        padding: 11px 0;
    }

    .proudg-library-story__image {
        width: 112px;
        height: 76px;
    }

    .proudg-library-story__eyebrow time,
    .proudg-library-story__eyebrow time + i,
    .proudg-library-story__meta i:nth-of-type(n+2),
    .proudg-library-story__meta i:nth-of-type(n+2) ~ span {
        display: none;
    }

    .proudg-library-story h3 {
        display: -webkit-box;
        overflow: hidden;
        font-size: 15px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .proudg-library-story__body > p {
        display: none;
    }

    .proudg-library-story__arrow {
        width: 28px;
        height: 32px;
    }
}

@media (max-width: 390px) {
    .proudg-library-shell {
        width: calc(100% - 22px);
    }

    .proudg-library-story {
        grid-template-columns: 94px minmax(0, 1fr) 24px;
    }

    .proudg-library-story__image {
        width: 94px;
        height: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .proudg-library-cover *,
    .proudg-library-cover *::before,
    .proudg-library-cover *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

