@font-face {
  font-family: "AmericanCaptain";
  src: url("../../assets/fonts/american-captain-font/AmericanCaptain.ttf")
    format("truetype");
  font-weight: normal;
  font-size: normal;
  font-display: swap;
}

:root {
  --color-primary: #d5431e;
  --color-secondary: #dacdb7;
  --color-tertiary: #1f201a;
  --color-white: #ffffff;
  --color-destructive: #e81c1c;
  --sidebar-width: 353px;
  --font-american-captain: "AmericanCaptain", sans-serif;
  --font-inter: "Inter", sans-serif;
}

/*--------------------------------------------------------------
>>> General:
--------------------------------------------------------------*/

.container {
  box-sizing: border-box;
  max-width: 1087px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 24px;
}

.inner-container {
  max-width: 1087px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.astro-open {
  position: relative;
  display: flex;
}

.heading-1,
.heading-2,
.heading-3 {
  font-family: var(--font-american-captain);
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
}

.heading-1 {
  font-size: 64px;
}

.heading-2 {
  font-size: 56px;
}

.heading-3 {
  font-size: 48px;
  line-height: 115%;
}

.container-spacing {
  padding-block: 40px;
}

article ul {
  list-style: disc;
}

article ol {
  list-style: decimal;
}

article ul,
article ol {
  padding-inline-start: 24px;
  margin-block-end: 28px;
  line-height: 150%;
}

@media (min-width: 992px) {
  .container {
    padding-inline-start: 40px;
    padding-inline-end: 64px;
  }

  .heading-1 {
    font-size: 80px;
  }
  .heading-2 {
    font-size: 64px;
  }
  .heading-3 {
    font-size: 56px;
  }
}

@media (min-width: 768px) {
  .container-spacing {
    padding-block: 56px;
  }
}

/*--------------------------------------------------------------
>>> Aside:
--------------------------------------------------------------*/

.astro-aside-toggle,
.astro-aside-close {
  display: none;
}

@media (max-width: 992px) {
  .astro-aside-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 50;
    margin: 0 0 8px;
    padding: 10px 14px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--color-border, #6a6b65);
    border-radius: 6px;
    background: var(--color-background, #fff);
    color: var(--color-foreground, inherit);
    cursor: pointer;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .astro-aside-toggle .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .astro-aside-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--color-foreground, inherit);
    cursor: pointer;
  }

  .astro-aside-close .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

  .astro-open > .astro-aside {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    z-index: 101;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .astro-open.aside-open > .astro-aside {
    transform: translateX(0);
  }
}

/*--------------------------------------------------------------
>>> Footer:
--------------------------------------------------------------*/
footer {
  padding-block: 40px;
}
.footer-top-container {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.footer-top-container p {
  letter-spacing: 0;
  margin-block: 0;
}
.footer-top-content-container {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}
.footer-top-content {
  display: flex;
  flex-direction: column;
  row-gap: 56px;
}
.footer-top-logo {
  margin-inline: auto;
}
.footer-top-logo img {
  max-width: 274px;
}
.footer-top-info-container {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}
.footer-navigation-menu {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
.footer-navigation-menu li a {
  display: flex;
  align-items: center;
  column-gap: 8px;
  padding: 0;
  letter-spacing: 0;
}
.footer-map {
  height: 266px;
}
.footer-map img {
  border-radius: 8px;
  background-color: #ffffff;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
}

.footer-bottom-container {
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-top: 1px solid #6a6b65;
  margin-block-start: 40px;
  padding-block-start: 40px;
}
.footer-additional-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 15px;
  row-gap: 10px;
}

.footer-additional-socials a {
  display: flex;
  align-items: center;
  column-gap: 8px;
  color: #ffffff;
  text-decoration: none;
}

.footer-additional-socials .svg-wrapper {
  width: 16px;
  height: 16px;
}

.footer-additional-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  row-gap: 10px;
}

.footer-additional-links a {
  font-size: 14px;
  line-height: 21px;
  color: #ffffff;
  text-decoration: none;
}

@media (min-width: 992px) {
  footer {
    padding-block: 80px;
  }
  .footer-top-container {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 50px;
  }

  .footer-top-content {
    flex: 0 0 274px;
  }

  .menu-footer-navigation-container {
    flex: 0 0 184px;
  }

  .footer-top-content-container {
    flex: 0 1 596px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    column-gap: 50px;
  }

  .footer-map {
    flex: 0 0 280px;
  }
  .footer-bottom-container {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    padding-block-start: 56px;
  }
}

@media (min-width: 576px) {
  .footer-additional-socials {
    column-gap: 24px;
  }

  .footer-additional-links {
    column-gap: 40px;
  }
}

/*--------------------------------------------------------------
>>> Buttons:
--------------------------------------------------------------*/
.btn {
  box-sizing: border-box;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font-american-captain);
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  padding-block: 10px;
  padding-inline: 24px;
  background-color: #d5431e;
  color: #e8dece;
  border-radius: 6px;
  border: 0;
  outline: 0;
}

.btn:hover {
  color: #ffffff;
}

.btn.btn-white {
  background-color: #ffffff;
  color: #d5431e;
}

.btn.btn-white:hover {
  background-color: #eeeae9;
}

.btn.btn-outline {
  background-color: transparent;
  color: #d5431e;
  outline: 1px solid #d5431e;
  outline-offset: -1px;
}

.btn.btn-outline:hover {
  background-color: #d5431e;
  color: #ffffff;
}

/*--------------------------------------------------------------
>>> Splide:
--------------------------------------------------------------*/
.splide__arrow {
  width: 54px;
  height: 54px;
  background-color: transparent;
}

.splide__arrow:hover,
.splide__arrow:focus,
.splide__arrow:focus-visible {
  background-color: transparent;
  border: 0;
  outline: 0;
}
.splide__arrow svg {
  width: 43px;
  height: 43px;
  fill: #d5431e;
  overflow: unset;
}

.splide__pagination {
  column-gap: 4px;
  row-gap: 6px;
  position: relative;
  inset: 0;
  margin-block-start: 24px;
}

.splide__pagination li {
  line-height: 0;
}

.splide__pagination__page {
  width: 24px;
  height: 4px;
  border-radius: unset;
  background-color: #6a6a6a;
  margin: 0;
  outline: 0;
}

.splide__pagination__page.is-active {
  background-color: #d5431e;
  transform: unset;
}

.splide__pagination__page:hover {
  background-color: #d5431e;
}

/*--------------------------------------------------------------
>>> Post Single:
--------------------------------------------------------------*/
.post-single-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-single-content {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.post-single-content-header {
  display: flex;
  flex-direction: column;
}

.post-single-content-header-title {
  margin-block: 0;
}

.post-single-content-header-date {
  font-size: 12px;
  font-weight: 700;
}

.post-single-content-body > *:last-child {
  margin-block-end: 0;
}

/*--------------------------------------------------------------
>>> Page 404:
--------------------------------------------------------------*/
.page-404-content {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  text-align: center;
}

.page-404-title {
  margin-block: 0;
}

/*--------------------------------------------------------------
>>> Coming Soon:
--------------------------------------------------------------*/
.coming-soon-content {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  text-align: center;
}

.coming-soon-title {
  margin-block: 0;
}
