*, *::before, *::after {
  min-width: 0px;
  min-height: 0px;
}

body {
  font-family: var(--font-serif);
  color: var(--gold);
  background-color: var(--navy) !important;
  letter-spacing: 0.04em;
}

#root {
  max-width: 1920px;
  margin: 0 auto;
}

p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

img, iframe {
  max-width: 100%;
}

iframe {
  border: none;
  box-shadow: none;
}

a, a:hover {
  color: var(--gold);
}

[id] {
  scroll-margin-top: 80px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.transition-opacity {
  transition: opacity 150ms ease;
  
  &:hover {
    opacity: 0.85;
    text-decoration: none;
  }
}

.button {
  position: relative;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
  border: 0;
  outline: none;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.5rem;
  list-style: disc outside none;
}

.list > p {
  margin: 0;
  display: list-item;
}

.webgene-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.webgene-pagination ul li a {
  display: inline-block;
  width: 3rem;
  line-height: 3rem;
  background-color: var(--gold);
  color: var(--navy);
  text-align: center;
}
.webgene-pagination ul li a:hover {
  color: var(--navy);
}

.webgene-pagination ul li.selected a {
  background-color: var(--white);
}

.webgene-pagination ul li.selected a:hover {
}

.thumbnail {
  position: relative;
  padding-top: 66.66666%;
}

.thumbnail img, .thumbnail:empty::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail:empty::before {
  content: "";
  background-image: url("/system_panel/uploads/images/ogp.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.article-body > p {
  margin: 1em 0;
}

.article-body > h1,
.article-body > h2,
.article-body > h3,
.article-body > h4,
.article-body > h5,
.article-body > h6 {
  margin: 2em 0 1em;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body > *:last-child {
  margin-bottom: 0;
}

.article-body a, .article-body a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.hero-image {
  position: relative;
  height: 180px;
}
.hero-image__top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-image::after, .hero-image__top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8 21 53 / 50%);
  pointer-events: none;
}
.hero-image img, .hero-image__top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  gap: 1.25rem;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  background-color: transparent;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  transition: opacity 150ms ease;
  
  &:hover {
    color: var(--gold);
    text-decoration: none;
    opacity: 0.8;
  }
  
  &::after {
    content: "";
    width: 15px;
    height: 24px;
    background-image: url("/system_panel/uploads/images/button-vector.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.category-list .webgene-blog {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.blog-list .webgene-blog {
  display: grid;
  gap: 2.5rem;
}

.item-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.swiper-pagination {
  position: relative;
  margin: 0;
}
.swiper-pagination-bullet {
  border-radius: 0;
  background-color: var(--navy-alt);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: var(--gold);
}

@media screen and (min-width: 768px) {
  .hero-image {
    height: 240px;
  }
  .button {
    font-size: 1.125rem;
    padding: 0.5rem 0.875rem;
  
    &::after {
      width: 20px;
      height: 32px;
    }
  }
  .blog-list .webgene-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-list .webgene-pagination {
    grid-column: span 2 / span 2;
  }
}

.about-dec--1 {
  position: absolute;
  top: -70px;
  left: 30px;
  width: 877px;
}

.top-dec--1 {
  position: absolute;
  top: 380px;
  right: -210px;
  width: 714px;
}

.top-concept-subtle {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-25%);
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.5;
  white-space: nowrap;
}

.swiper-button-prev, .swiper-button-next {
  position: relative;
  width: auto;
  height: auto;
  margin: 0 !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  &::after {
    content: none;
  }
}

.works-slides.swiper {
  overflow: visible;
}

.top-sevices-bg {
  position: absolute;
  width: 100%;
  height: calc(100% + 2px);
  top: -1px;
  left: 0;
  background-image: linear-gradient(180deg, #0C142B 0%, rgba(12, 20, 43, 0.00) 30%, rgba(12, 20, 43, 0.00) 100%), linear-gradient(180deg, rgba(19, 31, 62, 0.00) 0%, rgba(19, 31, 62, 0.00) 70%, #202D4E 100%), url("/system_panel/uploads/images/top-services-bg.jpg");
}

@media screen and (min-width: 768px) {
  .top-concept-subtle {
    transform: translateY(-50%);
  }
  
  .top-dec--1 {
    top: 1000px;
    right: -100px;
  }
}

@media screen and (min-width: 1024px) {
  .hero-image {
    height: 280px;
  }
  
  .top-concept-subtle {
    transform: translateY(25%);
  }
  
  .top-dec--1 {
    top: 1200px;
  }
}
@media screen and (min-width: 1200px) {
  .hero-image {
    height: 320px;
  }
  
  .top-concept-subtle {
    transform: translateY(-50%);
  }
  
  .top-dec--1 {
    top: -56px;
  }
}


