/**
 * Intellivents Frontend Styles
 *
 * @package Intellivents
 * @since 1.0.0
 */

/* CSS Variables */
:root {
    --intellivents-primary: #3b82f6;
    --intellivents-secondary: #1e40af;
    --intellivents-primary-rgb: 59, 130, 246;
    --intellivents-secondary-rgb: 30, 64, 175;
    --intellivents-text: #1f2937;
    --intellivents-text-light: #6b7280;
    --intellivents-border: #e5e7eb;
    --intellivents-bg: #f9fafb;
    --intellivents-white: #ffffff;
    --intellivents-success: #10b981;
    --intellivents-warning: #f59e0b;
    --intellivents-error: #ef4444;
    --intellivents-radius: 8px;
    --intellivents-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --intellivents-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    /* Customizable typography */
    --intellivents-title-size: 18px;
    --intellivents-meta-size: 14px;
    --intellivents-excerpt-size: 14px;
    --intellivents-date-size: 14px;
    /* Customizable element colors */
    --intellivents-title-color: var(--intellivents-text);
    --intellivents-meta-color: var(--intellivents-text-light);
    --intellivents-excerpt-color: var(--intellivents-text-light);
    --intellivents-date-color: var(--intellivents-text);
    --intellivents-date-bg: var(--intellivents-bg);
    --intellivents-border-color: var(--intellivents-border);
    /* Customizable layout */
    --intellivents-card-padding: 16px;
    --intellivents-card-gap: 20px;
}

/* Reset & Base */
.intellivents-events,
.intellivents-single-event,
.intellivents-archive,
.intellivents-calendar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--intellivents-text);
    box-sizing: border-box;
}

.intellivents-events *,
.intellivents-single-event *,
.intellivents-archive *,
.intellivents-calendar * {
    box-sizing: border-box;
}

/* Buttons */
.intellivents-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    border-radius: var(--intellivents-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.intellivents-btn-primary {
    background: var(--intellivents-primary);
    color: var(--intellivents-white);
}

.intellivents-btn-primary:hover {
    background: var(--intellivents-secondary);
    color: var(--intellivents-white);
}

.intellivents-btn-secondary {
    background: var(--intellivents-secondary);
    color: var(--intellivents-white);
}

.intellivents-btn-secondary:hover {
    background: var(--intellivents-primary);
}

.intellivents-btn-outline {
    background: transparent;
    border-color: var(--intellivents-primary);
    color: var(--intellivents-primary);
}

.intellivents-btn-outline:hover {
    background: var(--intellivents-primary);
    color: var(--intellivents-white);
}

.intellivents-btn-block {
    display: flex;
    width: 100%;
}

/* Badges */
.intellivents-featured-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--intellivents-warning), #d97706);
    color: var(--intellivents-white);
    border-radius: 4px;
}

.intellivents-virtual-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    background: var(--intellivents-success);
    color: var(--intellivents-white);
    border-radius: 4px;
}

/* Archive Header */
.intellivents-archive-header {
    margin-bottom: 32px;
}

.intellivents-archive-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--intellivents-text);
}

.intellivents-archive-description {
    color: var(--intellivents-text-light);
    margin-bottom: 24px;
}

.intellivents-view-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--intellivents-bg);
    border-radius: var(--intellivents-radius);
}

.intellivents-view-buttons {
    display: flex;
    gap: 4px;
}

.intellivents-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--intellivents-white);
    border: 1px solid var(--intellivents-border);
    border-radius: var(--intellivents-radius);
    color: var(--intellivents-text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.intellivents-view-btn:hover,
.intellivents-view-btn.active {
    background: var(--intellivents-primary);
    border-color: var(--intellivents-primary);
    color: var(--intellivents-white);
}

.intellivents-filter-select {
    padding: 10px 16px;
    font-size: 14px;
    border: 1px solid var(--intellivents-border);
    border-radius: var(--intellivents-radius);
    background: var(--intellivents-white);
    min-width: 200px;
}

/* Events Grid */
.intellivents-view-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.intellivents-view-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.intellivents-view-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .intellivents-view-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .intellivents-view-grid {
        grid-template-columns: 1fr;
    }
}

/* Event Card */
.intellivents-event-card {
    position: relative;
    background: var(--intellivents-white);
    border-radius: var(--intellivents-radius);
    box-shadow: var(--intellivents-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.intellivents-event-card:hover {
    box-shadow: var(--intellivents-shadow-lg);
    transform: translateY(-4px);
}

.intellivents-event-card .intellivents-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}

.intellivents-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.intellivents-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--intellivents-bg);
}

.intellivents-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.intellivents-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--intellivents-bg);
    color: var(--intellivents-border);
}

.intellivents-card-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.intellivents-card-date-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: var(--intellivents-white);
    border-radius: var(--intellivents-radius);
    box-shadow: var(--intellivents-shadow);
    text-align: center;
}

.intellivents-date-month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--intellivents-primary);
}

.intellivents-date-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: var(--intellivents-text);
}

.intellivents-card-image .intellivents-virtual-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
}

.intellivents-card-content {
    padding: 16px;
}

.intellivents-card-categories {
    font-size: 12px;
    font-weight: 500;
    color: var(--intellivents-primary);
    margin-bottom: 8px;
}

.intellivents-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.4;
    color: var(--intellivents-text);
}

.intellivents-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--intellivents-text-light);
}

.intellivents-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.intellivents-card-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--intellivents-primary);
}

.intellivents-card-cost {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--intellivents-border);
    font-weight: 600;
    color: var(--intellivents-primary);
}

/* Events List */
.intellivents-view-list {
    display: flex;
    flex-direction: column;
    gap: var(--intellivents-card-gap);
}

.intellivents-event-list-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: var(--intellivents-card-gap);
    padding: var(--intellivents-card-padding);
    background: var(--intellivents-white);
    border-radius: var(--intellivents-radius);
    box-shadow: var(--intellivents-shadow);
    transition: all 0.2s ease;
}

.intellivents-event-list-item:hover {
    box-shadow: var(--intellivents-shadow-lg);
}

.intellivents-event-list-item.intellivents-featured {
    border-left: 4px solid var(--intellivents-warning);
}

/* Block layout modifiers */
.intellivents-events-list-block:not(.has-shadow) .intellivents-event-list-item,
.intellivents-events-list-block:not(.has-shadow) .intellivents-event-card {
    box-shadow: none;
}

.intellivents-events-list-block:not(.has-shadow) .intellivents-event-list-item:hover,
.intellivents-events-list-block:not(.has-shadow) .intellivents-event-card:hover {
    box-shadow: none;
}

.intellivents-events-list-block.has-border .intellivents-event-list-item,
.intellivents-events-list-block.has-border .intellivents-event-card {
    border: 1px solid var(--intellivents-border-color, var(--intellivents-border));
}

.intellivents-events-list-block.image-left .intellivents-event-list-item {
    grid-template-columns: auto 1fr 100px;
}

.intellivents-events-list-block.image-left .intellivents-list-image {
    order: -1;
}

/* View Toggle */
.intellivents-view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

.intellivents-view-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.intellivents-view-toggle-btn.intellivents-btn-outline {
    background: var(--intellivents-bg);
    color: var(--intellivents-text);
    border: 1px solid var(--intellivents-border);
}

.intellivents-view-toggle-btn.intellivents-btn-outline:hover {
    background: var(--intellivents-bg-alt);
    color: var(--intellivents-primary);
    border-color: var(--intellivents-primary);
}

.intellivents-view-toggle-btn.active.intellivents-btn-primary {
    cursor: default;
}

.intellivents-view-toggle-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.intellivents-view-toggle-btn .dashicons:before {
    line-height: 18px;
}

/* View Details Button */
.intellivents-list-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 16px;
}

.intellivents-view-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding: 10px 16px;
}

.intellivents-view-details-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.intellivents-view-details-btn:hover .dashicons {
    transform: translateX(3px);
}

/* Hide details button when disabled */
.intellivents-events-list-block.hide-details-button .intellivents-list-actions {
    display: none;
}

/* List item layout with button on right */
.intellivents-event-list-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: var(--intellivents-bg);
    border-radius: var(--intellivents-radius);
    box-shadow: var(--intellivents-shadow);
}

.intellivents-list-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intellivents-event-list-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }
    
    .intellivents-list-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 0;
        padding-top: 12px;
    }
    
    .intellivents-list-image {
        grid-column: 1 / -1;
        order: -1;
    }
}

.intellivents-list-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--intellivents-card-padding);
    background: var(--intellivents-date-bg);
    border-radius: var(--intellivents-radius);
    text-align: center;
}

.intellivents-list-date .intellivents-date-month {
    font-size: calc(var(--intellivents-date-size) * 0.85);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--intellivents-primary);
}

.intellivents-list-date .intellivents-date-day {
    font-size: calc(var(--intellivents-date-size) * 2);
    font-weight: 700;
    line-height: 1.2;
    color: var(--intellivents-date-color);
}

.intellivents-list-date .intellivents-date-range {
    font-size: calc(var(--intellivents-date-size) * 0.7);
    color: var(--intellivents-meta-color);
    margin-top: 4px;
}

.intellivents-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intellivents-list-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.intellivents-list-title {
    font-size: var(--intellivents-title-size);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.intellivents-list-title a {
    color: var(--intellivents-title-color);
    text-decoration: none;
}

.intellivents-list-title a:hover {
    color: var(--intellivents-primary);
}

.intellivents-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: var(--intellivents-meta-size);
    color: var(--intellivents-meta-color);
}

.intellivents-list-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.intellivents-list-meta .dashicons {
    font-size: var(--intellivents-meta-size);
    width: var(--intellivents-meta-size);
    height: var(--intellivents-meta-size);
    color: var(--intellivents-primary);
}

.intellivents-list-excerpt {
    margin-top: 8px;
    font-size: var(--intellivents-excerpt-size);
    color: var(--intellivents-excerpt-color);
}

.intellivents-list-image {
    display: flex;
    align-items: center;
}

.intellivents-list-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--intellivents-radius);
}

@media (max-width: 768px) {
    .intellivents-event-list-item {
        grid-template-columns: 80px 1fr;
    }
    
    .intellivents-list-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .intellivents-event-list-item {
        grid-template-columns: 1fr;
    }
    
    .intellivents-list-date {
        flex-direction: row;
        gap: 8px;
        padding: 12px;
    }
}

/* Single Event */
.intellivents-single-event {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.intellivents-single-event > .intellivents-featured-badge {
    margin-bottom: 16px;
}

.intellivents-event-header {
    margin-bottom: 32px;
}

.intellivents-event-image {
    border-radius: var(--intellivents-radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.intellivents-event-image img {
    width: 100%;
    height: auto;
    display: block;
}

.intellivents-event-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.intellivents-category-link {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(var(--intellivents-primary-rgb), 0.1);
    color: var(--intellivents-primary);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.intellivents-category-link:hover {
    background: var(--intellivents-primary);
    color: var(--intellivents-white);
}

.intellivents-event-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
    color: var(--intellivents-text);
}

.intellivents-event-meta-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.intellivents-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--intellivents-text-light);
}

.intellivents-meta-item .dashicons {
    color: var(--intellivents-primary);
}

.intellivents-meta-item a {
    color: var(--intellivents-text-light);
    text-decoration: none;
}

.intellivents-meta-item a:hover {
    color: var(--intellivents-primary);
}

/* Event Content Layout */
.intellivents-event-content-wrap {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

@media (max-width: 992px) {
    .intellivents-event-content-wrap {
        grid-template-columns: 1fr;
    }
}

.intellivents-event-main {
    min-width: 0;
}

.intellivents-event-description {
    font-size: 16px;
    line-height: 1.8;
}

.intellivents-event-description p {
    margin-bottom: 16px;
}

/* Speakers Section */
.intellivents-event-speakers {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--intellivents-border);
}

.intellivents-event-speakers h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 24px;
}

.intellivents-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.intellivents-speaker-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--intellivents-bg);
    border-radius: var(--intellivents-radius);
}

.intellivents-speaker-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.intellivents-speaker-info {
    flex: 1;
}

.intellivents-speaker-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.intellivents-speaker-name a {
    color: var(--intellivents-text);
    text-decoration: none;
}

.intellivents-speaker-name a:hover {
    color: var(--intellivents-primary);
}

.intellivents-speaker-bio {
    font-size: 13px;
    color: var(--intellivents-text-light);
    margin: 0;
}

/* Sub-Events / Schedule */
.intellivents-sub-events {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--intellivents-border);
}

.intellivents-sub-events h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 24px;
}

.intellivents-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.intellivents-schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--intellivents-bg);
    border-radius: var(--intellivents-radius);
    border-left: 4px solid var(--intellivents-primary);
}

@media (max-width: 640px) {
    .intellivents-schedule-item {
        grid-template-columns: 1fr;
    }
}

.intellivents-schedule-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.intellivents-schedule-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--intellivents-primary);
}

.intellivents-schedule-times {
    font-size: 14px;
    font-weight: 600;
    color: var(--intellivents-text);
}

.intellivents-schedule-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--intellivents-text);
}

.intellivents-schedule-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--intellivents-text-light);
    margin: 0 0 8px;
}

.intellivents-schedule-description {
    font-size: 14px;
    color: var(--intellivents-text-light);
    margin-bottom: 12px;
}

.intellivents-schedule-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.intellivents-schedule-speaker {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: var(--intellivents-white);
    border-radius: 20px;
    font-size: 12px;
    color: var(--intellivents-text);
}

.intellivents-schedule-speaker img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Sidebar Cards */
.intellivents-event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.intellivents-event-details-card,
.intellivents-venue-card,
.intellivents-organizer-card,
.intellivents-rsvp-card,
.intellivents-share-card {
    padding: 24px;
    background: var(--intellivents-white);
    border-radius: var(--intellivents-radius);
    box-shadow: var(--intellivents-shadow);
}

.intellivents-event-details-card h3,
.intellivents-venue-card h3,
.intellivents-organizer-card h3,
.intellivents-rsvp-card h3,
.intellivents-share-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--intellivents-border);
}

.intellivents-details-list {
    margin: 0 0 20px;
}

.intellivents-details-list dt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--intellivents-text-light);
    margin-top: 16px;
}

.intellivents-details-list dt:first-child {
    margin-top: 0;
}

.intellivents-details-list dt .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--intellivents-primary);
}

.intellivents-details-list dd {
    margin: 4px 0 0 22px;
    font-size: 14px;
    color: var(--intellivents-text);
}

.intellivents-details-list dd a {
    color: var(--intellivents-primary);
    text-decoration: none;
}

.intellivents-venue-name,
.intellivents-organizer-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.intellivents-venue-name a,
.intellivents-organizer-name a {
    color: var(--intellivents-text);
    text-decoration: none;
}

.intellivents-venue-name a:hover,
.intellivents-organizer-name a:hover {
    color: var(--intellivents-primary);
}

.intellivents-venue-address {
    font-size: 14px;
    color: var(--intellivents-text-light);
    margin: 0 0 16px;
}

.intellivents-organizer-email,
.intellivents-organizer-phone,
.intellivents-organizer-website {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--intellivents-text-light);
    margin: 0 0 8px;
}

.intellivents-organizer-email a,
.intellivents-organizer-phone a,
.intellivents-organizer-website a {
    color: var(--intellivents-primary);
    text-decoration: none;
}

/* RSVP Form */
.intellivents-rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.intellivents-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.intellivents-form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--intellivents-text);
}

.intellivents-form-group input {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--intellivents-border);
    border-radius: var(--intellivents-radius);
    transition: border-color 0.2s ease;
}

.intellivents-form-group input:focus {
    outline: none;
    border-color: var(--intellivents-primary);
}

.intellivents-rsvp-message {
    padding: 12px;
    border-radius: var(--intellivents-radius);
    font-size: 14px;
    text-align: center;
}

.intellivents-rsvp-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--intellivents-success);
}

.intellivents-rsvp-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--intellivents-error);
}

.intellivents-spots-left {
    font-size: 13px;
    color: var(--intellivents-warning);
    margin: 0 0 16px;
}

.intellivents-rsvp-full {
    font-size: 14px;
    color: var(--intellivents-error);
    margin: 0;
}

/* Share Buttons */
.intellivents-share-buttons {
    display: flex;
    gap: 8px;
}

.intellivents-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--intellivents-radius);
    color: var(--intellivents-white);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.intellivents-share-btn:hover {
    transform: scale(1.1);
}

.intellivents-share-facebook {
    background: #1877f2;
}

.intellivents-share-twitter {
    background: #1da1f2;
}

.intellivents-share-linkedin {
    background: #0a66c2;
}

.intellivents-share-email {
    background: var(--intellivents-text-light);
}

/* Event Navigation */
.intellivents-event-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--intellivents-border);
}

.intellivents-nav-prev,
.intellivents-nav-next {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: var(--intellivents-bg);
    border-radius: var(--intellivents-radius);
    text-decoration: none;
    transition: all 0.2s ease;
}

.intellivents-nav-prev:hover,
.intellivents-nav-next:hover {
    background: var(--intellivents-primary);
}

.intellivents-nav-prev:hover *,
.intellivents-nav-next:hover * {
    color: var(--intellivents-white);
}

.intellivents-nav-next {
    text-align: right;
}

.intellivents-nav-label {
    font-size: 12px;
    color: var(--intellivents-text-light);
}

.intellivents-nav-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--intellivents-text);
}

/* Single Event Block - Customizable Styles */
.intellivents-single-event-block {
    --intellivents-single-title-size: 32px;
    --intellivents-single-heading-size: 20px;
    --intellivents-single-meta-size: 14px;
    --intellivents-single-body-size: 16px;
    --intellivents-single-title-color: var(--intellivents-text);
    --intellivents-single-heading-color: var(--intellivents-text);
    --intellivents-single-text-color: var(--intellivents-text);
    --intellivents-single-meta-color: var(--intellivents-text-light);
    --intellivents-single-link-color: var(--intellivents-primary);
    --intellivents-single-bg: transparent;
    --intellivents-single-card-bg: var(--intellivents-white);
    --intellivents-single-border-color: var(--intellivents-border);
    --intellivents-single-btn-radius: 8px;
    --intellivents-single-card-padding: 24px;
    --intellivents-single-card-radius: 8px;
}

.intellivents-single-event-block {
    background: var(--intellivents-single-bg);
}

.intellivents-single-event-block .intellivents-event-title {
    font-size: var(--intellivents-single-title-size);
    color: var(--intellivents-single-title-color);
}

.intellivents-single-event-block .intellivents-event-speakers h2,
.intellivents-single-event-block .intellivents-sub-events h2,
.intellivents-single-event-block .intellivents-sidebar-card h3 {
    font-size: var(--intellivents-single-heading-size);
    color: var(--intellivents-single-heading-color);
}

.intellivents-single-event-block .intellivents-event-description {
    font-size: var(--intellivents-single-body-size);
    color: var(--intellivents-single-text-color);
}

.intellivents-single-event-block .intellivents-meta-item,
.intellivents-single-event-block .intellivents-details-list dt {
    font-size: var(--intellivents-single-meta-size);
    color: var(--intellivents-single-meta-color);
}

.intellivents-single-event-block a:not(.intellivents-btn) {
    color: var(--intellivents-single-link-color);
}

.intellivents-single-event-block .intellivents-sidebar-card {
    padding: var(--intellivents-single-card-padding);
    background: var(--intellivents-single-card-bg);
    border-radius: var(--intellivents-single-card-radius);
    border: 1px solid var(--intellivents-single-border-color);
}

.intellivents-single-event-block.has-card-shadow .intellivents-sidebar-card {
    box-shadow: var(--intellivents-shadow);
    border: none;
}

.intellivents-single-event-block .intellivents-btn {
    border-radius: var(--intellivents-single-btn-radius);
}

/* Layout Variations */
.intellivents-single-event-block.intellivents-layout-sidebar-left .intellivents-event-content-wrap {
    grid-template-columns: 350px 1fr;
}

.intellivents-single-event-block.intellivents-layout-sidebar-left .intellivents-event-sidebar {
    order: -1;
}

.intellivents-single-event-block.intellivents-layout-full-width .intellivents-event-content-wrap {
    grid-template-columns: 1fr;
}

.intellivents-single-event-block.intellivents-layout-full-width .intellivents-event-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Content Width Variations */
.intellivents-single-event-block.intellivents-width-wide {
    max-width: 1400px;
    margin: 0 auto;
}

.intellivents-single-event-block.intellivents-width-full {
    max-width: none;
}

/* Image Position Variations */
.intellivents-single-event-block .intellivents-event-header.image-below .intellivents-event-image {
    order: 1;
    margin-top: 24px;
    margin-bottom: 0;
}

.intellivents-single-event-block .intellivents-event-header.image-background {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    border-radius: var(--intellivents-radius);
    overflow: hidden;
}

.intellivents-single-event-block .intellivents-event-header.image-background .intellivents-event-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    border-radius: 0;
}

.intellivents-single-event-block .intellivents-event-header.image-background .intellivents-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intellivents-single-event-block .intellivents-event-header.image-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
}

.intellivents-single-event-block .intellivents-event-header.image-background .intellivents-event-header-content {
    position: relative;
    z-index: 1;
}

.intellivents-single-event-block .intellivents-event-header.image-background .intellivents-event-title {
    color: var(--intellivents-white);
}

.intellivents-single-event-block .intellivents-event-header.image-background .intellivents-meta-item {
    color: rgba(255, 255, 255, 0.9);
}

.intellivents-single-event-block .intellivents-event-header.image-background .intellivents-meta-item .dashicons {
    color: var(--intellivents-white);
}

.intellivents-single-event-block .intellivents-event-header.image-background .intellivents-category-link {
    background: rgba(255, 255, 255, 0.2);
    color: var(--intellivents-white);
}

/* Speakers Layout Variations */
.intellivents-single-event-block .intellivents-speakers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.intellivents-single-event-block .intellivents-speakers-list .intellivents-speaker-card {
    flex-direction: row;
    align-items: center;
}

/* Speaker Modal Trigger in Block */
.intellivents-single-event-block .intellivents-speaker-image.intellivents-speaker-modal-trigger,
.intellivents-single-event-block .intellivents-speaker-name button.intellivents-speaker-modal-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
}

.intellivents-single-event-block .intellivents-speaker-name button.intellivents-speaker-modal-trigger:hover {
    color: var(--intellivents-primary);
}

@media (max-width: 992px) {
    .intellivents-single-event-block.intellivents-layout-sidebar-left .intellivents-event-content-wrap {
        grid-template-columns: 1fr;
    }
    
    .intellivents-single-event-block.intellivents-layout-sidebar-left .intellivents-event-sidebar {
        order: 0;
    }
}

/* Pagination */
.intellivents-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--intellivents-border);
}

.intellivents-pagination a,
.intellivents-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    background: var(--intellivents-white);
    border: 1px solid var(--intellivents-border);
    border-radius: var(--intellivents-radius);
    text-decoration: none;
    color: var(--intellivents-text);
    transition: all 0.2s ease;
}

.intellivents-pagination a:hover {
    border-color: var(--intellivents-primary);
    color: var(--intellivents-primary);
}

.intellivents-pagination .current {
    background: var(--intellivents-primary);
    border-color: var(--intellivents-primary);
    color: var(--intellivents-white);
}

/* No Events */
.intellivents-no-events {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: var(--intellivents-text-light);
}

.intellivents-no-events-wrap {
    text-align: center;
    padding: 60px 20px;
}

.intellivents-no-events-wrap .intellivents-no-events {
    margin-bottom: 20px;
}

/* Upcoming Events List */
.intellivents-upcoming-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.intellivents-upcoming-item {
    border-bottom: 1px solid var(--intellivents-border);
}

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

.intellivents-upcoming-item a {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.intellivents-upcoming-thumb {
    flex-shrink: 0;
}

.intellivents-upcoming-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--intellivents-radius);
}

.intellivents-upcoming-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.intellivents-upcoming-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--intellivents-primary);
}

.intellivents-upcoming-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--intellivents-text);
}

.intellivents-upcoming-venue {
    font-size: 12px;
    color: var(--intellivents-text-light);
}

.intellivents-upcoming-list.intellivents-compact .intellivents-upcoming-item a {
    padding: 12px 0;
}

/* Event Embed */
.intellivents-event-embed {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--intellivents-white);
    border-radius: var(--intellivents-radius);
    box-shadow: var(--intellivents-shadow);
}

@media (max-width: 640px) {
    .intellivents-event-embed {
        grid-template-columns: 1fr;
    }
}

.intellivents-embed-image img {
    width: 100%;
    height: auto;
    border-radius: var(--intellivents-radius);
}

.intellivents-embed-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.intellivents-embed-title a {
    color: var(--intellivents-text);
    text-decoration: none;
}

.intellivents-embed-title a:hover {
    color: var(--intellivents-primary);
}

.intellivents-embed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.intellivents-embed-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--intellivents-text-light);
}

.intellivents-embed-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--intellivents-primary);
}

.intellivents-embed-excerpt {
    font-size: 14px;
    color: var(--intellivents-text-light);
    margin-bottom: 16px;
}

/* Day Popup */
.intellivents-day-popup-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.intellivents-popup-event {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--intellivents-bg);
    border-radius: var(--intellivents-radius);
}

.intellivents-popup-event.intellivents-featured {
    border-left: 3px solid var(--intellivents-warning);
}

.intellivents-popup-time {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--intellivents-primary);
    min-width: 60px;
}

.intellivents-popup-content {
    flex: 1;
    min-width: 0;
}

.intellivents-popup-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

.intellivents-popup-title a {
    color: var(--intellivents-text);
    text-decoration: none;
}

.intellivents-popup-title a:hover {
    color: var(--intellivents-primary);
}

.intellivents-popup-venue {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--intellivents-text-light);
}

.intellivents-popup-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--intellivents-radius);
}

/* Timeline (Sub-events section) */
.intellivents-schedule-timeline {
    position: relative;
    padding-left: 30px;
}

.intellivents-schedule-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--intellivents-border);
}

.intellivents-timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.intellivents-timeline-item:last-child {
    padding-bottom: 0;
}

.intellivents-timeline-marker {
    position: absolute;
    left: -30px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--intellivents-primary);
    border: 3px solid var(--intellivents-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--intellivents-primary);
}

.intellivents-timeline-content {
    padding: 16px;
    background: var(--intellivents-bg);
    border-radius: var(--intellivents-radius);
}

.intellivents-timeline-header {
    margin-bottom: 12px;
}

.intellivents-timeline-time {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.intellivents-timeline-date {
    font-size: 12px;
    font-weight: 500;
    color: var(--intellivents-primary);
}

.intellivents-timeline-hours {
    font-size: 14px;
    font-weight: 600;
    color: var(--intellivents-text);
}

.intellivents-timeline-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--intellivents-text);
}

.intellivents-timeline-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--intellivents-text-light);
    margin: 0 0 8px;
}

.intellivents-timeline-description {
    font-size: 14px;
    color: var(--intellivents-text-light);
    margin-bottom: 12px;
}

.intellivents-timeline-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.intellivents-speakers-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--intellivents-text-light);
    margin-right: 4px;
}

.intellivents-timeline-speaker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: var(--intellivents-white);
    border-radius: 20px;
    font-size: 12px;
    color: var(--intellivents-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.intellivents-timeline-speaker:hover {
    background: var(--intellivents-primary);
    color: var(--intellivents-white);
}

.intellivents-timeline-speaker img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Error Message */
.intellivents-error {
    padding: 16px 20px;
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--intellivents-error);
    border-radius: var(--intellivents-radius);
    color: var(--intellivents-error);
    font-size: 14px;
}

/* Sub-Events in List View */
.intellivents-list-sub-events {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--intellivents-border);
}

.intellivents-sub-events-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--intellivents-text-light);
}

.intellivents-sub-events-header .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--intellivents-primary);
}

.intellivents-sub-events-header strong {
    color: var(--intellivents-text);
}

.intellivents-sub-events-list {
    background: var(--intellivents-bg);
    border-radius: var(--intellivents-radius);
    padding: 12px;
}

.intellivents-sub-event-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid var(--intellivents-border);
}

.intellivents-sub-event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.intellivents-sub-event-item:first-child {
    padding-top: 0;
}

.intellivents-sub-event-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.intellivents-sub-event-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--intellivents-primary);
    min-width: 100px;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.intellivents-sub-event-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--intellivents-text);
    flex: 1;
    min-width: 150px;
}

.intellivents-sub-event-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--intellivents-text-light);
}

.intellivents-sub-event-location .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

.intellivents-sub-event-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.intellivents-speaker-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: var(--intellivents-white);
    border: 1px solid var(--intellivents-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--intellivents-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.intellivents-speaker-chip:hover {
    background: var(--intellivents-primary);
    border-color: var(--intellivents-primary);
    color: var(--intellivents-white);
}

.intellivents-speaker-chip img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.intellivents-speaker-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--intellivents-primary);
    color: var(--intellivents-white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.intellivents-speaker-chip:hover .intellivents-speaker-avatar {
    background: var(--intellivents-white);
    color: var(--intellivents-primary);
}

.intellivents-speaker-name {
    font-weight: 500;
}

.intellivents-sub-events-more {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--intellivents-border);
    font-size: 12px;
    font-weight: 500;
    color: var(--intellivents-primary);
    text-decoration: none;
}

.intellivents-sub-events-more:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .intellivents-sub-event-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .intellivents-sub-event-time {
        min-width: auto;
    }
    
    .intellivents-sub-event-title {
        min-width: auto;
    }
    
    .intellivents-speaker-chip {
        padding: 3px 8px 3px 3px;
    }
    
    .intellivents-speaker-chip img,
    .intellivents-speaker-avatar {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* Speaker Modal */
.intellivents-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
}

.intellivents-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intellivents-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.intellivents-modal-container {
    position: relative;
    background: var(--intellivents-white);
    border-radius: var(--intellivents-radius);
    box-shadow: var(--intellivents-shadow-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: intellivents-modal-in 0.2s ease-out;
}

@keyframes intellivents-modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.intellivents-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: var(--intellivents-bg);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.intellivents-modal-close:hover {
    background: var(--intellivents-border);
}

.intellivents-modal-close .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--intellivents-text);
}

.intellivents-modal-content {
    padding: 24px;
    overflow-y: auto;
    max-height: 90vh;
}

.intellivents-speaker-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.intellivents-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--intellivents-border);
    border-top-color: var(--intellivents-primary);
    border-radius: 50%;
    animation: intellivents-spin 0.8s linear infinite;
}

@keyframes intellivents-spin {
    to { transform: rotate(360deg); }
}

.intellivents-speaker-modal-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.intellivents-speaker-modal-image {
    flex-shrink: 0;
}

.intellivents-speaker-modal-image img {
    width: 120px;
    height: 120px;
    border-radius: var(--intellivents-radius);
    object-fit: cover;
}

.intellivents-speaker-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: var(--intellivents-radius);
    background: var(--intellivents-primary);
    color: var(--intellivents-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 600;
}

.intellivents-speaker-modal-info {
    flex: 1;
}

.intellivents-speaker-modal-name {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
    color: var(--intellivents-text);
}

.intellivents-speaker-modal-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.intellivents-speaker-modal-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--intellivents-text-light);
    text-decoration: none;
    font-size: 14px;
}

.intellivents-speaker-modal-meta a:hover {
    color: var(--intellivents-primary);
}

.intellivents-speaker-modal-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.intellivents-speaker-modal-social {
    display: flex;
    gap: 8px;
}

.intellivents-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--intellivents-bg);
    color: var(--intellivents-text-light);
    text-decoration: none;
    transition: all 0.2s;
}

.intellivents-social-link:hover {
    background: var(--intellivents-primary);
    color: var(--intellivents-white);
}

.intellivents-social-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.intellivents-speaker-modal-bio {
    font-size: 15px;
    line-height: 1.7;
    color: var(--intellivents-text);
    margin-bottom: 20px;
}

.intellivents-speaker-modal-bio p {
    margin: 0 0 1em;
}

.intellivents-speaker-modal-bio p:last-child {
    margin-bottom: 0;
}

.intellivents-speaker-modal-footer {
    padding-top: 16px;
    border-top: 1px solid var(--intellivents-border);
    text-align: center;
}

body.intellivents-modal-open {
    overflow: hidden;
}

/* Speaker chip as button */
button.intellivents-speaker-chip {
    border: none;
    font-family: inherit;
    cursor: pointer;
}

button.intellivents-speaker-chip:hover {
    background: rgba(var(--intellivents-primary-rgb), 0.15);
}

@media (max-width: 640px) {
    .intellivents-speaker-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .intellivents-speaker-modal-meta {
        align-items: center;
    }
    
    .intellivents-speaker-modal-social {
        justify-content: center;
    }
}
