.counseling-section .icon-container .icon-box {
  min-height: 320px;
}

.counseling-section-blog .icon-container .icon-box {
  min-height: 340px;
}

@media (max-width: 480px) {

  .left-image-section .row,
  .courses-step-sec .row {
    flex-direction: column !important;
  }
}

/*
 * every man battle page-id-12305
 */
.col-content-flex {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.col-icon {
  width: 130px;
  flex-shrink: 0;
}

.col-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.page-id-12305 .two-content-col-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.page-id-12305 .col-right.col-content-flex {
  border-left: 1px solid #2C3A43;
  padding-left: 30px;
}

@media (max-width: 768px) {
  .page-id-12305 .col-right.col-content-flex {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #2C3A43;
    padding-top: 30px;
    margin-top: 30px;
  }

  /* This new rule stacks the icon on top of the text on mobile */
  .page-id-12305 .col-content-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.episode-content-section .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sinlge-episode .blog-video-section,
.sinlge-episode .blog-title,
.sinlge-episode .blog-info-section {
  padding-left: 20px;
  padding-right: 20px;
}

.sinlge-episode .resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-direction: column;
}

.powerpress_player {
  margin-top: 0.5em;
}

.powerpress_player+p {
  margin-bottom: 50px;
}

.audio-label {
  display: inline-block;
  margin-top: 50px;
}

/* The main container for the thumbnail and overlay */
.video-thumbnail-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  /* Hides parts of the overlay that might stick out */
}

/* The image itself. We add a transition for a smooth zoom effect */
.video-thumbnail-container img {
  display: block;
  width: 100%;
  transition: transform 0.3s ease-in-out;
}

/* The overlay that appears on hover */
.video-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  /* Semi-transparent black */
  /* Center the icons */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  /* Space between the two icons */
  /* Hide it by default */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* --- The Hover Effects --- */
/* 1. Show the overlay on hover */
.video-thumbnail-container:hover .video-hover-overlay {
  opacity: 1;
}

/* 2. (Optional) Zoom the image slightly on hover */
.video-thumbnail-container:hover img {
  transform: scale(1.1);
}

/* --- Icon Styling --- */
/* Styling for the icon links (eye and link) */
.video-hover-overlay a {
  color: #ffffff;
  font-size: 24px;
  /* Create a circular button */
  border: 2px solid #ffffff;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  /* Center the icon inside the circle */
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* A final touch: change icon color on its own hover */
.video-hover-overlay a:hover {
  background-color: #ffffff;
  color: #000000;
}

/* 404 Page Title Styling */
.title-404 {
  color: var(--Midnight, #2C3A43);
  text-align: center;
  /* H1 - Hero Section */
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 146%;
  /* 23.36px */
  letter-spacing: 1.28px;
  text-transform: uppercase;
}

.error-404 h1 {
  color: #2C3A43;
  text-align: center;
  font-family: "DM Sans";
  font-size: 101px;
  font-style: normal;
  font-weight: 700;
  line-height: 115%;
  /* 116.15px */
  letter-spacing: -1.01px;
  margin-bottom: 30px;
}

@media(min-width:1024px) {
  .error-404 {
    padding: 50px 40px 200px;
  }
}

@media(max-width:1023px) {
  body .error-404 {
    padding: 50px 40px 100px;
  }
}

.error-404 .btn-wrapper {
  padding-top: 20px;
  justify-content: center;
  gap: 40px !important;
  display: flex;
}

.error-404 .btn-wrapper .btn+.btn {
  margin: 0 !important;
}

.error-404 h2 {
  max-width: 909px;
  margin: 0 auto;
  text-align: center;
  color: #2C3A43;
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: 115%;
  /* 48.3px */
  letter-spacing: -0.42px;
}

@media(max-width: 600px) {
  body .error-404 .btn-wrapper {
    gap: 20px !important;
  }
}

@media (max-width: 800px) {
  body .subscribe-form {
    flex-direction: column;
    gap: 20px;
  }

  .subscribe-btn.btn {
    width: 100%;
    justify-content: center;
  }
}

/*Blog meta */
.author-bio,
.list-author {
  display: none;
}

@media only screen and (max-width: 980px) and (min-width: 781px) {
  .page-id-3976 .feature-section .large-btn-white {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/*River Cruise*/
.special-note {
  color: #990000;
  font-weight: bold;
}

/* --- Responsive Table Styles --- */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.responsive-table th,
.responsive-table td {
  padding: 12px 15px;
  text-align: center;
}

.responsive-table th {
  font-weight: bold;
}

.responsive-table tr:nth-of-type(odd) {
  background-color: #F8F2E8;
}

.responsive-table td del {
  color: var(--midnight);
}

.responsive-table .early-price-header img {
  vertical-align: middle;
  margin-left: 5px;
  max-width: 20px;
  /* Adjust size as needed */
}

.sold-out {
  font-weight: bold;
  color: #d9534f;
}

.left-align-cell {
  text-align: left;
}

/* --- Media Query for Mobile Responsiveness --- */
@media screen and (max-width: 768px) {

  .blog-pagination ul,
  .blog-cat-pagination ul,
  .devotional-pagination ul,
  .author-pagination ul,
  .topic-pagination ul {
    gap: 2px !important;
  }

  .responsive-table thead {
    /* Hide the desktop headers on mobile */
    display: none;
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ddd;
  }

  .responsive-table td {
    display: block;
    text-align: right;
    /* Align cell content to the right */
    padding-left: 50%;
    /* Create space for the label */
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }

  .responsive-table td::before {
    /* Use the data-label attribute as the cell's label */
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: calc(50% - 20px);
    padding-right: 10px;
    font-weight: bold;
    text-align: left;
    /* Align the label to the left */
  }

  .left-align-cell {
    text-align: right;
    /* Maintain consistency on mobile */
  }
}

/*Pagination*/
.blog-pagination .page-numbers li .page-numbers,
.blog-cat-pagination .page-numbers li .page-numbers,
.devotional-pagination .page-numbers li .page-numbers,
.author-pagination .page-numbers li .page-numbers,
.topic-pagination .page-numbers li .page-numbers {
  display: block !important;
}

.page-numbers.current {
  color: #378b6c;
  font-weight: bold;
}

.blog-pagination ul,
.blog-cat-pagination ul,
.devotional-pagination ul,
.author-pagination ul,
.topic-pagination ul {
  gap: 30px !important;
  justify-content: center !important;
}

.authur {
  display: none;
}

/* ========================================
   Image Slider - .nlm-image-slider
   ======================================== */
/* Global box sizing */
.nlm-image-slider,
.nlm-image-slider * {
  box-sizing: border-box;
}

.slider-nlmc {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Main container */
.nlm-image-slider {
  width: 100%;
  overflow-x: hidden;
}

/* Slider wrapper */
.nlm-image-slider .slider-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
  position: relative;
  padding-bottom: 100px;
  /* space for thumbs */
  overflow: hidden;
}

/* Remove default list styling */
.nlm-image-slider .slider-wrapper li {
  list-style: none;
}

/* Main slide images */
.nlm-image-slider .slider-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Slick Dots (thumbnails) */
.nlm-image-slider .slider-wrapper .slick-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 10px;
  gap: 20px;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #fff;
}

/* Hide scrollbar in WebKit */
.nlm-image-slider .slider-wrapper .slick-dots::-webkit-scrollbar {
  display: none;
}

/* Individual thumbnail items */
.nlm-image-slider .slider-wrapper .slick-dots li {
  flex: 0 0 auto;
  width: 20%;
  max-width: 200px;
  height: auto;
}

/* Thumbnail images */
.nlm-image-slider .slider-wrapper .slick-dots li img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  transition: opacity 0.3s ease;
}

/* Slick arrows */
.nlm-image-slider .slider-wrapper .slick-prev,
.nlm-image-slider .slider-wrapper .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 24px;
}

.nlm-image-slider .slider-wrapper .slick-prev {
  left: -30px;
}

.nlm-image-slider .slider-wrapper .slick-next {
  right: -30px;
}

/* ===============================
   Responsive Styles
   =============================== */
@media screen and (max-width: 1024px) {
  .slider-nlmc {
    padding: 0 10px;
  }

  .nlm-image-slider .slider-wrapper .slick-dots li {
    width: 120px;
  }
}

@media screen and (max-width: 768px) {

  /* Hide arrows on mobile */
  .nlm-image-slider .slider-wrapper .slick-prev,
  .nlm-image-slider .slider-wrapper .slick-next {
    display: none !important;
  }

  .nlm-image-slider .slider-wrapper {
    padding-bottom: 90px;
  }

  .nlm-image-slider .slider-wrapper .slick-dots {
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 5px;
  }

  .nlm-image-slider .slider-wrapper .slick-dots li {
    width: 80px;
  }
}

/* Style for the mobile image */
.mobile-img {
  display: none;
  /* Hidden by default on desktop */
}

/* --- Media Query for Mobile Screens --- */
/* This block applies styles to screens 767px wide or smaller */
@media (max-width: 767px) {

  /* Hide the desktop image on mobile */
  .desktop-image {
    display: none;
  }

  /* Show the mobile image on mobile */
  .mobile-img {
    display: block;
    /* Or 'inline-block' depending on your layout */
    width: 100%;
  }
}

/* Style for the new search icon in the header */
.header-search-icon {
  display: flex;
  align-items: center;
  margin-left: 20px;
  /* Adjust spacing from the Give button */
  font-size: 1.2em;
  /* Adjust icon size */
  cursor: pointer;
  color: #203038;
  /* Adjust color to match your theme */
}

.header-search-icon:hover {
  opacity: 0.7;
}

/* The search form container (hidden by default) */
.header-search-form-container {
  display: none;
  /* This keeps it hidden until we click */
  position: absolute;
  top: 100%;
  /* Position it right below the header */
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  /* A solid background to hide content behind it */
  z-index: 999;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #203038;
}

/* Center the form inside the container */
.header-search-form-container .search-form-wrapper {
  max-width: 800px;
  /* Or whatever width your homepage form is */
  margin: 0 auto;
}

/* Make sure the form inside displays correctly */
.header-search-form-container .search-form {
  display: flex;
  align-items: center;
}

/* Style for the close icon inside the search form */
.close-search-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 24px;
  cursor: pointer;
  color: #203038;
}

.close-search-icon:hover {
  opacity: 0.7;
}

.page-id-18194 .download-block-content .col-left {
  flex: 1;
}

.page-id-18194 .download-block-content .col-right {
  flex: 2;
}
