/* FSGK documents archive and document detail */
.fsgk-documents-archive,
.fsgk-document-detail,
.fsgk-document-not-found {
    padding: 100px 0;
    background: #f5f6f7;
}

.fsgk-documents-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
    padding-bottom: 32px;
    border-bottom: 1px solid #dde1e4;
}

.fsgk-documents-intro > div:first-child {
    max-width: 720px;
}

.fsgk-section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.fsgk-documents-intro h2,
.fsgk-document-results-heading h2,
.fsgk-document-panel h2,
.fsgk-related-documents h3 {
    margin: 0;
    color: var(--primary-color);
}

.fsgk-documents-intro h2 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: .95;
}

.fsgk-documents-intro p {
    max-width: 680px;
    margin: 18px 0 0;
}

.fsgk-document-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(95px, 1fr));
    min-width: 470px;
    overflow: hidden;
    border: 1px solid #dfe3e6;
    border-radius: 14px;
    background: #fff;
}

.fsgk-document-stats span {
    display: flex;
    min-height: 96px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e6e9eb;
    text-align: center;
}

.fsgk-document-stats span:last-child {
    border-right: 0;
}

.fsgk-document-stats strong {
    color: var(--primary-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.fsgk-document-stats small {
    margin-top: 6px;
    color: #969ca1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.fsgk-documents-toolbar {
    margin-bottom: 40px;
    padding: 18px;
    border: 1px solid #dfe3e6;
    border-radius: 16px;
    background: #fff;
}

.fsgk-document-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 290px) auto auto;
    gap: 12px;
    align-items: center;
}

.fsgk-document-search label {
    position: relative;
    display: block;
    margin: 0;
}

.fsgk-document-search label i {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 1;
    color: var(--accent-color);
    transform: translateY(-50%);
}

.fsgk-document-search input,
.fsgk-document-search select {
    width: 100%;
    height: 54px;
    margin: 0;
    border: 1px solid #dce1e4;
    border-radius: 10px;
    background: #f7f8f9;
    color: var(--primary-color);
    font-size: 14px;
    outline: 0;
}

.fsgk-document-search input {
    padding: 0 18px 0 50px;
}

.fsgk-document-search select {
    padding: 0 42px 0 16px;
}

.fsgk-document-search input:focus,
.fsgk-document-search select:focus {
    border-color: var(--accent-color);
    background: #fff;
}

.fsgk-document-search .btn-default {
    min-width: 130px;
    border: 0;
}

.fsgk-filter-reset {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.fsgk-filter-reset:hover {
    color: var(--accent-color);
}

.fsgk-documents-layout {
    align-items: flex-start;
}

.fsgk-document-sidebar {
    position: sticky;
    top: 110px;
}

.fsgk-document-sidebar-box,
.fsgk-document-help,
.fsgk-document-panel,
.fsgk-related-documents,
.fsgk-document-download-box {
    border: 1px solid #dfe3e6;
    border-radius: 18px;
    background: #fff;
}

.fsgk-document-sidebar-box {
    padding: 28px;
}

.fsgk-document-sidebar-box h3,
.fsgk-document-help h3,
.fsgk-document-download-box h3 {
    margin: 0 0 22px;
    color: var(--primary-color);
    font-size: 30px;
}

.fsgk-document-categories {
    display: flex;
    flex-direction: column;
}

.fsgk-document-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 54px;
    padding: 12px 4px;
    border-bottom: 1px solid #eceeef;
    color: #737b81;
    font-size: 13px;
    font-weight: 700;
}

.fsgk-document-categories a:last-child {
    border-bottom: 0;
}

.fsgk-document-categories a span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fsgk-document-categories a i {
    width: 18px;
    color: var(--accent-color);
}

.fsgk-document-categories a strong {
    display: grid;
    min-width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #eff1f2;
    color: var(--primary-color);
    font-size: 11px;
}

.fsgk-document-categories a:hover,
.fsgk-document-categories a.is-active {
    color: var(--accent-color);
}

.fsgk-document-categories a.is-active strong {
    background: var(--accent-color);
    color: #fff;
}

.fsgk-document-help {
    margin-top: 24px;
    padding: 30px;
    overflow: hidden;
    background: linear-gradient(150deg, #14344a 0%, var(--primary-color) 70%);
    color: rgba(255,255,255,.75);
}

.fsgk-document-help > i {
    margin-bottom: 24px;
    color: var(--accent-color);
    font-size: 32px;
}

.fsgk-document-help > span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fsgk-document-help h3 {
    color: #fff;
    line-height: 1.05;
}

.fsgk-document-help p {
    margin-bottom: 24px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.fsgk-document-help .btn-default {
    width: 100%;
    text-align: center;
}

.fsgk-document-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}

.fsgk-document-results-heading h2 {
    font-size: 44px;
    line-height: 1;
}

.fsgk-document-results-heading > strong {
    display: flex;
    width: 76px;
    height: 76px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe3e6;
    border-radius: 14px;
    background: #fff;
    color: var(--primary-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.fsgk-document-results-heading > strong small {
    margin-top: 5px;
    color: #9aa0a5;
    font-family: 'Manrope', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.fsgk-document-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fsgk-document-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr) 130px;
    min-height: 180px;
    overflow: hidden;
    border: 1px solid #dfe3e6;
    border-radius: 17px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fsgk-document-card:hover {
    border-color: rgba(196,34,33,.4);
    box-shadow: 0 18px 42px rgba(3,21,33,.08);
    transform: translateY(-3px);
}

.fsgk-document-card.is-featured {
    border-left: 4px solid var(--accent-color);
}

.fsgk-document-card__file {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
}

.fsgk-document-card__file i {
    margin-bottom: 14px;
    color: var(--accent-color);
    font-size: 43px;
}

.fsgk-document-card__file > span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
}

.fsgk-document-card__file small {
    position: absolute;
    top: 12px;
    left: 50%;
    padding: 3px 7px;
    border-radius: 20px;
    background: var(--accent-color);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.fsgk-document-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
}

.fsgk-document-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 9px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.fsgk-document-card__meta a {
    color: var(--accent-color);
}

.fsgk-document-card__meta span {
    color: #969ca1;
}

.fsgk-document-card__meta i {
    margin-right: 6px;
    color: var(--accent-color);
}

.fsgk-document-card h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 28px;
    line-height: 1.08;
}

.fsgk-document-card h3 a {
    color: inherit;
}

.fsgk-document-card h3 a:hover {
    color: var(--accent-color);
}

.fsgk-document-card p {
    margin: 10px 0 12px;
    font-size: 13px;
    line-height: 1.65;
}

.fsgk-document-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    color: #747c82;
    font-size: 10px;
    font-weight: 700;
}

.fsgk-document-card__facts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.fsgk-document-card__facts i {
    color: var(--accent-color);
}

.fsgk-document-card__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    border-left: 1px solid #e6e9eb;
}

.fsgk-document-card__actions a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.fsgk-document-card__actions a + a {
    border-top: 1px solid #e6e9eb;
}

.fsgk-document-card__actions a:hover,
.fsgk-document-card__actions a.is-download {
    color: var(--accent-color);
}

.fsgk-document-card__actions a.is-download:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Detail */
.fsgk-document-detail-hero {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 250px;
    align-items: stretch;
    margin-bottom: 42px;
    overflow: hidden;
    border-radius: 20px;
    background: var(--primary-color);
    color: #fff;
}

.fsgk-document-detail-hero__icon {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
}

.fsgk-document-detail-hero__icon i {
    margin-bottom: 18px;
    color: var(--accent-color);
    font-size: 58px;
}

.fsgk-document-detail-hero__icon span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
}

.fsgk-document-detail-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 44px;
}

.fsgk-document-detail-hero__category {
    align-self: flex-start;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.fsgk-document-detail-hero__content h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5vw, 64px);
    line-height: .98;
}

.fsgk-document-detail-hero__content p {
    max-width: 740px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.7);
    font-size: 14px;
}

.fsgk-document-download-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: var(--accent-color);
    color: #fff;
    text-align: center;
}

.fsgk-document-download-button:hover {
    background: #a71818;
    color: #fff;
}

.fsgk-document-download-button > i {
    font-size: 40px;
}

.fsgk-document-download-button > span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    line-height: 1;
}

.fsgk-document-download-button small {
    display: block;
    margin-top: 7px;
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
}

.fsgk-document-detail-layout {
    align-items: flex-start;
}

.fsgk-document-panel {
    margin-bottom: 24px;
    padding: 34px;
}

.fsgk-document-panel > header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e7e9;
}

.fsgk-document-panel h2 {
    font-size: 38px;
}

.fsgk-document-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fsgk-document-facts > div {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 80px;
    padding: 17px 20px;
    border-radius: 12px;
    background: #f4f6f7;
}

.fsgk-document-facts > div > i {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--accent-color);
}

.fsgk-document-facts span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: #9aa0a5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.fsgk-document-facts b {
    overflow: hidden;
    margin-top: 5px;
    color: var(--primary-color);
    font-size: 13px;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.fsgk-document-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fsgk-document-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 15px 18px;
    border: 1px solid #e2e5e7;
    border-radius: 12px;
    color: var(--primary-color);
}

.fsgk-document-links a:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.fsgk-document-links > a > i {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
}

.fsgk-document-links span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.fsgk-document-links small {
    margin-bottom: 3px;
    color: #999fa4;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.fsgk-document-links strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fsgk-document-download-box,
.fsgk-related-documents {
    padding: 30px;
}

.fsgk-document-download-box {
    position: sticky;
    top: 110px;
    overflow: hidden;
    background: var(--primary-color);
    color: rgba(255,255,255,.7);
    text-align: center;
}

.fsgk-document-download-box > i {
    margin-bottom: 22px;
    color: var(--accent-color);
    font-size: 48px;
}

.fsgk-document-download-box > span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fsgk-document-download-box h3 {
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.05;
}

.fsgk-document-download-box p {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.fsgk-document-download-box .btn-default {
    width: 100%;
    margin: 8px 0 18px;
}

.fsgk-document-download-box > small {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.fsgk-document-download-box > small i {
    margin-right: 5px;
    color: var(--accent-color);
}

.fsgk-related-documents {
    margin-top: 24px;
}

.fsgk-related-documents h3 {
    margin-bottom: 18px;
    font-size: 32px;
}

.fsgk-related-documents > a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    padding: 15px 0;
    border-top: 1px solid #e7e9eb;
    color: var(--primary-color);
}

.fsgk-related-documents > a:hover {
    color: var(--accent-color);
}

.fsgk-related-documents > a > i:first-child {
    color: var(--accent-color);
    font-size: 23px;
}

.fsgk-related-documents span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.fsgk-related-documents strong {
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.fsgk-related-documents small {
    margin-top: 5px;
    color: #9ca1a6;
    font-size: 9px;
}

.fsgk-document-not-found .fsgk-empty-state {
    margin-bottom: 28px;
}

@media (max-width: 1199px) {
    .fsgk-document-stats {
        min-width: 410px;
    }

    .fsgk-document-card {
        grid-template-columns: 100px minmax(0, 1fr) 110px;
    }

    .fsgk-document-detail-hero {
        grid-template-columns: 125px minmax(0, 1fr) 210px;
    }
}

@media (max-width: 991px) {
    .fsgk-documents-archive,
    .fsgk-document-detail,
    .fsgk-document-not-found {
        padding: 70px 0;
    }

    .fsgk-documents-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .fsgk-document-stats {
        width: 100%;
        min-width: 0;
    }

    .fsgk-document-search {
        grid-template-columns: 1fr 1fr auto;
    }

    .fsgk-filter-reset {
        grid-column: 1 / -1;
        text-align: center;
    }

    .fsgk-document-sidebar {
        position: static;
        margin-bottom: 36px;
    }

    .fsgk-document-help {
        display: none;
    }

    .fsgk-document-detail-hero {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .fsgk-document-download-button {
        grid-column: 1 / -1;
        min-height: 110px;
        flex-direction: row;
    }

    .fsgk-document-download-box {
        position: static;
    }
}

@media (max-width: 767px) {
    .fsgk-documents-archive,
    .fsgk-document-detail,
    .fsgk-document-not-found {
        padding: 50px 0;
    }

    .fsgk-document-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .fsgk-document-stats span:nth-child(2) {
        border-right: 0;
    }

    .fsgk-document-stats span:nth-child(-n+2) {
        border-bottom: 1px solid #e6e9eb;
    }

    .fsgk-document-search {
        grid-template-columns: 1fr;
    }

    .fsgk-document-search .btn-default,
    .fsgk-document-search select {
        width: 100%;
    }

    .fsgk-document-results-heading h2 {
        font-size: 36px;
    }

    .fsgk-document-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .fsgk-document-card__file {
        min-height: 100%;
    }

    .fsgk-document-card__file i {
        font-size: 34px;
    }

    .fsgk-document-card__content {
        padding: 20px;
    }

    .fsgk-document-card h3 {
        font-size: 23px;
    }

    .fsgk-document-card__actions {
        grid-column: 1 / -1;
        flex-direction: row;
        border-top: 1px solid #e6e9eb;
        border-left: 0;
    }

    .fsgk-document-card__actions a {
        width: 50%;
        min-height: 50px;
    }

    .fsgk-document-card__actions a + a {
        border-top: 0;
        border-left: 1px solid #e6e9eb;
    }

    .fsgk-document-detail-hero {
        grid-template-columns: 1fr;
    }

    .fsgk-document-detail-hero__icon {
        min-height: 120px;
    }

    .fsgk-document-detail-hero__content {
        padding: 28px;
        text-align: center;
    }

    .fsgk-document-detail-hero__category {
        align-self: center;
    }

    .fsgk-document-detail-hero__content h1 {
        font-size: 42px;
    }

    .fsgk-document-download-button {
        grid-column: auto;
    }

    .fsgk-document-facts,
    .fsgk-document-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .fsgk-document-stats span {
        min-height: 82px;
    }

    .fsgk-document-card {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .fsgk-document-card__file > span {
        font-size: 17px;
    }

    .fsgk-document-card__content {
        padding: 17px;
    }

    .fsgk-document-card__facts span:nth-child(n+3) {
        display: none;
    }

    .fsgk-document-panel,
    .fsgk-document-download-box,
    .fsgk-related-documents {
        padding: 24px;
    }
}
