/*
Theme Name: C2 Construction
Author: Defiant By Design Ltd
Description: A custom built theme for C2 Construction & Fabrication
Author URI: https://www.defiantbydesign.co.uk
Version: 1.0
Text Domain: c2-construction
*/

/*=====================
CSS Reset
=====================*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}
body {
  line-height: 1;
  min-height: 100%;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  box-sizing: border-box;
  height: 100%;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

/*
======================
Colour Pallette
=====================*/

:root {
  --c2-blue: #153c66;
  --c2-red: #d7253c;
  --white: #ffffff;
  --light-grey: #f2f2f2;
  --light-grey-2: #eaeaea;
  --grey: #cbcbcb;
  --dark-grey: #333333;
  --grey: #cbcbcb;
  --black: #000000;
}

/* Custom Brand Colours */
.has-c-2-red-color {
  color: var(--c2-red);
}

.has-c-2-red-background-color {
  background-color: var(--c2-red);
}

.has-c-2-blue-color {
  color: var(--c2-blue);
}

.has-c-2-blue-background-color {
  background-color: var(--c2-blue);
}

/* White*/
.has-white-color {
  color: var(--white) !important;
}

.has-white-background-color {
  background-color: var(--white) !important;
}
/* Light Grey */
.has-light-grey-color {
  color: var(--light-grey) !important;
}

.has-light-grey-background-color {
  background-color: var(--light-grey) !important;
}
/* Light Grey 2 */
.has-light-grey-2-color {
  color: var(--light-grey-2) !important;
}

.has-light-grey-2-background-color {
  background-color: var(--light-grey-2) !important;
}

/* Grey */
.has-grey-color {
  color: var(--grey) !important;
}
.has-grey-background-color {
  background-color: var(--grey) !important;
}

/* Grey */
.has-dark-grey-color {
  color: var(--dark-grey) !important;
}
.has-dark-grey-background-color {
  background-color: var(--dark-grey) !important;
}

/* Black */
.has-black-color {
  color: var(--black) !important;
}
.has-black-background-color {
  background-color: var(--black) !important;
}

/*=====================
General Typography
=====================*/

@font-face {
  font-family: "Mona Sans";
  src:
    url("./fonts/Mona-Sans.woff2") format("woff2 supports variations"),
    url("./fonts/Mona-Sans.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

html {
  font-family: "Mona Sans", sans-serif;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
}

a {
  text-decoration: none;
}

/*=====================
Global Styles
=====================*/

body.logged-in .site-header {
  top: 32px;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  padding-left: clamp(16px, 2vw, 32px);
  padding-right: clamp(16px, 2vw, 32px);
}

.btn {
  display: inline-block;
  transition: background-color ease-in 0.2s;
  padding: 0.7em;
  border-radius: 4px;
}

.breadcrumbs {
  text-align: center;
  margin: 1.5rem auto;
}
.breadcrumbs p {
  font-size: 0.9em;
}
.breadcrumbs span,
#breadcrumbs span a {
  color: var(--c2-blue);
}

span.dbd-yoast-breadcrumb-divider {
  color: var(--c2-red);
}

/*=====================
Header
=====================*/

.site-header {
  background-color: #fff;
  border-top: solid 6px var(--c2-blue);
  border-bottom: solid 5px var(--c2-red);
  width: 100%;
  z-index: 999;
}

.site-header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
}

.site-header .logo-wrap {
  width: 330px;
  margin: 2rem 0;
}

.site-header .logo-wrap img {
  width: 100%;
  max-width: 330px;
  height: auto;
}

/* Header Right */

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-contact {
  display: flex;
}

.header-contact-method {
  background-color: var(--c2-blue);
  color: #fff;
  padding: 0.6rem 0.8rem;
  margin: 0 0 0 1rem;
  font-size: 1em;
}

.header-contact-method a,
.header-contact-method a:visited {
  color: #fff;
  text-decoration: none;
}

.header-contact-method span {
  color: var(--c2-red);
  font-weight: 800;
}

/* Hero and Page Titles*/

.home-hero {
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2; /* Layer this behind the content */
}

.dbd-hero-slider {
  width: 100%;
  height: 100%; /* Ensure the slider takes the full height of the container */
  position: absolute; /* Positioning the slider absolutely within .home-hero */
  top: 0;
  left: 0;
  z-index: 1;
}

.dbd-hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.dbd-hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero .container {
  position: relative;
  z-index: 3; /* Ensure the container content is above the slider */
  height: 100%; /* Ensure it spans the full height of the hero section */
  display: flex;
  align-items: center; /* Vertically center the text */
  justify-content: center; /* Horizontally center the text, if needed */
}

/* Just commenting this out for now in case it needs to be added back in 
.hero-logo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 350px;
  opacity: 0.6;
}
*/
.hero-text {
  padding: 1rem;
  text-align: center;
  position: relative;
  z-index: 4;
}

.hero-text h1 {
  color: #fff;
  font-size: 2.4em;
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 1px 1px 10px #000;
  margin-bottom: 1rem;
}

.home-hero .hero-sub-title {
  color: #fff;
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 1px 1px 10px #000;
  margin-bottom: 1.5rem;
}

.home-hero .btn {
  background-color: var(--c2-red);
  color: #fff;
}
.home-hero .btn:hover {
  background-color: #333;
}

.home-hero #hero-swoosh {
  display: block;
  width: 100%;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

/* Page Template - Title banner*/

.page-title-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6); /* used when no image exists */
}

/* The hero image */
.page-title-banner .banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.page-title-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Title above everything */
.page-title-banner .page-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 2.4em;
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 1px 1px 10px #000;
  width: 90%;
  max-width: 996px;
  margin: 0 auto;
}

.page-title-banner .page-title::after {
  content: "";
  height: 5px;
  width: 45px;
  background-color: var(--c2-red);
  display: block;
  margin: 0.2rem auto 0.6rem auto;
}

#banner-bottom {
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: auto;
  z-index: 2;
}

.minimal-title-banner {
  background-color: var(--c2-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
}

.minimal-title-banner .page-title {
  color: #fff;
  font-size: 2.4em;
  font-weight: 800;
  line-height: 1.4;
}

/**************************************
NAVIGATION
**************************************/

/***************************
Mobile Navigation
**************************/

.mobile-nav-overlay {
  right: 0;
  top: 0;
  background-color: var(--c2-blue);
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999999;
  transition: width 0.15s ease-in-out;
  padding-top: 6rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -3px 0px 5px 0px rgba(3, 3, 3, 0.34);
}

.mobile-nav-overlay.open {
  width: 90%;
}

.overlay-contact-details {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 1rem auto;
}

.overlay-contact-method {
  display: flex;
  align-items: center;
}

.overlay-contact-method img {
  width: 20px;
  height: auto;
  display: inline-block;
  margin-right: 0.5rem;
}

.overlay-contact-method span,
.overlay-contact-method a,
.overlay-contact-method a:visited {
  color: #fff;
  font-size: 1.1em;
  font-weight: 400;
  text-decoration: none;
}

.mobile-nav-wrap {
  margin: 0 auto;
  width: 80%;
}

.mobile-nav > ul > li {
  border-bottom: solid 1px #fff;
  padding: 20px 10px;
  white-space: nowrap;
}

.mobile-nav ul > li:last-of-type {
  border-bottom: none;
}

.mobile-nav ul li a {
  display: block;
  color: #fff;
  font-size: 1em;
  text-decoration: none;
}

/* Mobile Nav - Sub Menus*/

.mobile-nav li.dbd-mega-menu-column {
  position: relative;
}
.mobile-nav li.dbd-mega-menu-column button {
  background-color: var(--c2-red);
  border: none;
  color: #fff;
  padding: 0.4rem;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 5px;
  right: 0;
}

.mobile-nav > ul > .menu-item-has-children > a::after {
  content: "\25bc";
  font-size: 0.6em;
  position: relative;
  top: -2px;
  left: 5px;
}
.mobile-nav .sub-menu {
  height: 0;
  padding-left: 0.2em;
  overflow: hidden;
  transition: max-height 0.5s linear;
  font-size: 0.9em;
}

.mobile-nav .sub-menu li {
  margin: 1rem 0;
  padding: 0.6rem 0;
  color: #fff !important;
}

.mobile-nav .sub-menu .sub-menu li {
  margin: 0.3rem 0;
  padding: 0.6rem 0;
  color: #fff !important;
}

.mobile-nav.sub-menu li a {
  transition: all 0.2s linear;
  color: #fff;
  display: block;
}

.mobile-nav .sub-menu.mobile-sub-menu-open {
  height: auto;
}

/* Mobile nav controls*/

.close-mobile-nav {
  position: absolute;
  top: 50px;
  right: 25px;
  background-color: transparent;
  border: none;
}

/*
.mobile-nav-toggle-container {
  margin-left: 2rem;
}
*/
.mobile-nav-toggle {
  display: block;
  margin-left: 2rem;
}

.nav-toggle-hamburger {
  width: 40px;
  height: 5px;
  background-color: var(--c2-blue);
  margin-bottom: 5px;
}

/* mobile nav controls end*/

/**************************
Standard / Large Screen  
*************************/

.main-nav {
  display: none;
}

.main-nav > ul {
  display: flex;
}

.main-nav > ul > li > a {
  text-decoration: none;
  color: var(--c2-blue);
  padding: 0.7rem;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.3em;
  transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  display: block;
}

.main-nav ul li > a:hover {
  background-color: var(--c2-blue);
  color: #fff;
}

.main-nav > ul > li > a:not(:only-child):after {
  content: "\25bc";
  display: inline-block;
  transform: scale(0.75);
  position: relative;
  top: 0;
  left: 2px;
}

.main-nav > ul > li:not(.has-dbd-mega-menu) {
  position: relative;
}

/*
Drop Down Menus
*/

.main-nav > ul > li:not(.has-dbd-mega-menu) > ul {
  width: 250px;
  position: absolute;
  z-index: 9999;
  top: 40px;
  left: 0;
  background-color: var(--c2-red);
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.main-nav > ul > li:not(.has-dbd-mega-menu) ul > li > a {
  color: #fff;
  display: block;
  padding: 0.75rem 0.5rem;
  transition: background-color 0.2s ease-in-out;
}

.main-nav > ul > li:not(.has-dbd-mega-menu) ul li a:hover {
  background-color: var(--c2-blue);
}

/*****************
Mega Menu
*****************/

.main-nav li.has-dbd-mega-menu > .sub-menu {
  background-color: var(--c2-red);
  width: 90%;
  position: absolute;
  top: 115px; /*insert the needed value*/
  z-index: 100;
  right: 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.main-nav .has-dbd-mega-menu .sub-menu li a {
  color: #fff;
  font-size: 1em;
  line-height: 1.4;
  display: inline-block;
  padding: 0.4rem;
  transition: padding 0.2s ease-in-out;
}

/*
.main-nav .has-dbd-mega-menu .sub-menu li a:hover {
  padding-left: 0.6rem;
}
*/
.main-nav li.has-dbd-mega-menu .sub-menu ul {
  display: flex;
  flex-direction: column;
}

.main-nav .has-dbd-mega-menu .sub-menu .dbd-mega-menu-column > a {
  font-weight: 900;
}

/* Large Screen Navigation */

.main-nav > ul > li > .sub-menu {
  visibility: hidden;
  opacity: 0;
  /* transition: opacity 0.2s ease-in-out, transform 2s ease-in-out;*/
  transition: all 0.2s ease-in-out;
}

.main-nav .sub-menu.nav-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(15px);
}

.highlight-btn {
  background-color: var(--c2-blue);
}

.highlight-btn a {
  color: #fff !important;
}

/*=====================
Content Area
=====================*/

.content-wrap {
  padding-bottom: 2rem;
}

.content-wrap.home-content-wrap {
  padding-bottom: 0;
}

.content-narrow {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 1rem 0;
}

.content-wide {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.content-with-sidebar-wrapper {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 0;
}

.content-with-sidebar-wrapper .flex-wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.content img {
  max-width: 100%;
  height: auto;
}

.home-content {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 4rem;
}

.content h1,
.content h2,
.content h3,
.content h4 {
  font-weight: 900;
  color: var(--c2-blue);
}

.content h1 {
  font-size: 2.2em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.content h2 {
  font-size: 2em;
  line-height: 1.4;
  margin: 2.5rem 0 0.3rem 0;
}
/*
.content h2::after {
  content: '';
  height: 5px;
  width: 45px;
  background-color: var(--c2-red);
  display: block;
  margin: 0.2rem 0 0.6rem 0;
}
*/
.content h3 {
  font-size: 1.8em;
  line-height: 1.4;
  margin: 2.5rem 0 0.3rem 0;
}

.content p {
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--c2-blue);
  margin-bottom: 1rem;
}

.content p:not(.contact-page-tel) a,
.content p a:visited {
  color: var(--c2-red);
  text-decoration: none;
}

.content a:not(.btn, .button):visited,
.content li a,
.content li a:visited {
  color: var(--c2-blue);
}

.content p a:hover,
.content li a:hover {
  text-decoration: underline;
}

.content-list-wrap {
  display: flex;
}

.content ul {
  list-style-type: disc;
  margin: 0.5rem 1rem;
}

.content li {
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--c2-blue);
  margin-bottom: 0.4rem;
}

.content li::marker {
  color: var(--c2-red);
}

.content-list-wrap ul li::marker {
  color: var(--c2-red);
}

/* Home Projects */

.home-projects {
  margin: 7rem 0;
}

.home-projects .project-container {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.project-image img {
  width: 100%;
  height: auto;
}

.project-col-2 {
  border-left: solid 5px var(--c2-red);
  padding: 0 1rem 1.5rem 1.5rem;
  margin-top: 2rem;
}

.project-col-2 .btn,
.project-col-2 .btn:visited {
  background-color: var(--c2-red);
  color: #fff;
  margin-bottom: 1rem;
}

.project-col-2 .btn:hover {
  background-color: var(--c2-blue);
}

/* Working With  /Client Logos*/

.working-with {
  text-align: center;
  margin: 4rem auto;
  max-width: 1400px;
  overflow: hidden;
  width: 100%;
}

.working-with h3 {
  color: var(--c2-red);
  font-size: 2em;
  font-weight: 900;
  margin-bottom: 2rem;
}

.client-logos-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.client-logos-slider {
  margin: 0 auto;
}

.client-logos-slider .client-logo {
  /* margin: 0 1rem;
  padding: 0 1rem;
  width: 20%;
  max-width: 200px;*/
}

.working-with .tns-outer {
  overflow: hidden;
  width: 100%;
}

.tns-horizontal.tns-subpixel > .tns-item {
  vertical-align: middle;
}

.client-logos-slider .client-logo img {
  width: 100%;
  height: auto;
}

/*****************************
Home page
******************************/

.service-features {
  background-color: #f6f3f3;
  padding: 1.5rem 0;
  border-top: solid 7px #e2e2e2;
  border-bottom: solid 7px #e2e2e2;
  text-align: center;
}

.service-features .btn,
.service-features .btn:visited {
  background-color: var(--c2-red);
  color: #fff;
  margin: 1rem auto;
}

.service-features .btn:hover {
  background-color: var(--c2-blue);
}

.service-features-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}

.service-features-container .service-feature {
  width: 90%;

  margin: 1.5rem 1rem;
}

.service-features-container .service-feature img {
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto 1.4rem auto;
}

.service-features-container h2 {
  font-weight: 800;
  font-size: 1.7em;
  color: var(--c2-blue);
  margin-bottom: 0.8rem;
}

.service-features-container h2::after {
  content: "";
  height: 5px;
  width: 40px;
  background-color: var(--c2-red);
  display: block;
  margin: 0.5rem auto;
}

.service-features-container .service-feature p {
  font-size: 1.1em;
  line-height: 1.4;
  color: var(--c2-blue);
}

/* Service Blocks */

.service-blocks {
  max-width: 2400px;
  margin: 0 auto;
}

.service-block-row {
  display: flex;
}

.service-block-row > div {
  width: 50%;
}

.service-block-row:nth-child(even) {
  flex-direction: row-reverse;
}

.service-block-text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.service-block-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-block-blue {
  background-color: var(--c2-blue);
}

.service-block-red {
  background-color: var(--c2-red);
}

.service-block-text h2,
.service-block-text p {
  color: #fff;
}

.service-block-text h2 {
  font-size: 2em;
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.service-block-text p {
  font-size: 1.2em;
  line-height: 1.6;
  font-weight: 300;
}

.service-block-text .btn {
  color: #fff;
  margin-top: 1rem;
}

.service-block-red .btn {
  background-color: var(--c2-blue);
}

.service-block-blue .btn {
  background-color: var(--c2-red);
}

.service-block-text .btn:hover {
  background-color: #fff;
  color: var(--c2-blue);
}

/*****************************
Articles - News and Projects
******************************/

.home-news,
.all-articles {
  background-color: #e2e2e2;
  margin-bottom: 0.5rem;
}

.home-news {
  padding: 3rem 0;
}

.all-articles {
  padding: 5rem 1rem;
}

.home-news .section-title {
  font-size: 2.5rem;
  color: var(--c2-blue);
  font-weight: 900;
  text-align: center;
  margin-bottom: 3rem;
}

.categories-container {
  text-align: center;
  margin: 0 auto 2rem auto;
}

.categories-container h2 {
  font-weight: 900;
  color: var(--c2-blue);
  font-size: 2em;
  line-height: 1.4;
  margin: 2.5rem 0 0.3rem 0;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.categories-container li {
  list-style-type: none;
  margin: 0.4rem;
}

.categories-container li a,
.categories-container li a:visited {
  display: inline-block;
  transition: background-color ease-in 0.2s;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  background-color: var(--c2-blue);
  color: #fff;
}

.categories-container li a:hover {
  background-color: var(--c2-red);
}

.articles-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.article-card {
  width: 45%;
  padding: 2rem;
  margin: 1rem;
  background-color: #fff;
  box-shadow: 0px 2px 10px #ccc;
}

.article-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.article-card h2 {
  font-size: 1.6em;
  color: var(--c2-blue);
  line-height: 1.3;
  font-weight: 900;
  margin-bottom: 0.7rem;
}

.article-card p {
  margin-bottom: 1.6rem;
}

.article-card .btn,
.article-card .btn:visited {
  background-color: var(--c2-red);
  color: #fff;
}

.article-card .btn:hover {
  background-color: var(--c2-blue);
}

.all-articles-btn {
  background-color: var(--c2-blue);
  color: #fff;
  margin-top: 3rem;
  margin-left: 50%;
  transform: translateX(-50%);
}

.all-articles-btn:hover {
  background-color: var(--c2-red);
}

.prev-next-btns {
  text-align: center;
}

.prev-next-btns .btn,
.prev-next-btns .btn:visited {
  color: #fff;
  text-align: center;
  transition: background-color 0.2s ease-in-out;
  background-color: var(--c2-blue);
}

.prev-next-btns .btn:hover {
  background-color: var(--c2-red);
}

/* Single Template */

.single-article .article-written {
  font-size: 0.85em;
  text-align: center;
  display: block;
  margin: 0.8rem 0 1.5rem 0;
}

.article-footer {
  margin-bottom: 2rem;
}

/* PROJECTS */

.projects-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0;
}

.projects-list .article-block-btn::before {
  content: "";
  background-color: rgba(21, 60, 102, 0.5);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all 0.4s ease;
  border-radius: 17px;
}

.project-card {
  width: 100%;
}

.projects-list .article-block-btn {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
  background-color: var(--c2-blue);
  min-height: 350px;
  width: 100%;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
  transition: background-color 0.4s ease;
  border-radius: 17px;
}

.projects-list .article-block-btn:hover::before {
  background-color: rgba(21, 60, 102, 0.2);
}

.project-card-content {
  color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
}

.project-card-content h2 {
  font-size: 1.9em;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
  background-color: var(--c2-red);
  padding: 0.7rem 2rem;
  margin: 1rem 0 0.4rem 0;
}

.project-card-services {
  margin-top: 1rem;
  padding: 0.3rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-card-intro {
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.project-card-services ul {
}

.project-card-services ul li {
  font-weight: 400;
  font-size: 0.95em;
  line-height: 1.3;
  position: relative;
  padding-left: 1rem;
  padding-bottom: 0.3rem;
}

.project-card-services ul li::before {
  content: "\003E";
  font-weight: 700;
  color: var(--c2-red);
  position: absolute;
  left: 0;
}

.project-card-services-right span {
  background-color: var(--c2-red);
  display: inline-block;
  border-radius: 4px;
  padding: 0.7rem;
  margin-left: 2rem;
  white-space: nowrap;
}

/* Single Project */

.project-gallery-container {
  position: relative;
  padding: 3.5rem 0;
  margin: 2.5rem 0;
  background-color: var(--c2-blue);
  border-top: solid 17px #e2e2e2;
  border-bottom: solid 17px #e2e2e2;
}

.project-meta-flex-wrap {
  display: flex;
  flex-direction: column;
}

.project-service-list ul {
  display: flex;
  flex-wrap: wrap;
}

.project-service-list ul li {
  margin-right: 2.5rem;
}

.project-service-list ul li a,
.project-service-list ul li a:visited {
  color: var(--c2-blue);
}

.project-service-list ul li a:hover {
  text-decoration: underline;
}

.project-service-list ul li::marker {
  color: var(--c2-red);
}

/* Project Gallery */

.project-gallery-container h2 {
  margin: 0 0 0.7em 0;
  font-size: 2em;
  font-weight: 900;
  text-align: center;
  color: #fff;
}
.project-gallery-container ul {
  list-style-type: none;
}

.project-gallery-container ul li img {
  max-width: 100%;
  height: auto;
}

.project-gallery-container .slider-controls {
  text-align: center;
  margin-top: 1.5rem;
}

.project-gallery-container .slider-controls button {
  height: 45px;
  width: 45px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  background-color: transparent;
  transition: background-color 0.2s ease-in-out;
}

.project-gallery-container .slider-controls button:hover {
  background-color: var(--c2-red);
}

.project-gallery-container .slider-controls .next-item {
  background-image: url(./images/arrow-next.svg);
}

.project-gallery-container .slider-controls .prev-item {
  background-image: url(./images/arrow-prev.svg);
}

.fslightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  text-align: center;
  z-index: 9999;
}

.project-testimonial {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: solid 3px var(--c2-red);
  display: flex;
}

.project-testimonial.content h2 {
  margin-top: 0;
}

.testimonial-left {
  margin-right: 4rem;
}

#testimonial-icon {
  width: 170px;
  height: auto;
}

/* Project CTA */

.call-to-action-container {
  padding: 1rem 0 4rem 0;
}

.content .call-to-action-container h3 {
  margin-top: 0;
}

.call-to-action-container .btn {
  background-color: var(--c2-red);
  color: #fff;
}

.call-to-action-container .btn:hover {
  background-color: var(--c2-blue);
}

.error-page-content {
  padding: 4rem 0;
}

.error-page-content .btn,
.error-page-content .btn:visited {
  background-color: var(--c2-blue);
  color: #fff;
}

.error-page-content .btn:hover {
  background-color: var(--c2-red);
}

/*=====================
Contact Page
=====================*/

form {
  -webkit-appearance: none;
}

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
}

textarea,
form button {
  font-family: "Mona Sans", sans-serif;
  font-size: 16px;
}

form button {
  padding: 10px 10px;
}

/*****************************
Custom Made Blocks (ACF)
******************************/

/* Testimonials */

.testimonial-block {
  position: relative;
  padding: 40px 30px 40px 90px;
  background-color: #e2e2e2;
  border-radius: 8px;
  border: solid 1px #ccc;
}

.testimonial-block::before {
  content: url(./images/open-quotes-icon.svg);
  width: 40px;
  height: auto;
  position: absolute;
  left: 20px;
}

.content .testimonial-block h2 {
  margin-top: 0;
}

.testimonial cite {
  color: var(--c2-red);
  font-weight: 700;
}

/* Default Sectors & Areas Worked */

.services-common-info {
  display: flex;
  flex-direction: column;
}

/*=====================
Footer
=====================*/

.nl-signup {
  background-color: var(--c2-red);
  padding: 1rem 0;
  margin-bottom: 2px;
}

.nl-signup form label {
  font-size: 1em !important;
  font-weight: 400;
}

.nl-signup h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.6em;
  line-height: 1.5;
  margin: 1rem 0 0.7rem 0;
}

.nl-signup a {
  color: #fff;
  text-decoration: underline;
}

.site-footer {
  background-color: var(--c2-blue);
  padding: 1rem 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3em 0;
  text-align: center;
}

.footer-col {
  margin: 0 auto;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: #fff;
  font-weight: 900;
  font-size: 1.6em;
  line-height: 1.4;
}

.site-footer h3::after {
  content: "";
  height: 5px;
  width: 45px;
  background-color: var(--c2-red);
  display: block;
  margin: 0.2rem auto 0.6rem auto;
}

.footer-contact-method {
  margin-bottom: 1.5rem;
}

.footer-contact-method a,
.footer-contact-method a:visited,
.footer-contact-method p,
.footer-contact-method address {
  color: #fff;
  font-size: 1.1em;
  line-height: 1.4;
}

.footer-contact-method a,
.footer-contact-method a:visited {
  text-decoration: none;
}

.footer-quicklinks {
  margin-top: 0.8rem;
}

.footer-quicklinks li a,
.footer-quicklinks li a:visited {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  display: inline-block;
  margin-bottom: 0.7rem;
  position: relative;
}

.footer-quicklinks li a:hover {
  text-decoration: underline;
}

.footer-social {
  border-bottom: solid 1px #fff;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  display: inline-block;
}

.misc-links li {
  margin-bottom: 0.7rem;
}

.misc-links a,
.misc-links a:visited {
  color: #fff;
  text-decoration: none;
}

.misc-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  text-align: center;
  color: #fff;
  font-size: 0.8em;
}

/* Accreditation */

.footer-accreditation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.7rem;
  width: 90%;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 1.5rem 1rem;
}

.accred-logo {
  width: auto;
  height: auto;
}

.accred-logo img {
  width: 100%;
  height: auto;
  max-height: 80px;
}

.sub-footer {
  border-top: solid 1px #ccc;
}

.sub-footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5em 0;
  text-align: center;
}

.sub-footer p {
  font-size: 0.9em;
  line-height: 1.4em;
}

.dbd {
  color: #000;
  font-size: 0.75em;
  line-height: 2.2em;
  text-decoration: none;
}

.dbd span {
  color: #36af96;
}
/*=====================
Media Queries
=====================*/

/* Massive, big, gigantic desktop */
@media (min-width: 1251px) {
  .mobile-nav-toggle {
    display: none;
  }
  .main-nav {
    display: block;
    margin-top: 2.5rem;
  }

  .site-header {
    height: 140px;
    position: fixed;
    z-index: 999;
    top: 0;
  }

  .site-header .container {
    justify-content: space-between;
  }

  .site-header .header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .home-hero {
    padding-top: 140px;
  }

  .page-title-banner {
    min-height: 650px;
    margin-top: 140px;
  }

  .hero-text {
    padding-top: 3rem;
  }

  .minimal-title-banner {
    margin-top: 140px;
  }

  /* CONTENT*/

  .content-with-sidebar-wrapper .flex-wrap {
    flex-direction: row;
    justify-content: space-between;
  }

  .content-with-sidebar {
    width: 65%;
  }

  .content-with-sidebar-wrapper .sidebar {
    width: 25%;
  }

  .content-list-wrap {
    flex-direction: row;
    justify-content: space-between;
  }

  /*Custom Made Blocks (ACF) */
  /* Sectors Areas*/
  .services-common-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .areas-worked {
    margin-right: 8rem;
  }

  .areas-worked ul {
    column-count: 2;
    column-gap: 7rem;
  }

  /* Home Page - Service Features */

  .service-features-container {
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: row;
    width: 95%;
  }

  .service-features-container .service-feature {
    width: 22%;
    margin: 1.5rem 1rem;
  }

  .service-features-container .service-feature img {
    width: 60%;
  }

  /* Home Page Projects */

  .home-projects .project-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .home-projects .project-col-1 {
    width: 48%;
  }

  .home-projects .project-col-2 {
    width: 48%;
    margin-top: 0;
  }

  /*Home Page Service Blocks */

  .service-block-blue {
    padding: 0;
    justify-content: flex-end;
  }
  .service-block-text {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
  }

  /* ARTICLES & PROEJCTS ARCHIVE PAGE*/

  .articles-container {
    justify-content: space-between;
  }

  .articles-container .article-card {
    width: 48%;
    margin: 0 0 2.5rem 0;
  }

  /* PROJECTS SECTION*/

  /* Project Archive*/

  .projects-list {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .projects-list .project-card {
    flex-basis: 49%;
  }

  .projects-list .project-card .article-block-btn {
    min-height: 450px;
  }

  /* Project Single*/

  .project-meta-flex-wrap {
    flex-direction: row;
  }

  .project-meta-col {
    margin-right: 15rem;
  }

  /*FOOTER*/
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    padding: 2em 0;
  }

  .footer-col {
    margin: 0;
    margin-bottom: 0;
  }

  .site-footer h3::after {
    margin: 0.2rem 0 0.6rem 0;
  }

  .footer-quicklinks li a,
  .footer-quicklinks li a:visited {
    padding-left: 1.1rem;
  }

  .footer-quicklinks li a::before {
    content: url(./images/triangle_icon.svg);
    width: 10px;
    height: 18px;
    display: block;
    position: absolute;
    left: 0;
  }

  .footer-social a {
    margin-right: 0.3rem;
  }

  .sub-footer .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 901px) and (max-width: 1250px) {
  .site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .site-header .logo-wrap {
    max-width: 90%;
  }

  .header-left {
    width: 35%;
  }

  .header-right {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 65%;
  }

  .header-contact {
    margin-right: 2.5rem;
  }

  .header-contact-method {
    background-color: transparent;
    color: var(--c2-blue);
    padding: 0.6rem 0.8rem;
    margin: 0 0 0 1rem;
  }

  .header-contact-method a,
  .header-contact-method a:visited {
    color: var(--c2-blue);
  }

  .header-contact-method span {
    margin-bottom: 0.2rem;
    display: block;
  }

  .home-hero {
    min-height: 600px;
  }

  .hero-logo {
    max-width: 140px;
    top: auto;
    bottom: 10%;
  }

  /*Custom Made Blocks (ACF) */
  /* Sectors Areas*/
  .services-common-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .areas-worked {
    margin-right: 6rem;
  }

  .areas-worked ul {
    column-count: 2;
    column-gap: 5rem;
  }

  /****PROJECTS*****/

  /* Project Archive*/

  .projects-list .project-card .article-block-btn {
    min-height: 450px;
  }

  #testimonial-icon {
    width: 140px;
  }

  /****** HOME PAGE ************/

  /* Home Page - Service Features */
  .service-features-container {
    flex-direction: row;
    align-items: center;
  }

  .service-features-container .service-feature {
    width: 40%;
  }

  .service-features-container .service-feature img {
    width: 50%;
  }

  /* Home Page Projects */

  .home-projects .project-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .home-projects .project-col-1 {
    width: 48%;
  }

  .home-projects .project-col-2 {
    width: 48%;
    padding: 0 1rem 0.5rem 1rem;
    margin-top: 0;
  }

  .content .project-col-2 h2 {
    margin: 0 0 0.3rem 0;
  }

  .home-projects .project-text .btn {
    margin-bottom: 0.4rem;
  }

  /* Home Page - Service Blocks */

  .service-block-text {
    max-width: auto;
    margin: 0 auto;
    padding: 3rem;
  }

  /*FOOTER*/
}
/* Landscape phone to portrait tablet */
@media (min-width: 601px) and (max-width: 900px) {
  .header-right {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }
  .header-contact {
    display: none;
  }

  .home-hero {
    min-height: 500px;
    background-attachment: scroll;
  }

  .hero-text h1 {
    font-size: 1.8em;
  }

  .hero-logo {
    display: none;
  }

  /* CONTENT AREAS */
  /* - Articles*/
  .articles-container {
    flex-direction: column;
    align-items: center;
  }

  .article-card {
    width: 80%;
    font-size: 0.9em;
  }

  /****PROJECTS*****/

  #testimonial-icon {
    width: 140px;
  }

  /* Home Page - Service Features*/
  .service-features-container .service-feature {
    width: 70%;
  }

  .service-features-container .service-feature img {
    width: 40%;
  }

  /*Home Page Service Blocks -*/
  .service-block-row {
    flex-direction: column-reverse;
  }

  .service-block-row:nth-child(even) {
    flex-direction: column-reverse;
  }

  .service-blocks .service-block-text-container,
  .service-blocks .service-block-image {
    width: 100%;
  }
}

/*****************
 MOBILES
*****************/
@media (max-width: 600px) {
  .overlay-contact-details {
    flex-direction: column;
  }

  .overlay-contact-method {
    margin-bottom: 1rem;
    font-size: 0.9em;
  }

  .header-left {
    width: 70%;
  }

  .site-header .logo-wrap {
    max-width: 80%;
  }

  .header-right {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }
  .header-contact {
    display: none;
  }

  /* Hero and Page Titles*/

  .home-hero {
    min-height: 500px;
    background-attachment: scroll;
  }

  .hero-logo {
    display: none;
  }

  .hero-text h1 {
    font-size: 1.7em;
  }

  .home-hero .hero-sub-title {
    font-size: 1.2em;
  }

  .page-title-banner {
    background-attachment: scroll;
    min-height: 300px;
  }

  /* CONTENT AREAS */

  .content-narrow {
    width: 90%;
  }
  /* - Articles*/
  .articles-container {
    flex-direction: column;
    align-items: center;
  }

  .article-card {
    width: 90%;
    font-size: 0.9em;
    padding: 1.25rem;
  }

  /* Projects */

  .project-card {
    width: 95%;
  }

  .project-card-content h2 {
    font-size: 1.5em;
    padding: 0.7rem 1.25rem;
    margin: 0.3rem 0;
  }

  .project-card-services {
    margin-top: 1rem;
    padding: 0.3rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-card-services-left {
    margin-bottom: 1.5rem;
  }

  .project-card-services-right span {
    margin-left: 0;
  }

  /* Projects - single */

  .project-testimonial {
    flex-direction: column;
  }

  .testimonial-left {
    padding-top: 1.5rem;
    margin-bottom: 2rem;
  }

  /* Service Blocks - Home Page*/
  .service-block-row {
    flex-direction: column-reverse;
  }

  .service-block-row:nth-child(even) {
    flex-direction: column-reverse;
  }

  .service-blocks .service-block-text-container,
  .service-blocks .service-block-image {
    width: 100%;
  }

  /*FOOTER - Mobile*/

  .footer-accreditation {
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
  }

  .accred-logo {
    width: 25%;
    margin: 0.7rem;
  }

  .sub-footer .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .sub-footer p {
    padding: 0 0.5em;
  }
  .privacy {
    display: block;
    text-align: center;
    margin-left: 0;
  }
}

/* =====================
   WordPress Core Styles
   ===================== */

/* Wide and full-width alignment */
.alignwide {
  margin-left: calc(-1 * clamp(16px, 2vw, 32px));
  margin-right: calc(-1 * clamp(16px, 2vw, 32px));
  max-width: none;
  width: auto;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
  width: auto;
}

/* Image alignment classes (scoped to images only) */
img.alignnone {
  margin: 5px 20px 20px 0;
}

img.aligncenter,
div.aligncenter img {
  display: block;
  margin: 5px auto;
}

img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

/* Linked images */
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Captions */
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Caption alignment (affects the whole figure) */
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

/* Screen reader text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar */
}

/* Default image sizing */
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  max-width: 100%;
  height: auto;
}
