@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;
}
}.fc_hero_banner {
background: center / cover no-repeat;
display: flex;
gap: 60px;
justify-content: space-between;
position: relative;
flex-flow: column;
min-height: clamp(400px, 45vw, 650px);
padding: clamp(130px, 13vw, 170px) var(--width-xl) 10px;
&.home_hero {
min-height: clamp(400px, 45vw, 1000px);
padding: 130px var(--width-xl) 10px;
}
&:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--deep-grey);
opacity: 0.7;
}
.wp_content {
max-width: 1050px;
flex: 1;
display: flex;
flex-flow: column;
justify-content: center;
}
.hero_usps {
&.align_centre {
justify-items: center;
}
&.align_right {
justify-items: flex-end;
}
}
> * {
position: relative;
z-index: 5;
}
}
.header_solid {
.fc_hero_banner {
.the_usps {
background: transparent;
}
}
}
@media ( width < 1024px) {
.fc_hero_banner {
.hero_usps {
justify-items: center;
}
}
}.single_post_list {
display: grid;
grid-template-columns: repeat(4, 1fr);
align-items: stretch;
flex-wrap: wrap;
gap: var(--gap-l);
}
@media (1080px < width <= 1400px) {
.single_post_list {
grid-template-columns: repeat(3, 1fr);
}
}
@media (700px < width <= 1080px) {
.single_post_list {
grid-template-columns: repeat(2, 1fr);
}
}
@media (width <= 700px) {
.single_post_list {
grid-template-columns: repeat(1, 1fr);
}
}
.single_post {
text-decoration: none;
&:hover {
text-decoration: none;
.post_button {
&:before {
transform: rotateZ(45deg);
}
}
}
a {
&:hover {
text-decoration: none;
}
}
.post_thumb {
aspect-ratio: 1 / 1;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
position: relative;
border-radius: var(--border-radius-m);
}
.post_button {
position: absolute;
top: clamp(10px, 2vw, 20px);
right: clamp(10px, 2vw, 20px);
background: var(--deep-grey);
border-color: var(--deep-grey);
}
.post_data {
padding-top: 10px;
display: flex;
flex-flow: column;
gap: 10px;
}
.post_categories {
span {
color: var(--white);
background: var(--primary);
&.post_date {
color: var(--deep-grey);
background: var(--tertiary);
}
}
}
.wp_content {
color: var(--white);
.p {
font-weight: 700;
}
}
&.big_block {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
padding: var(--gap-s);
border-radius: var(--border-radius-m);
position: relative;
&:hover {
text-decoration: none;
.post_button {
&:before {
transform: rotateZ(45deg);
}
}
}
p {
margin: 0;
}
}
}
@media (width <= 700px) {
.single_post {
&.big_block {
aspect-ratio: 1 / 1;
}
}
}.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;
}
}
}
}#pagination {
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 30px 0;
}
#pagination a,
#pagination > span {
display: inline-block;
padding: 10px 20px;
font-size: 16px;
color: var(--white);
margin: 0 5px 5px 5px;
text-decoration: none;
font-weight: 400;
border: 2px solid transparent;
text-transform: lowercase;
}
#pagination a.prev,
#pagination a.next {
font-weight: 700;
}
#pagination a:hover,
#pagination > span.current {
border: 2px solid var(--primary);
border-radius: var(--border-radius-s);
}
#pagination > span.current {
font-weight: 800;
}
.post_list_current_page {
font-size: 18px;
font-weight: 700;
}