/**
 * Girdie 5K confirmation — brand-styled, scoped to .lgmd-conf so it never
 * collides with Avada. Mirrors the approved prototype.
 */
.lgmd-conf {
	--g900: #103118;
	--g700: #2e7d32;
	--g600: #388e3c;
	--g500: #4caf50;
	--g50: #e8f5e9;
	--ink: #1f2933;
	--soft: #4a5568;
	--muted: #6b7280;
	--line: #e5e7eb;
	--line2: #d1d5db;
	--alt: #f7f9f7;
	--radius: 14px;
	--radius-sm: 6px;
	color: var(--ink);
	font-family: inherit;
}
.lgmd-conf * { box-sizing: border-box; }

/* Hero */
.lgmd-conf__hero { text-align: center; padding: 0 0 2rem; }
.lgmd-conf__check {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: var(--g600); color: #fff; margin-bottom: 1rem;
	box-shadow: 0 8px 24px rgba(46,125,50,.25);
}
.lgmd-conf--partner .lgmd-conf__check { background: #b35e00; box-shadow: 0 8px 24px rgba(179,94,0,.25); }
.lgmd-conf__eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--g700); font-weight: 600; margin: 0 0 .75rem; }
.lgmd-conf__title { font-size: clamp(1.6rem,3.2vw,2.2rem); line-height: 1.2; margin: 0 0 1.5rem; font-weight: 700; }
.lgmd-conf__subem { display: block; margin-top: .4rem; font-size: .7em; color: var(--soft); font-weight: 600; }
.lgmd-conf__subem em { font-style: italic; color: #b35e00; }
.lgmd-conf__meta {
	display: inline-flex; flex-wrap: wrap; margin: 0; background: #fff;
	border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.lgmd-conf__meta > div { display: flex; flex-direction: column; align-items: center; padding: .75rem 1.25rem; border-right: 1px solid var(--line); min-width: 120px; }
.lgmd-conf__meta > div:last-child { border-right: 0; }
.lgmd-conf__meta dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; }
.lgmd-conf__meta dd { margin: 0; font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.lgmd-conf__status { color: var(--g700); }
.lgmd-conf__status--alert { color: #b35e00; }
@media (max-width: 600px){ .lgmd-conf__meta { flex-direction: column; width: 100%; } .lgmd-conf__meta > div { border-right: 0; border-bottom: 1px solid var(--line); } .lgmd-conf__meta > div:last-child { border-bottom: 0; } }

/* Intro */
.lgmd-conf__intro { max-width: 640px; margin: 0 auto 2.25rem; color: var(--soft); line-height: 1.6; text-align: left; }
.lgmd-conf__intro p { margin: 0 0 .85rem; }
.lgmd-conf__intro a { color: var(--g700); text-decoration: underline; text-underline-offset: 2px; }
.lgmd-conf__toolkit { text-align: center; font-weight: 600; }
.lgmd-conf__toolkit a {
	display: inline-block; padding: .6rem 1.1rem; border-radius: 999px;
	background: var(--g50); border: 1px solid var(--g500); color: var(--g900); text-decoration: none;
}

/* Variant-B CTA */
.lgmd-conf__cta {
	background: var(--g900); color: #fff; border-radius: var(--radius); padding: 1.75rem;
	margin-bottom: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.75rem; align-items: center;
	box-shadow: 0 12px 32px rgba(16,49,24,.25);
}
@media (max-width: 760px){ .lgmd-conf__cta { grid-template-columns: 1fr; } }
.lgmd-conf__cta-eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #a8d3ae; font-weight: 600; margin: 0 0 .6rem; }
.lgmd-conf__cta-title { font-size: 1.5rem; line-height: 1.25; font-weight: 700; margin: 0 0 .85rem; }
.lgmd-conf__cta-org { display: inline-flex; align-items: center; gap: .4rem; }
.lgmd-conf__cta-body { margin: 0; color: #d5e7d8; line-height: 1.55; }
.lgmd-conf__cta-r { display: flex; flex-direction: column; gap: .5rem; min-width: 240px; }
.lgmd-conf__cta-amount { display: flex; flex-direction: column; padding: .85rem 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); }
.lgmd-conf__cta-amount-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #a8d3ae; margin-bottom: .2rem; }
.lgmd-conf__cta-amount-value { font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.lgmd-conf__cta-btn { background: #fff; color: var(--g900); font-weight: 700; padding: .85rem 1.25rem; border-radius: var(--radius-sm); text-align: center; text-decoration: none; }
.lgmd-conf__cta-btn:hover { background: var(--g50); }
.lgmd-conf__cta-note { text-align: center; font-size: .78rem; color: #a8d3ae; }

/* Two-column grid */
.lgmd-conf__grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 1.5rem; align-items: start; }
@media (max-width: 900px){ .lgmd-conf__grid { grid-template-columns: 1fr; } }
.lgmd-conf__main { display: flex; flex-direction: column; gap: 1.25rem; }
.lgmd-conf__aside { display: flex; flex-direction: column; gap: 1rem; }

/* Cards */
.lgmd-conf__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.lgmd-conf__card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.lgmd-conf__h2 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.lgmd-conf__count { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lgmd-conf__sub { margin: 1.5rem 0 .25rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lgmd-conf__hint { margin: 0 0 .75rem; font-size: .82rem; color: var(--muted); }
.lgmd-conf__primary { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.25rem; margin: 0; }
.lgmd-conf__primary > div { display: flex; flex-direction: column; gap: .15rem; }
.lgmd-conf__primary-email { grid-column: 1 / -1; }
.lgmd-conf__primary dt { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0; }
.lgmd-conf__primary dd { margin: 0; font-weight: 500; }
@media (max-width: 500px){ .lgmd-conf__primary { grid-template-columns: 1fr; } }

/* Participants (expandable) */
.lgmd-conf__participants { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--alt); overflow: hidden; }
.lgmd-conf__participant { border-bottom: 1px solid var(--line); }
.lgmd-conf__participant:last-child { border-bottom: 0; }
.lgmd-conf__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem 1rem; background: transparent; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.lgmd-conf__toggle:hover, .lgmd-conf__toggle:focus-visible { background: rgba(46,125,50,.06); outline: none; }
.lgmd-conf__who { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.lgmd-conf__num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line2); font-size: .72rem; font-weight: 700; color: var(--soft); }
.lgmd-conf__name { font-weight: 500; }
.lgmd-conf__tag { font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.lgmd-conf__right { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.lgmd-conf__size { font-family: ui-monospace, Menlo, monospace; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--g700); background: var(--g50); padding: .2rem .55rem; border-radius: 999px; }
.lgmd-conf__chevron { color: var(--muted); transition: transform .18s ease; }
.lgmd-conf__participant.is-open .lgmd-conf__chevron { transform: rotate(180deg); color: var(--g700); }
.lgmd-conf__panel { padding: .25rem 1rem 1rem; background: #fff; border-top: 1px solid var(--line); }
.lgmd-conf__panel[hidden] { display: none; }
.lgmd-conf__details { margin: 0; display: grid; grid-template-columns: minmax(120px,160px) 1fr; gap: .55rem 1rem; padding-top: .75rem; }
.lgmd-conf__detail-row { display: contents; }
.lgmd-conf__details dt { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: .2rem; }
.lgmd-conf__details dd { margin: 0; font-weight: 500; }
.lgmd-conf__details dd address { font-style: normal; line-height: 1.45; }
.lgmd-conf__detail-note { text-transform: none; letter-spacing: 0; color: var(--g700); font-weight: 500; font-size: .9em; }
@media (max-width: 500px){ .lgmd-conf__details { grid-template-columns: 1fr; gap: .2rem 0; } .lgmd-conf__detail-row { display: block; margin-bottom: .25rem; } }

/* Your donation (Variant A) */
.lgmd-conf__donation { background: var(--g50); border-color: var(--g500); }
.lgmd-conf__donation p { margin: 0 0 .5rem; }
.lgmd-conf__note { font-size: .88rem; color: var(--g900); margin: 0; }

/* What's next */
.lgmd-conf__next { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 0 0 1rem; padding: 1rem; background: var(--alt); border-radius: 10px; }
@media (max-width: 500px){ .lgmd-conf__next { grid-template-columns: 1fr; } }
.lgmd-conf__next > div { display: flex; flex-direction: column; gap: .2rem; }
.lgmd-conf__next dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lgmd-conf__next dd { margin: 0; font-weight: 600; line-height: 1.3; }
.lgmd-conf__next-body { margin: 0; color: var(--soft); font-size: .92rem; }

/* Receipt */
.lgmd-conf__rrow { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .45rem 0; }
.lgmd-conf__rl { color: var(--soft); font-size: .93rem; }
.lgmd-conf__rl small { display: block; font-size: .78rem; color: var(--muted); }
.lgmd-conf__rr { font-variant-numeric: tabular-nums; font-weight: 600; }
.lgmd-conf__rtotal { border-top: 1px solid var(--line2); margin-top: .4rem; padding-top: .85rem; font-size: 1.05rem; }
.lgmd-conf__rtotal .lgmd-conf__rl, .lgmd-conf__rtotal .lgmd-conf__rr { color: var(--ink); font-weight: 700; }
.lgmd-conf__rmethod { display: flex; justify-content: space-between; margin-top: .85rem; padding-top: .85rem; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.lgmd-conf__unbilled { margin: 1rem 0 0; padding: .75rem .9rem; background: #fff6e6; border: 1px solid #f0c987; border-radius: var(--radius-sm); font-size: .88rem; color: #6b4400; line-height: 1.45; }
.lgmd-conf__email-note { display: flex; gap: .65rem; padding: .85rem 1rem; background: var(--alt); border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; color: var(--soft); }
.lgmd-conf__email-note p { margin: 0; }

/* Donations grid */
.lgmd-conf__divider { display: flex; align-items: center; gap: 1rem; margin: 3rem 0 1.5rem; color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.lgmd-conf__divider::before, .lgmd-conf__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lgmd-conf__donations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: .85rem; }
.lgmd-conf__donation-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .45rem; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.lgmd-conf__dc-head { display: flex; align-items: center; gap: .55rem; }
.lgmd-conf__dc-flag { font-size: 1.1rem; }
.lgmd-conf__dc-name { font-weight: 600; }
.lgmd-conf__dc-org { color: var(--soft); font-size: .85rem; }
.lgmd-conf__dc-amount { margin-top: .4rem; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--g700); font-size: 1.1rem; }

/* Divider on small screens: keep the heading on one line between the rules. */
@media (max-width: 480px) {
	.lgmd-conf__divider { font-size: .68rem; letter-spacing: .06em; gap: .6rem; }
	.lgmd-conf__divider span { white-space: nowrap; }
	.lgmd-conf__divider::before, .lgmd-conf__divider::after { min-width: 14px; }
}

/* Page container: the thank-you template renders full-bleed, so the wrapper
   provides its own centered column and edge padding. Scoped away from the
   [girdie_donations] embed, which lives inside an already-padded column. */
.lgmd-conf:not(.lgmd-girdie-donations) {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding: 1.5rem 16px 3rem;
}

@media (max-width: 700px) {
	.lgmd-conf:not(.lgmd-girdie-donations) {
		padding: 1rem 16px 2.5rem;
	}
}

/* Headings: Avada's global h1/h2 styles (gray #575757, Arvo serif, 400) beat
   our scoped rules — enforce the approved palette and sans stack. */
.lgmd-conf .lgmd-conf__title {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	color: var(--ink) !important;
	font-weight: 700 !important;
}
.lgmd-conf .lgmd-conf__h2 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	color: var(--ink) !important;
	font-weight: 700 !important;
	font-size: 1.15rem !important;
	line-height: 1.3 !important;
}
/* CTA panel title sits on the dark-green band — must be white. */
.lgmd-conf .lgmd-conf__cta-title {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: 1.45rem !important;
	line-height: 1.25 !important;
}
