.taboo_events_page{max-width:1180px;margin:0 auto}.taboo_event_actions,.attend_buttons{text-align:right;margin:0 0 18px}.taboo_event_details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px;border:1px solid rgba(255,46,132,.45);border-radius:14px;background:rgba(25,0,18,.55)}.taboo_event_detail{padding:12px 14px;background:rgba(0,0,0,.22);border-radius:10px}.taboo_event_detail strong{display:block;color:#ff70ad;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.taboo_event_teleport{display:inline-block;padding:11px 18px;border-radius:9px;background:linear-gradient(135deg,#ff2e84,#a40867);color:#fff!important;font-weight:700;text-decoration:none!important;box-shadow:0 5px 18px rgba(255,46,132,.28)}.taboo_event_cover{display:block;width:100%;max-height:620px;object-fit:cover;border-radius:14px;margin:18px 0}.taboo_event_gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 20px}.taboo_event_gallery img{width:100%;height:130px;object-fit:cover;border-radius:9px;border:1px solid rgba(255,46,132,.45)}.taboo_event_description{font-size:1.05em;line-height:1.7}.taboo_event_gallery_fields input[type=file]{display:block;margin-top:8px}.taboo_event_toolbar ul.ow_bl{display:flex;justify-content:flex-end;gap:8px}.taboo_event_toolbar ul.ow_bl li a{display:block;padding:8px 14px;border:1px solid #ff2e84;border-radius:8px;background:#33001f;color:#fff!important}.taboo_event_form table.ow_form,.taboo_event_form table.ow_form tbody,.taboo_event_form table.ow_form tr,.taboo_event_form table.ow_form td{display:block;width:auto!important}.taboo_event_form table.ow_form tr{padding:14px;margin-bottom:10px;border-radius:10px}.taboo_event_form table.ow_form td{padding:4px 0!important;text-align:left!important}.taboo_event_form table.ow_form td.ow_label{font-weight:700;color:#ff70ad}.taboo_event_edit_cover{width:100px;height:100px;object-fit:cover;border-radius:8px;display:block;margin-bottom:10px}.taboo_event_edit_gallery{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}.taboo_event_edit_gallery label{display:flex;flex-direction:column;gap:4px}.taboo_event_edit_gallery img{width:90px;height:90px;object-fit:cover;border-radius:8px}@media(max-width:700px){.taboo_event_details{grid-template-columns:1fr}.taboo_event_gallery{grid-template-columns:repeat(2,1fr)}.taboo_event_actions,.attend_buttons{text-align:left}}

/* Taboo theme integration: intentionally scoped to Events forms. */
html body .taboo_event_form {
    max-width: 1120px;
    margin: 0 auto;
    color: #f8edf4;
}

html body .taboo_event_form table.ow_table_1,
html body .taboo_event_form table.ow_form,
html body .taboo_event_form table.ow_table_1 tbody {
    display: block;
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body .taboo_event_form table.ow_table_1 tr,
html body .taboo_event_form table.ow_table_1 tr.ow_alt1,
html body .taboo_event_form table.ow_table_1 tr.ow_alt2 {
    display: block;
    margin: 0 0 16px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 46, 132, .42) !important;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(57, 0, 38, .94), rgba(25, 0, 25, .94)) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

html body .taboo_event_form table.ow_table_1 tr td,
html body .taboo_event_form table.ow_table_1 tr.ow_alt1 td,
html body .taboo_event_form table.ow_table_1 tr.ow_alt2 td,
html body .taboo_event_form table.ow_table_1 td.ow_label,
html body .taboo_event_form table.ow_table_1 td.ow_value,
html body .taboo_event_form table.ow_table_1 td.ow_desc {
    display: block;
    width: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box;
    padding: 4px 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #f8edf4 !important;
    text-align: left !important;
}

html body .taboo_event_form table.ow_table_1 td.ow_label,
html body .taboo_event_form table.ow_table_1 td.ow_label label {
    color: #ff5da2 !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
}

html body .taboo_event_form table.ow_table_1 td.ow_desc,
html body .taboo_event_form table.ow_table_1 td.ow_desc.ow_small {
    margin-top: 5px;
    color: #cdb9c6 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

html body .taboo_event_form input[type="text"],
html body .taboo_event_form input[type="url"],
html body .taboo_event_form textarea,
html body .taboo_event_form select {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 93, 162, .62) !important;
    border-radius: 8px !important;
    background: rgba(8, 0, 12, .72) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, .35) !important;
}

html body .taboo_event_form input[type="text"],
html body .taboo_event_form input[type="url"],
html body .taboo_event_form select {
    min-height: 44px;
    padding: 8px 11px !important;
}

html body .taboo_event_form input[type="radio"],
html body .taboo_event_form input[type="checkbox"] {
    width: auto !important;
    min-height: 0 !important;
    margin-right: 7px;
    accent-color: #ff2e84;
}

html body .taboo_event_form .ow_radio_group,
html body .taboo_event_form .ow_checkbox_group {
    color: #f8edf4 !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

html body .taboo_event_form .ow_submit input[type="submit"],
html body .taboo_event_form .ow_button input[type="submit"] {
    min-height: 44px;
    padding: 9px 22px !important;
    border: 1px solid #ff72ad !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #ff2e84, #97065e) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 5px 18px rgba(255, 46, 132, .3) !important;
}

@media (max-width: 700px) {
    html body .taboo_event_form table.ow_table_1 tr {
        padding: 14px;
    }
}

/* Compact single-column editor layout. */
html body .taboo_event_form {
    width: calc(100% - 40px) !important;
    max-width: 880px !important;
    padding: 0 !important;
}

html body .taboo_event_form table.ow_table_1 tr,
html body .taboo_event_form table.ow_table_1 tr.ow_alt1,
html body .taboo_event_form table.ow_table_1 tr.ow_alt2 {
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 18px !important;
}

html body .taboo_event_form table.ow_table_1 tr td,
html body .taboo_event_form table.ow_table_1 tr td.ow_label,
html body .taboo_event_form table.ow_table_1 tr td.ow_value,
html body .taboo_event_form table.ow_table_1 tr td.ow_desc {
    height: auto !important;
    min-height: 0 !important;
}

html body .taboo_event_form td.ow_value > .clearfix {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
}

html body .taboo_event_form .ow_event_date,
html body .taboo_event_form .ow_event_time {
    display: flex !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

html body .taboo_event_form .ow_event_date select,
html body .taboo_event_form .ow_event_time select {
    display: inline-block !important;
    width: auto !important;
    min-width: 88px;
    max-width: 170px;
    margin: 0 !important;
}

html body .taboo_event_form .ow_event_date select:first-of-type {
    min-width: 125px;
}

html body .taboo_event_form textarea {
    min-height: 180px;
    resize: vertical;
}

html body .taboo_event_form input[type="file"] {
    display: block;
    width: min(100%, 520px) !important;
    margin: 7px 0;
    padding: 8px;
    border: 1px dashed rgba(255, 93, 162, .55);
    border-radius: 8px;
    background: rgba(8, 0, 12, .45);
    color: #f8edf4;
}

html body .taboo_event_upload_slot {
    margin: 0 0 12px;
}

html body .taboo_event_upload_slot strong,
html body .taboo_event_gallery_fields > strong {
    display: block;
    margin-bottom: 5px;
    color: #e9d6e2;
    font-size: 14px;
}

html body .taboo_event_upload_help {
    margin: 0 0 8px;
    color: #cdb9c6;
    font-size: 14px;
}

html body .taboo_event_upload_count {
    margin: 7px 0 10px;
    color: #ff72ad;
    font-size: 13px;
    font-weight: 700;
}

html body .taboo_event_upload_previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 10px;
}

html body .taboo_event_upload_previews figure {
    min-width: 0;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(255, 93, 162, .4);
    border-radius: 9px;
    background: rgba(8, 0, 12, .55);
}

html body .taboo_event_upload_previews img,
html body .taboo_event_cover_preview img {
    display: block;
    width: 100%;
    height: 105px;
    object-fit: cover;
    border-radius: 6px;
}

html body .taboo_event_cover_preview {
    width: min(100%, 260px);
    margin-top: 8px;
}

html body .taboo_event_cover_preview img {
    height: 150px;
}

html body .taboo_event_upload_previews figcaption {
    overflow: hidden;
    margin-top: 5px;
    color: #d9c8d2;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.taboo_event_cover_link,
.taboo_event_gallery_link {
    cursor: zoom-in;
}

.taboo_event_lightbox {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 76px;
    box-sizing: border-box;
    background: rgba(8, 0, 10, .94);
    backdrop-filter: blur(7px);
}

.taboo_event_lightbox.is_open {
    display: flex;
}

.taboo_event_lightbox figure {
    max-width: min(1200px, 92vw);
    max-height: 92vh;
    margin: 0;
    text-align: center;
}

.taboo_event_lightbox figure img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 52px);
    margin: 0 auto;
    border: 1px solid rgba(255, 93, 162, .65);
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .7);
}

.taboo_event_lightbox figcaption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 4px 0;
    color: #f8edf4;
    font-size: 14px;
}

.taboo_event_lightbox_count {
    color: #ff72ad;
    white-space: nowrap;
}

.taboo_event_lightbox button {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255, 93, 162, .75) !important;
    border-radius: 50% !important;
    background: rgba(54, 0, 36, .88) !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .4) !important;
}

.taboo_event_lightbox_close {
    top: 18px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 32px !important;
    line-height: 36px !important;
}

.taboo_event_lightbox_prev,
.taboo_event_lightbox_next {
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    font-size: 28px !important;
}

.taboo_event_lightbox_prev { left: 18px; }
.taboo_event_lightbox_next { right: 18px; }

body.taboo_event_lightbox_open {
    overflow: hidden !important;
}

@media (max-width: 700px) {
    .taboo_event_lightbox { padding: 66px 12px 20px; }
    .taboo_event_lightbox_prev { left: 8px; }
    .taboo_event_lightbox_next { right: 8px; }
    .taboo_event_lightbox_prev,
    .taboo_event_lightbox_next { width: 42px; height: 42px; font-size: 22px !important; }
}

html body .taboo_event_form .ow_radio_group,
html body .taboo_event_form .ow_checkbox_group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

html body .taboo_event_form .ow_submit {
    width: 100%;
    max-width: 880px;
    margin: 18px auto 30px !important;
}

@media (max-width: 700px) {
    html body .taboo_event_form {
        width: calc(100% - 20px) !important;
    }

    html body .taboo_event_form td.ow_value > .clearfix {
        display: block !important;
    }

    html body .taboo_event_form .ow_event_date,
    html body .taboo_event_form .ow_event_time {
        margin-bottom: 8px;
    }
}

/* ==========================================================
   TABOO! EVENTS — CARDS, WIDGETS, AND FULL VIEW
   ========================================================== */

html body .taboo-event-list {
    width: 100%;
    max-width: 1120px;
    margin: 20px auto 0;
}

html body .taboo-event-list__content {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
}

html body .taboo-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

html body .taboo-event-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    color: #f8edf4;
    background: linear-gradient(145deg, rgba(93, 8, 52, .96), rgba(28, 0, 19, .98));
    border: 1px solid rgba(255, 65, 139, .58);
    border-radius: 17px;
    box-shadow: 0 13px 34px rgba(0, 0, 0, .3);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

html body .taboo-event-card:hover,
html body .taboo-event-card:focus-within {
    transform: translateY(-4px);
    border-color: #ff5a9b;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .42), 0 0 24px rgba(255, 31, 113, .2);
}

html body .taboo-event-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #260018;
}

html body .taboo-event-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

html body .taboo-event-card:hover .taboo-event-card__media img {
    transform: scale(1.035);
}

html body .taboo-event-card__category {
    position: absolute;
    left: 13px;
    bottom: 13px;
    max-width: calc(100% - 26px);
    padding: 6px 11px;
    overflow: hidden;
    color: #fff;
    background: rgba(179, 8, 80, .92);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

html body .taboo-event-card__body {
    padding: 18px 19px 17px;
}

html body .taboo-event-card__title {
    margin: 0 0 9px;
    font-size: 21px;
    line-height: 1.2;
}

html body .taboo-event-card__title a {
    color: #fff !important;
    text-decoration: none !important;
}

html body .taboo-event-card__excerpt {
    display: -webkit-box;
    min-height: 4.4em;
    margin: 0 0 14px;
    overflow: hidden;
    color: #ead8e4 !important;
    font-size: 14px;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

html body .taboo-event-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #d1afc0;
    font-size: 12px;
}

html body .taboo-event-card__meta a {
    color: #72a8ff !important;
}

html body .taboo-event-card__open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: 15px;
    padding: 0 15px;
    color: #fff !important;
    background: linear-gradient(180deg, #df3778, #87103d);
    border: 1px solid #ff76aa;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none !important;
}

html body .taboo-event-paging {
    margin-top: 24px;
}

html body .taboo-event-empty {
    padding: 36px !important;
    color: #ead8e4 !important;
    background: rgba(44, 3, 25, .65) !important;
    border: 1px dashed rgba(255, 82, 148, .55) !important;
    border-radius: 16px;
    text-align: center;
}

html body .taboo-event-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 360px));
    justify-content: center;
    gap: 12px;
    width: 100%;
}

html body .taboo-event-mini {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    color: #fff !important;
    background: linear-gradient(145deg, rgba(82, 8, 45, .95), rgba(29, 1, 19, .98));
    border: 1px solid rgba(255, 74, 142, .48);
    border-radius: 13px;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .27);
}

html body .taboo-event-mini > img {
    display: block;
    width: 112px;
    height: 112px;
    object-fit: cover;
    background: #210011;
}

html body .taboo-event-mini__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 11px 12px;
}

html body .taboo-event-mini__copy strong,
html body .taboo-event-mini__copy span,
html body .taboo-event-mini__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

html body .taboo-event-mini__copy strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
}

html body .taboo-event-mini__copy span {
    margin-top: 5px;
    color: #ff83b4;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

html body .taboo-event-mini__copy small {
    display: -webkit-box;
    margin-top: 5px;
    color: #d9c2cf;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

html body .taboo_events_page {
    max-width: 1120px;
}

html body .taboo_events_page .taboo_event_details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
    padding: 14px;
    background: linear-gradient(145deg, rgba(70, 6, 40, .86), rgba(24, 1, 17, .94));
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
}

html body .taboo_events_page .taboo_event_detail {
    min-width: 0;
    padding: 13px 14px;
    color: #f8edf4;
    border: 1px solid rgba(255, 85, 148, .18);
}

html body .taboo_events_page .taboo_event_cover_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 920px);
    min-height: 240px;
    margin: 20px auto;
    padding: 14px;
    box-sizing: border-box;
    background: radial-gradient(circle at center, rgba(109, 10, 60, .45), rgba(22, 0, 15, .96));
    border: 1px solid rgba(255, 75, 140, .5);
    border-radius: 16px;
}

html body .taboo_events_page .taboo_event_cover {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 680px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    border-radius: 11px;
}

html body .taboo_events_page .taboo_event_description {
    padding: clamp(18px, 3vw, 30px);
    color: #f7edf3 !important;
    background: linear-gradient(145deg, rgba(77, 4, 43, .72), rgba(24, 0, 17, .8));
    border: 1px solid rgba(255, 69, 139, .35);
    border-radius: 16px;
    font-size: 17px;
    line-height: 1.7;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
}

html body .taboo_events_page .attend_buttons {
    padding: 12px 14px;
    background: rgba(50, 3, 29, .72);
    border: 1px solid rgba(255, 75, 140, .35);
    border-radius: 12px;
}

@media (max-width: 820px) {
    html body .taboo-event-grid { grid-template-columns: 1fr; }
    html body .taboo_events_page .taboo_event_details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    html body .taboo-event-mini-grid { grid-template-columns: 1fr; }
    html body .taboo-event-mini { grid-template-columns: 92px minmax(0, 1fr); }
    html body .taboo-event-mini > img { width: 92px; height: 100%; min-height: 100px; }
    html body .taboo_events_page .taboo_event_details { grid-template-columns: 1fr; }
    html body .taboo_events_page .taboo_event_cover_link { min-height: 160px; padding: 8px; }
}
