@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;
}
}
}.testimonial {
.single_post_list {
grid-template-columns: repeat(2, 1fr);
gap: var(--gap-xl);
}
.post_tags {
justify-content: center;
.location {
background-color: var(--primary);
color: var(--white);
}
.author {
background-color: var(--tertiary);
}
}
.single_post {
text-align: center;
display: flex;
flex-flow: column;
align-items: center;
gap: var(--gap-s);
.post_thumb {
display: inline-block;
aspect-ratio: auto;
padding: 10px 12px;
background: var(--white);
border-radius: var(--border-radius-m);
img {
width: auto;
height: 50px;
}
}
.post_data {
padding: 0;
}
.wp_content {
* {
color: var(--white);
}
}
}
}
@media (width < 1200px) {
.testimonial {
.single_post_list {
grid-template-columns: repeat(1, 1fr);
gap: 60px;
}
}
}.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;
}
}
}.fc_testimonials .single_post_list {
grid-template-columns: repeat(2, 1fr);
}
@media (width < 750px) {
.fc_testimonials .single_post_list {
grid-template-columns: 1fr;
}
}.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;
}
}
}