/*
Theme Name: Auxesis
Theme URI: https://www.auxesisllc.com/
Author: Auxesis LLC
Description: Learning and consulting theme for Auxesis LLC. Brand colors from the Auxesis logo. Every page, the header, and the footer are editable in the WordPress editor. Works with the Auxesis Academy course catalog plugin.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.0.2
License: GNU General Public License v2 or later
Text Domain: auxesis
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(h1, h2, h3, h4) { font-optical-sizing: auto; text-wrap: balance; }
:where(p) { text-wrap: pretty; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }
::selection { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--night); }
img { height: auto; }
.screen-reader-text:focus { clip: auto; }
.ax-skip { position: absolute; left: -9999px; }
.ax-skip:focus { left: 1rem; top: 1rem; z-index: 1000; background: #fff; padding: .6rem 1rem; }

/* ---------- Header ---------- */
.ax-topbar { font-size: var(--wp--preset--font-size--x-small); letter-spacing: .02em; }
.ax-topbar a { color: inherit; text-decoration: none; }
.ax-topbar a:hover { text-decoration: underline; }
.ax-topbar p { margin: 0; }
.ax-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--wp--preset--color--line); }
@media (min-width: 1100px) { .ax-header { backdrop-filter: saturate(1.2) blur(8px); } }
.admin-bar .ax-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ax-header { top: 0; position: relative; } }
.ax-header .wp-block-site-logo img { width: 170px; max-width: 42vw; }
.ax-header .wp-block-navigation { gap: 1.55rem; }
.ax-header .wp-block-navigation-item__content { text-decoration: none; color: var(--wp--preset--color--slate); padding: .35rem 0; }
.ax-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--primary); }
.ax-header .wp-block-navigation .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--line) !important; box-shadow: var(--wp--preset--shadow--soft); padding: .5rem 0; min-width: 250px !important; border-radius: 2px; }
.ax-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem 1.15rem !important; font-weight: 400; }
.ax-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--surface); }
.ax-header .current-menu-item > a, .ax-header .current-menu-ancestor > button { color: var(--wp--preset--color--primary); }
.ax-header .wp-block-search__button { background: transparent; color: var(--wp--preset--color--slate); border: 0; padding: .35rem; }
.ax-header .wp-block-search__button:hover { color: var(--wp--preset--color--primary); }
.ax-header .wp-block-search.wp-block-search__searchfield-hidden .wp-block-search__input { border: 0; }
.ax-header .wp-block-search__inside-wrapper { border: 1px solid transparent; }
.ax-header .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { border-color: var(--wp--preset--color--line); background: #fff; }
.ax-header .wp-block-search__input { font-size: var(--wp--preset--font-size--small); }
.ax-header .ax-cta .wp-block-button__link { padding: .6rem 1.1rem; font-size: var(--wp--preset--font-size--small); }
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: .35rem 0 0 1rem !important; }
@media (max-width: 1100px) { .ax-header .ax-cta { display: none; } }
@media (max-width: 599px) { .ax-topbar .ax-topbar-right { display: none; } }

/* ---------- Type helpers (block styles) ---------- */
.is-style-eyebrow { font-family: var(--wp--preset--font-family--sans); font-size: var(--wp--preset--font-size--x-small) !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--primary); margin-bottom: .35rem; }
.has-night-background-color .is-style-eyebrow, .is-style-eyebrow.has-sky-color { color: var(--wp--preset--color--sky); }
.is-style-lead { font-size: 1.125rem; line-height: 1.7; color: var(--wp--preset--color--slate); }
.ax-hero .is-style-lead { font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--large); line-height: 1.55; }
.has-night-background-color .is-style-lead { color: #fff; }
.is-style-display { font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--x-large); line-height: 1.35; font-weight: 600; color: var(--wp--preset--color--night); }
.is-style-stat { font-size: var(--wp--preset--font-size--small); line-height: 1.55; color: var(--wp--preset--color--muted); border-left: 3px solid var(--wp--preset--color--azure); padding-left: .9rem; }
.is-style-arrow-link a { text-decoration: none; font-weight: 600; font-size: var(--wp--preset--font-size--small); letter-spacing: .02em; }
.is-style-arrow-link a::after { content: " \2192"; transition: margin .2s; }
.is-style-arrow-link a:hover::after { margin-left: .25rem; }
.is-style-fine-print { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); line-height: 1.6; }
.has-night-background-color .is-style-fine-print { color: rgba(255,255,255,.7); }
.has-night-background-color :where(h1,h2,h3,h4) { color: #fff; }
.has-night-background-color a:where(:not(.wp-block-button__link)) { color: var(--wp--preset--color--sky); }

/* Rule under a heading */
.is-style-ruled::after { content: ""; display: block; width: 3.25rem; height: 3px; border-radius: 2px; background: var(--wp--preset--color--azure); margin-top: 1rem; }
.has-text-align-center.is-style-ruled::after { margin-left: auto; margin-right: auto; }

/* ---------- Groups ---------- */
.is-style-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: clamp(1.35rem, 2.4vw, 2rem); transition: box-shadow .25s, transform .25s, border-color .25s; }
.is-style-card:hover { box-shadow: var(--wp--preset--shadow--soft); border-color: #d4ccbb; }
.is-style-card > :first-child { margin-top: 0; }
.is-style-card > :last-child { margin-bottom: 0; }
.is-style-panel { background: var(--wp--preset--color--surface); padding: clamp(1.35rem, 2.6vw, 2.25rem); border-radius: 12px; border-left: 3px solid var(--wp--preset--color--azure); }
.is-style-panel > :first-child { margin-top: 0; }
.is-style-frame { position: relative; }
.is-style-frame img { position: relative; z-index: 1; }
.wp-block-image.is-style-frame::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid var(--wp--preset--color--primary); z-index: 0; }
.wp-block-columns .wp-block-column > .is-style-card:only-child { height: 100%; }
.ax-map iframe { display: block; width: 100%; height: 320px; border: 1px solid var(--wp--preset--color--line); }
.ax-service-card { display: flex; flex-direction: column; }
.ax-service-card .wp-block-image { margin: 0 0 1rem; height: 88px; display: flex; align-items: center; }
.ax-service-card .wp-block-image img { max-height: 88px; width: auto; }
.ax-service-card .is-style-arrow-link { margin-top: auto; padding-top: .75rem; }

/* Numbered facts row */
.ax-facts { counter-reset: gffact; }
.ax-facts > .wp-block-column { counter-increment: gffact; border-left: 1px solid var(--wp--preset--color--line); padding-left: 1.1rem; }
.ax-facts > .wp-block-column::before { content: counter(gffact, decimal-leading-zero); display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.6rem; color: var(--wp--preset--color--azure); line-height: 1; margin-bottom: .6rem; }
.ax-facts p { font-size: var(--wp--preset--font-size--small); line-height: 1.55; margin: 0; }
@media (max-width: 781px) { .ax-facts > .wp-block-column { border-left: 0; border-top: 1px solid var(--wp--preset--color--line); padding: 1rem 0 0; } }

/* Hero */
.ax-hero { position: relative; overflow: hidden; }
.ax-hero .ax-hero-mark { opacity: .9; }
.ax-hero h1 { font-weight: 800; letter-spacing: -0.03em; }
.ax-hero h1 em { font-style: normal; color: var(--wp--preset--color--azure); }

/* Lists */
.is-style-check { list-style: none; padding-left: 0; }
.is-style-check li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; }
.is-style-check li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--wp--preset--color--azure); }
.has-night-background-color .is-style-check li::before { background: var(--wp--preset--color--sky); }
.is-style-plain { list-style: none; padding-left: 0; }
.is-style-plain li { padding: .55rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.is-style-plain li:last-child { border-bottom: 0; }
.is-style-numbered { list-style: none; padding-left: 0; counter-reset: gfnum; }
.is-style-numbered > li { counter-increment: gfnum; position: relative; padding: .9rem 0 .9rem 3rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.is-style-numbered > li::before { content: counter(gfnum, decimal-leading-zero); position: absolute; left: 0; top: .9rem; font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--primary); font-size: 1.1rem; }
.is-style-numbered > li a { font-weight: 500; }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid currentColor; background: transparent; color: var(--wp--preset--color--primary); padding: calc(.85rem - 1px) calc(1.5rem - 1px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: #fff; border-color: var(--wp--preset--color--primary); }
.has-night-background-color .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.has-night-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--night); border-color: #fff; }
.wp-block-button.is-style-azure > .wp-block-button__link { background: var(--wp--preset--color--primary); color: #fff; }
.wp-block-button.is-style-azure > .wp-block-button__link:hover { background: var(--wp--preset--color--primary-deep); }

/* Details / accordion */
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--night); list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: -.1rem; font-family: var(--wp--preset--font-family--sans); font-weight: 300; font-size: 1.5rem; color: var(--wp--preset--color--primary); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details[open] > summary { margin-bottom: .75rem; }
.wp-block-details > :not(summary) { margin-top: .75rem; }

/* Tables */
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table th, .wp-block-table td { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: .7rem .8rem; text-align: left; vertical-align: top; }
.wp-block-table thead th { background: var(--wp--preset--color--surface); font-size: var(--wp--preset--font-size--x-small); letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); border-bottom: 1px solid var(--wp--preset--color--primary); }
.wp-block-table figcaption { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); }

/* ---------- Page header band ---------- */
.ax-page-head { border-bottom: 1px solid var(--wp--preset--color--line); }
.ax-page-head .wp-block-post-title, .ax-page-head .wp-block-query-title { font-weight: 700; }
.ax-breadcrumb { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); letter-spacing: .04em; }
.ax-breadcrumb a { color: inherit; text-decoration: none; }
.ax-breadcrumb a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }

/* ---------- Article cards ---------- */
.ax-cards .wp-block-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.ax-cards .wp-block-post:hover { box-shadow: var(--wp--preset--shadow--soft); border-color: #d4ccbb; }
.ax-cards .wp-block-post-featured-image { margin: 0; overflow: hidden; background: var(--wp--preset--color--surface); }
.ax-cards .wp-block-post-featured-image img { transition: transform .5s ease; }
.ax-cards .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.ax-cards .ax-card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ax-cards .wp-block-post-title { margin: .35rem 0 .6rem; }
.ax-cards .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--night); }
.ax-cards .wp-block-post-title a:hover { color: var(--wp--preset--color--primary); }
.ax-cards .wp-block-post-excerpt { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); line-height: 1.6; margin: 0 0 1rem; }
.ax-cards .wp-block-post-excerpt__more-text { display: none; }
.ax-cards .wp-block-post-date { margin-top: auto; }
.ax-cards .wp-block-post-terms a, .ax-kicker a { color: var(--wp--preset--color--primary); text-decoration: none; }

/* Pagination */
.wp-block-query-pagination { gap: .5rem; font-size: var(--wp--preset--font-size--small); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { text-decoration: none; padding: .45rem .8rem; border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--slate); }
.wp-block-query-pagination .page-numbers.current { background: var(--wp--preset--color--primary); color: #fff; border-color: var(--wp--preset--color--primary); }
.wp-block-query-pagination a:hover { border-color: var(--wp--preset--color--primary); }

/* ---------- Single article ---------- */
.ax-article .wp-block-post-content > * + h2 { margin-top: 2.6rem; }
.ax-article .wp-block-post-content > * + h3 { margin-top: 2rem; }
.ax-article .wp-block-post-content img { max-width: 100%; }
.ax-article .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--x-large); }
.ax-article .wp-block-post-content h3 { font-size: var(--wp--preset--font-size--large); font-weight: 600; }
.ax-byline { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.ax-byline p { margin: 0; }
.ax-byline a { color: inherit; }
.ax-author { border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.ax-author .wp-block-image img { border-radius: 50%; }

/* ---------- Tools ---------- */
.ax-tool-shell { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; border-top: 3px solid var(--wp--preset--color--azure); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--wp--preset--shadow--soft); }
.ax-tool-shell input[type=text], .ax-tool-shell input[type=email], .ax-tool-shell input[type=search], .ax-tool-shell select, .ax-tool-shell textarea,
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 textarea, .wpcf7 select { font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1px solid #cfc7b6; border-radius: 2px; background: #fff; width: 100%; box-sizing: border-box; }
.ax-tool-shell input:focus, .ax-tool-shell select:focus, .ax-tool-shell textarea:focus, .wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 0; border-color: var(--wp--preset--color--primary); }
.ax-tool-shell button, .ax-tool-shell input[type=submit], .wpcf7 input[type=submit] { font: inherit; font-weight: 600; font-size: var(--wp--preset--font-size--small); letter-spacing: .02em; background: var(--wp--preset--color--primary); color: #fff; border: 0; border-radius: 2px; padding: .85rem 1.5rem; cursor: pointer; width: auto; }
.ax-tool-shell button:hover, .ax-tool-shell input[type=submit]:hover, .wpcf7 input[type=submit]:hover { background: var(--wp--preset--color--primary-deep); }
.wpcf7 label { font-size: var(--wp--preset--font-size--small); font-weight: 500; display: block; }
.wpcf7 p { margin: 0 0 1rem; }

/* ---------- Footer ---------- */
.ax-footer { font-size: var(--wp--preset--font-size--small); color: rgba(255,255,255,.82); }
.ax-footer h2 { font-family: var(--wp--preset--font-family--sans); font-size: var(--wp--preset--font-size--x-small); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--wp--preset--color--sky); margin: 0 0 1rem; }
.ax-footer ul { list-style: none; padding: 0; margin: 0; }
.ax-footer li { margin: 0 0 .55rem; }
.ax-footer a { color: #fff; text-decoration: none; }
.ax-footer a:hover { color: var(--wp--preset--color--sky); text-decoration: underline; }
.ax-footer .ax-legal { border-top: 1px solid rgba(255,255,255,.14); }
.ax-footer .ax-legal p { margin: 0; color: rgba(255,255,255,.7); }

/* CTA band */
.ax-cta-band { position: relative; overflow: hidden; }
.ax-cta-band::after { content: ""; position: absolute; right: -6rem; top: 50%; width: 26rem; height: 26rem; transform: translateY(-50%); background: radial-gradient(circle, rgba(0,136,254,.35) 0%, rgba(0,136,254,0) 70%); opacity: 1; pointer-events: none; }
.ax-cta-band > * { position: relative; z-index: 1; }

/* Search results */
.ax-results .wp-block-post { padding: 1.5rem 0; border-top: 1px solid var(--wp--preset--color--line); }
.ax-results .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--night); }
.ax-results .wp-block-post-title a:hover { color: var(--wp--preset--color--primary); text-decoration: underline; }
.ax-results .wp-block-post-excerpt { color: var(--wp--preset--color--muted); margin: .35rem 0 0; font-size: var(--wp--preset--font-size--small); }
.ax-results .ax-kind { font-size: var(--wp--preset--font-size--x-small); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--wp--preset--color--primary); }
.ax-search-big .wp-block-search__inside-wrapper { border: 1px solid #cfc7b6; padding: .3rem; background: #fff; }
.ax-search-big .wp-block-search__input { border: 0; font-size: 1.05rem; padding: .6rem .8rem; }
.ax-search-big .wp-block-search__button { margin: 0; }

/* Plugin blending */
.sp-tab__lay-default { font-family: inherit; }
.testimonial_rotator_wrap { font-family: inherit; }
.testimonial_rotator .testimonial_rotator_description { font-family: var(--wp--preset--font-family--heading); font-size: 1.15rem; line-height: 1.6; }

/* Spacing for converted page content */
.wp-block-post-content > .wp-block-heading:not(:first-child) { margin-top: var(--wp--preset--spacing--50); }
.wp-block-post-content > .wp-block-details + .wp-block-heading { margin-top: var(--wp--preset--spacing--60); }
.wp-block-post-content > .wp-block-details + .wp-block-details { margin-top: 0; }
.wp-block-post-content > .wp-block-quote { margin: var(--wp--preset--spacing--40) 0; }
@media (max-width: 781px) {
	.ax-hero .wp-block-column:has(.ax-hero-mark) { display: none; }
	.ax-hero h1 { font-size: clamp(2.2rem, 9vw, 2.6rem); }
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; color: var(--wp--preset--color--night); }
.wp-block-details summary :where(h1, h2, h3, h4, h5, h6) { display: inline; font-size: inherit; margin: 0; font-weight: inherit; font-family: inherit; color: inherit; }
/* Accordion Blocks plugin items, matched to the Details block */
.c-accordion__item { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1rem 0; }
.c-accordion__title { font-family: var(--wp--preset--font-family--heading) !important; font-size: var(--wp--preset--font-size--large) !important; font-weight: 400 !important; color: var(--wp--preset--color--night) !important; margin: 0 !important; padding: 0 2rem 0 0 !important; position: relative; cursor: pointer; background: none !important; }
.c-accordion__title strong { font-weight: inherit; }
.c-accordion__title::after { content: "+" !important; position: absolute; right: 0; top: -.1rem; font-family: var(--wp--preset--font-family--sans); font-weight: 300; font-size: 1.5rem; color: var(--wp--preset--color--primary); transition: transform .2s; }
.c-accordion__item.is-open > .c-accordion__title::after { transform: rotate(45deg); }
.c-accordion__content { padding-top: .75rem; }

/* Collapse the header menu to the menu button below 1100px, not just on phones */
@media (min-width: 600px) and (max-width: 1099px) {
	.ax-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.ax-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.ax-header .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; position: fixed; inset: 0; z-index: 100000; background: #fff; flex-direction: column; overflow: auto; }
	.ax-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex !important; }
	.ax-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; }
	.ax-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { position: static !important; opacity: 1 !important; visibility: visible !important; width: auto !important; height: auto !important; min-width: 0 !important; background: transparent !important; }
	.ax-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none; }
}

/* Team rows */
.ax-member + .ax-member { margin-top: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--50); border-top: 1px solid var(--wp--preset--color--line); }
.ax-cred { font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--primary); margin: .2rem 0; }
.ax-team-row .wp-block-heading { margin: .8rem 0 .2rem; }
.ax-team-row .ax-team-photo img, .ax-member .ax-team-photo img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
/* My Calendar upcoming list */
.upcoming-events { list-style: none; padding: 0; margin: 1rem 0; }
.upcoming-events li { padding: .8rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.upcoming-events li strong { display: block; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); font-weight: 600; }
/* My Calendar: use the wide width and brand colors */
.is-layout-constrained > .mc-main, .wp-block-post-content > .mc-main { max-width: var(--wp--style--global--wide-size) !important; }
.mc-main .mc-title, .mc-main .heading { font-family: var(--wp--preset--font-family--heading); }
.mc-main .my-calendar-header button, .mc-main .my-calendar-footer button, .mc-main .mc-print a, .mc-main .my-calendar-nav a { border-radius: 6px; }
.mc-main.calendar table { border-radius: 12px; overflow: hidden; }

/* 1.0.1: full-width colored bands meet without a white seam; space between a section heading row and its article cards. */
.wp-block-post-content > .alignfull.has-background,
.wp-block-post-content > .alignfull.has-background + .alignfull { margin-block-start: 0; }
.alignfull > .alignwide.is-layout-flex + .wp-block-query.ax-cards { margin-block-start: var(--wp--preset--spacing--40); }
