/* Keep Gutenberg's structural wrappers transparent to the original Luique layout. */
.wp-block-group__inner-container {
  width: 100%;
}

.lui-section-hero .wp-block-group__inner-container {
  width: 100%;
}

.lui-section-hero .container {
  width: 100%;
  max-width: 1300px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.lui-section-hero .container .lui-started {
  width: 100%;
}

/* Keep the consent control aligned with its text instead of the theme's button-sized line height. */
.contacts-form .terms-label {
  position: relative;
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  padding-left: 26px;
  margin: 0 30px 20px 0;
  line-height: 1.5;
  text-align: left;
}

.contacts-form .terms-label input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  margin: 0;
}

.contacts-form .terms-label span {
  display: block;
}

.js-services.swiper-container {
  width: 100%;
  overflow: hidden;
}

.js-services > .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100%;
}

.js-services > .swiper-wrapper > .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.hero-started.wp-block-columns {
  gap: 0;
}

/* Bridge the Hero and Portfolio backgrounds after removing the Services section. */
.lui-gradient-portfolio {
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F0EBE3 24%, #F0EBE3 72%, #FFFFFF 100%);
}

.dark-skin .lui-gradient-portfolio {
  background-image: linear-gradient(180deg, #31363c 0%, #222831 24%, #222831 72%, #31363c 100%);
}

/* Fallback: if animations trigger */
.scrolla-element-anim-1.animate__active {
  opacity: 1 !important;
  -webkit-transform: translate(0, 0) !important;
  -ms-transform: translate(0, 0) !important;
  transform: translate(0, 0) !important;
}

.splitting-text-anim-1.animate__active .char,
.splitting-text-anim-1.animate__active .word,
.splitting-text-anim-2.animate__active .char,
.splitting-text-anim-2.animate__active .word {
  opacity: 1 !important;
  -webkit-transform: translate(0, 0) !important;
  -ms-transform: translate(0, 0) !important;
  transform: translate(0, 0) !important;
}

/* Hide decorative line, dot circle pattern and vertical markers in blog */
.single-post .v-line-block,
.single-post .v-line-right,
.single-post .v-line-left,
.single-post .v-line-block span,
.single-post .v-line-top,
.blog .v-line-block,
.archive .v-line-block {
  display: none !important;
}

/* Author link and author box styling */
.m-titles .m-category a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.m-titles .m-category a:hover {
  color: #29a587;
}

.dark-skin .m-titles .m-category a {
  color: #fff;
}

.dark-skin .m-titles .m-category a:hover {
  color: #29a587;
}

.post-author-box {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 24px;
}

.dark-skin .post-author-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.07);
}

.post-author-box .avatar {
  border-radius: 50%;
  object-fit: cover;
}

.dark-skin .post-author-box .comment-box__details a {
  color: #fff;
}

.dark-skin .post-author-box .comment-box__details a:hover {
  color: #29a587;
}
