:root{color-scheme:light;--bg-text:#222;--bg-muted:#666;--bg-line:#ddd}html{scroll-behavior:smooth}body{margin:0}.wp-site-blocks{padding:0}.site-main{margin:0 auto;width:calc(100% - 40px)}.feed-main,.archive-main{padding:0 0 56px}.feed-card{display:flex;flex-direction:column;gap:0;padding:22px 0;border-bottom:1px solid var(--bg-line)}.feed-card__title{order:0}.feed-card__title a{text-decoration:none}.feed-card__title a:hover{text-decoration:underline;text-underline-offset:3px}.feed-card__excerpt{order:1;color:#454545}.feed-card__excerpt p{margin:0}.feed-card__media{order:2;margin-top:14px}.feed-media>*{margin-top:0;margin-bottom:12px}.feed-media img,.feed-media video{display:block;max-width:100%;height:auto;max-height:520px;object-fit:contain;object-position:left top}.feed-media iframe{max-width:100%}.feed-media .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9}.feed-media .wp-block-embed__wrapper iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.feed-media .wp-block-audio audio{width:100%}.feed-media .wp-block-gallery{margin:0 0 12px}.feed-card__date,.feed-card__categories{order:3;color:var(--bg-muted);font-size:13px;margin-top:8px}.feed-card__categories{margin-top:3px}.feed-card__categories a,.single-categories a{color:inherit;text-decoration:underline;text-underline-offset:2px}:where(.archive-main>.wp-block-query-title){font-size:32px;line-height:1.2;letter-spacing:-.025em}:where(.single-main,.page-main){padding:42px 0 56px}.single-title,.page-main>.wp-block-post-title{margin:0 0 8px}:where(.single-date),.single-categories{font-size:13px;color:var(--bg-muted)}.single-categories{margin-bottom:20px}:where(.wp-block-post-content){margin-top:24px}.wp-block-post-content a:not(.wp-block-button__link){text-decoration:underline;text-underline-offset:2px}.wp-block-post-content img{max-width:100%;height:auto}.wp-block-post-content iframe{max-width:100%}:where(.site-footer){max-width:none;width:auto;margin:38px auto 0;position:relative;padding:18px 0 34px;color:var(--bg-muted);font-size:14px}:where(.site-footer .wp-block-site-title){margin:0;color:var(--bg-text)}:where(.site-footer .wp-block-site-title a){color:inherit}.wp-block-query-pagination{padding:20px 0}:where(.wp-block-search__input){font:inherit;padding:8px 10px;border:1px solid #aaa}:where(.wp-block-search__button){font:inherit;padding:8px 12px;border:1px solid #777;background:#fff}.gallery-carousel:not(.bg-carousel-root){position:relative;padding-bottom:32px}.gallery-carousel>.wp-block-gallery{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;touch-action:pan-x}.gallery-carousel>.wp-block-gallery::-webkit-scrollbar{display:none}.gallery-carousel>.wp-block-gallery .wp-block-image,.gallery-carousel>.wp-block-gallery .wp-block-video{flex:0 0 auto!important;max-width:100%!important;min-width:0;scroll-snap-align:start}.gallery-carousel>.wp-block-gallery img{width:100%;height:auto;object-fit:contain;object-position:center;background:#f5f5f5}:where(.gallery-carousel>.wp-block-gallery img:not([style*="height"]),.gallery-carousel>.wp-block-gallery img[style*="height: auto"],.gallery-carousel>.wp-block-gallery img[style*="height:auto"]){max-height:520px}.gallery-controls{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:28px}.gallery-controls button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;background:transparent;color:#666;cursor:pointer;opacity:0;transition:opacity .15s ease}.gallery-carousel:hover .gallery-controls button,.gallery-carousel:focus-within .gallery-controls button{opacity:1}.gallery-controls .gallery-prev{justify-self:end}.gallery-controls .gallery-next{justify-self:start}.gallery-controls button:disabled{opacity:.25}.gallery-controls .gallery-prev::before,.gallery-controls .gallery-next::before{content:"";width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor}.gallery-controls .gallery-prev::before{transform:rotate(-135deg)}.gallery-controls .gallery-next::before{transform:rotate(45deg)}.gallery-dots{display:flex;align-items:center;gap:8px}.gallery-dots button{width:7px;height:7px;min-width:7px;border-radius:50%;background:#c5c5c5;opacity:1}.gallery-dots button[aria-current="true"]{background:#222}@media(hover:none){.gallery-controls button{opacity:1}}@media(max-width:540px){.site-main{width:calc(100% - 32px)}:where(.single-main,.page-main){padding-top:28px}.feed-card{padding:19px 0}.site-footer .wp-block-navigation__container{flex-wrap:wrap}}

.site-footer__powered{margin-top:12px}:where(.site-footer__powered){color:#888;font-size:12px;line-height:1.4}.site-footer__powered p{margin:0}.site-footer__powered a{color:inherit;text-decoration:underline;text-underline-offset:2px}.site-footer__powered a:hover{color:#555}

/* Low-saturation rainbow details for the feed and post content */
:root{--bg-rainbow:linear-gradient(90deg,#d87570 0%,#d99b58 20%,#b5b766 40%,#68a99a 60%,#728fbd 80%,#a27caf 100%)}
.feed-card{border-bottom:0;background:linear-gradient(90deg,#d87570,#d99b58,#b5b766,#68a99a,#728fbd,#a27caf) left bottom/48px 1px no-repeat,linear-gradient(var(--bg-line),var(--bg-line)) left bottom/100% 1px no-repeat}
.wp-block-post-content blockquote{position:relative}.wp-block-post-content blockquote:not(.wp-block-quote){margin:28px 0;padding:16px 20px 16px 23px;background:linear-gradient(110deg,#faf8fa,#fff 70%);color:#3f3b42}.wp-block-post-content blockquote::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:2px;background:linear-gradient(180deg,#d87570,#d99b58,#b5b766,#68a99a,#728fbd,#a27caf)}:where(.wp-block-post-content blockquote p){margin:0 0 10px}:where(.wp-block-post-content blockquote p:last-child){margin-bottom:0}.wp-block-post-content blockquote cite{color:inherit;color:color-mix(in srgb,currentColor 80%,transparent);font-size:.875em;font-style:inherit}
.wp-block-post-content pre:not(.wp-block-code){position:relative;overflow:auto;margin:22px 0;padding:22px 18px 18px;border:1px solid #ece9ee;border-radius:5px;background:#fbfafc;color:#393346;font:14px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;tab-size:2}.wp-block-post-content .wp-block-code{position:relative;overflow:auto;tab-size:2}.wp-block-post-content pre::before,.wp-block-post-content .wp-block-code::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#d87570,#d99b58,#b5b766,#68a99a,#728fbd,#a27caf);opacity:.8}.wp-block-post-content pre code,.wp-block-post-content .wp-block-code code{padding:0;background:transparent;color:inherit;font:inherit}.wp-block-post-content :not(pre)>code{padding:.12em .36em;border-radius:3px;background:#f2eff5;color:#675378;font:.9em ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.wp-block-post-content pre .token.keyword,.wp-block-post-content pre .hljs-keyword,.wp-block-post-content pre .keyword{color:#8a659d}.wp-block-post-content pre .token.string,.wp-block-post-content pre .hljs-string,.wp-block-post-content pre .string{color:#518b76}.wp-block-post-content pre .token.function,.wp-block-post-content pre .hljs-title,.wp-block-post-content pre .function{color:#557ea7}.wp-block-post-content pre .token.number,.wp-block-post-content pre .hljs-number,.wp-block-post-content pre .number{color:#b17a43}.wp-block-post-content pre .token.comment,.wp-block-post-content pre .hljs-comment,.wp-block-post-content pre .comment{color:#92909a;font-style:italic}
.wp-block-post-content hr:where(:not(.wp-block-separator)){height:1px;margin:34px 0;border:0;background:linear-gradient(90deg,#d87570,#d99b58,#b5b766,#68a99a,#728fbd,#a27caf) left center/52px 2px no-repeat,linear-gradient(#e4e1e5,#e4e1e5) left center/100% 1px no-repeat}
:where(.wp-block-post-content .wp-block-separator:not(.is-style-dots)){height:1px;margin:34px 0;border:0;background:#e4e1e5}

/* Consistent, modern core buttons in post content */
.wp-block-post-content button:not(.wp-block-button__link),.wp-block-post-content .wp-block-file__button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:0;border-radius:4px;background:#262626;color:#fff;text-decoration:none;font-weight:600;font-size:15px;line-height:1.35;box-shadow:none;transition:background-color .15s ease}
.wp-block-post-content button:not(.wp-block-button__link):hover,.wp-block-post-content .wp-block-file__button:hover{background:#494949;color:#fff;text-decoration:none;transform:none;box-shadow:none}
.wp-block-post-content .wp-block-button__link:focus-visible,.wp-block-post-content button:not(.wp-block-button__link):focus-visible,.wp-block-post-content .wp-block-file__button:focus-visible{outline:2px solid #625477;outline-offset:3px}

/* Feed semantics: whole post links except media, with external source metadata. */
.feed-card{position:relative}.feed-card__title a::after{content:"";position:absolute;inset:0;z-index:1}.feed-card__media{position:relative;z-index:2}.feed-card__categories{position:relative;z-index:3}.external-icon{display:inline-block;margin-left:5px;font-size:.82em;line-height:1;color:#666;vertical-align:baseline}.link-source{order:2;display:flex;align-items:center;color:var(--bg-muted);font-size:13px;line-height:1.4;margin-top:3px}.feed-card__date{order:4}.feed-card__categories{order:5;color:var(--bg-muted);font-size:13px;margin-top:3px}.feed-card__categories a{text-decoration:underline;text-underline-offset:2px}.feed-card__source-wrapper:empty,.feed-card__excerpt-wrapper:empty,.feed-card__categories-wrapper:empty{display:none}

.wp-block-post-content .wp-block-jetpack-contact-form{max-width:620px}.wp-block-post-content .wp-block-jetpack-field{margin:0 0 20px}.wp-block-post-content .wp-block-jetpack-field label{display:block;margin:0 0 7px;font-size:14px;font-weight:600}.wp-block-post-content .wp-block-jetpack-field input[type=email],.wp-block-post-content .wp-block-jetpack-field textarea{display:block;width:100%;padding:12px 13px;border:1px solid #d5d5d5;border-radius:4px;background:#fff;color:var(--bg-text);font-size:16px;line-height:1.5}.wp-block-post-content .wp-block-jetpack-field input[type=email]{height:48px}.wp-block-post-content .wp-block-jetpack-field textarea{min-height:180px}.wp-block-post-content .wp-block-jetpack-contact-form .wp-block-button__link{min-height:50px}

/* Match the feed prototype: YouTube previews and one horizontal gallery for each post. */
.feed-video-preview{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#202020}.feed-video-preview .video-preview{position:absolute;inset:0;display:block;overflow:hidden;color:#fff;text-decoration:none}.feed-video-preview .video-preview img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;transition:filter .18s ease}.feed-video-preview .video-preview::after{content:"";position:absolute;left:50%;top:50%;width:48px;height:34px;border-radius:9px;background:rgb(24 24 24 / 76%);transform:translate(-50%,-50%);transition:background-color .18s ease}.feed-video-preview .video-preview::before{content:"";position:absolute;z-index:1;left:50%;top:50%;margin-left:2px;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:10px solid #fff;transform:translate(-50%,-50%)}.feed-video-preview .video-preview:hover::after{background:#a44d78}.feed-video-preview .video-preview:hover img{filter:brightness(.88)}.gallery-carousel:not(.bg-carousel-root){position:relative;padding-bottom:32px}.gallery-track{display:flex;flex-wrap:nowrap;gap:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;touch-action:pan-x}.gallery-track::-webkit-scrollbar{display:none}.gallery-slide{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start}.gallery-slide>figure{margin:0}.gallery-slide img,.gallery-slide video,.gallery-slide iframe{display:block;width:100%;max-width:100%;height:auto;max-height:520px;object-fit:contain;object-position:center}.gallery-slide .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9}.gallery-slide .wp-block-embed__wrapper iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.gallery-carousel>.gallery-controls{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:28px}.gallery-controls button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;background:transparent;color:#666;cursor:pointer;opacity:0;transition:opacity .15s ease}.gallery-carousel:hover .gallery-controls button,.gallery-carousel:focus-within .gallery-controls button{opacity:1}.gallery-controls .gallery-prev{justify-self:end}.gallery-controls .gallery-next{justify-self:start}.gallery-controls button:disabled{opacity:.25}.gallery-controls .gallery-prev::before,.gallery-controls .gallery-next::before{content:"";width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor}.gallery-controls .gallery-prev::before{transform:rotate(-135deg)}.gallery-controls .gallery-next::before{transform:rotate(45deg)}.gallery-dots{display:flex;align-items:center;gap:8px}.gallery-dots button{width:7px;height:7px;min-width:7px;border-radius:50%;background:#c5c5c5;opacity:1}.gallery-dots button[aria-current="true"]{background:#222}@media(hover:none){.gallery-controls button{opacity:1}}



.bg-feed .wp-block-post-template > li:last-child .feed-card {
  background: none;
}

html body .bg-feed .wp-block-query-pagination a {
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}
:where(.wp-block-button.is-style-link .wp-block-button__link) { text-underline-offset: 3px; }
html body :is(.wp-block-button.is-style-link .wp-block-button__link, .bg-feed .wp-block-query-pagination a):focus-visible {
  outline: 2px solid #625477;
  outline-offset: 3px;
}

.bg-feed .wp-block-query-pagination-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: inherit;
}
.bg-feed .wp-block-query-pagination :is(.page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
}
.bg-feed .wp-block-query-pagination .current {
  font-weight: 700;
}
.bg-feed .wp-block-query-pagination .dots {
  min-width: 20px;
  padding: 0;
}
.bg-feed .wp-block-query-pagination.is-content-justification-space-between > :is(.wp-block-query-pagination-previous, .wp-block-query-pagination-next) {
  margin-inline: 0;
}

.bg-feed .feed-media img:not(.video-preview img) {
  width: 100%;
  height: auto;
  max-height: none;
}


/* Compact, always-visible gallery controls. */
.feed-card__date { order: 3; margin-top: 7px; }
.feed-card__media { order: 4; margin-top: 10px; }
.feed-card__media .feed-media > :last-child { margin-bottom: 0; }
.feed-card__categories, .single-categories { display: none; }
.gallery-carousel:not(.bg-carousel-root) { padding-bottom: 0; }
:where(.gallery-carousel > .wp-block-gallery),
.feed-media.gallery-carousel > .gallery-track { margin: 0; }
.gallery-carousel > .gallery-controls {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0;
}
.gallery-carousel .gallery-controls button,
.gallery-carousel .gallery-controls button:hover {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 24px;
  height: 28px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  box-shadow: none;
  cursor: pointer;
}
.gallery-carousel .gallery-controls button:focus-visible {
  outline: 2px solid #625477;
  outline-offset: 1px;
}
.gallery-carousel .gallery-controls .gallery-prev::before,
.gallery-carousel .gallery-controls .gallery-next::before,
:where(body:not(.wp-admin):not(.editor-styles-wrapper)) .bg-feed .wp-block-query-pagination-next::after {
  content: "";
  width: 9px;
  height: 14px;
  border: 0;
  background: var(--gallery-control-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath d='M2 1.5 7 7 2 12.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 14'%3E%3Cpath d='M2 1.5 7 7 2 12.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gallery-carousel .gallery-controls .gallery-prev::before { transform: rotate(180deg); }
.gallery-carousel .gallery-controls .gallery-next::before { transform: none; }
.gallery-carousel .gallery-prev { --gallery-control-color: #d87570; }
.gallery-carousel .gallery-next { --gallery-control-color: #a27caf; }
.gallery-carousel .gallery-dots button:nth-child(6n + 1) { --gallery-control-color: #d99b58; }
.gallery-carousel .gallery-dots button:nth-child(6n + 2) { --gallery-control-color: #b5b766; }
.gallery-carousel .gallery-dots button:nth-child(6n + 3) { --gallery-control-color: #68a99a; }
.gallery-carousel .gallery-dots button:nth-child(6n + 4) { --gallery-control-color: #728fbd; }
.gallery-carousel .gallery-dots button:nth-child(6n + 5) { --gallery-control-color: #a27caf; }
.gallery-carousel .gallery-dots button:nth-child(6n) { --gallery-control-color: #d87570; }
.gallery-carousel .gallery-controls .gallery-prev,
.gallery-carousel .gallery-controls .gallery-next { flex: 0 0 24px; }
.gallery-carousel .gallery-dots { min-width: 0; flex-wrap: wrap; justify-content: center; gap: 0; }
.gallery-carousel .gallery-dots button,
.gallery-carousel .gallery-dots button:hover,
.gallery-carousel .gallery-dots button[aria-current="true"],
.gallery-carousel .gallery-dots button[aria-current="true"]:hover {
  width: 18px;
  height: 28px;
  min-width: 0;
  background: transparent;
  opacity: 1;
}
.gallery-carousel .gallery-dots button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gallery-control-color);
  opacity: .65;
}
.gallery-carousel .gallery-dots button[aria-current="true"]::before {
  width: 8px;
  height: 8px;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track, .gallery-carousel > .wp-block-gallery { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .gallery-carousel .gallery-controls .gallery-prev::before,
  .gallery-carousel .gallery-controls .gallery-next::before,
  .gallery-carousel .gallery-dots button::before {
    background: CanvasText;
    opacity: 1;
    forced-color-adjust: none;
  }
  .gallery-carousel .gallery-dots button[aria-current="true"]::before {
    background: Canvas;
    outline: 1px solid CanvasText;
  }
}

.feed-card__excerpt a {
  position: relative;
  z-index: 2;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.single-main .link-source a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wp-block-bg-link-source:empty { display: none; }

.feed-card__title a { overflow-wrap: anywhere; }
.feed-card__title-end { display: inline-block; max-width: 100%; overflow-wrap: anywhere; vertical-align: baseline; }
.feed-card__title-suffix { white-space: nowrap; }

.archive-main > .wp-block-query-title { overflow-wrap: anywhere; }


/* Keep the existing heading scale with the 16px text default. */
:where(h1){font-size:2.125em}
:where(h2){font-size:1.59375em}
:where(h3){font-size:1.243125em}
:where(h4){font-size:1.0625em}
:where(h5){font-size:.881875em}
:where(h6){font-size:.711875em}

.single-title,.single-main > .wp-block-post-title,.page-main > .wp-block-post-title,.editor-post-title {
  --bg-post-title-size: 36px;
  --bg-post-title-line-height: 1.2;
  --bg-post-title-letter-spacing: -0.025em;
}
@media (max-width: 540px) {
  .single-title,.single-main > .wp-block-post-title,.page-main > .wp-block-post-title,.editor-post-title { --bg-post-title-size: 30px; }
}

.feed-card__excerpt { color: color-mix(in srgb, currentColor 84%, transparent); }
.feed-card__date, .feed-card__categories, :where(.single-date), .single-categories, .link-source { color: color-mix(in srgb, currentColor 69%, transparent); }
:where(.site-footer) { color: inherit; }
:where(.site-footer .wp-block-site-title) { color: inherit; }
:where(.site-footer .wp-block-navigation:not(ul)) { color: color-mix(in srgb, currentColor 69%, transparent); }
:where(.site-footer__powered) { color: color-mix(in srgb, currentColor 54%, transparent); }
.site-footer__powered a:hover { color: inherit; }
:where(.wp-block-post-content) :where(.wp-block-button__link,button,.wp-block-file__button,input,textarea) { font-family: inherit; }
:root { --bg-button-background: #fff; --bg-button-text: #222; --bg-button-accent: var(--bg-rainbow); --bg-button-decoration: none; --bg-button-shadow: none; }
.wp-block-button.is-style-link { --bg-button-background: transparent; --bg-button-text: currentColor; --bg-button-accent: none; --bg-button-decoration: underline #888; }
:root { --bg-button-padding-inline: 23px; --bg-button-border-color: #e1e1e1; --bg-button-border-width: 1px; --bg-button-border-style: solid; }
.wp-block-button.is-style-secondary,.wp-block-button.is-style-outline { --bg-button-border-color: #c9c9c9; }
.wp-block-button.is-style-secondary:hover,.wp-block-button.is-style-outline:hover { --bg-button-border-color: #aaa; }
.wp-block-button.is-style-link { --bg-button-padding-inline: 4px; --bg-button-border-width: 0px; --bg-button-border-style: none; }

.wp-block-button.is-style-link:hover,.wp-block-button.is-style-link:focus-within { --bg-button-decoration: underline transparent; --bg-button-accent: var(--bg-rainbow); }
:where(.wp-block-button.is-style-link .wp-block-button__link) { background-origin: content-box; background-clip: content-box; background-position: left calc(100% - 2px); background-size: 100% 1px; }

:where(.feed-card__title) { margin: 0 0 5px; font-size: 23px; line-height: 1.3; letter-spacing: -.02em; }
@media (max-width: 540px) { :where(.feed-card__title) { font-size: 21px; } }
@media (forced-colors: active) {
  .wp-block-button.is-style-link:hover, .wp-block-button.is-style-link:focus-within { --bg-button-decoration: underline LinkText; }
}

/* A block's solid background takes precedence over a global gradient. */
:is(.wp-block-quote,.wp-block-code,.wp-block-separator).has-background:is([style*="background-color:"],[class*="-background-color"]):not([style*="background:"]):not([style*="background-image:"]):not([class*="-gradient-background"]) { background-image: none; }

:where(.wp-block-template-part:has(> .site-footer)), .wp-site-blocks.is-root-container:has(> .site-footer:only-child) { padding-inline: 20px; }
@media (max-width: 540px) { :where(.wp-block-template-part:has(> .site-footer)), .wp-site-blocks.is-root-container:has(> .site-footer:only-child) { padding-inline: 16px; } }

 .site-footer::before { content:""; position:absolute; top:0; inset-inline:0; height:2px; box-sizing:border-box; padding-inline:inherit; background-image:var(--bg-rainbow); background-size:min(100%,var(--bg-footer-content-size,var(--wp--style--global--content-size,760px))) 2px; background-repeat:no-repeat; background-origin:content-box; background-clip:content-box; background-position:center top; pointer-events:none; }
.site-footer.is-content-justification-left::before { background-position:left top; }
.site-footer.is-content-justification-right::before { background-position:right top; }
.site-footer:not(.is-layout-constrained)::before { background-size:100% 2px; }


.gallery-carousel > .gallery-controls[hidden] { display: none !important; }
.gallery-carousel .gallery-controls .gallery-prev:dir(rtl)::before { transform:none; }
.gallery-carousel .gallery-controls .gallery-next:dir(rtl)::before { transform:rotate(180deg); }
.gallery-carousel .gallery-dots button,.gallery-carousel .gallery-dots button:hover,.gallery-carousel .gallery-dots button[aria-current="true"],.gallery-carousel .gallery-dots button[aria-current="true"]:hover { width:24px;min-width:24px;color:inherit; }
.gallery-carousel .gallery-dots button[aria-current="true"]::before {outline:1.5px solid var(--gallery-control-color);outline-offset:2px}
@media (forced-colors:active){.gallery-carousel .gallery-dots button[aria-current="true"]::before{outline-color:CanvasText;background:Canvas}}

.gallery-carousel > .wp-block-gallery:has(> .blocks-gallery-caption) {
  display:grid!important;
  grid-template-columns:repeat(var(--bg-count,1),calc((100% - (var(--bg-columns,1) - 1)*var(--wp--style--unstable-gallery-gap,var(--wp--style--block-gap,24px)))/var(--bg-columns,1)));
  grid-auto-flow:row;
  grid-template-rows:auto auto;
}
.gallery-carousel > .wp-block-gallery:has(> .blocks-gallery-caption) .wp-block-image,
.gallery-carousel > .wp-block-gallery:has(> .blocks-gallery-caption) .wp-block-video {grid-row:1;width:100%!important}
.gallery-carousel > .wp-block-gallery > .blocks-gallery-caption {grid-column:1 / -1;grid-row:2;position:sticky;inset-inline-start:0;width:var(--bg-view,100%)}

/* Keep the Gallery block as the layout element while showing a carousel. */
.wp-block-gallery.bg-carousel-root {
  display: grid !important;
  grid-template-columns: repeat(var(--bg-count, 1), calc((100% - (var(--bg-columns, 1) - 1) * var(--wp--style--unstable-gallery-gap, var(--wp--style--block-gap, 24px))) / var(--bg-columns, 1)));
  grid-auto-flow: row;
  grid-template-rows: auto auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x;
}
.wp-block-gallery.bg-carousel-root::-webkit-scrollbar { display: none; }
.wp-block-gallery.bg-carousel-root :is(.wp-block-image, .wp-block-video) { grid-row: 1; width: 100% !important; min-width: 0; scroll-snap-align: start; }
.wp-block-gallery.bg-carousel-root > .gallery-controls { grid-column: 1 / -1; grid-row: 2; position: sticky; inset-inline-start: 0; width: var(--bg-view, 100%); z-index: 3; }
.wp-block-gallery.bg-carousel-root > .blocks-gallery-caption { grid-column: 1 / -1; grid-row: 3; position: sticky; inset-inline-start: 0; width: var(--bg-view, 100%); }
.wp-block-gallery.bg-carousel-root:has(> .blocks-gallery-caption) { grid-template-rows: auto auto auto; }
.wp-block-gallery.bg-carousel-root:has(> .gallery-controls[hidden]):not(:has(> .blocks-gallery-caption)) { grid-template-rows: auto; }
.wp-block-gallery.bg-carousel-root:has(> .gallery-controls[hidden]):has(> .blocks-gallery-caption) { grid-template-rows: auto auto; }
.wp-block-gallery.bg-carousel-root:has(> .gallery-controls[hidden]) > .blocks-gallery-caption { grid-row: 2; }
.wp-block-gallery.bg-carousel-root img { width: 100%; height: auto; object-fit: contain; object-position: center; background: #f5f5f5; }
:where(.wp-block-gallery.bg-carousel-root img:not([style*="height"]), .wp-block-gallery.bg-carousel-root img[style*="height: auto"], .wp-block-gallery.bg-carousel-root img[style*="height:auto"]) { max-height: 520px; }
.editor-styles-wrapper .wp-block-gallery.bg-carousel-root > .blocks-gallery-caption:focus { margin-block-start: 50px; }
.gallery-carousel.bg-carousel-root .gallery-controls button { width: 24px; height: 28px; background: transparent; opacity: 1; }
.gallery-carousel.bg-carousel-root .gallery-dots button[aria-current="true"] { background: transparent; }
@media (prefers-reduced-motion: reduce) { .wp-block-gallery.bg-carousel-root { scroll-behavior: auto; } }

.wp-block-gallery.bg-carousel-root > .gallery-footer {
  grid-column: 1 / -1;
  grid-row: 2;
  position: sticky;
  inset-inline-start: 0;
  width: var(--bg-view, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  z-index: 3;
}
.wp-block-gallery.bg-carousel-root > .gallery-footer .gallery-controls { position: static; display: flex; align-items: center; justify-content: flex-end; min-height: 28px; max-width: min(50vw, 100%); }
.wp-block-gallery.bg-carousel-root > .gallery-footer .gallery-controls[hidden] { display: none; }
.wp-block-gallery.bg-carousel-root.has-gallery-caption-row > .wp-block-image > figcaption { display: none; }
.wp-block-gallery.bg-carousel-root .gallery-caption figcaption { margin: 0; color: #666; color: color-mix(in srgb, currentColor 69%, transparent); font-size: .87125em; line-height: 1.4; text-align: start; }
@media (max-width: 540px) {
  .wp-block-gallery.bg-carousel-root > .gallery-footer { grid-template-columns: minmax(0, 1fr); }
  .wp-block-gallery.bg-carousel-root > .gallery-footer .gallery-controls { justify-self: end; max-width: 100%; }
}

.archive-main > .wp-block-query-title.wp-block-query-title { margin: var(--bg-query-margin, var(--bg-query-margin-top, 28px) var(--bg-query-margin-right, 0px) var(--bg-query-margin-bottom, 8px) var(--bg-query-margin-left, 0px)); }

/* Keep the active slide caption beside its controls in the feed. */
.feed-media.gallery-carousel.has-gallery-caption-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}
.feed-media.has-gallery-caption-row > .gallery-track { grid-column: 1 / -1; }
.feed-media.has-gallery-caption-row .gallery-slide figcaption { display: none; }
.feed-media.has-gallery-caption-row > .gallery-caption { min-width: 0; margin: 0; }
.feed-media.has-gallery-caption-row > .gallery-caption figcaption { margin: 0; }
.feed-media.has-gallery-caption-row > .gallery-controls { justify-content: flex-end; max-width: min(50vw, 100%); }
.gallery-carousel .gallery-dots button:focus-visible { outline: none; }
.gallery-carousel .gallery-dots button:focus-visible::before { box-shadow: 0 0 0 4px #fff, 0 0 0 6px #625477; }
@media (forced-colors: active) {
  .gallery-carousel .gallery-dots button:focus-visible { outline: 2px solid Highlight; border-radius: 50%; }
}
.bg-feed .wp-block-query-pagination { margin-block-end: 32px; }
html body .gallery-carousel .gallery-dots button[aria-current="true"] { outline: none; }
.feed-media.has-gallery-caption-row > .gallery-caption figcaption {
  color: #666;
  color: color-mix(in srgb, currentColor 69%, transparent);
  font-size: .87125em;
  line-height: 1.4;
}
@media (max-width: 540px) {
  .feed-media.gallery-carousel.has-gallery-caption-row { grid-template-columns: minmax(0, 1fr); }
  .feed-media.has-gallery-caption-row > .gallery-track { grid-column: 1; }
  .feed-media.has-gallery-caption-row > .gallery-controls { justify-self: end; max-width: 100%; }
}
@media (forced-colors: active) {
  html body .gallery-carousel .gallery-dots button:focus-visible { outline: 2px solid Highlight; }
}

/* Keep pagination to a single next-page action. */
:where(body:not(.wp-admin):not(.editor-styles-wrapper)) .bg-feed .wp-block-query-pagination > :not(.wp-block-query-pagination-next) { display: none; }
:where(body:not(.wp-admin):not(.editor-styles-wrapper)) .bg-feed .wp-block-query-pagination:not(:has(> .wp-block-query-pagination-next)) { display: none; }
html:root body:not(.wp-admin):not(.editor-styles-wrapper) .bg-feed .wp-block-query-pagination { justify-content: center; }
html:root body:not(.wp-admin):not(.editor-styles-wrapper) .bg-feed .wp-block-query-pagination a.wp-block-query-pagination-next {
  --gallery-control-color: #a27caf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent !important;
  font-size: 0;
  text-decoration: none;
}
:where(body:not(.wp-admin):not(.editor-styles-wrapper)) .bg-feed .wp-block-query-pagination-next > .wp-block-query-pagination-next-arrow { display: none; }
.bg-feed .wp-block-query-pagination .wp-block-query-pagination-next:dir(rtl)::after { transform: rotate(180deg); }
@media (forced-colors: active) {
  .bg-feed .wp-block-query-pagination .wp-block-query-pagination-next::after { background: LinkText; }
}

.bg-feed .wp-block-query-pagination[hidden] { display: none !important; }
.bg-feed .bg-feed-sentinel { height: 1px; }
.bg-feed .bg-feed-status:not(.screen-reader-text) { margin: 0; color: var(--bg-muted); text-align: center; font-size: 14px; }

.bg-feed-loader { display: flex; justify-content: center; align-items: center; gap: 7px; padding: 24px 0; }
.bg-feed-loader[hidden] { display: none; }
.bg-feed-loader span { width: 6px; height: 6px; border-radius: 50%; background: var(--dot-color); animation: bg-feed-dot-pulse 1.5s ease-in-out infinite; animation-delay: var(--dot-delay); }
.bg-feed-loader span:nth-child(1) { --dot-color: #d87570; --dot-delay: 0s; }
.bg-feed-loader span:nth-child(2) { --dot-color: #d99b58; --dot-delay: .16s; }
.bg-feed-loader span:nth-child(3) { --dot-color: #b5b766; --dot-delay: .32s; }
.bg-feed-loader span:nth-child(4) { --dot-color: #68a99a; --dot-delay: .48s; }
.bg-feed-loader span:nth-child(5) { --dot-color: #728fbd; --dot-delay: .64s; }
.bg-feed-loader span:nth-child(6) { --dot-color: #a27caf; --dot-delay: .8s; }
@keyframes bg-feed-dot-pulse { 0%, 100% { opacity: .42; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bg-feed-loader span { animation: none; } }
@media (forced-colors: active) { .bg-feed-loader span { background: CanvasText; } }
