footer .kt-row-layout-top-sep + div {
    z-index: 1000 !important;
}

footer {
    border-top: 1px solid var(--wp--preset--color--primary-tan);
}

footer .footer-bottom-row {
    border-top: 1px solid var(--wp--preset--color--primary-tan);
}

/* Section sidebar nav (parts/sidebar.html) — static styling only, no
   active-page detection or expand/collapse behavior yet. */
.section-sidebar-nav {
    max-width: 240px;
}

.section-sidebar-nav__item p {
    margin: 0;
}

.section-sidebar-nav__item a {
    text-decoration: none;
}

.section-sidebar-nav__item a:hover {
    text-decoration: underline;
}

.section-sidebar-nav__icon {
    margin: 0;
    flex-shrink: 0;
    align-self: center;
}

.section-sidebar-nav__icon img {
    display: block;
}

/* Content card (image + eyebrow + linked heading), per Figma card component. */
.content-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 349 / 235;
    object-fit: cover;
}

.content-card p {
    margin-bottom: 0.25rem;
}

.content-card h3 {
    margin-top: 0;
}

.content-card h3 a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wp--preset--color--secondary-dark-green);
    text-decoration: none;
}

.content-card h3 a::after {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    background-color: currentColor;
    -webkit-mask-image: url('../images/icons/icon-arrow-right.svg');
    mask-image: url('../images/icons/icon-arrow-right.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.content-card h3 a:hover,
.content-card h3 a:focus {
    color: var(--wp--preset--color--secondary-clay);
}

nav.wp-block-navigation button {
    color: var(--wp-block-navigation);
}

.kb-section-dir-horizontal .kt-inside-inner-col > div:first-of-type,
.kb-section-dir-horizontal .kt-inside-inner-col > nav {
    flex: 0 0 auto;
}

.kb-section-dir-horizontal .kt-inside-inner-col > form {
    flex: 1 1 auto;
}

header .kt-row-layout-bottom-sep {
    z-index: 0;
}

.kt-row-layout-top-sep {
    z-index: 1000 !important;
}

.kt-row-layout-top-sep + div {
    z-index: 999 !important;
}

.kt-row-column-wrap, .wp-block-kadence-column, .kt-inside-inner-col {
    z-index: inherit !important;
}

a[target="_blank"]:not(.wp-block-button__link)::after {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.3em;
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17.25 16.72'><path d='M0.25 17.72v-16.72h8.328v2.162h-6.167v12.4h12.927v-6.167h2.162v8.328h-17.25Zm5.177-6.217 8.3-8.3h-2.288v-2.2h6.02v6.02h-2.2v-2.291l-8.3 8.3Z' fill='%23fff'/></svg>");
	background-repeat: no-repeat;
	background-size: 50% 50%;
	vertical-align: text-bottom;
	position: relative;
	top: 0.05em;
    line-height: 1.3;
}

.spinner {
  text-align: center;
  padding: 1rem 0;
}

.spinner .loading-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #ccc;
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

