.dq-catalog-archive {
    --dq-catalog-blue: #06367c;
    --dq-catalog-orange: #ff5a1f;
    background: #fff;
    padding-bottom: clamp(48px, 7vw, 96px);
}

.dq-catalog-archive > .dq-breadcrumb {
    padding-top: 24px;
    padding-bottom: 18px;
    color: #66758a;
}

.dq-catalog-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 28px;
}

.dq-catalog-head__eyebrow,
.dq-catalog-sidebar__eyebrow {
    margin: 0 0 7px;
    color: var(--dq-catalog-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.dq-catalog-head h1 {
    margin: 0;
    color: var(--dq-catalog-blue);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.06;
}

.dq-catalog-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.dq-catalog-results {
    margin: 0;
    color: #66758a;
    font-size: 14px;
    white-space: nowrap;
}

.dq-catalog-sort select {
    min-width: 155px;
    height: 44px;
    padding: 0 38px 0 14px;
    border: 1px solid #d9e1eb;
    border-radius: 5px;
    background-color: #fff;
    color: #18324f;
    font: inherit;
    cursor: pointer;
}

.dq-catalog-filter-toggle {
    display: none;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--dq-catalog-blue);
    border-radius: 5px;
    background: #fff;
    color: var(--dq-catalog-blue);
    font-weight: 800;
}

.dq-catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: start;
    gap: clamp(24px, 3vw, 42px);
}

.dq-catalog-main {
    min-width: 0;
}

.dq-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}

.dq-catalog-card {
    overflow: hidden;
    border: 1px solid #e7ecf2;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(9, 48, 91, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.dq-catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(9, 48, 91, .13);
}

.dq-catalog-card__media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f5f7fa;
}

.dq-catalog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .45s ease;
}

.dq-catalog-card:hover .dq-catalog-card__media img {
    transform: scale(1.035);
}

.dq-catalog-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--dq-catalog-blue);
    font-size: 64px;
    font-weight: 800;
}

.dq-catalog-card__body {
    display: flex;
    min-height: 126px;
    flex-direction: column;
    align-items: center;
    padding: 17px 14px 16px;
    text-align: center;
}

.dq-catalog-card__body h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.dq-catalog-card__body h2 a {
    color: #18263a;
    text-decoration: none;
}

.dq-catalog-card__link {
    margin-top: auto;
    padding-top: 12px;
    color: var(--dq-catalog-blue);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.dq-catalog-card__link span {
    color: var(--dq-catalog-orange);
}

.dq-catalog-sidebar {
    position: sticky;
    top: 96px;
}

.dq-catalog-sidebar__box,
.dq-catalog-sidebar__support {
    border: 1px solid #e0e7ef;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(9, 48, 91, .06);
}

.dq-catalog-sidebar__box {
    padding: 23px 20px 12px;
}

.dq-catalog-sidebar__box h2 {
    margin: 0 0 15px;
    color: var(--dq-catalog-blue);
    font-size: 21px;
}

.dq-catalog-sidebar__box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dq-catalog-sidebar__box li + li {
    border-top: 1px solid #edf1f5;
}

.dq-catalog-sidebar__box li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    color: #33445a;
    font-size: 14px;
    text-decoration: none;
}

.dq-catalog-sidebar__box li a:hover,
.dq-catalog-sidebar__box li a.is-current {
    color: var(--dq-catalog-orange);
}

.dq-catalog-sidebar__box li small {
    display: grid;
    min-width: 28px;
    height: 24px;
    padding: 0 7px;
    place-items: center;
    border-radius: 999px;
    background: #eef3f8;
    color: #60728a;
}

.dq-catalog-sidebar__support {
    margin-top: 20px;
    padding: 23px 20px;
    background: linear-gradient(145deg, #073b82, #05275d);
    color: #fff;
}

.dq-catalog-sidebar__support > span {
    display: block;
    margin-bottom: 8px;
    color: #ffc3aa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dq-catalog-sidebar__support strong {
    display: block;
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.45;
}

.dq-catalog-sidebar__support a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.dq-catalog-sidebar__support a span {
    color: #ff8a5e;
}

.dq-catalog-more {
    display: flex;
    justify-content: center;
    padding-top: 36px;
}

.dq-catalog-more .dq-load-more {
    min-width: 180px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--dq-catalog-orange);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(255, 90, 31, .22);
}

.dq-catalog-more .dq-load-more:disabled {
    cursor: wait;
    opacity: .7;
}

.dq-catalog-empty {
    padding: 48px;
    border-radius: 8px;
    background: #f5f8fb;
    text-align: center;
}

.dq-catalog-archive > .dq-term-seo {
    margin-top: clamp(48px, 6vw, 80px);
}

@media (max-width: 1120px) {
    .dq-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .dq-catalog-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dq-catalog-tools {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .dq-catalog-results {
        width: 100%;
    }

    .dq-catalog-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .dq-catalog-layout {
        display: flex;
        flex-direction: column;
    }

    .dq-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dq-catalog-sidebar {
        display: none;
        position: static;
        width: 100%;
        order: -1;
        margin-bottom: 26px;
    }

    .dq-catalog-sidebar.is-open {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 18px;
        margin-top: -2px;
    }

    .dq-catalog-sidebar__support {
        margin-top: 0;
    }

    .dq-catalog-main {
        margin-top: 26px;
    }
}

@media (max-width: 560px) {
    .dq-catalog-archive > .dq-breadcrumb {
        justify-content: center;
        padding-top: 16px;
        text-align: center;
    }

    .dq-catalog-head {
        padding-bottom: 20px;
    }

    .dq-catalog-head h1 {
        font-size: 34px;
    }

    .dq-catalog-sort,
    .dq-catalog-sort select,
    .dq-catalog-filter-toggle {
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
    }

    .dq-catalog-filter-toggle {
        justify-content: center;
    }

    .dq-catalog-sidebar.is-open {
        display: block;
    }

    .dq-catalog-sidebar__support {
        margin-top: 14px;
    }

    .dq-catalog-grid {
        gap: 16px 10px;
    }

    .dq-catalog-card__body {
        min-height: 116px;
        padding: 13px 9px 12px;
    }

    .dq-catalog-card__body h2 {
        font-size: 14px;
    }
}
