/*
Theme Name: iBUILDiT Child
Theme URI: https://iplanit.ie
Description: Child theme for iBUILDiT
Author: iPLANiT Ltd.
Author URI: https://iplanit.ie
Template: iBUILDiT
Version: 1.0.0
Text Domain: ibuildit-child
*/

.site-header{
  padding: 8px 24px;
}
.site-logo img{
    width: auto !important;
    height: 45px !important;
}

body,
.page{
  max-width: 100vw;
  overflow-x: hidden;
}

.screen-reader-text{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus{
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2000;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  background: #fff;
  color: #111738;
  clip: auto;
  clip-path: none;
  overflow: visible;
}



/*Menu*/

.menu-toggle{
  padding: 8px 0 8px 14px;
}

.main-menu {
  display: flex;
  gap: 34px;
  align-items: center;
  margin: 0;
}

.menu-item {
  position: relative;
}

.menu-link {
  color: #1d244f;
  text-decoration: none;
  font-weight: 600;
  display: block;
}

.main-menu > .menu-item > .menu-link {
  padding: 20px 0;
  font-size: 18px;
}

.main-menu > .menu-item {
    position: relative;
    overflow: hidden;
}

.main-menu > .menu-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: .6rem;
    background: #5957ff;

    transform: translateY(100%);
    transition: transform .2s ease;
}

.main-menu > .menu-item:hover::after,
.main-menu > .menu-item:focus-within::after {
    transform: translateY(0);
}

.mega-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 48px 76px 70px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.2s ease;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}


.mega-menu .menu-item{
  padding: 10px !important;
  transition: all .2s linear;
}

.mega-menu .menu-item:hover{
  background: var(--ib-secondary);
}

.menu-item:hover > .mega-menu,
.menu-item:focus-within > .mega-menu,
.menu-item.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.menu-scroll-closed .menu-item:hover > .mega-menu,
body.menu-scroll-closed .menu-item:focus-within > .mega-menu,
body.menu-scroll-closed .menu-item.is-open > .mega-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.menu-link:focus-visible,
.menu-toggle:focus-visible,
.menu-close:focus-visible{
  outline: 3px solid #5957ff;
  outline-offset: 4px;
}

.mega-menu__inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 80px;
}

.mega-menu__inner > .menu-item {
  border-top: 4px solid #1d244f;
  padding-top: 42px;
}

.mega-menu__inner > .menu-item:first-child,
.mega-menu__inner > .menu-item:nth-child(2) {
  border-top: 0;
  padding-top: 0;
}

.mega-menu__inner > .menu-item.mega-item--featured {
  background: #80e2dc;
  border: 2px solid #1d244f;
  border-radius: 10px;
  padding: 28px 40px;
}

.mega-menu__inner .menu-title {
  display: block;
  font-size: 30px;
  margin-bottom: 24px;
}

.menu-description {
  display: block;
  color: #4d5560;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
}

.header-button{
  padding: 10px 20px;
  background: var(--ib-secondary);
  color: var(--ib-text);
  border-radius: 8px;
  transition: all .2s linear;
  font-weight: 600;
  border: 1px solid var(--ib-text);
  text-decoration: none;
}
.header-button:hover{
  background: var(--ib-primary);
  color: #fff;
}

.header-button.login-button{
  background: #5B5EFF;
  color: #fff;
}
.header-button.login-button:hover{
  background: #FB614A;
  color: #110035;
}
.mobile-menu-buttons a{
  display: block;
  margin: 10px 0;
}

.desktop-header-actions{
  display: flex;
  align-items: center;
  gap: 14px;
}

.desktop-search{
  position: relative;
}

.desktop-search-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #25274f;
  cursor: pointer;
}

.desktop-search-label{
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-search-toggle:hover,
.desktop-search-toggle[aria-expanded="true"]{
  background: transparent;
  color: var(--ib-primary);
}

.desktop-search-toggle:focus-visible,
.desktop-search-submit:focus-visible,
.desktop-search-field:focus-visible{
  outline: 3px solid #5957ff;
  outline-offset: 3px;
}

.desktop-search-icon{
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.desktop-search-panel{
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 1100;
  width: min(30rem, calc(100vw - 2rem));
  padding: 14px;
  background: #fff;
  border: 2px solid #111738;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(17, 23, 56, .2);
}

.desktop-search-panel[hidden]{
  display: none;
}

.desktop-search-form{
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.desktop-search-field{
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #111738;
  border-radius: 6px;
  color: #111738;
  background: #fff;
  font: inherit;
}

.desktop-search-submit{
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid #111738;
  border-radius: 6px;
  background: #111738;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Simply Static Fuse.js search controls */
.desktop-search-panel .ssp-search {
  width: 100%;
  color: #111738;
}

.desktop-search-panel .ssp-search .search-form,
.desktop-search-panel .ssp-search .form-row {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

.desktop-search-panel .ssp-search .search-input-container {
  flex: 1 1 auto;
  min-width: 0;
}

.desktop-search-panel .ssp-search .search-input {
  width: 100%;
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid #111738;
  border-radius: 6px;
  background: #fff;
  color: #111738;
  font: inherit;
  box-sizing: border-box;
}

.desktop-search-panel .ssp-search .search-submit {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #111738;
  border-radius: 6px;
  background: #111738;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.desktop-search-panel .ssp-search .search-submit:hover,
.desktop-search-panel .ssp-search .search-submit:focus-visible {
  background: #5b5eff;
}

.desktop-search-panel .ssp-search .search-input:focus-visible,
.desktop-search-panel .ssp-search .search-submit:focus-visible {
  outline: 3px solid #5957ff;
  outline-offset: 3px;
}

.desktop-search-panel .ssp-search .result {
  margin-top: 12px;
  color: #111738;
}

.desktop-search-panel .ssp-search .ssp-results {
  max-height: 22rem;
  overflow-y: auto;
}

/* Simply Static Fuse.js results page */
.search-results-page .ssp-search {
  width: 100%;
}

.search-results-page .ssp-search .search-form,
.search-results-page .ssp-search .form-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0;
}

.search-results-page .ssp-search .search-input-container {
  flex: 1 1 auto;
  min-width: 0;
}

.search-results-page .ssp-search .search-input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #111738;
  border-radius: 12px;
  background: #fff;
  color: #111738;
  font: inherit;
  box-sizing: border-box;
}

.search-results-page .ssp-search .search-submit {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #111738;
  border-radius: 12px;
  background: #111738;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.search-results-page .ssp-search .search-input:focus-visible,
.search-results-page .ssp-search .search-submit:focus-visible {
  outline: 3px solid #5957ff;
  outline-offset: 3px;
}

.search-results-page .ssp-results {
  max-width: var(--ib-container);
  margin: 2rem auto 0;
  padding: 0 24px;
  color: #111738;
}

.search-results-page .ssp-results h5 {
  margin: 0 0 1.5rem;
  color: #111738;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.search-results-page .ssp-results h5 b {
  color: var(--ib-primary);
}

.search-results-page .ssp-results ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-results-page .ssp-results li {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #d9dbe4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 23, 56, .08);
  line-height: 1.5;
}

.search-results-page .ssp-results li a {
  color: #111738;
  font-weight: 700;
  text-decoration: none;
}

.search-results-page .ssp-results li a:hover,
.search-results-page .ssp-results li a:focus-visible {
  color: var(--ib-primary);
  text-decoration: underline;
}

.search-results-page .site-header .ssp-results {
  display: none;
}

.search-results-page .hsb-grid[hidden],
.search-results-page .hsb-pagination[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .desktop-search-panel .ssp-search .form-row {
    flex-direction: column;
  }

  .desktop-search-panel .ssp-search .search-submit {
    width: 100%;
  }

  .search-results-page .ssp-search .form-row {
    flex-direction: column;
  }

  .search-results-page .ssp-search .search-submit {
    width: 100%;
  }

  .search-results-page .ssp-results ul {
    grid-template-columns: 1fr;
  }
}

/* Global HubSpot form styling */
.hbspt-form {
  width: 100%;
  max-width: 100%;
  margin: 2rem auto 0;
  color: #111738;
  font-size: 1rem;
  line-height: 1.4;
}

.hbspt-form form {
  width: 100%;
}

.hbspt-form fieldset {
  min-width: 0;
  margin: 0 0 1.25rem !important;
  padding: 0;
  border: 0;
}

.hbspt-form fieldset.form-columns-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.hbspt-form fieldset.form-columns-2 > .hs-form-field,
.hbspt-form fieldset.form-columns-1 > .hs-form-field {
  width: auto !important;
  float: none !important;
  margin: 0;
  padding: 0 !important;
}

.hbspt-form .hs-form-field {
  margin-bottom: 1.25rem;
}

.hbspt-form label {
  display: block;
  margin: 0 0 .45rem;
  color: #111738;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.hbspt-form .hs-form-required {
  margin-left: .15rem;
  color: #c43e2e;
}

.hbspt-form .hs-input {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 3.25rem;
  padding: .75rem 1rem;
  border: 2px solid #111738;
  border-radius: .5rem;
  background: #fff;
  color: #111738;
  font: inherit;
  line-height: 1.4;
}

.hbspt-form textarea.hs-input {
  min-height: 8rem;
  resize: vertical;
}

.hbspt-form .hs-input::placeholder {
  color: #5d6270;
  opacity: 1;
}

.hbspt-form .hs-input:focus {
  border-color: #5b5eff;
  outline: 3px solid rgba(91, 94, 255, .3);
  outline-offset: 2px;
}

.hbspt-form .hs_submit {
  margin-top: .5rem;
}

.hbspt-form .hs-button {
  min-height: 3.25rem;
  padding: .75rem 1.75rem;
  border: 1px solid #111738;
  border-radius: .5rem;
  background: #7eddd9;
  color: #111738;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.hbspt-form .hs-button:hover {
  background: #5b5eff;
  color: #fff;
  transform: translateY(-2px);
}

.hbspt-form .hs-button:focus-visible {
  outline: 3px solid #5b5eff;
  outline-offset: 3px;
}

.hbspt-form .hs-error-msgs,
.hbspt-form .hs-error-msg {
  margin: .4rem 0 0;
  padding: 0;
  color: #b42318;
  font-size: .95rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hbspt-form fieldset.form-columns-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.site-menu-overlay__search .search-field{
  border: 1px solid var(--ib-primary);
}

.menu-close {
  width: auto;
  height: auto;
  font-size: 4rem;
  font-weight: 100;
  font-family: system-ui;
  margin-top: -10px;
}


/* SINGLE  */

.single .site-header{
  background: #fff;
}

.post-single--vially {
  color: #10123a;
}

.post-single__hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.post-single__breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 600;
  color: #10123a;
  max-width: var(--ib-container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.post-single__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.post-single__breadcrumbs a:hover {
  text-decoration: underline;
}
.post-single__breadcrumbs .current{
  color: #999;
}

.post-single__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--ib-container);
  margin: 0 auto;
}

.post-single__hero-content {
  text-align: right;
  position: relative;
  z-index: 2;
}

.post-single__category {
  margin: 0 0 1.25rem;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: underline;
  color: #5a5f68;
}

.post-single__title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.15;
  font-weight: 600;
  color: #10123a;
}

.post-single__meta {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-top: clamp(1.8rem, 3vw, 3rem);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 600;
  color: #4f5663;
}

.post-single__image-wrap {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-single__image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 630px;
  border-radius: 3rem;
  overflow: hidden;
}

.post-single__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-single__watermark {
  position: absolute;
  left: 50%;
  top: -5%;
  z-index: 1;
}

.post-single__watermark img{
  width: 65vw;
  max-width: 850px;
  height: auto;
}

.post-single__body {
  padding-bottom: clamp(3rem, 7vw, 7rem);
  position: relative;
  z-index: 2;
  margin-top: 1rem;

}

.post-single__body-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.post-single__content {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #10123a;
}

.post-single__content > *:first-child {
  margin-top: 0;
}

.post-single__content h2,
.post-single__content h3,
.post-single__content h4 {
  color: #10123a;
  line-height: 1.2;
}

.post-single__content p:first-child {
  line-height: 1.25;
  font-weight: 600;
}

.post-single__content table {
  width: 100%;
  min-width: 32rem;
  margin: 2rem 0 2.5rem;
  border: 2px solid #2b2b67;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  font-size: 1rem;
  line-height: 1.45;
}

.post-single__content table caption {
  margin-bottom: .75rem;
  color: #10123a;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.post-single__content table th,
.post-single__content table td {
  padding: .9rem 1rem;
  border-right: 1px solid #c8cbe0;
  border-bottom: 1px solid #c8cbe0;
  text-align: left;
  vertical-align: top;
}

.post-single__content table th {
  width: 34%;
  background: #eef0ff;
  color: #111738;
  font-weight: 700;
}

.post-single__content table td {
  color: #20264b;
}

.post-single__content table tr:nth-child(even) td {
  background: #fafaff;
}

.post-single__content table tr:last-child th,
.post-single__content table tr:last-child td {
  border-bottom: 0;
}

.post-single__content table th:last-child,
.post-single__content table td:last-child {
  border-right: 0;
}

@media (max-width: 700px) {
  .post-single__content {
    overflow-x: auto;
  }

  .post-single__content table {
    min-width: 30rem;
  }
}

.related-posts-module {
  background: #0b0030;
  color: #fff;
  padding: 70px 20px 80px;
}

.related-posts-module__inner {
  max-width: 980px;
  margin: 0 auto;
}

.related-posts-module__heading {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 70px;
  color: #fff;
}

.related-posts-module__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.related-posts-module__card {
  opacity: 0;
  transform: translateY(20px);
  animation: relatedFadeUp 0.6s ease forwards;
}

.related-posts-module__card:nth-child(2) {
  animation-delay: 0.12s;
}

.related-posts-module__image-wrap {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
}

.related-posts-module__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.related-posts-module__card:hover .related-posts-module__image {
  transform: scale(1.05);
}

.related-posts-module__category {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: #fff;
}

.related-posts-module__title {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
}

.related-posts-module__title a {
  color: inherit;
  text-decoration: none;
}

.related-posts-module__excerpt {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 430px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.9);
}

.related-posts-module__read-more {
  display: inline-block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.25s ease;
}

.related-posts-module__title a,
.related-posts-module__read-more {
  transition: color 0.3s ease;
}

.related-posts-module__card:hover .related-posts-module__title a,
.related-posts-module__card:hover .related-posts-module__read-more {
  color: var(--ib-secondary);
}

.related-posts-module__read-more:hover {
  opacity: 0.7;
}

.post-single__share {
  max-width: var(--ib-container);
  margin: 0 auto;
  padding: 60px 20px 70px;
  background: #fff;
}

.post-single__share-wrap {
  border-top: 2px solid #08002f;
  padding-top: 70px;
  text-align: center;
}

.post-single__share-title {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #08002f;
}

.post-single__share-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
}

.post-single__share-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #08002f;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.post-single__share-links a:hover {
  color: var(--ib-primary);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .post-single__share {
    padding: 45px 20px 55px;
  }

  .post-single__share-wrap {
    padding-top: 45px;
  }

  .post-single__share-links {
    gap: 28px;
    flex-wrap: wrap;
  }

  .post-single__share-links a {
    font-size: 1.7rem;
  }
}

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

@media (max-width: 980px) {
  .post-single__hero-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .post-single__hero-content {
    max-width: 720px;
    margin: 0 auto;
  }

  .post-single__image-wrap {
    min-height: auto;
  }

  .post-single__image {
    max-width: 720px;
  }

  .post-single__shape--one {
    top: -50px;
    left: 5%;
  }

  .post-single__shape--two {
    right: 0;
    bottom: -50px;
  }
}

@media (max-width: 768px) {
  .related-posts-module {
    padding: 50px 20px 60px;
  }

  .related-posts-module__heading {
    margin-bottom: 40px;
  }

  .related-posts-module__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .related-posts-module__image-wrap {
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .post-single__breadcrumbs {
    font-size: 0.85rem;
    gap: 0;
    margin-bottom: 1rem;
  }

  .post-single__meta {
    flex-wrap: wrap;
  }

  .post-single__image {
    border-radius: 2rem;
  }

  .post-single__shape {
    width: 300px;
    height: 210px;
  }
}


/* Footer  */
.site-footer {
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6.5rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.site-footer a {
  color: inherit;
  font-weight: 700;
  /*text-decoration: underline;*/
  text-underline-offset: 0.15em;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-footer ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li{
  margin-top: .5rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #78ded9;
}

.site-footer__inner {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 5vh;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.4;
}

.site-footer__brand {
  display: flex;
  justify-content: center;
}

.site-footer__brand img {
  width: clamp(160px, 14vw, 230px);
  height: auto;
  display: block;
}

.site-footer__mark {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.site-footer__mark img {
  position: absolute;
  top: -8vh;
  width: clamp(180px, 19vw, 310px);
  height: auto;
  display: block;
}

.site-footer__widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  margin-bottom: 0;
}

.footer-col {
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.65;
}

.footer-col .widget {
  /*margin: 0 0 clamp(2.5rem, 5vw, 4rem);*/
}

.footer-col .widget:last-child {
  margin-bottom: 0;
}

.footer-col .widget-title,
.footer-col h2,
.footer-col h3,
.footer-col h4 {
  margin: 0 0 1.5rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.3;
  font-weight: 800;
  /*text-decoration: underline;*/
  /*text-underline-offset: 0.15em;*/
}

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

.footer-col li {
  margin: 0 0 0.45rem;
}

.footer-col p {
  margin: 0 0 1.4rem;
}

.widget-title{
  margin-bottom: 2rem !important;
}
.widget-title a{
  font-weight: 800;
}

.widget-title ul{
  padding-top: 2rem;
}

.widget-title ul li,
.widget-title ul li a{
  text-decoration: none !important;
  margin: 0 0 0.45rem;
  text-transform: none !important;
  font-weight: 400;
  letter-spacing: 0;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4rem);
}

.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #78ded9;
  text-decoration: none;
  font-size: 1.35rem;
}

.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
  transform: translateY(-0.15rem);
}

.site-footer__socials img {
  /*width: 1.5rem;
  height: 1.5rem;*/
  object-fit: contain;
  display: block;
}

.site-footer__accreditations {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-footer__accreditations .widget {
  margin: 0;
}

.site-footer__accreditations img {
  width: clamp(150px, 10vw, 200px);
  height: auto;
  display: block;
}

.site-footer__extra{
  text-align: center;
}
.site-footer__extra ul{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-links li a{
  text-decoration: underline;
}

@media (max-width: 900px) {

  .site-footer__top,
  .site-footer__widgets,
  .site-footer__bottom {
    grid-template-columns: 1fr;
  }

  .site-footer__brand,
  .site-footer__mark,
  .site-footer__accreditations {
    justify-content: flex-start;
  }

  .site-footer__top {
    gap: 2.5rem;
    margin-bottom: 3.5rem;
  }

  .site-footer__widgets {
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .site-footer__socials {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin: 0 auto;
    
  }
  .site-footer__mark{
    position: absolute;
    right: 1rem;
  }
  .site-footer__mark img{
    position: relative;
    top: 0;
  }
}


/* Modules  */

/* Image text  */

.image_text_module .image_text_module__block{
  max-width: var(--ib-container);
  margin: 0 auto 6rem;
}
.image_text_module .image_text_module__block .image_text_module__media{
  position: relative;
}

.image_text_module .image_text_module__block .image_text_module__media{ 
  overflow: hidden;
}
.image_text_module .image_text_module__block .image_text_module__media::after{
  content: "";
    background: url(/wp-content/uploads/2026/04/watermark.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 70%;
    height: 90%;
    bottom: -18%;
    right: -6%;
    pointer-events: none !important;
}

.image_text_module .image_text_module__block .image_text_module__content{
  max-width: 65%;
  padding: 0 2rem;
}

.image_text_module .image_text_module__block .image_text_module__button{
  min-width: 200px;
  text-align: center;
}

.search-auto-complete{
  display: none !important;
}
.ssp-results a{
  text-decoration: none !important;
  font-weight: 600;
  color: #000;
}
.ssp-results a:hover,
.ssp-results a:focus{
  color: #FB614A
}
.ssp-search .form-row{
  width: 100%;
}


@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-left {
  opacity: 0;
  animation: slideInLeft 0.6s ease-out forwards;
}


@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-right {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
}

.mobile-menu{
  display: none;
}


@media only screen and (min-width: 1201px){
}

/* Media Queries */
@media (max-width: 1200px) {
  .main-menu{
    display: none !important;
  }

  .desktop-header-actions{
    display: none;
  }

  .mobile-menu{
    display: block;
  }
}

@media (max-width: 900px) {

  h2{
    font-size: 27px;
  }

  .site-logo,
  .site-logo img{
    display: block;
    height: 33px !important;
  }

  .site-menu-overlay__bar{
    padding: 0;
    margin: 0;
  }

  #site-navigation ul li a::after{
    position: absolute;
    content: "\f105";
    font-family: "Font Awesome 7 Free";
  }

}
