/* 1. Center and widen ONLY the outer EventKoi container (fixes stretched buttons) */
.entry-content > *:not(.alignwide):not(.alignfull):has([class*="eventkoi"]),
.entry-content > [class*="eventkoi"]:not(.alignwide):not(.alignfull) {
    max-width: 1100px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* 2. Force-hide the "Default calendar" badge */
div.eventkoi-calendar-list-calendar.flex,
[class*="eventkoi"] .eventkoi-calendar-list-calendar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* 3. Hide the Subscribe / Add to Calendar button on the toolbar */
button.eventkoi-calendar-subscribe,
button.eventkoi-calendar-subscribe.inline-flex.text-sm {
    display: none !important;
}
button.eventkoi-calendar-subscribe.inline-flex.text-sm svg {
    color: #000000 !important;
    position: absolute !important;
    left: 12px !important;
}

button.eventkoi-calendar-subscribe.inline-flex.text-sm::after {
    content: "Add to Calendar" !important;
    color: #000000 !important;
    font-size: 14px !important;
    position: absolute !important;
    left: 36px !important;
    white-space: nowrap !important;
}

/* 4. Hide Month/Week/List switcher and timezone line */
[class*="eventkoi"] div:has(> button.eventkoi-calendar-subscribe) + div,
[class*="eventkoi"] div:has(> [class*="subscribe"]) + div,
[class*="eventkoi"] div.bg-muted:has(button),
[class*="eventkoi-calendar-timezone"] {
    display: none !important;
}
css
/* 5. Hide the "Today" button on the toolbar */
[class*="eventkoi"] button[aria-label*="today" i],
[class*="eventkoi"] button[class*="today"],
[class*="eventkoi"] div:has(> button[aria-haspopup="dialog"]) > button:last-child {
    display: none !important;
}
css
/* 6. Keep the event date and time on one clean line */
[class*="eventkoi-calendar-list"] a > div > div:last-child,
[class*="eventkoi"] [class*="list"] time,
[class*="eventkoi"] [class*="list"] [class*="date"] {
    white-space: nowrap !important;
    min-width: max-content !important;
    flex-shrink: 0 !important;
}
/* 7. Widen single EventKoi event pages (overrides WP block constrained layout width) */
body.single-eventkoi_event {
    --wp--style--global--content-size: 1100px !important;
    --wp--style--global--wide-size: 1100px !important;
}

body.single-eventkoi_event .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.single-eventkoi_event .wp-block-group,
body.single-eventkoi_event .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide),
body.single-eventkoi_event .entry-header-inner,
body.single-eventkoi_event .featured-media-inner {
    max-width: 1100px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* 9. Hide the timezone line on individual EventKoi event pages */
body.single-eventkoi_event p:has(.ek-timezone),
body.single-eventkoi_event .ek-timezone {
    display: none !important;
}
/* 10. Make the main headline smaller, bold, and spaced below the back link */
body.single-eventkoi_event h1.wp-block-heading {
    font-size: 3.6rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-top: 28px !important;
}

@media (max-width: 700px) {
    body.single-eventkoi_event h1.wp-block-heading {
        font-size: 2.8rem !important;
        margin-top: 20px !important;
    }
}
/* 11. Add spacing between "← See all events in calendar" and the event title */
body.single-eventkoi_event p.wp-block-paragraph:has(a[href*="author-events"]) {
    margin-bottom: 24px !important;
}
/* 12. Align icons to top and tighten spacing inside the single-event sidebar box */
body.single-eventkoi_event .wp-block-columns.is-not-stacked-on-mobile {
    align-items: flex-start !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

body.single-eventkoi_event .wp-block-columns.is-not-stacked-on-mobile:last-child {
    margin-bottom: 0 !important;
}

body.single-eventkoi_event .wp-block-columns.is-not-stacked-on-mobile figure.wp-block-image {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

body.single-eventkoi_event .wp-block-columns.is-not-stacked-on-mobile p.wp-block-paragraph {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    line-height: 1.45 !important;
}
/* 13. Enlarge event titles and darken muted gray text on the main Author Events list */
[class*="eventkoi-calendar-list"] h2,
[class*="eventkoi-calendar-list"] h3,
[class*="eventkoi-calendar-list"] a > div > div:first-child > div:first-of-type {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    line-height: 1.3 !important;
}

[class*="eventkoi-calendar-list"] p,
[class*="eventkoi-calendar-list"] [class*="text-muted-foreground"],
[class*="eventkoi-calendar-list"] a > div > div:last-child {
    font-size: 16px !important;
    color: #222222 !important;
    opacity: 1 !important;
}
/* 14. Tighten space below event headline and hide "Going / Remaining" box on single event pages */
body.single-eventkoi_event .wp-block-group:has(h1.wp-block-heading),
body.single-eventkoi_event .wp-block-columns:has(h1.wp-block-heading) {
    margin-bottom: 16px !important;
    padding-bottom: 0 !important;
}

body.single-eventkoi_event .wp-block-columns:has(figure.wp-block-image) {
    margin-top: 16px !important;
}

body.single-eventkoi_event [class*="eventkoi"][class*="rsvp"],
body.single-eventkoi_event [class*="eventkoi"][class*="capacity"],
body.single-eventkoi_event [class*="eventkoi"][class*="stats"],
body.single-eventkoi_event .wp-block-group:has([class*="ek-going"]),
body.single-eventkoi_event div:has(> div > [class*="ek-going"]) {
    display: none !important;
}
/* 15. Match single-event description text to Twenty Twenty's native font, size, and line spacing */
body.single-eventkoi_event .entry-content .wp-block-column:first-child p,
body.single-eventkoi_event [class*="eventkoi-event-description"] p {
    font-family: "NonBreakingSpaceOverride", "Hoefler Text", "Baskerville Old Face", Garamond, "Times New Roman", serif !important;
    font-size: 2.1rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.5em !important;
    color: #000000 !important;
}

@media (max-width: 700px) {
    body.single-eventkoi_event .entry-content .wp-block-column:first-child p,
    body.single-eventkoi_event [class*="eventkoi-event-description"] p {
        font-size: 1.8rem !important;
    }
}
/* Style the automatic "Completed" badge on past EventKoi events */
.ek-completed-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 9px;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #555555 !important;
    background-color: #efefef !important;
    border: 1px solid #d4d4d4 !important;
    border-radius: 999px !important;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* Bold-face the location line on the main Author Events list */
[class*="eventkoi-calendar-list"] a > div > div:first-child > div:last-child,
[class*="eventkoi-calendar-list"] div:has(> svg[class*="map-pin"]),
[class*="eventkoi-calendar-list"] [class*="location"] {
    font-weight: 700 !important;
    color: #111111 !important;
}
/* Bold-face the date and time column on the main Author Events list */
[class*="eventkoi-calendar-list"] a > div > div:last-child,
[class*="eventkoi-calendar-list"] [class*="date"],
[class*="eventkoi-calendar-list"] time {
    font-weight: 700 !important;
    color: #111111 !important;
}
/* Make all page and post entry titles bold in Twenty Twenty */
.entry-title,
h1.entry-title {
    font-weight: 700 !important;
}