/* ==========================================================================
   GAS Agenda Styles
   ========================================================================== */

.gas-agenda-section {
    padding: var(--space-l) 0;
}

/* Hero Section */
.agenda-hero {
    margin-top: var(--space-l);
    margin-bottom: var(--space-xs);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.agenda-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.agenda-hero__content {
    text-align: center;
    width: 100%;
    max-width: none;
}

.agenda-hero__content--member {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
}

.agenda-hero__left {
    flex: 1;
    min-width: 0;
}

.agenda-hero__left .agenda-nav-buttons {
    justify-content: flex-start;
    margin-bottom: 20px;
}

.agenda-hero__left h1 {
    text-align: left;
    margin-bottom: 15px;
}

.agenda-hero__left .agenda-hero__description {
    text-align: left;
    margin-bottom: 0;
}

.agenda-hero__right {
    flex: 0 0 350px;
}

/* Navigation Buttons */
.agenda-nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.agenda-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.agenda-nav-btn--primary {
    background: var(--primary, #3498db);
    color: white;
}

.agenda-nav-btn--primary:hover {
    background: var(--primary-dark, #2980b9);
    color: white;
    text-decoration: none;
}

.agenda-nav-btn--secondary {
    background: transparent;
    color: var(--primary, #3498db);
    border-color: var(--primary, #3498db);
}

.agenda-nav-btn--secondary:hover {
    background: var(--primary, #3498db);
    color: white;
    text-decoration: none;
}

/* Hero Content */
.agenda-hero h1 {
    color: var(--text, #2c3e50);
    margin-bottom: 20px;
    font-weight: 700;
}

.agenda-hero__description {
    max-width: 800px;
    margin: 0 auto 30px;
    color: #6c757d;
    line-height: 1.6;
}

.agenda-hero__description a {
    color: var(--primary, #3498db);
    text-decoration: none;
    font-weight: 600;
}

.agenda-hero__description a:hover {
    text-decoration: underline;
}

/* Benefits List */
.agenda-hero h4 {
    color: var(--text, #2c3e50);
    margin-bottom: 15px;
    font-weight: 600;
}

.agenda-benefits {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.agenda-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
}

.agenda-benefits i {
    color: var(--primary);
    font-size: var(--text-m);
}

/* CTA Button */
.agenda-cta {
    margin-bottom: 40px;
}

.agenda-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--action, #f39c12);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.agenda-cta-btn:hover {
    background: var(--action-dark, #e67e22);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Calendar Section */
.agenda-calendar-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.agenda-calendar-section--compact {
    padding: 20px;
    max-width: none;
    margin: 0;
}

.agenda-calendar-section--compact h4 {
    margin-bottom: 8px;
    justify-content: flex-start;
    font-size: var(--text-m);
}

.agenda-calendar-section--compact p {
    margin-bottom: 15px;
    font-size: var(--text-s);
}

.agenda-calendar-section--compact .agenda-calendar-options {
    grid-template-columns: 1fr;
    gap: 15px;
}

.agenda-calendar-section--compact .calendar-option {
    padding: 15px;
}

.agenda-calendar-section--compact .calendar-option-header h5 {
    font-size: var(--text-s);
}

.agenda-calendar-section--compact .calendar-btn {
    padding: 8px 12px;
    font-size: var(--text-s);
}

.agenda-calendar-section h4 {
    color: var(--text, #2c3e50);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.agenda-calendar-section p {
    color: #6c757d;
    margin-bottom: 25px;
}

.agenda-calendar-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.calendar-option {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.calendar-option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.calendar-option-header i {
    color: var(--primary, #3498db);
    font-size: var(--text-l);
}

.calendar-option-header h5 {
    margin: 0;
    color: var(--text, #2c3e50);
    font-weight: 600;
}

.calendar-option-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.calendar-btn--download {
    background: var(--success, #2ecc71);
    color: white;
}

.calendar-btn--download:hover {
    background: var(--success-dark, #27ae60);
    color: white;
    text-decoration: none;
}

.calendar-btn--subscribe {
    background: var(--info, #3498db);
    color: white;
}

.calendar-btn--subscribe:hover {
    background: var(--info-dark, #2980b9);
    color: white;
    text-decoration: none;
}

/* Call to Action Sections */
.agenda-cta-section {
    margin: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 40px;
    border: 2px solid #e9ecef;
}

.agenda-cta-section--hypnopass {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-color: var(--warning, #f39c12);
}

.agenda-cta-section--journee-hypnose {
    background: var(--primary-ultra-light, #f0f8ff);
    border-color: var(--primary, #3498db);
    margin-top: var(--space-xs, 3rem);
}

.agenda-cta-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.agenda-cta-text {
    flex: 1;
}

.agenda-cta-text h3 {
    color: var(--text, #2c3e50);
    margin-bottom: 15px;
    font-weight: 700;
}

.agenda-cta-text p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    font-size: var(--text-m);
}

.agenda-cta-action {
    flex-shrink: 0;
}

.agenda-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.agenda-cta-button:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.agenda-cta-button--primary {
    background: var(--primary, #3498db);
    color: white;
}

.agenda-cta-button--primary:hover {
    background: var(--primary-dark, #2980b9);
    color: white;
}

.agenda-cta-button--hypnopass {
    background: var(--warning, #f39c12);
    color: white;
}

.agenda-cta-button--hypnopass:hover {
    background: var(--warning-dark, #e67e22);
    color: white;
}

.agenda-cta-button--journee-hypnose {
    background: var(--primary-dark, #2980b9);
    color: white;
}

.agenda-cta-button--journee-hypnose:hover {
    background: var(--primary-darker, #1f5f8b);
    color: white;
}

.agenda-cta-button i {
    font-size: var(--text-m);
}

.agenda-cta-section--final {
    background: var(--secondary-ultra-light, #f8f9fa);
    border-color: var(--secondary, #95a5a6);
    margin-bottom: 0;
}

.agenda-cta-button--action {
    background: var(--action, #f39c12);
    color: white;
}

.agenda-cta-button--action:hover {
    background: var(--action-dark, #e67e22);
    color: white;
}

/* Calendar Member Required Section */
.calendar-member-required {
    display: flex;
    justify-content: center;
}

.calendar-member-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.calendar-member-notice i {
    font-size: var(--text-m);
    color: var(--warning, #f39c12);
    margin-bottom: 15px;
}

.calendar-member-notice h5 {
    color: var(--text, #2c3e50);
    margin-bottom: 10px;
    font-weight: 600;
}

.calendar-member-notice p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.calendar-member-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.calendar-member-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.calendar-member-btn {
    background: var(--action, #f39c12);
    color: white;
}

.calendar-member-btn:hover {
    background: var(--action-dark, #e67e22);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.calendar-member-btn--login {
    background: var(--primary, #3498db);
}

.calendar-member-btn--login:hover {
    background: var(--primary-dark, #2980b9);
}

/* HypnoPass Banner */
.hypno-pass-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    margin-bottom: 40px;
    border-radius: 12px;
    border: 2px solid transparent;
}

.hypno-pass-banner--active {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: var(--warning, #f39c12);
}

.hypno-pass-icon {
    font-size: 2.5rem;
    color: var(--warning, #f39c12);
}

.hypno-pass-content {
    flex: 1;
}

.hypno-pass-title {
    font-size: var(--text-m);
    font-weight: 700;
    color: var(--text, #2c3e50);
    margin-bottom: 8px;
}

.hypno-pass-text {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Section Styles */
.agenda-section {
    margin-bottom: 60px;
}

.agenda-section--past {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 3px solid #e9ecef;
}

.agenda-section-title {
    font-weight: 700;
    color: var(--text, #2c3e50);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.agenda-section-count {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: var(--text-s);
}

/* Subsection Styles */
.agenda-subsection {
    margin-bottom: 50px;
}

.agenda-subsection-title {
    font-weight: 600;
    color: var(--text, #2c3e50);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

.agenda-subsection--titles-only {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
}

/* Titles Grid for Older Activities */
.agenda-titles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.agenda-year-group {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.agenda-year-title {
    font-weight: 600;
    color: var(--primary, #3498db);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.agenda-titles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agenda-title-item {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f8f9fa;
}

.agenda-title-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.agenda-title-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    color: var(--text, #2c3e50);
    transition: color 0.3s ease;
    padding: 5px 0;
}

.agenda-title-link:hover {
    color: var(--primary, #3498db);
    text-decoration: none;
}

.agenda-title-text {
    flex: 1;
    font-weight: 500;
    line-height: 1.4;
}

.agenda-title-date {
    font-size: var(--text-s);
    color: #6c757d;
    white-space: nowrap;
    font-weight: 400;
}

.agenda-title-link:hover .agenda-title-date {
    color: var(--primary, #3498db);
}

/* Card Customizations for Agenda */
.gas-card--user-participated {
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
    position: relative;
}

.gas-card--user-participated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--info, #3498db);
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
}

/* Footer Section */
.agenda-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

.agenda-footer-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text, #2c3e50);
    margin-bottom: 15px;
}

.agenda-footer-content p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hypno-pass-promo {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    border: 2px solid var(--warning, #f39c12);
}

.hypno-pass-promo h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text, #2c3e50);
    margin-bottom: 10px;
}

.hypno-pass-promo p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .agenda-hero {
        padding: 40px 0;
    }
    
    .agenda-hero__container {
        padding: 0 15px;
    }
    
    .agenda-hero__content--member {
        flex-direction: column;
        gap: 30px;
    }
    
    .agenda-hero__left .agenda-nav-buttons {
        justify-content: center;
    }
    
    .agenda-hero__left h1 {
        text-align: center;
    }
    
    .agenda-hero__left .agenda-hero__description {
        text-align: center;
    }
    
    .agenda-hero__right {
        flex: none;
        width: 100%;
    }
    
    .agenda-nav-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: var(--space-m);
    }
    
    .agenda-nav-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .agenda-benefits {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .agenda-calendar-options {
        grid-template-columns: 1fr;
    }
    
    .calendar-option-actions {
        flex-direction: column;
    }
    
    .agenda-cta-section {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .agenda-cta-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .agenda-cta-button {
        padding: 14px 24px;
    }
    
    .agenda-section-title {
        font-size: 1.6rem;
    }
    
    .hypno-pass-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .agenda-footer {
        padding: 30px 20px;
    }
    
    .hypno-pass-promo {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .agenda-hero {
        padding: 30px 0;
    }
    
    .agenda-hero__container {
        padding: 0 10px;
    }
    
    .agenda-calendar-section {
        padding: 20px 15px;
    }
    
    .agenda-calendar-section--compact {
        padding: 15px;
    }
    
    .agenda-nav-btn {
        padding: 10px 20px;
    }
    
    .agenda-cta-section {
        padding: 25px 15px;
        margin: 30px 0;
    }
    
    .agenda-cta-content {
        gap: 20px;
    }
    
    .agenda-cta-button {
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
    }
    
    .agenda-section-title {
        font-size: 1.4rem;
    }
    
    .agenda-subsection-title {
        font-size: 1.3rem;
    }
    
    .agenda-titles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .agenda-year-group {
        padding: 15px;
    }
    
    .agenda-title-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .agenda-title-date {
        font-size: var(--text-s);
    }
    
    .agenda-subsection--titles-only {
        padding: 20px 15px;
    }
}