/*
Theme Name: CBCC26
Theme URI: https://www.designweb.co.uk/
Author: John Fotios
Author URI: https://www.designweb.co.uk/
Description: 
Version: 1
License: GNU General Public License v2 or later
License URI: https://www.designweb.co.uk/
Tags: 
Text Domain: startertheme
*/

/* =Settings
-------------------------------------------------------------- */
:root {
}

.sr-only {
  display: none;
}

.skip-to-content {
  position: absolute;
  top: -60px;
  left: 10px;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 300;
  text-decoration: none;
  border-radius: 4px;
}

.skip-to-content:focus {
  top: 10px;
}

/*
:focus {
  outline: 2px solid #005fcc;
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 3px;
}

button:focus,
button:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 3px;
}
*/

main.site-main {
}

/* =Fonts
-------------------------------------------------------------- */

/* =Globals
-------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  text-wrap: pretty;
}

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

.text-center {
  text-align: center;
}

/* =Media queries
--------------------------------------------------------------- */
@media (max-width: 1249px) {
}

@media (max-width: 789px) {
}

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

header.site-header {
  position: sticky;
  top: -200px;
  background-color: rgba(255, 255, 255, 1);
  width: 100%;
  z-index: 250;
  transition: all 0.55s ease;
}

header.site-header.fixed,
header.site-header.active {
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

header.site-header .alignwide {
  position: relative; /* for megamenu pos */
  display: flex;
  align-items: center;
  max-width: 90% !important;
  height: clamp(80px, 6.25vw, 120px);
}

header.site-header .alignwide .site-logo {
  display: block;
}

header.site-header .alignwide .site-logo img {
  display: block;
  height: clamp(50px, 4.167vw, 80px);
  width: auto;
}

header.site-header .alignwide .site-navigation {
  margin-left: auto;
}

@media screen and (min-width: 1149.2px) {
  header.site-header .alignwide .site-navigation .site-nav {
  }

  header.site-header .alignwide .site-navigation .site-nav > ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
  }

  .site-nav > ul > li {
    display: flex;
    align-items: center;
  }

  .site-nav > ul > li:not(.has-megamenu) {
    position: relative;
  }

  .site-nav > ul > li > a {
    display: block;
    font-size: clamp(14px, 0.833vw, 16px);
    line-height: clamp(40px, 3.125vw, 60px);
    height: clamp(40px, 3.125vw, 60px);
    padding: 0 clamp(5px, 0.781vw, 15px);
    text-decoration: none;
    text-transform: uppercase;
    color: #083d77;
    font-weight: 600;
  }

  .site-nav > ul > li:not(:last-child):hover > a {
    text-decoration: underline;
  }

  .site-nav > ul > li:last-child {
    margin-left: clamp(15px, 2.604vw, 50px);
  }

  .site-nav > ul > li:last-child > a {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.042vw, 20px);
    color: #fff;
    background-color: var(--wp--preset--color--gold);
    box-sizing: border-box;
    padding-right: clamp(20px, 1.563vw, 30px) !important;
    padding-left: clamp(20px, 1.563vw, 30px) !important;
    transition: all 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86);
  }

  .site-nav > ul > li:last-child:hover > a {
    transform: scale(1.05);
  }

  /* Add a small down arrow after parent menu items with children */
  .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px; /* spacing from text */
    vertical-align: middle;
    border-left: clamp(2.5px, 0.26vw, 5px) solid transparent;
    border-right: clamp(2.5px, 0.26vw, 5px) solid transparent;
    border-top: clamp(2.5px, 0.26vw, 5px) solid #083d77; /* arrow color */
    transition: transform 0.3s ease;
  }

  /* Rotate arrow on hover to indicate submenu */
  .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
  }

  .site-nav > ul > li > ul:not(.megamenu) {
    list-style-type: none;
    position: absolute;
    top: clamp(40px, 3.125vw, 60px);
    left: 0;
    transform: translateY(-5px);
    width: 400px;
    box-sizing: border-box;
    margin: 0;
    padding: 30px clamp(5px, 0.781vw, 15px) !important;
    border-radius: clamp(10px, 1.563vw, 30px);
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  .site-nav > ul > li:hover > ul:not(.megamenu),
  .site-nav > ul > li:focus-within > ul:not(.megamenu) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav > ul > li > ul:not(.megamenu) > li > a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(14px, 0.833vw, 16px);
    font-weight: 600;
    padding: 5px;
  }

  .site-nav > ul > li > ul:not(.megamenu) > li > a:hover {
    text-decoration: underline;
  }

  #menu {
    display: none;
  }
}

@media screen and (max-width: 1149px) {
  #menu {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    box-sizing: border-box;
    z-index: 50;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  #menu strong {
    display: none;
  }

  #menu .int {
    position: relative;
    width: 18px;
    height: 12px;
  }

  #menu span:first-child {
    top: 0;
  }

  #menu span:nth-child(2) {
    top: calc(50% - 1px);
  }

  #menu span:nth-child(3) {
    top: calc(100% - 2px);
  }

  #menu span {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 100px;
    background: #222;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }

  header.site-header #menu.active span {
    background: #222;
  }

  #menu.active span:first-child {
    top: 50%;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #menu.active span:nth-child(2) {
    opacity: 0;
  }

  #menu.active span:nth-child(3) {
    top: 50%;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .site-navigation {
    position: fixed;
    top: -100vh;
    left: 0;
    opacity: 0;
    visibility: hidden;
    width: 100vw;
    height: calc((100vh - clamp(80px, 6.25vw, 120px)));
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 1);
    transition: all 0.5s ease;
  }

  .site-navigation.active {
    top: clamp(80px, 6.25vw, 120px);
    opacity: 1;
    visibility: visible;
  }

  .site-navigation > .site-nav > ul {
    list-style-type: none;
    padding: 40px 5% 100px;
    margin: 0;
  }

  .site-navigation > .site-nav > ul > li {
    position: relative;
    margin-bottom: 5px;
  }

  .site-navigation > .site-nav > ul > li > a {
    display: block;
    color: var(--wp--preset--color--blue);
    padding: 5px 0;
    font-size: 20px;
    text-decoration: none;
  }

  .site-navigation > .site-nav > ul > li > span.down-arrow {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    background-color: var(--wp--preset--color--blue);
    border-radius: 5px;
  }

  .site-navigation > .site-nav > ul > li > span.down-arrow::after {
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    background-image: url(assets/images/arrow-down.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
  }

  .site-navigation > .site-nav > ul > li > span.down-arrow.active::after {
    transform: rotate(180deg);
  }

  .site-navigation > .site-nav > ul > li > ul {
    list-style-type: none;
    padding: 15px;
    margin: 0;
    display: none;
  }

  .site-navigation > .site-nav > ul > li > ul > li {
    font-size: 18px;
  }

  .site-navigation > .site-nav > ul > li > ul > li > a {
    display: block;
    padding: 2.5px 0;
    text-decoration: none;
  }

  .site-navigation > .site-nav > ul > li.active > ul {
  }
}

/* =Misc
-------------------------------------------------------------- */

ul.buttons {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  margin: clamp(30px, 3.125vw, 60px) 0;
  display: flex;
  gap: clamp(10px, 1.042vw, 20px);
}

ul.buttons:last-child {
  margin-bottom: 0;
}

ul.buttons > li {
  transition: all 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86);
}

ul.buttons > li > a {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.042vw, 20px);
  color: #fff;
  background-color: var(--wp--preset--color--blue);
  border-radius: 0;
  box-sizing: border-box;
  padding-right: clamp(20px, 1.563vw, 30px);
  padding-left: clamp(20px, 1.563vw, 30px);
  font-size: 16px;
  font-weight: 600;
  line-height: clamp(40px, 3.125vw, 60px);
  height: clamp(40px, 3.125vw, 60px);
  text-transform: uppercase;
  text-decoration: none;
}

ul.buttons > li.alt > a {
  border: 1px solid transparent;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(30px);
  color: #001837;
}

ul.buttons > li.has-arrow > a::after {
  content: "";
  display: block;
  width: clamp(8px, 0.625vw, 12px);
  height: clamp(8px, 0.625vw, 12px);
  background-image: url(assets/images/button-arrow.svg);
  background-position: center center;
  background-size: contain;
}

ul.buttons > li.alt.has-arrow > a::after {
  background-image: url(assets/images/button-arrow-alt.svg);
}

ul.buttons > li:hover {
  transform: scale(1.05);
}

button {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.042vw, 20px);
  color: #fff;
  background-color: var(--wp--preset--color--blue);
  border-radius: 0;
  box-sizing: border-box;
  padding-right: clamp(20px, 1.563vw, 30px);
  padding-left: clamp(20px, 1.563vw, 30px);
  font-size: 16px;
  font-weight: 600;
  line-height: clamp(40px, 3.125vw, 60px);
  height: clamp(40px, 3.125vw, 60px);
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86);
}

button:hover {
  transform: scale(1.05);
}

.select-wrapper {
  position: relative;
  display: inline-block;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 0;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: max(15px, 1.563vw);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;

  border-left: max(10px, 0.521vw) solid transparent;
  border-right: max(10px, 0.521vw) solid transparent;
  border-top: max(10px, 0.521vw) solid #6d7275; /* color + direction */
  pointer-events: none;
}

/* =Slick Slider
-------------------------------------------------------------- */

.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}

.slick-dots {
  position: initial !important;
  display: flex !important;
  text-align: left !important;
}

.slick-dots li {
  position: relative;
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  margin: 0 5px 0 0 !important;
  padding: 0 !important;
  cursor: pointer;
  background-color: #fff;
  border-radius: 100px;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.slick-dots li.slick-active {
  opacity: 1;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slick-dots li button::before {
  display: none;
}

/* =wpforms
-------------------------------------------------------------- */

.wpforms-container {
  margin: 0;
}

/* =DW Reveal (scroll animation)
-------------------------------------------------------------- */

[data-dw-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

[data-dw-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =Modal
--------------------------------------------------------------- */

.dwmodal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 500;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease;
}

.dwmodal div.wpforms-container-full,
.dwmodal div.wpforms-container-full .wpforms-form * {
  visibility: hidden !important;
  pointer-events: none;
}

.dwmodal.open {
  visibility: visible;
  opacity: 1;
}

.dwmodal.open div.wpforms-container-full,
.dwmodal.open div.wpforms-container-full .wpforms-form * {
  visibility: visible !important;
  pointer-events: all;
}

.dwmodal .dwmodal-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.dwmodal .dwmodal-inner .the-modal {
  position: relative;
  max-height: 90vh;
  width: 90%;
  max-width: 1300px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: #001837;
  border-radius: clamp(15px, 1.563vw, 30px);
  transform: scale(1.2);
  transition: all 0.5s ease;
}

.dwmodal.open .dwmodal-inner .the-modal {
  transform: scale(1);
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.16);
}

.dwmodal .dwmodal-inner .the-modal .heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 110px;
  padding: 0 30px;
  background-color: #001837;
}

.dwmodal .dwmodal-inner .the-modal .heading h4 {
  position: relative;
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  color: #fff;
}

.dwmodal .dwmodal-inner .the-modal .heading p.phone {
  position: relative;
  margin: 0;
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 600;
}

.dwmodal .dwmodal-inner .the-modal .heading p.phone a {
  display: flex;
  gap: 10px;
  color: var(--wp--preset--color--blue);
  text-decoration: none;
}

.dwmodal .dwmodal-inner .the-modal .heading p.phone a img {
  display: block;
  top: 0;
}

.dwmodal .dwmodal-inner .the-modal .heading .close {
  margin: 0;
  padding: 0;
  text-decoration: none;
  padding: 5px 10px;
  color: #193150;
  font-size: 20px;
  position: absolute;
  right: 20px;
  top: 0;
}

.dwmodal .dwmodal-inner .the-modal .contents {
  padding: 30px 30px 50px;
}

@media screen and (max-width: 789px) {
  .dwmodal .dwmodal-inner .the-modal .heading h4 {
    font-size: 24px;
  }

  .dwmodal .dwmodal-inner .the-modal .heading p.phone {
    display: none;
  }

  .dwmodal .dwmodal-inner .the-modal .contents {
    padding: 20px 20px 30px;
  }
}

/* =Homepage Hero
-------------------------------------------------------------- */

.dw-block.homepage-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  background-color: var(--wp--preset--color--dark-grey-text);
  background-image: url(/wp-content/uploads/2026/07/cbcc-hero.jpg);
  background-position: center center;
  background-size: cover;
  aspect-ratio: 1920 / 720;
}

.dw-block.homepage-hero * {
  color: #fff;
}

.dw-block.homepage-hero::before {
  display: block;
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
}

.dw-block.homepage-hero .alignwide {
  position: relative;
  z-index: 10;
}

.dw-block.homepage-hero .alignwide .int {
  margin-top: clamp(40px, 4.167vw, 80px);
  margin-bottom: clamp(40px, 4.167vw, 80px);
}

.dw-block.homepage-hero .alignwide .int h1 + p {
  font-size: clamp(16px, 1.25vw, 24px);
}

/* =Page Hero
-------------------------------------------------------------- */

.dw-block.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  background-color: var(--wp--preset--color--dark-grey-text);
  background-image: url(/wp-content/uploads/2026/07/cbcc-hero.jpg);
  background-position: center center;
  background-size: cover;
  aspect-ratio: 1920 / 450;
  margin-bottom: clamp(40px, 2.604vw, 50px);
}

.dw-block.page-hero * {
  color: #fff;
}

.dw-block.page-hero::before {
  display: block;
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
}

.dw-block.page-hero .alignwide {
  position: relative;
  z-index: 10;
}

.dw-block.page-hero .alignwide .int {
  margin-top: clamp(40px, 4.167vw, 80px);
  margin-bottom: clamp(40px, 4.167vw, 80px);
}

.dw-block.page-hero .alignwide .int h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

.dw-block.page-hero .alignwide .int h1 + p {
  font-size: clamp(16px, 1.25vw, 24px);
  max-width: min(70%, 560px);
}

/* =Homepage Swiper (example slider)
-------------------------------------------------------------- */

.homepage-slider {
  overflow: hidden;
  padding: 4rem 0;
}

/* The aligned content area */
.hero-swiper.alignwide {
  position: relative;

  overflow: visible !important;
}

/* allow slides outside container */
.hero-swiper .swiper-wrapper {
  overflow: visible;
}

.hero-swiper .swiper-slide {
  height: auto;
}

/* Card styling */
.slide-inner {
  background: #111;
  color: #fff;

  border-radius: 24px;

  padding: 3rem;

  min-height: 320px;
}

/* =Blog Posts
-------------------------------------------------------------- */

.blog-posts {
  margin-top: clamp(40px, 2.604vw, 50px);
  margin-bottom: clamp(40px, 2.604vw, 50px);
}

nav.navigation.pagination {
  margin-top: clamp(40px, 2.604vw, 50px);
  margin-bottom: clamp(40px, 2.604vw, 50px);
}

.blog-posts .item:not(:last-child) {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.blog-posts .item .date {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-posts .item img {
  display: block;
  width: 18px;
  height: auto;
}

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

footer {
  background-color: #083d77;
  padding: 50px 0 100px;
}

footer p,
footer li,
footer a {
  color: #fff !important;
}

footer a {
  text-decoration: none;
}

footer .alignwide {
}

footer .alignwide .cols {
  display: flex;
}

footer .alignwide .cols .col {
}

footer .alignwide .cols .col p.title {
  margin-top: 0;
  margin-bottom: clamp(10px, 1.042vw, 20px);
  font-weight: 600;
  text-transform: uppercase;
}

footer .alignwide .cols .col:first-child {
  margin-right: 120px;
}

footer .alignwide .cols .col:nth-child(2) {
  margin-right: 70px;
}

footer .alignwide .cols .col:nth-child(3) {
  max-width: 230px;
}

footer .alignwide .cols .col:nth-child(4) {
  margin-left: auto;
}

footer .alignwide .cols .col a.footer-logo {
  display: block;
  margin-bottom: 40px;
  width: 100%;
  height: auto;
}

footer .alignwide .cols .col a.footer-logo img {
  display: block;
}

footer .alignwide .cols .col ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

footer .alignwide .cols .col ul.socials {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

footer .alignwide .cols .col ul.socials li {
  transition: all 0.5s ease;
}

footer .sponsors-logos {
  width: 300px;
  max-width: 100%;
  height: 120px;
  background-color: #fff;
}

footer .alignwide .disclaimer {
  padding-top: 40px;
  margin-top: 120px;
  border-top: 1px solid #6b7ea2;
}

footer .alignwide .disclaimer p {
  text-align: center;
  font-size: clamp(14px, 0.833vw, 16px);
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 789px) {
  footer .alignwide .cols {
    flex-wrap: wrap;
  }
  footer .alignwide .cols .col a.footer-logo img {
    max-width: 50%;
  }
  footer .alignwide .cols .col:not(:first-child) {
    width: 100%;
    margin-top: 30px;
  }
}

/* =Entry Content
-------------------------------------------------------------- */
section.entry-content {
  max-width: 100vw;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.home section.entry-content {
  margin-top: 0;
  margin-bottom: 0;
}

section.entry-content strong {
  font-weight: 600 !important;
}

.entry-content
  > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(
    .wp-block-separator
  ),
[class*="inner-container"]
  > :not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(
    .alignright
  ):not(.wp-block-separator),
.default-max-width,
.alignnone {
  width: 90%;
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
}

.alignwide:not(.alignwide .alignwide) {
  width: 90%;
  max-width: var(--wp--style--global--wide-size);
  margin-left: auto;
  margin-right: auto;
}

.entry-content iframe {
  display: block;
  height: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 60px;
  margin-bottom: 60px;
  pointer-events: auto;
}

@media screen and (max-width: 1919.2px) {
}

/*
.entry-content>p {
  margin-top: 20px;
  margin-bottom: 20px;
}
.entry-content>*:not(p) {
  margin-top: 20px;
  margin-bottom: 20px;
}
*/

.entry-content *.margin-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

figure:not(.wp-block-gallery) .wp-block-image,
.wp-block-gallery {
  margin-bottom: 60px !important;
  margin-top: 60px !important;
}

.wp-block-image:not(.wp-block-gallery .wp-block-image):not(
    .lightbox-image-container .wp-block-image
  ):not(:first-child),
.entry-content > .wp-block-gallery {
  margin-bottom: 60px !important;
  margin-top: 60px !important;
}

.wp-block-spacer {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.wp-lightbox-overlay .wp-block-image {
  justify-content: initial !important;
}

/*
.entry-content > .wp-block-buttons {
  margin-top: 40px;
  margin-bottom: 40px;
}
*/

.wp-element-button,
.wpforms-submit {
  transition: all 0.5s cubic-bezier(0.79, 0.14, 0.15, 0.86);
}

.wp-element-button:hover,
.wpforms-submit:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 789px) {
  .wp-block-spacer {
    height: 20px !important;
  }

  figure:not(.wp-block-gallery) .wp-block-image,
  .wp-block-gallery {
    margin-bottom: 30px !important;
    margin-top: 30px !important;
  }

  .wp-block-image:not(.wp-block-gallery .wp-block-image):not(
      .lightbox-image-container .wp-block-image
    ):not(:first-child),
  .entry-content > .wp-block-gallery {
    margin-bottom: 30px !important;
    margin-top: 30px !important;
  }

  ul.wp-block-list {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  ul.wp-block-list li {
    font-size: 18px;
  }
}
