h1 {
  font-weight: 700;
  font-size: 48px;
  margin-bottom: 32px;
  margin-inline: auto;
  margin-top: 48px;
  text-align: center;
  max-width: 800px;
}

p {
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 16px;
}

h3 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 32px;
}

h2 {
  font-weight: 700;

  font-size: 32px;
  color: white;
  
}
.overlay-card {
  position: relative;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: #ffffff;
  margin-bottom: 32px;
}

.overlay-card .overlay {
  position: absolute;
  inset: 0;
  background: #6e0000cc;
  z-index: 1;
  border-radius: 16px;
}

.overlay-card .overlay-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.subscribe-btn {
  background-color: #ffffff;
  color: #6e0000;
  border: none;
  border-radius: 16px;
  padding: 16px 24px;

  font-weight: 400;

  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: #FF9898;
  color: #322E2E;
}

.img-wrapp {
  margin-bottom: 32px;
  border-radius: 16px;
}

.img-wrapp img {
  width: 100%;
}

.text-block {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 400;
  color: #787878;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  cursor: grab;
}

.breadcrumbs:active {
  cursor: grabbing;
}

.breadcrumbs::-webkit-scrollbar {
  display: none;
}

.breadcrumb-item {
  white-space: nowrap;
}

.breadcrumb-icon {
  flex-shrink: 0;
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px ;
padding-bottom: 0;
}
@media (max-width: 768px) {
  main {
    padding: 40px 40px;
    padding-bottom: 0;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  main {
    padding: 40px 16px;
    padding-bottom: 0;
  }
  p {
    font-size: 16px;
  }
  h2 {
    font-size: 20px;
  }
}
