/* Togething Directory: free events. Colours follow the approved directory design (ivory, navy, gold). */
.tgde { --tgde-ink: #13202f; --tgde-ink-2: #3b4757; --tgde-muted: #6b7684; --tgde-paper: #fbf9f5; --tgde-paper-2: #f3efe7; --tgde-line: #e7e0d4;
  --tgde-navy: #14263d; --tgde-gold: #a8844a; --tgde-gold-soft: #f3ead9; --tgde-ok: #2f6f4f; color: var(--tgde-ink); font-size: 16px; line-height: 1.6; }
.tgde *, .tgde *::before, .tgde *::after { box-sizing: border-box; }
.tgde a { color: inherit; }
.tgde h2.tgde-h, .tgde h2 { font-size: 26px; line-height: 1.25; margin: 34px 0 16px; padding: 0; }
.tgde h3 { padding: 0; }
.tgde-lede { color: var(--tgde-ink-2); font-size: 17px; max-width: 760px; }
.tgde-muted { color: var(--tgde-muted); }
.tgde-small { font-size: 13.5px; }
.tgde-ok { color: var(--tgde-ok); font-weight: 500; }
.tgde-error { color: #a12d2d; font-weight: 500; }
.tgde-eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tgde-gold); font-weight: 600; }
.tgde-tag { display: inline-block; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--tgde-paper-2); color: var(--tgde-ink-2); }

.tgde-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 15px; font-weight: 500; padding: 11px 22px; border-radius: 999px;
  border: 1px solid var(--tgde-line); background: #fff; color: var(--tgde-ink) !important; text-decoration: none !important; cursor: pointer; line-height: 1.2; }
.tgde-btn:hover { border-color: #d8cfbf; }
.tgde-btn-dark { background: var(--tgde-navy); border-color: var(--tgde-navy); color: #fff !important; }
.tgde-btn-light { background: #fff; border-color: #fff; }
.tgde-btn-sm { font-size: 13.5px; padding: 8px 16px; }
.tgde-block { display: flex; width: 100%; margin-top: 8px; }
.tgde-linkbtn { background: none; border: 0; padding: 8px 0 0; color: var(--tgde-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13.5px; }
.tgde [hidden] { display: none !important; }

.tgde-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.tgde-chip { font: inherit; font-size: 14px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--tgde-line); background: #fff; color: var(--tgde-ink-2); cursor: pointer; }
.tgde-chip.on { background: var(--tgde-navy); border-color: var(--tgde-navy); color: #fff; }

.tgde-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.tgde-card { background: #fff; border: 1px solid var(--tgde-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none !important; color: var(--tgde-ink) !important; transition: box-shadow .2s; }
.tgde-card:hover { box-shadow: 0 14px 36px rgba(20, 38, 61, .08); }
.tgde-when { background: var(--tgde-navy); color: #fff; padding: 18px 20px; display: flex; gap: 14px; align-items: center; font-size: 14px; }
.tgde-day { font-family: Georgia, 'Playfair Display', serif; font-size: 34px; line-height: 1; }
.tgde-when small { display: block; font-size: 12px; color: #b9c4d1; letter-spacing: .08em; text-transform: uppercase; }
.tgde-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.tgde-body h3 { font-size: 20px; line-height: 1.3; margin: 8px 0; }
.tgde-body p { font-size: 14.5px; color: var(--tgde-ink-2); margin: 0 0 12px; }
.tgde-host { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--tgde-ink-2); }
.tgde-host em { margin-left: auto; font-style: normal; color: var(--tgde-muted); white-space: nowrap; }
.tgde-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; background: var(--tgde-gold-soft); color: #7a5d2c; font-size: 11px; font-weight: 600; }
.tgde-past .tgde-card { opacity: .72; }
.tgde-past .tgde-when { background: #6b7684; }
.tgde-band { margin-top: 40px; background: var(--tgde-navy); color: #e9edf2; border-radius: 20px; padding: 28px 32px; display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.tgde-band b { color: #fff; font-size: 22px; }
.tgde-band p { color: #b9c4d1; margin: 6px 0 0; max-width: 620px; }

/* the event page */
.tgd-event-page .et_pb_post .post-meta, .tgd-event-page .et_post_meta_wrapper .post-meta { display: none; }
.tgde-top { display: flex; flex-wrap: wrap; gap: 30px 36px; margin-bottom: 30px; }
.tgde-top > div:first-child { flex: 1 1 360px; min-width: 0; }
.tgde-byline { display: flex; align-items: center; gap: 10px; margin: 14px 0 20px; color: var(--tgde-ink-2); }
.tgde-byline .tgde-av { width: 40px; height: 40px; font-size: 13px; }
.tgde-isnot { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tgde-is, .tgde-not { border-radius: 16px; padding: 16px 18px; font-size: 15px; }
.tgde-is { background: #e7f0ea; }
.tgde-not { background: var(--tgde-paper-2); }
.tgde-is b, .tgde-not b { display: block; margin-bottom: 4px; }
.tgde-is b { color: var(--tgde-ok); }
.tgde-not b { color: var(--tgde-muted); }
.tgde-timebox { flex: 1 1 280px; max-width: 360px; background: #fff; border: 1px solid var(--tgde-line); border-radius: 20px; padding: 22px; text-align: center; align-self: flex-start; }
.tgde-timebox > b { display: block; font-size: 18px; margin: 8px 0 4px; }
.tgde-timebox hr { border: 0; border-top: 1px solid var(--tgde-line); margin: 16px 0; }
.tgde-cal { margin-top: 8px; }
.tgde-cal summary { list-style: none; }
.tgde-cal summary::-webkit-details-marker { display: none; }
.tgde-cal div { display: grid; gap: 2px; margin-top: 8px; text-align: left; }
.tgde-cal div a { padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 14.5px; }
.tgde-cal div a:hover { background: var(--tgde-paper); }
.tgde-cols { display: flex; flex-wrap: wrap; gap: 30px 36px; }
.tgde-cols > div { flex: 1 1 420px; min-width: 0; }
.tgde-cols > aside { flex: 1 1 260px; max-width: 340px; }
.tgde-video { position: relative; padding-top: 56.25%; border-radius: 16px; overflow: hidden; margin-bottom: 26px; background: #000; }
.tgde-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tgde-ticks { list-style: none; padding: 0 !important; margin: 0 0 16px; }
.tgde-ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.tgde-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--tgde-gold); font-weight: 700; }
.tgde-side { background: #fff; border: 1px solid var(--tgde-line); border-radius: 18px; padding: 20px; margin-bottom: 16px; }
.tgde-side h3 { font-size: 18px; margin: 0 0 12px; }
.tgde-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14.5px; }
.tgde-kv dt { color: var(--tgde-muted); }
.tgde-kv dd { margin: 0; text-align: right; }

/* forms, dashboard and attendance */
.tgde-form fieldset { border: 0; border-top: 1px solid var(--tgde-line); padding: 22px 0 6px; margin: 0; }
.tgde-form legend { font-size: 22px; font-weight: 600; padding: 0 12px 0 0; }
.tgde-field { margin: 0 0 16px; }
.tgde-field > label { display: block; font-weight: 500; margin-bottom: 6px; }
.tgde-hint { display: block; font-size: 13px; color: var(--tgde-muted); font-weight: 400; margin-top: 4px; }
label .tgde-hint { display: inline; }
.tgde-form input:not([type=checkbox]):not([type=radio]), .tgde-form select, .tgde-form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--tgde-ink);
  background: #fff; border: 1px solid var(--tgde-line); border-radius: 12px; padding: 11px 14px; }
.tgde-form input:focus, .tgde-form select:focus, .tgde-form textarea:focus { outline: 0; border-color: var(--tgde-gold); box-shadow: 0 0 0 3px var(--tgde-gold-soft); }
.tgde-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tgde-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.tgde-radio input { position: absolute; opacity: 0; }
.tgde-radio span { display: inline-block; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--tgde-line); cursor: pointer; font-size: 14px; }
.tgde-radio input:checked + span { background: var(--tgde-navy); border-color: var(--tgde-navy); color: #fff; }
.tgde-radio input:focus-visible + span { box-shadow: 0 0 0 3px var(--tgde-gold-soft); }
.tgde-check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; cursor: pointer; }
.tgde-check input { margin-top: 5px; }
.tgde-att > span > span { display: block; }
.tgde-count { font-size: 12px; color: var(--tgde-muted); text-align: right; margin-top: 3px; }
.tgde-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 18px; }
.tgde-panel { background: #fff; border: 1px solid var(--tgde-line); border-radius: 18px; padding: 22px; margin: 0 0 18px; }
.tgde-credit { display: flex; gap: 16px; align-items: center; }
.tgde-credit > b { font-family: Georgia, 'Playfair Display', serif; font-size: 40px; color: var(--tgde-gold); line-height: 1; }
.tgde-rows { list-style: none; padding: 0 !important; margin: 16px 0 0; display: grid; gap: 8px; }
.tgde-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--tgde-line); border-radius: 12px; }

@media (max-width: 640px) {
  .tgde-timebox, .tgde-cols > aside { max-width: none; }
  .tgde-two { grid-template-columns: 1fr; }
  .tgde-band { padding: 22px; }
  .tgde-rows li { flex-wrap: wrap; }
}
