/* 

Font:
    font-family: 'Lato', sans-serif; 100,300.400.700,900

    font-family: 'Marcellus', serif; 400

*/
/* =============== Layout =============== */
#wrapper {
    width: 100%;
    margin: 0;
    position: relative;
  }

article > h1 {
  display: none;
}
.single article > h1 {
  display: block;
}
 .content, .grey-bg > div, .green-bg > div, .footer-Widgets .widget_block, .copyright,
.single article, .blog-index, .error404 main, .privacy-policy article p, .privacy-policy article ol,
.icon-with-bgcolour-wrapper > div, .home-latest-post, .services-wrapper, .services-mobile-wrapper {
  margin: 0 20px;
}
.home-hero p, .two-column-text-image p, .inpage-brand-cta p, .box-textcontent p {
  padding: 0 20px;
}
.home-hero p {
  text-align: center;
  max-width: 680px;
  margin: auto;
}
.single article {
  margin-top: 2em;
}


@media (min-width: 1250px) {
  .content, .grey-bg > div, .footer-Widgets .widget_block, .copyright,
  .single article, .blog-index, .error404 main, .privacy-policy article p, .privacy-policy article ol,
  .footer-menu-desktop, .two-column-text-image, .icon-with-bgcolour-wrapper, .home-latest-post-wrapper,
  .services-wrapper {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.home-hero p {
  text-align: left;
  padding: 0;
  max-width: 630px;
  margin-left: 0;
}
.home-hero h1 {
  max-width: 600px;
}

}
svg {
  fill: var(--link-color);
}
.grey-bg {
  background-color: var(--light-grey);
  padding: 100px 0 100px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.home .grey-bg {
  margin-top: 0;
}
.wp-block-column figure {
  /* height: 100%; */
}

.inpage-content-form-wrapper .wp-block-column figure {
  height: fit-content;
  max-height: 250px;
  overflow: hidden;
}
.wp-block-column figure img {
  /* height: 100% !important; */
  object-fit: cover;
  object-position: center;
}
.flexbox-reverse {
  flex-direction: column-reverse;
}
/* =============== Typesetting =============== */
body {
  font-family: 'Lato', sans-serif;
  line-height: 1.55;
  letter-spacing: 0.5px;
  color: #272727;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
}
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}
p {
  font-weight: 300;
}
p + p, ol + p, p + ol, .privacy-policy article p+p, .privacy-policy article p+ol, .privacy-policy article ol+p {
  margin-top: 1em;
}
/* article p:last-of-type {
  margin-bottom: 2em;
} */
ol {
  list-style-type: decimal;
  font-weight: 300;
  padding-left: 3em;
}
ol::marker {
  font-weight: 500;
  color: var(--second-color);
}
.policy-page-content ol {
  padding-left: 1.5rem;
}
ol li {
  padding-left: 1em;
}
.home-hero h1, .home-hero h2, .blog-hero h1 {
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 50px;
  text-align: center;
}
.home-hero h1 {
  margin-bottom: calc(50px - 1rem);
}
@media (min-width: 1250px) {
  .home-hero h1, .home-hero h2, .blog-hero h1 {
    font-size: 3.125rem;
  }
  .home-hero h1 {
    font-size: 3.7rem;
    line-height: 1.35;
    text-align: left;
  }
  .home-hero.subpage-hero.short-height h1 {
    text-align: center;
    margin: auto;
  }
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
.colour-text {
  color: var(--second-color);
}
.margin-top-1em {
  margin-top: 1em;
}
.margin-top-2em {
  margin-top: 2em;
}
.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;
}
/* ***if want to change the font size, please also change on functions.php */
.has-x-small-font-size {
    font-size: 0.75rem;
}
.has-small-font-size {
    font-size: 1rem;
}
.has-normal-font-size {
    font-size: 1.125rem;
}
.has-large-font-size {
    font-size: 1.5rem;
}
.has-huge-font-size {
    font-size: 2.25rem;
}
.column-reverse {
  flex-direction: row-reverse;
}

/* =============== Colour setting =============== */
:root {
    --brand-color: #1D1D1B;
    --second-color: #CC1033;
    --third-color: #E88119;
    --link-color: #CC1033;
    --link-hover-color: #FF7099;
    --light-grey: #f2f2f2;
  }

.has-brandcolour-background-color {
    background-color: var(--brand-color);
}
.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);
}
/* =============== Links =============== */
a {
    text-decoration: none;
  }
  
  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: var(--brand-color);
  }

  .wp-block-buttons > .wp-block-button {
    min-width: 300px;
  }
/* =============== Style setting =============== */
.border-radius-16px {
  border-radius: 16px;
  overflow: hidden;
}
.image-with-text-container {
  display: none;
}
.image-with-text-container h2 {
  width: 100%;
  background-color: var(--light-grey);
  text-align: left;
  padding: 2rem;
  margin: 0;
}
  
  .image-with-text-container > div, .home-latest-post-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
  }
  .image-with-text-container > div {
    gap: 1px;
    position: relative;
  }
  .home-latest-post {
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    margin: 0 auto;
    box-shadow: 2px 2px 8px #bbb;
  }
  .image-with-text h3, .icon-textcontent h3, .home-latest-post h3 {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--link-color);
    text-align: center;
    padding: 0.5rem;
  }
  .image-with-text h3 {
    font-size: 1.5rem;
    color: white;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    margin-bottom: 0;
  }
  .home-latest-post h3 {
    text-align: left;
    padding: 0 0 0.75rem 0;
  }
  .image-with-text figure {
    transition: all 1s ease;
    backface-visibility: hidden;
    margin-bottom: 0 !important;
    filter: brightness(0.5);
    overflow: hidden;
    height: 100%;
  }
  .image-with-text figure img {
    width: 110%;
    height: auto;
    object-fit: center;
    transition: 1s;
  }
  .image-with-text > div:hover img {
    height: auto;
    transform: rotateY(-180deg);
    opacity: 0;

  }
  article .image-with-text p {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 1s ease;
    transform: rotateY(90deg);
    transform-origin: 50% 0%;
    opacity: 0;
    background: var(--light-grey);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    border-bottom: 1px solid white;
  }
  .image-with-text > div:hover p {
    transform: rotateY(0);
    opacity: 1;
    transition-delay: 0.15s;
  }
  .image-with-text > div:hover h3 {
    opacity: 0;
  }


  /* ICON with background colour */
  .icon-with-bgcolour-wrapper > div {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .icon-with-bgcolour-container {
    width: 245px;
    margin: auto;
  }
  .icon-with-bgcolour {
    width: 96px;
    position: relative;
    margin: auto !important;
  }
  .icon-textcontent h3 {
    color: #272727;
  }
  .icon-with-bgcolour::before {
    content: url(https://kital.uk/vanilla/wp-content/themes/soscreativitytheme/assets/img/icon-bg.png);
    position: absolute;
    width: 100%;
    height: auto;
    top: 18px;
    left: -12px;
    z-index: -1;
  }
  /* brand logo with CTA button */
  .inpage-brand-cta p {
    margin-top: 2rem;
  }
  .inpage-brand-cta p:last-of-type {
    margin-bottom: 0;
  }
  .inpage-brand-cta figure {
    width: 180px;
    margin: auto !important;
  }
  .home-latest-post {
    background-color: #fff;
    padding-top: 0;
    box-shadow: 2px 2px 8px #ccc;
  }
  .home-latest-post:hover {
    cursor: pointer;
  }
  .home-latest-post-img {
    height: 330px;
    overflow: hidden;
  }
  .home-latest-post-img img {
    width: auto;
    height: 360px;
    object-fit: cover;
    aspect-ratio: 1;
  }
  .home-latest-post-body {
    background-color: #fff;
    padding: 2rem 1rem;
  }
  .home-latest-post-body p:last-of-type {
    margin-bottom: 0;
  }

.point-with-icon-wrap > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 50px auto;
  row-gap: 2rem;
}
.point-with-icon {
  width: 100%;
  text-align: center;
  background-color: rgba(204,16,51,0.075);
  border-radius: 16px;
  padding: 2rem 1rem;
}
.point-with-icon h3 {
  margin: 1rem 0;
}
.point-with-icon figure img {
  display: block;
  margin: auto;
}
.caution-container {
  padding-bottom: 2rem;
  margin: 2rem 0;
  border-bottom: 0.5px solid #ddd;
}
.caution-with-border {
  font-size: 0.9rem;
  background-color: rgba(204,16,51,0.075);
  padding: 2rem;
}

/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
position: fixed;
width: 100%;
height: 100%;
z-index: 999;
background:#f9f9f9;
text-align:center;
color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
width:200px;
}

/* fadeUpをするアイコンの動き */

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

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

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


/* =============== button setting =============== */
.wp-block-buttons {
  justify-content: center;
  column-gap: 1.5rem;
}
.single-button, .gradient4, .gradient5 {
  justify-content: center;
  /* padding-top: 50px; */
}
.inpage-brand-cta .gradient4 {
  padding-top: 0;
}
.single-button > div > a {
  display: block;
  width: 300px;
  height: 100%;
  text-align: center;
  border-radius: 50px;
  background: var(--link-color);
  background: linear-gradient(135deg, var(--link-color) 0%, var(--second-color) 100%);
  color: white;
  box-shadow: 1px 1px 6px #aaa;
  padding: 0.5rem;
}
.single-button > div > a:hover {
  text-decoration: none;
  background: linear-gradient(215deg, var(--link-color) 0%, var(--second-color) 100%);
  transition: 1s;
}


/* Hover: gradient button */
.gradient4 > a, .gradient5 > a {
  display: block;
  /* width: 300px; */
  padding: 0.5rem 1.5rem;  
  border-radius:50px;
  text-decoration: none;
  background-color: #fff;
  /* border:1px solid var(--link-color); */
  color: #fff;
  outline: none;
  transition: all 0.4s ease-out;
}
.gradient4 > a {
  /* width: 180px; */
  background: linear-gradient(315deg, var(--third-color) 0%, var(--second-color) 100%);
}
 .gradient5 > a {
  /* border: 2px solid rgba(255, 255, 255, 0); */
  background: linear-gradient(315deg, var(--third-color) 0%, var(--second-color) 100%);
  transition: all 0.4s ease-out;
 }
 .home-hero .gradient4 > a {
  background: white;
  color: var(--brand-color);
 }
 .home-hero .gradient5 > a {
  background: var(--second-color);
 }

.gradient4 > a:hover, .gradient5 > a:hover, .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;
  box-shadow: 0 5px 10px rgb(250,108,159,0.4);
}
.button-darkcolor-bg {
  width: 100%;
  max-width: 300px;
  text-align: center;
  border-radius: 50px;
  margin: 1em auto 0 !important;
}
.button-darkcolor-bg a {
  display: block;
  width: 100%;
  max-width: 300px;
  font-size: 1em !important;
  background: var(--brand-color);
  background: linear-gradient(135deg, #021376 0%, #551BC0 100%);
  color: white;
  box-shadow: 1px 1px 5px #333;
  padding: 0.5em 2em !important;
}
.button-darkcolor-bg a:link, .button-color-bg a:visited {
  color: white;
}
.button-darkcolor-bg a:hover {
  text-decoration: none;
  transform: scale(1.05);
  transition: 0.5s;
}


/* ============================================
   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 =============== */
header {
    width: 100%;
    position: relative;
    z-index: 10;
}
.single header, .error404 header {
  border-bottom: 0.5px solid #eee;
  box-shadow: 0 4px 4px #f9f9f9;
}
.top-bar {
  height: 32px;
  line-height: 2;
  background-color: var(--link-color);
  color: #fff;
  font-size: 0.8em;
  text-align: center;
  padding: 0.5em;
}
.top-bar-tel img {
  width: 20px;
  height: auto;
}
.top-bar > a {
  display: none;
}
.top-bar-tel-link {
  display: inline;
  position: relative;
  top: -4px;
  left: 5px;
}
.top-bar a:link, .top-bar a:visited {
  color: #ffffff;
}
.top-bar a:hover, .top-bar a:active, .top-bar a:focus {
  color: var(--light-grey);
}
a.header-SiteName-Link {
    display: block;
    height: 50px;
    margin: 15px auto;
}
a.header-SiteName-Link img {
    width: auto;
    height: 100%;
    display: block;
    margin: auto;
}
.google-reviews {
  width: 80px;
  position: fixed;
  bottom: 63px;
  right: 16px;
  padding: 10px;
  background-color: white;
  border-radius: 10px;
  border: 0.5px solid #ddd;
  box-shadow: 1px 1px 6px #bbb;
  z-index: 100;
}
.google-reviews img {
  width: 100%;
  height: auto;
}
/* =============== Navigation =============== */

.hamberger-menu {
    position: absolute;
    background: white;
    cursor: pointer;
    width: 80px;
    height: 80px;
    top: 32px;
    left: 0;
    border-radius: 5px;
    z-index: 2;
}
  
.hamberger-menu .openbtn-area{
    transition: all .6s;
    width: 80px;
    height: 80px;
  }
  
  .hamberger-menu span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 22px;
    height: 2px;
    border-radius: 2px;
    background: black;
    width: 45%;
    }
  
  .hamberger-menu span:nth-of-type(1) {
    top:30px; 
  }
  
  .hamberger-menu span:nth-of-type(2) {
    top:40px;
    width: 35%;
  }
  
  .hamberger-menu span:nth-of-type(3) {
    top:50px;
    width: 25%;
  }
  
  .hamberger-menu.active .openbtn-area{
    transform: rotate(90deg);
  }
  
  .hamberger-menu.active span:nth-of-type(1) {
      top: 33px;
      left: 29px;
      transform: translateY(6px) rotate(-45deg);
      width: 30%;
  }
  
  .hamberger-menu.active span:nth-of-type(2) {
    opacity: 0;
  }
  
  .hamberger-menu.active span:nth-of-type(3){
      top: 45px;
      left: 29px;
      transform: translateY(-6px) rotate(45deg);
      width: 30%;
  }


/* Hamburger Menu ============================ 
   (Display when screen < 600px) ============= */
  .main-menu-desktop {
    display: none;
  }
  
  nav a:link, nav a:visited {
    color: #272727;
  }
  nav a:hover {
    color: var(--link-color);
  }
  nav .menu-second-level .sub-menu a:hover {
    color: var(--second-color);
    text-decoration: underline;
  }
  
nav.menu-mobile {
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 1);
    position: absolute;
    top: 112px;
    left: 0;
    transform: translateX(-1000%);
    transition: 0.5s;
    z-index: 1;
  }
  
  nav.menu-mobile.active {
    transform: translateX(0);
    transition: 0.5s;
  }
  .header-Nav-mobile {
    border-top: 0.5px solid #ddd;
  }
  .header-Nav-mobile > li {
    font-size: 0.9rem;
    border-bottom: 0.5px solid #ddd;
    padding: 1rem 1rem 1rem 2rem;
  }
  .header-Nav-mobile .sub-menu {
    font-weight: 300;
    margin-top: 0.75rem;
    margin-left: 1rem;
  }
  nav .header-Nav-mobile .sub-menu li {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  .menu-second-level .sub-menu li {
    font-size: 0.9em;
    font-weight: 300;
  }
  .menu-second-level {
    margin: 1em 1em 0;
  }
  .menu-second-level .sub-menu {
    display: none;
    padding-top: 0.75rem;
  }
  nav li {
    list-style-type: none;
  }
  #menu-main-menu > .menu-item > a:hover {
    text-decoration: none;
  }
  .link-looks-like-text > a {
    cursor: default;
    text-decoration: none;
  }
  .link-looks-like-text > a:hover {
    color: #272727;
  }
/* =============== Footer =============== */
.footer-menu-desktop {
  display: none;
  margin-top: 100px;
}
.footer-menu-mobile {
  margin-top: 100px;
  border-top: 0.75px solid #ddd;
  border-bottom: 0.75px solid #ddd;
}
.footer-menu-mobile .link {
  border-top: 0.75px solid #ddd;
  position: relative;
}
.footer-menu-mobile .link:first-of-type {
  border-top: none;
}
.footer-menu-mobile .link {
  padding: 1rem 1rem;
}
.footer-menu-mobile .hidden {
  display: none;
}
.footer-menu-mobile dl.hidden, .footer-menu-desktop dl {
  display: grid;
  grid-template-columns: 1fr 15fr;
  gap: 0.5rem;
  padding-right: 1rem;
}
.footer-menu-mobile dt, .footer-menu-desktop dt {
  width: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-menu-mobile dl.hidden, .footer-menu-mobile .links {
  padding-left: 1rem;
  padding-bottom: 1rem;
}
.footer-menu-mobile dl.hidden, .footer-menu-mobile .links a, .footer-menu-desktop a, .footer-menu-desktop dl p {
  font-size: 0.85em;
  font-weight: 300;
}
.footer-menu-mobile .links a, .footer-menu-desktop a {
  display: block;
}
.footer-menu-desktop dd a {
  display: inline;
}
.drop-down {
  max-width: 16px;
  height: auto;
  position: absolute;
  top: 28px;
  right: 20px;
}

.footer-Widgets {
  margin-top: 20px;
  margin-bottom: 50px;
}

.wp-block-social-link {
  background-color: rgba(255, 255, 255, 0) !important;
  fill: #888 !important;
  color: #888 !important;
}
.wp-block-social-link:hover {
  fill: var(--link-color) !important;
  color: var(--link-color) !important;
}

.wp-block-social-links {
  margin-top: 1em;
  justify-content: center;
}
.footer-desktop-contact-details {
  width: 360px;
}
/* social media links for desktop viewport */
#block-10 {
  display: none;
}
.footer-menu-desktop .link {
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-menu-desktop a:link, .footer-menu-desktop a:visited {
  color: #272727;
}
.footer-menu-desktop a:hover {
  color: var(--link-color);
  text-decoration: underline;
}
.footer-menu-desktop a:active, .footer-menu-desktop a:focus {
  color: var(--link-color);
}
.copyright {
  font-size: 0.8em;
  padding-bottom: 1rem;
}
a.footer-SiteName-Link:link, a.footer-SiteName-Link:visited {
    color: var(--brand-color);
}
/* Home - blog post */
section.home-blog-post {

}
h2.home-blog-post-title {

}
p.home-blog-post-more {

}
a.home-blog-post-more-link {

}


/* H1 for pages and post */
.content-title {

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

/* =============== search.php =============== */
p.search-ResultNum {

}
/* =============== 404.php =============== */
div.error-content-container {

}
.error404 main {
  padding-top: 100px;
  text-align: center;
}
/* =============== single.php =============== */

/* =============== single.php =============== */

.single .wp-block-quote {
  border-color: var(--brand-color);
  margin-top: 2em !important;
}
.blog-content ul {
  list-style-type: disc;
  margin: 1em auto;
  padding-left: 1em;
}
.blog-content li+li {
  margin-top: 0.5em;
}
.blog-content li {
  font-weight: 300;
}
.blog-content li::marker {
  color: var(--link-color);
}
.content-Meta a.content-Meta_Date {
  display: block;
  font-size: 0.9rem;
  font-weight: 200;
  text-align: end;
  color: #777;
  margin-bottom: 1rem;
}
.content-tags {
  padding: 1em 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.content-tags li {
  border: 0.75px solid var(--link-color);
  border-radius: 6px;
  padding: 3px 1.5em;
  display: inline-block;
  font-size: 0.8em;  
}
.content-tags li:hover {
  border-color: #272727;
  transition: 0.5s;
}

.content-footer {
  margin-bottom: 3em;
  margin-top: 2em;
}
.blog-Nav {
  display: flex;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: wrap;
  font-size: 0.9em;
}
.nav-links {
  width: fit-content;
  margin: auto;
}
.pagination a:link, .pagination a:visited {
  color: var(--link-color);
  border-bottom: none;
}
.pagination a:hover {
  color: #272727;
  border-bottom: none;
}
.pagination a+a, .pagination span+a, .pagination a+span {
  margin-left: 10px;
}
.blog-Nav-Prev {

}
.blog-Nav-Next {

}

/* =============== single.php =============== */
.blog-content-wrapper {
  margin: 50px auto;
}
.blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
  font-weight: 700;
  padding: 2rem 0 1rem; 
}

.blog-content-wrapper aside {
  margin-top: 2.2rem;
}
.blog-content-wrapper .sidebar h2 {
  margin-bottom: 2rem;
  /* margin-top: 2.2rem; */
}
.blog-content h2 {
  font-size: 1.25rem;
  text-align: left;
  padding-top: 4rem;
}
.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: 2rem;
}
.related-posts h3 {
  min-height: 50px;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  color: #272727;
}
.related-posts h3:hover {
  color: var(--link-color);
}
.recommend-posts, .module-Article-item-img {
  transition: 0.6s;
}
.other-recommended-posts-wrapper .recommend-posts figure {
  max-height: 200px;
  overflow: hidden;
}
.module-Article-item-link figure {
  max-height: 280px;
  overflow: hidden;
}
.other-recommended-posts-wrapper .recommend-posts figure img, .module-Article-item-img img {
  width: 100%;
  height: auto;
  filter: grayscale(0.3);
  transition: 0.6s;
}
.other-recommended-posts-wrapper .recommend-posts:hover figure img, 
.module-Article-item:hover .module-Article-item-img img {
  filter: brightness(1.08);
  transform: scale(1.1);
}
.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;
}
.recommend-posts {
  padding: 10px;
  border: 1px solid #e9e9e9;
}

.content-EyeCatch {
  width: 100%;
  height: 100%;
  max-height: 500px;
  overflow: hidden;
}
.content-EyeCatch img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
}
@media (min-width: 810px) {
  .other-recommended-posts-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .recommend-posts h3 {
    min-height: 65px;
  }
}
@media (min-width: 1080px) {
  .other-recommended-posts-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 1100px) {
  .blog-content-wrapper {
    /* width: 960px; */
    margin: 1rem auto 5rem;
  }
  .blog-content-wrapper .sidebar h2 {
    width: 100%;
    margin-top: 0;
  } 
  .blog-content-wrapper .post-categories li {
    display: block;
    margin-bottom: 1rem;
  }
  .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    padding-left: 0;
    padding-right: 0;
  }
  .blog .module-Article-item {
    position: relative;
    padding-bottom: 3rem;
  }
  .blog .module-Article-item-img time {
    position: absolute;
    bottom: 2rem;
    right: 0.5rem;
  }
}

/* =============== Homepage =============== */
.home-hero {
  padding: 100px 0 !important;
}
.subpage-hero {
  height: 600px;
  margin-bottom: 0;
}
.subpage-hero.short-height {
  height: 320px;
}
.home-hero h1, .subpage-hero h1, .privacy-policy h1 {
  /* padding-top: 2rem; */
  /* padding-bottom: 1rem; */
}
.privacy-policy h1 {
  margin-bottom: 2em;
}
.subpage-hero.short-height h1 {
  padding-bottom: 0;
  margin-bottom: 0;
}

.home-hero .wp-block-cover__inner-container h1, .home-hero .wp-block-cover__inner-container p, 
.subpage-hero .wp-block-cover__inner-container h1, .subpage-hero .wp-block-cover__inner-container p,
.privacy-policy h1 {
  color: white !important;
}
.home-hero .wp-block-buttons {
  margin-top: 2rem;
}
.blog-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(https://sosdev.co.uk/addison/wp-content/uploads/2024/05/rear-view-man-standing-by-window.jpg) no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
.blog-hero h1 {
  text-align: center;
  color: #fff;
  z-index: 1;

}
.blog-hero::before {
 content: '';
 position: absolute;
 width: 100%;
 height: 100%;
 background-color: rgba(20, 20, 20, 0.7);
}
.inpage-cta {
  background-color: var(--light-grey);
  padding: 70px 20px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.inpage-cta.cta-no-grey-bg {
  background-color: #fff;
}
.inpage-cta .content {
  max-width: 660px;
  text-align: center;
  padding-bottom: 30px;
  margin: auto;
}
.inpage-cta.inpage-cta-white-bg {
  background-color: #fff;
}

.inpage-cta .wp-block-columns {
  column-gap: 5rem;
}
.inpage-cta .wp-block-buttons, .inpage-cta p, .inpage-cta figure img {
  padding-top: 16px;
  margin-bottom: 0;
}
.inpage-cta .wp-block-buttons {
  padding-top: 26px;
}

.inpage-content-form-wrapper {
  border: 8px dashed #eee ;
  column-gap: 6rem;
  padding: 1.5rem;
}
.inpage-content-form-wrapper h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.wp-block-media-text {
  min-height: 600px;
  background-color: var(--light-grey);
}
.wp-block-media-text__content {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  background-color: var(--light-grey);
}
.wp-block-media-text__content h2 {
  font-weight: 700;
}
.points-on-the-right {
  justify-content: space-between;
  margin-top: 100px;
  margin-bottom: 100px;
}
.grey-bg .points-on-the-right {
  margin-top: 0;
  margin-bottom: 0;
}
.points-on-the-right h2, .flow-container h2 {
  margin-bottom: 2rem;
}
.points-on-the-right h3, .area-role-item h3 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--second-color);
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
  border-top: 0.5px solid #ddd;
}
.wp-block-columns.content {
  justify-content: space-between;
}
.hero-contact-form {
  width: 100%;
 }
 .hero-contact-form > div {
   /* background-color: var(--light-grey);
   padding: 2rem 2rem 0.5rem; */
 }
 .hero-contact-form h2 {
   text-align: center;
 }
 .hero-contact-form p {
   width: 100%;
   font-weight: 0.9rem;
   margin: 1rem auto;
 }
 /* --------------- contact page ---------------- */
 .contact-page-form h2 {
  font-weight: 700;
 }
 .contact-page-form .wpcf7 h2 {
  display: none;
 }
 
.wpcf7 h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.75rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  min-height: 38px;
  color:#000;
  font-family:'Lato', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: 0.5px solid #ccc;
  border-radius: 50px;
  margin-top: 5px;
  padding-left: 8px;
}
.wpcf7 textarea {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  padding-top: 8px;
  padding-left: 8px;
}
.wpcf7 input[type="submit"],
.wpcf7 input[type="button"] { 
  background: linear-gradient(135deg, var(--link-color) 0%, var(--second-color) 100%); 
  color: #fff;
  border: 1px solid transparent;
  border-radius: 50px;
  width:100%;
  min-height: 38px;
  font-family:'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-align:center;
  text-transform:uppercase;
  margin-top: 1rem;
  transition: 1s;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="button"]:hover { 
  background: linear-gradient(270deg, var(--link-color) 0%, var(--third-color) 50%, var(--second-color) 100%);
  background-size: 200% auto;
  background-position: right center;
}
.wpcf7 label {
  font-weight: 500;
}
.wpcf7 label span {
  color: var(--link-color);
}
.wpcf7 label span.required {
  font-size: 1.2rem;
}
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.9rem;
  font-weight: 300;
  margin-top: 0.5rem;
}
 
.services-area {
  height: 516px;
  display: none;/*はじめは非表示*/
  opacity: 0;/*透過0*/
  background: #fafafa;
  border: 1px solid #404040;
  grid-column: 1 / 3 ;
  grid-row: 2 / 4;
  overflow: hidden;
}
.services-area > div {
  height: 100%;
  display: grid;
  /* grid-template-columns: 1fr 2fr; */
  column-gap: 3rem;
}
.services-area h3 {
  font-size: 1.2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.services-area p {
  font-size: 0.9rem;
  padding-right: 2rem;
}
.services-area.is-active {
  display: block;/*表示*/
  animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.services-area figure {
  max-width: 240px;
  /* max-height: 300px; */
  overflow: hidden;
  grid-row: 1 / 4;
  margin-bottom: 0 !important;
  display: none;
}
.services-area .wp-block-buttons {
  grid-column: 2 / 3;
  position: absolute;
  right: 2rem;
  bottom: 2rem;
}
.services-area figure img {
  
}
.service-area-text {
  height: 516px;
  position: relative;
}

.services-mobile-wrapper {
  max-width: 800px;
  margin: 100px auto 100px;
  padding: 0 20px;
}
.service-title {
  position: relative;/*+マークの位置基準とするためrelative指定*/
  background-color: var(--second-color);
  color: #fff;
  transition: all .5s ease;
  padding: 1em;
  margin-top: 1rem;
  
}
.service-title::before,
.service-title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
  }
  .service-title::before {
    top: 29px;
    right: 20px;
    transform: rotate(0deg);
  }
  .service-title::after {
    top: 29px;
    right: 20px;
    transform: rotate(90deg);
  }
  .service-title.close::after {
    display: none;
  }
  .service-box {
    display: none;
    border: 2px solid var(--second-color);
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }
/* =============== page.php =============== */
.square-size {
  width: 100%;
  aspect-ratio: 1;
}
.add-border-keep {
  padding-bottom: 2rem;
  border-bottom: 0.5px solid #ddd;
}
.points-on-the-right .top-double-line {
  border-top: 5px double #aaa;
}
.add-border-keep + p {
  margin-top: 2rem;
}
/* Key message on Domestic Electrical Contractors page */
.content-white-bg, .content-white-bg .wp-block-media-text__content{
  background-color: #fff;
}
.content-white-bg .wp-block-media-text__media {
  border-radius: 16px;
  overflow: hidden;
}
.wp-block-media-text.content-white-bg {
  min-height: 300px;
}
.service-three-col.wp-block-columns {
  align-items: self-start !important;
}
.service-three-col.wp-block-columns .wp-block-column {
  border: 0.5px solid var(--light-grey);
}
.service-three-col.wp-block-columns .wp-block-column p, 
.service-three-col.wp-block-columns .wp-block-column h3 {
  padding-left: 8%;
  padding-right: 8%;
}
.service-three-col.wp-block-columns .wp-block-column h3 {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.service-three-col.wp-block-columns .wp-block-column p:last-of-type {
  text-align: right;
  margin-bottom: 2rem;
}
.about-us-boxes > div {
  background-color: #f6f6f6;
  row-gap: 5rem;
  padding: 5rem 0;
}
.about-us-boxes .wp-block-cover {
  padding: 0 !important;
}
.about-us-boxes > div > .wp-block-columns {
  width: 90%;
  margin: 0 auto 5rem;
}
.about-us-boxes > div > .wp-block-columns:last-of-type {
  margin-bottom: 0;
}

.about-us-family-wrapper > div > .wp-block-columns {
  background-color: var(--light-grey);
  border-radius: 30px;
  margin-bottom: 2rem;
  padding: 2rem 1rem;
}
.about-us-family-wrapper > div > .wp-block-columns > div {
  /* display: flex;
  align-items: center;
  justify-content: center; */
}
.about-us-family-wrapper h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--second-color);
  margin-bottom: 0.5rem;

}

.about-us-family-wrapper .wp-block-image {
  width: 95%;
  max-width: 300px;
  height: auto;
  border-radius: 50%;
  border: 8px solid white;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0 !important;
}
.about-us-family-wrapper p {
  font-size: 0.9rem;
}
.about-us-family-wrapper p.has-huge-font-size {
  font-size: 2rem;
  text-align: center;
}
.testimonials-wrap > div {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.testimonials-box {
  width: 100%;
  background-color: var(--light-grey);
  border-radius: 16px;
  padding: 2rem;
}
.testimonials-box h2 {
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}
.testimonials-box p {
  color: #777;
  font-size: 0.85rem;
}
.page h3 {
  font-weight: 700;
  margin-bottom: 2rem;
}
.content-over-image .wp-block-cover {
  position: relative;
  top: 100px;
  z-index: -1;
}
.content-grey-bg {
  background-color: var(--light-grey);
  padding: 2rem;
}
.wp-block-media-text ul {
  list-style-type: disc;
}
.wp-block-media-text li {
  font-weight: 300;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  padding-left: 0.5rem;
}

li > .wp-block-list > li {
  margin-bottom: 0.5rem;
}
li > .wp-block-list > li:first-of-type {
  margin-top: 0.75rem;
}
.wp-block-media-text ul li::marker {
  color: var(--second-color);
}
li > .wp-block-list > li::marker {
  color: #999;
}
/* =============== archive.php =============== */
.blog-h1-container {
  width: 100%;

}
.blog-h1-container h1 {
  text-align: center;
  font-size: 1.5rem;
  margin: 2rem 0 0;
}
.blog-h1-container h1.content-title {
  text-align: left;
}
.attachment-post-thumbnail:hover {
  transform: scale(1.1);
  transition: 0.5s;
}
.blog .attachment-post-thumbnail:hover {
  transform: scale(1);
}

.module-Article-item-img {
  width: 100%;
  /* max-height: 500px;  */
  overflow: hidden;
  margin-bottom: 2em;
}
.module-Article-item-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  margin: auto;
  max-height: 300px;
  object-fit: cover;
}
.module-Article-item h2{
  text-align: center;
  margin: 2em auto 1em;
}

.module-Article-item p {
  font-size: 0.95em;
  margin-bottom: 1em;
}
.module-Article-item time {
  width: 100%;
  display: block;
  text-align: end;
  font-size: 0.8em;
  font-weight: 300;
  color: #777;
}
.archive time {
  font-size: 0.75em;
  margin-top: 1em;
  display: block;
  text-align: center;
}
.module-Article-excerpt-link:link, .module-Article-excerpt-link:visited {
  color: #272727;
}
.module-Article-excerpt-link:hover {
  color: var(--link-color);
}

.module-Article-excerpt-link p {
  min-height: 150px;
}
.module-Article-item .post-categories li a, .blog-content-wrapper .post-categories li a {
  font-size: 0.75rem;
  font-weight: 300;
  color: #666;
  background-color: #f9f9f9;
  padding: 0.25rem 0.75rem;
  border: 0.75px solid #ddd;
  border-radius: 3px;
}
.blog-content-wrapper .post-categories li a {
  padding: 0.5rem 0.75rem;
}
.blog-index {
  margin-top: 3em;
}
.blog .module-Article-item h2 {
  font-size: 1rem;
  width: fit-content;
}
article + article {
  margin-top: 3em;
  padding-top: 3em;
  border-top: 0.5px solid #ddd;
}
.our-story-content .wp-block-buttons {
  padding-top: 30px;
}
.module-Article-item-link h2 {
  padding-left: 1rem;
  padding-right: 1rem;
}
/* Services Landing page  */
.services-page-content-wrapper .wp-block-column {
  margin-bottom: 2rem;
}
.services-page-content-wrapper figure img {
  width: 100%;
  height: auto;
}
.services-page-content-wrapper h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 1.1rem;
}
.services-page-content-wrapper p {
  font-size: 0.9rem;
  color: #888;
}
.services-page-content-wrapper .wp-block-buttons {
  margin-top: 2rem;
}
.services-page-content-wrapper .wp-block-buttons > .wp-block-button {
  min-width: 200px;
}
.services-page-content-wrapper .gradient4 > a {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.services-page-content-wrapper .wp-block-button__link {
  font-size: 1.05rem;
}
.project-hero h1 {
  max-width: 600px;
  font-size: 2rem;
  font-weight: 700;
  margin: auto;
}
.project-hero h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--second-color);
  text-shadow: 0 0 9px #fff;
}
@media (min-width: 782px) {
  .services-page-content-wrapper h2 {
    min-height: 50px;
  }
  .services-page-content-wrapper .wp-block-column {
    position: relative;
    padding-bottom: 6rem;
  }
  .services-page-content-wrapper .wp-block-buttons {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
  }
  .inpage-content-form-wrapper {
    column-gap: 2rem;
  }
  .div.wpcf7 { 
  
  }
  .contact-page-form .hero-contact-form {
    background-color: #eee;
    border-radius: 26px;
    padding: 3rem;
  }
  .contact-page-form {
    column-gap: 3rem;
  }
}
@media (min-width: 1250px) {
  .contact-page-form {
    column-gap: 6rem;
  }
  .services-page-content-wrapper h2 {
    min-height: 30px;
  }
  .footer-menu-desktop {
    display: flex;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 50px;
    padding-bottom: 50px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ccc;
  }
  .footer-desktop-contact-details {
    border-right: 1px solid #ccc;
  }
  .footer-desktop-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
  .footer-desktop-links > div {
    min-width: 170px;
  }

  .footer-menu-mobile {
    display: none;
  }
  

  /* social media links for mobile viewport */
  #block-9 {
    display: none;
  }
  /* social media links for desktop viewport */
  #block-10 {
    display: block;
  }
  .wp-block-social-links {
    margin-top: 0.75rem;
    justify-content: left;
  }
    
  .blog-index {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
  }
  .module-Article-item:first-of-type {
    margin-top: 4em;
  }
  .module-Article-item {
    width: 45%;
    box-shadow: 3px 3px 16px #ddd;
    margin: 4em auto;
    padding: 0;
    transition: 0.6s;
    /* padding-bottom: 3em; */
  }
  .module-Article-item:hover {
    box-shadow: 3px 3px 36px #ccc;
  }
  .module-Article-item::before, .module-Article-item::after {
    display: none;
  }
  .module-Article-item-link h2 {
    min-height: 60px;
  }
  .blog .module-Article-item p, .blog .module-Article-item time {
    padding: 0 1rem;
  }
  .pagination {
    width: 100%;
  }
  .home-latest-post .module-Article-item h2, .home-latest-post .module-Article-item p, .home-latest-post .module-Article-item time {
    padding-left: 30px;
    padding-right: 30px;
  }
  .home-latest-post .module-Article-item-img {
    height: 300px;
  }
  .home-latest-post .module-Article-item-img img {
    object-position: 50% 50%;
    object-fit: cover;
    min-height: 300px;
  }
  article + article {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  .flexbox-reverse {
    flex-direction: row;
  }
  .project-hero h1 {
    max-width: 860px;
    font-size: 2.75rem;
  }
  .inpage-content-form-wrapper {
    column-gap: 6rem;
    padding: 4rem 4rem 3rem 4rem;
  }
}
.privacy-policy article h2 {
  
  margin-top: 3em;
}
.policy-page-content ol {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 0;
  color: var(--second-color);

}
/* ===========================================
  Media Query
============================================== */
@media (min-width: 782px) {
  h2 {
    font-size: 2rem;
  }
  .about-us-family-wrapper h2, .about-us-family-wrapper p.has-huge-font-size {
    text-align: left;
  }
  .two-column-text-image {
    margin: 0 1rem;
  }
  .two-column-text-image p {
    padding: 0;
  }
  .flexbox-reverse {
    flex-direction: row;
  }
  .image-with-text {
    width: calc(50% - 0.5px);
    /* max-width: 330px; */
  }
  .home-latest-post {
    width: 48%;
    /* max-width: 330px; */
  }
  .points-on-the-right h3:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
  }
  .point-with-icon {
    width: calc(100% / 2 - 1rem);
  }
  .service-three-col.wp-block-columns .wp-block-column {
    min-height: 670px;
    position: relative;
  }
  .service-three-col.wp-block-columns .wp-block-column p:last-of-type {
    position: absolute;
    right: 0;
    bottom: 2rem;
    margin-bottom: 0;
  }
  .about-us-family-wrapper > div > .wp-block-columns {
    padding: 2rem;
  }
  .testimonials-box {
    width: calc(100% / 2 - 1rem);
    padding: 3rem;
  }
  .testimonials-box h2 {
    min-height: 50px;
  }
  .content-grey-bg {
    padding: 3rem;
  }
  
}
@media (min-width: 1000px) {
  .home-latest-post {
    width: 30%;
    /* max-width: 330px; */
  }
  .about-us-family-wrapper > div > .wp-block-columns {
    column-gap: 4rem;
    padding: 3rem 4rem;
  }
  .about-us-family-wrapper > div > .wp-block-columns:nth-of-type(even) {
    flex-direction: row-reverse;
  }
}
@media (min-width: 1250px) {
  .flexbox-wrapper > div {
    justify-content: space-between;
  }
  header {
    border-bottom: 0.5px solid #bbb;
  }
  .header-content {
    /* border-bottom: 0.75px solid #ccc; */
    width: 1200px;
    display: flex;
    margin: 0 auto;
  }
  
  .header-Nav-desktop > li {
    min-width: 120px;
    padding: 35px 22px;
  }
  .header-Nav-desktop > .menu-item-has-children {
    width: 140px;
    padding-left: 0;
    padding-right: 0;
  }

  /* brand logo */
  a.header-SiteName-Link {
    width: 220px;
    margin: 1.5em auto;
    margin-right: 14rem;
  }
  .hamberger-menu {
    display: none;
  }
  nav.main-menu-desktop {
    display: block;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    /* box-shadow: 0 0 5px #ddd; */
    /* position: relative; */
  }
  .main-menu-desktop .menu-main-menu-container {
    display: flex;
    height: 98px;
    align-items: center;
  }
  ul.header-Nav-desktop {
    /* width: 1080px; */
    display: flex;
    /* position: relative; */
    margin: auto;
  }
  .header-Nav-desktop .navbar-contactus {
    padding: 29.5px 0 29.5px 1rem;
    padding-right: 0;
  }
  .header-Nav-desktop .navbar-contactus a {
    width: 120px;
    min-width: 120px;
    text-decoration: none;
    border-radius: 50px;
    background: var(--link-color);
    background: linear-gradient(135deg, var(--link-color) 0%, var(--second-color) 100%); 
    color: white;
    padding: 0.45rem 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;
    box-shadow: 0 5px 10px rgb(250,108,159,0.4);
  }
  nav a:link, nav a:visited {
    /* color: #272727; */
    /* border-bottom: 3px solid rgba(255, 255, 255, 0); */
  }
  li.menu-first-level > a {
    /* position: relative; */
    /* padding: 1rem 0; */
  }
  .header-Nav-desktop > .menu-item {
    /* position: relative; */
  }
  .header-Nav-desktop > .menu-item-has-children > .sub-menu {
    display: flex;
    justify-content: space-between;
    column-gap: 2%;
  }
  .header-Nav-desktop > .menu-item > a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    position: relative;
  }
  .header-Nav-desktop .navbar-contactus a {
    height: 39px;
  }
  .header-Nav-desktop  > .menu-item-has-children > ul.sub-menu {
    width: 100%;
    position: absolute;
    left: 0;
    top: 133px;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    background-color: #fafafa;
    border-top: 1px solid #fff;
    padding: 3rem 5%;
  }
  .header-Nav-desktop  ul.sub-menu .pointer {
    /* width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap; */
  }
  .menu-what-we-do .pointer li {
    /* width: calc(99% / 6);
    font-weight: 300;
    font-size: 0.8rem; */
  }
  .desktop-nav-img {
    width: calc(99% / 6);
    height: auto;
    aspect-ratio: 1;
    background-color: #fff;
    border: 0.5px solid #ddd;
    padding-bottom: 1rem;
    transition: 0.5s;
  }
  .desktop-nav-img img {
    width: 100%;
    height: auto;
  }

  .desktop-nav-img > .sub-menu {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
    margin-top: 0.75rem;
  }
  .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://sosdev.co.uk/addison/wp-content/themes/soscreativitytheme-ae/assets/img/drop-down-arrow.svg);
    fill: var(--third-color);
    width: 12px;
    height: auto;
    position: absolute;
    right: 16px;
    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; */
    /* font-size: 0.85rem; */
    /* font-weight: 300; */
  }
  .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 > ul li {
    margin: 0 auto;
  }
  .menu-item-has-children ul a{
    /* float: none;
    visibility: hidden;
    opacity: 0;
    transition: .5s;
    min-height: 50px; */
  } 
  .menu-item-has-children ul a::before {
    content: '';
  }

  .header-Nav-desktop > li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
  }

  /* =================================================================== */
  .home-hero .wp-block-cover__inner-container, .subpage-hero .wp-block-cover__inner-container {
    width: 1200px !important;
    margin: auto;
  }
  .home-hero p, .subpage-hero p {
    /* text-align: center; */
  }
  .subpage-hero p {
    /* max-width: 680px !important; */
    line-height: 2.5;
  }
  .home-hero .wp-block-buttons {
    /* width: 720px; */
    /* margin: auto; */
    justify-content: start;
    gap: 2rem;
    margin-top: 2rem;
  }
  .flexbox-wrapper > div {
    display: flex;
    margin: auto;
  }
  .what-we-do-item {
    width: 30%;
  }
  .what-we-do-item + .what-we-do-item {
  margin-top: 0;
}
.inpage-cta {
  padding: 70px 0px 45px;
}
.footer-Widgets .wp-block-columns {
  /* padding: 0 100px; */
}
.footer-Nav-items {
  display: flex;
  justify-content: center;
}
.footer-Nav-items .menu-item a {
  padding-top: 0;
  padding-bottom: 0;
}
.footer-Nav-items > li+li {
  border-left: 1px solid white;
}
.copyright {
  text-align: center;
}

  .subpage-greeting {
    padding: 4em 6em 2em;
  }
  .single article, .single article h2 {
    width: 1200px;
  }
  .single article figure {
    width: fit-content;
    max-width: 100%;
    height: 550px;
    margin: 1em auto;
    overflow: hidden;
  }
  .single article .recommend-posts figure {
    margin-top: 0;
  }
  .single article figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .google-reviews {
    width: 120px;
    bottom: 63px;
    right: 32px;
  }
  .footer-menu-desktop {
    padding-left: 0;
    padding-right: 0;
  }
  .image-with-text {
    width: calc(100% / 2 - 1px);
    background-color: var(--light-grey);
    margin-bottom: 1.5px;
  }
  .home-latest-post {
    width: 30%;
    /* max-width: 330px; */
  }
  .image-with-text-container p {
    padding: 0 3rem;
  }
  .two-column-text-image {
    margin: auto;
  }
  .two-column-text-image p:last-of-type {
    margin-bottom: 0;
  }
  .two-column-text-image .column-text {
    align-self: center;
  }
  .inpage-brand-cta > div {
    display: flex;
  }
  .inpage-brand-cta figure {
    margin-right: 3rem;
  }
  .inpage-brand-cta p {
    margin-top: 0;
    padding: 0 2rem 0 4rem;
  }
  .inpage-brand-cta .single-button {
    width: 300px;
    padding-top: 0;
  }
  .home-latest-post h3 {
    min-height: 102px;
  }
  a.header-SiteName-Link img {
    margin-left: 0;
}
.points-on-the-right h2 {
  font-size: 2rem !important;
  text-align: left;
}

.points-on-the-right h3.add-border-top-keep{
  border-top: 0.5px solid #ddd;
  padding-top: 2rem;
  margin-top: 2rem;
}
.add-border {
  padding-bottom: 0;
  border-bottom: none;
}
.add-border-top {
  border-top: 0.5px solid #ddd;
  padding-top: 2rem;
  margin-top: 0;
}
.image-with-text-container {
  display: block;
}
.services-mobile-wrapper {
  display: none;
}
.image-with-text-container {
  /* display: none; */
}
.point-with-icon {
  width: calc(100% / 4 - 1rem);
}
.blog-h1-container h1 {
  font-size: 2rem;
  
}
.blog-h1-container h1.content-title {
  margin-bottom: 4rem;
}
.testimonials-box {
  width: calc(100% / 3 - 1.5rem);
}
.content-grey-bg {
  padding: 4rem 6rem;
  top: -100px;
}
}
@media (min-width: 1440px) {
  .image-with-text {
    width: calc(100% / 3 - 1px);
  }
}
/* ============ */