@media (1024px < width ) and (1400px > width) {
.header_transparent #header {
padding-bottom: 120px;
}
#header {
flex-wrap: wrap;
}
#header .menu_content_container {
order: 2;
width: 100%;
margin-top: 20px;
display: flex;
justify-content: center;
}
.fc_hero_banner.home_hero , .fc_hero_banner.page_hero {
padding-top: 200px;
}
}.archive_filter {
max-width: 1110px;
margin: 0 auto 3rem;
display: flex;
gap: 20px;
justify-content: center;
.filter-toggle {
color: var(--white);
background: var(--primary);
padding: 15px 20px;
border-radius: var(--border-radius-l);
}
ul {
display: flex;
gap: 20px;
list-style: none;
margin: 0;
li {
margin-bottom: 0;
&.current {
a {
background: var(--primary);
color: var(--white);
}
}
}
a {
display: block;
color: var(--deep-grey);
background: var(--light-grey);
padding: 15px 20px;
border-radius: var(--border-radius-l);
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
&:hover {
background: var(--tertiary);
}
}
}
}
@media (width > 1024px) {
.archive_filter {
.filter-toggle {
display: none;
}
}
}
@media (width <= 1024px) {
.archive_filter {
flex-flow: column;
align-items: center;
gap: 20px;
margin: 0 0 2rem;
.filter-toggle {
position: relative;
display: flex;
align-items: center;
gap: 5px;
font-size: 16px;
&:after {
content: "";
display: block;
width: 10px;
height: 7px;
background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' fill='none'%3E%3Cpath fill='%23FFFFFF' d='m5 6.06-5-5L1.06 0 5 3.94 8.94 0 10 1.06l-5 5Z'/%3E%3C/svg%3E");
}
}
ul {
height: 0;
opacity: 0;
transition: 0.1s;
align-items: center;
gap: 10px;
li {
width: 100%;
}
a {
display: block;
font-size: 16px;
text-align: center;
}
}
&.open {
ul {
height: max-content;
opacity: 1;
}
}
}
}.fc_block_links {
.links_container {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
&.grid_3 {
.links_container {
grid-template-columns: repeat(3, 1fr);
}
}
&.grid_2 {
.links_container {
grid-template-columns: repeat(2, 1fr);
}
}
&.gap {
.links_container {
gap: var(--gap-s);
}
.block_link {
.image-switch {
border-radius: var(--border-radius-m);
overflow: hidden;
&:before {
border-radius: var(--border-radius-m);
}
}
}
&.overlay {
.block_link {
&:before {
border-radius: var(--border-radius-m);
}
.icon_button {
background: var(--deep-grey);
border-color: var(--deep-grey);
}
}
}
}
.block_link {
position: relative;
text-decoration: none;
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(180deg, rgba(207, 105, 138, 0.95) 0%, rgba(183, 46, 84, 0.95) 100%);
opacity: 0;
transition: all 0.3s ease;
}
&:hover {
&:before {
opacity: 1;
}
.icon_button {
&:before {
transform: rotateZ(45deg);
}
}
}
.icon_button {
position: absolute;
top: 20px;
right: 20px;
margin: 0;
}
.image-switch {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
aspect-ratio: 480 / 550;
}
.wp_content {
position: absolute;
bottom: 20px;
left: 20px;
z-index: 1;
* {
color: var(--white);
font-weight: 700;
}
}
}
&.below {
.block_link {
position: relative;
&:before {
content: none;
}
.image-switch {
position: relative;
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
background: linear-gradient(180deg, rgba(207, 105, 138, 0.95) 0%, rgba(183, 46, 84, 0.95) 100%);
transition: all 0.3s ease;
}
}
&:hover {
.image-switch {
&:before {
opacity: 1;
}
}
}
.wp_content {
position: relative;
bottom: auto;
left: auto;
padding-top: 20px;
}
}
}
}
@media (600px < width <= 1200px) {
.fc_block_links {
.links_container {
grid-template-columns: repeat(2, 1fr);
}
}
}
@media (width <= 800px) {
.fc_block_links {
&.grid_3 {
.links_container {
grid-template-columns: repeat(1, 1fr);
}
}
}
}
@media (width <= 600px) {
.fc_block_links {
.links_container {
grid-template-columns: 1fr;
}
}
}