/* GTTCI Content Hub — Forums & Events (0.9.7): Events page cards and the event page. The page builds on the .gfb-* styles in flipbook.css. */

/* ---------- Cards ([gttci_events] and "More upcoming events") ---------- */
.gev-list { --gev-ink: #111318; --gev-muted: #6f7378; --gev-accent: var(--gch-accent, #249bd3); font-family: var(--gch-body, "DM Sans", Arial, sans-serif); }
.gev-list *, .gev-page .gev-grid * { box-sizing: border-box; }
.gev-grid { display: grid; grid-template-columns: repeat(var(--gev-cols, 3), minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.gev-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e4e4e4; border-radius: 8px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.gev-card:hover { box-shadow: 0 16px 36px rgba(17, 19, 24, .12); transform: translateY(-3px); }
.gev-card__img { display: block; aspect-ratio: 210 / 297; background: #e9edf2; overflow: hidden; }
.gev-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.gev-card:hover .gev-card__img img { transform: scale(1.03); }
.gev-card__ph { display: grid; place-items: center; height: 100%; padding: 24px; background: linear-gradient(135deg, #0d1220, #1d2a44); color: #fff; font-family: "Libre Baskerville", Georgia, serif; font-size: 20px; line-height: 1.35; text-align: center; }
.gev-card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.gev-card__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.gev-date { display: grid; place-items: center; align-content: center; width: 58px; height: 62px; border: 1px solid #dfe3e8; border-top: 3px solid var(--gttci-fb-accent, var(--gev-accent, #249bd3)); border-radius: 6px; background: #fff; color: #111318; line-height: 1; }
.gev-date b { font-family: "Libre Baskerville", Georgia, serif; font-size: 24px; font-weight: 400; }
.gev-date span { margin-top: 5px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6f7378; }
.gev-date--tba b { font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.gev-card__dates { margin: 0 0 6px; color: var(--gttci-fb-accent, var(--gev-accent, #249bd3)); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gev-card h3 { margin: 0; font-family: "Libre Baskerville", Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.4; }
.gev-card h3 a { color: #111318 !important; text-decoration: none; }
.gev-card h3 a:hover { color: var(--gttci-fb-accent, var(--gev-accent, #249bd3)) !important; }
.gev-card__meta { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #ececec; list-style: none; color: #4a4f55; font-size: 14px; line-height: 1.45; }
.gev-card__meta li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 6px; margin: 0; }
.gev-card__meta .dashicons { width: 18px; height: 18px; font-size: 17px; color: var(--gttci-fb-accent, var(--gev-accent, #249bd3)); }
.gev-card__more { align-self: flex-start; margin-top: auto; padding-top: 18px; color: #111318 !important; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.gev-card__more:hover { color: var(--gttci-fb-accent, var(--gev-accent, #249bd3)) !important; }
.gev-empty { margin: 0; padding: 36px 28px; border: 1px dashed #cfd3d8; background: #fff; color: #6f7378; font-size: 16px; text-align: center; }

/* ---------- Event page ---------- */
.gev-page .gfb-hero h1 { text-transform: none; }
.gev-page .gfb-meta li { display: inline-flex; align-items: center; gap: 7px; }
.gev-page .gfb-meta .dashicons { width: 16px; height: 16px; font-size: 16px; }
.gev-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); }
.gev-flier { justify-self: end; width: 100%; max-width: 360px; }
.gev-flier button { position: relative; display: block; width: 100%; aspect-ratio: 210 / 297; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #1b2130; box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 6px rgba(255, 255, 255, .06); cursor: zoom-in; }
.gev-flier img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gev-flier button:hover img { transform: scale(1.03); }
.gev-flier button:focus-visible { outline: 3px solid var(--gttci-fb-accent, #249bd3); outline-offset: 3px; }
.gev-flier__zoom { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(13, 18, 32, .8); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; }

.gev-about { padding: 72px 0; background: #fff; }
.gev-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 56px; align-items: start; }
.gev-about h2, .gev-enquire h2 { margin: 0 0 20px; font-family: var(--gfb-head); font-weight: 400; font-size: 32px; line-height: 1.25; color: var(--gfb-ink); }
.gev-content { color: #3a3f45; font-size: 17px; line-height: 1.75; }
.gev-content > *:first-child { margin-top: 0; }
.gev-content img { max-width: 100%; height: auto; }
.gev-muted { color: var(--gfb-muted); font-size: 16px; }
.gev-facts { position: sticky; top: 120px; padding: 26px 26px 24px; border-top: 3px solid var(--gttci-fb-accent, #249bd3); background: #f4f3f0; }
.gev-facts dl { margin: 0; }
.gev-facts dl > div { padding: 12px 0; border-bottom: 1px solid #dcd9d4; }
.gev-facts dl > div:first-child { padding-top: 0; }
.gev-facts dt { margin: 0 0 4px; color: var(--gttci-fb-accent, #249bd3); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.gev-facts dd { margin: 0; color: #111318; font-size: 15px; line-height: 1.5; }
.gev-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 16px; padding: 14px 20px; border: 1px solid var(--gttci-fb-accent, #249bd3); border-radius: 0; background: var(--gttci-fb-accent, #249bd3); color: #fff !important; font: 700 12px/1.2 inherit; font-family: inherit; letter-spacing: .14em; text-align: center; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.gev-btn:hover { background: #1c86b8; border-color: #1c86b8; }
.gev-btn--outline { background: transparent; color: #111318 !important; border-color: #111318; }
.gev-btn--outline:hover { background: #111318; border-color: #111318; color: #fff !important; }
.gev-btn .dashicons { width: 18px; height: 18px; font-size: 18px; }

.gev-enquire { padding: 72px 0; background: var(--gfb-navy, #0d1220); color: #fff; scroll-margin-top: 100px; }
.gev-enquire__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.gev-enquire h2 { color: #fff; }
.gev-enquire__intro p:not(.gfb-eyebrow) { margin: 0; color: #b7bbc0; font-size: 16px; line-height: 1.7; }
.gev-form-box { padding: 32px; border-radius: 8px; background: #fff; color: #111318; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.gev-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: 0; }
.gev-field { display: block; margin: 0; }
.gev-field--wide { grid-column: 1 / -1; }
.gev-field span { display: block; margin: 0 0 7px; color: #111318; font-size: 13px; font-weight: 600; }
.gev-field i { color: #c0392b; font-style: normal; }
.gev-field input { display: block; width: 100%; height: 50px; margin: 0; padding: 0 14px; border: 1px solid #d6d9dd; border-radius: 4px; background: #fff; color: #111318; font: inherit; font-size: 15px; box-shadow: none; }
.gev-field input:focus { border-color: var(--gttci-fb-accent, #249bd3); outline: 2px solid rgba(36, 155, 211, .25); outline-offset: 0; }
.gev-btn--submit { grid-column: 1 / -1; margin-top: 4px; }
.gev-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gev-alert { margin: 0 0 18px; padding: 14px 16px; border-radius: 4px; font-size: 15px; line-height: 1.55; }
.gev-alert:last-child { margin-bottom: 0; }
.gev-alert--ok { border-left: 4px solid #1e8e5a; background: #e8f6ef; color: #134d33; }
.gev-alert--error { border-left: 4px solid #c0392b; background: #fdecea; color: #7a1f16; }
.gev-more .gev-grid { margin-top: 6px; }

@media (max-width: 1024px) {
	.gev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gev-hero__grid { grid-template-columns: minmax(0, 1fr) 260px; }
	.gev-about__grid, .gev-enquire__grid { grid-template-columns: 1fr; gap: 32px; }
	.gev-facts { position: static; }
}
@media (max-width: 767px) {
	.gev-grid { grid-template-columns: 1fr; gap: 22px; }
	.gev-hero__grid { grid-template-columns: 1fr; }
	.gev-flier { order: -1; justify-self: start; max-width: 220px; }
	.gev-about, .gev-enquire { padding: 44px 0; }
	.gev-about h2, .gev-enquire h2 { font-size: 26px; }
	.gev-form-box { padding: 22px 18px; }
	.gev-form { grid-template-columns: 1fr; }
}
