/* ==========================================================================
   Sissy Life theme
   Palette: plum ink, blush ground, raspberry accent (Customizer: --sl-accent)
   Type: Fraunces (display), DM Sans (body)
   ========================================================================== */

:root {
	--sl-accent: #B0185A;
	--sl-ink: #2A1630;
	--sl-ink-2: #5A4460;
	--sl-ink-3: #75597A;
	--sl-ground: #FFF7F9;
	--sl-surface: #FFFFFF;
	--sl-blush: #F7E3EA;
	--sl-line: #EBD3DC;
	--sl-line-soft: #F2E4EA;
	--sl-plum: #2A1630;
	--sl-plum-2: #3A2242;
	--sl-on-plum: #FFF7F9;
	--sl-on-plum-2: #D9C4D8;
	--sl-pink: #F4A7C0;
	--sl-link: #A3164D;
	--sl-link-hover: #6E0E34;
	--sl-radius: 20px;
	--sl-radius-sm: 12px;
	--sl-shadow: 0 18px 40px rgba(42, 22, 48, 0.12);
	--sl-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--sl-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--sl-wrap: 1240px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--sl-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--sl-ink);
	background: var(--sl-ground);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--sl-link); }
a:hover { color: var(--sl-link-hover); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sl-accent); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.sl-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--sl-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.sl-skip:focus { left: 8px; color: #fff; }
.sl-wrap { width: 100%; max-width: var(--sl-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sl-icon { display: block; flex-shrink: 0; }

/* --- Buttons --------------------------------------------------------------- */
.sl-btn,
.sl-community .button,
.sl-community input[type="submit"],
.sl-community button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 22px; border: 0; border-radius: 999px;
	background: var(--sl-accent); color: #fff; font: inherit; font-weight: 700; font-size: 15px;
	text-decoration: none; cursor: pointer; transition: filter .15s ease;
}
.sl-btn:hover, .sl-community .button:hover { color: #fff; filter: brightness(.92); }
.sl-btn--lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.sl-btn--outline { background: transparent; color: var(--sl-ink); box-shadow: inset 0 0 0 1.5px var(--sl-ink); }
.sl-btn--outline:hover { color: var(--sl-ink); background: var(--sl-blush); filter: none; }
.sl-btn--ghost { background: transparent; color: var(--sl-ink); }
.sl-btn--light { background: #fff; color: var(--sl-ink); }
.sl-btn--light:hover { color: var(--sl-ink); }
.sl-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--sl-blush); font-size: 14px; font-weight: 700; text-decoration: none; }
.sl-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

/* --- Header -------------------------------------------------------------- */
.sl-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 247, 249, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sl-line); }
.admin-bar .sl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sl-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sl-header { top: 0; } }
.sl-header__row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.sl-wordmark { font-family: var(--sl-display); font-size: 28px; font-weight: 700; letter-spacing: -.5px; color: var(--sl-ink); text-decoration: none; white-space: nowrap; }
.sl-wordmark em { font-style: italic; color: var(--sl-accent); font-weight: 500; margin-left: 2px; }
.sl-wordmark:hover { color: var(--sl-ink); }
.custom-logo { display: block; max-height: 48px; width: auto; }

.sl-nav { flex: 1; }
.sl-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.sl-menu > li { position: relative; display: flex; align-items: center; }
.sl-menu a { display: block; padding: 10px 12px; color: var(--sl-ink); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 10px; }
.sl-menu a:hover, .sl-menu .current-menu-item > a, .sl-menu .current-menu-ancestor > a { color: var(--sl-accent); }
.sl-subtoggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; margin-left: -8px; border: 0; background: transparent; color: var(--sl-ink); cursor: pointer; }
.sl-subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sl-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--sl-surface); border: 1px solid var(--sl-line); border-radius: 16px; box-shadow: var(--sl-shadow);
	display: none; z-index: 10;
}
.sl-menu .sub-menu a { padding: 10px 12px; }
.sl-menu .sub-menu a:hover { background: var(--sl-blush); color: var(--sl-ink); }
.sl-menu li:hover > .sub-menu, .sl-menu li:focus-within > .sub-menu, .sl-menu li.is-open > .sub-menu { display: block; }
.sl-nav__search { display: none; }

.sl-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sl-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sl-blush); color: var(--sl-ink); cursor: pointer; text-decoration: none; }
.sl-iconbtn:hover { color: var(--sl-ink); filter: brightness(.96); }
.sl-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sl-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.sl-avatar-link { display: block; width: 44px; height: 44px; margin-left: 4px; }
.sl-avatar-link img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: block; }
.sl-link-login { padding: 10px 12px; color: var(--sl-ink); font-weight: 500; text-decoration: none; }
.sl-menu-toggle { display: none; }
.sl-menu-toggle__close { display: none; }
.sl-menu-open .sl-menu-toggle__open { display: none; }
.sl-menu-open .sl-menu-toggle__close { display: block; }

.sl-searchbar { border-top: 1px solid var(--sl-line); padding: 14px 0; background: var(--sl-ground); }
.sl-search { display: flex; gap: 10px; flex-wrap: wrap; max-width: 680px; }
.sl-search label { flex: 1 1 240px; }
.sl-search__field { width: 100%; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sl-line); background: #fff; font: inherit; font-size: 16px; color: var(--sl-ink); }

@media (max-width: 960px) {
	.sl-menu-toggle { display: inline-flex; }
	.sl-search-toggle { display: none; }
	.sl-link-login { display: none; }
	.sl-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--sl-ground); border-bottom: 1px solid var(--sl-line); padding: 12px 24px 24px;
		max-height: calc(100vh - 72px); overflow-y: auto;
	}
	.sl-menu-open .sl-nav { display: block; }
	.sl-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.sl-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--sl-line-soft); }
	.sl-menu > li > a { flex: 1; padding: 14px 4px; font-size: 17px; }
	.sl-subtoggle { width: 44px; margin: 0; }
	.sl-menu .sub-menu { position: static; display: none; width: 100%; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; }
	.sl-menu li:hover > .sub-menu, .sl-menu li:focus-within > .sub-menu { display: none; }
	.sl-menu li.is-open > .sub-menu { display: block; }
	.sl-nav__search { display: block; padding-top: 16px; }
}

/* --- Shared type & sections ---------------------------------------------- */
.sl-content { min-height: 50vh; }
.sl-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sl-link); }
.sl-h2 { font-family: var(--sl-display); font-weight: 500; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.5px; margin: 0; }
.sl-lede { font-size: 18px; color: var(--sl-ink-2); max-width: 640px; }
.sl-section { padding: 72px 0 24px; }
.sl-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sl-band { padding: 80px 0; }
.sl-band--dark { background: var(--sl-plum); color: var(--sl-on-plum); }
.sl-band--dark .sl-lede { color: var(--sl-on-plum-2); margin: 12px 0 44px; }
.sl-band--accent { background: var(--sl-accent); color: #fff; margin-top: 72px; }

/* --- Hero ---------------------------------------------------------------- */
.sl-hero { padding: 72px 0 64px; }
.sl-hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.sl-hero__title { font-family: var(--sl-display); font-weight: 500; font-size: clamp(44px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -1.5px; margin: 0 0 22px; }
.sl-hero__title em { color: var(--sl-accent); }
.sl-hero__text { font-size: 20px; line-height: 1.55; color: var(--sl-ink-2); max-width: 540px; }
.sl-hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.sl-stats { display: flex; gap: 32px; flex-wrap: wrap; margin: 32px 0 0; }
.sl-stats div { display: flex; flex-direction: column-reverse; }
.sl-stats dt { font-family: var(--sl-display); font-size: 32px; line-height: 1.1; }
.sl-stats dd { margin: 0; font-size: 14px; color: var(--sl-ink-2); }
.sl-hero__media { position: relative; }
.sl-hero__img { display: block; width: 100%; height: 520px; object-fit: cover; border-radius: 28px; }
.sl-hero__img--empty { background: #F2D3DE; }
@media (max-width: 860px) {
	.sl-hero { padding: 40px 0 48px; }
	.sl-hero__grid { grid-template-columns: 1fr; gap: 32px; }
	.sl-hero__img { height: 320px; }
}

/* --- Features ------------------------------------------------------------ */
.sl-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.sl-feature { background: var(--sl-plum-2); border-radius: var(--sl-radius); padding: 28px; }
.sl-feature .sl-icon { width: 28px; height: 28px; color: var(--sl-pink); margin-bottom: 16px; }
.sl-feature h3 { font-size: 19px; margin: 0 0 8px; }
.sl-feature h3 a { color: var(--sl-on-plum); text-decoration: none; }
.sl-feature h3 a:hover { text-decoration: underline; }
.sl-feature p { margin: 0; font-size: 15px; color: var(--sl-on-plum-2); }

/* --- Cards ----------------------------------------------------------------- */
.sl-card { background: var(--sl-surface); border: 1px solid var(--sl-line); border-radius: var(--sl-radius); overflow: hidden; }
.sl-card__body { padding: 22px; }
.sl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.sl-card__title { font-size: 19px; margin: 0 0 6px; }
.sl-card__title a { color: var(--sl-ink); text-decoration: none; }
.sl-card__title a:hover { color: var(--sl-accent); }
.sl-card__text { font-size: 14px; color: var(--sl-ink-2); margin: 0; }
.sl-group { display: flex; flex-direction: column; }
.sl-group .sl-card__body { display: flex; flex-direction: column; flex: 1; }
.sl-group .sl-card__text { flex: 1; }
.sl-group__cover { height: 130px; background: #E9C9EC; }
.sl-group__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-group__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; font-size: 13px; color: var(--sl-ink-3); }

/* --- Post cards ---------------------------------------------------------- */
.sl-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 28px; }
.sl-postcard__media { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #EADCEB; margin-bottom: 16px; }
.sl-postcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.sl-postcard:hover .sl-postcard__media img { transform: scale(1.03); }
.sl-postcard .sl-eyebrow { font-size: 12px; margin-bottom: 8px; }
.sl-postcard__title { font-family: var(--sl-display); font-weight: 500; font-size: 24px; line-height: 1.25; margin: 0 0 8px; }
.sl-postcard__title a { color: var(--sl-ink); text-decoration: none; }
.sl-postcard__title a:hover { color: var(--sl-accent); }
.sl-postcard__excerpt { font-size: 15px; color: var(--sl-ink-2); }
.sl-postcard__excerpt p { margin: 0; }

/* --- CTA band -------------------------------------------------------------- */
.sl-cta { text-align: center; max-width: 860px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sl-cta__title { font-family: var(--sl-display); font-weight: 500; font-size: clamp(34px, 5vw, 52px); margin: 0; }
.sl-cta p { font-size: 18px; max-width: 560px; }

/* --- Inner pages ------------------------------------------------------- */
.sl-main { padding-top: 48px; padding-bottom: 80px; }
.sl-main--community { padding-top: 32px; }
.sl-pagehead { margin-bottom: 32px; }
.sl-pagehead__title { font-family: var(--sl-display); font-weight: 500; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.8px; margin: 0; }
.sl-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.sl-layout__main { flex: 999 1 600px; min-width: 0; }
.sl-layout__side { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) { .sl-layout__side { max-width: none; } }
.widget { padding: 22px; }
.widget-title { font-family: var(--sl-body); font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--sl-line-soft); }
.widget li:last-child { border-bottom: 0; }

.sl-article { max-width: 760px; }
.sl-article__title { font-family: var(--sl-display); font-weight: 500; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.8px; margin: 0 0 14px; }
.sl-meta { font-size: 14px; color: var(--sl-ink-3); }
.sl-article__media { margin: 28px 0; }
.sl-article__media img { border-radius: var(--sl-radius); display: block; }
.sl-prose { font-size: 18px; line-height: 1.75; }
.sl-prose h2 { font-family: var(--sl-display); font-weight: 500; font-size: 30px; margin: 1.6em 0 .5em; }
.sl-prose h3 { font-size: 22px; margin: 1.4em 0 .4em; }
.sl-prose img { border-radius: var(--sl-radius-sm); }
.sl-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sl-accent); font-family: var(--sl-display); font-style: italic; font-size: 22px; color: var(--sl-ink-2); }
.sl-prose .alignleft { float: left; margin: 0 24px 16px 0; }
.sl-prose .alignright { float: right; margin: 0 0 16px 24px; }
.sl-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--sl-ink-3); margin-top: 8px; }
.sl-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 6px 12px; border-radius: 999px; background: var(--sl-blush); font-size: 13px; text-decoration: none; }
.post-navigation { margin: 48px 0; max-width: 760px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-navigation a { display: block; padding: 18px; border: 1px solid var(--sl-line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--sl-ink); font-weight: 700; }
.post-navigation .sl-meta { display: block; font-weight: 400; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sl-line); background: #fff; text-decoration: none; color: var(--sl-ink); }
.pagination .page-numbers.current { background: var(--sl-ink); color: #fff; border-color: var(--sl-ink); }
.sl-404 { text-align: left; max-width: 720px; }
.sl-404 .sl-search { margin: 24px 0; }

/* --- Comments ------------------------------------------------------------ */
.sl-comments { margin-top: 40px; max-width: 760px; }
.sl-comments__title { font-size: 22px; }
.sl-comments__list { list-style: none; padding: 0; margin: 0 0 32px; }
.sl-comments__list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--sl-line-soft); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-metadata { font-size: 13px; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 6px; }

/* --- Forms (site-wide) ------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"], textarea, select {
	max-width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--sl-line); border-radius: var(--sl-radius-sm);
	background: #fff; font: inherit; font-size: 16px; color: var(--sl-ink);
}
textarea { width: 100%; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--sl-accent); outline-offset: 0; border-color: transparent; }

/* --- BuddyPress (Nouveau) -------------------------------------------------- */
.sl-community { font-size: 16px; }
#buddypress.buddypress-wrap { color: var(--sl-ink); }
#buddypress .bp-navs ul li a { border-radius: 999px; padding: 10px 16px; font-weight: 500; }
#buddypress .bp-navs ul li.selected a,
#buddypress .bp-navs ul li.current a { background: var(--sl-ink); color: #fff; }
#buddypress .bp-navs ul li a span.count { background: var(--sl-blush); color: var(--sl-ink); border: 0; border-radius: 999px; }
#buddypress .bp-navs ul li.selected a span.count,
#buddypress .bp-navs ul li.current a span.count { background: var(--sl-accent); color: #fff; }
#buddypress .main-navs.dir-navs, #buddypress .bp-navs { background: transparent; border: 0; }
#buddypress .subnav-filters { margin: 16px 0; }
#buddypress .activity-list .activity-item,
#buddypress .item-list > li {
	background: var(--sl-surface); border: 1px solid var(--sl-line); border-radius: var(--sl-radius);
	padding: 18px 20px; margin-bottom: 14px; box-shadow: none;
}
#buddypress .activity-list.bp-list { background: transparent; border: 0; padding: 0; }
#buddypress .activity-list .activity-item .activity-avatar img,
#buddypress .item-list .item-avatar img,
#buddypress .avatar { border-radius: 50%; }
#buddypress .activity-header { font-size: 15px; }
#buddypress .activity-header a, #buddypress .activity-header .time-since { color: var(--sl-ink-3); }
#buddypress .activity-header a:first-child { color: var(--sl-ink); font-weight: 700; }
#buddypress .activity-inner { font-size: 16px; line-height: 1.6; }
#buddypress .activity-meta.action .button,
#buddypress .generic-button a,
#buddypress .generic-button button {
	background: transparent; color: var(--sl-ink-2); border: 1px solid var(--sl-line); border-radius: 999px;
	min-height: 36px; padding: 6px 14px; font-size: 14px; font-weight: 500;
}
#buddypress .activity-meta.action .button:hover,
#buddypress .generic-button a:hover,
#buddypress .generic-button button:hover { background: var(--sl-blush); color: var(--sl-ink); }
#buddypress #whats-new-form,
#buddypress .activity-update-form {
	background: var(--sl-surface); border: 1px solid var(--sl-line); border-radius: var(--sl-radius); padding: 20px; margin-bottom: 20px;
}
#buddypress #whats-new { min-height: 90px; border-radius: 14px; background: var(--sl-ground); }
#buddypress #item-header { background: var(--sl-surface); border: 1px solid var(--sl-line); border-radius: var(--sl-radius); overflow: hidden; margin-bottom: 24px; }
#buddypress #header-cover-image { border-radius: 0; }
#buddypress .users-header .user-nicename, #buddypress #item-header-content .user-nicename { color: var(--sl-ink-3); }
#buddypress #item-header h2, #buddypress .item-header-wrap h2 { font-family: var(--sl-display); font-weight: 500; }
#buddypress .bp-feedback { border-radius: var(--sl-radius-sm); box-shadow: none; border: 1px solid var(--sl-line); }
#buddypress .dir-search input[type="search"],
#buddypress .groups-members-search input[type="search"] { border-radius: 999px; }
#buddypress .bp-pagination-links .page-numbers { border-radius: 999px; padding: 6px 12px; }
#buddypress .grid > li .list-wrap { border-radius: var(--sl-radius); border-color: var(--sl-line); }
#buddypress table.profile-fields, #buddypress table.notifications, #buddypress table.messages-notices { border-radius: var(--sl-radius-sm); overflow: hidden; }
#buddypress .standard-form input[type="text"],
#buddypress .standard-form input[type="email"],
#buddypress .standard-form input[type="password"],
#buddypress .standard-form textarea { width: 100%; }

/* --- bbPress ------------------------------------------------------------- */
#bbpress-forums { font-size: 16px; }
#bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results {
	border: 1px solid var(--sl-line); border-radius: var(--sl-radius); overflow: hidden; background: #fff;
}
#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { background: var(--sl-blush); border-color: var(--sl-line); }
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic { border-top-color: var(--sl-line-soft); padding: 14px; }
#bbpress-forums div.odd, #bbpress-forums ul.odd { background: var(--sl-ground); }
#bbpress-forums .bbp-forum-title, #bbpress-forums .bbp-topic-permalink { font-weight: 700; color: var(--sl-ink); }
#bbpress-forums fieldset.bbp-form { border: 1px solid var(--sl-line); border-radius: var(--sl-radius); padding: 20px; }
#bbpress-forums div.bbp-reply-author img.avatar, #bbpress-forums div.bbp-topic-author img.avatar { border-radius: 50%; }
#bbpress-forums .bbp-breadcrumb { font-size: 14px; }

/* --- Footer ---------------------------------------------------------------- */
.sl-footer { background: var(--sl-plum); color: var(--sl-on-plum-2); margin-top: 0; }
.sl-band--accent + .sl-footer, .sl-section + .sl-footer { margin-top: 0; }
.sl-footer__row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; font-size: 14px; }
.sl-footer .sl-wordmark { color: var(--sl-on-plum); font-size: 24px; }
.sl-footer .sl-wordmark em { color: var(--sl-pink); }
.sl-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 22px; flex-wrap: wrap; }
.sl-footer__menu a { color: var(--sl-on-plum-2); text-decoration: none; display: inline-block; padding: 8px 0; }
.sl-footer__menu a:hover { color: #fff; text-decoration: underline; }
.sl-footer__note { margin: 0; }

/* --- Motion preference ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Contribute chip (posts) --------------------------------------------- */
.sl-article__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sl-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--sl-blush); color: var(--sl-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.sl-chip .sl-icon { width: 16px; height: 16px; color: var(--sl-accent); }
.sl-chip:hover { color: var(--sl-ink); background: #F2D3DE; }

/* --- Contribute box at the foot of posts ---------------------------------- */
.sl-contribute-box { max-width: 760px; margin-top: 56px; padding: 36px; border-radius: 24px; background: var(--sl-blush); scroll-margin-top: 100px; }
.sl-contribute-box__title { font-family: var(--sl-display); font-weight: 500; font-size: clamp(28px, 4vw, 36px); margin: 0 0 10px; }
.sl-contribute-box__lede { color: var(--sl-ink-2); margin-bottom: 24px; }
@media (max-width: 600px) { .sl-contribute-box { padding: 24px 20px; } }

/* --- Forms: contribute ------------------------------------------------------ */
.sl-form { display: flex; flex-direction: column; gap: 18px; }
.sl-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.sl-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.sl-field label, .sl-field legend, .sl-field__label { font-weight: 700; font-size: 15px; }
.sl-field input[type="text"], .sl-field input[type="email"], .sl-field textarea { width: 100%; }
.sl-field__hint { font-size: 13px; color: var(--sl-ink-3); }
.sl-field__static { font-size: 15px; color: var(--sl-ink-2); }
.sl-optional { font-weight: 400; font-size: 13px; color: var(--sl-ink-3); }
.sl-choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sl-choices legend { margin-bottom: 8px; padding: 0; width: 100%; }
.sl-choice { position: relative; }
.sl-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sl-choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--sl-line); border-radius: 999px; background: #fff; font-size: 15px; cursor: pointer; }
.sl-choice input:checked + span { background: var(--sl-ink); border-color: var(--sl-ink); color: #fff; }
.sl-choice input:focus-visible + span { outline: 3px solid var(--sl-accent); outline-offset: 2px; }
.sl-form__submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 0; }
.sl-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sl-notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 18px; font-size: 16px; }
.sl-notice--ok { background: #E6F4EC; color: #1D5A38; border: 1px solid #B9DEC8; }
.sl-notice--error { background: #FDECEC; color: #8A1F1F; border: 1px solid #F3C2C2; }

/* --- Contribute page ------------------------------------------------------ */
.sl-hero--contribute { padding-bottom: 32px; }
.sl-hero__narrow { max-width: 900px; }
.sl-section--tight { padding: 40px 0; }
.sl-roles { margin-top: 28px; }
.sl-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
@media (max-width: 860px) { .sl-split { grid-template-columns: 1fr; } }
.sl-h3 { font-family: var(--sl-display); font-weight: 500; font-size: 28px; margin: 0 0 8px; }
.sl-ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sl-ticks li { position: relative; padding-left: 30px; color: var(--sl-ink-2); }
.sl-ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--sl-accent); border-bottom: 2px solid var(--sl-accent); transform: rotate(-45deg); }
.sl-ticks strong { color: var(--sl-ink); }
.sl-protect { background: var(--sl-plum); border: 0; color: var(--sl-on-plum-2); }
.sl-protect .sl-h3 { color: var(--sl-on-plum); }
.sl-protect .sl-ticks li { color: var(--sl-on-plum-2); }
.sl-protect .sl-ticks li::before { border-color: var(--sl-pink); }
.sl-steps { list-style: none; counter-reset: sl-step; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.sl-steps li { counter-increment: sl-step; background: #fff; border: 1px solid var(--sl-line); border-radius: var(--sl-radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.sl-steps li::before { content: counter(sl-step); font-family: var(--sl-display); font-size: 30px; color: var(--sl-accent); line-height: 1; margin-bottom: 6px; }
.sl-steps span { font-size: 15px; color: var(--sl-ink-2); }
.sl-apply { scroll-margin-top: 90px; padding-bottom: 80px; }
.sl-apply__box { max-width: 820px; background: #fff; border: 1px solid var(--sl-line); border-radius: 28px; padding: 44px; box-shadow: var(--sl-shadow); }
.sl-apply__box .sl-lede { margin: 10px 0 28px; }
@media (max-width: 600px) { .sl-apply__box { padding: 26px 20px; } }

/* --- Blog sidebar -------------------------------------------------------- */
.sl-sidebar { gap: 20px; }
.sl-side-card { background: #fff; border: 1px solid var(--sl-line); border-radius: var(--sl-radius); padding: 22px; }
.sl-side-title { font-family: var(--sl-body); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sl-ink-3); margin: 0 0 14px; }
.sl-side-card--contribute { background: var(--sl-plum); border: 0; color: var(--sl-on-plum-2); }
.sl-side-card--contribute .sl-side-title { font-family: var(--sl-display); font-size: 24px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--sl-on-plum); margin-bottom: 8px; }
.sl-side-card--contribute p { font-size: 15px; margin-bottom: 18px; }
.sl-side-card .sl-search { flex-direction: column; }
.sl-side-card .sl-search label { flex: none; }
.sl-side-card .sl-search .sl-btn { width: 100%; }
.sl-side-list { list-style: none; margin: 0; padding: 0; }
.sl-side-list li { padding: 10px 0; border-bottom: 1px solid var(--sl-line-soft); font-size: 15px; line-height: 1.4; }
.sl-side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.sl-side-list li:first-child { padding-top: 0; }
.sl-side-list a { color: var(--sl-ink); text-decoration: none; font-weight: 500; }
.sl-side-list a:hover { color: var(--sl-accent); }
.sl-side-list a[aria-current="page"] { color: var(--sl-accent); }
.sl-side-list--cats li { display: flex; justify-content: space-between; gap: 12px; }
.sl-side-list--cats span { color: var(--sl-ink-3); font-size: 13px; }
.sl-side-list--ranked { counter-reset: sl-rank; }
.sl-side-list--ranked li { counter-increment: sl-rank; display: flex; gap: 14px; }
.sl-side-list--ranked li::before { content: counter(sl-rank); font-family: var(--sl-display); font-size: 22px; line-height: 1; color: var(--sl-accent); min-width: 18px; }
.sl-side-list--recent time { display: block; font-size: 13px; color: var(--sl-ink-3); margin-top: 2px; }
.sl-ad { text-align: center; }
.sl-ad__label { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sl-ink-3); margin-bottom: 6px; }
.sl-ad img { display: block; width: 100%; height: auto; border-radius: var(--sl-radius-sm); }
.sl-ad--empty { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 250px; padding: 20px; border: 2px dashed #D6AFC0; border-radius: var(--sl-radius); color: var(--sl-ink-3); }
.sl-ad--empty span { font-family: var(--sl-display); font-size: 22px; color: var(--sl-ink-2); }
.sl-ad--empty small { font-size: 12px; }

/* --- Fixes after visual check --------------------------------------------- */
.sl-field.sl-choices { flex-direction: row; flex-wrap: wrap; }
.sl-roles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sl-section--tight .sl-h2 + .sl-lede { margin-top: 10px; }
.sl-apply__box { margin: 0 auto; }

/* --- Members-only badge --------------------------------------------------- */
.sl-badge-private { display: inline-block; margin: 0 0 10px; padding: 4px 10px; border-radius: 999px; background: var(--sl-plum); color: var(--sl-on-plum); font-size: 12px; font-weight: 700; letter-spacing: .5px; }

/* --- Legacy WPBakery pages (until rebuilt) -------------------------------- */
/* Stretched rows are sized to 100vw, which includes the scrollbar; stop the sideways scroll. */
html, body { overflow-x: clip; }
.sl-prose .vc_row, .sl-prose .wpb_row { margin-left: 0; margin-right: 0; }

/* --- Reference Library ---------------------------------------------------- */
.sl-crumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--sl-ink-3); }
.sl-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sl-line); }
.sl-crumbs a { color: var(--sl-ink-2); text-decoration: none; }
.sl-crumbs a:hover { color: var(--sl-accent); text-decoration: underline; }
.sl-answer { margin: 24px 0; padding: 22px 24px; border-radius: var(--sl-radius); background: var(--sl-blush); border: 1px solid var(--sl-line); }
.sl-answer p { margin: 0; font-size: 18px; line-height: 1.6; }
.sl-answer__label { font-size: 12px !important; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sl-link); margin-bottom: 6px !important; }
.sl-toc { margin: 0 0 32px; padding: 20px 24px; border: 1px solid var(--sl-line); border-radius: var(--sl-radius); background: #fff; }
.sl-toc__label { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.sl-toc ol { margin: 0; padding-left: 20px; columns: 2 240px; column-gap: 32px; }
.sl-toc li { margin: 4px 0; break-inside: avoid; font-size: 15px; }
.sl-toc a { color: var(--sl-ink); text-decoration: none; }
.sl-toc a:hover { color: var(--sl-accent); text-decoration: underline; }
.sl-prose h2[id], .sl-prose h3[id] { scroll-margin-top: 100px; }
.sl-prose table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 16px; background: #fff; border-radius: var(--sl-radius-sm); overflow: hidden; }
.sl-prose th, .sl-prose td { padding: 10px 14px; border-bottom: 1px solid var(--sl-line-soft); text-align: left; }
.sl-prose thead th { background: var(--sl-plum); color: var(--sl-on-plum); font-weight: 700; font-size: 14px; }
.sl-prose tbody tr:nth-child(even) td { background: var(--sl-ground); }
.sl-prose .sl-table-wrap { overflow-x: auto; }
.sl-prose .sl-note { padding: 16px 20px; border-radius: var(--sl-radius-sm); background: var(--sl-blush); font-size: 16px; }
.sl-related { margin-top: 48px; }
.sl-related .sl-h3 { margin-bottom: 20px; }
.sl-guide__cta { margin-top: 48px; padding: 24px; border-radius: var(--sl-radius); background: var(--sl-plum); color: var(--sl-on-plum-2); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sl-guide__cta p { margin: 0; }
.sl-guide__cta strong { color: var(--sl-on-plum); }
.sl-guide-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sl-guide-cards li { padding: 0; }
.sl-guide-cards li::before { padding: 22px 22px 0; }
.sl-guide-card { display: flex; flex-direction: column; gap: 6px; padding: 8px 22px 22px; text-decoration: none; color: var(--sl-ink); height: 100%; }
.sl-guide-card strong { font-size: 18px; }
.sl-guide-card span { font-size: 15px; color: var(--sl-ink-2); }
.sl-guide-card:hover strong { color: var(--sl-accent); }
.sl-ref-tile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--sl-ink); }
.sl-ref-tile:hover .sl-h3 { color: var(--sl-accent); }
.sl-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; }
.sl-az a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--sl-line); font-size: 14px; text-decoration: none; color: var(--sl-ink); }
.sl-az a:hover { background: var(--sl-blush); }
.sl-glossary h3 { font-family: var(--sl-display); font-weight: 500; font-size: 24px; margin: 1.6em 0 .3em; padding-top: 1.2em; border-top: 1px solid var(--sl-line-soft); }
.sl-glossary h3:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

/* --- Newsletter -------------------------------------------------------------- */
.sl-newsletter { border-radius: var(--sl-radius); }
.sl-newsletter--band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; padding: 40px; background: var(--sl-plum); color: var(--sl-on-plum-2); }
.sl-newsletter--band .sl-newsletter__title { font-family: var(--sl-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); color: var(--sl-on-plum); margin: 0 0 8px; }
.sl-newsletter--side { padding: 22px; background: var(--sl-blush); border: 1px solid var(--sl-line); }
.sl-newsletter--side .sl-newsletter__title { font-family: var(--sl-display); font-weight: 500; font-size: 22px; margin: 0 0 6px; }
.sl-newsletter--side p { font-size: 15px; color: var(--sl-ink-2); }
.sl-newsletter__form { min-width: 0; }
.sl-newsletter__form input[type="email"], .sl-newsletter__form input[type="text"] { width: 100%; }
.sl-footer-signup { padding-top: 24px; padding-bottom: 56px; }
@media (max-width: 760px) { .sl-newsletter--band { grid-template-columns: 1fr; padding: 28px 22px; } }

/* --- Marketplace (coming soon) --------------------------------------------- */
.sl-market__hero { background: var(--sl-plum); color: var(--sl-on-plum-2); padding: 72px 0; }
.sl-market__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.sl-eyebrow--light { color: var(--sl-pink); }
.sl-market__title { font-family: var(--sl-display); font-weight: 500; font-size: clamp(42px, 6vw, 70px); line-height: 1.04; color: var(--sl-on-plum); margin: 0 0 18px; }
.sl-market__title em { color: var(--sl-pink); }
.sl-market__lede { font-size: 19px; max-width: 520px; }
.sl-market__shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sl-shelf { display: flex; align-items: flex-end; min-height: 130px; padding: 16px; border-radius: 18px; font-weight: 700; color: var(--sl-ink); }
.sl-shelf--a { background: #F6CFDC; } .sl-shelf--b { background: #E9C9EC; min-height: 170px; } .sl-shelf--c { background: #F8DDC8; }
.sl-shelf--d { background: #D8D0F0; } .sl-shelf--e { background: #F2D3DE; min-height: 170px; } .sl-shelf--f { background: #DCE6EF; }
.sl-market__notify { text-align: left; }
.sl-market__notify .sl-newsletter { margin-bottom: 20px; }
@media (max-width: 860px) { .sl-market__grid { grid-template-columns: 1fr; } .sl-market__hero { padding: 48px 0; } }

/* 18+ confirmation on sign-up */
.sl-agegate { margin: 20px 0; padding: 16px 18px; border: 1px solid var(--sl-line, #ead3df); border-radius: 12px; background: var(--sl-blush, #fdf1f6); }
.sl-agegate__label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; line-height: 1.5; cursor: pointer; }
.sl-agegate__label input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--sl-accent); }
.sl-agegate__error { margin: 0 0 10px; color: var(--sl-accent); font-weight: 600; }
#login .sl-agegate { margin: 0 0 16px; padding: 12px; }
