/* DIYguru Events: listing filters, event details, register section. Uses the Gimont theme's variables. */
.dge-listing-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin: 0 0 18px; }
.dge-heading { margin: 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; color: var(--primary, #0a2f26); }
.dge-count { margin: 0; color: var(--text, #6b6c70); }

.dge-filters { background: #f4f7f6; border: 1px solid #e3e9e7; border-radius: 14px; padding: 16px; margin: 0 0 14px; }
.dge-filters-row { display: grid; grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; }
.dge-f { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 13px; font-weight: 600; color: var(--primary, #0a2f26); }
.dge-f input, .dge-f select { box-sizing: border-box; width: 100%; height: 42px; margin: 0; padding: 0 10px; border: 1px solid #d2d5df; border-radius: 8px; background-color: #fff; font-size: 14px; font-weight: 400; line-height: 40px; color: #1d2327; }
/* Beat the theme's select:not([size]):not([multiple]) { padding: 12px 15px } */
.dge-filters .dge-f select:not([size]):not([multiple]), .dge-filters .dge-f input { padding: 0 28px 0 10px; line-height: 40px; color: #1d2327; border-radius: 8px; border-color: #d2d5df; text-overflow: ellipsis; }
.dge-filters .dge-f input { padding-right: 10px; }
.dge-filters-row2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 12px; }
.dge-check { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--primary, #0a2f26); cursor: pointer; }
.dge-check input { width: 16px; height: 16px; margin: 0; }
.dge-btn, a.dge-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--primary, #0a2f26); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.dge-btn:hover { background: var(--heading, #3a7768); }
.dge-reset { font-size: 14px; color: var(--heading, #3a7768); text-decoration: underline; }

.dge-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.dge-chip { display: inline-block; padding: 6px 14px; border: 1px solid #cfdcd8; border-radius: 999px; font-size: 14px; color: var(--primary, #0a2f26); text-decoration: none; background: #fff; }
.dge-chip:hover, .dge-chip.is-active { background: var(--primary, #0a2f26); border-color: var(--primary, #0a2f26); color: #fff; }
.dge-empty { padding: 28px; border: 1px dashed #cfdcd8; border-radius: 12px; text-align: center; color: var(--text, #6b6c70); }
.archive_event .search_not_found { display: none; }

.dge-notice { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: #fff7e6; border: 1px solid #f3d9a4; color: #5b4300; }
.dge-notice-cancelled { background: #fdecec; border-color: #f2b8b5; color: #7a1712; }

.dge-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0 0 28px; border: 1px solid #e3e9e7; border-radius: 14px; overflow: hidden; background: #fff; }
.dge-details > div { padding: 14px 16px; border-bottom: 1px solid #eef2f1; border-right: 1px solid #eef2f1; }
.dge-details dt { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--heading, #3a7768); }
.dge-details dd { margin: 0; font-size: 15px; color: #1d2327; }
.dge-details a { color: var(--primary, #0a2f26); text-decoration: underline; }

.dge-register { scroll-margin-top: 110px; margin: 36px 0 0; padding: 24px; border-radius: 16px; background: #f4f7f6; border: 1px solid #e3e9e7; }
.dge-register h2 { margin: 0 0 12px; font-size: 26px; color: var(--primary, #0a2f26); }
.dge-small { margin: 12px 0 0; font-size: 13px; color: var(--text, #6b6c70); }

@media (max-width: 1024px) {
	.dge-filters-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dge-f-q { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.dge-filters-row { grid-template-columns: 1fr 1fr; }
	.dge-filters { padding: 12px; }
	.dge-register { padding: 18px; }
}
