/* Stonewall Equity front page. Oxblood & Cream (Tomek, 26 Oct 2026): text #1f1512, muted #6b5c55, rule #e3d8cc, surface #f3ece3, cream #fbf7f2, oxblood #501511, blush #e9c9bf on dark. Display type from --swe-display (set site-wide by the plugin), Manrope body. */
/* Masu pads every full-width group and every group with a background by its gutter (--wp--custom--gap--horizontal) and pulls full-width groups out by the same amount. Inside the home page that padding showed as darker bands either side of the carousel (28 Oct 2026). The home page keeps the theme's outward pull on .swe-home only; everything inside is flush. */
.wp-site-blocks .swe-home.alignfull{padding-left:0!important;padding-right:0!important}
.swe-home .wp-block-group.alignfull,.swe-home .wp-block-group.has-background{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;max-width:none!important;width:auto!important}
.swe-home{--ink:#1f1512;--grey:#6b5c55;--rule:#e3d8cc;--ox:#501511;--blush:#e9c9bf;--cream:#fbf7f2;--surface:#f3ece3;--wrap:1280px;--gut:clamp(20px,4.5vw,64px);--num:var(--swe-display,"Playfair Display",Georgia,serif);margin:0!important;max-width:none!important;color:var(--ink);background:var(--cream)}
.swe-home>.swe-hx,.swe-home>.swe-intro,.swe-home>.swe-nums,.swe-home>.swe-tools,.swe-home>.swe-guides,.swe-home>.swe-news{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.swe-home,.swe-home *{box-sizing:border-box}
.swe-home>*{margin-block:0!important}
.swe-home p,.swe-home h1,.swe-home h2,.swe-home h3,.swe-home figure{margin:0}
.swe-home h1,.swe-home h2,.swe-home h3{font-family:var(--num)}
.swe-home .wp-block-image img{display:block;width:100%;height:100%;object-fit:cover}
.swe-wrap{max-width:var(--wrap);margin-inline:auto!important;padding-inline:var(--gut)}
.swe-kicker{font-size:.74rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ox)}
.swe-home .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}
.swe-home .wp-block-button__link{display:inline-flex;align-items:center;min-height:50px;padding:0 26px;border-radius:4px;font-size:.95rem;font-weight:600;letter-spacing:.01em;text-decoration:none;background:var(--ox);color:var(--cream);border:1px solid var(--ox);transition:background .2s,color .2s,border-color .2s}
.swe-home .wp-block-button__link:hover{background:#3b0f0c;border-color:#3b0f0c;color:var(--cream)}
.swe-home .swe-btn-ghost .wp-block-button__link{background:transparent;color:var(--ox);border-color:var(--ox)}
.swe-home .swe-btn-ghost .wp-block-button__link:hover{background:var(--ox);color:var(--cream)}
.swe-textlink a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;text-decoration-color:rgba(31,21,18,.35)}
.swe-textlink a:hover{text-decoration-color:var(--ink)}
.swe-home h2.wp-block-heading{font-size:clamp(2.1rem,3.6vw,3.4rem);font-weight:500;line-height:1.08;letter-spacing:-.01em;text-wrap:balance}

/* One spacing unit for the whole page: every section has the same space above and below its content.
   Sections alternate background, so the visible gap between any two screens is the same. --swe-space is set site-wide. */
.swe-home>.swe-intro,.swe-home>.swe-nums,.swe-home>.swe-tools,.swe-home>.swe-guides,.swe-home>.swe-news{padding-block:var(--swe-space,clamp(56px,7vw,104px))}

/* 1. Carousel: photo with a solid cream text card on it (the Queer Bond treatment), changes every 10 seconds */
.swe-hx{position:relative;background:var(--surface);overflow:hidden}
.swe-hx-track{display:grid!important}
.swe-hx-track>*{margin:0!important}
.swe-hx-slide{grid-area:1/1;position:relative;display:block!important;--hx-h:clamp(520px,72vh,720px);min-height:var(--hx-h);opacity:0;visibility:hidden;transition:opacity .9s ease,visibility .9s}
.swe-hx-slide.is-current,.swe-hx:not(.is-ready) .swe-hx-slide:first-child{opacity:1;visibility:visible}
/* Full-bleed photo as a background on a plain div, so no image or figure rule from the theme can letterbox or resize it. */
.swe-hx-slide>.swe-hx-img{position:absolute!important;inset:0;margin:0!important;padding:0!important;background-size:cover!important;background-repeat:no-repeat!important;background-position:50% 40%}
.swe-hx-slide>.swe-hx-img>*{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:0!important}
/* Small text card in one corner of the photo; the corner is chosen per slide (pos-bl, pos-br, pos-tl, pos-tr) to stay off the people. */
.swe-hx-copy{position:relative;z-index:1;min-height:var(--hx-h);max-width:none;margin:0!important;padding:clamp(24px,3.5vw,56px) clamp(20px,3vw,44px) clamp(28px,4vw,64px);display:flex!important;align-items:flex-end;justify-content:flex-start}
.swe-hx-slide.pos-br .swe-hx-copy,.swe-hx-slide.pos-tr .swe-hx-copy{justify-content:flex-end}
.swe-hx-slide.pos-tl .swe-hx-copy,.swe-hx-slide.pos-tr .swe-hx-copy{align-items:flex-start}
.swe-hx-slide.is-wide .swe-hx-card{width:min(600px,100%)}
.swe-hx-slide.is-low .swe-hx-copy{padding-bottom:clamp(14px,1.8vw,28px)}
.swe-hx-card{width:min(380px,100%);background:rgba(251,247,242,.94);border-radius:4px;padding:clamp(18px,2vw,26px);display:flex!important;flex-direction:column;gap:10px;box-shadow:0 16px 40px -24px rgba(31,21,18,.5)}
.swe-hx-card>*{margin:0!important}
.swe-hx-card .swe-kicker{color:var(--ox);font-size:.68rem}
.swe-hx-card h1,.swe-hx-card h2{color:var(--ink);font-size:clamp(1.35rem,1.9vw,1.8rem)!important;font-weight:500;line-height:1.12;letter-spacing:-.01em;text-wrap:balance}
.swe-hx-card .swe-hx-body{font-size:.92rem;line-height:1.45;color:#4a3d38}
.swe-hx-card .wp-block-buttons{margin-top:4px!important;gap:8px}
.swe-hx-card .wp-block-button__link{min-height:40px;padding:0 16px;font-size:.86rem}
.swe-hx-card .swe-hx-meta{font-size:.78rem;color:var(--grey)}
/* Controls: previous / next arrows at mid-height on the edges, a small pause button top right. No dots. */
.swe-hx-ui{position:absolute;inset:0;z-index:2;pointer-events:none}
.swe-hx-ui button{pointer-events:auto;font:inherit;cursor:pointer;margin:0;box-shadow:none}
.swe-hx-arrow,.swe-hx-pause{border-radius:50%;border:1px solid rgba(31,21,18,.25);background:rgba(251,247,242,.85);color:var(--ink);display:grid;place-items:center;padding:0;backdrop-filter:blur(4px);transition:background .2s,color .2s}
.swe-hx-arrow{position:absolute;top:42%;transform:translateY(-50%);left:clamp(12px,2vw,28px);width:46px;height:46px}
.swe-hx-arrow.is-next{left:auto;right:clamp(12px,2vw,28px)}
.swe-hx-arrow svg{width:20px;height:20px}
.swe-hx-pause{position:absolute;right:clamp(12px,2vw,28px);top:clamp(12px,2vw,24px);width:34px;height:34px}
.swe-hx-pause svg{width:13px;height:13px}
.swe-hx-arrow:hover,.swe-hx-pause:hover{background:var(--ox);color:var(--cream);border-color:var(--ox)}
.swe-hx button:focus-visible,.swe-home a:focus-visible{outline:2px solid var(--ox);outline-offset:3px}

/* 2. Who we are: photo and text in two equal columns, the photo runs the full height of the text */
.swe-intro-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(32px,4.5vw,72px);align-items:stretch}
.swe-intro-grid>*{margin:0!important}
.swe-intro-img{grid-column:1/span 6;position:relative;min-height:520px;overflow:hidden;border-radius:4px}
.swe-intro-img img{position:absolute;inset:0}
.swe-intro-copy{grid-column:7/span 6;display:flex!important;flex-direction:column;justify-content:center}
.swe-intro-copy>*{margin:0!important}
.swe-intro-copy .swe-kicker{margin-bottom:20px!important}
.swe-intro-copy h2{margin-bottom:24px!important}
.swe-intro-copy .swe-lead{font-size:1.1rem;line-height:1.65;color:#4a3d38;margin-bottom:36px!important}
.swe-pieces{border-top:1px solid var(--ink)}
.swe-pieces>*{margin:0!important}
.swe-piece{position:relative;display:grid!important;grid-template-columns:52px minmax(0,1fr);column-gap:12px;padding:20px 0;border-bottom:1px solid var(--rule)}
.swe-piece>*{margin:0!important}
.swe-piece .swe-piece-n{grid-row:span 2;font-family:var(--num);font-variant-numeric:lining-nums;font-size:1.5rem;line-height:1;color:var(--ox)}
.swe-home .swe-piece h3{font-family:Manrope,sans-serif!important;font-size:1.08rem;font-weight:700;letter-spacing:0;margin-bottom:4px!important}
.swe-piece h3 a{color:var(--ink);text-decoration:none}
.swe-piece h3 a::after{content:"";position:absolute;inset:0}
.swe-piece p{font-size:.95rem;line-height:1.5;color:var(--grey)}
.swe-piece:hover h3 a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}

/* 3. By the numbers */
.swe-nums{background:var(--ink);color:#fbf7f2}
.swe-nums-head{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(24px,3vw,48px);align-items:end;margin-bottom:clamp(40px,5vw,72px)!important}
.swe-nums-head>*{margin:0!important}
.swe-nums-head .swe-kicker{grid-column:1/-1;color:var(--blush);margin-bottom:20px!important}
.swe-nums-head h2{grid-column:1/span 7;color:#fbf7f2!important}
.swe-nums-head .swe-nums-intro{grid-column:9/span 4;font-size:1rem;line-height:1.55;color:rgba(251,247,242,.72)}
.swe-nums-intro a{color:#fbf7f2;text-decoration:underline;text-decoration-color:rgba(251,247,242,.4);text-underline-offset:3px}
.swe-nums-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid rgba(251,247,242,.18)}
.swe-nums-grid>*{margin:0!important}
.swe-stat{min-width:0;padding:32px 28px 34px;border-bottom:1px solid rgba(251,247,242,.18);display:flex!important;flex-direction:column;gap:12px}
.swe-stat>*{margin:0!important}
.swe-stat:nth-child(4n+1){padding-left:0}
.swe-stat:nth-child(4n){padding-right:0}
.swe-stat:not(:nth-child(4n)){border-right:1px solid rgba(251,247,242,.18)}
.swe-stat .swe-stat-tag{font-size:.7rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--blush)}
.swe-stat .swe-stat-n{font-family:var(--num);font-weight:500;font-size:clamp(2.4rem,3.6vw,3.5rem);line-height:1;letter-spacing:-.01em;color:var(--swe-accent-2,#FFD84D);font-variant-numeric:lining-nums;white-space:nowrap}
.swe-stat .swe-stat-n.is-range{font-size:clamp(1.7rem,2.3vw,2.25rem);line-height:1.15;white-space:normal}
.swe-stat .swe-stat-l{font-size:.96rem;line-height:1.45;color:rgba(251,247,242,.82)}
.swe-stat .swe-stat-src{margin-top:auto!important;padding-top:6px;font-size:.78rem;line-height:1.4}
.swe-stat .swe-stat-src a{color:rgba(251,247,242,.7);text-decoration:underline;text-decoration-color:rgba(251,247,242,.3);text-underline-offset:3px}
.swe-stat .swe-stat-src a:hover{color:#fbf7f2;text-decoration-color:#fbf7f2}
.swe-stat .swe-stat-src a::after{content:"\00a0\2197"}

/* 4. Tools: heading row, then one card per tool, each with its own photo */
.swe-tools{background:var(--surface)}
.swe-sec-head{display:flex!important;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 48px;margin-bottom:clamp(36px,4.5vw,60px)!important}
.swe-sec-head>*{margin:0!important}
.swe-sec-title{max-width:720px}
.swe-sec-title>*{margin:0!important}
.swe-sec-title .swe-kicker{margin-bottom:18px!important}
.swe-sec-title .swe-lead{margin-top:18px!important;font-size:1.05rem;line-height:1.6;color:#4a3d38}
.swe-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,40px)}
.swe-cards>*{margin:0!important}
.swe-card3{position:relative;display:flex!important;flex-direction:column;gap:12px}
.swe-card3>*{margin:0!important}
.swe-card3 .swe-card-img{aspect-ratio:4/3;overflow:hidden;border-radius:4px;margin-bottom:8px!important}
.swe-card3 .swe-card-img img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.swe-card3:hover .swe-card-img img{transform:scale(1.035)}
.swe-card3 h3{font-size:1.5rem;font-weight:500;line-height:1.15}
.swe-card3 h3 a{color:var(--ink);text-decoration:none}
.swe-card3 h3 a::after{content:"";position:absolute;inset:0}
.swe-card3:hover h3 a{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.swe-card3 p{font-size:.97rem;line-height:1.55;color:var(--grey)}
.swe-card3 .swe-tool-meta{font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ox)}

/* 5. Guides */
.swe-guides-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto auto;column-gap:clamp(24px,3vw,48px);row-gap:clamp(32px,4vw,48px)}
.swe-guides-grid>*{margin:0!important}
.swe-guide{position:relative;display:flex!important;flex-direction:column;gap:12px}
.swe-guide>*{margin:0!important}
.swe-guide.is-feature{display:contents!important}
.swe-guide.is-feature .swe-guide-img{grid-column:1/span 7;grid-row:1/span 2;aspect-ratio:auto;min-height:420px;position:relative}
.swe-guide.is-feature .swe-guide-txt{grid-column:1/span 7;grid-row:3;display:flex!important;flex-direction:column;gap:12px;margin-top:calc(12px - clamp(32px,4vw,48px))!important;position:relative}
.swe-guide.is-feature .swe-guide-txt>*{margin:0!important}
.swe-guide:not(.is-feature){grid-column:8/-1}
.swe-guide .swe-guide-img{overflow:hidden;aspect-ratio:3/2;border-radius:4px}
.swe-guide .swe-guide-img img{transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.swe-guide:hover .swe-guide-img img{transform:scale(1.035)}
.swe-guide .swe-guide-img img.wp-image-173{object-position:50% 78%}
.swe-guide .swe-guide-tag{font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ox);margin-top:6px!important}
.swe-guide h3{font-size:1.45rem;font-weight:500;line-height:1.18}
.swe-guide.is-feature h3{font-size:clamp(1.7rem,2.6vw,2.3rem);line-height:1.1}
.swe-guide h3 a{color:var(--ink);text-decoration:none}
.swe-guide h3 a::after{content:"";position:absolute;inset:0}
.swe-guide.is-feature h3 a::after{content:none}
.swe-guide:hover h3 a{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.swe-guide p{font-size:.97rem;line-height:1.5;color:var(--grey)}
.swe-guide.is-feature p{font-size:1.05rem;max-width:560px}
.swe-guide.is-feature p.swe-guide-tag{font-size:.72rem}

/* 6. Newsletter: photo and text in two equal halves of one panel, same height */
.swe-news{background:var(--surface)}
/* Gap between the newsletter band and the footer (Tomek, 28 Oct). On .swe-news, because the site-wide rule zeroes padding on the last child of post-content. */
.swe-home>.swe-news{margin-bottom:var(--swe-space,clamp(56px,7vw,104px))!important}
.swe-news-panel{display:grid!important;grid-template-columns:1fr 1fr;background:var(--cream);border-radius:4px;overflow:hidden;border-top:3px solid var(--ox)}
.swe-news-panel>*{margin:0!important}
.swe-news-img{position:relative;min-height:440px}
.swe-news-img img{position:absolute;inset:0}
.swe-news-copy{padding:clamp(32px,4.5vw,64px);display:flex!important;flex-direction:column;justify-content:center}
.swe-news-copy>*{margin:0!important}
.swe-news-copy .swe-kicker{margin-bottom:18px!important}
.swe-news-copy h2{margin-bottom:18px!important}
.swe-news-lede{font-size:1.05rem;line-height:1.6;color:var(--grey);max-width:32em;margin-bottom:28px!important}
.swe-home .swe-news .wp-block-jetpack-subscriptions{margin:0}
.swe-home .swe-news .wp-block-jetpack-subscriptions__form-elements,.swe-home .swe-news .wp-block-jetpack-subscriptions form{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}
.swe-home .swe-news .wp-block-jetpack-subscriptions p{margin:0!important}
.swe-home .swe-news .wp-block-jetpack-subscriptions__form-elements>p:first-child,.swe-home .swe-news form>p:first-child{flex:1 1 220px}
.swe-home .swe-news input[type=email]{width:100%;min-height:52px!important;border:1px solid var(--rule)!important;border-bottom:1px solid var(--ink)!important;border-radius:4px!important;background:#fff!important;color:var(--ink)!important;padding:0 16px!important;font-size:1rem!important;margin:0!important;box-shadow:none!important}
.swe-home .swe-news input[type=email]::placeholder{color:#9a8b84}
.swe-home .swe-news input[type=email]:focus{outline:2px solid var(--ox);outline-offset:1px}
.swe-home .swe-news button[type=submit],.swe-home .swe-news button[style]{min-height:52px!important;border-radius:4px!important;background:var(--ox)!important;color:var(--cream)!important;border:0!important;padding:0 24px!important;font-size:.95rem!important;font-weight:600!important;margin:0!important;white-space:nowrap}
.swe-home .swe-news button[type=submit]:hover{background:#3b0f0c!important}
.swe-home .swe-news .wp-block-jetpack-subscriptions__subscount{color:var(--grey);font-size:.85rem;margin-top:12px}
.swe-news-note{margin-top:18px!important;font-size:.9rem;color:var(--grey)}
.swe-news-note a{color:var(--ox);text-decoration:underline;text-underline-offset:4px}

/* Tablet */
@media (max-width:1100px){
.swe-nums-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.swe-stat:nth-child(n){padding:28px 24px 30px;border-right:0}
.swe-stat:nth-child(2n+1){padding-left:0;border-right:1px solid rgba(251,247,242,.18)}
.swe-stat:nth-child(2n){padding-right:0}
.swe-stat .swe-stat-n{font-size:clamp(2.4rem,6vw,3.4rem)}
.swe-stat .swe-stat-n.is-range{font-size:clamp(1.7rem,4vw,2.3rem)}
.swe-nums-head h2,.swe-nums-head .swe-nums-intro{grid-column:1/-1}
.swe-nums-head .swe-nums-intro{margin-top:18px!important;max-width:620px}
}
/* Phone and small tablet */
@media (max-width:900px){
.swe-intro-img,.swe-intro-copy{grid-column:1/-1}
.swe-intro-img{min-height:0;aspect-ratio:4/3;margin-bottom:40px!important}
.swe-cards{grid-template-columns:1fr;gap:40px}
.swe-guide.is-feature{display:flex!important}
.swe-guide.is-feature,.swe-guide:not(.is-feature){grid-column:1/-1;grid-row:auto}
.swe-guide.is-feature .swe-guide-img{grid-column:auto;grid-row:auto;aspect-ratio:4/3;min-height:0;flex:none}
.swe-guide.is-feature .swe-guide-txt{grid-column:auto;grid-row:auto;margin-top:0!important}
.swe-news-panel{grid-template-columns:1fr}
.swe-news-img{min-height:0;aspect-ratio:16/10}
/* Carousel on small screens: photo on top, the text card below it on cream (as on Queer Bond) */
.swe-hx{background:var(--cream)}
.swe-hx-slide{--hx-h:0px;min-height:0}
.swe-hx-slide>.swe-hx-img{position:relative!important;inset:auto;height:clamp(260px,52vw,420px)}
.swe-hx-copy,.swe-hx-slide.pos-br .swe-hx-copy,.swe-hx-slide.pos-tl .swe-hx-copy,.swe-hx-slide.pos-tr .swe-hx-copy{min-height:0;padding:0 var(--gut) 8px;display:block!important}
.swe-hx-card{width:auto;padding:28px 0 0;box-shadow:none;background:none;border-radius:0;gap:14px}
.swe-hx-card h1,.swe-hx-card h2{font-size:clamp(1.6rem,6vw,2rem)!important}
.swe-hx-card .swe-hx-body{font-size:1rem}
.swe-hx-ui{inset:auto 0 auto 0;top:clamp(260px,52vw,420px);transform:translateY(-100%);display:flex;justify-content:flex-end;gap:10px;padding:0 var(--gut) 14px}
.swe-hx-arrow,.swe-hx-pause{position:static;transform:none;width:38px;height:38px}
.swe-hx-arrow svg{width:16px;height:16px}
}
@media (max-width:600px){
.swe-nums-grid{grid-template-columns:1fr}
.swe-nums-grid .swe-stat:nth-child(n){padding:24px 0!important;border-right:0!important}
}
@media (prefers-reduced-motion:reduce){
.swe-hx-slide{transition:none}
.swe-guide .swe-guide-img img,.swe-card3 .swe-card-img img{transition:none;transform:none!important}
}
