/* Community Page Specific Styles */

/* Base Layout Styles for Community Page Root Elements */
.community-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  background-color: #ffffff;
  width: 100%;
}

/* --- Modern Hero Section --- */
.community-hero-modern {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #ffffff;
  overflow: hidden;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none; /* Hidden by default on mobile/tablet */
}

@media (min-width: 1024px) {
  .hero-background-image {
    display: none;
  }
  .hero-background-video {
    display: block;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgb(51, 3, 70) 0%, rgba(0, 0, 0, .9) 80%);
  z-index: 1;
}

.header-transparent {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 50px;
  width: 100%;
}

.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    gap: 30px;
  }
  
  .nav-link {
    color: #ffffff;
    font-family: "Gotham-Medium", Helvetica;
    font-size: 16px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
  }
  
  .nav-link:hover, .nav-link.active {
    opacity: 1;
    font-weight: 700;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-icon-btn:hover {
  color: #ce4257;
}

.hero-content-modern {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-title-large {
  font-family: "Gotham-Black", Helvetica;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: lowercase;
  letter-spacing: -1px;
}

@media (min-width: 768px) {
  .hero-title-large {
    font-size: 72px;
  }
}

@media (min-width: 1024px) {
  .hero-title-large {
    font-size: 96px;
  }
}

.text-gradient {
  background: linear-gradient(90deg, #FF7F51 0%, #CE4257 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-large {
  font-family: "DM Sans", Helvetica;
  font-size: 18px;
  max-width: 800px;
  line-height: 1.6;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .hero-subtitle-large {
    font-size: 22px;
  }
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.button-primary-large {
  padding: 16px 32px;
  background: #CE4257;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.button-primary-large:hover {
  background: #a02c60;
  transform: translateY(-2px);
}

.button-secondary-large {
  padding: 16px 32px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.button-secondary-large:hover {
  background: rgba(255,255,255,0.2);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 800px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 40px;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: "Gotham-Bold", Helvetica;
  font-size: 32px;
  color: #ffffff;
}

.stat-label {
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* --- Modern Hubs Section --- */
.section-modern {
  padding: 80px 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.section-header-modern {
  display: flex;
  margin-bottom: 50px;
  gap: 20px;
}

.section-header-modern .header-content {
  margin:0 auto;
}

.section-title-modern {
  font-family: "Gotham-Bold", Helvetica;
  font-size: 30px;
  color: #111;
  margin-bottom: 15px;
  text-align: center;
}

@media (min-width: 800px) and (max-width: 1023px) {
  .section-title-modern {
    font-size: 32px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .section-title-modern {
    font-size: 40px;
  }
}

@media (min-width: 1440px) {
  .section-title-modern {
    font-size: 48px;
  }
}

.section-desc-modern {
  font-family: "DM Sans", Helvetica;
  font-size: 18px;
  color: #555;
  max-width: 800px;
  text-align: center;
  line-height: 1.3;
}

.view-all-btn {
  background: none;
  border: none;
  color: #CE4257;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.view-all-btn:hover {
  gap: 12px;
}

.view-all-btn .icon {
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
}

.hubs-grid-modern {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .hubs-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .hubs-grid-modern {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hub-card-modern {
  background: #ffffff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hub-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hub-card-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.hub-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hub-card-modern:hover .hub-card-img {
  transform: scale(1.1);
}

.hub-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: "DM Sans", Helvetica;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(5px);
}

.hub-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.hub-name {
  font-family: "Gotham-Bold", Helvetica;
  font-size: 20px;
  color: #111;
  margin: 0;
}

.hub-activity-badge {
  font-family: "DM Sans", Helvetica;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.hub-activity-badge.high {
  background-color: #e6f7e6;
  color: #2e7d32;
}

.hub-activity-badge.medium {
  background-color: #fff8e1;
  color: #f57f17;
}

.hub-description {
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.hub-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.topic-tag {
  font-family: "DM Sans", Helvetica;
  font-size: 12px;
  color: #CE4257;
  background-color: #fff0f3;
  padding: 4px 10px;
  border-radius: 12px;
}

.hub-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.hub-members-preview {
  display: flex;
  align-items: center;
}

.hub-members-preview img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
}

.hub-members-preview img:first-child {
  margin-left: 0;
}

.more-members {
  font-family: "DM Sans", Helvetica;
  font-size: 12px;
  color: #666;
  margin-left: 8px;
  font-weight: 600;
}

.join-hub-btn {
  background-color: #111;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.join-hub-btn:hover {
  background-color: #CE4257;
}

/* --- Split Section (Discussions & Events) --- */
.split-section-modern {
  background-color: #330346;
  width: 100%;
}

.split-section-modern .split-section-modern--wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 30px;
  width: 100%;
}

@media (min-width: 800px) and (max-width: 1023px) {
  .split-section-modern .split-section-modern--wrapper {
    flex-direction: row;
    padding:50px;
    gap: 30px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .split-section-modern .split-section-modern--wrapper {
    flex-direction: row;
    padding: 80px;
    gap: 50px;
  }
}

@media (min-width: 1440px) {
  .split-section-modern .split-section-modern--wrapper {
    flex-direction: row;
    padding: 150px 0;
    gap: 50px;
    max-width: 1260px;
    margin: 0 auto;
  }
}

.discussions-column-modern {
  flex: 2;
}

.events-column-modern {
  flex: 1;
}

.column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.column-title {
  font-family: "Gotham-Bold", Helvetica;
  font-size: 24px;
  color: #FFF;
  margin: 0;
}

.column-link {
  font-family: "DM Sans", Helvetica;
  font-size: 14px;
  color: #f68495;
  text-decoration: none;
  font-weight: 600;
}

/* Discussion List Modern */
.discussion-list-modern {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.discussion-card-modern {
  background: #ffffff;
  border-radius: 2px;
  padding: 25px;
  display: flex;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: box-shadow 0.2s;
}

.discussion-card-modern:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.discussion-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.discussion-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f5f5f5;
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 50px;
}

.vote-icon {
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  color: #666;
  font-size: 18px;
  cursor: pointer;
}

.vote-icon:hover {
  color: #CE4257;
}

.vote-count {
  font-family: "Gotham-Bold", Helvetica;
  font-size: 16px;
  color: #111;
  margin-top: 4px;
}

.discussion-main {
  flex: 1;
}

.discussion-title {
  font-family: "Gotham-Medium", Helvetica;
  font-size: 18px;
  color: #111;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.discussion-preview {
  font-family: "DM Sans", Helvetica;
  font-size: 15px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.discussion-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  color: #888;
}

.discussion-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar-tiny {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.meta-dot {
  font-size: 8px;
}

.discussion-tags {
  display: flex;
  gap: 8px;
}

.tag {
  background-color: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #555;
}

.discussion-replies {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.discussion-replies .icon {
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
}

/* Event List Modern */
.event-list-modern {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-card-modern {
  background: #ffffff;
  border-radius: 2px;
  padding: 20px;
  display: flex;
  align-items: self-start;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.event-date-box {
  background-color: #fff0f3;
  color: #CE4257;
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.date-month {
  font-family: "Gotham-Bold", Helvetica;
  font-size: 12px;
  text-transform: uppercase;
}

.date-day {
  font-family: "Gotham-Black", Helvetica;
  font-size: 24px;
  line-height: 1;
}

.event-info {
  flex: 1;
}

.event-name {
  font-family: "Gotham-Bold", Helvetica;
  font-size: 16px;
  color: #111;
  margin: 0 0 6px 0;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  color: #666;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-meta i {
  color: #CE4257;
  width: 16px;
  text-align: center;
}

.event-action-btn {
  padding: 8px 16px;
  border: 1px solid #CE4257;
  color: #CE4257;
  background: transparent;
  border-radius: 6px;
  font-family: "Gotham-Medium", Helvetica;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.event-action-btn:hover {
  background: #CE4257;
  color: #ffffff;
}

/* --- Modern Testimonial Section --- */
.testimonial-section-modern {
  background-color: #ffffff;
  text-align: center;
}

.section-modern.testimonial-section-modern {
  padding: 50px 30px;
}

@media (min-width: 800px) and (max-width: 1023px) {
  .section-modern.testimonial-section-modern {
    padding: 50px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .section-modern.testimonial-section-modern{
    padding: 80px;
  }
}

@media (min-width: 1440px) {
  .section-modern.testimonial-section-modern {
    padding: 150px 0;
    max-width: 1260px;
    margin: 0 auto;
  }
}

.section-header-centered {
  margin-bottom: 60px;
}

.testimonial-slider-modern {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.testimonial-slider-modern::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Webkit */
}

.testimonial-card-modern {
  background: #ffffff;
  border-radius: 2px;
  padding: 40px;
  min-width: 100%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  border: 1px solid #e7e7e7;
}

@media (min-width: 768px) {
  .testimonial-card-modern {
    min-width: calc(50% - 15px);
  }
}

@media (min-width: 1024px) {
  .testimonial-card-modern {
    min-width: calc(33.333% - 20px);
  }
}

.quote-icon {
  font-family: "Font Awesome 6 Sharp-Regular", Helvetica;
  font-size: 40px;
  color: #330346;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: "DM Sans", Helvetica;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  margin-bottom: 30px;
  flex: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar-modern {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testimonial-details {
  text-align: left;
}

.user-name {
  display: block;
  font-family: "Gotham-Bold", Helvetica;
  font-size: 16px;
  color: #111;
}

.user-role {
  display: block;
  font-family: "DM Sans", Helvetica;
  font-size: 13px;
  color: #CE4257;
  font-weight: 600;
}

.testimonial-controls-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background-color: #CE4257;
  width: 30px;
  border-radius: 5px;
}

.general-tablet.community-page .components-8 {
  padding:0 !important;
}


.general-tablet.community-page .components-8.hub--wrapper {
  background-color: #330346;
}

.testimonial-section-modern--wrapper {
  background:#fff;
  width:100%;
}

.section-modern.hubs-section {
  background:#fff;
  padding: 50px 30px 50px;
}

@media (min-width: 800px) and (max-width: 1023px) {
  .section-modern.hubs-section {
    padding: 50px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .section-modern.hubs-section {
    padding: 80px;
  }
}

@media (min-width: 1440px) {
  .section-modern.hubs-section {
    padding: 60px 50px 50px;
  }
}

.footer--wrapper {
  width:100%;
}


.general-tablet.community-page .general-tablet.general-mobile {
  background-color:transparent;
  z-index: 11;
}
.general-tablet.community-page .general-tablet.general-mobile .nav-image {
  background-color:transparent;
}
.general-tablet.community-page .general-tablet.general-mobile .nav-image .header-5 {
  padding: 30px;
}
.general-tablet.community-page .general-tablet.general-mobile .user-name {
  color:#FFF;
}

.general-tablet.community-page .general-tablet.div-80 {
  background-color:transparent;
  z-index: 11;
}
.general-tablet.community-page .general-tablet.div-80 .nav-image {
  background-color:transparent;
}
.general-tablet.community-page .general-tablet.div-80 .nav-image .header-8 {
  padding: 30px 50px;
}
.general-tablet.community-page .general-tablet.div-80 .user-name {
  color:#FFF;
}

.general-tablet.community-page .general-tablet.general-small {
  background-color:transparent;
  z-index: 99;
}
.general-tablet.community-page .general-tablet.general-small .nav-image-2 {
  background-color:transparent;
}
.general-tablet.community-page .general-tablet.general-small .nav-image-2 .header-9 {
  padding: 50px 80px 50px;
}

.general-tablet.community-page .general-tablet.general-desktop {
  background-color:transparent;
  z-index: 99;
}
.general-tablet.community-page .general-tablet.general-desktop .nav-image-2 {
  background-color:transparent;
}
.general-tablet.community-page .general-tablet.general-desktop .nav-image-2 .header-9 {
  padding: 50px 80px 50px;
}