@font-face {
    font-family: 'Certified Montserrat';
    src: url('montserrat-fonts/Montserrat-Regular.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Certified Montserrat';
    src: url('montserrat-fonts/Montserrat-Bold.otf') format('opentype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Certified Montserrat';
    src: url('montserrat-fonts/Montserrat-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-display: swap;
}

.container > header, .content-wrapper {
    display: flex;
    align-items: center;
    padding: 0px;
}

.certifiedBrands {
    --brand-paper: #ffffff;
    --brand-cream: #e9dec2;
    --brand-gold: #c3a350;
    --brand-brown: #7d4829;
    --brand-gray: #7f7f7f;
    --brand-line: #c1c1c1;
    padding: 48px 0 100px;
    background: var(--brand-paper);
    color: var(--brand-brown);
    font-family: 'Roboto', sans-serif;
}

.certifiedBrands--blackWhite {
    --brand-cream: #ffffff;
    --brand-gold: #000000;
    --brand-brown: #000000;
    --brand-gray: #000000;
    --brand-line: #000000;
}

.certifiedBrands--whiteBlack {
    --brand-paper: #000000;
    --brand-cream: #000000;
    --brand-gold: #ffffff;
    --brand-brown: #ffffff;
    --brand-gray: #ffffff;
    --brand-line: #ffffff;
}

.certifiedBrandsHeading,
.certifiedBrandsSubtitle,
.certifiedBrandsCategories,
.certifiedBrandsResults h2,
.certifiedBrandsCardTitle {
    font-family: 'Certified Montserrat', sans-serif;
}

.certifiedBrandsHeading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0 0 28px;
    color: var(--brand-brown);
    text-transform: uppercase;
}

.certifiedBrandsLogo {
    width: 200px;
    max-width: 32%;
    height: auto;
    flex-shrink: 0;
    background: #ffffff;
}

.certifiedBrandsIntro .certifiedBrandsHeading {
    margin-bottom: 8px;
}

.certifiedBrandsIntro .certifiedBrandsLogo {
    width: 280px;
    max-width: 100%;
}

.certifiedBrandsTitle {
    display: block;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.025em;
}

.certifiedBrandsSubtitle {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.9;
    text-align: center;
    letter-spacing: 0.035em;
}

.certifiedBrandsPhoto {
    margin-bottom: 56px;
    border-bottom: 5px solid var(--brand-gold);
}

.certifiedBrandsPhoto img {
    display: block;
    width: 100%;
    height: auto;
}

.certifiedBrandsCatalogue {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 36px;
}

.certifiedBrandsCategories {
    border: 1px solid var(--brand-line);
}

.certifiedBrandsCategories a {
    display: block;
    padding: 18px 20px;
    border-left: 4px solid transparent;
    color: var(--brand-brown);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.certifiedBrandsCategories a + a {
    border-top: 1px solid var(--brand-line);
}

.certifiedBrandsCategories a:hover,
.certifiedBrandsCategories a[aria-current="page"] {
    border-left-color: var(--brand-gold);
    background: var(--brand-cream);
}

.certifiedBrandsResults h2 {
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--brand-gold);
    color: var(--brand-brown);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.certifiedBrandsGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.certifiedBrandsCard {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--brand-line);
    color: var(--brand-brown);
}

.certifiedBrandsCard:hover,
.certifiedBrandsCard:focus-visible {
    border-color: var(--brand-gold);
    color: var(--brand-brown);
    background: var(--brand-cream);
}

.certifiedBrandsCardImage {
    aspect-ratio: 4 / 3;
    background-color: var(--brand-cream);
    background-position: center;
    background-size: cover;
}

.certifiedBrandsCardTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.certifiedBrandsCardArrow {
    color: var(--brand-gray);
    font-size: 22px;
}

.certifiedBrands a:focus-visible {
    outline: 2px solid var(--brand-brown);
    outline-offset: 4px;
}

.certifiedBrandsEmpty {
    padding: 24px;
    border-left: 4px solid var(--brand-gold);
    background: var(--brand-cream);
    font-size: 16px;
    line-height: 1.6;
}

.certifiedBrandDetail .breadCrumbsLine,
.certifiedBrandDetail .contentText,
.certifiedBrandDetail .rightBoxText {
    color: var(--brand-brown);
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.certifiedBrandDetail .whiteCard {
    border: 1px solid var(--brand-line);
    border-top: 4px solid var(--brand-gold);
    border-radius: 0;
    background: var(--brand-paper);
    box-shadow: none;
}

.certifiedBrandDetail .contentWrapper {
    padding-top: 32px;
    padding-bottom: 24px;
}

.certifiedBrandDetail .certifiedBrandsHeading {
    justify-content: flex-start;
    gap: 16px;
    margin: 0;
}

.certifiedBrandDetail .certifiedBrandsLogo {
    width: 120px;
}

.certifiedBrandDetail .certifiedBrandsTitle {
    font-size: 28px;
    overflow-wrap: anywhere;
    min-width: 0;
}

.certifiedBrandDetail .contentTitle,
.certifiedBrandDetail .rightBoxTitle,
.certifiedBrandBack {
    color: var(--brand-brown);
    font-family: 'Certified Montserrat', sans-serif;
    font-weight: 700;
}

.certifiedBrandDetail h2.contentTitle {
    margin: 28px 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--brand-gold);
    font-size: 22px;
}

.certifiedBrandDetail .contentText li {
    margin-bottom: 8px;
}

.certifiedBrandDetail .contentText li::marker {
    color: var(--brand-brown);
}

.certifiedBrandDetail .rightBoxWrapper {
    background: var(--brand-cream);
}

.certifiedBrandDetail .rightBoxTitle {
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.certifiedBrandDetail .slick-arrow {
    background: none;
}

.certifiedBrandDetail .slick-arrow::before {
    color: var(--brand-brown);
    font-family: sans-serif;
    font-size: 26px;
}

.certifiedBrandDetail .slick-prev::before {
    content: '\2190';
}

.certifiedBrandDetail .slick-next::before {
    content: '\2192';
}

.certifiedBrandDetail .slick-dots li {
    background: var(--brand-cream);
    border-color: var(--brand-gold);
}

.certifiedBrandDetail .slick-dots li.slick-active {
    background: var(--brand-brown);
}

.certifiedBrandBack {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 16px 24px;
    border: 1px solid var(--brand-gold);
    font-size: 14px;
}

.certifiedBrandBack:hover,
.certifiedBrandBack:focus-visible {
    background: var(--brand-cream);
    color: var(--brand-brown);
}

@media (max-width: 991px) {
    .certifiedBrandsCatalogue {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .certifiedBrandsTitle {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .certifiedBrands {
        padding-top: 24px;
        padding-bottom: 56px;
    }

    .certifiedBrandsHeading {
        gap: 12px;
    }

    .certifiedBrandsIntro .certifiedBrandsLogo {
        width: 220px;
    }

    .certifiedBrandsTitle {
        font-size: 24px;
    }

    .certifiedBrandDetail .certifiedBrandsTitle {
        font-size: 22px;
    }

    .certifiedBrandsSubtitle {
        font-size: 13px;
    }

    .certifiedBrandsPhoto {
        margin-bottom: 32px;
    }

    .certifiedBrandsGrid {
        grid-template-columns: 1fr;
    }
}
