/* Header */
.header {
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
}

.livenow-link {
    display: block;
    transition: opacity 0.2s ease;
}

.livenow-link:hover {
    opacity: 0.8;
}

.livenow-logo {
    height: 30px;
    width: auto;
}

/* Horizontal Strip Layout */
/* Horizontal Strip Layout */
.now-next-horizontal {
    background: white;
    border-radius: 16px;
    padding: 15px;
    margin: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 12px;
    height: 160px;
    overflow: hidden;
}

.current-event-horizontal {
    flex: 1.5;
    border-radius: 12px;
    padding: 16px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
    transition: transform 0.2s ease;
    min-width: 0;
}

.current-event-horizontal:hover {
    transform: scale(1.02);
}

.next-event-horizontal {
    flex: 1;
    border-radius: 12px;
    padding: 12px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
    transition: transform 0.2s ease;
    min-width: 0;
}

.next-event-horizontal:hover {
    transform: scale(1.02);
}

.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #34C759;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
    z-index: 10;
}

.soon-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FFCC02;
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(255, 204, 2, 0.3);
    z-index: 10;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.soon-dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.event-content-horizontal {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px;
    margin-top: auto;
    min-width: 0;
}

.event-day-horizontal {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-title-horizontal {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.event-content-horizontal-small {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 10px;
    margin-top: auto;
    min-width: 0;
}

.event-day-horizontal-small {
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-title-horizontal-small {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.event-time-horizontal-small {
    font-size: 0.8rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 375px) {
    .now-next-horizontal {
        height: 130px;
    }
    
    .event-title-horizontal {
        font-size: 0.9rem;
    }
    
    .event-title-horizontal-small {
        font-size: 0.7rem;
    }
}

/* Mobile Responsiveness for Horizontal Strip */
@media (max-width: 768px) {
    .now-next-horizontal {
        padding: 12px;
        margin: 12px;
        height: 140px;
        gap: 10px;
        /* REMOVE flex-direction: column to keep it horizontal */
    }
    
    .current-event-horizontal {
        padding: 12px;
        flex: 1.5; /* Keep proportional sizing */
    }
    
    .next-event-horizontal {
        padding: 10px;
        flex: 1; /* Keep proportional sizing */
    }
    
    .event-content-horizontal {
        padding: 10px;
    }
    
    .event-day-horizontal {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    
    .event-title-horizontal {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .event-content-horizontal-small {
        padding: 8px;
    }
    
    .event-day-horizontal-small {
        font-size: 0.55rem;
    }
    
    .event-title-horizontal-small {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f8f8;
    color: #333;
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    background: white;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #228B22;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Headers with Subscribe Button */
.section-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.calendar-subscribe-btn {
    background: #ffffff;
    color: #000;
    padding: 8px 16px;
    border-color: #e7e7e7;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.calendar-subscribe-btn:hover {
    background: #e7e7e7;
    transform: translateY(-1px);
}

/* Powered By Container */
.powered-by-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: white;
    gap: 8px; /* Space between text and logo */
}

.powered-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

.livenow-link {
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.livenow-link:hover {
    opacity: 0.8;
}

.livenow-logo {
    height: 24px;
    width: auto;
}

/* Mobile Event List */
.mobile-event-list {
    display: block;
    padding: 0 20px 20px;
    background: white;
}

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

.mobile-event {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.mobile-event:hover {
    background: rgba(34, 139, 34, 0.1);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.mobile-event:last-child {
    border-bottom: none;
}

.mobile-event.today {
    border: 2px solid #FFD700;
    border-radius: 12px;
    margin: 0 -20px;
    padding-left: 16px;
    padding-right: 20px;
    position: relative;
}

.mobile-event.live {
    border: 2px solid #34C759 !important;
    border-radius: 12px;
    margin: 0 -20px;
    padding-left: 16px;
    padding-right: 20px;
    position: relative;
}

.today-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #90EE90;
    color: #000000;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(34, 139, 34, 0.3);
    white-space: nowrap;
}

.event-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.event-image:hover {
    transform: scale(1.05);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.event-content {
    flex: 1;
    min-width: 0;
    position: relative;
    padding-bottom: 40px;
}

.event-day {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 4px;
}

.event-title {
    margin-bottom: 4px;
    color: #000;
}

.event-time {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 6px;
}

.event-actions {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.share-btn-mobile {
    background: #228B22;
    border: none;
    color: #000;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.share-btn-mobile:hover {
    background: #90EE90;
}

.week-navigation {
    text-align: center;
    padding: 20px;
    background: white;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.week-nav-btn {
    background: #90EE90;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.week-nav-btn:hover {
    background: #228B22;
    color: #fff;
    transform: translateY(-1px);
}

.week-nav-btn:disabled {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.week-indicator {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Desktop Calendar View */
.desktop-calendar {
    display: none;
    background: white;
    padding: 20px;
}

.calendar-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-arrow {
    background: #f0f0f0;
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    background: #228B22;
    color: #fff;
}

.calendar-month {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ddd;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.calendar-day {
    background: white;
    padding: 0.5rem;
    height: 120px;
    min-width: 0;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #333;
    border: 1px solid #f0f0f0;
}

.calendar-day:hover {
    background: #f8f8f8;
}

.calendar-day.has-event {
    background: white;
    border-left: none;
}

.calendar-day.today {
    border: 4px solid #FFD700;
}

.calendar-event.live {
    border: 4px solid #34C759 !important;
}

.day-number {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #000;
}

.day-event {
    background: #90EE90;
    color: #000000;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
    line-height: 1.2;
}

.day-event:hover {
    background: #228B22;
    color: #fff;
}

/* Fixed Modal Positioning */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal.active {
    display: flex !important;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 450px;
    width: 90vw;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    margin: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #000;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
    color: #000;
    line-height: 1.3;
}

.modal-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

/* Desktop Event Detail Modal Styling */
.event-detail-modal .modal-content {
    max-width: 450px;
    width: 90vw;
    max-height: 600px;
    min-height: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-event-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.modal-event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.modal-event-day {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.modal-event-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    margin-top: 8px;
    line-height: 1.3;
}

.modal-event-time {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

.modal-event-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: auto;
    flex-shrink: 0;
}

.modal-action-btn {
    background: #C7C7CC;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-width: 100px;
}
.modal-action-btn:hover {
    transform: translateY(-1px);
}

.modal-share-btn {
    background: #228B22;
    color: #ffffff;
    border: none;
}

.modal-share-btn:hover {
    background: #228B22;
    transform: translateY(-1px);
}

.modal-calendar-btn {
    background: #C7C7CC;
    color: #000;
    border: none;
}

.modal-calendar-btn:hover {
    background: #B8B8BD;
    transform: translateY(-1px);
}

.calendar-btn {
    background: #F2F2F7;
    color: #000;
    border: none;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.calendar-btn:hover {
    background: #E5E5EA;
    transform: translateY(-1px);
}

/* Desktop - Hide mobile list, show calendar */
@media (min-width: 600px) {
    .mobile-event-list {
        display: none !important;
    }

    .desktop-calendar {
        display: block !important;
    }

    .week-navigation {
        display: none !important;
    }
    
    /* Hide the first "Stay in the Loop" button on desktop */
    .section-header .calendar-subscribe-btn {
        display: none;
    }
}

/* Mobile and Tablet - Show calendar, hide list */
@media (max-width: 599px) {
  .desktop-calendar {
    padding: 8px;
    display: block !important;
  }
  
  .mobile-event-list {
    display: none !important;
  }
  
  .week-navigation {
    display: none !important;
  }
  
  /* Hide calendar "Stay in the Loop" button on mobile */
  .calendar-header .calendar-subscribe-btn {
    display: none;
  }
  
  .calendar-container {
    padding: 10px;
    border-radius: 12px;
    max-width: 100%;
    overflow: hidden;
  }
  
  .calendar-header {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-bottom: 0.75rem;
  }
  
  .calendar-nav {
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }
  
  .nav-arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  
  .calendar-month {
    font-size: 1rem;
    text-align: center;
  }
  
  .calendar-grid {
    gap: 0;
    border-radius: 8px;
    font-size: 0.7rem;
  }
  
  .calendar-day {
    height: 60px;
    padding: 3px;
    font-size: 0.7rem;
  }
  
  .day-number {
    font-size: 0.75rem;
    margin-bottom: 1px;
  }
  
  .day-event {
    font-size: 0.55rem;
    padding: 1px 3px;
    margin-bottom: 1px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Header row (day names) */
  .calendar-day:first-child,
  .calendar-day:nth-child(-n+7) {
    min-height: 28px;
    height: 28px;
    font-size: 0.65rem;
  }
}

/* Extra small phones */
@media (max-width: 375px) {
  .calendar-container {
    padding: 8px;
  }
  
  .calendar-day {
    height: 50px;
    padding: 2px;
  }
  
  .day-number {
    font-size: 0.7rem;
  }
  
  .day-event {
    font-size: 0.5rem;
    padding: 1px 2px;
  }
  
  .calendar-day:first-child,
  .calendar-day:nth-child(-n+7) {
    min-height: 24px;
    height: 24px;
    font-size: 0.6rem;
  }
}

/* Tablet landscape and small desktop */
@media (min-width: 600px) and (max-width: 900px) {
  .calendar-day {
    height: 90px;
  }
  
  .day-event {
    font-size: 0.65rem;
  }
}

/* Error state */
.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #ff4444;
    background: white;
}

/* Form styles for modals */
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.form-input:focus {
    outline: none;
    border-color: #228B22;
}

.submit-btn {
    width: 100%;
    background: #228B22;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1e7b1e;
}

/* Links Section */
.links-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.links-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    text-align: center;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.link-btn {
    background: #000;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.link-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .section-header {
        gap: 10px;
        align-items: flex-start;
    }

    .calendar-subscribe-btn {
        align-self: stretch;
        margin-top: 10px;
    }

    .remind-me-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .remind-me-input, .remind-me-btn {
        width: 100%;
        flex: none;
    }

    .modal-content {
        width: 95vw;
        padding: 20px;
        max-height: 550px;
    }

    .modal-event-image {
        height: 150px;
    }

    .modal-event-title {
        font-size: 1.2rem;
    }
    .now-next-horizontal {
        padding: 12px;
        margin: 12px;
        height: 140px;
        gap: 10px;
    }
    
    .current-event-horizontal {
        padding: 12px;
    }
    
    .next-event-horizontal {
        padding: 10px;
    }
    
    .event-content-horizontal {
        padding: 10px;
    }
    
    .event-day-horizontal {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    
    .event-title-horizontal {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .event-content-horizontal-small {
        padding: 8px;
    }
    
    .event-day-horizontal-small {
        font-size: 0.55rem;
    }
    
    .event-title-horizontal-small {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    /* Fix modal positioning on mobile */
    .modal {
        display: none;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999999 !important;
        padding: 0;
        box-sizing: border-box;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal.active {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

.event-description {
    color: #8E8E93; /* Apple's secondary text color */
    font-size: 0.9rem; /* Slightly larger for readability */
    line-height: 1.4;
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: 400;
    padding-left: 4px; /* Subtle left padding instead of border */
    border-left: 2px solid #F2F2F7; /* Apple's separator color */
    max-height: 2.8em; /* Limit to 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.modal-event-description {
    color: #8E8E93; /* Apple's secondary text color */
    font-size: 1rem; /* Slightly larger in modal */
    line-height: 1.5; /* More breathing room */
    margin: 16px 0 20px 0; /* Better vertical spacing */
    padding: 0 8px; /* Minimal horizontal padding */
    font-weight: 400;
    max-width: 100%;
    word-wrap: break-word;
}

/* Optional: Add subtle background for modal descriptions */
.modal-event-description.highlighted {
    background: #F2F2F7;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0 20px 0;
}