.section-content {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.b-bor {
  border-bottom: 1px solid #000;
}
.recipe-tabs .nav-link:hover {
  color: #007bff;
}

.recipe-tabs-container {
  padding-top: 80px; /* adjust for header */
  font-family: "Frank Ruhl Libre", georgia, serif;
}

.recipe-tabs-heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.recipe-tabs.nav-tabs {
  border: 0 !important; /* remove line under tabs */
}

.recipe-tabs .nav-item {
  border: none !important;
  color: #000; /* white text */
}

.recipe-tabs .nav-link {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  position: relative;
  color: #333;
  padding-bottom: 0.75rem;
  font-weight: 500;
}
.recipe-tabs .nav-link.active {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-size: 1em;
  color: #000; /* white text for active tab */
}
/* The hollow V arrow under the active tab */
.recipe-tabs .nav-link.active::before {
  content: "";
  position: absolute;
  top: 41px; /* moves arrow below text */
  left: 50%; /* center arrow relative to tab */
  transform: translateX(-50%) rotate(-135deg);
  width: 12px;
  height: 12px;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  background-color: #fff; /* matches page background */
  z-index: 2;
}

/* Optional subtle underline across all tabs */
.recipe-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #ccc;
  z-index: 1;
}
.recipe-tabs::after {
  content: none !important;
}
/* Optional hover style */
.recipe-tabs .nav-link:hover {
  color: #004d4d;
}

/* Overlay covering the image */
.image-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent dark */
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  color: #fff;
}

.image-wrapper:hover .overlay {
  opacity: 1;
}

.image-wrapper .overlay-content h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.image-wrapper .overlay-content p {
  font-size: 14px;
  margin-bottom: 10px;
}

.image-container {
  position: relative;
}

.image-container .overlay {
  opacity: 0;
  transition: opacity 0.3s;
}

.image-container:hover .overlay {
  opacity: 1;
}
.image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* semi-transparent black */
  color: #fff;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.3s ease;
  padding: 0.5rem;
  font-size: 0.73rem;
}
/* Hover overlay effect */
.category-card:hover .overlay {
  opacity: 1;
}

.category-card .image-container {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.category-card:hover .image-container {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#categories .diamond-heading-flex {
  margin-bottom: 2.5rem;
}

/* category heading */
.diamond-heading-flex {
  display: flex;
  align-items: center; /* vertically center everything */
  justify-content: center; /* center the heading horizontally */
  margin-bottom: 2.5rem;
}

.diamond-heading-flex h2 {
  position: relative;
  padding: 4px 20px 4px 20px;
  background-color: #003366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 10px; /* space between text and lines */
}
/* Diamond points */
.diamond-heading-flex h2::before,
.diamond-heading-flex h2::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 100%;
  background-color: #003366;
  z-index: -1;
}

.diamond-heading-flex h2::before {
  left: -12px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.diamond-heading-flex h2::after {
  right: -12px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Horizontal lines */
.diamond-heading-flex .line {
  flex: 1;
  height: 1px; /* thin line */
  background-color: #003366;
}

.like-btn i {
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.like-btn i.liked {
  transform: scale(1.2);
}
.bg {
  background-color: rgb(254, 253, 253); /* semi-transparent black background */
  border-radius: 5px; /* optional: rounded corners */
  padding: 2px 6px; /* optional: some padding around the content */
}
/* social media icons */
.mt-sm {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}
