/* =============================================================
 * GraceMatch Accounts — front-end styles
 * Uses the theme's --red / --gold / --cream CSS variables when
 * available, with safe fallbacks for use with other themes.
 * ============================================================= */

:root {
	--gma-red:        var(--red,        #C8102E);
	--gma-red-dark:   var(--red-dark,   #8B0E22);
	--gma-gold:       var(--gold,       #D4A24C);
	--gma-cream:      var(--cream,      #FFF7F3);
	--gma-cream-warm: var(--cream-warm, #FBE3DE);
	--gma-ink:        var(--ink,        #2A1818);
	--gma-muted:      var(--muted,      #6B5757);
	--gma-border:     var(--border,     #F0DCD8);
	--gma-sage:       var(--sage,       #7A8B6C);
	--gma-white:      #FFFFFF;
}

.gma-card,
.gma-register, .gma-login, .gma-account, .gma-browse,
.gma-profile, .gma-inbox, .gma-thread, .gma-pricing {
	max-width: 980px;
	margin: 40px auto;
	padding: 0 24px;
	color: var(--gma-ink);
	font-family: 'Inter', system-ui, sans-serif;
}

.gma-card {
	background: var(--gma-white);
	border: 1px solid var(--gma-border);
	border-radius: 18px;
	padding: 32px;
	margin: 24px auto;
}

.gma-card h1, .gma-card h2 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	color: var(--gma-red-dark);
	margin: 0 0 12px;
}
.gma-sub { color: var(--gma-muted); font-size: 14px; margin: 0 0 24px; }

.gma-form { display: grid; gap: 18px; }
.gma-form label { display: block; }
.gma-form label > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gma-ink); }
.gma-form input[type="text"],
.gma-form input[type="email"],
.gma-form input[type="password"],
.gma-form input[type="number"],
.gma-form select,
.gma-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--gma-border);
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	background: var(--gma-white);
	color: var(--gma-ink);
	box-sizing: border-box;
}
.gma-form textarea { resize: vertical; min-height: 100px; }
.gma-form input:focus, .gma-form select:focus, .gma-form textarea:focus {
	outline: 2px solid var(--gma-red);
	outline-offset: 1px;
}

.gma-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .gma-grid-2 { grid-template-columns: 1fr; } }

.gma-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.gma-check input { margin-top: 4px; }

/* === Buttons === */
.gma-btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	font-family: inherit;
	text-decoration: none;
	transition: all .2s;
	text-align: center;
}
.gma-btn--primary { background: var(--gma-red); color: #fff; }
.gma-btn--primary:hover { background: var(--gma-red-dark); }
.gma-btn--ghost   { background: transparent; color: var(--gma-red); border: 1px solid var(--gma-red); }
.gma-btn--ghost:hover { background: var(--gma-cream-warm); }
.gma-btn--text    { background: transparent; color: var(--gma-muted); padding: 8px 10px; }
.gma-btn--text:hover { color: var(--gma-red); }
.gma-btn--small   { padding: 8px 14px; font-size: 12px; }

.gma-foot { text-align: center; color: var(--gma-muted); font-size: 14px; }
.gma-foot a { color: var(--gma-red); }

/* === Flash === */
.gma-flash {
	padding: 12px 18px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 14px;
	border: 1px solid;
}
.gma-flash--error   { background: #FFE9EC; border-color: #F5C0CA; color: #8B0E22; }
.gma-flash--success { background: #E8F3E5; border-color: #B8D9AF; color: #345C2A; }
.gma-flash--warn    { background: #FFF4DB; border-color: #F0DDA4; color: #7A5A0E; }
.gma-flash--info    { background: var(--gma-cream); border-color: var(--gma-border); color: var(--gma-ink); }

/* === Account dashboard === */
.gma-account__head {
	display: flex; justify-content: space-between; align-items: flex-start;
	gap: 20px; flex-wrap: wrap; margin: 24px auto;
}
.gma-account__head h1 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	color: var(--gma-red-dark);
	margin: 0;
}
.gma-meta { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.gma-account__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.gma-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	letter-spacing: 0.3px;
	background: var(--gma-cream-warm);
	color: var(--gma-red-dark);
}
.gma-pill--verified { background: var(--gma-sage); color: #fff; }
.gma-pill--pending  { background: #FFF4DB; color: #7A5A0E; }
.gma-pill--gm_grace, .gma-pill--gm_beloved { background: var(--gma-gold); color: var(--gma-red-dark); }

/* === Photo grid === */
.gma-photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
	margin-top: 16px;
}
.gma-photo-slot {
	aspect-ratio: 3/4;
	border-radius: 14px;
	overflow: hidden;
	background: var(--gma-cream-warm);
	position: relative;
}
.gma-photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gma-photo-empty {
	display: flex; align-items: center; justify-content: center;
	height: 100%; color: var(--gma-muted); font-size: 24px;
}
.gma-photo-form {
	position: absolute;
	bottom: 8px; right: 8px;
}

/* === Browse === */
.gma-filters {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	align-items: end;
	background: var(--gma-cream);
	padding: 18px;
	border-radius: 14px;
	margin-bottom: 24px;
	border: 1px solid var(--gma-border);
}
@media (max-width: 800px) { .gma-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gma-filters { grid-template-columns: 1fr; } }

.gma-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
}
.gma-card-member {
	background: var(--gma-white);
	border: 1px solid var(--gma-border);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: all .2s;
}
.gma-card-member:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(200,16,46,0.08);
}
.gma-card-member__photo {
	aspect-ratio: 3/4;
	background-size: cover;
	background-position: center;
	position: relative;
}
.gma-card-member__verified {
	position: absolute; top: 10px; right: 10px;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--gma-white);
	color: var(--gma-red);
	display: flex; align-items: center; justify-content: center;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.gma-card-member__body { padding: 14px 16px; }
.gma-card-member__body strong {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 18px;
	color: var(--gma-red-dark);
	display: block;
}
.gma-card-member__body small { color: var(--gma-muted); font-size: 12px; }
.gma-card-member__body p { font-size: 13px; color: var(--gma-ink); margin: 8px 0 0; }

.gma-pagination {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: var(--gma-muted);
}

/* === Profile view === */
.gma-profile__hero {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	margin-bottom: 24px;
}
@media (max-width: 700px) { .gma-profile__hero { grid-template-columns: 1fr; } }
.gma-profile__main {
	width: 100%; aspect-ratio: 3/4;
	border-radius: 18px; object-fit: cover;
	background: var(--gma-cream-warm);
}
.gma-profile__head h1 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	color: var(--gma-red-dark);
	margin: 0 0 8px;
	font-size: 36px;
}
.gma-tagline {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	font-size: 22px;
	color: var(--gma-red-dark);
	margin: 8px 0 24px;
}

/* === Inbox / threads === */
.gma-thread-list { list-style: none; padding: 0; margin: 0; }
.gma-thread-row {
	border: 1px solid var(--gma-border);
	border-radius: 12px;
	margin-bottom: 10px;
	transition: all .2s;
}
.gma-thread-row:hover { border-color: var(--gma-red); }
.gma-thread-row.is-unread { background: var(--gma-cream-warm); border-color: var(--gma-gold); }
.gma-thread-row a {
	display: flex; gap: 14px; padding: 14px 18px;
	text-decoration: none; color: inherit; align-items: center;
}
.gma-thread-row__avatar {
	width: 48px; height: 48px; border-radius: 50%;
	object-fit: cover; flex-shrink: 0;
}
.gma-thread-row strong { display: block; color: var(--gma-ink); }
.gma-thread-row p { margin: 4px 0; font-size: 14px; color: var(--gma-muted); }
.gma-thread-row small { color: var(--gma-muted); font-size: 12px; }

.gma-thread__head {
	display: flex; gap: 14px; align-items: center;
	background: var(--gma-cream);
	padding: 16px;
	border-radius: 14px;
	border: 1px solid var(--gma-border);
	margin-bottom: 18px;
}
.gma-thread__head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.gma-thread__messages {
	min-height: 240px;
	padding: 18px;
	border: 1px solid var(--gma-border);
	border-radius: 14px;
	background: var(--gma-white);
	margin-bottom: 18px;
}
.gma-msg {
	max-width: 70%;
	background: var(--gma-cream-warm);
	border-radius: 14px;
	padding: 12px 16px;
	margin-bottom: 10px;
}
.gma-msg.is-mine {
	margin-left: auto;
	background: var(--gma-red);
	color: #fff;
}
.gma-msg.is-mine .gma-msg__meta { color: rgba(255,255,255,0.85); }
.gma-msg__body { font-size: 15px; line-height: 1.5; }
.gma-msg__body p { margin: 0; }
.gma-msg__meta { font-size: 11px; color: var(--gma-muted); margin-top: 4px; }
.gma-thread__compose textarea { min-height: 80px; }
.gma-mt { margin-top: 12px; }

/* === Pricing === */
.gma-pricing__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 32px;
}
@media (max-width: 800px) { .gma-pricing__grid { grid-template-columns: 1fr; } }
.gma-pricing__card {
	background: var(--gma-white);
	border: 1px solid var(--gma-border);
	border-radius: 18px;
	padding: 30px 24px;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.gma-pricing__card.is-featured {
	border: 2px solid var(--gma-gold);
	box-shadow: 0 16px 40px rgba(200,16,46,0.08);
}
.gma-pricing__tag {
	position: absolute; top: -12px; left: 50%;
	transform: translateX(-50%);
	background: var(--gma-gold); color: var(--gma-red-dark);
	font-size: 12px; font-weight: 700;
	padding: 4px 14px; border-radius: 999px;
}
.gma-pricing__amt {
	display: flex; align-items: baseline; gap: 4px;
	font-family: 'Cormorant Garamond', Georgia, serif;
	margin: 16px 0;
}
.gma-pricing__amt strong { font-size: 42px; color: var(--gma-red-dark); }
.gma-pricing__amt span { font-size: 14px; color: var(--gma-muted); font-family: 'Inter', sans-serif; }
.gma-pricing__card ul { list-style: none; padding: 0; margin: 0 0 22px; flex-grow: 1; }
.gma-pricing__card ul li { padding: 6px 0; font-size: 14px; }
.gma-pricing__card .gma-btn { width: 100%; margin-top: auto; }

.gma-empty { text-align: center; color: var(--gma-muted); padding: 40px 20px; }
.gma-success { color: var(--gma-sage); font-weight: 600; }

/* === My Account polish === */
.gma-account__greeting h1 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	color: var(--gma-red-dark);
	font-size: 32px;
	margin: 0 0 8px;
}
.gma-account__greeting .gma-name { color: var(--gma-red); font-style: italic; }
.gma-pill--gm_seeker { background: var(--gma-cream-warm); color: var(--gma-red-dark); }

/* Profile completion card */
.gma-progress { background: linear-gradient(135deg, var(--gma-cream) 0%, var(--gma-cream-warm) 100%); border: 1px solid var(--gma-gold); }
.gma-progress__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.gma-progress__head h2 { margin: 0 0 4px; font-size: 24px; }
.gma-progress__num {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 42px;
	font-weight: 700;
	color: var(--gma-red);
	line-height: 1;
}
.gma-progress__bar {
	height: 10px;
	background: rgba(255,255,255,0.6);
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 18px;
	border: 1px solid var(--gma-border);
}
.gma-progress__fill {
	height: 100%;
	background: linear-gradient(90deg, var(--gma-gold) 0%, var(--gma-red) 100%);
	border-radius: 999px;
	transition: width .4s ease;
}
.gma-checklist { list-style: none; padding: 0; margin: 0; }
.gma-checklist li {
	padding: 8px 0 8px 30px;
	position: relative;
	color: var(--gma-ink);
	font-size: 14px;
}
.gma-checklist li::before {
	content: '○';
	position: absolute;
	left: 0;
	color: var(--gma-muted);
	font-weight: 700;
	font-size: 18px;
	line-height: 1;
	top: 8px;
}
.gma-checklist li.is-done::before { content: '✓'; color: var(--gma-sage); }
.gma-checklist li.is-done { color: var(--gma-muted); text-decoration: line-through; }

/* Upgrade nudge */
.gma-upgrade-nudge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	border-left: 4px solid var(--gma-gold);
}
.gma-upgrade-nudge h3 {
	margin: 0 0 6px;
	color: var(--gma-red-dark);
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 22px;
}
.gma-upgrade-nudge p { margin: 0; color: var(--gma-muted); font-size: 14px; max-width: 540px; }
.gma-upgrade-nudge .gma-btn { flex-shrink: 0; }

/* === Fixes for account-page interactions with theme .entry-content === */
/* Hide the duplicate page.php H1 "My Account" when our shortcode is present */
body.page-template-default:has(.gma-account) .page-header { display: none; }
.entry-content .gma-account__greeting h1 { font-size: 34px !important; line-height: 1.2; margin-top: 0; }

/* .gma-checklist override — beat .entry-content ul rules */
.gma-account .gma-checklist {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 0 !important;
}
.gma-account .gma-checklist li {
	position: relative !important;
	padding: 8px 0 8px 30px !important;
	list-style: none !important;
}
.gma-account .gma-checklist li::marker { content: '' !important; }
.gma-account .gma-checklist li::before {
	position: absolute !important;
	left: 0 !important;
	top: 8px !important;
}
.gma-account ul li::marker { content: '' !important; color: transparent !important; }

/* === Browse page polish === */
body.page-template-default:has(.gma-browse) .page-header { display: none; }
.gma-browse__intro { text-align: center; max-width: 720px; margin: 0 auto 32px; padding: 0 20px; }
.gma-browse__intro .gma-eyebrow {
	display: inline-block;
	background: rgba(200, 16, 46, 0.08);
	color: var(--gma-red);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-bottom: 18px;
}
.gma-browse__intro h1 {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-size: 44px !important;
	color: var(--gma-red-dark) !important;
	margin: 0 0 12px !important;
	line-height: 1.1;
}
.gma-browse__intro .gma-sub { font-size: 16px; color: var(--gma-muted); margin: 0; }

/* Quick chips */
.gma-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0 auto 24px;
	max-width: 900px;
	padding: 0 20px;
}
.gma-chip {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--gma-white);
	border: 1px solid var(--gma-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--gma-ink);
	text-decoration: none;
	transition: all .2s;
}
.gma-chip:hover { border-color: var(--gma-red); color: var(--gma-red); }
.gma-chip.is-active { background: var(--gma-red); color: #fff; border-color: var(--gma-red); }

/* Filters card */
.gma-filters {
	display: grid;
	grid-template-columns: 1.5fr 1.5fr .8fr .8fr auto;
	gap: 14px;
	align-items: end;
	background: var(--gma-white);
	padding: 22px;
	border-radius: 18px;
	border: 1px solid var(--gma-border);
	box-shadow: 0 4px 18px rgba(43, 24, 24, 0.04);
	margin-bottom: 14px;
}
.gma-field { display: block; }
.gma-field > span {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--gma-muted);
	margin-bottom: 6px;
}
.gma-locked-tag {
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	background: var(--gma-gold);
	color: var(--gma-red-dark);
	padding: 2px 7px;
	border-radius: 999px;
	letter-spacing: 0.5px;
}
.gma-field.is-locked select,
.gma-field.is-locked input { opacity: 0.6; cursor: not-allowed; background: var(--gma-cream); }
.gma-field select,
.gma-field input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--gma-border);
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	background: var(--gma-white);
	color: var(--gma-ink);
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
}
.gma-field select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%236B5757' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}
.gma-filters .gma-btn { padding: 12px 24px; height: 44px; align-self: end; }

.gma-filter-hint {
	text-align: center;
	color: var(--gma-muted);
	font-size: 13px;
	margin: 0 0 28px;
}
.gma-filter-hint a { color: var(--gma-red); font-weight: 600; }

/* Preview cards (empty state) */
.gma-empty-state { text-align: center; margin-top: 30px; }
.gma-empty-state__head { max-width: 640px; margin: 0 auto 30px; }
.gma-empty-state__head h2 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	color: var(--gma-red-dark);
	font-size: 28px;
	margin: 0 0 10px;
}
.gma-card-grid--preview .gma-card-member--preview {
	position: relative;
	opacity: 0.92;
	cursor: default;
	pointer-events: none;
}
.gma-card-grid--preview .gma-card-member--preview:hover {
	transform: none;
	box-shadow: 0 8px 20px rgba(200, 16, 46, 0.05);
}
.gma-card-member__preview-tag {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(43, 24, 24, 0.7);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 999px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	z-index: 2;
}
.gma-empty-state__cta {
	margin-top: 36px;
	padding: 28px;
	background: linear-gradient(135deg, var(--gma-cream) 0%, var(--gma-cream-warm) 100%);
	border-radius: 18px;
	border: 1px solid var(--gma-gold);
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}
.gma-empty-state__cta p {
	font-size: 16px;
	color: var(--gma-ink);
	margin: 0 0 18px;
}

/* Mobile filter stacking */
@media (max-width: 800px) {
	.gma-filters { grid-template-columns: 1fr 1fr; }
	.gma-filters .gma-btn { grid-column: 1 / -1; }
	.gma-browse__intro h1 { font-size: 32px !important; }
}
@media (max-width: 480px) {
	.gma-filters { grid-template-columns: 1fr; }
}

/* === Verification submission UI === */
.gma-verify__lead { font-size: 15px; line-height: 1.55; margin-bottom: 22px; }
.gma-verify__steps {
	background: var(--gma-cream);
	border: 1px solid var(--gma-border);
	border-radius: 14px;
	padding: 22px 28px;
	margin-bottom: 22px;
}
.gma-verify__steps h3 {
	margin: 0 0 12px;
	font-family: 'Cormorant Garamond', Georgia, serif;
	color: var(--gma-red-dark);
	font-size: 22px;
}
.gma-verify__checklist {
	margin: 0;
	padding-left: 22px;
	list-style: none;
	counter-reset: vc;
}
.gma-verify__checklist li {
	position: relative;
	padding: 8px 0 8px 36px;
	font-size: 15px;
	counter-increment: vc;
}
.gma-verify__checklist li::before {
	content: counter(vc);
	position: absolute;
	left: 0;
	top: 8px;
	width: 24px;
	height: 24px;
	background: var(--gma-red);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}

/* Example side-by-side */
.gma-verify__example {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 22px;
}
.gma-verify__example-card {
	background: var(--gma-white);
	border: 2px solid var(--gma-border);
	border-radius: 14px;
	padding: 18px;
	text-align: center;
}
.gma-verify__example-card--good { border-color: var(--gma-sage); background: linear-gradient(180deg, #fff 0%, #f0f5ec 100%); }
.gma-verify__example-card--bad { border-color: var(--gma-red); background: linear-gradient(180deg, #fff 0%, #fce4e6 100%); }
.gma-verify__example-icon { display: flex; justify-content: center; margin-bottom: 12px; }
.gma-verify__example-icon svg { width: 110px; height: 130px; }
.gma-verify__example-icon--bad svg { opacity: 0.7; }
.gma-verify__example-label small { display: block; color: var(--gma-muted); font-size: 12px; margin-top: 4px; }
.gma-verify__example-label strong { display: block; font-size: 16px; }
.gma-verify__check { display:inline-block; width:24px; height:24px; line-height:24px; border-radius:50%; background: var(--gma-sage); color: #fff; margin-right: 6px; font-weight: 700; }
.gma-verify__cross { display:inline-block; width:24px; height:24px; line-height:24px; border-radius:50%; background: var(--gma-red); color: #fff; margin-right: 6px; font-weight: 700; }

/* Warn box when no profile photo */
.gma-verify__warn {
	background: #FFF4DB;
	border: 1px solid #F0DDA4;
	border-left: 5px solid var(--gma-gold);
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #7A5A0E;
}
.gma-verify__warn strong { display: block; margin-bottom: 4px; }
.gma-verify__warn-link { display: inline-block; margin-top: 6px; color: var(--gma-red); font-weight: 700; }

.gma-verify__form input[type="file"] { padding: 16px; background: var(--gma-cream); border-style: dashed !important; }
.gma-verify__privacy { margin: -6px 0 14px; color: var(--gma-muted); }
.gma-btn--primary[disabled] { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 560px) {
	.gma-verify__example { grid-template-columns: 1fr; }
	.gma-verify__steps { padding: 18px; }
}

/* Fix .entry-content overrides on verification checklist */
.gma-account .gma-verify__checklist,
.entry-content .gma-verify__checklist {
	padding-left: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}
.gma-account .gma-verify__checklist li,
.entry-content .gma-verify__checklist li {
	position: relative !important;
	padding: 10px 0 10px 44px !important;
	font-size: 15px !important;
	list-style: none !important;
	line-height: 1.5;
}
.gma-account .gma-verify__checklist li::marker,
.entry-content .gma-verify__checklist li::marker { content: '' !important; color: transparent !important; }
.gma-account .gma-verify__checklist li::before,
.entry-content .gma-verify__checklist li::before {
	content: counter(vc) !important;
	position: absolute !important;
	left: 0 !important;
	top: 10px !important;
	width: 28px !important;
	height: 28px !important;
	background: var(--gma-red) !important;
	color: #fff !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 13px !important;
	font-weight: 700 !important;
}

/* Override .entry-content a rules bleeding into plugin buttons */
.entry-content a.gma-btn,
.entry-content .gma-btn,
.entry-content a.gma-btn:hover,
.entry-content .gma-btn:hover {
	text-decoration: none !important;
	text-decoration-color: transparent !important;
}
.entry-content a.gma-btn--primary,
.entry-content .gma-btn--primary { color: #fff !important; }
.entry-content a.gma-btn--primary:hover,
.entry-content .gma-btn--primary:hover { color: #fff !important; }
.entry-content a.gma-btn--ghost,
.entry-content .gma-btn--ghost { color: var(--gma-red) !important; }
.entry-content a.gma-btn--ghost:hover,
.entry-content .gma-btn--ghost:hover { color: var(--gma-red) !important; }
.entry-content a.gma-btn--text,
.entry-content .gma-btn--text { color: var(--gma-muted) !important; }
.entry-content a.gma-btn--text:hover,
.entry-content .gma-btn--text:hover { color: var(--gma-red) !important; }
.entry-content a.gma-btn--gold,
.entry-content .gma-btn--gold { color: var(--gma-red-dark) !important; }
.entry-content a.gma-btn--small,
.entry-content .gma-btn--small { color: inherit !important; }

/* Same for chips and other plugin link-styled elements */
.entry-content a.gma-chip,
.entry-content .gma-chip {
	text-decoration: none !important;
	color: var(--gma-ink) !important;
}
.entry-content a.gma-chip:hover,
.entry-content .gma-chip:hover { color: var(--gma-red) !important; }
.entry-content a.gma-chip.is-active,
.entry-content .gma-chip.is-active { color: #fff !important; }

/* Cards (browse + thread list) - never underline */
.entry-content a.gma-card-member,
.entry-content .gma-card-member,
.entry-content a.gma-thread-row,
.entry-content .gma-thread-row a {
	text-decoration: none !important;
}

/* =========================================================
 * Inbox UI v1.3.2
 * Polished header, empty state, quick actions, filters, dots
 * =======================================================*/

/* Hide duplicate page title when plugin renders its own header */
.entry-content:has(.gma-inbox__head) > .entry-title,
.page:has(.gma-inbox__head) > .page-header,
body:has(.gma-inbox__head) .page-header { display: none; }

/* Header */
.gma-inbox__head {
	text-align: center;
	margin: 0 0 28px;
	padding: 8px 0 0;
}
.gma-inbox__head .gma-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gma-gold, #D4A24C);
	margin-bottom: 8px;
	font-weight: 600;
}
.gma-inbox__head h1 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	margin: 0 0 8px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-inbox__head .gma-sub {
	color: var(--gma-muted, #6b6b6b);
	margin: 0;
	font-size: 0.95rem;
}

/* Empty state */
.gma-inbox-empty {
	text-align: center;
	padding: 24px 16px 32px;
	max-width: 640px;
	margin: 0 auto;
}
.gma-inbox-empty__art {
	width: 200px;
	margin: 0 auto 20px;
}
.gma-inbox-empty__art svg { width: 100%; height: auto; }
.gma-inbox-empty h2 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 1.5rem;
	margin: 0 0 10px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-inbox-empty__lead {
	color: var(--gma-muted, #6b6b6b);
	margin: 0 0 28px;
	font-size: 1rem;
	line-height: 1.55;
}

/* Quick action cards */
.gma-quickactions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 14px;
	margin: 0 0 28px;
}
.gma-quickaction {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 16px;
	background: #fff;
	border: 1px solid var(--gma-line, #eee);
	border-radius: 14px;
	text-decoration: none !important;
	color: var(--gma-ink, #1a1a1a) !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.gma-quickaction:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(200, 16, 46, 0.08);
	border-color: var(--gma-red, #C8102E);
}
.gma-quickaction__icon {
	font-size: 1.8rem;
	margin-bottom: 10px;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gma-cream, #FBE3DE);
	border-radius: 50%;
}
.gma-quickaction strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 4px;
}
.gma-quickaction small {
	color: var(--gma-muted, #6b6b6b);
	font-size: 0.85rem;
	line-height: 1.4;
}

/* Tips disclosure */
.gma-inbox-tips {
	background: #FFF9F7;
	border: 1px solid var(--gma-line, #eee);
	border-radius: 12px;
	padding: 14px 18px;
	text-align: left;
}
.gma-inbox-tips summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--gma-ink, #1a1a1a);
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
}
.gma-inbox-tips summary::before {
	content: '💡';
	font-size: 1.1rem;
}
.gma-inbox-tips summary::after {
	content: '+';
	margin-left: auto;
	font-size: 1.4rem;
	color: var(--gma-muted, #6b6b6b);
	transition: transform 0.2s ease;
}
.gma-inbox-tips[open] summary::after {
	content: '−';
}
.gma-inbox-tips ul {
	margin: 14px 0 4px;
	padding-left: 22px;
	color: var(--gma-ink-soft, #444);
}
.gma-inbox-tips li {
	margin-bottom: 8px;
	line-height: 1.5;
	font-size: 0.93rem;
}

/* Filter tabs */
.gma-inbox-filters {
	display: flex;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--gma-line, #eee);
}
.gma-inbox-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--gma-line, #eee);
	color: var(--gma-ink-soft, #444) !important;
	text-decoration: none !important;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.15s ease;
}
.gma-inbox-filter:hover {
	border-color: var(--gma-red, #C8102E);
}
.gma-inbox-filter.is-active {
	background: var(--gma-red, #C8102E);
	color: #fff !important;
	border-color: var(--gma-red, #C8102E);
}
.gma-inbox-filter__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: #f4f4f4;
	color: var(--gma-muted, #6b6b6b);
	font-size: 0.78rem;
	font-weight: 600;
}
.gma-inbox-filter.is-active .gma-inbox-filter__count {
	background: rgba(255,255,255,0.25);
	color: #fff;
}
.gma-inbox-filter__count--accent {
	background: var(--gma-gold, #D4A24C);
	color: #fff;
}

/* Unread row + dot */
.gma-thread-row.is-unread {
	background: #FFF9F7;
}
.gma-thread-row.is-unread strong {
	color: var(--gma-ink, #1a1a1a);
}
.gma-thread-row a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
}
.gma-thread-row__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gma-red, #C8102E);
	margin-left: auto;
	flex-shrink: 0;
	box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

@media (max-width: 600px) {
	.gma-quickactions { grid-template-columns: 1fr; }
	.gma-inbox-empty { padding: 16px 8px 24px; }
}

/* =========================================================
 * Activity badges (Online / Active today / Active this week)
 * Used on Browse cards + Recently Joined strip + profile
 * =======================================================*/
.gma-activity {
	position: absolute;
	left: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 9px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	background: rgba(255,255,255,0.96);
	color: #1a1a1a;
	box-shadow: 0 2px 6px rgba(0,0,0,0.12);
	backdrop-filter: blur(4px);
	z-index: 2;
	pointer-events: none;
}
.gma-activity__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2ecc71;
	box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
	animation: gma-pulse 2s ease-in-out infinite;
}
@keyframes gma-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25); }
	50% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0.10); }
}
.gma-activity--online { color: #1a7f44; }
.gma-activity--today  { color: #1a1a1a; }
.gma-activity--week   { color: #6b6b6b; background: rgba(255,255,255,0.85); }

/* =========================================================
 * Fallback "You might also like" row on Browse
 * =======================================================*/
.gma-fallback-row {
	margin-top: 36px;
	padding-top: 32px;
	border-top: 1px solid var(--gma-line, #eee);
}
.gma-fallback-row__head { text-align: center; margin: 0 0 20px; }
.gma-fallback-row__head h2 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 1.4rem;
	margin: 0 0 4px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-fallback-row__head .gma-sub { color: var(--gma-muted, #6b6b6b); margin: 0; font-size: 0.95rem; }

/* =========================================================
 * Recently Joined homepage strip
 * =======================================================*/
.gma-recently-joined {
	padding: 56px 0;
	background: linear-gradient(180deg, #FFF9F7 0%, #fff 100%);
}
.gma-recently-joined__head {
	text-align: center;
	margin: 0 0 32px;
}
.gma-recently-joined__head .gma-eyebrow {
	display:inline-block; font-size:.78rem; letter-spacing:.18em; text-transform:uppercase;
	color: var(--gma-gold, #D4A24C); margin-bottom: 8px; font-weight: 600;
}
.gma-recently-joined__head h2 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: clamp(1.6rem, 3.5vw, 2.1rem);
	margin: 0 0 8px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-recently-joined__head .gma-sub {
	color: var(--gma-muted, #6b6b6b);
	margin: 0;
	font-size: 0.98rem;
}
.gma-recently-joined__strip {
	display: grid;
	/* auto-fill (not auto-fit) keeps empty grid tracks so a single card
	 * does not stretch to fill the whole row. Cap each card at 220px so
	 * even 1–3 verified members render at a normal thumbnail size. */
	grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
	justify-content: center;
	gap: 16px;
	margin: 0 0 28px;
}
.gma-recently-joined__card {
	display: block;
	text-decoration: none !important;
	color: var(--gma-ink, #1a1a1a) !important;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gma-recently-joined__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(200, 16, 46, 0.12);
}
.gma-recently-joined__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 4/5;
	background-size: cover;
	background-position: center;
	background-color: #f4f4f4;
}
.gma-recently-joined__verified {
	position: absolute;
	top: 10px;
	right: 10px;
	background: var(--gma-gold, #D4A24C);
	color: #fff;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.gma-recently-joined__body {
	padding: 12px 14px 14px;
}
.gma-recently-joined__body strong {
	display: block;
	font-size: 0.98rem;
	margin-bottom: 2px;
}
.gma-recently-joined__body small {
	color: var(--gma-muted, #6b6b6b);
	font-size: 0.82rem;
	line-height: 1.4;
}
.gma-recently-joined__cta {
	text-align: center;
	margin: 0;
}
@media (max-width: 600px) {
	.gma-recently-joined__strip {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* =========================================================
 * Lost Password / Reset Password (branded WP recovery flow)
 * =======================================================*/
.gma-lostpw {
	max-width: 480px;
	margin: 40px auto;
	padding: 36px 32px 28px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 1px solid var(--gma-line, #eee);
}
.gma-lostpw__head {
	text-align: center;
	margin: 0 0 24px;
}
.gma-lostpw__mark {
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
}
.gma-lostpw__mark svg {
	width: 100%;
	height: 100%;
	display: block;
}
.gma-lostpw .gma-eyebrow {
	display: inline-block;
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gma-gold, #D4A24C);
	margin-bottom: 8px;
	font-weight: 600;
}
.gma-lostpw h1 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: clamp(1.55rem, 3.4vw, 1.9rem);
	margin: 0 0 8px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-lostpw .gma-sub {
	color: var(--gma-muted, #6b6b6b);
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.5;
}
.gma-lostpw__form {
	margin-top: 8px;
}
.gma-lostpw__form label {
	display: block;
	margin-bottom: 14px;
}
.gma-lostpw__form label span {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gma-ink-soft, #333);
	margin-bottom: 6px;
}
.gma-lostpw__form input[type="email"],
.gma-lostpw__form input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--gma-line, #e3e3e3);
	border-radius: 10px;
	font-size: 1rem;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}
.gma-lostpw__form input[type="email"]:focus,
.gma-lostpw__form input[type="password"]:focus {
	outline: none;
	border-color: var(--gma-red, #C8102E);
	box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.10);
}
.gma-lostpw__form .gma-btn {
	width: 100%;
	margin-top: 4px;
	padding: 13px 22px;
	font-size: 1rem;
}

/* Success state after sending the link */
.gma-lostpw__success {
	text-align: center;
	padding: 12px 0 4px;
}
.gma-lostpw__success-icon {
	width: 56px;
	height: 56px;
	background: #2ecc71;
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.7rem;
	font-weight: 700;
	margin: 0 auto 14px;
	box-shadow: 0 0 0 8px rgba(46, 204, 113, 0.15);
}
.gma-lostpw__success h2 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 1.25rem;
	margin: 0 0 8px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-lostpw__success p {
	color: var(--gma-muted, #555);
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 12px;
}
.gma-lostpw__tip {
	background: #FFF9F7;
	border-left: 3px solid var(--gma-gold, #D4A24C);
	padding: 12px 14px;
	border-radius: 6px;
	text-align: left;
	font-size: 0.88rem !important;
	margin-bottom: 18px !important;
}
.gma-lostpw__tip strong {
	display: block;
	margin-bottom: 2px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-lostpw__success .gma-btn--ghost {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 999px;
	border: 2px solid var(--gma-red, #C8102E);
	color: var(--gma-red, #C8102E) !important;
	background: transparent;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.92rem;
}
.gma-lostpw__success .gma-btn--ghost:hover {
	background: var(--gma-red, #C8102E);
	color: #fff !important;
}

/* Expired / invalid token state */
.gma-lostpw__error {
	background: #FFF4F2;
	border: 1px solid #F5C7CE;
	border-radius: 12px;
	padding: 18px;
	text-align: center;
	margin-bottom: 18px;
}
.gma-lostpw__error p {
	color: #6b3a3a;
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0 0 14px;
}
.gma-lostpw__error strong {
	color: var(--gma-red, #C8102E);
	display: block;
	margin-bottom: 6px;
}

/* Footer links */
.gma-lostpw__foot {
	text-align: center;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--gma-line, #eee);
}
.gma-lostpw__foot p {
	margin: 0 0 6px;
	font-size: 0.92rem;
}
.gma-lostpw__foot a {
	color: var(--gma-red, #C8102E);
	text-decoration: none;
	font-weight: 500;
}
.gma-lostpw__foot a:hover {
	text-decoration: underline;
}
.gma-lostpw__foot-sub {
	color: var(--gma-muted, #888);
	font-size: 0.84rem !important;
	margin-top: 8px !important;
}

/* Hide WP "Privacy Policy" / "Go to" / "Log in" links if the bare WP page
 * still renders for any reason — they'd look out of place alongside us. */
body:has(.gma-lostpw) #backtoblog,
body:has(.gma-lostpw) #nav,
body:has(.gma-lostpw) .privacy-policy-link { display: none; }

/* Hide the theme's "Forgot Password" page-title H1 so our branded card
 * isn't preceded by a duplicate heading. */
article:has(.gma-lostpw) > .page-header,
article:has(.gma-lostpw) > .entry-header { display: none !important; }

@media (max-width: 540px) {
	.gma-lostpw {
		margin: 20px 12px;
		padding: 28px 22px 22px;
	}
}

/* =========================================================
 * Upgrade thank-you page (PayPal.me handoff)
 * =======================================================*/
.gma-thanks {
	max-width: 980px;
	margin: 30px auto;
	padding: 20px;
}
.gma-thanks__head {
	text-align: center;
	margin-bottom: 32px;
}
.gma-thanks__head .gma-eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gma-red, #C8102E);
	background: rgba(200, 16, 46, 0.08);
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
	font-weight: 700;
}
.gma-thanks__head h1 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: clamp(28px, 4.5vw, 44px);
	line-height: 1.1;
	margin: 0 0 12px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-thanks__head h1 em {
	font-style: italic;
	color: var(--gma-red, #C8102E);
}
.gma-thanks__head .gma-sub {
	color: var(--gma-muted, #6b6b6b);
	font-size: 16px;
	max-width: 580px;
	margin: 0 auto;
}

.gma-thanks__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 22px;
	align-items: stretch;
}
.gma-thanks__card {
	background: #fff;
	border: 1px solid var(--gma-line, #eee);
	border-radius: 18px;
	padding: 28px 26px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.gma-thanks__card--cta {
	background: linear-gradient(135deg, #FFF9F7 0%, #FBE3DE 100%);
	border-color: var(--gma-gold, #D4A24C);
	text-align: center;
}

.gma-thanks__amount {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	font-family: var(--gma-serif, Georgia, serif);
	margin-bottom: 18px;
	color: var(--gma-red-dark, #8B0E22);
}
.gma-thanks__currency {
	font-size: 28px;
	font-weight: 600;
}
.gma-thanks__amount strong {
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
}
.gma-thanks__period {
	font-size: 14px;
	color: var(--gma-muted, #6b6b6b);
	font-family: 'Inter', sans-serif;
}

.gma-btn--paypal {
	display: inline-block;
	width: 100%;
	padding: 16px 24px;
	background: #0070BA;
	color: #fff !important;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(0, 112, 186, 0.25);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.gma-btn--paypal:hover {
	background: #005EA6;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(0, 112, 186, 0.3);
}
.gma-thanks__opens {
	font-size: 12px;
	color: var(--gma-muted, #888);
	margin: 12px 0 24px;
}

.gma-thanks__steps {
	text-align: left;
	background: rgba(255,255,255,0.6);
	border-radius: 12px;
	padding: 18px 18px 4px;
}
.gma-thanks__steps h3 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 16px;
	margin: 0 0 12px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-thanks__steps ol {
	margin: 0;
	padding-left: 22px;
	color: var(--gma-ink-soft, #333);
}
.gma-thanks__steps li {
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.55;
}
.gma-thanks__steps a {
	color: var(--gma-red, #C8102E);
	font-weight: 600;
}

.gma-thanks__card h3 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 20px;
	margin: 0 0 16px;
	color: var(--gma-ink, #1a1a1a);
}
.gma-thanks__features {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}
.gma-thanks__features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	padding: 6px 0;
	color: var(--gma-ink, #1a1a1a);
}
.gma-thanks__check {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--gma-gold, #D4A24C);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}
.gma-thanks__assurance {
	background: #FFF9F7;
	border-left: 3px solid var(--gma-gold, #D4A24C);
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 13px;
	color: var(--gma-muted, #555);
	line-height: 1.55;
}
.gma-thanks__assurance strong { color: var(--gma-ink, #1a1a1a); }

.gma-thanks__foot {
	text-align: center;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--gma-line, #eee);
}
.gma-thanks__foot p {
	font-size: 14px;
	color: var(--gma-muted, #6b6b6b);
	margin: 0 0 6px;
}
.gma-thanks__foot a { color: var(--gma-red, #C8102E); font-weight: 500; }
.gma-thanks__foot-sub a { color: var(--gma-muted, #888) !important; font-size: 13px; }

/* Hide the theme's page-title H1 so our branded card isn't preceded by it. */
article:has(.gma-thanks) > .page-header,
article:has(.gma-thanks) > .entry-header { display: none !important; }

@media (max-width: 760px) {
	.gma-thanks__grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
 * Login wall (shown on profile + browse to logged-out users)
 * =======================================================*/
.gma-loginwall {
	max-width: 540px;
	text-align: center;
	padding: 48px 36px;
	margin: 40px auto;
	background: linear-gradient(135deg, #FFF9F7 0%, #FBE3DE 100%);
	border: 1px solid var(--gma-gold, #D4A24C);
	border-radius: 18px;
}
.gma-loginwall h2 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 1.6rem;
	color: var(--gma-red-dark, #8B0E22);
	margin: 0 0 12px;
}
.gma-loginwall p {
	color: var(--gma-muted, #6b6b6b);
	font-size: 1rem;
	line-height: 1.55;
	margin: 0 0 8px;
}
.gma-loginwall .gma-btn { margin: 6px 4px; }

/* Browse — logged-out preview join card */
.gma-browse__join {
	max-width: 580px;
	margin: 36px auto 24px;
	text-align: center;
	padding: 32px 28px;
	background: linear-gradient(135deg, #FFF9F7 0%, #FBE3DE 100%);
	border: 1px solid var(--gma-gold, #D4A24C);
	border-radius: 18px;
}
.gma-browse__join h2 {
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 1.6rem;
	color: var(--gma-red-dark, #8B0E22);
	margin: 0 0 10px;
}
.gma-browse__join p {
	color: var(--gma-muted, #6b6b6b);
	font-size: 0.98rem;
	line-height: 1.55;
	margin: 0 0 14px;
}

/* Recently Joined — "Be next?" marketing card that pairs next to members */
.gma-recently-joined__card--cta {
	background: linear-gradient(160deg, var(--gma-red, #C8102E) 0%, var(--gma-red-dark, #8B0E22) 100%);
	color: #fff !important;
	overflow: hidden;
	display: flex;
	align-items: center;
	text-align: center;
	box-shadow: 0 4px 14px rgba(200, 16, 46, 0.18);
	min-height: 340px;
	padding: 28px 22px;
	box-sizing: border-box;
	position: relative;
}
.gma-recently-joined__card--cta::before {
	content: "";
	position: absolute;
	top: 0; right: 0;
	width: 60%;
	height: 60%;
	background: radial-gradient(circle at top right, rgba(212, 162, 76, 0.22), transparent 70%);
	pointer-events: none;
}
.gma-recently-joined__card--cta:hover {
	box-shadow: 0 14px 28px rgba(200, 16, 46, 0.32);
	transform: translateY(-3px);
}
.gma-recently-joined__cta-inner {
	width: 100%;
	position: relative;
	z-index: 1;
}
.gma-recently-joined__cta-eyebrow {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gma-gold-light, #E8C57A);
	margin-bottom: 14px;
	font-weight: 700;
}
.gma-recently-joined__cta-headline {
	display: block;
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 2.1rem;
	line-height: 1.05;
	color: #fff;
	margin-bottom: 14px;
	font-weight: 600;
}
.gma-recently-joined__cta-body {
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 20px;
}
.gma-recently-joined__cta-btn {
	display: inline-block;
	padding: 10px 18px;
	background: #fff;
	color: var(--gma-red, #C8102E) !important;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.gma-recently-joined__card--cta:hover .gma-recently-joined__cta-btn {
	background: var(--gma-gold, #D4A24C);
	color: var(--gma-red-dark, #8B0E22) !important;
}

/* Upgrade thank-you — GCash payment display (for Filipino men) */
.gma-thanks__gcash {
	background: #fff;
	border: 2px dashed var(--gma-gold, #D4A24C);
	border-radius: 14px;
	padding: 22px 18px 18px;
	margin: 4px 0 20px;
	text-align: center;
}
.gma-thanks__gcash-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gma-muted, #6b6b6b);
	margin: 0 0 6px;
}
.gma-thanks__gcash-number {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 28px;
	font-weight: 700;
	color: var(--gma-red-dark, #8B0E22);
	letter-spacing: 0.05em;
	margin: 0 0 4px;
	user-select: all;
}
.gma-thanks__gcash-name {
	font-size: 14px;
	color: var(--gma-ink-soft, #444);
	margin: 0 0 12px;
}

/* Thread compose — verification gate shown to unverified members */
.gma-thread__verify-gate {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	background: linear-gradient(135deg, #FFF9F7 0%, #FBE3DE 100%);
	border: 1px solid var(--gma-gold, #D4A24C);
	border-radius: 14px;
	padding: 22px 22px 24px;
	margin-top: 18px;
}
.gma-thread__verify-icon {
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--gma-gold, #D4A24C);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
}
.gma-thread__verify-gate strong {
	display: block;
	font-family: var(--gma-serif, Georgia, serif);
	font-size: 18px;
	color: var(--gma-red-dark, #8B0E22);
	margin-bottom: 6px;
}
.gma-thread__verify-gate p {
	color: var(--gma-muted, #6b6b6b);
	font-size: 14.5px;
	line-height: 1.55;
	margin: 0 0 14px;
}

/* GCash QR image inside the thank-you card */
.gma-thanks__gcash-qr {
	display: flex;
	justify-content: center;
	margin: 8px auto 14px;
}
.gma-thanks__gcash-qr img {
	display: block;
	width: 100%;
	max-width: 260px;
	height: auto;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.gma-thanks__gcash-altnum {
	font-size: 13px;
	color: var(--gma-muted, #6b6b6b);
	margin: 6px 0 8px;
}
.gma-thanks__gcash-altnum strong {
	color: var(--gma-red-dark, #8B0E22);
	font-weight: 700;
	letter-spacing: 0.03em;
	user-select: all;
}
