hr {
  height: 1px;
  width: 100%;
  background: #E1E1DE;
  border-style: none;
  border: none;
}

.events {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: 'Inter', Arial, sans-serif;
}

.event {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
  border-radius: 25px;
  transition: background-color 0.6s ease, transform 0.6s ease;
}

.event.active h2 {
  color: #1C1A1A;
}

.event-image {
  position: relative;
  width: 50%;
  min-height: 430px;
}
.event-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

.event-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem 2rem 0;
}

.event-content h2 {
  font-family: 'Inter';
  font-size: 40px;
  font-weight: 300;
  margin: 0 0 0.3rem;
  color: #1C1A1A;
  line-height: 1.4em;
}

.event-date {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #2C2C2C;
}

.event-desc {
  font-size: 14px;
  color: #2C2C2C;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  font-weight: 400;
  padding-left: 1rem;
}

.btn-learn-container {
    margin-top: auto;
}

.btn-learn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 20px;
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-learn .icon {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.btn-learn .icon::before {
    font-family: 'ETMODULES';
    font-size: 24px;
    content: '\e046';
    display: flex;
    color: #2C2C2C;
    align-items: center;
    height: 100%;
    font-weight: 400 !important;
}

.btn-learn:hover {
    background: #000;
    color: #fff;
}

.btn-learn:hover .icon {
    transform: translateX(8px);
}

.btn-learn:hover .icon::before {
    color: #FAF9F6;
}






/* Montly Masterclass */
.monthly-masterclass.active {
  background-color: #d2a5a1;
}

.monthly-masterclass h2 {
  color: #d2a5a1;
}

.monthly-masterclass .btn-learn:hover {
  background-color: #d2a5a1;
  border: none;
}

.monthly-masterclass.active .btn-learn {
  background-color: #BF6F68;
  border: none;
}

.monthly-masterclass .event-desc {
  border-left: 2px solid #d2a5a1;
}

.monthly-masterclass.active .event-desc {
  border-left: 2px solid #BF6F68;
}

/* Leadership Conference */
.leadership-conference.active {
  background-color: #c6b091;
}

.leadership-conference h2 {
  color: #c6b091;
}

.leadership-conference .btn-learn:hover {
  background-color: #c6b091;
  border: none;
}

.leadership-conference.active .btn-learn {
  background-color: #B19165;
  border: none;
}

.leadership-conference .event-desc {
  border-left: 2px solid #c6b091;
}

.leadership-conference.active .event-desc {
  border-left: 2px solid #B19165;
}


/* Wellness Retreat */
.wellness-retreat h2 {
  color: #a6c8cd;
}

.wellness-retreat .btn-learn:hover {
  background-color: #a6c8cd;
  border: none;
}

.wellness-retreat .event-desc {
  border-left: 2px solid #a6c8cd;
}

.wellness-retreat.active {
  background-color: #a6c8cd;
}

.wellness-retreat.active .btn-learn {
  background-color: #75B2BA;
  border: none;
}

.wellness-retreat.active .event-desc {
  border-left: 2px solid #75B2BA;
}

/* High Tea */
.high-tea h2 {
  color: #ead8d3;
}

.high-tea .btn-learn:hover {
  background-color: #ead8d3;
  border: none;
}

.high-tea .event-desc {
  border-left: 2px solid #ead8d3;
}

.high-tea.active {
  background-color: #ead8d3;
}

.high-tea.active .btn-learn {
  background-color: #E2B6AA;
  border: none;
}

.high-tea.active .event-desc {
  border-left: 2px solid #E2B6AA;
}

/* Entrepreneur Summit */
.entrepreneur-summit h2 {
  color: #BFA375;
}

.entrepreneur-summit .btn-learn:hover {
  background-color: #BFA375;
  border: none;
}

.entrepreneur-summit .event-desc {
  border-left: 2px solid #BFA375;
}

.entrepreneur-summit.active {
  background-color: #BFA375;
}

.entrepreneur-summit.active .btn-learn {
  background-color: #B79359;
  border: none;
}

.entrepreneur-summit.active .event-desc {
  border-left: 2px solid #B79359;
}

/* Thankful Thursday */
.thankful-thursday h2 {
  color: #b08c86;
}

.thankful-thursday .btn-learn:hover {
  background-color: #b08c86;
  border: none;
}

.thankful-thursday .event-desc {
  border-left: 2px solid #b08c86;
}

.thankful-thursday.active {
  background-color: #b08c86;
}

.thankful-thursday.active .btn-learn {
  background-color: #A77269;
  border: none;
}

.thankful-thursday.active .event-desc {
  border-left: 2px solid #A77269;
}




.event {
  transition:
    background-color 0.6s ease,
    border-color 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.6s ease;
}

.event.active {
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);   /* subtle lift */
  transform: scale(1.01);                      /* gentle zoom */
}

.event {
  position: relative;
  overflow: hidden;
}

.event-content { position: relative; z-index: 1; } /* keep text above */

.event-desc {
  border-left-width: 2px;
  border-left-style: solid;
  transition: border-color 0.6s ease, border-left-width 0.6s ease;
}




/* Responsive */
@media (max-width: 768px) {
    .event-content {
        width: 50%;
        display: flex;
        flex-direction: column;
        padding: 0 1rem 2rem 1rem;
    }

    .event { flex-direction: column; }
    
    .event-image,
    .event-content { width: 100%; }

    .event-image img { width: 100%; }
}
