.profile-resource-library {
    color: var(--ink, #1a1a1a);
    font-family: Inter, Arial, sans-serif;
    padding: 18px 0 56px;
}

/* Cascade lock: keep the profile visual system after legacy responsive rules. */
.profile-resource-library { padding-top: 0 !important; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; }
.profile-resource-library__intro { padding-top: 0 !important; border: 0 !important; }
.profile-resource-library__title { margin: 0 !important; font: 720 24px/1.15 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; letter-spacing: -.026em !important; }
.profile-resource-library__copy { font: 450 14.5px/1.48 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; }
.profile-resource-media,.profile-resource-documents { border: 0 !important; border-radius: 24px !important; background: var(--company-profile-module,#fbfaf7) !important; box-shadow: none !important; overflow: hidden !important; }
.profile-resource-media__stage { border: 0 !important; background: #eceae3 !important; }
.profile-resource-media__body { padding: 22px 24px !important; border: 0 !important; background: transparent !important; }
.profile-resource-media__title { font: 720 18px/1.28 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; letter-spacing: -.018em !important; }
.profile-resource-media__caption,.profile-resource-document__description { font: 450 14.5px/1.48 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; color: rgba(17,17,15,.7) !important; }
.profile-resource-media__thumbs { padding: 0 24px 22px !important; border: 0 !important; background: transparent !important; }
.profile-resource-media__thumb { border: 0 !important; border-radius: 12px !important; background: #f0efe9 !important; }
.profile-resource-media__thumb.is-active { box-shadow: inset 0 0 0 2px #171713 !important; }
.profile-resource-documents { margin-top: 18px !important; }
.profile-resource-module__header { min-height: 64px !important; padding: 0 24px !important; border: 0 !important; background: transparent !important; font: 720 18px/1.25 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; letter-spacing: -.018em !important; text-transform: none !important; }
.profile-resource-documents__table { border-collapse: separate !important; border-spacing: 0 !important; }
.profile-resource-documents__table th { height: 42px !important; padding: 0 18px !important; border: 0 !important; background: #f2f1ec !important; }
.profile-resource-document td { height: 74px !important; padding: 14px 18px !important; border: 0 !important; font-size: 13px !important; line-height: 1.4 !important; }
.profile-resource-document:hover,.profile-resource-document:focus-visible { background: #fff !important; }
.profile-resource-document__title { font: 700 16.5px/1.28 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; }
.profile-resource-document__official,.profile-resource-document__kind { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 24px !important; padding: 5px 9px !important; border: 0 !important; border-radius: 999px !important; background: #d9f2e5 !important; color: #234f3c !important; font-size: 9.5px !important; font-weight: 700 !important; line-height: 1.1 !important; text-align: center !important; }
.profile-resource-document__official.home-ftag--tint-2,
.profile-resource-document__kind.home-ftag--tint-2 { background: #d9f2e5 !important; color: #234f3c !important; }
.profile-resource-document__kind.home-ftag--tint-0 { background: #ffd9d2 !important; color: #7a3026 !important; }
.profile-resource-document__kind.home-ftag--tint-1 { background: #d8e7ff !important; color: #244b72 !important; }
.profile-resource-document__kind.home-ftag--tint-3 { background: #eadcff !important; color: #4c3569 !important; }
.profile-resource-document__kind.home-ftag--tint-4 { background: #fff0b8 !important; color: #6b5414 !important; }
.profile-resource-document__kind.home-ftag--tint-5 { background: #d5f2ff !important; color: #285f72 !important; }
.profile-resource-document__kind.home-ftag--tint-6 { background: #ffd9e3 !important; color: #76354a !important; }
.profile-resource-document__kind.home-ftag--tint-7 { background: #d4f3f1 !important; color: #245e5a !important; }
.profile-resource-document__kind.home-ftag--tint-8 { background: #e1ddff !important; color: #494073 !important; }
.profile-resource-document__kind.home-ftag--tint-9 { background: #e8f5c8 !important; color: #506520 !important; }
.profile-resource-document__kind.home-ftag--tint-10 { background: #d3eee7 !important; color: #286052 !important; }
.profile-resource-document__kind.home-ftag--tint-11 { background: #f5d9ef !important; color: #6b3860 !important; }

/* Profile sources and source-like actions use clean text with no underline. */
.profile-resource-library :is(.profile-resource-media__source,.profile-resource-document__action a),
.profile-resource-library :is(.profile-resource-media__source,.profile-resource-document__action a):is(:hover,:focus-visible,:active,:visited) {
    border-bottom: 0 !important;
    text-decoration: none !important;
}

/* Final profile visual system: Resources uses the same rounded, divider-free
   modules and type hierarchy as the rest of the company profile. */
.profile-resource-library {
    padding: 0 0 56px !important;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

.profile-resource-library__intro {
    padding: 0 0 22px !important;
    border: 0 !important;
}

.profile-resource-library__title {
    margin: 0 !important;
    font: 720 24px/1.15 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
    letter-spacing: -.026em !important;
}

.profile-resource-library__copy {
    margin-top: 10px !important;
    font-size: 14.5px !important;
    font-weight: 450 !important;
    line-height: 1.48 !important;
}

.profile-resource-media,
.profile-resource-documents {
    border: 0 !important;
    border-radius: 24px !important;
    background: var(--company-profile-module, #fbfaf7) !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.profile-resource-media__stage {
    border: 0 !important;
    background: #eceae3 !important;
}

.profile-resource-media__body {
    padding: 22px 24px !important;
    border: 0 !important;
    background: transparent !important;
}

.profile-resource-media__title {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
    font-size: 18px !important;
    font-weight: 720 !important;
    line-height: 1.28 !important;
    letter-spacing: -.018em !important;
}

.profile-resource-media__caption,
.profile-resource-document__description {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 450 !important;
    line-height: 1.48 !important;
    color: rgba(17,17,15,.7) !important;
}

.profile-resource-media__thumbs {
    padding: 0 24px 22px !important;
    border: 0 !important;
    background: transparent !important;
}

.profile-resource-media__thumb {
    border: 0 !important;
    border-radius: 12px !important;
    background: #f0efe9 !important;
}

.profile-resource-media__thumb.is-active { box-shadow: inset 0 0 0 2px #171713 !important; }

.profile-resource-documents { margin-top: 18px !important; }

.profile-resource-module__header {
    min-height: 64px !important;
    padding: 0 24px !important;
    border: 0 !important;
    background: transparent !important;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
    font-size: 18px !important;
    font-weight: 720 !important;
    line-height: 1.25 !important;
    letter-spacing: -.018em !important;
    text-transform: none !important;
}

.profile-resource-documents__table { border-collapse: separate !important; border-spacing: 0 !important; }

.profile-resource-documents__table th {
    height: 42px !important;
    padding: 0 18px !important;
    border: 0 !important;
    background: #f2f1ec !important;
}

.profile-resource-document td {
    height: 74px !important;
    padding: 14px 18px !important;
    border: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.profile-resource-document:hover,
.profile-resource-document:focus-visible { background: #fff !important; }

.profile-resource-document__title {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
    font-size: 16.5px !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
}

.profile-resource-document__official,
.profile-resource-document__kind {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 24px !important;
    padding: 5px 9px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #d9f2e5 !important;
    color: #234f3c !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-align: center !important;
}

.profile-resource-document__kind { background: #d8e7ff !important; color: #244b72 !important; }

/* Final resource table authority: column labels sit on the module, not a strip. */
.profile-resource-documents__table th {
    border: 0 !important;
    background: transparent !important;
}

.profile-resource-library__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    padding: 22px 0 24px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.13);
}

.profile-resource-library__eyebrow,
.profile-resource-section__label,
.profile-resource-document__kind,
.profile-resource-document__meta,
.profile-resource-media__meta,
.profile-resource-library__count {
    font-size: 11px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-resource-library__eyebrow,
.profile-resource-section__label,
.profile-resource-document__kind,
.profile-resource-document__meta,
.profile-resource-media__meta {
    color: rgba(26, 26, 26, 0.53);
}

.profile-resource-library__title {
    margin: 8px 0 0;
    font: 600 clamp(24px, 2.7vw, 38px)/1.08 Inter, Arial, sans-serif;
    letter-spacing: -0.035em;
}

.profile-resource-library__copy {
    max-width: 760px;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(26, 26, 26, 0.67);
}

.profile-resource-library__count {
    color: rgba(26, 26, 26, 0.47);
    white-space: nowrap;
}

.profile-resource-section {
    padding: 28px 0 0;
}

.profile-resource-section__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 14px;
}

.profile-resource-section__hint {
    color: rgba(26, 26, 26, 0.44);
    font-size: 12px;
    line-height: 1.4;
}

.profile-resource-documents {
    margin-top: 28px;
    border: 1px solid var(--profile-module-border, #d8d4cc);
    border-radius: 8px;
    overflow: hidden;
    background: var(--profile-module-bg, #faf9f7);
    box-shadow: 0 1px 2px rgba(20, 20, 16, 0.045), 0 12px 30px rgba(20, 20, 16, 0.055);
}

.profile-resource-module__header {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border-bottom: 1px solid var(--profile-module-border, #d8d4cc);
    background: #efede8;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-resource-documents__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.profile-resource-documents__table th {
    height: 54px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.13);
    background: #f7f6f3;
    color: rgba(26, 26, 26, 0.5);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-align: left;
    text-transform: uppercase;
}

.profile-resource-documents__table th:nth-child(1) { width: 39%; }
.profile-resource-documents__table th:nth-child(2) { width: 14%; }
.profile-resource-documents__table th:nth-child(3) { width: 14%; }
.profile-resource-documents__table th:nth-child(4) { width: 15%; }
.profile-resource-documents__table th:nth-child(5) { width: 9%; }
.profile-resource-documents__table th:nth-child(6) { width: 9%; }

.profile-resource-document {
    cursor: pointer;
    transition: background-color 140ms ease;
}

.profile-resource-document td {
    min-width: 0;
    height: 78px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    color: rgba(26, 26, 26, 0.69);
    font-size: 12px;
    line-height: 1.35;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.profile-resource-document:hover,
.profile-resource-document:focus-visible {
    background: #f5f4f1;
    outline: none;
}

.profile-resource-document:last-child td { border-bottom: 0; }

.profile-resource-document__title-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.profile-resource-document__official {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 2px 6px;
    border-radius: 3px;
    background: #e4eee8;
    color: #35634e;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-resource-document__title {
    color: #11100d !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 650 !important;
    letter-spacing: -0.015em;
    text-transform: none !important;
}

.profile-resource-document__description {
    display: -webkit-box;
    margin: 5px 0 0;
    color: rgba(26, 26, 26, 0.64);
    font-size: 11px;
    line-height: 1.4;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.profile-resource-document__mobile-meta { display: none; }

.profile-resource-document__kind {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: calc(100% - 12px);
    min-height: 22px;
    padding: 4px 7px;
    border: 1px solid rgba(47, 104, 77, 0.14);
    border-radius: 5px;
    background: #eef2ec;
    color: #2f684d;
    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    line-height: 1.15;
    white-space: normal;
}

.profile-resource-document__action a {
    color: rgba(26, 26, 26, 0.72);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.profile-resource-media {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(260px, 0.72fr);
    grid-template-areas:
        "stage body"
        "stage thumbs";
    grid-template-rows: auto minmax(0, 1fr);
    max-height: 440px;
    border: 1px solid var(--profile-module-border, #d8d4cc);
    border-radius: 8px;
    overflow: hidden;
    background: var(--profile-module-bg, #faf9f7);
    box-shadow: 0 1px 2px rgba(20, 20, 16, 0.045), 0 12px 30px rgba(20, 20, 16, 0.055);
}

.profile-resource-media__stage {
    grid-area: stage;
    position: relative;
    height: min(38vw, 437px);
    min-height: 320px;
    background: #efeeeb;
    overflow: hidden;
}

.profile-resource-media__stage img,
.profile-resource-media__stage iframe,
.profile-resource-media__stage video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.profile-resource-media__stage img,
.profile-resource-media__stage video {
    object-fit: cover;
}

.profile-resource-media__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.profile-resource-media__play::after {
    content: "";
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #11100d;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.profile-resource-media__play::before {
    content: "";
    position: absolute;
    z-index: 1;
    margin-left: 4px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 13px solid #fff;
}

.profile-resource-media__body {
    grid-area: body;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 20px;
    border-left: 1px solid rgba(26, 26, 26, 0.1);
    background: #efede8;
}

.profile-resource-media__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 650;
}

.profile-resource-media__caption {
    margin: 5px 0 0;
    color: rgba(26, 26, 26, 0.62);
    font-size: 13px;
    line-height: 1.5;
}

.profile-resource-media__source {
    color: rgba(26, 26, 26, 0.65);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.profile-resource-media__source:hover,
.profile-resource-media__source:focus-visible {
    color: #11100d;
    text-decoration: none;
}

.profile-resource-media__thumbs {
    grid-area: thumbs;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
    border-left: 1px solid rgba(26, 26, 26, 0.1);
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    scrollbar-width: thin;
}

.profile-resource-media__thumb {
    position: relative;
    min-width: 0;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #efeeeb;
    cursor: pointer;
}

.profile-resource-media__thumb.is-active {
    border-color: #11100d;
    box-shadow: inset 0 0 0 1px #11100d;
}

.profile-resource-media__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-resource-media__thumb span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 3px 5px;
    border-radius: 3px;
    background: rgba(17, 16, 13, 0.84);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    .profile-resource-library__intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
        padding-top: 12px;
    }
    .profile-resource-library__count { white-space: normal; }
    .profile-resource-documents__table th { height: 46px; padding: 0 12px; }
    .profile-resource-documents__table th:nth-child(1) { width: 78%; }
    .profile-resource-documents__table th:nth-child(5) { width: 22%; }
    .profile-resource-documents__table th:nth-child(2),
    .profile-resource-documents__table th:nth-child(3),
    .profile-resource-documents__table th:nth-child(4),
    .profile-resource-documents__table th:nth-child(6),
    .profile-resource-document__kind-cell,
    .profile-resource-document__scope,
    .profile-resource-document__publisher,
    .profile-resource-document__action { display: none; }
    .profile-resource-document td { height: 76px; padding: 11px 12px; }
    .profile-resource-document__description { -webkit-line-clamp: 1; }
    .profile-resource-document__mobile-meta {
        display: block;
        margin-top: 5px;
        color: rgba(26, 26, 26, 0.48);
        font-size: 8px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.3;
        text-transform: uppercase;
    }
    .profile-resource-media__body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .profile-resource-media__source { white-space: normal; }
    .profile-resource-media__thumbs { grid-auto-columns: 112px; }
    .profile-resource-library { padding-top: 12px; }
    .profile-resource-media {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "stage" "body" "thumbs";
        grid-template-rows: auto auto auto;
        max-height: none;
    }
    .profile-resource-media__stage {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
    .profile-resource-media__body {
        padding: 14px 16px 15px;
        border-left: 0;
        border-top: 1px solid rgba(26, 26, 26, 0.1);
    }
    .profile-resource-media__thumbs {
        grid-auto-flow: column;
        grid-auto-columns: 112px;
        grid-template-columns: none;
        overflow-x: auto;
        overflow-y: hidden;
        border-left: 0;
    }
    .profile-resource-documents { margin-top: 22px; }
    .profile-resource-module__header { min-height: 46px; padding: 0 12px; }
}

/* Cascade lock: final after all legacy and responsive rules. */
.profile-resource-library { padding-top: 0 !important; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; }
.profile-resource-library__intro { padding-top: 0 !important; border: 0 !important; }
.profile-resource-library__title { margin: 0 !important; font: 720 24px/1.15 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; letter-spacing: -.026em !important; }
.profile-resource-library__copy { font: 450 14.5px/1.48 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; }
.profile-resource-media,.profile-resource-documents { border: 0 !important; border-radius: 24px !important; background: var(--company-profile-module,#fbfaf7) !important; box-shadow: none !important; overflow: hidden !important; }
.profile-resource-media__stage { border: 0 !important; background: #eceae3 !important; }
.profile-resource-media__body { padding: 22px 24px !important; border: 0 !important; background: transparent !important; }
.profile-resource-media__title { font: 720 18px/1.28 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; letter-spacing: -.018em !important; }
.profile-resource-media__caption,.profile-resource-document__description { font: 450 14.5px/1.48 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; color: rgba(17,17,15,.7) !important; }
.profile-resource-media__thumbs { padding: 0 24px 22px !important; border: 0 !important; background: transparent !important; }
.profile-resource-media__thumb { border: 0 !important; border-radius: 12px !important; background: #f0efe9 !important; }
.profile-resource-media__thumb.is-active { box-shadow: inset 0 0 0 2px #171713 !important; }
.profile-resource-documents { margin-top: 18px !important; }
.profile-resource-module__header { min-height: 64px !important; padding: 0 24px !important; border: 0 !important; background: transparent !important; font: 720 18px/1.25 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; letter-spacing: -.018em !important; text-transform: none !important; }
.profile-resource-documents__table { border-collapse: separate !important; border-spacing: 0 !important; }
.profile-resource-documents__table th { height: 42px !important; padding: 0 18px !important; border: 0 !important; background: #f2f1ec !important; }
.profile-resource-document td { height: 74px !important; padding: 14px 18px !important; border: 0 !important; font-size: 13px !important; line-height: 1.4 !important; }
.profile-resource-document:hover,.profile-resource-document:focus-visible { background: #fff !important; }
.profile-resource-document__title { font: 700 16.5px/1.28 Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; }
.profile-resource-document__official,.profile-resource-document__kind { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 24px !important; padding: 5px 9px !important; border: 0 !important; border-radius: 999px !important; background: #d9f2e5 !important; color: #234f3c !important; font-size: 9.5px !important; font-weight: 700 !important; line-height: 1.1 !important; text-align: center !important; }
.profile-resource-document__kind { background: #d8e7ff !important; color: #244b72 !important; }
.profile-resource-documents__table th { background: transparent !important; }
