/* EVENT PAGE */
.event-page {
  margin-top: 32px;
}

.event-intro-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-intro {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
}

.event-pill-badge-wrapper {
  display: flex;
  justify-content: center;
}

.event-pill-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 100px;
  padding: 4px 8px;
  background-color: #FEF2F2;
  border: 1px solid #FCCCCC;
  color: #B52221;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.event-pill-period {
  background-color: white;
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid #FCCCCC;
}

.event-intro .event-title {
  margin-top: 16px;
  margin-bottom: 0px;
  font-size: 30px;
  line-height: 38px;
  font-weight: 500;
  color: #101828;
  text-align: start;
}

.event-subtitle-wrapper {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 24px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 30px;
  color: #475467;
  font-weight: 400;
}

.event-intro-image-wrapper {
  width: 100%;
  height: 342px;
  margin-top: 32px;
}

.event-intro-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
}

.event-page .section-title {
  font-size: 30px;
  line-height: 38px;
  font-weight: 600;
  color: #101828;
}

@media (min-width: 1230px) {
  .event-page {
      margin-top: 26px;
  }

  .event-intro-wrapper {
      align-items: center;
  }

  .event-intro {
      max-width: 1024px;
      align-items: center;
  }

  .event-intro .event-title {
      font-size: 72px;
      line-height: 90px;
      font-weight: 500;
      text-align: center;
  }

  .event-subtitle-wrapper {
      align-items: center;
  }

  .event-intro .event-subtitle {
      font-weight: 700;
      text-align: center;
  }

  .event-intro .event-subtitle-2 {
      text-align: center;
  }

  .event-intro-image-wrapper {
      max-width: 95%;
      height: 360px;
      margin-top: 48px;
  }

  .event-page .section-title {
      font-size: 48px;
      line-height: 60px;
  }
}

.separator {
  margin: 40px 0;
  height: 1px;
  background-color: #E9E9E9;
}

/* ============================================
 GALLERY SECTION - ON PAGE
 ============================================ */
.gallery-section {
  margin: 40px 0;
  width: 100%;
}

.gallery-section .title {
  font-size: 48px;
  line-height: 60px;
  font-weight: 600;
  color: black;
  margin-bottom: 64px;
  text-align: left;
}

/* Gallery Viewer Container */
.gallery-viewer-container {
  width: 100%;
  position: relative;
}

/* Main Image Display */
.gallery-main-display {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(255, 255, 255, 1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

.gallery-main-image {
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.gallery-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Gallery Arrows (ON PAGE) */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 100%;
  color: black;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-left {
  left: 20px;
}

.gallery-arrow-right {
  right: 20px;
}

/* Thumbnail Slider Wrapper */
.gallery-thumbnails-wrapper {
  width: 100%;
  position: relative;
  background-color: #95201F;
}

#gallery-thumbnails {
  display: none;
}

.gallery-thumbnails-slider {
  width: 100%;
  margin: 0 auto;
  max-width: 400px;
  padding-top: 4px
}

@media (min-width: 830px) {
  .gallery-thumbnails-slider {
    max-width: 800px;
  }
}

@media (min-width: 1230px) {
  .gallery-thumbnails-slider {
    max-width: 1200px;
  }
}


.slick-list {
  padding: 0 !important;
  margin-left:-16px;
}

.slick-slide {
  margin-left:16px;
}

.gallery-thumb-item {
  padding: 0 8px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.gallery-thumb-item img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 8px;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  opacity: 1;
}

/* .gallery-thumb-item:hover img {
  opacity: 0.8;
} */

.gallery-thumb-item.active img {
  border-color: #B52221;
  /* opacity: 1; */
}

/* Image Counter */
.gallery-counter {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #475467;
}

.gallery-counter #gallery-current {
  color: #B52221;
  font-size: 18px;
}

/* ============================================
 SIMPLE LIGHTBOX (FOR FULL VIEW ONLY)
 ============================================ */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.lightbox-image-container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Lightbox Close Button */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}

/* Lightbox Arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow-left {
  left: 30px;
}

.lightbox-arrow-right {
  right: 30px;
}

/* @media (min-width: 830px) {
  .gallery-thumbnails-wrapper {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding-bottom: 16px;
  }
} */


/* ============================================
 PREZENTĂRI SECTION
 ============================================ */
.prezentari-section {
  padding: 32px 0;
  width: 100%;
}

/* Prezentari Grid */
.prezentari-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 48px;
  width: 100%;
}

/* ============================================
 BASE CARD STYLES (Mobile - All Vertical)
 ============================================ */
.prezentare-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Prezentare Image */
.prezentare-image {
  width: 100%;
  height: 100%;
  aspect-ratio:16/9;
  overflow: hidden;
  background: gray;
  border-radius: 16px;
}

.prezentare-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prezentare Content */
.prezentare-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prezentare-title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #101828;
  margin-top: 20px;
}

.prezentare-password-label {
  margin-top: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: #475467;
}

/* Download Section */
.prezentare-download {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prezentare-download .sdm_download_button_box_default {
  margin: 0;
}

/* Simple Download Monitor Styling */
.prezentare-download .sdm_enter_password_label_text {
  display: none !important;
}

.prezentare-download .sdm_download_item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prezentare-download .sdm_pass_text {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 8px;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  color: #101828;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.prezentare-download .sdm_pass_text:focus {
  border-color: #B52221;
  box-shadow: 0 0 0 3px rgba(181, 34, 33, 0.1);
}

/* Download Button */
.sdm_download {
  display: block;
  background: #D62D2C !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  min-width: 100px !important;
}

.sdm_download:hover {
  background: #B52221 !important;
}

/* ============================================
 DESKTOP LARGE
 ============================================ */
@media (min-width: 1230px) {
  .prezentari-section {
      padding: 96px 0;
  }

  .prezentari-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 64px 48px;
  }

  .prezentari-grid.small-cards {
    margin-top: 64px;
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* VERTICAL CARDS (First 4) - Keep vertical layout */
  .prezentare-card-vertical {
      flex-direction: column;
  }
  
  .prezentare-card-vertical .prezentare-image {
      width: 100%;
  }

  .prezentare-card-horizontal {
      flex-direction: row;
      align-items: stretch;
  }

  .prezentare-card-horizontal .prezentare-content {
      padding: 0 0 0 20px;
  }

  .prezentare-card-horizontal .prezentare-title {
      margin-top: 0;
  }

  /* Horizontal Cards - Slightly larger */
  .prezentare-card-horizontal .prezentare-image {
      width: 200px;
      min-height: 212px;
  }
}

/* ============================================
 ERROR & SUCCESS MESSAGES
 ============================================ */
.prezentare-download .sdm_download_error {
  color: #D62D2C;
  font-size: 13px;
  line-height: 18px;
  margin-top: 4px;
}

.prezentare-download .sdm_download_success {
  color: #079455;
  font-size: 13px;
  line-height: 18px;
  margin-top: 4px;
}

/* Additional SDM Plugin Elements */
.prezentare-download .sdm_download_link {
  text-decoration: none;
}

.prezentare-download .sdm_download_item_top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}


.partners-section {
  padding-top: 24px;
  width: 100%;
}

.media-section {
  padding-top: 32px;
  width: 100%;
}

/* Partner Filters (Tabs) */
.partners-media-filters {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  margin-bottom: 32px;
  border-bottom: 2px solid #EAECF0;
}

.partner-media-filter-btn {
  background: transparent;
  border: none;
  padding:  0 4px 12px 4px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #667085;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.partner-media-filter-btn:hover {
  color: #101828;
}

.partner-media-filter-btn.active {
  color: #D62D2C;
  border-bottom-color: #D62D2C;
  font-weight: 600;
}

/* Partners Grid */
.partners-media-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

/* Partner Item */
.partner-media-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.partner-media-item.hidden {
  display: none;
}

/* Partner Logo */
.partner-media-logo {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-media-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* ============================================
 RESPONSIVE - DESKTOP
 ============================================ */


@media (min-width: 1200px) {
  
  .partners-section {
      padding-top: 60px;
      width: 100%;
  }

  .media-section {
      padding-top: 60px;
      width: 100%;
  }

  .partner-media-filter-btn {
      font-size: 16px;
  }

  .partners-media-wrapper {
      padding-left: 70px;
      padding-right: 70px;
  }

  .partner-media-logo {
      width: 170px;
      min-width: 170px;
      max-width: 170px;
  }
}

/* ============================================
 SPEAKERI SECTION (Upcoming Events)
 ============================================ */
.speakeri-section {
  margin-top: 32px;
  padding: 32px 0;
  width: 100%;
}

/* Speakeri Container */
.speakeri-container {
  width: 100%;
  padding-bottom: 60px;
}

/* Speaker Item */
.speaker-item {
  padding: 0 12px;
  outline: none;
}

/* Speaker Image */
.speaker-image-wrapper {
  width: 100%;
  height: 296px;
  border-radius: 12px;
  overflow: hidden;
  background: gray;
}

.speaker-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Speaker Info */
.speaker-info {
  margin-top: 24px;
  text-align: left;
}

.speaker-name {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #101828;
}

.speaker-company {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #B52221;
  margin-top: 4px;
}

/* Slick Slider Arrows for Mobile */
.speakeri-container.slick-initialized .slick-arrow {
  position: absolute;
  bottom: 0;
  top: auto;
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid #EAECF0;
  border-radius: 100%;
  cursor: pointer;
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.speakeri-container.slick-initialized .slick-prev {
  left: 0px;
}

.speakeri-container.slick-initialized .slick-next {
  left: 64px; 
}

.speakeri-container.slick-initialized .slick-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (min-width: 1230px) {
  .speakeri-section {
      margin-top: 68px;
      padding: 48px 0;
  }

  .speakeri-container {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr);
      gap: 48px 32px;
      padding-bottom: 0;
  }
}

/* ============================================
 PROGRAM SECTION
 ============================================ */
.event-schedule-section {
  padding: 32px 0;
  background: #FFFFFF;
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.program-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: #101828;
  margin: 0;
}

.program-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #D62D2C;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.program-download-btn:hover {
  background: #B52221;
  color: #FFFFFF;
}

.program-download-btn i {
  font-size: 14px;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.program-item {
  border-bottom: 1px solid #EAECF0;
  background: #FFFFFF;
}

.program-item.hidden {
  display: none;
}

.program-item:last-child {
  border-bottom: none;
}

.program-item-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 24px 0;
  cursor: pointer;
}

.program-header-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding-right: 12px;
}

.program-time {
  display: inline-block;
  padding: 4px 10px;
  background: #FEF2F2;
  color: #D62D2C;
  border: 1px solid #FCCCCC;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  border-radius: 8px;
  width: fit-content;
}

.program-activity {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: #101828;
  margin: 0;
}

.program-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.program-toggle-btn i {
  font-size: 16px;
  color: #98A2B3;
}

.program-item.active .program-toggle-btn {
  transform: rotate(180deg);
}

.program-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.program-item.active .program-item-content {
  max-height: 2000px;
  padding-bottom: 24px;
}

.program-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* All Attendees Badge and Text */
.program-attendees {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-attendees-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: white;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #344054;
  width: fit-content;
}

.program-attendees-badge i {
  font-size: 12px;
  color: #667085;
}

.program-attendees-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 20px;
  color: #475467;
}

/* Description Styling */
.program-description {
  font-size: 16px;
  line-height: 24px;
  color: #475467;
}

.program-description p {
  margin: 0 0 16px 0;
  color: #475467;
}

.program-description p:last-child {
  margin-bottom: 0;
}

.program-description ul,
.program-description ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
  color: #475467;
}

.program-description ul:last-child,
.program-description ol:last-child {
  margin-bottom: 0;
}

.program-description li {
  margin-bottom: 8px;
  color: #475467;
}

.program-description li:last-child {
  margin-bottom: 0;
}

/* Desktop Styles */
@media (min-width: 830px) {
  .event-schedule-section {
      padding: 48px 0;
  }

  .program-header-content {
      flex-direction: row;
      align-items: start;
  }

  .program-attendees {
      flex-direction: row;
      align-items: flex-start;
      gap: 12px;
  }

  .program-attendees-badge {
      flex-shrink: 0;
      margin-top: 2px;
  }
}

@media (min-width: 1230px) {
  .program-header {
      margin-bottom: 40px;
  }
}

/* ============================================
 PARTICIPANTS SECTION
 ============================================ */
.participants-section {
  padding: 48px 0;
  background: #95201F;
}

/* Top CTA Section */
.participants-cta-section {
  position: relative;
  overflow: hidden;
}

.participants-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.participants-cta-content {
  flex: 1;
  min-width: 300px;
}

.participants-cta-title {
  font-size: 48px;
  line-height: 60px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.participants-cta-subtitle {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #FCCCCC;
  margin-top: 24px;
}

.participants-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #D62D2C;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none   ;
  transition: all 0.3s ease;
  border: 1px solid #D62D2C;
  margin-top: 48px;
}

.participants-cta-button:hover {
  background: transparent;
}

.participants-cta-button i {
  font-size: 14px;
}

.participants-cta-image {
  flex-shrink: 0;
  max-width: 500px;
}

.participants-cta-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bottom List Section */
.participants-list-section {
  margin-top: 64px;
}

.participants-list-title {
  font-size: 36px;
  line-height: 44px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
}

.participants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  margin-top: 64px;
}

.participant-item {
  display: flex;
  text-align: center;
  transition: opacity 0.3s ease;
}

.participant-item.hidden {
  display: none;
}

.participant-name {
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
}

.participant-company {
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
}

.participants-show-more {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.participants-show-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #FFFFFF;
  color: #B52221;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  border: 2px solid #FFFFFF;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.participants-show-more-btn i {
  font-size: 14px;
}

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

@media (min-width: 1230px) {
  .participants-section {
      padding: 40px 0;
  }

  .participants-cta-wrapper {
      flex-direction: row;
  }

  .participants-grid {
      grid-template-columns: repeat(5, 1fr);
      gap: 8px 64px;
      margin-top: 64px;
  }
}


/* ============================================
 REGISTRATION SECTION (Înscrie-te)
 ============================================ */
.registration-section {
  margin-top: 64px;
}

.registration-main-title {
  font-size: 60px;
  font-weight: 700;
  line-height: 40px;
  color: #95201F;
  margin: 0;
  text-align: center;
}


.registration-form-container {
  background: #95201F;
  padding: 32px;
}

.registration-email,
.registration-phone {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0;
  text-align: center;
}

.registration-email {
  margin-bottom: 16px;
}

/* WPForms Styling within Registration Section */
.registration-section .wpforms-container {
  max-width: 748px;
  margin-bottom: 0 !important;
  margin-top: 32px !important;
}

.registration-section .wpforms-form .wpforms-field-container {
  display: flex;
  flex-direction: column;
  gap: 32px !important;
}

.registration-section .wpforms-form .wpforms-field {
  margin-bottom: 0 !important;
}

/* Make certain fields full width */
.registration-section .wpforms-form .wpforms-field-textarea,
.registration-section .wpforms-form .wpforms-field-gdpr-checkbox,
.registration-section .wpforms-form .wpforms-submit-container {
  grid-column: 1 / -1;
}

.registration-section .wpforms-form .wpforms-field-text,
.registration-section .wpforms-form .wpforms-field-email,
.registration-section .wpforms-form .wpforms-field-phone, 
.registration-section .wpforms-form .wpforms-field-textarea {
  padding: 0 !important;
}

.registration-section .wpforms-form .wpforms-field-label {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  color: #FFFFFF !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.registration-section .wpforms-form .wpforms-required-label {
  display: none !important;
}

.registration-section .wpforms-form input[type="text"],
.registration-section .wpforms-form input[type="email"],
.registration-section .wpforms-form input[type="tel"],
.registration-section .wpforms-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  color: #101828 !important;
  background: #FFFFFF !important;
  border: 1px solid #D0D5DD !important;
  border-radius: 8px !important;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.registration-section .wpforms-form input[type="text"]:focus,
.registration-section .wpforms-form input[type="email"]:focus,
.registration-section .wpforms-form input[type="tel"]:focus,
.registration-section .wpforms-form textarea:focus {
  border-color: #B52221 !important;
  outline: none !important;
  box-shadow: none !important;
}

.registration-section .wpforms-form input::placeholder,
.registration-section .wpforms-form textarea::placeholder {
  color: #667085 !important;
}

.registration-section .wpforms-form textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Phone field with country dropdown */
.registration-section .wpforms-form .wpforms-field-phone {
  position: relative !important;
}

/* Checkbox styling */
.registration-section .wpforms-form .wpforms-field-checkbox label,
.registration-section .wpforms-form .wpforms-field-gdpr-checkbox label {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #475467 !important;
}

.registration-section .wpforms-form .wpforms-field-checkbox a,
.registration-section .wpforms-form .wpforms-field-gdpr-checkbox a {
  color: #B52221 !important;
  text-decoration: underline !important;
}

.registration-section .wpforms-form .wpforms-submit-container {
  margin-top: 32px !important;
}

/* Submit button */
.registration-section .wpforms-form .wpforms-submit {
  width: 100% !important;
  height: auto !important;
  padding: 12px 20px !important;
  background: #D62D2C !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
}

.registration-section .wpforms-form .wpforms-submit:hover {
  background: #D62D2C !important;
}

/* Error messages */
.registration-section .wpforms-form .wpforms-error {
  color: #D62D2C !important;
  font-size: 14px !important;
  margin-top: 6px !important;
}

.registration-section .wpforms-form .wpforms-field.wpforms-has-error input,
.registration-section .wpforms-form .wpforms-field.wpforms-has-error textarea {
  border-color: #D62D2C !important;
}

/* Success message */
.registration-section .wpforms-confirmation-container-full {
  background: #F0FDF4 !important;
  border: 1px solid #6EE7B7 !important;
  color: #065F46 !important;
  padding: 16px !important;
  border-radius: 8px !important;
  text-align: center !important;
}

@media (min-width: 830px) {
  .registration-section .wpforms-form .wpforms-field-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px 32px;
  }
}

@media (min-width: 1230px) {
  .registration-main-title {
      font-size: 100px;
      line-height: 84px;
  }
}

/* ============================================
 CONTACT FORM 7 STYLING (Registration Section)
 ============================================ */

/* CF7 Form Container */
.registration-section .wpcf7 {
  max-width: 748px !important;
  margin: 0 auto !important;
  margin-top: 32px !important;
}

.registration-section .wpcf7-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}

/* Make textarea and submit full width */
.registration-section .wpcf7-form p:has(textarea),
.registration-section .wpcf7-form p:has(.wpcf7-submit),
.registration-section .wpcf7-form .wpcf7-acceptance {
  grid-column: 1 / -1 !important;
}

/* Labels */
.registration-section .wpcf7-form label {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  color: white !important;
  margin-bottom: 0 !important;
  display: block !important;
}

/* Input Fields */
.registration-section .wpcf7-form input[type="text"],
.registration-section .wpcf7-form input[type="email"],
.registration-section .wpcf7-form input[type="tel"],
.registration-section .wpcf7-form input[type="number"],
.registration-section .wpcf7-form input[type="url"],
.registration-section .wpcf7-form input.wpcf7-text,
.registration-section .wpcf7-form input.wpcf7-email,
.registration-section .wpcf7-form input.wpcf7-tel,
.registration-section .wpcf7-form select,
.registration-section .wpcf7-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  color: #101828 !important;
  background: #FFFFFF !important;
  border: 1px solid #D0D5DD !important;
  border-radius: 8px !important;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  height: auto !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
}

/* Focus States */
.registration-section .wpcf7-form input[type="text"]:focus,
.registration-section .wpcf7-form input[type="email"]:focus,
.registration-section .wpcf7-form input[type="tel"]:focus,
.registration-section .wpcf7-form input[type="number"]:focus,
.registration-section .wpcf7-form input[type="url"]:focus,
.registration-section .wpcf7-form input.wpcf7-text:focus,
.registration-section .wpcf7-form input.wpcf7-email:focus,
.registration-section .wpcf7-form input.wpcf7-tel:focus,
.registration-section .wpcf7-form select:focus,
.registration-section .wpcf7-form textarea:focus {
  border-color: #B52221 !important;
  outline: none !important;
  box-shadow: 0px 1px 2px rgba(181, 34, 33, 0.05), 0px 0px 0px 4px rgba(181, 34, 33, 0.1) !important;
}

/* Placeholders */
.registration-section .wpcf7-form input::placeholder,
.registration-section .wpcf7-form textarea::placeholder {
  color: #667085 !important;
}

/* Textarea */
.registration-section .wpcf7-form textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Submit Button */
.registration-section .wpcf7-form input[type="submit"],
.registration-section .wpcf7-form .wpcf7-submit {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 24px !important;
  background: #D62D2C !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  height: auto !important;
  text-transform: none !important;
}

/* Spinner (loading) */
.registration-section .wpcf7-form .wpcf7-spinner {
  display: none !important;
}

/* Validation Errors */
.registration-section .wpcf7-form .wpcf7-not-valid-tip {
  color: #D62D2C !important;
  font-size: 14px !important;
  margin-top: 6px !important;
  display: block !important;
}

.registration-section .wpcf7-form .wpcf7-not-valid {
  border-color: #D62D2C !important;
}

/* Response Messages */
.registration-section .wpcf7-form .wpcf7-response-output {
  margin: 24px 0 0 0 !important;
  padding: 16px !important;
  border-radius: 8px !important;
  grid-column: 1 / -1 !important;
  text-align: center !important;
}

.registration-section .wpcf7-form .wpcf7-mail-sent-ok {
  background: #F0FDF4 !important;
  border: 1px solid #6EE7B7 !important;
  color: #065F46 !important;
}

.registration-section .wpcf7-form .wpcf7-validation-errors,
.registration-section .wpcf7-form .wpcf7-mail-sent-ng {
  background: #FEF2F2 !important;
  border: 1px solid #FCA5A5 !important;
  color: #991B1B !important;
}

/* Acceptance (checkbox) */
.registration-section .wpcf7-form .wpcf7-acceptance {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  color: #475467 !important;
}

.registration-section .wpcf7-form .wpcf7-acceptance a {
  color: #B52221 !important;
  text-decoration: underline !important;
}

/* Remove default margins from paragraphs */
.registration-section .wpcf7-form p {
  margin: 0 !important;
}

/* Mobile Responsive for CF7 */
@media (max-width: 1230px) {
  .registration-section .wpcf7-form {
      grid-template-columns: 1fr !important;
      gap: 20px !important;
  }

  .registration-section .wpcf7-form input[type="submit"],
  .registration-section .wpcf7-form .wpcf7-submit {
      font-size: 16px !important;
      padding: 14px 20px !important;
  }
}

/* ============================================
 NEXT EVENTS SECTION
 ============================================ */

.next-events-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 48px;
}

.next-events-title {
  font-size: 30px;
  line-height: 38px;
  font-weight: 600;
  color: #101828;
}

.next-events-description {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: #475467;
  margin-top: 16px;
}

.next-events-view-all {
  display: none;
}

/* Next Events Slider Arrows */
#next-events-arrows {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-left: 12px;
}

#next-events-arrows .slick-arrow {
  position: static !important;
  transform: none !important;
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid #EAECF0;
  border-radius: 50%;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

#next-events-arrows .slick-arrow:hover {
  background: #F9FAFB;
  border-color: #D0D5DD;
}

#next-events-arrows .slick-arrow i {
  font-size: 16px;
  color: #344054;
}

#next-events-arrows .slick-arrow.slick-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#next-events-arrows .slick-arrow.slick-disabled:hover {
  background: #FFFFFF;
  border-color: #EAECF0;
}

@media (min-width: 1230px) {
  .next-events-title {
      font-size: 60px;
      line-height: 72px;
  }

  .next-events-description {
      font-size: 20px;
      line-height: 30px;
      margin-top: 20px;
  }

  .next-events-view-all {
      display: block;
      width: fit-content;
      padding: 12px 20px;
      border-radius: 8px;
      background: #D62D2C;
      color: #FFFFFF;
      font-size: 16px;
      line-height: 24px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
  }

  .next-events-view-all:hover {
      background: #B52221;
      color: #FFFFFF;
  }
}

.evenimente-grid{
  flex-direction: column;
}
