/* ====== Events Page Styles ====== */
.events-hero {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
  overflow: hidden;
}

.events-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(106, 200, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(27, 90, 122, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(106, 200, 198, 0.1);
  border: 1px solid rgba(106, 200, 198, 0.3);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6ac8c6;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.title-highlight {
  background: linear-gradient(135deg, #6ac8c6 0%, #1b5a7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: black!important;
  margin-left: 0px!important;
  opacity: 0.9!important;
  margin: 0 auto;
  line-height: 1.6;
}

/* Events Filter Section */
.events-filter-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.filter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e9ecef;
  background: white;
  color: #6c757d;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
  border-color: #6ac8c6;
  background: #6ac8c6;
  color: white;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box i {
  position: absolute;
  left: 1rem;
  color: #6c757d;
  z-index: 2;
}

.search-box input {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  background: white;
  width: 300px;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #6ac8c6;
  box-shadow: 0 0 0 3px rgba(106, 200, 198, 0.1);
}

/* Events Grid Section */
.events-grid-section {
  padding: 80px 0;
  background: white;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.event-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.event-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6ac8c6 0%, #1b5a7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover .event-overlay {
  opacity: 1;
}

.event-badge .badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge.upcoming {
  background: #28a745;
  color: white;
}

.badge.past {
  background: #6c757d;
  color: white;
}

.event-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-view,
.btn-share {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6ac8c6;
}

.btn-view:hover,
.btn-share:hover {
  background: #6ac8c6;
  color: white;
  transform: scale(1.1);
}

.event-content {
  padding: 1.5rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.event-date,
.event-time,
.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.event-date i,
.event-time i,
.event-location i {
  color: #6ac8c6;
  width: 16px;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-align: left;
}

.event-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-title a:hover {
  color: #6ac8c6;
}

.event-excerpt {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.type-badge {
  background: rgba(106, 200, 198, 0.1);
  color: #6ac8c6;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.price {
  font-weight: 700;
  color: #2c3e50;
}

.price.free {
  color: #28a745;
}

.no-events {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
}

.no-events-icon {
  font-size: 4rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.no-events h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.no-events p {
  color: #6c757d;
}

.load-more-wrapper {
  text-align: center;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #6ac8c6 0%, #1b5a7a 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(106, 200, 198, 0.3);
}

.btn-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(106, 200, 198, 0.4);
}

/* Single Event Styles */
.event-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.event-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.event-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-breadcrumb a:hover {
  color: #6ac8c6;
  text-decoration: underline;
}

.event-breadcrumb span {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.event-header {
  max-width: 800px;
}

.event-badge {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge.upcoming {
  background: #28a745;
  color: white;
}

.badge.past {
  background: #6c757d;
  color: white;
}

.type-badge {
  background: rgba(106, 200, 198, 0.2);
  color: #6ac8c6;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(106, 200, 198, 0.3);
}

.event-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.event-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.meta-item i {
  color: #6ac8c6;
  width: 20px;
  font-size: 1.1rem;
}

/* Event Content Section */
.event-content-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.event-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.event-main {
  background: white;
}

.event-description h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.event-description {
  margin-bottom: 3rem;
  line-height: 1.8;
  color: #6c757d;
}

.event-details {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-section h3 i {
  color: #6ac8c6;
}

.agenda-list,
.speakers-list {
  line-height: 1.6;
  color: #6c757d;
}

/* Sidebar */
.event-sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.sidebar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.sidebar-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item strong {
  color: #2c3e50;
  font-weight: 600;
}

.info-item span {
  color: #6c757d;
}

.price {
  font-weight: 700;
  color: #6ac8c6;
}

.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(106, 200, 198, 0.3);
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(106, 200, 198, 0.4);
  color: white;
  background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 50%, #0e2954 100%);
}

.social-share {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.share-btn:hover {
  border-color: #6ac8c6;
  background: #6ac8c6;
  color: white;
}

.share-btn.facebook:hover {
  border-color: #1877f2;
  background: #1877f2;
}

.share-btn.twitter:hover {
  border-color: #1da1f2;
  background: #1da1f2;
}

.share-btn.linkedin:hover {
  border-color: #0077b5;
  background: #0077b5;
}

.share-btn.whatsapp:hover {
  border-color: #25d366;
  background: #25d366;
}

/* Related Events Section */
.related-events-section {
  padding: 80px 0;
  background: white;
}

.related-events-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 3rem;
}

.related-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.related-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.related-event-image {
  height: 200px;
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-event-card:hover .related-event-image img {
  transform: scale(1.05);
}

.related-event-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.related-event-content {
  padding: 1.5rem;
}

.related-event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.related-event-date {
  color: #6ac8c6;
  font-weight: 600;
  font-size: 0.875rem;
}

.related-event-type {
  background: rgba(106, 200, 198, 0.1);
  color: #6ac8c6;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.related-event-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.related-event-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-event-title a:hover {
  color: #6ac8c6;
}

.related-event-excerpt {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Single Event Styles */
.event-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.event-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.event-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-breadcrumb a:hover {
  color: #6ac8c6;
  text-decoration: underline;
}

.event-breadcrumb span {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.event-header {
  max-width: 800px;
}

.event-badge {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge.current {
  background: #ffc107;
  color: #000;
}

.badge.upcoming {
  background: #28a745;
  color: white;
}

.badge.past {
  background: #6c757d;
  color: white;
}

.type-badge {
  background: rgba(106, 200, 198, 0.2);
  color: #6ac8c6;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(106, 200, 198, 0.3);
}

.event-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.event-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.meta-item i {
  color: #6ac8c6;
  width: 20px;
  font-size: 1.1rem;
}

/* Event Content Section */
.event-content-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.event-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.event-main {
  background: white;
}

.event-description h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.event-description {
  margin-bottom: 3rem;
  line-height: 1.8;
  color: #6c757d;
}

.event-details {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-section h3 i {
  color: #6ac8c6;
}

.agenda-list,
.speakers-list {
  line-height: 1.6;
  color: #6c757d;
}

/* Sidebar */
.event-sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.sidebar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.sidebar-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item strong {
  color: #2c3e50;
  font-weight: 600;
}

.info-item span {
  color: #6c757d;
}

.price {
  font-weight: 700;
  color: #6ac8c6;
}

.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(106, 200, 198, 0.3);
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(106, 200, 198, 0.4);
  color: white;
  background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 50%, #0e2954 100%);
}

.social-share {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.share-btn:hover {
  border-color: #6ac8c6;
  background: #6ac8c6;
  color: white;
}

.share-btn.facebook:hover {
  border-color: #1877f2;
  background: #1877f2;
}

.share-btn.twitter:hover {
  border-color: #1da1f2;
  background: #1da1f2;
}

.share-btn.linkedin:hover {
  border-color: #0077b5;
  background: #0077b5;
}

.share-btn.whatsapp:hover {
  border-color: #25d366;
  background: #25d366;
}

/* Related Events Section */
.related-events-section {
  padding: 80px 0;
  background: white;
}

.related-events-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 3rem;
}

.related-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-event-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.related-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.related-event-image {
  height: 200px;
  overflow: hidden;
}

.related-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-event-card:hover .related-event-image img {
  transform: scale(1.05);
}

.related-event-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.related-event-content {
  padding: 1.5rem;
}

.related-event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.related-event-date {
  color: #6ac8c6;
  font-weight: 600;
  font-size: 0.875rem;
}

.related-event-type {
  background: rgba(106, 200, 198, 0.1);
  color: #6ac8c6;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.related-event-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.related-event-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-event-title a:hover {
  color: #6ac8c6;
}

.related-event-excerpt {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.875rem;
}

/* Responsive Design for Events - 1199px and below */
@media (max-width: 1199.98px) {
  /* Prevent horizontal scroll */
  body.single-event {
    overflow-x: hidden;
  }
  
  .event-content-section .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
  
  /* Single Event Hero */
  .event-hero {
    height: auto;
    min-height: 350px;
    padding: 80px 0 60px;
    overflow: hidden;
  }
  
  .event-hero .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: left;
  }
  
  .event-header {
    max-width: 100%;
  }
  
  .event-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .event-meta {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .meta-item {
    font-size: 0.95rem;
  }
  
  .event-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    text-align: left;
  }
  
  /* Event Content Section */
  .event-content-section {
    padding: 60px 0;
    overflow-x: hidden;
  }
  
  .event-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  
  .event-sidebar {
    position: static;
    order: -1;
    width: 100%;
  }
  
  .event-main {
    order: 1;
    width: 100%;
  }
  
  .event-description {
    margin-bottom: 2rem;
    text-align: left;
  }
  
  .event-description h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .event-details {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .detail-section {
    margin-bottom: 1.5rem;
  }
  
  .detail-section h3 {
    font-size: 1.15rem;
    text-align: left;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
  }
  
  .gallery-item {
    width: 100%;
    max-width: 100%;
  }
  
  .gallery-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
  }
  
  /* Sidebar Cards */
  .sidebar-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .sidebar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .info-item {
    padding: 0.625rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    text-align: left;
  }
  
  .info-item strong {
    font-size: 0.9rem;
  }
  
  .info-item span {
    font-size: 0.9rem;
  }
  
  .btn-register {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .share-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 1024px) {
  .event-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .event-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .events-hero {
    padding: 80px 0;
  }
  
  .filter-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .filter-tabs {
    justify-content: center;
  }
  
  .search-box input {
    width: 100%;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .event-card {
    margin: 0 auto;
    max-width: 400px;
  }
  
  /* Single Event Mobile */
  .event-hero {
    height: auto;
    min-height: 280px;
    padding: 60px 0 40px;
  }
  
  .event-hero .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .event-content-section {
    padding: 40px 0;
  }
  
  .event-content-section .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .event-layout {
    gap: 1.5rem;
  }
  
  .event-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.75rem;
  }
  
  .event-meta {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .meta-item {
    font-size: 0.9rem;
  }
  
  .event-description {
    margin-bottom: 1.5rem;
  }
  
  .event-description h2 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
  }
  
  .event-details {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .detail-section {
    margin-bottom: 1.25rem;
  }
  
  .detail-section h3 {
    font-size: 1.1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
  }
  
  .gallery-image {
    height: 150px;
  }
  
  .event-gallery {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .event-gallery h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .sidebar-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
  }
  
  .info-item {
    padding: 0.5rem 0;
  }
  
  .btn-register {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .share-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .related-events-grid {
    grid-template-columns: 1fr;
  }
  
  /* Lightbox Mobile */
  .lightbox-content {
    padding: 10px;
    width: 95%;
  }
  
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 32px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    padding: 10px 15px;
    font-size: 20px;
  }
  
  .lightbox-prev {
    margin-left: 10px;
  }
  
  .lightbox-next {
    margin-right: 10px;
  }
  
  .lightbox-counter {
    bottom: 10px;
    font-size: 14px;
    padding: 8px 16px;
  }
  
  /* Container fixes */
  .event-content-section .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .event-hero .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Additional responsive fixes for single event - prevent overflow */
@media (max-width: 1199.98px) {
  /* Override inline styles from single-event.php */
  .event-hero {
    height: auto !important;
    min-height: 350px !important;
    padding: 80px 0 60px !important;
  }
  
  .event-content-section .container,
  .event-hero .container {
    overflow-x: hidden;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .event-description img,
  .event-description iframe,
  .event-description video {
    max-width: 100% !important;
    height: auto;
  }
  
  .agenda-list img,
  .speakers-list img {
    max-width: 100% !important;
    height: auto;
  }
  
  .event-description table {
    display: block;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }
  
  .event-description table td,
  .event-description table th {
    white-space: nowrap;
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  /* Fix gallery overflow */
  .gallery-grid {
    overflow: visible;
  }
  
  .gallery-item {
    overflow: hidden;
  }
}

@media (max-width: 576px) {
  .events-hero {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .filter-tabs {
    flex-direction: column;
    width: 100%;
  }
  
  .filter-tab {
    width: 100%;
    text-align: center;
  }
  
  /* Single Event Small Mobile */
  .event-hero {
    height: auto;
    min-height: 220px;
    padding: 50px 0 30px;
  }
  
  .event-hero .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .event-content-section .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .event-breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .event-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    margin-bottom: 0.625rem;
    line-height: 1.3;
  }
  
  .event-badge {
    flex-direction: row;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
  }
  
  .badge,
  .type-badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.7rem;
  }
  
  .event-meta {
    gap: 0.625rem;
  }
  
  .meta-item {
    font-size: 0.85rem;
  }
  
  .event-content-section {
    padding: 30px 0;
  }
  
  .event-layout {
    gap: 1.25rem;
  }
  
  .event-description {
    margin-bottom: 1.25rem;
  }
  
  .event-description h2 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  
  .event-details {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
  }
  
  .detail-section {
    margin-bottom: 1rem;
  }
  
  .detail-section h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .gallery-image {
    height: 120px;
  }
  
  .event-gallery {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .event-gallery h2 {
    font-size: 1.15rem;
    margin-bottom: 0.875rem;
  }
  
  .sidebar-card {
    padding: 0.875rem;
    margin-bottom: 0.875rem;
    border-radius: 10px;
  }
  
  .sidebar-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .info-item {
    padding: 0.5rem 0;
    font-size: 0.85rem;
  }
  
  .info-item strong {
    font-size: 0.85rem;
  }
  
  .info-item span {
    font-size: 0.85rem;
  }
  
  .btn-register {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 40px;
  }
  
  .share-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.5rem;
  }
  
  .share-btn i {
    font-size: 0.9rem;
  }
}
