@charset "utf-8";

#contentInfoCon {
    display: none;
}

.resources-page {
    --resource-ink: #080b12;
    --resource-text: #394454;
    --resource-muted: #778291;
    --resource-line: #dce1e7;
    --resource-line-strong: #bdc6d0;
    --resource-surface: #f3f6f8;
    --resource-blue: #1e7dce;
    min-height: 60rem;
    color: var(--resource-ink);
    background: #fff;
    word-break: keep-all;
}

.resources-page *,
.resources-page *::before,
.resources-page *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.resources-inner {
    padding: 6rem var(--area-padding) 12rem;
}

.resources-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 4rem;
}

.resources-intro h1 {
    flex: 0 0 auto;
    margin: 0;
    color: var(--resource-ink);
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.08;
}

.resources-intro p {
    max-width: 62rem;
    margin: 0 0 0.6rem;
    color: var(--resource-text);
    font-size: 1.6rem;
    line-height: 1.7;
    text-align: right;
}

@media all and (min-width: 1201px) {
    .resources-intro p {
        max-width: none;
        white-space: nowrap;
    }
}

.resources-toolbar {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding: 2rem 0;
    border-top: 1px solid var(--resource-line);
    border-bottom: 1px solid var(--resource-line);
}

.resource-segments {
    display: inline-flex;
    min-height: 4.4rem;
    overflow: hidden;
    border: 1px solid var(--resource-line-strong);
    border-radius: 5px;
}

.resource-segment {
    min-width: 7.8rem;
    padding: 0.9rem 1.6rem;
    border: 0;
    border-right: 1px solid var(--resource-line-strong);
    color: var(--resource-ink);
    background: #fff;
    font-family: var(--font-family1);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

.resource-segment:last-child {
    border-right: 0;
}

.resource-segment.active {
    color: #fff;
    background: var(--resource-blue);
}

.resource-segment:focus-visible,
.resource-search input:focus-visible,
.resource-download-button:focus-visible,
.resource-language-option:focus-within {
    outline: 3px solid rgba(30, 125, 206, 0.22);
    outline-offset: 2px;
}

.resource-language-filter .resource-segment {
    min-width: 5.4rem;
    padding-right: 1.2rem;
    padding-left: 1.2rem;
    font-family: var(--font-family2);
}

.resource-search {
    position: relative;
    width: min(100%, 28rem);
    margin-left: auto;
}

.resource-search i {
    position: absolute;
    top: 50%;
    left: 1.4rem;
    color: var(--resource-muted);
    font-size: 1.8rem;
    transform: translateY(-50%);
}

.resource-search input {
    width: 100%;
    height: 4.4rem;
    padding: 0 1.4rem 0 4.2rem;
    border: 1px solid var(--resource-line-strong);
    border-radius: 5px;
    color: var(--resource-ink);
    background: #fff;
    font-family: var(--font-family1);
    font-size: 1.4rem;
}

.resource-search input::placeholder {
    color: var(--resource-muted);
}

.resource-result-summary {
    display: flex;
    min-height: 6.5rem;
    align-items: center;
    color: var(--resource-muted);
    font-size: 1.4rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.6rem;
}

.resource-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--resource-line);
    border-radius: 6px;
    background: #fff;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.resource-card:hover {
    border-color: #aab2bc;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(8, 11, 18, 0.08);
}

.resource-card[hidden] {
    display: none;
}

.resource-cover {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-bottom: 1px solid var(--resource-line);
    background: var(--resource-surface);
}

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

.resource-cover-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-content: center;
    justify-items: center;
    gap: 0.5rem;
    padding: 2.2rem 2.4rem 4.8rem;
    color: #788493;
    text-align: center;
}

.resource-cover-placeholder i {
    font-size: 3.4rem;
}

.resource-cover-placeholder span {
    font-family: var(--font-family2);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-cover-placeholder strong {
    color: #435061;
    font-size: 1.4rem;
}

.resource-cover-label {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 3.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 0.8rem 1.8rem;
    border-top: 1px solid rgba(8, 11, 18, 0.08);
    color: var(--resource-text);
    background: rgba(255, 255, 255, 0.94);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.resource-card-body {
    display: flex;
    min-height: 33rem;
    flex-direction: column;
    padding: 2.2rem;
}

.resource-type {
    margin: 0 0 0.8rem;
    color: var(--resource-blue);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}

.resource-title {
    display: -webkit-box;
    min-height: 5.8rem;
    overflow: hidden;
    margin: 0;
    color: var(--resource-ink);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.resource-summary {
    display: -webkit-box;
    min-height: 6.6rem;
    overflow: hidden;
    margin: 1rem 0 1.8rem;
    color: var(--resource-text);
    font-size: 1.4rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.resource-download-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.2rem;
    min-height: 8.8rem;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.6rem;
    border-top: 1px solid var(--resource-line);
}

.resource-document-options {
    display: grid;
    min-width: 0;
    min-height: 6.3rem;
    align-content: center;
    gap: 0.7rem;
}

.resource-document-row {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    min-height: 2.8rem;
    align-items: center;
    gap: 0.6rem;
}

.resource-document-label {
    color: var(--resource-text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.resource-language-options {
    display: flex;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 0.6rem;
}

.resource-language-option {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.4rem;
    color: var(--resource-muted);
    cursor: pointer;
}

.resource-language-option input {
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 1.4rem;
    margin: 0;
    accent-color: var(--resource-blue);
    cursor: pointer;
}

.resource-language-option span {
    font-size: 1rem;
    font-weight: 800;
}

.resource-language-option:has(input:checked) {
    color: #1169b1;
}

.resource-download-button {
    display: inline-flex;
    width: 4.2rem;
    height: 4.2rem;
    align-items: center;
    justify-content: center;
    align-self: center;
    border-radius: 4px;
    color: #fff;
    background: var(--resource-blue);
    transition: background 180ms ease, opacity 180ms ease;
}

.resource-download-button i {
    font-size: 2rem;
}

.resource-download-button:hover {
    background: #1269b2;
}

.resource-download-button:disabled {
    opacity: 0.45;
    cursor: wait;
}

.resource-empty {
    padding: 7.2rem 0 11rem;
    border-bottom: 1px solid var(--resource-line);
    color: var(--resource-muted);
    font-size: 1.4rem;
    text-align: center;
}

.resource-empty i {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.resource-toast {
    position: fixed;
    right: 2.4rem;
    bottom: 2.4rem;
    z-index: 10020;
    max-width: min(38rem, calc(100vw - 4rem));
    padding: 1.4rem 1.8rem;
    border-radius: 5px;
    color: #fff;
    background: #111722;
    box-shadow: 0 12px 36px rgba(8, 11, 18, 0.24);
    font-size: 1.4rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(1.2rem);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.resource-toast.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.resource-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
