.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--primary-hover);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-heading {
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-heading h1 {
  color: #0a174e;
  font-family: "Basic", sans-serif;
  font-size: 2rem;
  line-height: 1.2;
}

.page-heading p {
  max-width: 800px;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.5;
}

.mainAreasMainComponents {
  padding-top: 40px;
}

.convertersIconsMainArea {
  display: grid;
  grid-template-columns: repeat(4, 220px);
  justify-content: space-around;
  gap: 30px 20px;
  margin-bottom: 50px;
}

.convertersIconsMainArea a {
  color: black;
  text-decoration: none;
}

.converter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  height: 70px;
  min-height: fit-content;
  padding: 10px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
  border-radius: 5px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.converter-item:hover {
  cursor: pointer;
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.7);
  transform: translateY(-5px);
}

.converter-item:active {
  transform: translateY(2px);
  box-shadow: 0 0 12px rgba(139, 0, 0, 0.5);
}

.converter-name2 {
  font-size: 20px;
  font-family: "Basic", sans-serif;
  text-wrap: wrap;
  font-weight: 600;
}

.unitIcons {
  width: 60px;
  max-height: 65px;
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.separationContainer {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  text-align: center;
}

.separationContainer h4 {
  color: #0a174e;
  font-family: "Basic", sans-serif;
  font-weight: 400;
  font-size: 22px;
}

.separationContainer::before,
.separationContainer::after {
  content: "••••••••";
  color: #333;
}

/* Tablet */

@media (max-width: 1050px) and (min-width: 781px) {
  .convertersIconsMainArea {
    grid-template-columns: repeat(3, 220px);
  }
}

/* Mobile */

@media (max-width: 780px) {
  .page-container {
    padding: 1rem 0.75rem 3rem;
  }

  .breadcrumb {
    margin-bottom: 0.8rem;
    font-size: 0.76rem;
  }

  .page-heading {
    padding: 0.9rem;
  }

  .page-heading h1 {
    font-size: 1.35rem;
  }

  .page-heading p {
    font-size: 0.82rem;
  }

  .mainAreasMainComponents {
    padding-top: 20px;
  }

  .convertersIconsMainArea {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
  }

  .convertersIconsMainArea a {
    color: black;
    text-decoration: none;
  }

  .converter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 220px;
    height: 70px;
    min-height: fit-content;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
  }

  .converter-item:active {
    transform: translateY(2px);
    box-shadow: 0 0 12px rgba(139, 0, 0, 0.5);
  }

  .converter-name2 {
    font-size: 20px;
    font-family: "Basic", sans-serif;
    text-wrap: wrap;
    font-weight: 600;
  }

  .unitIcons {
    width: 60px;
    max-height: 65px;
  }

  .separationContainer {
    margin-bottom: 15px;
  }

  .separationContainer h4 {
    font-size: 18px;
  }

  .separationContainer::before,
  .separationContainer::after {
    content: "••••";
  }
}