/*
 * Add custom styles for the Astra child theme here.
 */
:root {
  --site-header-height: 0px;
}

a:has(img):hover {
  opacity: 1;
}
a img {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
a:hover img {
  opacity: 0.7;
}

.u-text-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.ast-theme-transparent-header #masthead {
  position: relative;
}

#masthead .ast-above-header-wrap {
  border-left: 8px solid var(--ast-global-color-0);
}

#masthead .site-above-header-wrap {
  padding-inline: 0;
}

.ast-mobile-header-wrap {
  border-left: 5px solid var(--ast-global-color-0);
}

.site-header {
  position: relative;
}
.site-header p {
  margin: 0;
}

.header-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}
.header-title a {
  color: #000;
}
.header-title .small {
  font-size: 0.7em;
}

.header-top__btns {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0;
  margin: 0;
}
@media (max-width: 921.9px) {
  .header-top__btns {
    gap: 10px;
  }
}
.header-top__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.3em;
  padding: 1em;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 921.9px) {
  .header-top__btn {
    padding-block: 0.7em;
    border-radius: 4px;
  }
}
.header-top__btn:hover {
  color: #fff;
  opacity: 0.7;
}
.header-top__btn--01 {
  background: var(--ast-global-color-0);
}
.header-top__btn--02 {
  background: var(--ast-global-color-1);
}
.header-top__btn img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

@media (max-width: 544px) {
  .site-footer .header-title {
    text-align: center;
  }
}

.footer-top-contact {
  position: relative;
}
.footer-top-contact:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.footer-top-contact > * {
  position: relative;
  z-index: 1;
}

.wp-block-latest-posts__list .wp-block-latest-posts__featured-image {
  position: relative;
}
.wp-block-latest-posts__list .wp-block-latest-posts__featured-image:after {
  content: "";
  display: block;
  padding-top: 66.6666%;
}
.wp-block-latest-posts__list img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

.home .site .site-content #primary .ast-article-single {
  padding-top: 0;
}

.top-mv__container {
  position: relative;
}
.top-mv__slider {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.ast-single-post .site-contents a {
  text-decoration: none;
}