/**
 * AIPressRoom Events Calendar — Clean CSS v2.0
 *
 * Rules:
 * 1. All selectors use "body .aipr-events-calendar" prefix for high specificity
 * 2. !important used sparingly — only where Bimber theme is known to override
 * 3. No conflicting rules — JS uses setProperty('display','none','important') for dynamic hide/show
 * 4. Organized by component, top-to-bottom page order
 */

/* ========== ROOT ========== */

body .aipr-events-calendar {
    font-family: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #333 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 30px 20px 40px !important;
    position: relative !important;
}

body .aipr-events-calendar *,
body .aipr-events-calendar *::before,
body .aipr-events-calendar *::after {
    box-sizing: border-box !important;
}

/* ========== PREVIEW BANNER ========== */

body .aipr-events-calendar .aipr-ec-preview-banner {
    background: #FFF3CD !important;
    color: #856404 !important;
    text-align: center !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    border-radius: 4px !important;
}

/* ========== TITLE + SLOGAN ========== */

body .aipr-events-calendar .aipr-ec-title {
    text-align: center !important;
    font-family: Lato, sans-serif !important;
    font-weight: 700 !important;
    font-size: 36px !important;
    color: #000 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    float: none !important;
    display: block !important;
    width: auto !important;
}

body .aipr-events-calendar .aipr-ec-slogan {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin: 16px 0 12px !important;
    padding-bottom: 3px !important;
    border-bottom: 2px solid #2ECC71 !important;
    display: inline-block !important;
    font-style: normal !important;
    text-align: left !important;
}

/* ========== INTRO ROW ========== */

body .aipr-events-calendar .aipr-ec-intro-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;
    margin-bottom: 20px !important;
    padding: 16px 0 !important;
}

body .aipr-events-calendar .aipr-ec-intro-text {
    flex: 1 !important;
    min-width: 0 !important;
}

body .aipr-events-calendar .aipr-ec-desc {
    font-size: 16px !important;
    color: #555 !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

body .aipr-events-calendar .aipr-ec-updated {
    font-size: 13px !important;
    color: #999 !important;
    margin: 4px 0 0 !important;
}

body .aipr-events-calendar .aipr-ec-submit-link {
    color: #4B0082 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    margin-left: auto !important;
}

body .aipr-events-calendar .aipr-ec-submit-link:hover {
    text-decoration: underline !important;
}

/* ========== AD BANNER ========== */

body .aipr-events-calendar .aipr-ec-ad-banner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    background: #4B0082 !important;
    border-radius: 12px !important;
    padding: 28px 36px 20px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    border: none !important;
    position: relative !important;
    min-width: 420px !important;
    text-align: center !important;
    margin-top: 12px !important;
}

body .aipr-events-calendar .aipr-ec-ad-banner:hover {
    opacity: 0.95 !important;
    text-decoration: none !important;
}

body .aipr-events-calendar .aipr-ec-ad-tag {
    display: inline-block !important;
    background: #fff !important;
    color: #4B0082 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: absolute !important;
    top: -12px !important;
    right: 24px !important;
}

body .aipr-events-calendar .aipr-ec-ad-title {
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: block !important;
}

body .aipr-events-calendar .aipr-ec-ad-sub {
    color: rgba(255,255,255,0.85) !important;
    font-size: 14px !important;
    display: block !important;
}

/* ========== TOOLBAR ========== */

body .aipr-events-calendar .aipr-ec-toolbar {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    flex-wrap: nowrap !important;
}

body .aipr-events-calendar .aipr-ec-search-wrap {
    position: relative !important;
    flex: 0 1 75% !important;
    min-width: 200px !important;
}

body .aipr-events-calendar .aipr-ec-search-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
}

body .aipr-events-calendar .aipr-ec-search {
    width: 100% !important;
    height: 48px !important;
    padding: 8px 16px 8px 40px !important;
    border: 1px solid #E6E6E6 !important;
    border-radius: 8px !important;
    font-family: Lato, sans-serif !important;
    font-size: 16px !important;
    color: #333 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

body .aipr-events-calendar .aipr-ec-toolbar-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 16px !important;
    border: 1px solid #E6E6E6 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
    font-family: Lato, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
}

body .aipr-events-calendar .aipr-ec-toolbar-btn:hover {
    border-color: #999 !important;
}

body .aipr-events-calendar .aipr-ec-toolbar-submit {
    color: #4B0082 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

body .aipr-events-calendar .aipr-ec-toolbar-submit:hover {
    text-decoration: underline !important;
}

/* ========== TOGGLE SWITCH ========== */

body .aipr-events-calendar .aipr-ec-toggle-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

body .aipr-events-calendar .aipr-ec-toggle-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

body .aipr-events-calendar .aipr-ec-toggle-slider {
    display: inline-block !important;
    width: 38px !important;
    height: 22px !important;
    background: #ccc !important;
    border-radius: 11px !important;
    position: relative !important;
    transition: background 0.2s !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    border: none !important;
}

body .aipr-events-calendar .aipr-ec-toggle-slider::after {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 18px !important;
    height: 18px !important;
    background: #fff !important;
    border-radius: 50% !important;
    transition: transform 0.2s !important;
}

body .aipr-events-calendar .aipr-ec-toggle-input:checked + .aipr-ec-toggle-slider {
    background: #4B0082 !important;
}

body .aipr-events-calendar .aipr-ec-toggle-input:checked + .aipr-ec-toggle-slider::after {
    transform: translateX(16px) !important;
}

body .aipr-events-calendar .aipr-ec-toggle-text {
    font-size: 14px !important;
    color: #666 !important;
}

/* ========== FILTERS ========== */

body .aipr-events-calendar .aipr-ec-filters {
    padding: 4px 0 8px !important;
}

body .aipr-events-calendar .aipr-ec-filter-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
}

body .aipr-events-calendar .aipr-ec-filter-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-width: 60px !important;
    flex-shrink: 0 !important;
}

body .aipr-events-calendar .aipr-ec-filter-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

/* ========== PILL BUTTONS ========== */

body .aipr-events-calendar button.aipr-ec-pill,
body .aipr-events-calendar a.aipr-ec-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 14px !important;
    border-radius: 8px !important;
    border: none !important;
    background: transparent !important;
    color: #666 !important;
    font-family: Lato, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s !important;
    line-height: 1.4 !important;
}

body .aipr-events-calendar button.aipr-ec-pill:hover,
body .aipr-events-calendar a.aipr-ec-pill:hover {
    background: #F5F5F5 !important;
    color: #333 !important;
}

body .aipr-events-calendar button.aipr-ec-pill.active,
body .aipr-events-calendar a.aipr-ec-pill.active {
    background: #4B0082 !important;
    color: #fff !important;
    border-radius: 20px !important;
}

/* ========== TOPICS TOGGLE ========== */

body .aipr-events-calendar .aipr-ec-topics-toggle {
    height: 32px !important;
    padding: 4px 12px !important;
    font-size: 13px !important;
}

/* ========== TAGS PANEL ========== */

body .aipr-events-calendar .aipr-ec-tags-panel {
    display: none !important;
    padding: 12px 16px !important;
    background: #fff !important;
    border: 1px solid #E6E6E6 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    margin-bottom: 12px !important;
}

/* JS sets display via setProperty — this class allows it */
body .aipr-events-calendar .aipr-ec-tags-panel.is-open {
    display: block !important;
}

/* ========== MONTH NAV ========== */

body .aipr-events-calendar .aipr-ec-month-bar {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 12px 0 !important;
    flex-wrap: wrap !important;
    font-size: 15px !important;
}

body .aipr-events-calendar .aipr-ec-event-count {
    color: #333 !important;
    font-size: 15px !important;
    margin-right: 8px !important;
}

body .aipr-events-calendar .aipr-ec-month-sep {
    color: #ccc !important;
    margin: 0 4px !important;
    user-select: none !important;
}

body .aipr-events-calendar .aipr-ec-month-link {
    color: #4B0082 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    padding: 2px 4px !important;
}

body .aipr-events-calendar .aipr-ec-month-link:hover {
    text-decoration: underline !important;
}

body .aipr-events-calendar .aipr-ec-month-link.current {
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* ========== TABLE HEADER ========== */

body .aipr-events-calendar .aipr-ec-table-header {
    display: grid !important;
    grid-template-columns: 1fr 160px 100px 220px !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    background: #F5F5F5 !important;
    border-radius: 4px !important;
    border-bottom: 1px solid #E6E6E6 !important;
}

body .aipr-events-calendar .aipr-ec-table-header span {
    font-family: Lato, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #666 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* ========== EVENT LIST ========== */

body .aipr-events-calendar .aipr-ec-list {
    margin-bottom: 24px !important;
}

body .aipr-events-calendar .aipr-ec-month-header {
    font-family: Lato, sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    color: #999 !important;
    padding: 32px 16px 8px !important;
    border-top: 1px solid #E6E6E6 !important;
    letter-spacing: 0.5px !important;
}

body .aipr-events-calendar .aipr-ec-month-group:first-child .aipr-ec-month-header {
    border-top: none !important;
    padding-top: 12px !important;
}

/* ========== EVENT ROW ========== */

body .aipr-events-calendar .aipr-ec-event-row {
    display: grid !important;
    grid-template-columns: 1fr 160px 100px 220px !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 16px !important;
    border-bottom: 1px solid #F0F0F0 !important;
    min-height: 60px !important;
    position: relative !important;
    transition: background-color 0.1s !important;
    background: transparent !important;
}

body .aipr-events-calendar .aipr-ec-event-row.aipr-ec-expandable {
    cursor: pointer !important;
}

/* Hover effect on all rows */
body .aipr-events-calendar .aipr-ec-event-row:hover {
    background-color: #FAFAFA !important;
}

body .aipr-events-calendar .aipr-ec-event-row.aipr-ec-expandable:hover .aipr-ec-row-expand-icon {
    opacity: 1 !important;
}

/* Expanded row stays highlighted */
body .aipr-events-calendar .aipr-ec-event-row.expanded {
    background-color: #FAFAFA !important;
}

body .aipr-events-calendar .aipr-ec-event-row.expanded .aipr-ec-row-expand-icon {
    opacity: 1 !important;
}

body .aipr-events-calendar .aipr-ec-event-name {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
}

body .aipr-events-calendar .aipr-ec-event-link {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    word-break: break-word !important;
}

body .aipr-events-calendar .aipr-ec-event-link:hover {
    color: #4B0082 !important;
}

/* Meta wrapper: transparent on desktop grid, visible on mobile */
body .aipr-events-calendar .aipr-ec-event-meta {
    display: contents !important;
}

body .aipr-events-calendar .aipr-ec-event-type {
    font-size: 15px !important;
    color: #999 !important;
}

body .aipr-events-calendar .aipr-ec-event-location {
    font-size: 15px !important;
    color: #666 !important;
}

body .aipr-events-calendar .aipr-ec-event-date {
    font-size: 15px !important;
    color: #666 !important;
    white-space: nowrap !important;
}

body .aipr-events-calendar .aipr-ec-event-location {
    font-size: 14px !important;
    color: #666 !important;
}

/* ========== BADGES ========== */

body .aipr-events-calendar .aipr-ec-badge {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
}

body .aipr-events-calendar .aipr-ec-badge-sponsored {
    background: #E8A317 !important;
    color: #fff !important;
}

body .aipr-events-calendar .aipr-ec-badge-pick {
    background: #2ECC71 !important;
    color: #fff !important;
}

/* Sponsored row — left gold accent border */
body .aipr-events-calendar .aipr-ec-event-row:has(.aipr-ec-badge-sponsored) {
    border-left: 3px solid #E8A317 !important;
    background: #FFFCF5 !important;
}

/* Sponsored expand panel — gold left border when expanded */
body .aipr-events-calendar .aipr-ec-event-row.expanded:has(.aipr-ec-badge-sponsored) + .aipr-ec-expand-panel {
    border-left-color: #E8A317 !important;
}

/* Editor's Pick row — left green accent border */
body .aipr-events-calendar .aipr-ec-event-row:has(.aipr-ec-badge-pick) {
    border-left: 3px solid #2ECC71 !important;
    background: #F6FFF9 !important;
}

/* Editor's Pick expand panel — green left border when expanded */
body .aipr-events-calendar .aipr-ec-event-row.expanded:has(.aipr-ec-badge-pick) + .aipr-ec-expand-panel {
    border-left-color: #2ECC71 !important;
}

@keyframes aipr-badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ========== ROW EXPAND ICON ========== */

body .aipr-events-calendar .aipr-ec-row-expand-icon {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    color: #999 !important;
    opacity: 0 !important;
    transition: opacity 0.15s !important;
    pointer-events: none !important;
    user-select: none !important;
    line-height: 1 !important;
}

/* ========== EXPAND PANEL ========== */
/* NOTE: No max-height !important here — JS controls this via setProperty */

body .aipr-events-calendar .aipr-ec-expand-panel {
    max-height: 0;
    overflow: hidden !important;
    background: #FFFFFF !important;
    transition: max-height 200ms ease-out, border-color 0s 200ms !important;
    border-bottom: none !important;
    border-left: 3px solid transparent !important;
}

body .aipr-events-calendar .aipr-ec-event-row.expanded + .aipr-ec-expand-panel {
    border-bottom: 1px solid #F0F0F0 !important;
    border-left: 3px solid transparent !important;
    transition: max-height 200ms ease-out, border-color 0s 0s !important;
}

body .aipr-events-calendar .aipr-ec-expand-inner {
    padding: 12px 16px 12px 20px !important;
}

body .aipr-events-calendar .aipr-ec-expand-desc {
    font-size: 14px !important;
    color: #555 !important;
    margin: 0 0 12px !important;
    line-height: 1.5 !important;
}

body .aipr-events-calendar .aipr-ec-expand-details {
    margin: 0 0 12px !important;
    padding: 0 !important;
}

body .aipr-events-calendar .aipr-ec-detail-item {
    margin-bottom: 8px !important;
}

body .aipr-events-calendar .aipr-ec-detail-item:last-child {
    margin-bottom: 0 !important;
}

body .aipr-events-calendar .aipr-ec-detail-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #999 !important;
    margin-bottom: 2px !important;
}

body .aipr-events-calendar .aipr-ec-detail-value {
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.5 !important;
}

body .aipr-events-calendar .aipr-ec-expand-tags {
    margin-bottom: 16px !important;
    display: flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

body .aipr-events-calendar .aipr-ec-tag {
    display: inline-block !important;
    font-size: 12px !important;
    padding: 3px 10px !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #666 !important;
    border: 1px solid #DDD !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: background 0.15s !important;
}

body .aipr-events-calendar .aipr-ec-tag:hover {
    background: #F5F5F5 !important;
    color: #333 !important;
}

body .aipr-events-calendar .aipr-ec-expand-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

body .aipr-events-calendar .aipr-ec-visit-link {
    font-size: 14px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

body .aipr-events-calendar .aipr-ec-visit-link:hover {
    text-decoration: underline !important;
    color: #000 !important;
}

body .aipr-events-calendar .aipr-ec-cal-btns {
    display: flex !important;
    gap: 6px !important;
}

body .aipr-events-calendar .aipr-ec-cal-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #666 !important;
    text-decoration: none !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    border: 1px solid #E0E0E0 !important;
    background: #fff !important;
    transition: all 0.15s !important;
}

body .aipr-events-calendar .aipr-ec-cal-btn:hover {
    color: #4B0082 !important;
    border-color: #4B0082 !important;
    background: #F8F4FF !important;
}

/* ========== EMPTY STATE ========== */

body .aipr-events-calendar .aipr-ec-empty-state {
    display: none;
    text-align: center !important;
    padding: 60px 20px !important;
}

body .aipr-events-calendar .aipr-ec-empty-state p {
    font-size: 16px !important;
    color: #999 !important;
    margin: 0 0 20px !important;
}

body .aipr-events-calendar .aipr-ec-empty-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

body .aipr-events-calendar .aipr-ec-empty-default {
    text-align: center !important;
    padding: 60px 20px !important;
}

body .aipr-events-calendar .aipr-ec-empty-default p {
    font-size: 16px !important;
    color: #999 !important;
}

/* ========== BOTTOM CTA ========== */

body .aipr-events-calendar .aipr-ec-bottom-cta {
    border-top: 1px solid #E6E6E6 !important;
    padding: 20px 0 !important;
    text-align: center !important;
    margin-top: 16px !important;
}

body .aipr-events-calendar .aipr-ec-bottom-cta a {
    font-size: 16px !important;
    color: #4B0082 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

body .aipr-events-calendar .aipr-ec-bottom-cta a:hover {
    text-decoration: underline !important;
}

/* ========== SEARCH HIGHLIGHT ========== */

body .aipr-events-calendar .aipr-ec-highlight {
    background: #FFFACD !important;
    padding: 1px 2px !important;
    border-radius: 2px !important;
}

/* ========== MOBILE ========== */

body .aipr-events-calendar .aipr-ec-mobile-toolbar {
    display: none !important;
}

body .aipr-events-calendar .aipr-ec-mobile-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.4) !important;
    z-index: 99999 !important;
}

body .aipr-events-calendar .aipr-ec-mobile-overlay.open {
    display: block !important;
}

body .aipr-events-calendar .aipr-ec-mobile-sheet {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #fff !important;
    max-height: 85vh !important;
    border-radius: 16px 16px 0 0 !important;
    overflow-y: auto !important;
}

body .aipr-events-calendar .aipr-ec-mobile-sheet-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #F0F0F0 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #333 !important;
}

body .aipr-events-calendar .aipr-ec-mobile-close {
    background: none !important;
    border: none !important;
    font-size: 28px !important;
    cursor: pointer !important;
    color: #999 !important;
}

body .aipr-events-calendar .aipr-ec-mobile-sheet-body {
    padding: 16px 20px !important;
}

body .aipr-events-calendar .aipr-ec-mobile-sheet-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    border-top: 1px solid #F0F0F0 !important;
}

body .aipr-events-calendar .aipr-ec-text-btn {
    background: none !important;
    border: none !important;
    color: #999 !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

body .aipr-events-calendar .aipr-ec-primary-btn {
    background: #4B0082 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

@media (max-width: 768px) {

    /* --- Layout & Spacing --- */
    body .aipr-events-calendar {
        padding: 0 16px 32px !important;
    }

    /* --- Title & Slogan --- */
    body .aipr-events-calendar .aipr-ec-title {
        font-size: 24px !important;
    }

    body .aipr-events-calendar .aipr-ec-slogan {
        font-size: 18px !important;
    }

    body .aipr-events-calendar .aipr-ec-desc {
        font-size: 14px !important;
    }

    /* --- Intro Row: stack vertically --- */
    body .aipr-events-calendar .aipr-ec-intro-row {
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* --- Ad Banner: full width, allow text wrap --- */
    body .aipr-events-calendar .aipr-ec-ad-banner {
        min-width: 0 !important;
        width: 100% !important;
        padding: 24px 20px 16px !important;
    }

    body .aipr-events-calendar .aipr-ec-ad-title {
        white-space: normal !important;
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    body .aipr-events-calendar .aipr-ec-ad-sub {
        font-size: 13px !important;
    }

    /* --- Hide desktop toolbar, show mobile toolbar --- */
    body .aipr-events-calendar .aipr-ec-toolbar {
        display: none !important;
    }

    body .aipr-events-calendar .aipr-ec-filters {
        display: none !important;
    }

    body .aipr-events-calendar .aipr-ec-table-header {
        display: none !important;
    }

    body .aipr-events-calendar .aipr-ec-mobile-toolbar {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 8px 0 !important;
        position: sticky !important;
        top: 0 !important;
        background: #fff !important;
        z-index: 100 !important;
    }

    body .aipr-events-calendar .aipr-ec-mobile-toolbar .aipr-ec-search-wrap {
        flex: 1 !important;
    }

    body .aipr-events-calendar .aipr-ec-mobile-toolbar .aipr-ec-search {
        height: 40px !important;
        font-size: 14px !important;
    }

    body .aipr-events-calendar .aipr-ec-mobile-actions {
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
    }

    /* --- Month Bar: horizontal scroll --- */
    body .aipr-events-calendar .aipr-ec-month-bar {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 10px 0 !important;
        font-size: 14px !important;
    }

    body .aipr-events-calendar .aipr-ec-month-bar::-webkit-scrollbar {
        display: none !important;
    }

    body .aipr-events-calendar .aipr-ec-event-count {
        white-space: nowrap !important;
        font-size: 14px !important;
    }

    body .aipr-events-calendar .aipr-ec-month-link {
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    body .aipr-events-calendar .aipr-ec-submit-link {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    /* --- Event Row: block layout to kill grid completely --- */
    body .aipr-events-calendar .aipr-ec-event-row {
        display: block !important;
        grid-template-columns: none !important;
        padding: 12px 16px !important;
        width: 100% !important;
        position: relative !important;
    }

    /* Line 1: Event name + badges, full width */
    body .aipr-events-calendar .aipr-ec-event-name {
        display: block !important;
        width: 100% !important;
        margin-bottom: 2px !important;
        padding-right: 28px !important;
    }

    body .aipr-events-calendar .aipr-ec-event-link {
        display: inline !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    body .aipr-events-calendar .aipr-ec-badge {
        font-size: 9px !important;
        padding: 2px 6px !important;
        vertical-align: middle !important;
    }

    /* Line 2: meta wrapper as flex for order support */
    body .aipr-events-calendar .aipr-ec-event-meta {
        display: flex !important;
        flex-wrap: wrap !important;
        font-size: 13px !important;
        color: #999 !important;
        line-height: 1.4 !important;
        gap: 0 !important;
    }

    /* Reorder: Date(1) → Location(2) → Type(3) */
    body .aipr-events-calendar .aipr-ec-event-date { order: 1 !important; }
    body .aipr-events-calendar .aipr-ec-event-location { order: 2 !important; }
    body .aipr-events-calendar .aipr-ec-event-type { order: 3 !important; }

    body .aipr-events-calendar .aipr-ec-event-type,
    body .aipr-events-calendar .aipr-ec-event-date,
    body .aipr-events-calendar .aipr-ec-event-location {
        display: inline !important;
        font-size: 13px !important;
    }

    /* Separators: Date · Location · Type (no trailing dot) */
    body .aipr-events-calendar .aipr-ec-event-date::after,
    body .aipr-events-calendar .aipr-ec-event-location::after {
        content: " · " !important;
        color: #CCC !important;
    }

    body .aipr-events-calendar .aipr-ec-event-type::after {
        content: none !important;
    }

    /* Expand icon: top-right, always visible */
    body .aipr-events-calendar .aipr-ec-row-expand-icon {
        opacity: 1 !important;
        right: 12px !important;
        top: 12px !important;
        transform: none !important;
    }

    /* --- Expand Panel --- */
    body .aipr-events-calendar .aipr-ec-expand-inner {
        padding: 12px 14px !important;
    }

    body .aipr-events-calendar .aipr-ec-expand-actions {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    body .aipr-events-calendar .aipr-ec-cal-btns {
        flex-wrap: wrap !important;
    }

    /* --- Month Section Headers --- */
    body .aipr-events-calendar .aipr-ec-month-header {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
}

/* ========== SUBMIT PAGE ========== */

body .aipr-ec-submit-page {
    font-family: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #333 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 30px 20px 60px !important;
}

body .aipr-ec-submit-page *,
body .aipr-ec-submit-page *::before,
body .aipr-ec-submit-page *::after {
    box-sizing: border-box !important;
}

body .aipr-ec-submit-page .aipr-ec-preview-banner {
    background: #FFF3CD !important;
    color: #856404 !important;
    text-align: center !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    border-radius: 4px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #4B0082 !important;
    text-decoration: none !important;
    margin-bottom: 24px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-back:hover {
    text-decoration: underline !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-title {
    text-align: center !important;
    font-family: Lato, sans-serif !important;
    font-weight: 700 !important;
    font-size: 36px !important;
    color: #000 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-desc {
    text-align: center !important;
    font-size: 15px !important;
    color: #666 !important;
    margin: 0 0 6px !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-review-hint {
    text-align: center !important;
    font-size: 13px !important;
    color: #999 !important;
    margin: 0 0 36px !important;
}

/* --- Section Headers --- */

body .aipr-ec-submit-page .aipr-ec-submit-section {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #E6E6E6 !important;
    margin-bottom: 0 !important;
    grid-column: 1 / -1 !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-section-event {
    margin-top: 12px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 28px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-full {
    grid-column: 1 / -1 !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 6px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-label .aipr-ec-req {
    color: #999 !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-label .aipr-ec-optional {
    color: #999 !important;
    font-weight: 400 !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-input,
body .aipr-ec-submit-page .aipr-ec-submit-select {
    width: 100% !important;
    height: 44px !important;
    padding: 8px 12px !important;
    border: 1px solid #E0E0E0 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fff !important;
    outline: none !important;
    font-family: inherit !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-input:focus,
body .aipr-ec-submit-page .aipr-ec-submit-select:focus {
    border-color: #4B0082 !important;
    box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.08) !important;
}

/* Validation States */
body .aipr-ec-submit-page .aipr-ec-submit-input.aipr-ec-field-error,
body .aipr-ec-submit-page .aipr-ec-submit-select.aipr-ec-field-error,
body .aipr-ec-submit-page .aipr-ec-submit-textarea.aipr-ec-field-error {
    border-color: #E53935 !important;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08) !important;
}

body .aipr-ec-submit-page .aipr-ec-field-error-msg {
    font-size: 12px !important;
    color: #E53935 !important;
    margin-top: 4px !important;
    display: none !important;
}

body .aipr-ec-submit-page .aipr-ec-field-error-msg.visible {
    display: block !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-select {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #E0E0E0 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    color: #333 !important;
    background: #fff !important;
    outline: none !important;
    font-family: inherit !important;
    resize: vertical !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-textarea:focus {
    border-color: #4B0082 !important;
    box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.08) !important;
}

/* Character Counter */
body .aipr-ec-submit-page .aipr-ec-textarea-wrap {
    position: relative !important;
}

body .aipr-ec-submit-page .aipr-ec-char-counter {
    text-align: right !important;
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 4px !important;
    transition: color 0.15s !important;
}

body .aipr-ec-submit-page .aipr-ec-char-counter.warn {
    color: #E8A317 !important;
}

body .aipr-ec-submit-page .aipr-ec-char-counter.limit {
    color: #E53935 !important;
    font-weight: 600 !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-dates {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-dates .aipr-ec-submit-input {
    flex: 1 !important;
}

body .aipr-ec-submit-page .aipr-ec-date-sep {
    color: #999 !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

body .aipr-ec-submit-page .aipr-ec-date-hint {
    color: #999 !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* --- Topic Pills Multi-select --- */

body .aipr-ec-submit-page .aipr-ec-topic-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

body .aipr-ec-submit-page .aipr-ec-topic-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #E0E0E0 !important;
    background: #fff !important;
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
    white-space: nowrap !important;
    user-select: none !important;
}

body .aipr-ec-submit-page .aipr-ec-topic-pill:hover {
    border-color: #C5A3E8 !important;
    color: #333 !important;
    background: #FDFBFF !important;
}

body .aipr-ec-submit-page .aipr-ec-topic-pill.selected {
    background: #4B0082 !important;
    color: #fff !important;
    border-color: #4B0082 !important;
}

body .aipr-ec-submit-page .aipr-ec-topic-pill.selected span::before {
    content: '✓ ' !important;
}

body .aipr-ec-submit-page .aipr-ec-topic-pill.disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

body .aipr-ec-submit-page .aipr-ec-topic-pill input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Topic Counter */
body .aipr-ec-submit-page .aipr-ec-topic-counter {
    float: right !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #999 !important;
    transition: color 0.15s !important;
}

body .aipr-ec-submit-page .aipr-ec-topic-counter.warn {
    color: #E8A317 !important;
}

body .aipr-ec-submit-page .aipr-ec-topic-counter.limit {
    color: #4B0082 !important;
    font-weight: 600 !important;
}

/* --- Media Partnership Card Options --- */

body .aipr-ec-submit-page .aipr-ec-submit-partnership {
    margin-top: 28px !important;
    padding: 20px 24px !important;
    background: #F9F7FC !important;
    border: 1px solid #E8E0F0 !important;
    border-radius: 8px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-partnership p {
    font-size: 14px !important;
    color: #666 !important;
    margin: 0 0 12px !important;
    line-height: 1.5 !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-partnership > a {
    color: #4B0082 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-partnership > a:hover {
    text-decoration: underline !important;
}

body .aipr-ec-submit-page .aipr-ec-radio-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

body .aipr-ec-submit-page .aipr-ec-radio-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #333 !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    border: none !important;
    border-left: 3px solid transparent !important;
    background: transparent !important;
    transition: background 0.15s, border-color 0.15s !important;
}

body .aipr-ec-submit-page .aipr-ec-radio-card:hover {
    background: rgba(75, 0, 130, 0.04) !important;
}

body .aipr-ec-submit-page .aipr-ec-radio-card.selected {
    background: rgba(75, 0, 130, 0.04) !important;
}

body .aipr-ec-submit-page .aipr-ec-radio-card.selected span {
    font-weight: 600 !important;
}

body .aipr-ec-submit-page .aipr-ec-radio-card input[type="radio"] {
    margin-top: 2px !important;
    accent-color: #4B0082 !important;
    flex-shrink: 0 !important;
}

body .aipr-ec-submit-page .aipr-ec-logo-hint {
    margin-top: 12px !important;
    font-size: 13px !important;
    color: #999 !important;
}

body .aipr-ec-submit-page .aipr-ec-logo-hint a {
    color: #4B0082 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

body .aipr-ec-submit-page .aipr-ec-logo-hint a:hover {
    text-decoration: underline !important;
}

body .aipr-ec-submit-page .aipr-ec-logo-download {
    display: block !important;
    margin-top: 12px !important;
    padding: 12px 16px !important;
    background: #fff !important;
    border: 1px dashed #4B0082 !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 14px !important;
}

body .aipr-ec-submit-page .aipr-ec-logo-download a {
    color: #4B0082 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body .aipr-ec-submit-page .aipr-ec-logo-download a:hover {
    text-decoration: underline !important;
}

/* --- Submit Button with Microinteractions --- */

body .aipr-ec-submit-page .aipr-ec-submit-actions {
    text-align: center !important;
    margin-top: 36px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #4B0082 !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 48px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    font-family: inherit !important;
    letter-spacing: 0.3px !important;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s !important;
    position: relative !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(75, 0, 130, 0.3) !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-btn:active:not(:disabled) {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(75, 0, 130, 0.2) !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Spinner */
body .aipr-ec-submit-page .aipr-ec-spinner {
    display: none !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: aipr-spin 0.6s linear infinite !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-btn.loading .aipr-ec-spinner {
    display: inline-block !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-btn.loading .aipr-ec-btn-text {
    margin-left: 4px !important;
}

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

/* --- Success State Full-Page --- */

body .aipr-ec-submit-page .aipr-ec-success-card {
    display: none;
    text-align: center !important;
    padding: 60px 40px !important;
    max-width: 640px !important;
    margin: 40px auto 0 !important;
}

body .aipr-ec-submit-page .aipr-ec-success-card.visible {
    display: block !important;
}

body .aipr-ec-submit-page .aipr-ec-success-icon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    background: #E8F5E9 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 24px !important;
}

body .aipr-ec-submit-page .aipr-ec-success-icon svg {
    width: 36px !important;
    height: 36px !important;
    stroke: #2E7D32 !important;
}

body .aipr-ec-submit-page .aipr-ec-success-card h2 {
    font-family: Lato, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 0 0 12px !important;
}

body .aipr-ec-submit-page .aipr-ec-success-card p {
    font-size: 15px !important;
    color: #666 !important;
    margin: 0 0 8px !important;
    line-height: 1.6 !important;
}

body .aipr-ec-submit-page .aipr-ec-success-card .aipr-ec-success-extra {
    font-size: 14px !important;
    margin-top: 16px !important;
    padding: 12px 16px !important;
    background: #F9F7FC !important;
    border-radius: 8px !important;
    border: 1px solid #E8E0F0 !important;
}

body .aipr-ec-submit-page .aipr-ec-success-card .aipr-ec-success-extra a {
    color: #4B0082 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

body .aipr-ec-submit-page .aipr-ec-success-card .aipr-ec-success-extra a:hover {
    text-decoration: underline !important;
}

body .aipr-ec-submit-page .aipr-ec-success-actions {
    margin-top: 28px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
}

/* Submit Another — the only button */
body .aipr-ec-submit-page .aipr-ec-success-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    background: #4B0082 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
}

body .aipr-ec-submit-page .aipr-ec-success-btn-secondary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(75, 0, 130, 0.3) !important;
    color: #fff !important;
}

/* Back to Calendar — text link */
body .aipr-ec-submit-page .aipr-ec-success-btn-primary {
    display: inline !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #4B0082 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body .aipr-ec-submit-page .aipr-ec-success-btn-primary:hover {
    text-decoration: underline !important;
    color: #4B0082 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Form Messages (error only now) */
body .aipr-ec-submit-page .aipr-ec-submit-message {
    display: none;
    text-align: center !important;
    margin-top: 24px !important;
    padding: 16px 20px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
}

body .aipr-ec-submit-page .aipr-ec-submit-message a {
    color: #4B0082 !important;
    font-weight: 600 !important;
}

/* --- Submit Page Mobile --- */

@media (max-width: 768px) {
    body .aipr-ec-submit-page {
        padding: 0 16px 40px !important;
    }

    body .aipr-ec-submit-page .aipr-ec-submit-title {
        font-size: 28px !important;
    }

    body .aipr-ec-submit-page .aipr-ec-submit-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body .aipr-ec-submit-page .aipr-ec-submit-dates {
        flex-wrap: wrap !important;
    }

    body .aipr-ec-submit-page .aipr-ec-submit-btn {
        width: 100% !important;
        padding: 14px 24px !important;
    }

    body .aipr-ec-submit-page .aipr-ec-success-card {
        padding: 40px 20px !important;
    }

    body .aipr-ec-submit-page .aipr-ec-success-actions {
        flex-direction: column !important;
    }

    body .aipr-ec-submit-page .aipr-ec-success-btn-primary,
    body .aipr-ec-submit-page .aipr-ec-success-btn-secondary {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ========== PRINT ========== */

@media print {
    body .aipr-events-calendar .aipr-ec-preview-banner,
    body .aipr-events-calendar .aipr-ec-toolbar,
    body .aipr-events-calendar .aipr-ec-filters,
    body .aipr-events-calendar .aipr-ec-tags-panel,
    body .aipr-events-calendar .aipr-ec-mobile-toolbar,
    body .aipr-events-calendar .aipr-ec-mobile-overlay,
    body .aipr-events-calendar .aipr-ec-bottom-cta,
    body .aipr-events-calendar .aipr-ec-row-expand-icon,
    body .aipr-events-calendar .aipr-ec-ad-banner {
        display: none !important;
    }
}
