/* 

Font:
    font-family: 'ivymode', serif; (for headers)
    font-family: 'freight-text-pro', serif; (for paragraphs)

*/
/* box-shadow: 1px 1px 0 rgba(0,0,0,.02) inset,-0.1rem -0.1rem 1rem rgba(255,255,255,.8),.3rem .3rem .6rem rgba(0,0,0,.12);  */
/* =============== Layout =============== */
#wrapper {
    width: 100%;
    margin: 0;
    position: relative;
    overflow-x: hidden;

  }

/* Showing logo when loading page */
/* body {
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 2s;
    animation-timing-function: ease;
    animation-delay: .5s;
    animation-fill-mode: forwards;
  } */

  .container, .wp-block-cover__inner-container, .home .solutions-list .wp-block-columns {
    width: calc(100% - 2rem) !important;
    max-width: 1080px;
    margin: auto;
  }
  .purple-bg .container {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .no-bg-section-margin {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  article.page, .blog main, .single main {
    padding-top:150px;
    /* padding-bottom: 100px; */
  }
  .error404 main {
    padding-top:200px;
  }
  .home article.page {
    padding-top:0;
    padding-bottom: 100px;
  }
@keyframes fadeIn{
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  }

article > h1 {
  /* display: none; */
}
.single article > h1 {
  display: block;
}
/* .blog-h1-container h1, .single article > h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: white;
  padding-top: 300px;
} */

.copyright p, .column-text-image-wrapper, .column-image-text-wrapper, .home-latest-post-wrapper, .full-width-cta-logo > div,
.blog-Nav, .related-posts {
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 1100px) {
  .copyright p, .column-text-image-wrapper, .column-image-text-wrapper, .home-latest-post-wrapper, .full-width-cta-logo > div,
 .blog-Nav, .related-posts {
    width: 1080px;
    padding-left: 0;
    padding-right: 0;
    margin: auto;
  }
.blog-Nav {
    width: 100%;
  }

}
img {
  width: 100%;
  height: auto;
}
svg {
  fill: var(--link-color);
}
footer svg {
  fill: white;
}
.grey-bg {
  background-color: var(--light-grey);
  padding: 100px 0 100px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.purple-bg {
  background-color: var(--second-color);
  padding-top: 100px;
  padding-bottom: 100px;
  margin: 0 auto 100px;
}
/* .wp-block-column figure {
  height: 100%;
} */
.wp-block-columns {
  column-gap: 4rem;
}
.treatment-options .wp-block-columns {
  column-gap: 1rem;
}
.wp-block-column figure img {
  height: 100% !important;
  object-fit: cover;
}
.flexbox-reverse {
  flex-direction: column-reverse;
}
/* =============== Typesetting =============== */
body {
  font-family: 'freight-text-pro', serif;
  line-height: 1.35;
  letter-spacing: 0.5px;
  color: #272727;
  /* padding-top: 20px; Compensate for fixed header */
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'ivymode', serif;
  font-weight: 300;
}

/* Apply lazy fade class to all H1 and H2 elements by default */
h1, h2 {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animated state when in view */
h1.animate, h2.animate {
  opacity: 1;
  transform: translateY(0);
}

/* wp-block-cover image fade-in animation for first article position */
article > .wp-block-cover:first-child .wp-block-cover__image,
article > .wp-block-cover:first-child img,
article > .wp-block-cover:first-child .wp-block-cover__image-background {
  opacity: 0;
  transition: opacity 1.5s ease;
}

article > .wp-block-cover:first-child .wp-block-cover__image.animate,
article > .wp-block-cover:first-child img.animate,
article > .wp-block-cover:first-child .wp-block-cover__image-background.animate {
  opacity: 1;
}

/* figure.wp-block-media-text__media fade-up animation */
figure.wp-block-media-text__media {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

figure.wp-block-media-text__media.animate {
  opacity: 1;
  transform: translateY(0);
}
.wp-block-media-text.is-image-fill-element > .wp-block-media-text__media {
  height: calc(100% + 1px) !important;
}

/* wp-block-columns figure animations */
/* First column figure - fade in from left */
.wp-block-columns .wp-block-column:first-child figure {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
}

.wp-block-columns .wp-block-column:first-child figure.animate {
  opacity: 1;
  transform: translateX(0);
}


/* Second column figure - fade in from right */
.wp-block-columns .wp-block-column:last-child figure {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.wp-block-columns .wp-block-column:last-child figure.animate {
  opacity: 1;
  transform: translateX(0);
}
.wp-block-columns .treatment-option-card:first-child figure,
.wp-block-columns .treatment-option-card:last-child figure {
  opacity: 1;
  transform: translateX(0);
}

/* solutions-list wp-block-columns slide-in animation */
@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(650px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.solutions-list .wp-block-columns {
  opacity: 0;
  transform: translateX(650px);
}

.solutions-list .wp-block-columns.animate {
  animation: slideInFromRight 1.8s ease forwards;
}

/* main.solutions details slide-in animation */
main.solutions details {
  opacity: 0;
  transform: translateX(500px);
}

main.solutions details.animate {
  animation: slideInFromRight 1.8s ease forwards;
}

/* Contact form slide-in animation for page-id-13 */
.page-id-13 .contact-form {
  opacity: 0;
  transform: translateX(36px);
}

.page-id-13 .contact-form.animate {
  animation: slideInFromRight 1.8s ease forwards;
}

h1, .h2-look-like-h1 {
  font-size: 2rem;
  padding-bottom: 2rem;
}
h2 {
  font-size: 1.6rem;
  padding-bottom: 1.6rem;
}
h3 {
  font-size: 1.2rem;
  padding-bottom: 1.2rem;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.5rem;
}
h1.content-title, .related-posts h2,.footer-sns h3 {
  padding-bottom: 0;
}
body.page-id-659 h2, body.page-id-659 h3, body.page-id-659 h4, body.page-id-659 h5, body.page-id-659 h6 {
  padding-top: 1.5em;
}
.menu-item {
  font-family: var(--button-font);
}
p {
  font-weight: 300;
}
p + p, ol + p, p + ol, p + ul, .privacy-policy article p+p, .privacy-policy article p+ol, .privacy-policy article ol+p {
  margin-top: 1em;
}

body.page-id-773 p + h2, body.page-id-770 p + h2, .page-id-3 p + h2 {
  margin-top: 3rem;
}

.blog-content ol, .blog-content ul {
  list-style-type: lower-latin;
  padding-left: 3.8rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-weight: 300;
}
.blog-content ol li, .blog-content ul li {
  padding-left: 0.5rem;
}

.blog-content ul {
  list-style-type: disc;
}
.blog-content ul li::marker, .blog-content ol li::marker {
  color: var(--link-color);
}
blockquote {
  
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
.wp-block-quote {
  margin-left: 1rem !important;
  border-color: var(--link-color) !important;
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}
.post .wp-block-quote p {
  padding-left: 0;
  font-size: 0.9rem;
}
.margin-top-1em {
  margin-top: 1em;
}
.margin-top-50px {
  margin-top: 50px;
}
.margin-top-100px {
  margin-top: 100px;
}
.margin-bottom-1em {
  margin-bottom: 1em;
}
.margin-bottom-50px {
  margin-bottom: 50px;
}
.margin-bottom-100px {
  margin-bottom: 100px;
}

/* =============== Colour setting =============== */
:root {
    --brand-color: #37353a;
    --logo-color: #37353a;
    --dark-grey: #37353a;
    --second-color: #cfc7d7;
    --third-color: #fbc89c;
    --link-color: #cd845b;
    --grey-color: #e3e1db;
    --light-grey: #EBEBEB;
    --headling-font: 'ivymode', serif;
    --body-font: 'freight-text-pro', serif;
    --button-font: inter-variable, sans-serif;
    --button-color: #fbc89c;
  }

.has-brandcolour-background-color {
  background-color: var(--brand-color);
}
.has-brandcolour-background-color h1, .has-brandcolour-background-color h2, .has-brandcolour-background-color h3, .has-brandcolour-background-color h4, .has-brandcolour-background-color h5, .has-brandcolour-background-color h6,
.has-brandcolour-background-color p, .has-brandcolour-background-color ul, .has-brandcolour-background-color ol, .has-brandcolour-background-color li, .has-brandcolour-background-color table {
    color: #FFFFFF;
}
.has-brandcolour-color {
  color: var(--brand-color);
}
.has-secondcolour-background-color {
  background-color: var(--second-color);
}
.has-secondcolour-color {
  color: var(--second-color);
}
.has-thirdcolour-background-color {
  background-color: var(--third-color);
}
.has-thirdcolour-color {
  color: var(--third-color);
}

  /* Make all headings uppercase */
  h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
  }

/* =============== Links =============== */
a {
    text-decoration: none;
    transition: 0.3s;
  }
  
  a:link, a:visited {
    color: var(--link-color);
  }
  a:hover {
    color: var(--third-color);
    transition: 0.3s;
    /* text-decoration: underline; */
  }
  a:active, a:focus {
    color: white;
  }
/* =============== Style setting =============== */
.first-content, .blog-content {
  border-top: 1px solid #878585;
  padding-top: 4rem;
  margin-top: 1.5rem;
}
.blog-content {
  padding-top: 1.5rem;
  margin-top: 1rem;
}
.column-text-image-wrapper, .column-image-text-wrapper {
  margin: 100px auto;
}
.column-text-image-wrapper h2, .column-image-text-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.column-text-image-wrapper > div:first-of-type {
  align-self: end;
}

.column-image-text-wrapper {

}
.two-column-cta > div {
  overflow: hidden;
}
.two-column-cta-left > div , .two-column-cta-right > div {
  width: 100%;
  position: relative;
  color: #fff;
  padding: 70px 16px;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.two-column-cta-left .wp-block-button , .two-column-cta-right .wp-block-button {
  margin: auto !important;
}
.two-column-cta-left .wp-block-button a , .two-column-cta-right .wp-block-button a {
   display: block;
   width: 300px;
}
.two-column-cta-left > div::after , .two-column-cta-right > div::after{
  content: '';
  width: 100%;
  height: 380px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #555;
  transition: 1s;
}
.two-column-cta-left > div h2 , .two-column-cta-right > div h2, 
.two-column-cta-left > div p , .two-column-cta-right > div p,
.two-column-cta-left > div .wp-block-buttons , .two-column-cta-right > div .wp-block-buttons {
  width: 100%;
  position: inherit;
  z-index: 1;
  text-align: center;
} 
.two-column-cta-left > div:hover::after , .two-column-cta-right > div:hover::after {
  background-color: rgba(50,50,50,0.7);
  transition: 1s;
}
.two-column-cta-left > div h2 , .two-column-cta-right > div h2 {
  font-size: 2rem;
  font-weight: 700;
}

.two-column-cta-left {
  background: url(https://kital.uk/vanilla2/wp-content/uploads/2024/01/vanilla-hero-bg.jpg);
  background-size: 130%;
  background-position: center;
  transition: 1.5s;
}
.two-column-cta-right {
 background: url(https://kital.uk/vanilla2/wp-content/uploads/2024/02/writing.jpg);
 background-size: 150%;
 background-position: center;
 transition: 1.5s;
 position: relative;
}
.two-column-cta-right::before {
  content: '';
  position: absolute;
  height: 380px;
  border-top: 0.25px solid #999;
  z-index: 1;
}
.two-column-cta-left:hover, .two-column-cta-right:hover {
  background-size: 115%;
  background-position: center;
}
.two-column-cta-right:hover {
  background-size: 130%;
  background-position: center;
}

/* button with arrow */
.button-arrow a {
  position: relative;
}
.button-arrow a:hover {
  text-decoration: none;
  background-color: var(--button-color);
  color: white;
  transition: 0.5s;
}
.button-arrow a::after {
  content: '';
  position: absolute;
  top: 42%;
  right: 30px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: all 0.3s;
}
.button-arrow a:hover::after {
  right: 20px;
}
/* item with link */
.item-with-link {
  padding: 0 16px;
}
.item-with-link-heading {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 0.5px solid #ddd;
}
.item-with-link-heading h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.item-with-link-heading p {
  color: #666;
}
.item-with-link-content-wrapper > div > div > div {
  display: grid;
  gap: 1rem;
  grid-template-columns: 6fr 1fr;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid #ddd;
  margin-bottom: 2rem;
}
.item-with-link-content-wrapper .wp-block-buttons {
  grid-column: 2 / 3;
  grid-row: 1 / -1;
  display: flex;
  height: 100px;
  align-items: center;
}
.item-with-link-content-wrapper h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.item-with-link-content-wrapper p {
  max-width: 450px;
  font-size: 0.9rem;
  color: #666;
}
/* button only contains an arrow */
.button-only-arrow {

}
.button-only-arrow a {
  width: 50px;
  height: 50px;
  font-size: 1rem !important;
  border-radius: 50% !important;
  padding: 13px 12px 12px 14px !important;
  display: block;
}
.button-only-arrow a.wp-element-button {
  position: relative;
  top: -25px;
}
.button-only-arrow a:hover {
  text-decoration: none;
  animation: jumping 0.5s infinite;
}
@keyframes jumping {
  0%   { 
    transform: translateY(0); 
  }
  50%  { 
    transform: translateY(-10px); 
  }
  100% { 
    transform: translateY(0); 
  }
    }


@media (min-width: 1100px) {
  .column-text-image-wrapper h2 {
    font-size: 3rem;
    text-align: end;
    margin-bottom: 2rem;
  }
  .column-text-image-wrapper p {
    padding-left: 8rem;
  }
  .column-text-image-wrapper .wp-block-image {
    max-height: 400px;
    margin-bottom: 0 !important;
  }
  .two-column-cta > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .two-column-cta-right::before {
    border-top: none;
    border-left: 0.25px solid #999;
  }
  .two-column-cta-left > div , .two-column-cta-right > div {
    width: 100%;
    position: relative;
    padding: 100px 150px;
  }
  .two-column-cta-left > div , .two-column-cta-right > div,
  .two-column-cta-left > div::after , .two-column-cta-right > div::after, .two-column-cta-right::before {
    height: 500px;
  }
  .item-with-link {
    max-width: 1080px;
    padding: 0;
    margin: auto;
  }
  .item-with-link > div {
    display: grid;
    grid-template-columns: 2fr 5fr;
    gap: 4rem;
  }
  .item-with-link-heading {
    border-bottom: none;
    padding-right: 2rem;
  }
  .item-with-link-heading h2 {
    text-align: left;
  }
  .item-with-link-content-wrapper > div > div > div {
    display: grid;
    column-gap: 5rem;
    padding: 0 3rem 2rem 3rem;
    transition: 0.6s;
  }
  .item-with-link-content-wrapper div.wp-block-group:nth-child(3) > div:nth-child(2) {
    border-bottom: none;
  }
  .item-with-link-content-wrapper > div > div > div:hover {
    padding: 0 0 2rem 0;
    text-decoration: none;
  }
  .button-only-arrow a {
    padding: 11px 12px 12px 14px !important;
  }
  .button-only-arrow a:hover {
    animation: none;
  }
  .button-only-arrow > a:first-of-type {
    height: 0;
    padding: 0;
  }
  .button-only-arrow a.wp-element-button {
    background-color: var(--button-color);
    color: var(--dark-grey);
    border: 2px solid var(--button-color);
    transition: 0.6s;
    top: -10px;
  }
  .button-only-arrow a.wp-element-button:hover {
    border: 2px solid var(--link-color);
    background-color: var(--link-color);
    color: #fff;
  }

}

/* =============== Navigation =============== */


/* =============== button setting =============== */
.wp-block-buttons {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.wp-block-cover .wp-block-buttons {
  margin-top: 2.5rem;
  margin-bottom: 0;
}
.wp-block-button__link {
  font-size: 1rem !important;
}
.wp-block-button__link, .wp-element-button, .wpcf7-submit, .blog-read-more-btn, .menu-button {
  background-color: var(--button-color) !important;
  color: var(--dark-grey) !important;
  font-family: var(--button-font);
  border: 2px solid var(--button-color);
  transition: 0.6s;
}
.wp-block-button__link:hover, .wp-element-button:hover, .wpcf7-submit:hover, .blog-read-more-btn:hover, .menu-button:hover {
  border: 2px solid var(--brand-color);
  background-color: var(--brand-color) !important;
  color: var(--third-color) !important;
}

/* Dark background hover styles */
.has-brandcolour-background-color .wp-block-button__link:hover, 
.has-brandcolour-background-color .wp-element-button:hover, 
.has-brandcolour-background-color .wpcf7-submit:hover, 
.has-brandcolour-background-color .blog-post-content a:hover, 
.has-brandcolour-background-color .blog-read-more-btn:hover,
.purple-bg .wp-block-button__link:hover,
.purple-bg .wp-element-button:hover,
.purple-bg .wpcf7-submit:hover,
.dark-cover .wp-block-button__link:hover,
.cta-cover .wp-block-button__link:hover,
.footer-dark-bar .wp-block-button__link:hover,
.footer-dark-bar .wp-element-button:hover {
  border-color: var(--button-color);
}







/* ============================================
   Page top
=============================================== */
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 23px;
  height: 23px;
  transition: all 0.3s;
}

#page-top img {
  width: 23px;
  height: auto;
}

#page-top {
  position: fixed;
  right: 32px;
  bottom: 20px;
  z-index: 2;
  opacity: 0;
  transform: translateX(100px);
}


#page-top.LeftMove {
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


#page-top.RightMove {
  animation: RightAnime 0.5s forwards;
}

@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 1;
    transform: translateX(100px);
  }
}

/* ============================================
   Displaying boxes 1 by 1
=============================================== */

.box, .image-with-text > div {
  opacity: 0;
}

.fadeUp {
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}



/* =============== Header =============== */
.wpfront-notification-bar {
  padding: 8px;
  font-family: var(--button-font);
  font-size: 0.9rem;
}
.wpfront-message p {
  font-weight: 400;
}
.wp-block-cover {

  width: 100%;
  /* height: 880px; */
  z-index: 0;
}
.home .wp-block-cover {
  /* height: 1080px; */
}
.wp-block-cover h1 {
  z-index: 2;
}

header {
  position: fixed;
  top: 75px;
  width: calc(100% - 2rem);
  left: 1rem;
  right: 1rem;
  color: #37353a;
  z-index: 1000;
  border-radius: 50px;
  transition: top 0.3s ease, border-radius 0.3s ease;
}

header.sticky {
  top: 50px !important;
  border-radius: 0 !important;
}

@media (min-width: 1100px) {
  .home .wp-block-cover {
    /* height: 1000px; */
  }
  .wp-block-cover {
    top: 0;
    /* min-height: 100vh; */
  }
  .wp-block-cover p {
    max-width: 780px;
    line-height: 1.55;
    margin-left: auto;
    margin-right: auto;
  }
}

.header-content {
  display: flex;
  background-color: #f8f7f5;
  border-radius: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  position: relative;
  min-height: 80px;
}

.header-SiteName-Link {
  width: auto;
  max-width: 220px;
  display: block;
  margin: 0;
  flex-shrink: 0;
  z-index: 10000;
}

.header-SiteName-Link img {
  width: 100%;
  height: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}

@media (max-width: 1099px) {
  .header-content {
    padding: 0.5rem 1rem;
  }
}
/* =============== Navigation =============== */
.menu-contact {

}
.hamberger-menu {
  position: absolute;
  cursor: pointer;
  width: 60px;
  height: 60px;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  border-radius: 5px;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.hamberger-menu .openbtn-area{
  transition: all .6s;
  width: 60px;
  height: 60px;
}

.hamberger-menu span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  border-radius: 2px;
  background: #37353a;
  width: 30px;
  }

.hamberger-menu span:nth-of-type(1) {
  top: 20px; 
}

.hamberger-menu span:nth-of-type(2) {
  top: 28px;
}

.hamberger-menu span:nth-of-type(3) {
  top: 36px;
}

.hamberger-menu.active .openbtn-area{
  transform: rotate(90deg);
}

.hamberger-menu.active span:nth-of-type(1) {
    top: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(0px) rotate(-45deg);
    width: 30px;
}

.hamberger-menu.active span:nth-of-type(2) {
  opacity: 0;
}

.hamberger-menu.active span:nth-of-type(3){
    top: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(0px) rotate(45deg);
    width: 30px;
}


/* Hamburger Menu ============================ 
 (Display when screen < 600px) ============= */
.main-menu-desktop {
  display: none;
}

nav a:link, nav a:visited {
  color: #37353a;
  text-decoration: none;
  text-transform: uppercase;
  /* letter-spacing: 0.5px; */
}
nav a:hover {
  color: var(--link-color);
}

nav.menu-mobile {
  width: 100%;
  height: 0;
  background-color: #f8f7f5;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(60px);
  opacity: 0;
  transition: all 1s ease;
  z-index: 1001;
  border-radius: 0 0 50px 50px;
  overflow: hidden;
  padding-top: 3.5rem;
}

nav.menu-mobile.active {
  height: calc(100vh - 157px);
  transform: translateY(0);
  opacity: 1;
  transition: all 1s ease;
  border-radius: 0;
}
.menu-main-menu-for-mobile-container {
  padding-top: 80px;
}
.menu-main-menu-for-mobile {
  padding-top: 95px;
}
.menu-item-has-children > a {
  display: block;
  margin-bottom: 0.5rem;
  /* cursor: default; */
}

li .sub-menu {
  font-weight: 300;
  /* font-size: 0.9em; */
}

.header-Nav-mobile {
  font-weight: 500;
  margin-left: 1rem;
}
.sub-menu {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.header-Nav-mobile .sub-menu li {
  font-weight: 300;
  margin-bottom: 5px;
}

.header-Nav-mobile > li {
  width: fit-content;
  /* font-size: 0.9rem; */
  border-bottom: 2px solid transparent;
  /* border-bottom: 0.25px solid #555; */
  padding: 1rem 0 0.5rem 0;
  margin-bottom: 0.5rem;
  transition: 0.6s;
}
.header-Nav-mobile .sub-menu li a {
  text-transform: capitalize;
}
.header-Nav-mobile li a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

nav li {
  list-style-type: none;
}
#menu-main-menu > .menu-item > a:hover {
  /* text-decoration: none; */
}
/* .sub-menu li a:hover {
  text-decoration: underline;
  color: var(--second-color);
} */
.link-looks-like-text > a {
  cursor: default;
  text-decoration: none;
}
.link-looks-like-text > a:hover {
  color: #fff;
}

@media (min-width: 1024px) {
  header {
    max-width: 1080px;
    left: 49%;
    transform: translateX(-50%);
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  header.sticky {
    top: 50px !important;
    border-radius: 0 !important;
  }
  
  .header-content {
    display: flex;
    width: 100%;
    margin: 0;
  }
  
  .header-Nav-container {
    display: none;
  }
  .main-menu-desktop {
    display: inline-block;
    width: 800px;
  }
  .header-Nav-desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    z-index: 1000;
  }
  .header-SiteName-Link {
    margin: 0;
    margin-right: auto;
    max-width: 250px;
    z-index: 1000;
  }
  
  .header-SiteName-Link img {
    max-width: 250px;
  }
  
  .header-Nav-mobile {
    margin-left: 2rem;
  }
  
  .header-Nav-desktop .navbar-contactus a, .home-latest-post-outer-wrapper .wp-block-button__link {
    border-radius: 50px;
    background: var(--link-color);
    background: linear-gradient(135deg, var(--link-color) 0%, var(--second-color) 100%); 
    color: white;
    padding: 0.4rem 0.45rem 0.5rem;
  }
  .navbar-contactus a:link, .navbar-contactus a:visited {
    color: #fff;
  }
  .navbar-contactus a:hover {
    /* background: linear-gradient(215deg, var(--link-color) 0%, var(--second-color) 100%); */
    transition: 1s;
  }

  .navbar-contactus > a:hover {
    border-color:transparent;
    color: #fff;
    background: linear-gradient(270deg, var(--link-color) 0%, var(--third-color) 50%, var(--second-color) 100%);
    background-size: 200% auto;
    background-position: right center;
 
  }
  .header-Nav-desktop > li {
    font-weight: 500;
    min-height: 65px;
    margin-right: 2rem;
    padding: 1.3rem 0 0;
  }
  .header-Nav-desktop .navbar-contactus {
    width: 130px;
    /* padding: 29.5px 0 29.5px 1rem; */
    margin-right: 0;
    padding-top: 12px;
  }

  .header-Nav-desktop > .menu-item > a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    text-transform: uppercase;
  }
  .header-Nav-desktop a:hover {
    text-decoration: none;
  }
  .header-Nav-desktop .navbar-contactus a {
    height: 39px;
  }
  .header-Nav-desktop ul.sub-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    background-color: #f8f7f5;
    width: 100%;
    position: absolute;
    top: 60%;
    left: 0;
    /* transform: translateY(-50%); */
    padding: 3rem 0;
    z-index: 1;
    max-height: 620px;
    column-gap: 1rem;
    row-gap: 2rem;
    align-content: flex-start;
    padding: 4rem 2rem 4rem;
  }
  .sub-menu > li {
    width: 18%;
  }
  .header-Nav-desktop  ul.sub-menu .pointer {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
  }
  #menu-main-menu {
    z-index: 1000;
  }
  .menu-what-we-do .pointer li {
    width: 33%;
    font-weight: 300;
    font-size: 0.8rem;
  }
  .menu-what-we-do .pointer a:hover {
    text-decoration: underline;
  }
  .sub-menu-heading > a {
    font-weight: 700;
    cursor: default;
  }
  .menu-what-we-do .pointer .sub-menu-heading  a:hover {
    color: #272727;
    cursor: default;
    text-decoration: none;
  }
  .nav-sectors .pointer {
    flex-wrap: nowrap;
  }
  .nav-sectors .pointer li {
    width: fit-content;
  }
  .menu-what-we-do a, .nav-sectors a {
    position: relative;
  }
  .menu-what-we-do, .nav-sectors {
    height: 98px;
  }
  .menu-what-we-do > a::after, .nav-sectors > a::after {
    content: url(https://kital.uk/vanilla/wp-content/themes/soscreativitytheme/assets/img/drop-down-arrow.svg);
    fill: var(--third-color);
    width: 12px;
    height: auto;
    position: absolute;
    right: 15px;
    top: -2px;
  }
  .nav-sectors a::after {
    right: 35px;
  }
  .menu-what-we-do a:hover::after, .nav-sectors a:hover::after {
    transform: rotate(180deg);
    top:6px;
    transition: 0.2s;
  }
  .header-Nav-desktop  ul.sub-menu li {
    padding: 0.5rem 1rem;
  }
  .header-Nav-desktop  ul.sub-menu > li {
    font-family: var(--body-font);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.05;
    /* cursor: default; */
  }
  /* .header-Nav-desktop  ul.sub-menu > li:hover {
    cursor: default;
  }
  .header-Nav-desktop  ul.sub-menu > li:hover > a {
   color: var(--dark-grey) !important;
   cursor: default;
  } */
  .header-Nav-desktop  ul.sub-menu > li.menu-button:hover > a {
    color: var(--button-color) !important;
    cursor: pointer;
  }
  .header-Nav-desktop ul.sub-menu .sub-menu-item li {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.35px;
    padding: 0 0 12px 0;
  }
  .header-Nav-desktop  ul.sub-menu li a {
    color: #37353a;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    text-transform: none;
  }
  .header-Nav-desktop ul.sub-menu .sub-menu-item li a {
    padding: 0;
  }
  .header-Nav-desktop  ul.sub-menu li a:hover {
    color: var(--link-color);
  }
  .header-Nav-desktop  ul.sub-menu li.sub-menu-heading {
    width: 100%;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 1rem;
  }
  .header-Nav-desktop  ul.sub-menu li.sub-menu-heading:first-of-type {
    margin-top: 0;
  }
  .menu-item-has-children > a {
    position: relative;
    
  }
  /* .header-Nav-desktop > .menu-item-has-children > a::after {
    content: '\25BC';
    margin-left: 0.5rem;
  } */
  .menu-item-has-children > ul li {
    margin: 0 auto;
  }
  .menu-item-has-children ul a{
    float: none;
    visibility: hidden;
    opacity: 0;
    transition: .5s;
    min-height: 50px;
  } 
  .header-Nav-desktop ul.sub-menu .sub-menu-item li a {
    min-height: 16px;
    padding: 0;
  }
  .menu-item-has-children ul a::before {
    content: '';
  }
  .menu-item-has-children:hover > ul.sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease, visibility 0s linear 0s;
  }
  .header-Nav-desktop .menu-item-has-children:hover ul a {
    visibility: visible;
    opacity: 1;
  }
  .sub-menu {
    position: absolute;
    top: 138px;
    width: 300px;
    background-color: rgba(27,27,27,0.9);
    z-index: 1000;
  }
  .menu-image, .menu-button {
    max-width: 200px;
    min-width: 200px;
  }
  .menu-image, .menu-image a {
    max-height: 300px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    padding: 0;
  }
  .menu-image {
    padding: 0 !important;
  }
  .menu-image img {
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .menu-button {
    padding: 0;
    margin: 0;
    border-radius: 50px;
  }
  .menu-button a {
    min-height: 10px !important;
    font-size: 0.9rem;
    font-family: var(--button-font);
    text-align: center;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    margin: 0 auto !important;
  }
  .menu-button a:hover {
    color: var(--button-color) !important;
  }
  .menu-button a:focus, 
  .menu-button a:active {
    color: var(--button-color) !important;
  }
}

/* =============== Footer =============== */
.copyright {
  font-size: 0.8em;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}
a.footer-SiteName-Link:link, a.footer-SiteName-Link:visited {
    color: var(--link-color);
}
footer {

}


.copyright {
  background-color: #181818;
}
@media (min-width: 648px) {
    
  .blog-index {
    grid-template-columns: 1fr 1fr;
  }
  .pagination {
    width: 100%;
  }
  article + article {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  .flexbox-reverse {
    flex-direction: row;
  }

  
}
@media (min-width: 1100px) {

}
/* =============== HERO =============== */
article > .wp-block-cover {
  padding-top: 100px;
  padding-bottom: 100px;
}
.home article > .wp-block-cover {
  padding-top: 200px;
  /* padding-bottom: 100px; */
}
.wp-block-cover h1 {
  width: 100%;

  margin-bottom: 1rem;
}
.hero-contact-form {
 width: 100%;
}
.hero-contact-form > div {
  background-color: rgba(0,0,0,0.5);
  padding: 3rem 2rem 1rem;
}
.hero-contact-form h2 {
  text-align: center;
}
.hero-contact-form p {
  width: 100%;
  font-weight: 0.9rem;
  margin: 1rem auto;
}
.hero-contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.hero-contact-form .wpcf7-form-control-wrap input {
  width: 100%;
  min-height: 30px;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  padding-left: 0.5rem;
}
.wpcf7-textarea {
  height: 150px;
  padding-top: 0.5rem;
}
.hero-contact-form .wpcf7-submit {
  width: 100%;
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  border: 2px solid #fff;
  padding: 0.5rem;
}
.hero-contact-form .wpcf7-submit:hover {
  background-color: rgba(0,0,0,0.9);
  border-color: var(--link-color);
  color: var(--link-color);
  transition: 0.6s;
}
.hero-column {
  margin: 3rem auto;
}
.hero-column > div {
  max-width: 1080px !important;
  display: flex;
  justify-content: space-between;
  
  margin: auto;
}
.hero-areas {
  width: 55%;
  display: none;
}
.hero-areas > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-area {
  width: 47%;
  height: 238px;
  position: relative;
  overflow: hidden;
}
.hero-area > div {
  height: 100%;
}
.hero-area h2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  font-weight: 700;
}
.hero-area h2 a {
  display: block;
  height: 100%;
  text-align: center;
  padding: 110px 10px;
  background-color: rgba(0,0,0,0.7);
  color: #fff;
}
.hero-area h2 a:hover {
  background-color: rgba(0,0,0,0.5);
  color: var(--link-color);
  text-decoration: none;
  transition: 0.6s;

}
.hero-area .wp-block-image {
  margin-bottom: 0 !important;
  height: 100% !important;
}
.hero-area .wp-block-image img {
  height: 100% !important;
  object-fit: cover !important;
}
.areas-for-mobile {
  display: block;
  width: calc(100% - 2rem);
  margin: 7rem auto 0;
}
.areas-for-mobile .hero-area {
  width: 100%;
  max-width: 600px;
  margin: auto;
}
@media (min-width: 640px) {
  article > .wp-block-cover > div {
    /* max-width: 600px; */
    margin: auto;
  }
  .areas-for-mobile {
    display: flex;
    flex-wrap: wrap;
  }
  .areas-for-mobile .hero-area {
    width: 48%;
  }
}
@media (min-width: 1100px) {
  
  .hero-areas {
    display: block;
  }
  .areas-for-mobile {
    display: none;
  }
  .hero-contact-form {
    width: 35%;
  }
  .inpage-contact-form {
    width: 60%;
  }
  .wp-block-cover h1 {
    /* width: 1280px; */
    margin: 0 auto 1rem;
  }
  article > .wp-block-cover {
    /* padding-top: 220px; */
  }
  article > .wp-block-cover > div {
    /* max-width: 1280px; */
    margin: auto;
  }
}
/* Hamburger Menu ============================ 
   (Display when screen < 600px) ============= */

/* =============== content page =============== */

/* =============== search.php =============== */

/* =============== 404.php =============== */

/* =============== single.php =============== */
.back-to-articles {
  margin-bottom: 1rem;
}

.back-to-articles a {
  font-family: var(--button-font);
  font-size: 0.9rem;
  color: var(--brand-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-articles a:hover {
  text-decoration: underline;
}

.content-EyeCatch {
  max-height: 680px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.blog-Nav {
  margin-bottom: 50px;
}
.blog-Nav a:link, .blog-Nav a:visited {
  color: var(--brand-color);
}
.blog-Nav a:hover {
  color: var(--link-color);
}
.blog-Nav-Next {
  text-align: right;
}
/* =============== single.php =============== */
.blog-content-wrapper {
  margin: 0 auto 50px;
}


.blog-content-wrapper aside {
  margin-top: 2.2rem;
}
.blog-content-wrapper .sidebar h2 {
  margin-bottom: 2rem;
  /* margin-top: 2.2rem; */
} 
.blog-tags {
  margin-top: 3rem;
}
.blog-tags a {
  font-size: 0.9rem;
}
.blog-tags a:hover {
  text-decoration: underline;
}
.blog-content-wrapper .post-categories li {
  display: inline-block;
}

.related-posts h2 {
  margin-bottom: 1rem;
}
.related-posts h3 {
  font-size: 0.9rem;
  margin-top: 1rem;
}
.related-posts h3:hover {
  color: #272727;
}
.other-recommended-posts-wrapper li {
  position: relative;
  padding-bottom: 3rem;
}
.other-recommended-posts-wrapper li a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.other-recommended-posts-wrapper figure {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin: 0;
}

.other-recommended-posts-wrapper figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}


.recommend-posts h3 {
  font-family: var(--headling-font);
  font-size: 1.25rem;
  color: var(--dark-grey);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-transform: none;
}

.recommend-excerpt {
  margin-bottom: 1rem;
}

.recommend-excerpt p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0;
}

.recommend-read-more {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  float: right;
  font-size: 0.85rem;
  font-weight: 500;
}
.related-posts {
  border-top: 0.75px solid #ddd;
  padding-top: 50px;
  padding-bottom: 100px;
}
.other-recommended-posts-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  row-gap: 3rem;
  border-top: 1px solid #878585;
  padding-top: 1.5rem;
}
@media (min-width: 510px) {
  .other-recommended-posts-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 810px) {
  .other-recommended-posts-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    padding-left: 0;
    padding-right: 0;
  }
}


/* =============== Homepage =============== */
.home .wp-block-media-text>.wp-block-media-text__content {
  padding-top: 2rem;
}
.home .wp-block-media-text.is-image-fill-element>.wp-block-media-text__media {
  min-height: 360px;
}
.dark-logo-bg h2 {
  font-size: 1rem;
  padding-top: 0;
  margin-top: 0;
  color: var(--link-color);
}
.dark-logo-bg p {
  font-family: var(--headling-font);
  font-size: 1.75rem;
}
.big-p {
  font-family: var(--headling-font);
  font-size: 1.75rem;
}
.home-image-cover {
  
}

.home-image-cover .container {
  padding-bottom: 4rem;
}
.home-image-cover .wp-block-cover {
  padding: 5rem 1rem;
}
.home-image-cover .wp-block-cover p {
  max-width: 960px;
}

.home-services-wrapper {
  color: #fff;
  background: url(https://kital.uk/vanilla2/wp-content/uploads/2024/02/building-2.jpg) no-repeat;
  background-size: cover;
}
.home-services-wrapper > div {
  background-color: rgba(27,27,27,0.8);
  padding: 75px 16px;
}
.home-services-wrapper h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
}
.services-wrapper {
  margin-top: 2rem;
}
.services-wrapper > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.home-service {
  background-color: rgba(10,10,10,0.8);
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}
.home-service h3 {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
}
.home-service a {
  display: block;
  text-align: center;
}
.logo-cta {
  background-color: rgba(255, 255, 255, 0.8);
  color: #272727;
  padding: 2rem 1.5rem;
}

.logo-cta h2, .full-width-cta-logo > div h2 {
  font-size: 0.85rem;
  text-align: left;
  margin-bottom: 0.5rem;
}
.logo-cta figure, .full-width-cta-logo > div figure {
  width: 100%;
  height: auto;
}
.logo-cta p, .full-width-cta-logo > div p {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.logo-cta .wp-block-buttons, .full-width-cta-logo > div .wp-block-buttons {
  justify-content: end;
}
.logo-cta .wp-block-button a, .full-width-cta-logo > div .wp-block-button a {
  width: 140px;
  height: 32px;
  font-size: 0.85rem;
  text-align: left;
  text-transform: uppercase;
  background-color: #fff;
  color: #272727;
  border: 1.5px solid #272727;
  border-radius: 0;
  padding: 0.3rem 0.5rem 0.5rem;
  position: relative;
}
.logo-cta .wp-block-button a::after, .full-width-cta-logo > div .wp-block-button a::after {
  position: absolute;
  content: url(https://kital.uk/vanilla2/wp-content/uploads/2024/02/orange-arrow.png);
  width: 30px;
  height: 30px;
  top: 0;
  right: 0;
}
.logo-cta .wp-block-button a:hover, .full-width-cta-logo > div .wp-block-button a:hover {
  text-decoration: none;
  background-color: #eee;
  color: var(--link-color);
}
.full-width-cta-logo > div {
  margin-top: 100px;
  margin-bottom: 100px;
}
.full-width-cta-logo > div p {
  margin-top: 1rem;
}

/* The latest Blog post */
.home-latest-post-outer-wrapper {
  background-color: var(--brand-color);
  color: #fff;
  padding: 75px 0;
}
.home-latest-post-outer-wrapper article + article {
  margin-top: 2rem;
}
.home-latest-post-outer-wrapper h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
}

.home-latest-post-body {
  font-size: 0.9rem;
  background-color: #f9f9f9;
  color: #272727;
  padding: 2rem 1rem;
}
.home-latest-post-body a {
  font-size: 0.9rem;
  margin-top: 2rem;
  display: block;
  text-align: right;
}
.home-latest-post-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.home-latest-post-img {
  height: 200px;
}
.home-latest-post-img img {
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
}
.home-latest-post-outer-wrapper .wp-block-button__link, .wpcf7-submit {
  background-color: var(--link-color);
  font-size: 0.85rem;
  padding: 0.5rem 2rem;
  /* display: block; */
  /* text-align: center; */
  margin: 3rem auto 0;
}
.home-latest-post-outer-wrapper .wp-block-button {
  margin: auto !important;
}


@media (min-width: 640px) {
  .services-wrapper > div {
    grid-template-columns: 1fr 1fr;
  }
  .full-width-cta-logo > div {
    display: flex;
    gap: 2rem;
    margin-bottom: 100px;
  }
    .full-width-cta-logo > div .wp-block-buttons {
    justify-content: start;
  }
  .full-width-cta-logo > div > div:first-of-type {
    width: 60%;
  }
  
}
@media (min-width: 890px) {
  .home-latest-post-body {
    width: calc(1080px - 360px);
    padding: 2rem 3rem;
  }
}
@media (min-width: 900px) {
  .logo-cta > div {
    display: flex;
    gap: 2rem;
  }
  .logo-cta > div > div:first-of-type {
    width: 60%;
  }
  .logo-cta > div > div:last-of-type {
    width: 35%;
  }
  .logo-cta .wp-block-buttons {
    justify-content: start;
  }
  .full-width-cta-logo > div {
    gap: 4rem;
  }  
  .full-width-cta-logo > div figure {
    max-width: 360px;
  }
  .full-width-cta-logo > div h2 {
    margin-bottom: 5px;
  }
  .full-width-cta-logo > div p {
    font-size: 1rem;
    margin-top: 0;
  }
  .full-width-cta-logo > div > div:first-of-type {
    width: 40%;
  }
  .home-latest-post {
    display: flex;
  }
  .home-latest-post-img {
    width: 360px;
    height: auto;
  }
  .home-latest-post-body {
    position: relative;
  }
  .home-latest-post-body a {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
  }
}
@media (min-width: 1100px) {
  .services-wrapper > div {
    grid-template-columns: 1fr 1fr 1fr;
    width: 1080px;
  }
  .logo-cta {
    grid-column: 2 / 4;
    padding: 3.5rem 2rem 0 2.5rem;
  }
  .home-services-wrapper h2 ~ p {
    width: 1080px;
    margin: 2rem auto;
  }
  .logo-cta > div {
    gap: 3rem;
  }
  
}
@media (min-width: 1480px) {
  .home-services-wrapper {
    width: 1480px;
    background-color: var(--brand-color);
    background: url(https://kital.uk/vanilla2/wp-content/uploads/2024/02/building-2.jpg) no-repeat;
    background-size: cover;
    margin: auto;
  }
  .home-services-wrapper > div {
    background-color: rgba(27,27,27,0.8);
    padding: 75px 0;
  }
  .home-services-wrapper, .home-services-wrapper > div {
    border-radius: 60px;
  }
  .services-wrapper > div {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .services-wrapper > div {
    width: 1080px;
    margin: auto;
  }

  .logo-cta figure {
    width: 90%;
    height: auto;
  }
}
/* =============== Solutions Page =============== */
.solutions .wp-block-columns {
  margin-bottom: 6rem;
}

.solutions .treatment-options.wp-block-columns {
  column-gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.solutions .treatment-options.wp-block-columns:not(:last-child) {
  margin-bottom: 1rem;
  padding-bottom: 0;
}
.solutions .treatment-options.wp-block-columns:not(:first-child) {
  padding-top: 0;
}

.solutions ul {
  list-style-type: disc;
  padding-left: 18px;
}
.solutions ol {
  list-style-type: decimal;
  padding-left: 18px;
}
.solutions li {
  padding-left: 0.75rem;
}
.solutions ul li::marker, .solutions ol li::marker {
  color: var(--dark-grey);
  font-size: 1.1rem;
}
.solutions .treatment-prices {
  padding: 6rem 0;
}

.solutions .treatment-prices p {
  max-width: 680px;
  margin: auto;
}
  .solutions .treatment-prices .container {
    max-width: 960px;
  }


/* =============== Solution Index Page =============== */
.post-9 {
  padding-bottom: 6rem;
}
.solutions-index {
  background-color: var(--second-color);
  padding: 2rem 1.75rem;
  margin: 8px auto;
  transition: background-color 0.5s ease;
}
.solutions-index:hover {
  background-color: #d9d4dd;
}
.solutions-index:first-of-type {
  margin-top: 3rem;
}
.solutions-index.wp-block-details summary {
  font-family: var(--headling-font);
  font-size: 1.6rem;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
  position: relative;
}
.solutions-index .wp-block-columns {
  margin-top: 2rem;
  margin-bottom: 0;
}
.solutions-index h3 {
  font-family: var(--body-font);
  text-transform: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.solutions-list .wp-block-columns {
  border-bottom: 1px solid var(--brand-color);
  margin: 0 auto;
  column-gap: 0;
  flex-wrap: nowrap !important;
}

.home .solutions-list .wp-block-columns:last-of-type {
  border-bottom: none;
}
.home .solutions-list .wp-block-columns {
  max-width: 680px;
}
.solutions-list .wp-block-column:last-of-type {
  display: flex;
  align-items: center;
  justify-content: end;
}

.solutions-list .wp-block-columns h4 a {
  font-size: 1.1rem;
  color: var(--brand-color);
  display: block;
  width: 100%;
  padding: 1.25rem 0;
}

.solutions-list figure.wp-block-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--brand-color);
  padding: 8px;
  margin-bottom: 0 !important;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.solutions-list .wp-block-columns:hover figure.wp-block-image {
  animation: scalePulse 1s ease-in-out infinite;
}

@keyframes scalePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Override WordPress default stacking behavior for solutions list columns */
@media (max-width: 781px) {
  .home .solutions-list .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: auto !important;
  }
}
 
  /* =============== FAQs Section =============== */
.faqs {
  padding: 2rem 0;
}

.faqs .wp-block-details {
  /* max-width: 800px; */
  margin: 0 auto;
  border: none;
  border-top: 2px solid var(--brand-color);
  background: none;
}
.faqs .wp-block-details:last-of-type {
  border-bottom: 2px solid var(--brand-color);
}

.faqs .wp-block-details summary {
  font-family: var(--headling-font);
  font-size: 1.25rem;
  text-transform: none;
  margin: 0;
  padding: 1.5rem 0;
  padding-right: 2px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faqs .wp-block-details summary:hover {
  color: var(--link-color);
}

.wp-block-details summary::marker {
  display: none;
}

.wp-block-details summary::after {
  content: '+';
  font-size: 2rem;
  font-weight: 100;
  transition: content 0.3s ease;
  padding-left: 10px;
}
.solutions-index.wp-block-details summary::after {
  position: absolute;
  right: 1rem;
  bottom: -30%;
  font-size: 2.5rem;
}

.wp-block-details[open] summary::after {
  content: '-';
  font-size: 2rem;
  position: relative;
  top: -3px;
  left: -3px;
}
.solutions-index.wp-block-details[open] summary::after {
  content: '\2014';
  position: absolute;
  right: 14.5px;
  bottom: -1px;
  top: auto;
  left: auto;
  font-size: 1.8rem;
}

.faqs .wp-block-details p {
  font-size: 1rem;
  margin: 0;
  padding: 0 0 1.5rem 0;
}

/* =============== Price List Table =============== */
figure.price-list table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  overflow: hidden;
  table-layout: fixed;
}

figure.price-list table thead {
  border-bottom: none;
}

figure.price-list table td, figure.price-list table th {
  border: none;
}
figure.price-list table tr, figure.price-list table thead {
  border-bottom: 2px solid white;
}

figure.price-list table td {
  padding: 1.5rem 1.25rem;
  vertical-align: middle;
}

figure.price-list table th {
  text-align: left;
  font-size: 2rem;
  font-family: var(--headling-font);
  padding: 1rem 2rem 1rem 0;
  vertical-align: middle;
}

figure.price-list table th:first-child {
  width: 66.67%;
}

figure.price-list table th:last-child {
  width: 33.33%;
}

figure.price-list table td:first-child {
  width: 66.67%;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 300;
}

figure.price-list table td:last-child {
  width: 33.33%;
  background-color: #c2adb9;
  color: var(--dark-grey);
  text-align: right;
  font-family: var(--body-font);
}

figure.price-list table tr:hover td:last-child {
  background-color: #cfc7d7;
}

figure.price-list table a, .wpfront-message a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

figure.price-list table a:hover, .wpfront-message a:hover {
  color: #fff;
}

span.big-number {
  font-family: var(--headling-font);
  font-size: 1.6rem;
  font-weight: 400;
}
.treatment-overview {
  background-color: #fff;
  margin-top: 8rem;
}
.treatment-overview .wp-block-media-text__content {
  padding: 4rem 12% !important;

}

.treatment-overview h3 {
  font-size: 1.2rem;
  text-transform: none;
  padding-bottom: 6px;
}
.treatment-overview p {

  margin-bottom: 1.35rem;
}
.treatment-overview p:last-of-type {
  margin-bottom: 0;
}
.treatment-option-card {
  position: relative;
  padding-bottom: 3rem;
}
.treatment-option-card h3 {
  margin-top: 2rem;
}
.treatment-option-card h3, .treatment-option-card p {
  padding: 0 1.25rem;
  margin-bottom: 1rem;
}
.treatment-option-card ul, .treatment-option-card ol {
  padding: 0 1.25rem;
  padding-left: 3rem;
}
.treatment-option-card li {
  padding-left: 0.25rem;
}
.treatment-option-card .wp-block-button {
  position: absolute;
  bottom: 2rem;
}
.treatment-option-card .wp-block-button__link {
  font-size: 1rem;
}
/* =============== archive.php =============== */
main {
}
main.solutions, .page-child main {
  background-color: var(--grey-color);
}

.blog-index {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
  row-gap: 4rem;
  /* margin-top: 100px; */
  margin-bottom: 100px;
}

/* Blog Post Card Styling */
.blog-post-card {
  position: relative;
  padding-bottom: 2rem;
}

.blog-post-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.post-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  padding: 1.5rem 0;
}
.blog-post-content h1, .blog-post-content h2, .blog-post-content h3, .blog-post-content h4, .blog-post-content h5, .blog-post-content h6 {
  text-transform: none;
}
.single .blog-post-content h2, .single .blog-post-content h3, .single .blog-post-content h4, .single .blog-post-content h5, .single .blog-post-content h6 {
  margin-top: 3rem;
}
.blog-post-content p {
  margin-bottom: 0.75rem;
}

.blog-post-title {
  font-family: var(--headling-font);
  font-size: 1.8rem;
  text-transform: none;
  color: var(--dark-grey);
  line-height: 1.3;
}

.blog-post-excerpt {
  margin-bottom: 1rem;
}

.blog-post-excerpt p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.blog-read-more-btn {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  float: right;
}

.blog-read-more-btn:hover {
  background-color: var(--third-color);
  color: var(--brand-color);
  border-color: var(--brand-color);
}


.page-numbers {
  transition: 0.6s;
}
.page-numbers:link, .page-numbers:visited {
  color: var(--brand-color);
}
.page-numbers:hover {
  color: var(--link-color);
}
.pagination {
  grid-column: 1 / -1;
  text-align: center;
}

/* ===========================================
  Media Query
============================================== */
@media (min-width: 782px) {
  .floating-image-container {
    position: relative;
  }
  .floating-image-container figure {
    position: absolute;
    right: 0;
    z-index: 1;
  }

}
@media (min-width: 1100px) {

  /* =================================================================== */

  .content-footer {
    display: none;
  }
  .wp-block-quote {
    margin-left: 3rem !important;
    padding-right: 5rem;
  }
  
}

/* Footer Newsletter Section Styling */
.footer-newsletter {
  background-color: #ffffff;
  padding: 4rem 0 0;
  text-align: center;
}

/* Logos Carousel */
.footer-logos-carousel {
  margin-top: 4rem;
}
.logos-carousel figure {
  height: 150px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-carousel figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}



/* Footer Content Section Styling */
.footer-content {
  background-color: #ffffff;
  padding: 2rem 0 2rem;
  color: #37353a;
}

.footer-content .container {
  border-top: 1px solid #e5e1ea;
  padding-top: 80px;
}

.footer-white-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-white-content h2,
.footer-logo-section h2,
.footer-contact-details h2 {
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 1rem;
  color: #37353a;
  text-transform: uppercase;
}

.footer-white-content h3,
.footer-logo-section h3,
.footer-contact-details h3 {
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 1rem;
  color: #37353a;
  text-transform: uppercase;
}

.footer-content p {
  color: #37353a;
  margin-bottom: 0.5rem;
  font-size: 0.825rem;
  font-family: var(--button-font);
  line-height: 1.5;
}

.footer-content a {
  color: var(--link-color);
  text-decoration: none;
}

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

.footer-logo-section {
  text-align: center;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-clinic-address,
.footer-opening-times,
.footer-contact-details {
  text-align: left;
  max-width: 80%;
  min-width: 200px;
  margin: 0 auto;
}

.footer-cqc-logo {
  margin-top: 1rem;
}

.cqc-logo {
  width: 60px;
  height: auto;
}

.footer-company-info {
  padding-top: 2rem;
}

.footer-company-info p {
  font-size: 0.7rem;
  margin: 0;
}

/* Footer Dark Bar Styling */
.footer-dark-bar {
  font-family: var(--button-font);
  font-size: 0.9rem;
  background-color: var(--dark-grey);
  text-align: center;
  padding: 3rem 0;
}

.footer-dark-bar .container > * {
  margin-bottom: 2rem;
}
.footer-terms-policy {
  margin-bottom: 0 !important;
}

.footer-dark-bar > *:last-child {
  margin-bottom: 0;
}

.footer-dark-bar a, .footer-developed-by a {
  color: #fff;
}

.footer-dark-bar a:hover, .footer-developed-by a:hover {
  color: #fff;
  opacity: 0.7;
}

.footer-dark-bar p {
  color: #fff;
}

.footer-dark-bar .footer-terms-policy a {
  padding: 5px;
  display: inline-block;
}

/* Social Media Icons Styling */
.footer-sns {
  color: #fff;
}
.footer-sns h3 {
  font-size: 1.5rem;
}

.footer-sns p, .footer-developed-by p {
  color: #fff;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-link {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.7;
}

.social-link svg {
  fill: #fff;
  width: 30px;
  height: 30px;
  transition: fill 0.3s ease;
}

.social-link:hover svg {
  fill: var(--third-color);
}
.footer-dark-bar .footer-copyright {
  text-align: center;
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-copyright p+p {
  margin-top: 0;
}
.footer-developed-by {
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--button-font);
  text-align: center;
  padding: 1rem 0;
}

/* =============== About Page =============== */
body.page-id-7 {
  background-color: var(--second-color);
}
body.page-id-7 .wp-block-columns {
  justify-content: space-between;
}
/* =============== 404 Page =============== */
.error404 {
  background-color: var(--grey-color);
}
.error-content-container {
  text-align: center;
  padding-bottom: 100px;
}

/* =============== Contact Page =============== */
body.page-id-13, .blog, .single, body.page-id-659,
body.page-id-773, body.page-id-770, .page-id-3, .page-id-753 {
  background-color: var(--grey-color);
}

/* Contact page layout */
.contact-page-wrapper > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  /* padding: 4rem 1rem; */
}


.contact-info img {
  filter: grayscale(100%);
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

.contact-info a {
  font-family: var(--headling-font);
  font-size: 1.25rem;
  color: var(--dark-grey);
}

.contact-form > div {
  background-color: var(--second-color);
  padding: 3rem 2rem;
}
.contact-form h3 {
  text-transform: capitalize;
}

/* Make contact form sticky on page-id-659 - handled by JavaScript */
@media (min-width: 768px) {
  body.page-id-659 .contact-page-wrapper {
    position: relative;
  }
  
  body.page-id-659 .contact-page-wrapper > div {
    align-items: start;
  }
  
  body.page-id-659 .contact-form {
    transition: top 0.3s ease, position 0.3s ease;
  }
}

input[type="text"],
input[type="email"],
textarea,
input[type="tel"]
{
  width: 85%;
  font-family: var(--button-font);
    background-color: transparent;
    color: var(--dark-grey);
    border: none;
    border-bottom: 1px solid var(--dark-grey);
    margin-bottom: 2rem;
    padding: 0.75rem 0;
}
textarea {
  width: 92.5%;
}
.wpcf7-submit {
  background-color: var(--button-color) !important;
  color: var(--dark-grey) !important;
  font-family: var(--button-font);
  border: 2px solid var(--button-color);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  transition: 0.6s;
}

.wpcf7-submit:hover {
  border: 2px solid var(--brand-color);
  background-color: var(--brand-color) !important;
  color: var(--third-color) !important;
}
::placeholder { 
  color:var(--dark-grey); 
}
::-webkit-input-placeholder { /* WebKit browsers */
  color:var(--dark-grey) !important; 
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color:var(--dark-grey) !important; 
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color:var(--dark-grey) !important; 
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
  color:var(--dark-grey) !important; 
}

.footer-newsletter .wpcf7 input[type="email"] {
  width: 100%;
  max-width: 600px;
  border: 1px solid var(--dark-grey);
  padding: 0.75rem;
  margin: 2rem auto;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 300;
  font-family: var(--headling-font);
}

.footer-newsletter .wpcf7 input[type="email"]::placeholder {
  color: #ccc !important;
}
.footer-newsletter .wpcf7-submit {
  margin-top: 0;
  margin-bottom: 0;
}
.footer-newsletter .wpcf7-spinner {
  display: block;
  margin: 1rem auto 0;
}


/* Contact page responsive layout */
@media (min-width: 768px) {
  .contact-page-wrapper > div {
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
    /* padding: 4rem 2rem; */
    /* max-width: 1280px; */
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  h1, .h2-look-like-h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.6rem;
  }
  h4 {
    font-size: 1.2rem;
  }
  h5 {
    font-size: 1rem;
  }
  h6 {
    font-size: 0.5rem;
  }
  .footer-white-content {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-logo-section {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .solutions h2 {
    font-size: 2.8rem;
  }
  h1, h2.h2-look-like-h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2.8rem;
  }
 
  h3 {
    font-size: 2rem;
  }
  .solutions h3 {
    font-size: 1.6rem;
  }
  .solutions .treatment-overview h3, .solutions-index h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1.5rem;
  }
  h5 {
    font-size: 1rem;
  }
  h6 {
    font-size: 0.5rem;
  }
  .container, header, .wp-block-cover__inner-container, .home .solutions-list .wp-block-columns {
    width: calc(90% - 2rem) !important;
  }
  
  .home .wp-block-media-text>.wp-block-media-text__content {
    padding: 2rem 12% 1rem 20%;
  }
  .home-image-cover .wp-block-cover {
    max-width: calc(90% - 2rem);
    padding: 8rem 1rem;
    margin: auto;
  }
  .home .solutions-list .wp-block-columns h4 a {
    font-size: 1.35rem;
  }
  .footer-white-content {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-logo-section {
    grid-column: 1;
    text-align: left;
  }
  
  .footer-clinic-address {
    grid-column: 2;
  }
  
  .footer-opening-times {
    grid-column: 3;
  }
  
  .footer-contact-details {
    grid-column: 4;
  }
}

@media (min-width: 1240px) {
  article.page, .blog main, .single main, .error404 main {
    padding-top:190px;
  }
  .home article.page {
    padding-top:0;
  }
  .header-Nav-desktop > li {
    margin-right: 3rem;
  }
  .home .solutions-list .wp-block-columns {
    margin-left: 0;
  }
  .home .wp-block-media-text>.wp-block-media-text__content {
    padding: 5rem 12% 3.5rem 20%;
  }
  .home-image-cover .container {
    column-gap: 6rem;
  }
  .home-image-cover .wp-block-cover {
    max-width: calc(96% - 2rem);
    padding: 10rem 0;
  }
  .home .solutions-list .wp-block-columns h4 a {
    font-size: 1.6rem;
  }
  .footer-dark-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
  
  .footer-dark-bar .container > * {
    margin-bottom: 0;
    flex: 1;
    text-align: center;
  }
  
  .footer-sns {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .social-icons {
    margin-top: 0;
  }
  .footer-sns .social-icons svg {
    margin-top: 0;
    display: flex;
    align-items: center;
  }
  
  /* Blog responsive layout */
  .blog-index {
    grid-template-columns: 1fr 1fr;
    column-gap: 10rem;
    row-gap: 5rem;
  }
  }
  .one-second.column {
    width: 50%;
    float: right;
  }
  .contact-form > div {
    padding: 3rem 1rem 3rem 3rem;
  }


@media (min-width: 2000px) {

}