/* Kindly Events theme: small extras theme.json can't express.
   Shares its class names with the Kindly (Donations) theme, so the two product sites match. */

/* Card group style */
.is-style-kindly-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 18px;
	padding: clamp(1.25rem, 3vw, 2rem);
}

/* Eyebrow paragraph style */
.is-style-kindly-eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
	margin-bottom: 0;
}
.has-teal-background-color .is-style-kindly-eyebrow,
.has-ink-background-color .is-style-kindly-eyebrow { color: var(--wp--preset--color--sea-glass); }
.is-style-kindly-eyebrow a { color: inherit; text-decoration: none; }
.is-style-kindly-eyebrow a:hover { text-decoration: underline; }

/* Ghost button style */
.wp-block-button.is-style-kindly-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--teal);
	box-shadow: inset 0 0 0 1.5px currentColor;
}
.wp-block-button.is-style-kindly-ghost .wp-block-button__link:hover { background: var(--wp--preset--color--mist); }
.has-teal-background-color .wp-block-button.is-style-kindly-ghost .wp-block-button__link { color: var(--wp--preset--color--paper); }
.has-teal-background-color .wp-block-button.is-style-kindly-ghost .wp-block-button__link:hover { background: rgba(247, 244, 238, 0.12); }

/* Header */
.kindly-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 244, 238, 0.92);
	backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.admin-bar .kindly-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .kindly-header { top: 0; } }
.kindly-brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.kindly-brand img { width: 34px; height: auto; display: block; }
.kindly-brand .wp-block-site-title { margin: 0; }

/* Feature icons */
.kindly-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--teal);
	margin: 0;
}
.kindly-icon svg { width: 22px; height: 22px; }

/* Step numbers */
.kindly-step-num {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.125rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--apricot);
	color: var(--wp--preset--color--ink);
	margin: 0;
}

/* Tick list */
.kindly-ticks { list-style: none; padding-left: 0; }
.kindly-ticks li { position: relative; padding-left: 1.75rem; margin: 0.45rem 0; }
.kindly-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 999px;
	background: var(--wp--preset--color--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%230F5257' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.has-teal-background-color .kindly-ticks li::before { background-color: rgba(247, 244, 238, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23F2A65A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Pricing */
.kindly-price-featured { box-shadow: inset 0 0 0 2px var(--wp--preset--color--teal); border-color: transparent !important; position: relative; overflow: visible; }
.kindly-price-amount { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.kindly-price-featured > p.is-style-kindly-eyebrow:first-child {
	position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0 !important;
	background: var(--wp--preset--color--teal); color: var(--wp--preset--color--white);
	padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.7rem; white-space: nowrap;
}
#pricing .is-layout-grid,
.kindly-pricing-grid.is-layout-grid,
.is-layout-grid:has(> .is-style-kindly-card .kindly-price-amount) {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	align-items: stretch;
	width: 100%;
}
@media (max-width: 900px) {
	#pricing .is-layout-grid,
	.kindly-pricing-grid.is-layout-grid,
	.is-layout-grid:has(> .is-style-kindly-card .kindly-price-amount) {
		grid-template-columns: minmax(0, 1fr) !important;
		max-width: 460px;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* Flow strip in the integrations section */
.kindly-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.kindly-flow .kindly-chip {
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(247, 244, 238, 0.35);
	font-weight: 500;
	font-size: 0.9375rem;
	margin: 0;
}
.kindly-flow .kindly-chip.is-end { background: var(--wp--preset--color--apricot); color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--apricot); font-weight: 600; }
.kindly-flow .kindly-arrow { margin: 0; opacity: 0.7; }

/* Demo frame for the live event cards */
.kindly-demo-frame { min-width: 0; }
.kindly-demo-empty { background: var(--wp--preset--color--white); border: 1.5px dashed var(--wp--preset--color--line); border-radius: 18px; padding: 2rem 1.5rem; text-align: center; color: var(--wp--preset--color--muted); margin: 0; }

/* Mark in the call to action */
.kindly-hero-mark img { width: clamp(72px, 9vw, 112px); height: auto; }

/* FAQ */
.wp-block-details summary { font-weight: 600; cursor: pointer; font-size: var(--wp--preset--font-size--medium); }
.wp-block-details summary:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 4px; border-radius: 4px; }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--muted); }

/* Footer */
.kindly-footer a { color: var(--wp--preset--color--paper); }
.kindly-footer a:hover { color: var(--wp--preset--color--apricot); }

/* Phone widths */
@media (max-width: 781px) {
	.kindly-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.kindly-hero .wp-block-button__link { width: 100%; }
}

/* Cards in grids, and code */
.is-layout-grid > .is-style-kindly-card { align-self: stretch; height: 100%; box-sizing: border-box; }
.is-style-kindly-card > .wp-block-buttons:last-child { margin-top: auto; }
.wp-block-code { overflow-x: auto; }
.wp-block-code code { white-space: pre; }

/* ------------------------------------------------------------------ hero ticket
   Decorative booking card and ticket; the real event cards are in the demo section. */
.kindly-ticket-mock { position: relative; max-width: 420px; margin-inline: auto; padding-bottom: 4.75rem; }
.kindly-booking { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 22px; padding: 1.5rem; box-shadow: 0 24px 60px -28px rgba(15, 82, 87, 0.35); display: grid; gap: 0.85rem; }
.kindly-booking-head { display: flex; gap: 0.9rem; align-items: center; }
.kindly-date { flex: none; width: 3.5rem; border-radius: 12px; overflow: hidden; text-align: center; border: 1.5px solid var(--wp--preset--color--teal); background: #fff; }
.kindly-date b { display: block; background: var(--wp--preset--color--teal); color: #fff; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.15rem 0; }
.kindly-date span { display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.5rem; line-height: 1.35; color: var(--wp--preset--color--ink); }
.kindly-booking-title { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.02em; line-height: 1.2; }
.kindly-booking-meta { font-size: 0.875rem; color: var(--wp--preset--color--muted); margin-top: 0.15rem; }
.kindly-ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border: 1.5px solid var(--wp--preset--color--line); border-radius: 12px; padding: 0.7rem 0.85rem; font-size: 0.9375rem; }
.kindly-ticket-row.on { border: 2px solid var(--wp--preset--color--teal); background: var(--wp--preset--color--mist); }
.kindly-ticket-row strong { font-weight: 600; }
.kindly-ticket-row small { display: block; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.kindly-qty { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.kindly-qty i { font-style: normal; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--wp--preset--color--line); color: var(--wp--preset--color--teal); line-height: 1; }
.kindly-booking-note { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--teal); border-radius: 12px; padding: 0.7rem 0.9rem; font-size: 0.9375rem; }
.kindly-booking-btn { background: var(--wp--preset--color--teal); color: #fff; border-radius: 999px; text-align: center; padding: 0.9rem; font-weight: 600; }
.kindly-booking-pay { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.8125rem; color: var(--wp--preset--color--muted); }

/* The ticket stub that overlaps the booking card */
.kindly-stub { position: absolute; right: -0.75rem; bottom: 0; display: flex; align-items: stretch; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); border-radius: 16px; transform: rotate(-4deg); box-shadow: 0 18px 40px -18px rgba(20, 33, 31, 0.55); }
.kindly-stub-text { padding: 0.8rem 1rem; font-size: 0.8125rem; line-height: 1.35; display: grid; align-content: center; }
.kindly-stub-text b { font-family: var(--wp--preset--font-family--heading); font-size: 1rem; letter-spacing: -0.01em; display: block; }
.kindly-stub-text em { font-style: normal; color: var(--wp--preset--color--apricot); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.6875rem; }
.kindly-stub-code { border-left: 2px dashed rgba(247, 244, 238, 0.35); padding: 0.7rem; display: grid; place-items: center; }
.kindly-stub-code svg { width: 3.5rem; height: 3.5rem; display: block; background: var(--wp--preset--color--paper); border-radius: 6px; padding: 4px; box-sizing: border-box; }
@media (max-width: 480px) { .kindly-stub { right: 0; } }

/* Footer link lists */
.kindly-footer-list { list-style: none; }
.kindly-footer-list li { margin: 0.3rem 0; }
