.light .site-title,
.light .site-subtitle,
.light .spw-nav-link a,
.light .spw-nav-subpage a,
.light .spw-header-cta__text,
.light .spw-header-aux a,
.light .spw-header-aux a i,
.light .spw-header-social a,
.light .spw-header-social a i,
.light .spw-header-ecom__icon,
.light .spw-team__name,
.light .spw-team__role,
.light .spw-team__bio {
    color: #ffffff !important;
}

.light .spw-header-ecom__divider {
    border-color: #ffffff !important;
}

.ly-section.light .spw-smallsubheadline,
.light .spw-wysiwyg h1,
.light .spw-wysiwyg h2,
.light .spw-wysiwyg h3,
.light .spw-wysiwyg h4,
.light .spw-wysiwyg h5,
.light .spw-wysiwyg h6,
.light .spw-wysiwyg p,
.light .spw-wysiwyg ol,
.light .spw-wysiwyg ul,
.light .spw-wysiwyg div,
.light .spw-label,
.uk-light p,
.uk-light h2,
.uk-light span {
    color: white !important;
}


/*
* Text editor customization
*/
.note-editable {
	background-color: #fff;
}

.note-editable p,
.note-editable h1,
.note-editable h2,
.note-editable h3,
.note-editable h4,
.note-editable h5,
.note-editable h6 {
	color: #000;
}

.note-style button[disabled] {
  background-color: #b5b5b5;
  border: none;
  color: #ddd;
}

.note-editor .note-dropdown-menu {
	padding: 0;
}

.note-editor a.note-dropdown-item,
.note-editor a.note-dropdown-item:hover {
	margin: 0;
	padding: 5px;
}

.link-dialog input.note-link-text,
.link-dialog input.note-link-url {
	border: 1px solid #BFBFBF;
}

.link-dialog input.note-link-btn {
	background: #478bfb;
	float: none;
	border: none;
	margin: 10px 0;
}

.link-dialog input.note-link-btn:hover {
	background: #478bfb;
}

.link-dialog .note-modal-footer {
	height: auto;
}

/*
* Header layout
*/
#header-minimalistic .spw-header-content-links {
    gap: 1rem;
}

#header-minimalistic .spw-header-content__logo {
    min-width: 0;
    flex-shrink: 0;
}

#header-minimalistic .spw-header__logo--img {
    padding: 0;
}

#header-minimalistic .spw-header__logo--img img {
    width: 250px;
    height: auto;
}

#header-minimalistic .spw-nav {
    gap: 16px;
    flex-wrap: nowrap;
    padding-top: 0;
    padding-bottom: 0;
}

#header-minimalistic .spw-nav-link {
    padding: 0.5rem 0.25rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

#header-minimalistic .spw-header-content__actions-wrapper {
    flex-shrink: 0;
}

#header-minimalistic .spw-header-content__buttons {
    flex-wrap: nowrap;
    gap: 0.5rem;
}

#header-minimalistic .spw-header-button {
    min-width: 0;
    max-width: none;
    padding: 0.6rem 0.85rem;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Narrow desktops: stack buttons so the nav keeps its room */
@media (min-width: 960px) and (max-width: 1365px) {
    #header-minimalistic .spw-header-content__logo img {
        width: 250px;
    }

    #header-minimalistic .spw-header-content__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    #header-minimalistic .spw-header-button {
        padding: 0.4rem 0.75rem;
        font-size: 12px;
    }
}

/* Mobile header */
.spw-header-content--mobile .spw-header__logo--img {
    padding: 0.5rem 0;
    min-height: 0;
}

.spw-header-content--mobile .spw-header__logo--img img {
    width: 170px;
    height: auto;
    min-height: 0;
}

.spw-header-content--mobile .spw-header__hamburger {
    color: #6c943e;
}

.spw-drawer-content {
    justify-content: flex-start;
}

.spw-drawer-actions {
    padding: 0.4rem 1rem;
}

.spw-drawer-actions:last-child {
    padding-bottom: 2rem;
}

.spw-drawer-actions a {
    width: 100%;
    max-width: 20rem;
}

/* Contact page social links */
.contact-social {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #6c943e;
    color: #fff !important;
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-social a:hover {
    background-color: #557530;
}

.spw-nav-link.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    /* font-weight: 600; optional for emphasis */
}

