body.page_session_detail {
  overflow-y: auto;
  height: auto;
}

body.page_session_detail .home_layout {
  height: auto;
  min-height: 100svh;
}

body.page_session_detail .home_content {
  flex: 1;
  height: auto;
  overflow: visible;
  padding-top: 24px;
  padding-bottom: 40px;
}

.session_detail_container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.back_link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  margin-bottom: 16px;
}

.back_link:hover {
  color: #000;
}

.session_header {
  text-align: center;
  margin-bottom: 24px;
}

.session_title {
  color: #333;
  margin: 0 0 8px 0;
  font-size: 32px;
}

.session_meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

.session_meta .session_type {
  color: #333;
  text-transform: uppercase;
}

.session_hero_image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
  margin-bottom: 32px;
}

.session_hero_image--portrait {
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .session_hero_image--portrait {
    aspect-ratio: 2 / 3;
    max-height: 70vh;
  }
}

.session_content_wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.session_blog_content h2 {
  margin-top: 0;
  color: #333;
}

.session_blog_content p {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.session_testimonial {
  border-left: 4px solid #e0e0e0;
  padding-left: 20px;
  margin: 0;
  font-size: 18px;
  font-style: italic;
  color: #444;
  line-height: 1.7;
}

.session_testimonial p {
  margin: 0;
}

.session_testimonial cite {
  display: block;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  color: #333;
  margin-top: 12px;
}

/* --- NEW: Style the testimonial as a card --- */
.session_testimonial_aside {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
}

.session_info_box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}

.session_info_box h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #333;
  font-size: 20px;
}

.session_details_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.session_details_list li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
  color: #555;
}

.session_details_list li:last-child {
  border-bottom: none;
}

.session_details_list strong {
  color: #333;
  margin-right: 8px;
}

.feature_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature_list li {
  margin-bottom: 16px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
}

.feature_list .icon {
  width: 24px;
  text-align: center;
  color: #4caf50;
  font-size: 18px;
}

/* --- END NEW --- */

.highlight_dates {
  background-color: #fff5f5;
  color: #c41e3a;
  padding: 16px;
  border-radius: 6px;
  font-size: 18px;
  text-align: center;
  margin-bottom: 24px;
  border: 1px solid #c41e3a;
}

.highlight_dates i {
  margin-right: 6px;
}

.policy_note {
  font-size: 14px;
  color: #666;
  background: #f9fafb;
  padding: 12px;
  border-radius: 6px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
  margin-top: 24px;
}


.gallery_title {
  text-align: center;
  font-size: 28px;
  color: #333;
  margin-bottom: 24px;
  font-weight: 600;
}

.gallery_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Re-using the .gallery_item from components.css */
/* No new styles needed here */

.session_cta_container {
  text-align: center;
  margin-top: 48px;
  padding: 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
}

.session_cta_container h3 {
  margin: 0 0 16px 0;
  font-size: 22px;
  color: #333;
}

@media (min-width: 769px) {
  .session_content_wrapper {
    /* MODIFIED: Removed the 2-column layout */
    /* grid-template-columns: 2fr 1fr; */
    gap: 40px;
  }

  .session_testimonial_aside {
    /* MODIFIED: Removed padding-top and added larger padding */
    padding: 32px;
  }

  .session_title {
    font-size: 38px;
  }
}