/* =========================================================
   DRYDOCK PAGE
========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #111111;

  font-family: "Roboto", Arial, sans-serif;
}

.drydock-page {
  width: 100%;

  padding: 20px 0 35px;
}

/* =========================================================
   HERO
========================================================= */

.drydock-hero {
  width: 100%;

  margin-bottom: 35px;
}

.drydock-hero-container {
  width: 750px;
  max-width: 94%;

  margin: 0 auto;
}

.drydock-hero h1 {
  margin: 0 0 14px;

  color: #f03220;

  font-size: 25px;
  font-weight: 700;

  line-height: 1.25;

  text-align: center;
}

/* =========================================================
   SLIDER
========================================================= */

.drydock-slider {
  position: relative;

  width: 100%;

  height: 185px;

  overflow: hidden;
}

.drydock-slide {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.drydock-slide.active {
  opacity: 1;
  visibility: visible;
}

.drydock-slide img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* =========================================================
   SLIDER DOTS
========================================================= */

.drydock-slider-dots {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-top: 10px;
}

.drydock-dot {
  width: 6px;
  height: 6px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: #cfcfcf;

  cursor: pointer;
}

.drydock-dot.active {
  background: #222222;
}

/* =========================================================
   CATEGORY
========================================================= */

.drydock-category {
  width: 896px;
  max-width: 94%;

  margin: 0 auto 16px;
}

.drydock-category > h2 {
  margin: 0 0 14px;

  padding: 2px 5px;

  background: #b6e5df;

  color: #111111;

  font-size: 27px;
  font-weight: 700;

  line-height: 1.2;

  text-align: center;
}

/* =========================================================
   GRID
========================================================= */

.drydock-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 16px;
}

/* =========================================================
   CARD
========================================================= */

.drydock-card {
  min-width: 0;
}

.drydock-card img {
  display: block;

  width: 100%;
  height: 174px;

  object-fit: cover;
  object-position: center;

  border-radius: 20px;
}

.drydock-card h3 {
  margin: 10px 0 6px;

  padding: 0 0 7px;

  color: #111111;

  border-bottom: 2px solid #1d3dff;

  font-size: 16px;
  font-weight: 700;

  line-height: 1.2;
}

.drydock-card a {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;
  height: 32px;

  background: #1260eb;

  color: #ffffff;

  text-decoration: none;

  font-size: 12px;
  font-weight: 600;
}

.drydock-card a:hover {
  background: #084ec8;
}

/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.drydock-bottom {
  width: 896px;
  max-width: 94%;

  margin: 35px auto 0;

  display: flex;

  justify-content: space-between;
}

.drydock-bottom a {
  display: flex;

  align-items: center;
  justify-content: center;

  min-width: 110px;
  height: 39px;

  padding: 0 15px;

  background: #0870e8;
  color: #ffffff;

  border: 2px solid #000000;
  border-radius: 11px;

  text-decoration: none;

  font-size: 12px;
  font-weight: 700;
}

.drydock-bottom a:hover {
  background: #0756c7;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .drydock-category {
    width: 92%;
  }

  .drydock-grid {
    gap: 12px;
  }

  .drydock-category > h2 {
    font-size: 23px;
  }

  .drydock-card img {
    height: 160px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .drydock-page {
    padding-top: 15px;
  }

  .drydock-hero-container {
    width: 94%;
  }

  .drydock-hero h1 {
    font-size: 20px;
  }

  .drydock-slider {
    height: 180px;
  }

  .drydock-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .drydock-card img {
    height: auto;

    aspect-ratio: 16 / 10;

    border-radius: 16px;
  }

  .drydock-card h3 {
    font-size: 15px;
  }

  .drydock-card a {
    height: 37px;
  }

  .drydock-category > h2 {
    font-size: 20px;
  }

  .drydock-bottom {
    flex-direction: column;

    align-items: center;

    gap: 15px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
  .drydock-hero h1 {
    font-size: 18px;
  }

  .drydock-slider {
    height: 150px;
  }

  .drydock-category > h2 {
    font-size: 18px;
  }

  .drydock-card h3 {
    font-size: 14px;
  }
}
