/* PHCC Calendar Pulls 1.1.5: desktop table, mobile event cards. */
.phcc-calendar { width:100%; max-width:100%; min-width:0; box-sizing:border-box; }
.phcc-calendar * { box-sizing:border-box; }
.phcc-calendar-title { margin:0 0 1rem; overflow-wrap:normal; }
.phcc-calendar-table-wrap { width:100%; max-width:100%; min-width:0; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.phcc-calendar-table { width:100%; min-width:930px; border-collapse:collapse; table-layout:auto; font-size:.95em; }
.phcc-calendar-table th,.phcc-calendar-table td { text-align:left; vertical-align:top; padding:12px 11px; border-bottom:1px solid rgba(100,100,100,.22); overflow-wrap:break-word; word-break:normal; hyphens:none; }
.phcc-calendar-table th { background:rgba(100,100,100,.08); font-weight:700; }
.phcc-calendar-table tbody tr:nth-child(even) { background:rgba(100,100,100,.035); }
.phcc-calendar-table th:nth-child(1),.phcc-calendar-table td:nth-child(1) { min-width:128px; white-space:nowrap; }
.phcc-calendar-table th:nth-child(2),.phcc-calendar-table td:nth-child(2) { min-width:135px; }
.phcc-calendar-table th:nth-child(3),.phcc-calendar-table td:nth-child(3) { min-width:165px; white-space:nowrap; }
.phcc-calendar-table th:nth-child(4),.phcc-calendar-table td:nth-child(4) { min-width:260px; white-space:nowrap; }
.phcc-calendar-table th:nth-child(5),.phcc-calendar-table td:nth-child(5) { min-width:220px; }
.phcc-calendar-event-title { font-weight:700; }
.phcc-calendar-description { line-height:1.5; }
.phcc-calendar-readmore summary { cursor:pointer; list-style:none; }
.phcc-calendar-readmore summary::-webkit-details-marker { display:none; }
.phcc-calendar-readmore summary::after { content:' ▸'; opacity:.6; }
.phcc-calendar-readmore[open] summary::after { content:' ▾'; }
.phcc-calendar-more { color:var(--wp--preset--color--primary,#466b3c); font-weight:700; text-decoration:underline; white-space:nowrap; }
.phcc-calendar-readmore[open] .phcc-calendar-more { display:none; }
.phcc-calendar-full { padding:.6em 0 0; white-space:pre-wrap; }
.phcc-calendar-empty { font-style:italic; opacity:.8; }

/* Phones and smaller tablets: five-column table becomes easy-to-read cards. */
@media screen and (max-width: 980px) {
 .phcc-calendar .phcc-calendar-table-wrap { overflow-x:visible !important; }
 .phcc-calendar .phcc-calendar-table { display:block !important; width:100% !important; min-width:0 !important; table-layout:auto !important; border:0 !important; }
 .phcc-calendar .phcc-calendar-table thead { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
 .phcc-calendar .phcc-calendar-table tbody { display:block !important; width:100% !important; }
 .phcc-calendar .phcc-calendar-table tbody tr { display:flex !important; flex-direction:column !important; gap:0 !important; width:100% !important; min-width:0 !important; margin:0 0 14px !important; padding:13px 16px !important; border:1px solid rgba(100,100,100,.2) !important; border-radius:9px !important; background:rgba(100,100,100,.035) !important; }
 .phcc-calendar .phcc-calendar-table tbody td { display:block !important; width:100% !important; max-width:100% !important; min-width:0 !important; height:auto !important; padding:5px 0 !important; border:0 !important; white-space:normal !important; overflow-wrap:break-word !important; word-break:normal !important; hyphens:none !important; line-height:1.45 !important; }
 .phcc-calendar .phcc-calendar-table tbody td::before { content:attr(data-label); display:inline-block; font-weight:700; margin-right:.45em; color:inherit; }
 .phcc-calendar .phcc-calendar-table tbody .phcc-calendar-event-title { order:0; font-size:1.12em; padding:0 0 7px !important; font-weight:700; }
 .phcc-calendar .phcc-calendar-table tbody .phcc-calendar-event-title::before { display:none; }
 .phcc-calendar .phcc-calendar-table tbody .phcc-calendar-date { order:1; }
 .phcc-calendar .phcc-calendar-table tbody .phcc-calendar-time { order:2; }
 .phcc-calendar .phcc-calendar-table tbody .phcc-calendar-location { order:3; }
 .phcc-calendar .phcc-calendar-table tbody .phcc-calendar-description { order:4; }
 .phcc-calendar .phcc-calendar-table tbody .phcc-calendar-description::before { display:block; margin:3px 0 1px; }
 .phcc-calendar .phcc-calendar-table tbody .phcc-calendar-location { white-space:normal !important; }
}
