/* Event Detail Page - V2 Design */

.event-detail-page-v2 {
  background: #fff;
  min-height: 100vh;
  padding: 2rem 0;
  font-family: 'Roboto Slab', serif;
  color: #333;
}

.event-detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 1. Title */
.event-page-title {
  font-family: 'Roboto Slab', serif;
  font-size: 32px;
  font-weight: 700;
  color: #7B8BA5; /* Light bluish grey as in header */
  margin-bottom: 2rem;
  line-height: 1.3;
}
.event-page-title.text-center {
  text-align: center;
}

/* 2. Hero Section with Image and Action Buttons */
.event-hero-section {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.event-hero-image-wrapper {
  position: relative;
  flex: 1;
  border-radius: 24px;
  border: 1px solid #ddd;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  background: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.event-main-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Action Buttons - Side by Side Squares */
.event-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-btn {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px dashed #ccc;
  background: #fff;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: #999;
  background: #f9f9f9;
}

.action-btn svg {
  width: 32px;
  height: 32px;
}

.btn-like:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.btn-like.liked {
  background: #ffe0e0;
  border-color: #ff6b6b;
  color: #ff6b6b;
  border-style: solid;
}

.btn-share:hover {
  border-color: #4ecdc4;
  color: #4ecdc4;
}

/* 3. Layout */
.event-content-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Left wider than Right */
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Left Column */
.section-label {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.event-body-text {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
}

.event-more-link {
  font-weight: 700;
  font-size: 18px;
  margin-top: 1rem;
}

.event-website-link {
  color: #333;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Right Column */
.event-info-box {
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.yellow-box {
  background-color: #FFF9C4; /* Light yellow */
}

.green-box {
  background-color: #E0F2F1; /* Light teal */
}

.info-row {
  margin-bottom: 0.75rem;
  font-size: 16px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-label {
  font-weight: 700;
}

.info-link {
  color: #333;
  text-decoration: underline;
  word-break: break-all;
}

.section-sublabel {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 0.75rem;
}

.benefit-list li:last-child {
  margin-bottom: 0;
}

.benefit-icon {
  font-size: 18px;
}

/* Tags */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-pill {
  background: #F5F5F5; /* Light Gray */
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  border: 1px solid #E0E0E0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.tag-pill:hover,
.tag-pill:focus {
  color: #2E4A3F;
  border-color: #C9D6D0;
}

/* 4. Related Events */
.related-events-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid #eee;
}

.related-title {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.related-card {
  background: #F3E5F5; /* Light Purple base */
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-5px);
}

.rc-image {
  height: 180px;
  background: #ddd;
  position: relative;
}

.rc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FFD700;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.rc-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-card h4 {
  font-family: 'Roboto Slab', serif;
  font-size: 16px; /* Smaller title */
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.rc-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.4;
  height: 38px; /* Approx 2 lines */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rc-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.5); /* Slight transparency */
  padding: 0.5rem;
  border-radius: 8px;
}

.rc-col {
  display: flex;
  flex-direction: column;
}

.rc-label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: #555;
}

.rc-val {
  font-size: 12px;
  color: #222;
  font-weight: 500;
}

.rc-arrow-btn {
  background: #FFD700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
  .event-content-layout {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 2rem;
  }

  .event-hero-section {
    flex-direction: column;
  }

  .event-action-buttons {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }

  .action-btn {
    width: 70px;
    height: 70px;
  }
}
