/*
Theme Name: SSSD Organic
Theme URI: https://vibrantsouls.sssandiego.org
Author: Spiritist Society of San Diego
Description: A warm, organic block theme for the Spiritist Society of San Diego — parchment, forest green and terracotta, soft serif headings, wave dividers and leaf-shaped photo frames.
Version: 1.0.11
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sssd-organic
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');


/* ---------- Base ---------- */
h1, h2, h3, h4, .sssd-quote { font-variation-settings: "SOFT" 100; }
h1 { font-variation-settings: "SOFT" 100, "WONK" 1; }
h1 em, h2 em { color: #9C4E2B; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.sssd-main { margin-top: 0 !important; }

/* Hide the page title on designed pages that start with a full-width section */
body:has(.sssd-main .entry-content > .sssd-section:first-child) .sssd-page-title,
body:has(.sssd-main .wp-block-post-content > .sssd-section:first-child) .sssd-page-title { display: none; }

/* ---------- Sections ---------- */
.sssd-section { position: relative; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.sssd-section.sssd-hero { padding-top: clamp(32px, 4vw, 56px); }
.entry-content > .sssd-section, .wp-block-post-content > .sssd-section { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.sssd-bg-paper { background: #F5EFE4; }
.sssd-bg-paper2 { background: #FBF8F2; }
.sssd-bg-sage { background: #DCE3D0; }
.sssd-bg-forest { background: #33452F; color: #E8E2D2; overflow: hidden; }
.sssd-bg-forest h1, .sssd-bg-forest h2 { color: #F3E3BF; }
.sssd-bg-forest h3 { color: #F3E3BF; }
.sssd-bg-forest a:not(.wp-block-button__link) { color: #F3E3BF; }
.sssd-bg-forest strong { color: #F3E3BF; }
.sssd-bg-forest::before { content: ""; position: absolute; right: -140px; top: -100px; width: 440px; height: 440px; background: #3E5338; border-radius: 58% 42% 51% 49% / 46% 57% 43% 54%; pointer-events: none; }
.sssd-bg-forest > * { position: relative; z-index: 1; }

/* Wave divider at the bottom of a section, coloured like the next section */
.sssd-wave { padding-bottom: calc(clamp(56px, 7vw, 96px) + 48px); }
.sssd-wave::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; background: var(--sssd-next, #FBF8F2);
  -webkit-mask: url(assets/images/wave.svg) center bottom / 100% 100% no-repeat; mask: url(assets/images/wave.svg) center bottom / 100% 100% no-repeat; pointer-events: none; z-index: 2; }
.next-paper { --sssd-next: #F5EFE4; } .next-paper2 { --sssd-next: #FBF8F2; } .next-sage { --sssd-next: #DCE3D0; }
.next-forest { --sssd-next: #33452F; } .next-deep { --sssd-next: #263222; }

.sssd-center { text-align: center; }
.sssd-center .wp-block-buttons { justify-content: center; }
.sssd-intro { max-width: 720px; margin-left: auto !important; margin-right: auto !important; margin-bottom: 40px; }

/* ---------- Text styles ---------- */
.sssd-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #5E7A52; margin-bottom: .4rem !important; }
.sssd-bg-forest .sssd-eyebrow, .sssd-bg-forest .sssd-meta { color: #C9D4B8; }
.sssd-lead { font-size: 19px; color: #4A473F; max-width: 600px; }
.sssd-center .sssd-lead { margin-left: auto; margin-right: auto; }
.sssd-bg-forest .sssd-lead, .sssd-bg-forest p { color: #E8E2D2; }
.sssd-muted, .sssd-meta { color: #5E5A4F; font-size: 15px; }
.sssd-quote { font-style: italic; font-size: clamp(36px, 4.4vw, 54px) !important; line-height: 1.15; font-variation-settings: "SOFT" 100, "WONK" 1; }
.sssd-subquote { font-style: italic; font-weight: 400 !important; font-size: clamp(24px, 2.4vw, 30px) !important; margin-top: 2rem !important; }
.sssd-tagline { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: clamp(24px, 2.6vw, 30px); color: #9C4E2B; margin-top: .2rem !important; }
.sssd-time { font-size: 20px; font-weight: 700; color: #9C4E2B; margin-top: .3rem !important; }
.bg-sage .sssd-time { color: #33452F; } .bg-ochre .sssd-time { color: #6E3419; }
.sssd-more a, .sssd-more-fake { font-weight: 700; text-decoration: none; }
.sssd-more-fake { color: #9C4E2B; }
.sssd-head { margin-bottom: 36px; align-items: flex-end; }
.sssd-head h2 { margin: 0; }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #33452F; border: 2px solid #33452F; padding: 12px 26px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #33452F; color: #F5EFE4; }
.sssd-btn-clay > .wp-block-button__link { background: #9C4E2B; color: #fff; }
.sssd-btn-clay > .wp-block-button__link:hover { background: #6E3419; }
.sssd-btn-light > .wp-block-button__link { background: #F3E3BF; color: #33452F; }
.sssd-btn-light > .wp-block-button__link:hover { background: #fff; color: #33452F; }
.sssd-bg-forest .is-style-outline > .wp-block-button__link { color: #F5EFE4; border-color: #C9D4B8; }
.sssd-after-grid { margin-top: 32px !important; }

/* ---------- Photos with organic frames ---------- */
.sssd-photo { position: relative; margin: 0; }
.sssd-photo img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 47% 53% 44% 56% / 55% 45% 55% 45%; }
.sssd-photo::before { content: ""; position: absolute; z-index: 0; inset: -5% -4% 4% 8%; background: #DCE3D0; border-radius: 58% 42% 51% 49% / 46% 57% 43% 54%; }
.sssd-photo::after { content: ""; position: absolute; z-index: 0; left: -4%; bottom: -6%; width: 34%; height: 34%; background: #F3E3BF; border-radius: 41% 59% 63% 37% / 52% 38% 62% 48%; }
.sssd-photo.shape-2 img { border-radius: 52% 48% 41% 59% / 57% 43% 57% 43%; }
.sssd-photo.shape-3 img { border-radius: 44% 56% 58% 42% / 48% 52% 48% 52%; aspect-ratio: 3 / 4; }
.sssd-bg-forest .sssd-photo::before { background: #5E7A52; }
.sssd-photo-pair { position: relative; padding-bottom: 12%; }
.sssd-photo-pair .sssd-photo-small { position: absolute; right: 0; bottom: 0; width: 42%; z-index: 3; }
.sssd-photo-pair .sssd-photo-small::before, .sssd-photo-pair .sssd-photo-small::after { display: none; }
.sssd-photo-pair .sssd-photo-small img { border: 6px solid #F5EFE4; }
.sssd-photo-pair > .sssd-photo:first-child { width: 78%; }

.sssd-logo-blob, .sssd-leaf-blob { position: relative; margin: 0 auto; max-width: 420px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.sssd-logo-blob::before, .sssd-leaf-blob::before { content: ""; position: absolute; inset: 0; background: #E4EBC9; border-radius: 58% 42% 51% 49% / 46% 57% 43% 54%; }
.sssd-leaf-blob::before { background: #F5EFE4; border-radius: 47% 53% 44% 56% / 55% 45% 55% 45%; }
.sssd-logo-blob img, .sssd-leaf-blob img { position: relative; width: 74%; }

/* ---------- Cards ---------- */
.sssd-cards { gap: 28px; }
.sssd-card { padding: 36px 32px; border-radius: 32px 64px 32px 64px; height: 100%; box-sizing: border-box; }
.sssd-card.alt { border-radius: 64px 32px 64px 32px; }
.sssd-card-lg { padding: 40px; border-radius: 40px 80px 40px 80px; }
.sssd-card > * + * { margin-top: .6rem; }
.sssd-card h2 { font-size: clamp(24px, 2.2vw, 28px); font-weight: 600; }
.bg-paper { background: #F5EFE4; } .bg-paper2 { background: #FBF8F2; } .bg-sage { background: #DCE3D0; } .bg-ochre { background: #F3E3BF; }
.has-icon::before { content: ""; display: block; width: 44px; height: 44px; margin-bottom: 14px; background: center / contain no-repeat; }
.icon-sun::before { background-image: url(assets/icons/sun-clay.svg); }
.icon-heart::before { background-image: url(assets/icons/heart-forest.svg); }
.icon-book::before { background-image: url(assets/icons/book-brown.svg); }

/* Ways in */
.sssd-ways { gap: 20px; margin-top: 36px !important; }
.sssd-way { position: relative; text-align: center; padding: 20px 12px; border-radius: 32px; transition: background .2s; }
.sssd-way:hover { background: #FBF8F2; }
.sssd-way::before { content: ""; display: block; width: 96px; height: 96px; margin: 0 auto 14px; background: #DCE3D0 center / 42px no-repeat; border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%; }
.sssd-way.w-ochre::before { background-color: #F3E3BF; border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%; }
.way-people::before { background-image: url(assets/icons/people-forest.svg); }
.way-hands::before { background-image: url(assets/icons/hands-brown.svg); }
.way-book::before { background-image: url(assets/icons/book-forest.svg); }
.way-heart::before { background-image: url(assets/icons/heart-brown.svg); }
.way-sprout::before { background-image: url(assets/icons/sprout-forest.svg); }
.sssd-way h3 { margin: 0; font-size: 22px; }
.sssd-way h3 a { color: #33452F; text-decoration: none; }
.sssd-way h3 a::after, .sssd-age h3 a::after { content: ""; position: absolute; inset: 0; }
.sssd-way p { margin-top: .2rem; font-size: 15px; color: #5E5A4F; }

/* Kids age cards */
.sssd-age { position: relative; transition: transform .2s; }
.sssd-age:hover { transform: translateY(-4px); }
.sssd-age::before { content: ""; display: block; width: 80px; height: 80px; margin-bottom: 14px; background: #DCE3D0 center / 38px no-repeat; border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%; }
.sssd-age.alt::before { background-color: #F3E3BF; }
.sssd-age:nth-child(3)::before { background-color: #E7D2C4; }
.way-seedling::before { background-image: url(assets/icons/seedling-forest.svg); }
.way-sprout.sssd-age::before { background-image: url(assets/icons/sprout-brown.svg); }
.way-tree::before { background-image: url(assets/icons/tree-clay.svg); }
.sssd-ages { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5E7A52; }
.sssd-age h3 { font-size: 30px; margin-top: .2rem !important; }
.sssd-age h3 a { color: #33452F; text-decoration: none; }

/* Pills & chips */
.sssd-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-block; padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.pill-sage { background: #DCE3D0; color: #263222; } .pill-ochre { background: #F3E3BF; color: #4A3F2C; } .pill-clay { background: #E7D2C4; color: #5A2C17; }
.sssd-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.leaf-chip { display: inline-flex; align-items: center; gap: 10px; background: #3E5338; color: #F5EFE4; padding: 10px 20px 10px 12px; border-radius: 999px; font-weight: 700; }
.leaf-chip::before { content: ""; width: 22px; height: 22px; border-radius: 0 60% 0 60%; background: #A8C048; }
.leaf-2::before { background: #CAD94B; } .leaf-3::before { background: #B2CF3B; }

/* Featured message */
.sssd-details { margin: 28px auto 0 !important; max-width: 680px; text-align: left; background: #3E5338; border-radius: 28px; padding: 18px 26px; }
.sssd-details summary { cursor: pointer; font-weight: 700; color: #F3E3BF; text-align: center; list-style-position: inside; }
.sssd-details[open] summary { margin-bottom: 1rem; }
.sssd-details p { color: #E8E2D2; }
.sssd-details img { display: none; }

/* Gallery */
.sssd-gallery { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 16px; }
.sssd-gallery > * { margin: 0 !important; }
.sssd-gallery figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 40px; }
.sssd-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.sssd-gallery figure:first-child img { border-radius: 40px 120px 40px 40px; }
.sssd-gallery figure:nth-child(3) img { border-radius: 40px 40px 100px 40px; }
.sssd-gallery figure:nth-child(4) img { border-radius: 40px 40px 40px 100px; }

/* Visit */
.sssd-address { padding: 24px 28px; background: #FBF8F2; border-radius: 28px 56px 28px 56px; font-size: 18px; line-height: 1.5; }
.sssd-address strong { font-family: var(--wp--preset--font-family--display); font-size: 22px; color: #33452F; font-weight: 600; }
.sssd-map { border-radius: 52% 48% 45% 55% / 40% 50% 50% 60%; overflow: hidden; aspect-ratio: 1 / 0.85; background: #DCE3D0; }
.sssd-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Links list */
.sssd-links { list-style: none; padding: 0; margin: 0; }
.sssd-links li { padding: 14px 0; border-bottom: 1px dashed #C9C1AE; }
.sssd-links li:last-child { border-bottom: 0; }
.sssd-links a { font-weight: 700; }
.sssd-links span { display: block; font-size: 15px; color: #5E5A4F; }

/* Trinities */
.sssd-trinities { gap: 22px; }
.sssd-trinity { background: #FBF8F2; padding: 28px; border-radius: 28px 56px 28px 56px; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.sssd-trinity:nth-child(even) { border-radius: 56px 28px 56px 28px; }
.sssd-trinity::before { content: ""; display: block; height: 16px; width: 60px; margin-bottom: 12px;
  background: radial-gradient(circle at 8px 8px, #A8C048 7px, transparent 7.5px), radial-gradient(circle at 30px 8px, #CAD94B 7px, transparent 7.5px), radial-gradient(circle at 52px 8px, #B2CF3B 7px, transparent 7.5px); }
.sssd-trinity > * { margin: 0 !important; }
.sssd-trinity > * + * { margin-top: .5rem !important; }
.sssd-trinity h3 { font-size: 22px; line-height: 1.25; }
.sssd-tri-name { font-weight: 700; font-size: 15px; color: #9C4E2B; }
.sssd-trinity p { font-size: 16px; color: #4A473F; }
.sssd-trinity .sssd-tri-source { margin-top: auto !important; padding-top: 10px; font-size: 14px; font-style: italic; color: #5E5A4F; }

/* Kids hero */
.sssd-kids-hero h1 { font-size: clamp(52px, 7vw, 76px); }

/* WPForms inside our cards */
.sssd-form .wpforms-container { margin: 0 !important; }
.sssd-form .wpforms-field-label { font-weight: 700 !important; color: #263222 !important; }
.sssd-form input[type=text], .sssd-form input[type=email], .sssd-form textarea { border-radius: 14px !important; border: 1px solid #8A9A7B !important; padding: 12px 16px !important; background: #fff !important; font: inherit !important; max-width: 100% !important; }
.sssd-form button[type=submit], .sssd-form .wpforms-submit { background: #9C4E2B !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 14px 32px !important; font-weight: 700 !important; height: auto !important; }

/* ---------- Header ---------- */
.sssd-topbar { background: #33452F; color: #F5EFE4; font-size: 14px; }
.sssd-topbar p { margin: 0; }
.sssd-topbar a { color: #F3E3BF; }
.sssd-topbar .sssd-flag { display: inline-flex; align-items: center; gap: 10px; }
.sssd-topbar .sssd-flag::before { content: ""; width: 28px; height: 15px; flex: none; border-radius: 2px; background: url(assets/images/flag-us.svg) center / cover; }
.sssd-header { background: #F5EFE4; }
.sssd-brand { gap: 12px; }
.sssd-brand figure { margin: 0; }
.sssd-brand img { width: 52px; height: auto; display: block; }
.sssd-brand p { margin: 0; line-height: 1.1; }
.sssd-brand a { text-decoration: none; color: #33452F; }
.sssd-brand .sssd-brand-name { font-family: var(--wp--preset--font-family--display); font-size: 22px; font-weight: 600; font-variation-settings: "SOFT" 100; }
.sssd-brand .sssd-brand-sub { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #5E5A4F; }
.sssd-nav { font-weight: 600; font-size: 16px; }
.sssd-nav .wp-block-navigation-item__content { color: #2B2A24; }
.sssd-nav .wp-block-navigation-item__content:hover { color: #9C4E2B; }
.sssd-nav .current-menu-item > .wp-block-navigation-item__content { color: #9C4E2B; box-shadow: inset 0 -2px 0 #9C4E2B; }
.sssd-nav .sssd-nav-cta > .wp-block-navigation-item__content { background: #9C4E2B; color: #fff !important; padding: 11px 22px; border-radius: 999px; }
.sssd-nav .sssd-nav-cta > .wp-block-navigation-item__content:hover { background: #6E3419; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 32px; }

/* ---------- Footer ---------- */
.sssd-footer { background: #263222; color: #E8E2D2; position: relative; font-size: 15px; }
.sssd-footer a { color: #E8E2D2; text-decoration: none; }
.sssd-footer a:hover { color: #F3E3BF; text-decoration: underline; }
.sssd-footer .sssd-foot-name { font-family: var(--wp--preset--font-family--display); font-size: 24px; color: #F3E3BF; margin: 0; }
.sssd-footer .sssd-foot-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 24px; list-style: none; padding: 0; margin: 0; }
.sssd-footer .sssd-foot-bottom { border-top: 1px solid #3E5338; font-size: 14px; }
.sssd-footer .sssd-foot-bottom p { margin: 0; }

/* ---------- Ordinary pages, posts and lesson plans ---------- */
.sssd-page-title { padding-top: clamp(40px, 6vw, 72px); }
.sssd-entry { padding-bottom: 80px; }
.sssd-post-card { background: #FBF8F2; border-radius: 28px 56px 28px 56px; padding: 24px; height: 100%; box-sizing: border-box; }
.sssd-post-card img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.sssd-post-card h2 { font-size: 22px; font-weight: 600; margin-top: .8rem; }
.sssd-post-card h2 a { color: #33452F; text-decoration: none; }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
  .sssd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .sssd-photo-pair { margin-bottom: 24px; }
  .sssd-head { align-items: flex-start; }
  .sssd-card, .sssd-card-lg { padding: 28px 24px; }
  .sssd-topbar .sssd-topbar-right { display: none; }
}


/* ---------- v1.0.1 refinements ---------- */
.sssd-section { overflow-x: clip; }
.sssd-ways { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
@media (max-width: 1280px) {
  .sssd-nav { font-size: 15px; }
  .sssd-nav .wp-block-navigation__container { gap: 18px !important; }
}
@media (max-width: 781px) {
  .sssd-ways { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.sssd-footer { --sssd-prev: #FBF8F2; padding-top: 104px !important; }
.sssd-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 48px; background: var(--sssd-prev); transform: scaleY(-1);
  -webkit-mask: url(assets/images/wave.svg) center bottom / 100% 100% no-repeat; mask: url(assets/images/wave.svg) center bottom / 100% 100% no-repeat; }
body:has(.sssd-section.sssd-bg-sage:last-child) .sssd-footer { --sssd-prev: #DCE3D0; }
body:has(.sssd-section.sssd-bg-paper:last-child) .sssd-footer { --sssd-prev: #F5EFE4; }
body:has(.sssd-section.sssd-bg-forest:last-child) .sssd-footer { --sssd-prev: #33452F; }
body:not(:has(.sssd-section)) .sssd-footer { --sssd-prev: #F5EFE4; }
.sssd-post-card .wp-block-post-featured-image:empty { display: none; }


/* ---------- v1.0.2 meetings page ---------- */
.sssd-checks { list-style: none; padding: 0; margin: 1rem 0; }
.sssd-checks li { position: relative; padding-left: 30px; margin: .55rem 0; }
.sssd-checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 0 60% 0 60%; background: #A8C048; }
.sssd-next { color: #33452F; }
.sssd-section[id] { scroll-margin-top: 24px; }

.sssd-cards { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important; }


/* ---------- v1.0.3 donations page ---------- */
.sssd-video { border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 9; background: #DCE3D0; }
.sssd-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.sssd-pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; justify-items: center; margin-top: 8px; }
.sssd-pay-one { display: flex; justify-content: center; margin-top: 8px; }
.sssd-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sssd-qr img { width: 190px; height: auto; border-radius: 18px; background: #fff; padding: 8px; }
.sssd-paypal { display: flex; justify-content: center; margin-top: 12px; }
.sssd-small { font-size: 15px; color: #4A473F; }


/* ---------- v1.0.4 wordmark in the logo's typeface (Open Sans Light) ---------- */
.sssd-brand .sssd-brand-text { text-align: center; }
.sssd-brand .sssd-brand-name { font-family: "Open Sans", system-ui, sans-serif; font-weight: 300; font-size: 21px; letter-spacing: .2em; text-transform: uppercase; font-variation-settings: normal; line-height: 1.15; }
.sssd-brand .sssd-brand-name a { color: #2B2A24; }
.sssd-brand .sssd-brand-sub { font-family: "Open Sans", system-ui, sans-serif; font-weight: 400; font-size: 12px; letter-spacing: .5em; color: #2B2A24; margin-top: 5px !important; margin-right: -.5em; }
@media (max-width: 600px) {
  .sssd-brand .sssd-brand-name { font-size: 15px; letter-spacing: .14em; }
  .sssd-brand .sssd-brand-sub { font-size: 10px; letter-spacing: .38em; }
  .sssd-brand img { width: 42px; }
}

/* v1.0.5 keep wordmark + menu on one line */
.sssd-brand .sssd-brand-name { font-size: 18px; letter-spacing: .17em; }
.sssd-brand .sssd-brand-sub { font-size: 11px; letter-spacing: .45em; }
.sssd-headbar { flex-wrap: nowrap !important; gap: 24px; }
.sssd-brand { flex: none; }
.sssd-nav { font-size: 15px; }
.sssd-nav .wp-block-navigation__container { gap: 20px !important; }
@media (max-width: 1180px) { .sssd-headbar { flex-wrap: wrap !important; } }

/* v1.0.6 About-us way-in icon + charity page */
.way-about::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%236E3419' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12c8 3 16 10 24 22'/%3E%3Cpath d='M14 16c-6 0-9-4-9-10 6 0 9 4 9 10z'/%3E%3Cpath d='M22 23c0-7 3-12 10-13 0 7-3 12-10 13z'/%3E%3Cpath d='M18 20c-2 6-7 9-12 9 1-5 6-9 12-9z'/%3E%3C/svg%3E"); }
.sssd-steps .sssd-card { background: #3E5338; }
.sssd-steps .sssd-card h3 { color: #F3E3BF; font-weight: 400; font-size: 30px; }
.sssd-step { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #C9D4B8 !important; }
.sssd-chips-dates { display: flex; flex-wrap: wrap; gap: 10px; }
.date-chip { display: inline-block; padding: 10px 20px; border-radius: 999px; font-weight: 700; }
.date-forest { background: #33452F; color: #F5EFE4; } .date-clay { background: #E7D2C4; color: #5A2C17; }
.sssd-flyer img { width: 100%; max-width: 440px; height: auto; border-radius: 32px 72px 32px 72px; display: block; margin: 0 auto; }
.bg-clay { background: #E7D2C4; }

/* v1.0.7 more space between the Stripe membership buttons */
.sssd-pay-grid { grid-template-columns: repeat(2, max-content) !important; justify-content: center; gap: 22px 32px !important; padding: 8px 0; }
@media (max-width: 720px) { .sssd-pay-grid { grid-template-columns: max-content !important; gap: 16px !important; } }

/* v1.0.8 About page photo collage */
.sssd-our-home { padding-top: 0 !important; }
.sssd-home-note { max-width: 420px; margin: 0 !important; }
.sssd-gallery-about figure:nth-child(2) { grid-column: span 2; }
.sssd-gallery-about figure:nth-child(2) img { border-radius: 40px 40px 100px 40px; }
.sssd-gallery-about figure:nth-child(3) img { border-radius: 40px; }
.sssd-gallery-about figure:nth-child(4) img { border-radius: 40px 40px 40px 100px; }
@media (min-width: 782px) { .sssd-gallery-about { grid-auto-rows: 220px; } }

/* v1.0.9 lighter background for the reflection message */
.sssd-details { background: #4E6648; }

/* v1.0.10 toggle label follows its state */
.sssd-details summary { font-size: 0; }
.sssd-details summary::after { content: "Read the full message"; font-size: 17px; }
.sssd-details[open] summary::after { content: "Hide the full message"; }

/* v1.0.11 homepage photo carousel */
.sssd-carousel { position: relative; }
.sssd-carousel::before { content: ""; position: absolute; z-index: 0; inset: -5% -4% 12% 8%; background: #DCE3D0; border-radius: 58% 42% 51% 49% / 46% 57% 43% 54%; }
.sssd-carousel::after { content: ""; position: absolute; z-index: 0; left: -4%; bottom: 4%; width: 34%; height: 34%; background: #F3E3BF; border-radius: 41% 59% 63% 37% / 52% 38% 62% 48%; }
.sssd-slides { position: relative; z-index: 1; aspect-ratio: 4 / 3.4; border-radius: 47% 53% 44% 56% / 55% 45% 55% 45%; overflow: hidden; background: #DCE3D0; }
.sssd-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.sssd-slide.is-active { opacity: 1; }
.sssd-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sssd-carousel-controls { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.sssd-car-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #33452F; background: #F5EFE4; color: #33452F; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.sssd-car-btn:hover, .sssd-car-btn:focus-visible { background: #33452F; color: #F5EFE4; }
.sssd-dots { display: flex; gap: 4px; }
.sssd-dot { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.sssd-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #A8B596; transition: all .2s; }
.sssd-dot.is-active::before { width: 22px; border-radius: 6px; background: #9C4E2B; }
@media (prefers-reduced-motion: reduce) { .sssd-slide { transition: none; } }
