.page-hero-section {
    background-image: url('../img/guides-page-hero-bg.webp');
    margin-bottom: 48px;
}

.guides-archive .section-title {
    font-size: 40px;
}

.guides-archive .guide-category-slider {
    margin: 24px 0 48px;
	display: flex;
  	gap: 20px;
}

.guides-archive .guide-category-btn {
    padding: 5px 14px;
    border: unset;
    background: rgba(239, 242, 241, 1);
    color: rgba(128, 128, 128, 1);
    font-size: 16px;
    font-weight: 500;
}

.guides-archive .guide-category-btn.active {
    background-color: rgba(181, 127, 34, 1);
    color: var(--white);
}

.guides-archive .filters-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guides-archive .filters-wrapper .left-col {
    display: flex;
    gap: 50px;
}

.guides-filters form {
    margin-bottom: 48px;
}

.guides-archive .filters-wrapper .search-parent {
    position: relative;
    width: 400px;
    height: 50px;
    max-width: calc(100vw - 24px);
}

.guides-archive .filters-wrapper input[type="text"] {
    width: 100%;
    height: 100%;
    padding: 12px 16px 12px 50px;
    outline: unset;
    border-radius: 2px;
    border: 1px solid #000;
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
    background-image: url('../img/search-icon.svg');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: 16px center;
}

.guides-archive .filters-wrapper input[type="text"]::placeholder {
    color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.guides-archive .filters-wrapper input[type="text"]::-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.guides-archive .filters-wrapper .search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: unset;
}

.guides-archive .filters-wrapper .dropdown-toggle {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.75);
    width: 180px;
    height: 50px;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    background-image: url('../img/select-icon.svg');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: calc(100% - 10px) center;
}

.guides-archive .filters-wrapper .dropdown-toggle::after {
    display: none;
}

.guides-archive .guides-list {
    margin-bottom: 124px;
}

.guides-archive .guide-title {
    font-size: 22px;
    font-weight: 500;
    font-family: 'Effra', sans-serif;
    margin-top: 20px;
}

.guides-archive .guides-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 80px 64px;
}

.guides-archive .guide-thumb img {
    width: 100%;
	border-radius: 12px;
	height: 350px;
  	object-fit: fill;
}

.newsletter-section {
    margin-bottom: 124px;
}

.free-section {
    margin-bottom: 124px;
}

.free-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.free-section .text-col {
    padding-inline-start: 84px;
}

.free-section .section-title {
    font-size: 42px;
    margin-bottom: 12px;
}

@media (max-width: 1400px) {
    .guides-archive .guides-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .guides-archive .filters-wrapper .left-col {
        flex-direction: column;
        align-items: start;
        gap: 16px;
    }

    .guides-archive .filters-wrapper {
        align-items: end;
    }

    .guides-archive .guides-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 64px 48px;
    }
}

@media (max-width: 992px) {
    .guides-archive .section-title {
        font-size: 32px;
    }

    .free-section .text-col {
        padding-inline-start: 32px;
    }
}

@media (max-width: 768px) {
    .guides-archive .filters-wrapper {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .guides-archive .guides-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 32px;
    }

    .free-section .container {
        flex-direction: column;
    }

    .free-section .text-col {
        padding: 0;
    }

    .free-section .img-col {
        margin-bottom: 32px;
    }

    .free-section .img-col,
    .free-section .img-col img {
        width: 100%;
    }

    .free-section .section-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {

    .guides-archive .section-title,
    .free-section .section-title {
        font-size: 26px;
    }

    .free-section .img-col {
        margin-bottom: 24px;
    }
}

@media (max-width: 475px) {
    .guides-archive .guides-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}