/* Meetings page specific styles */

.meetings-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 16px 10px 16px;
}

.meetings-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fafafa;
}

.term-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.term-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 9999px;
    background: #111111;
    border: 1px solid #262626;
    color: #e5e7eb;
    font-weight: 600;
}

.meetings-grid {
    max-width: 1100px;
    margin: 16px auto 32px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.meeting-card {
    background: #0f0f10;
    border: 1px solid #262626;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    border-radius: 9999px;
    padding: 6px 10px;
    font-size: 14px;
}

.badge-green {
    background: #052e1a;
    color: #86efac;
    border: 1px solid #14532d;
}

.badge-blue {
    background: #0a2640;
    color: #93c5fd;
    border: 1px solid #1e3a8a;
}

.badge-red {
    background: #3b0a0a;
    color: #fca5a5;
    border: 1px solid #7f1d1d;
}

.badge-yellow {
    background: #2a2306;
    color: #fde68a;
    border: 1px solid #854d0e;
}

.badge-purple {
    background: #201036;
    color: #d8b4fe;
    border: 1px solid #6d28d9;
}

.meeting-card h3 {
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 22px;
    color: #ffffff;
}

.meeting-card p {
    color: #d1d5db;
}

.meeting-meta {
    margin-top: 18px;
    font-weight: 800;
    color: #ffffff;
}

/* Calendar Section */
.calendar-section {
    max-width: 1100px;
    margin: 40px auto 60px auto;
    padding: 0 16px;
}

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

.calendar-header h2 {
    font-family: inherit;
    font-style: normal;
    font-size: 28px;
    font-weight: 800;
    color: #fafafa;
    margin: 0;
}

.calendar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.view-toggle {
    display: flex;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.view-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover {
    color: #ccc;
    background: #252525;
}

.view-btn.active {
    background: #00e5ff;
    color: #0b0b0b;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00e5ff 0%, #00bcd4 100%);
    color: #0b0b0b;
    border-radius: 9999px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 229, 255, 0.25);
    transition: all 0.2s ease;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.35);
}

.subscribe-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

.calendar-embed-wrapper {
    background: #0f0f10;
    border: 1px solid #262626;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.calendar-embed-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00e5ff, #00bcd4, #00838f);
}

.calendar-embed {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
    filter: invert(0.88) hue-rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .calendar-header h2 {
        font-size: 24px;
    }
    
    .calendar-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .calendar-embed {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .calendar-embed {
        height: 500px;
    }
    
    .view-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .subscribe-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

.helper-text {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    color: #9ca3af;
}