/*
Theme Name: Canvas
Text Domain: canvas
Version: 1.0.0
Description: Custom WordPress theme for the Canvas site.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Author: TheDigiAlex
Author URI: https://thedigialex.com
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

::selection {
    background: var(--color-secondary);
    color: var(--color-site-bg);
}

body {
    margin: 0 auto;
    font-family: var(--font-body, system-ui, -apple-system, sans-serif);
    font-size: var(--size-p, 1rem);
    color: var(--color-text);
    background: var(--color-site-bg, #fff);
    line-height: 1.56;
    max-width: 2000px;

    p {
        margin-block-end: 1.75em;
    }
}

/*remove max width and shadow later*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading, var(--font-body, system-ui, -apple-system, sans-serif));
    line-height: 1.29;
}

h1 {
    font-size: var(--size-h1, 2.5rem);
}

h2 {
    font-size: var(--size-h2, 2rem);
}

h3 {
    font-size: var(--size-h3, 1.5rem);
}

h4 {
    font-size: var(--size-h4, 1.25rem);
}

h5 {
    font-size: var(--size-h5, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

a {
    color: var(--color-text);
    font-size: var(--size-a, 1rem);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 6px;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.growing-underline {
    position: relative;
    padding: 8px 0;
    text-decoration: none;
}

.growing-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.growing-underline:hover::after,
.growing-underline.is-active::after {
    transform: scaleX(1);
}

.growing-underline--thin::after {
    height: 2px;
}

.growing-underline--fast::after {
    transition: transform 0.15s ease;
}

.growing-underline--slow::after {
    transition: transform 0.4s ease;
}

.growing-underline--primary::after {
    background: var(--color-primary);
}

.growing-underline--secondary::after {
    background: var(--color-secondary);
}

.header-desktop-one {
    display: flex;
    flex-direction: column;
    background: var(--color-site-bg, #ffffff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: auto;
    padding: 0;
}

.header-one-row-two {
    display: flex;
    align-items: center;
    background: var(--color-site-bg, #ffffff);
    justify-content: space-between;
}

.site-header-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.header-row-two,
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-row-two {
    background: var(--color-container-bg);
    height: 48px;
}

.header-row-one {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
    gap: 1.5rem;
    background-color: var(--color-primary);
}

.header-row-one a {
    text-decoration: none;
    color: var(--color-site-bg);
    font-size: var(--size-breadcrumb);
}

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

.site-nav-menu,
.site-nav-menu-secondary {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.site-nav-menu-secondary a {
    font-size: .95rem;
}

.site-nav-menu-mega {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2.2rem;
}

.mobile-secondary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-around;
}

.site-nav-menu-secondary a {
    color: var(--color-site-bg);
}

.site-nav-menu li {
    position: relative;
}

.site-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    background: var(--color-site-bg, #fff);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 6px 6px;
    z-index: 1000;
}

.site-nav-menu li:hover>.sub-menu {
    display: block;
}

.site-nav-menu .sub-menu li {
    list-style: none;
}

.site-nav-menu .sub-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav-menu .sub-menu a.growing-underline::after {
    display: none;
}

.site-nav-menu .sub-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-primary);
}

.admin-bar .header-desktop-one,
.admin-bar .bar-sticky {
    top: 32px;
}

.mobile-header {
    display: none;
}

.hb-hamburger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 3rem;
    height: 3rem;
    border-radius: 6px;
    background: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.hb-hamburger:hover {
    opacity: 0.88;
}

.hb-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-site-bg);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}

body.mobile-menu-open .hb-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.mobile-menu-open .hb-hamburger span:nth-child(2) {
    opacity: 0;
}

body.mobile-menu-open .hb-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hb-mobile-menu-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100001;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: var(--color-primary);
    color: var(--color-text, #333);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.hb-mobile-menu-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.hb-mobile-search {
    display: flex;
    background-color: var(--color-border);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hb-mobile-nav {
    background: var(--color-site-bg);
    flex: 1;

    span {
        color: color-mix(in srgb, var(--color-text) 90%, transparent);
    }
}

.hb-mobile-direct-link {
    display: block;
    border-bottom: 1px solid var(--color-border);
}

.accordion-label {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 500;
}

.mobile-footer {
    background: var(--color-primary);
    text-align: center;
}

.mobile-footer a {
    color: var(--color-site-bg);
    text-decoration: none;
}

body.mobile-menu-open {
    overflow: hidden;
}

.site-main {
    min-height: 100vh;
    background: var(--color-site-bg);
}

.components-wrap {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin: 8rem 0;
}

.header-padding-sides {
    padding: 0 1.5rem;
}

.header-padding {
    padding: 1rem 1.5rem;
}

.hb-mobile-search,
.hb-mobile-menu-panel .accordion-trigger,
.hb-mobile-direct-link,
.mobile-footer {
    padding: 1.5rem;
}

.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: inherit;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    transition: background 0.15s;
    margin-left: auto;
}

.header-search-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}

.site-alert-bar {
    background: var(--color-accent, #e74c3c);
    color: var(--color-site-bg, #fff);
    text-align: center;
    font-size: var(--size-p);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
}

.header-search-row {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--color-secondary);
    padding: 2.5rem 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-search-row.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.header-search-row .cs-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-body-overlay {
    position: fixed;
    inset: 0;
    background: rgba(80, 80, 80, 0.45);
    z-index: 898;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.search-body-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mega-body-overlay {
    position: fixed;
    inset: 0;
    background: rgba(80, 80, 80, 0.45);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.mega-body-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.bar-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    height: 36px;
    clip-path: inset(0 0 -60px 0);
}

.l2-top-secondary-nav {
    flex-grow: 1;
    height: 35px;
    display: flex;
    background: var(--color-primary);
    padding: 0 1.5rem;
    align-items: center;
    justify-content: flex-end;
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.bar-sticky.l2-scrolled .l2-top-secondary-nav {
    transform: translateY(-100%);
}

.sticky-btns {
    flex-shrink: 0;
    display: flex;
    height: 60px;
}

.l2-top-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1.4rem;
    font-size: .78rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    width: 200px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.l2-top-btn:hover {
    text-decoration: none;
}

.l2-top-btn--primary {
    background: var(--color-secondary);
    color: var(--color-site-bg);
    border-radius: 0 0 0 8px;
}

.l2-top-btn--primary:hover,
.l2-top-btn--secondary:hover {
    background: var(--color-site-bg);
    color: var(--color-text);
}

.l2-top-btn--primary:hover {
    border-left-color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
}

.l2-top-btn--secondary {
    background: var(--color-accent);
    color: var(--color-text);
}

.l2-top-btn--secondary:hover {
    border-right-color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.l2-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    z-index: 950;
}

.l2-nav {
    display: flex;
    margin-left: auto;
}

.l2-nav-trigger,
.l2-nav-link {
    display: flex;
    align-items: center;
    color: var(--color-text);
}

.l2-nav-trigger {
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    white-space: nowrap;
}

.l2-nav-link {
    text-decoration: none;
}

.site-nav-menu-mega>li.mega-is-open>.growing-underline::after {
    transform: scaleX(1);
}

.l2-chevron {
    font-size: 0.65rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.site-nav-menu-mega>li.mega-is-open .l2-chevron {
    transform: rotate(180deg);
}

.l2-mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    background: var(--color-site-bg, #fff);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.1),
        inset 0 8px 12px -8px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    display: flex;
    flex-direction: row;
    height: 420px;
}

.l2-mega-panel.is-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    z-index: 200;
}

.l2-mega-left {
    width: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    z-index: 10;
    margin-left: 10%;

    h2 {
        color: var(--color-primary);
    }
}

.l2-mega-right {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: start;
    max-width: 100%;
    margin-left: 8%;
}

.l2-mega-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: max-content;
    align-content: start;
    align-self: center;
    justify-items: start;
    row-gap: 1.25rem;
    column-gap: 10rem;
    font-weight: 500;
    font-size: 1.25rem;
}

.has-cards .l2-mega-links {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    margin-right: 8%;
}

.l2-mega-link {
    text-decoration: none;
    color: var(--color-text);
}

.l2-mega-link:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.l2-mega-card {
    background: var(--color-primary, #1a2e4a);
    color: var(--color-site-bg, #fff);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 32%;
}

.l2-mega-card--secondary {
    background: var(--color-secondary);
}

.l2-mega-card-img {
    width: 100%;
    overflow: hidden;
    flex: 1;
}

.l2-mega-card-img img {
    width: 100%;
    height: 100%;
    display: block;
}

.l2-mega-card-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    flex: 1;
    justify-content: space-between;
}

.l2-mega-card .page-hero-badge {
    font-size: 0.875rem;
    margin: 0;
}

.page-content {
    margin-bottom: 3rem;
}

.site-footer-top {
    background: var(--color-primary);
    color: var(--color-site-bg);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.site-footer {
    background: var(--color-border);
}

.site-footer-privacy {
    font-size: 0.875rem;
    padding: 0 .25rem;
}

.site-footer-bg-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 110%;
    width: auto;
    object-fit: contain;
    object-position: right center;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.site-footer-inner,
.site-footer-inner-bottom {
    position: relative;
    z-index: 1;
}

.site-footer-brand,
.site-footer-last {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo--mobile {
    display: none;
}

.site-footer-brand .custom-logo-link img,
.site-footer-brand .custom-logo {
    filter: brightness(0) invert(1);
    height: 60px;
    width: auto;
}

.site-footer-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quote {
    width: 30%;
    margin: auto;
    line-height: 1.7;
    text-align: center;
    align-items: center;
}

.quote .page-hero-badge {
    margin-bottom: 1.5rem;
    justify-content: center;
}

.site-footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-site-bg);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
    padding: .25rem 0;
    transition: opacity 0.15s;
}

.site-footer-address {
    color: var(--color-site-bg);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0.75rem 0 0;
}

.site-footer-contact-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

.site-footer-bottom {
    background: var(--color-border);
    color: var(--color-text);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer-inner,
.site-footer-inner-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    width: 75%;
    padding: 1rem 0;
    font-size: 0.95rem;
}

.site-footer-text {
    margin: 0;
}

.site-footer-inner--with-quicklinks {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    justify-content: start;
    justify-items: start;
    align-items: start;
    gap: 2rem 8rem;
}

.site-footer-col-heading {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
    color: var(--color-site-bg);
}

.site-footer-quicklinks-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer-quicklinks-list a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 2px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
    text-transform: none;
    text-decoration: none;
    color: var(--color-site-bg);
    white-space: nowrap;
}

.site-footer-quicklinks-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--color-accent);
    transform: scaleY(0.33);
    transform-origin: bottom;
    transition: transform 0.2s ease;
}

.site-footer-quicklinks-list a:hover::after {
    transform: scaleY(1);
}

.site-footer {
    margin: 0;
    font-size: var(--size-breadcrumb);
    color: var(--color-text);
    text-decoration: none;
}

.site-footer-social {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.cs-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    color: color-mix(in srgb, var(--color-border) 65%, transparent);
    transition: opacity 0.15s, border-color 0.15s, background 0.15s, color 0.15s;
}

.cs-social-icon:hover {
    color: var(--color-site-bg);
}

/* Circle style */
.cs-social-icon--circle {
    border-radius: 50%;
    border: 1.5px solid currentColor;
    opacity: 0.75;
}

.cs-social-icon--circle:hover {
    opacity: 1;
}

.site-footer-social .cs-social-icon--circle {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-border);
}

.site-footer-social .cs-social-icon--circle:hover {
    border-color: rgba(255, 255, 255, 0.9);
}

.forum-layout {
    display: flex;
    flex-direction: row;
    gap: 6rem;
    justify-content: space-evenly;
    width: 65%;
    margin: 8rem auto;
}

.forum-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 30%;
}

.forum-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 70%;
}

.forum-post-card {
    display: flex;
    gap: 0;
    background: var(--color-container-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 32px;
    transition: border-color 0.15s, box-shadow 0.15s;
    overflow: hidden;
}

.forum-post-card:hover {
    border-color: var(--color-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.forum-post-card.forum-post-full {
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
}

.forum-post-body {
    padding: 14px 16px;
    flex: 1;
    min-width: 0;
}

.forum-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 6px;
}

.forum-post-time {
    color: var(--color-text);
}

.forum-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
}

.forum-post-title a {
    text-decoration: none;
    color: var(--color-text);
}

.forum-post-title a:hover {
    color: var(--color-primary, #0073aa);
}

.forum-post-excerpt {
    font-size: 0.875rem;
    color: var(--color-text);
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.forum-post-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.forum-comment-link,
.forum-read-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    transition: background 0.12s, color 0.12s;
}

.forum-comment-link:hover,
.forum-read-link:hover {
    background: color-mix(in srgb, var(--color-border) 30%, var(--color-container-bg));
    color: var(--color-text);
}

.forum-comment-link .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.search-card-type {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary, #2563eb);
    background: color-mix(in srgb, var(--color-primary, #2563eb) 10%, transparent);
    padding: 2px 7px;
    border-radius: 4px;
}

.empty-state {
    background: var(--color-container-bg);
    border: 1px dashed var(--color-border);
    border-radius: 10px;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--color-text);
}

.empty-state .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    display: block;
    margin: 0 auto 0.75rem;
    color: var(--color-text);
}

.search-pagination {
    margin-top: 2.5rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--size-a);
    appearance: none;
    transition: opacity 0.15s;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
}

.search-pagination .page-numbers:hover,
.search-pagination .page-numbers.current {
    background: var(--color-border, #2563eb);
}

.flex-column {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.center {
    text-align: center;
    align-items: center;
}

.flex-row,
.flex-row-testimonial {
    display: flex;
    flex-direction: row;
    gap: var(--section-gap);
}


.top-padding {
    padding: 4rem 0;
}

.all-padding {
    padding: 4rem;
}

.cs-cta__inner {
    display: flex;
    align-items: center;
}

.cs-cta--light {
    background: var(--color-border);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.cs-cta--light .cs-cta__inner {
    flex-direction: column;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cs-cta--light .cs-cta__body {
    align-items: center;

    h2 {
        color: var(--color-primary);
    }
}

.cs-cta--dark {
    background: var(--color-primary);
    color: var(--color-site-bg);
    position: relative;
    overflow: hidden;
}

.cs-cta--dark .cs-cta__body {
    width: 65%;
}

.cs-cta--dark::before {
    background-image: linear-gradient(to right,
            rgba(255, 255, 255, 0.12), transparent) !important;
}

.cs-cta--dark .cs-cta__inner {
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.cs-full-width,
.cs-half-width,
.cs-wider-width,
.cs-component-header-narrow {
    margin: auto;
    transition: width 0.4s ease;
}

.cs-wider-width {
    width: 55%;
}

.cs-full-width {
    width: 72%;
}

.cs-half-width {
    width: 40%;
}

.cs-component-header-narrow {
    width: 60%;
}

.cs-video-wrap {
    width: 100%;
    max-width: 100%;
}

.cs-video-wrap iframe,
.cs-video-wrap embed,
.cs-video-wrap object {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.cs-text-block-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
    clear: both;
}

.cs-text-cols-2 .cs-component-content,
.cs-text-cols-3 .cs-component-content {
    column-gap: 2.5em;
    column-rule: 2px solid var(--border-color, #e0e0e0);
    orphans: 3;
    widows: 3;

    p {
        margin-top: 0;
    }
}

.cs-text-cols-2 .cs-component-content {
    column-count: 2;
}

.cs-text-cols-3 .cs-component-content {
    column-count: 3;
}

.cs-component-content {
    overflow-wrap: break-word;
}

.cs-component-content h2,
.cs-component-content h3,
.cs-component-content h4,
.cs-component-content h5,
.cs-component-content h6 {
    color: var(--color-primary);
}

.cs-component-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.cs-component-content .alignleft {
    float: left;
    margin: 0.25rem 1.5rem 1rem 0;
    max-width: 45%;
}

.cs-component-content .alignright {
    float: right;
    margin: 0.25rem 0 1rem 1.5rem;
    max-width: 45%;
}

.cs-component-content .aligncenter {
    display: block;
    margin: 0.75rem auto;
}

.cs-component-content .alignnone {
    display: block;
    margin: 0.5rem 0;
}

.cs-component-content li {
    margin-bottom: 0.75rem;
}

.cs-component-content ul li::marker {
    content: '●  ';
    color: var(--color-accent);
    font-size: 0.8em;
}

.component-fifty-fifty {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.component-fifty-fifty.ff--light {
    background: var(--color-site-bg);
    color: var(--color-text);

    h2 {
        color: var(--color-primary);
    }
}

.component-fifty-fifty.ff--dark {
    background: var(--color-primary);
    color: var(--color-site-bg);
}

.component-fifty-fifty.ff--dark.dots-ltr::before,
.component-fifty-fifty.ff--dark.dots-rtl::before {
    background-image: linear-gradient(to right,
            color-mix(in srgb, var(--color-site-bg) 12%, transparent), transparent);
    z-index: 0;
}

.component-fifty-fifty .ff-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 500px;
    position: relative;
    z-index: 1;
}

.component-fifty-fifty.ff--flip .ff-inner {
    flex-direction: row-reverse;
}

.component-fifty-fifty .ff-image-col {
    flex: 0 0 55%;
    position: relative;
}

.component-fifty-fifty .ff-image-col:has(.ff-profile-frame) {
    flex: 0 0 50%;
}

.component-fifty-fifty.ff--landscape .ff-image-col {
    display: flex;
    align-items: center;
}

.component-fifty-fifty.ff--landscape .ff-image-col img {
    width: 100%;
    border-radius: 6px;
    display: block;
    height: 580px;
    object-fit: cover;
}

.component-fifty-fifty.ff--extended .ff-image-col {
    padding: 0;
}

.component-fifty-fifty.ff--extended .ff-image-col img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.component-fifty-fifty.ff--landscape .flex-row,
.component-fifty-fifty.ff--edge .ff-edge-inner {
    gap: 4rem;
}

.component-fifty-fifty.ff--edge {
    overflow: visible;
}

.component-fifty-fifty.ff--edge .ff-edge-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 480px;
    width: 100%;
}

.component-fifty-fifty.ff--edge.ff--flip .ff-edge-inner {
    flex-direction: row-reverse;
}

.component-fifty-fifty.ff--edge .ff-edge-image-col {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
    align-self: center;
}

.component-fifty-fifty.ff--edge .ff-edge-image-col img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.component-fifty-fifty.ff--edge.ff--flip .ff-edge-text-col {
    padding: 3rem 4rem 4rem 17.5%;
}

.component-fifty-fifty.ff--edge .ff-edge-text-col .primary-button,
.component-fifty-fifty.ff--edge .ff-edge-text-col .secondary-button {
    align-self: flex-start;
    width: auto;
}

.ff-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-fifty-fifty.ff--light.ff--portrait:not(.ff--flip) {
    background: linear-gradient(to right, var(--color-border) 42%, var(--color-site-bg) 42%);
}

.component-fifty-fifty.ff--light.ff--portrait.ff--flip {
    background: linear-gradient(to left, var(--color-border) 42%, var(--color-site-bg) 42%);
}

.component-fifty-fifty.ff--portrait .ff-profile-frame {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 1rem;
}

.component-fifty-fifty.ff--portrait .ff-profile-frame img {
    width: 340px;
    max-width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.component-fifty-fifty.ff--portrait .ff-profile-frame::before,
.component-fifty-fifty.ff--portrait .ff-profile-frame::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 2;
}

.component-fifty-fifty.ff--portrait .ff-profile-frame::before {
    top: -10px;
    right: -10px;
    border-top: 10px solid var(--color-primary);
    border-right: 10px solid var(--color-primary);
}

.component-fifty-fifty.ff--portrait .ff-profile-frame::after {
    bottom: -10px;
    left: -10px;
    border-bottom: 10px solid var(--color-primary);
    border-left: 10px solid var(--color-primary);
}

.component-fifty-fifty.ff--dark.ff--portrait .ff-profile-frame::before,
.component-fifty-fifty.ff--dark.ff--portrait .ff-profile-frame::after {
    border-color: var(--color-secondary);
}

.component-fifty-fifty.ff--dark.ff--portrait.ff--flip .ff-profile-frame::before,
.component-fifty-fifty.ff--dark.ff--portrait.ff--flip .ff-profile-frame::after {
    border-color: var(--color-secondary);
}

.component-fifty-fifty .ff-text-col,
.component-fifty-fifty.ff--edge .ff-edge-text-col {
    display: flex;
    max-width: 35%;
    flex-direction: column;
    justify-content: center;
    gap: 0rem;
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.component-fifty-fifty .ff-text-col .primary-button,
.component-fifty-fifty .ff-text-col .secondary-button {
    align-self: flex-start;
    width: auto;
}

.component-page-intro::after {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: var(--pi-bg);
    background-size: contain;
    filter: blur(6px);
}

.component-page-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--color-primary) 90%, transparent);
    z-index: 1;
}

.pi-inner {
    position: relative;
    z-index: 3;

    h2 {
        margin-bottom: 0;
        font-size: 2.25rem;
    }
}

.pi-link {
    margin-top: 1.5rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    align-items: center;
}

.pi-link i {
    font-size: 2rem;
    color: var(--color-accent);
    transition: transform 0.2s ease;
}

.pi-link:hover i {
    transform: translateY(4px);
}

.component-post-list {
    padding: var(--section-pad, 4rem 0);
}

.pl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pl-view-all {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text);
    white-space: nowrap;
    padding-bottom: 4px;
}

.pl-view-all::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--color-accent);
    transform: scaleY(0.33);
    transform-origin: bottom;
    transition: transform 0.2s ease;
}

.pl-view-all:hover::after {
    transform: scaleY(1);
}

.pl-view-all--primary {
    a {
        color: var(--color-primary);
    }
}

.pl-view-all--primary::after {
    background: var(--color-accent);
}

.pl-view-all--site-bg {
    color: var(--color-site-bg);
}

.pl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.pl-card {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--color-secondary);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    line-height: 1;

    h4 {
        font-size: 1.2rem;
        margin: 0;
        flex: 1;
        color: var(--color-primary);
    }
}

.pl-card-date {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-site-bg);
    font-size: 0.875rem;
    padding: .5rem .75rem;
    margin-bottom: 1.5rem;
}

.pl-card-btn {
    text-decoration: none;
    margin-top: 1.5rem;
}

.btn-hover-ghost .pl-card:hover .pl-card-btn {
    opacity: 1;
    background: transparent;
    color: var(--color-accent);
}

.pl-empty {
    opacity: 0.6;
    font-style: italic;
}

.post-card,
.card-grid-item {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.post-card:hover,
.card-grid-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

a.card-grid-item--linked {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card-grid-title {
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
    margin: 0;
}

.custom-logo {
    height: 89px;
    width: auto;
}

.header-desktop-one .custom-logo {
    height: 70px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-container-bg);
    color: var(--color-text);
    border-top: 4px solid var(--color-secondary);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    z-index: 9999999;
    padding: 1.25rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner--hidden {
    transform: translateY(100%);
}

.cookie-banner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cookie-banner-logo a {
    display: block;
    line-height: 0;
}

.cookie-banner-logo img,
.cookie-banner-logo .custom-logo {
    height: 80px;
    width: auto;
    display: block;
}

.cookie-banner-text {
    flex: 1;
    min-width: 200px;
}

.cookie-banner-body {
    margin: 0;
    color: color-mix(in srgb, var(--color-text) 90%, transparent);
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cs-component-title {
    color: var(--color-primary);
    font-weight: bold;
    margin: 1rem 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(var(--card-cols, 3), 1fr);
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.card-grid-item {
    display: flex;
    flex-direction: column;
}

.card-grid-image {
    aspect-ratio: 4 / 3;
    background: var(--color-primary);
    overflow: hidden;
    margin: 0;
    height: 240px;
}

.card-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bio-card-image {
    aspect-ratio: 4 / 5;
    background: var(--color-primary);
    overflow: hidden;
    margin: 0;
}

.bio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.card-grid-item--bio {
    border: none;
    border-radius: 0;
    background: transparent;
}

.card-grid-item.card-grid-item--bio:hover {
    box-shadow: none;
    background: transparent;
    cursor: default;
}

.bio-subline {
    font-size: 1rem;
    margin: 0;
}

.card-grid-item--bio .card-grid-image {
    height: auto;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
}

.card-grid-item--bio .card-grid-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-grid-item--bio .card-grid-body {
    padding: 1rem 0 0;
}

.card-grid-item--text {
    position: relative;
}

.card-grid-item--text::before {
    content: '';
    display: block;
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(to right,
            var(--color-primary) 0 33.4%,
            var(--color-secondary) 0 66.7%,
            var(--color-tertiary) 0 100%);
}

.card-grid-body {
    padding: 2.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;

    h4 {
        color: var(--color-primary);
    }
}

.card-grid-text {
    flex: 1;
    margin-bottom: 1.25rem;
}

.card-grid-body>.pl-card-btn {
    margin-top: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--gallery-cols, 3), 1fr);
    gap: var(--section-gap);
}

.gallery-item {
    margin: 0;
}

.gallery-item-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.gallery-item figcaption {
    font-size: 0.875rem;
    color: var(--color-text-muted, #6b7280);
    line-height: 1.4;
    margin: 0.5rem 0 0;
}


.component-full {
    width: 100%;
    position: relative;
    background-color: var(--color-primary);
    overflow: hidden;
    color: var(--color-site-bg);
}

.component-page-intro {
    padding: 4rem 0 3rem 0;
    min-height: 400px;
}

.component-full.dots-ltr::before,
.component-full.dots-ttb::before {
    background-image: linear-gradient(to right,
            color-mix(in srgb, var(--color-site-bg) 8%, transparent), transparent);
}

.testimonial-text {
    font-weight: 700;
    margin: 1.5rem 0 0 0;
    text-transform: uppercase;
}

.testimonial-image {
    flex-shrink: 0;
    width: 268px;
    height: 328px;
    overflow: hidden;
    border-radius: 10px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-body {
    flex: 1;
    gap: 2.5rem;
    padding: 2rem;
    width: 100%;
}

.testimonial-quote-mark {
    font-size: 3rem;
    color: var(--color-accent);
    line-height: 1;
    flex-shrink: 0;
}

.testimonial-content-wrap {
    flex: 1;
}

.testimonial-content {
    color: var(--color-site-bg);
    margin: 0 0 1.5rem 0;
}

.testimonial-body .page-hero-badge {
    color: var(--color-site-bg);
}

.center .page-hero-badge {
    justify-content: center;
}

.center .card-grid-body .page-hero-badge,
.tabs-panel-content .page-hero-badge {
    justify-content: start;
}

.component-tabs {
    padding: 3rem 0;
}

.tabs-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    background: var(--color-primary);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.tabs-tab {
    padding: 1.25rem 2.75rem;
    cursor: pointer;
    font-size: var(--size-p);
    font-weight: 700;
    border: none;
    background: var(--color-primary);
    color: var(--color-site-bg, #333);
    transition: color .15s, border-color .15s, background .15s;
    white-space: nowrap;
}

.tabs-tab:hover:not(.is-active) {
    color: var(--color-primary, #1a4c6e);
    background: var(--color-site-bg);
}

.tabs-tab.is-active {
    color: var(--color-primary, #1a4c6e);
    background: var(--color-site-bg);
}

.component-tabs--left .tabs-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
}

.component-tabs--left .tabs-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    border-bottom: none;
    border-right: 2px solid var(--color-primary, #1a4c6e);
    flex-shrink: 0;
    width: 200px;
}

.component-tabs--left .tabs-tab {
    text-align: left;
    border-bottom: none;
    border-right: 3px solid transparent;
    margin-bottom: 0;
    margin-right: -2px;
    padding: 0.65rem 1.1rem;
    white-space: normal;
}

.component-tabs--left .tabs-tab.is-active {
    border-bottom-color: transparent;
    border-right-color: var(--color-primary, #1a4c6e);
}

.tabs-panels {
    flex: 1;
    min-width: 0;
    padding: 1.5rem;
}

.tabs-panel {
    display: none;
}

.tabs-panel.is-active {
    display: block;
}

.tabs-panel-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.tabs-panel-inner--no-image {
    display: block;
}

.tabs-panel-image {
    flex-shrink: 0;
    width: 180px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
}

.tabs-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.tabs-panel-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.tabs-panel-title {
    font-size: var(--size-h3, 1.4rem);
    color: var(--color-primary, #1a4c6e);
    margin-top: 0;
}

.tabs-panel-content>*:first-child {
    margin-top: 0;
}

.tabs-panel-content>*:last-child {
    margin-bottom: 0;
}

.tabs-stack-btn {
    display: none;
}

.component-accordion .page-hero-badge {
    justify-content: center;
    margin-bottom: 0.75rem;
}

.acc-view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.acc-controls {
    margin: 2rem 0 1rem 0;
    text-align: center;
}

.acc-expand-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--color-primary);
}

.accordion {
    border-top: 2px solid var(--color-border);
}

.accordion-item {
    border-bottom: 2px solid var(--color-border);
    transition: background-color 0.2s ease;
}

.hb-mobile-menu-panel .accordion-trigger {
    font-weight: 500;
}

.hb-mobile-menu-panel .accordion-content {
    padding: 0 1.75rem 1.75rem 1.75rem;
}

.hb-mobile-menu-panel .accordion-content a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.15s;
    font-size: var(--size-p);
    font-weight: bold;
}

.accordion-icon {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.accordion-icon:hover,
.accordion-trigger:hover .accordion-icon {
    opacity: 1;
}

.acc-expand-all i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-expand-all.is-expanded i {
    transform: rotate(45deg);
}

.accordion-icon {
    position: relative;
}

.accordion-icon .icon-plus,
.accordion-icon .icon-minus {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.accordion-icon .icon-minus {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon .icon-plus {
    opacity: 0;
    transform: rotate(90deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon .icon-minus {
    opacity: 1;
    transform: rotate(0deg);
}

.accordion-panel {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
    color: var(--color-text);
}

.accordion-content {
    font-size: var(--size-a);
    padding: 1.5rem 4rem 2.5rem 4rem;
    text-align: left;
}

ol,
ul {
    line-height: 1.8;
}

.accordion-item:has(.is-open):not(#hb-mobile-accordion .accordion-item) {
    background: var(--color-border);
}

.accordion-panel.is-open {
    height: 100%;
}

.accordion-content a {
    text-decoration: none;
}

.component-table {
    padding: var(--section-padding) 0;
}

.component-table .table-title {
    margin-bottom: 1rem;
}

.component-table .cs-component-content {
    margin-bottom: 1.5rem;
    color: var(--color-body);
}

.component-table .cs-component-content:last-child {
    margin-bottom: 0;
    margin-top: 1.5rem;
}

.cs-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.cs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    text-align: left;
    font-size: 1rem;
}

.cs-table thead {
    background: var(--color-primary);
    color: var(--color-site-bg);
}

.cs-table th {
    padding: 1.5rem 2rem;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
}

.cs-table td {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--color-border, #e5e7eb);
    vertical-align: middle;
}

.cs-table tbody tr:nth-child(even) {
    background: var(--color-border, #f9fafb);
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    border: none;
    padding: 1rem 1.75rem;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.primary-button i,
.secondary-button i {
    font-size: 16px;
}

.primary-button:hover,
.secondary-button:hover {
    opacity: 0.88;
}

.primary-button {
    --btn-color: var(--color-primary);
    background: var(--btn-color);
    color: var(--color-site-bg);
}

.site-header-buttons .primary-button {
    --btn-color: var(--color-secondary);
}

.secondary-button {
    --btn-color: var(--color-accent);
    background: var(--btn-color);
    color: color-mix(in srgb, var(--color-text) 70%, black);
}

.btn-hover-ghost .primary-button,
.btn-hover-ghost .secondary-button,
.primary-button.btn-ghost,
.secondary-button.btn-ghost {
    border: 2px solid var(--btn-color);
    transition: background 0.2s, color 0.2s;
}

.btn-hover-ghost .primary-button:hover,
.btn-hover-ghost .secondary-button:hover,
.primary-button.btn-ghost:hover,
.secondary-button.btn-ghost:hover {
    background: transparent;
    color: var(--btn-color);
    opacity: 1;
}

.component-text-block .cs-component-content .primary-button::after,
.component-text-block .cs-component-content .secondary-button::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f061';
    font-size: 0.875em;
    margin-left: 0.3em;
}

.arrow-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding-bottom: 2px;
    text-decoration: none;
    color: var(--color-text);
}

.arrow-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--color-accent);
    transform: scaleY(0.33);
    transform-origin: bottom;
    transition: transform 0.2s ease;
}

.arrow-link:hover::before {
    transform: scaleY(1);
}

.arrow-link::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f061';
    font-size: 0.875em;
    color: var(--color-accent);
}

.large-paragraph {
    font-size: 1.2em;
    line-height: 1.7;
}

img.img-float-left {
    float: left;
    margin: 0 1.5rem 1rem 0;
    max-width: 50%;
}

img.img-float-right {
    float: right;
    margin: 0 0 1rem 1.5rem;
    max-width: 50%;
}

img.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    background: var(--color-accent);
    border: 2px solid var(--color-accent);
    color: var(--color-site-bg);
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    transition: opacity 0.15s;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.btn-square:hover,
.l2-mega-card-body:hover .btn-square,
.card-grid-item:hover .btn-square {
    opacity: 0.88;
}

.card-grid-item:hover {
    background: var(--color-border);
}

.btn-hover-ghost .btn-square {
    transition: background 0.2s, color 0.2s;
}

.l2-mega-card-body:hover .btn-square,
.btn-hover-ghost .btn-square:hover,
.btn-hover-ghost .card-grid-item:hover .btn-square {
    opacity: 1;
    background: transparent;
    color: var(--color-accent);
}

.field-input {
    width: 100%;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--color-text);
    background: var(--color-site-bg);
    line-height: 1.5;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    height: auto;
    box-shadow: none;
    box-sizing: border-box;
}

.field-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.field-input.is-invalid {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-error) 8%, transparent);
}

.field-textarea {
    resize: vertical;
}

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

.auth-error,
.cs-form-error {
    background: color-mix(in srgb, var(--color-error) 8%, var(--color-container-bg));
    border: 1px solid color-mix(in srgb, var(--color-error) 30%, transparent);
    border-left: 3px solid var(--color-error);
    border-radius: 8px;
    color: var(--color-error);
    line-height: 1.5;
}

.auth-success,
.cs-form-success {
    background: color-mix(in srgb, var(--color-success) 8%, var(--color-container-bg));
    border: 1px solid color-mix(in srgb, var(--color-success) 30%, transparent);
    border-left: 3px solid var(--color-success);
    border-radius: 8px;
    color: var(--color-success);
    line-height: 1.5;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.cs-recaptcha-notice {
    font-size: 0.875rem;
    color: color-mix(in srgb, var(--color-text) 55%, transparent);
    margin-top: 0.75rem;
    line-height: 1.5;
    text-align: center;
}

.cs-recaptcha-notice a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.15s;
}

.cs-recaptcha-notice a:hover {
    color: var(--color-primary);
}

.cs-search-wrap {
    display: flex;
    flex: 1;
    max-width: 55%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-container-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cs-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.55rem;
    font-size: 1rem;
    color: var(--color-text);
    background: transparent;
    font-family: inherit;
    min-width: 0;
}

.cs-search-input::placeholder {
    color: color-mix(in srgb, var(--color-text) 50%, transparent);
}

.cs-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--color-accent);
    color: var(--color-text);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.15s;
    border-radius: 10px;
    width: 4rem;
    font-size: 1rem;
}

.cs-search-btn:hover {
    opacity: 0.88;
}

.btn-hover-ghost .cs-search-btn {
    border: 2px solid var(--color-accent);
    transition: background 0.2s, color 0.2s;
}

.btn-hover-ghost .cs-search-btn:hover {
    background: transparent;
    color: var(--color-accent);
    opacity: 1;
}

.card {
    background: var(--color-container-bg);
    border: 1px solid var(--color-container-bg);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 2rem;
}

.post-hero,
.page-hero {
    background-color: var(--color-border);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 10px 20px -6px rgba(0, 0, 0, 0.12);
    min-height: 440px;
}

.post-hero::before,
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle,
            color-mix(in srgb, var(--color-primary) 20%, transparent) 1px,
            transparent 1px);
    background-size: 22px 22px;
    background-position: center top;
    filter: blur(.8px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 85%);
    pointer-events: none;
    z-index: 0;
}

.page-breadcrumb-bar {
    background: var(--color-tertiary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    width: 100%;
    padding: 0.4rem 1.5rem;
}

.page-breadcrumb-bar-inner {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--size-breadcrumb, 0.875rem);
    font-weight: 500;
    color: var(--color-text);
}

.page-breadcrumb-bar-inner a {
    color: var(--color-text);
    font-size: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.page-breadcrumb-bar-inner a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.page-breadcrumb-bar-inner .bc-home:hover {
    text-decoration: underline;
}

.page-breadcrumb-bar-inner .bc-sep {
    opacity: 0.45;
    margin: 0 0.15rem;
    flex-shrink: 0;
}

.page-breadcrumb-bar-inner .bc-home {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.page-breadcrumb-bar-inner .bc-home i {
    font-size: 0.875rem;
    margin-right: 0.35em;
}

.page-hero-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-dark-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.875rem;
    color: color-mix(in srgb, var(--color-text) 80%, transparent);
}

.profile-dark-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dm-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    background: var(--color-border);
    border-radius: 12px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.dm-switch::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.profile-dark-toggle input:checked~.dm-switch {
    background: var(--color-text);
}

.profile-dark-toggle input:checked~.dm-switch::after {
    transform: translateX(20px);
}

html.dark-mode .auth-title,
html.dark-mode .cs-verify-heading {
    color: #f3f4f6;
}

html.dark-mode .auth-subtitle,
html.dark-mode .profile-hint,
html.dark-mode .profile-optional,
html.dark-mode .auth-switch {
    color: #9ca3af;
}

html.dark-mode .auth-field label,
html.dark-mode .profile-section-label,
html.dark-mode .profile-dark-toggle,
html.dark-mode .profile-checkbox-label,
html.dark-mode .auth-site-name {
    color: #d1d5db;
}

html.dark-mode .field-input {
    background: #1a1a1a;
    border-color: #333;
    color: #e5e7eb;
}

html.dark-mode .field-input:focus {
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.15);
}

html.dark-mode .profile-divider {
    border-top-color: #2a2a2a;
}

html.dark-mode .auth-toggle-pw {
    color: #6b7280;
}

html.dark-mode .auth-toggle-pw:hover {
    color: #d1d5db;
}

html.dark-mode .auth-error {
    background: #1f0a0a;
    border-color: #7f1d1d;
    color: #fca5a5;
}

html.dark-mode .auth-success {
    background: #052e16;
    border-color: #14532d;
    color: #86efac;
}

html.dark-mode .profile-avatar {
    border-color: #333;
    background: #1a1a1a;
}

html.dark-mode .auth-submit {
    background: #374151;
}

html.dark-mode .auth-submit:hover:not(:disabled) {
    background: #4b5563;
}

html.dark-mode .auth-switch a {
    color: #d1d5db;
}

html.dark-mode .dm-switch {
    background: #374151;
}

html.dark-mode .profile-dark-toggle input:checked~.dm-switch {
    background: #6b7280;
}

html.dark-mode .card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.dots-ltr::before,
.dots-rtl::before,
.dots-ttb::before {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-size: unset;
    background-position: unset;
    filter: none;
}

.dots-ltr::before {
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background-image: linear-gradient(to right,
            color-mix(in srgb, var(--color-primary) 5%, transparent), transparent);
    mask-image: url('assets/image/dots-1.png');
    mask-size: auto 14px;
    mask-repeat: repeat-y;
}

.dots-rtl::before {
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: linear-gradient(to right,
            color-mix(in srgb, var(--color-primary) 5%, transparent), transparent);
    mask-image: url('assets/image/dots-1.png');
    mask-size: auto 14px;
    mask-repeat: repeat-y;
    transform: scaleX(-1);
}

.dots-ttb::before {
    top: 50%;
    left: 50%;
    width: 800px;
    height: 100vw;
    background-image: linear-gradient(to right,
            color-mix(in srgb, var(--color-primary) 5%, transparent), transparent);
    mask-image: url('assets/image/dots-1.png');
    mask-size: auto 16px;
    mask-repeat: repeat-y;
    transform-origin: center center;
    transform: translate(-50%, -50%) rotate(90deg);
}

hr {
    background-color: initial;
    border: 0;
    border-bottom: 2px solid var(--color-accent);
    margin: 4rem auto;
    width: 100%;
}

.card-grid-item--icon {
    text-align: center;
}

.card-grid-item--icon .card-grid-body {
    align-items: center;
}

.card-grid-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
    font-size: 1.5rem;
    margin: 2rem auto 0;
    flex-shrink: 0;
}

.cs-alert {
    border-width: 2px 2px 2px 15px;
    border-style: solid;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.cs-alert__row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.cs-alert__icon {
    flex-shrink: 0;
    font-size: var(--size-h4);
    margin-top: 2px;
}

.cs-alert__body {
    flex: 1;
    min-width: 0;
}

.cs-alert__title {
    font-weight: 700;
    margin: 0;
    font-size: var(--size-h4);
}

.cs-alert__text {
    margin: 0;

    p {
        margin: .5rem 0 1rem 0;
    }

    a {
        color: inherit;
        text-decoration: underline;
    }
}

.cs-alert__dismiss {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    color: inherit;
}

.cs-alert__btn-wrap--bottom {
    margin-top: 14px;
    text-align: center;
}

.cs-alert__btn-wrap--inline {
    flex-shrink: 0;
    align-self: center;
}

.cs-alert__btn-wrap--inline.has-dismiss {
    margin-right: 28px;
}

.cs-alert__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-site-bg);
}

@media (max-width: 1500px) {
    .cs-half-width {
        width: 48%;
    }

    .cs-full-width {
        width: 80%;
    }

    .cs-wider-width {
        width: 68%;
    }

    .l2-mega-left,
    .l2-mega-right {
        margin-left: 5%;
    }
}

@media (max-width: 1350px) {

    .site-nav-menu-mega,
    .header-row,
    .site-nav-menu-secondary {
        gap: .95rem;
    }

    .l2-nav-trigger,
    .l2-nav-link {
        font-size: 1.05rem;
        gap: 0.2rem;
    }

    .cs-half-width {
        width: 53%;
    }

    .cs-full-width {
        width: 85%;
    }

    .cs-wider-width {
        width: 76%;
    }
}

@media (max-width: 1200px) {
    .cs-half-width {
        width: 58%;
    }

    .cs-full-width {
        width: 90%;
    }

    .cs-wider-width {
        width: 85%;
    }

    .cs-search-wrap {
        max-width: 80%;
    }

    .hb-mobile-search .cs-search-wrap {
        max-width: 100%;
    }

    .header-desktop-one,
    .bar-sticky,
    .l2-main-header,
    .header-search-row,
    .search-body-overlay,
    .mega-body-overlay {
        display: none !important;
    }

    .mobile-header {
        display: flex;
    }

    .page-breadcrumb-bar-inner {
        width: 100%;
    }

    .site-header-buttons .primary-button,
    .site-header-buttons .secondary-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1140px) {
    .cs-wider-width {
        width: 90%;
    }

    .post-hero,
    .page-hero {
        min-height: 460px;
    }

    .testimonial-body {
        padding: 0;
    }

    .card-grid,
    .pl-grid,
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-bar .header-desktop-one,
    .admin-bar .bar-sticky {
        top: 46px;
    }

    .footer-logo--desktop {
        display: none;
    }

    .footer-logo--mobile {
        display: block;
    }

    .cookie-banner-actions,
    .forum-sidebar,
    .forum-feed,
    .site-footer-last,
    .site-footer-brand {
        width: 100%;
    }

    .cookie-banner-actions .primary-button,
    .cookie-banner-actions .secondary-button {
        flex: 1;
        justify-content: center;
    }

    .cookie-banner {
        padding: 1rem;
    }

    .quote,
    .cs-component-header-narrow {
        width: 75%;
    }

    .forum-layout,
    .site-footer-inner,
    .site-footer-inner-bottom {
        width: 90%;
        gap: 1rem;
    }

    .forum-layout {
        flex-direction: column;
    }
}

@media (max-width: 1000px) {
    h1 {
        font-size: calc(var(--size-h1) * 0.85);
    }

    h2 {
        font-size: calc(var(--size-h2) * 0.85);
    }

    h3 {
        font-size: calc(var(--size-h3) * 0.85);
    }

    h4 {
        font-size: calc(var(--size-h4) * 0.85);
    }

    h5 {
        font-size: calc(var(--size-h5) * 0.85);
    }

    .pl-grid,
    .card-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cs-half-width {
        width: 70%;
    }
}

@media (max-width: 900px) {
    .cs-half-width {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .cs-search-wrap {
        max-width: 100%;
        width: 100%;
    }

    .component-fifty-fifty .ff-text-col,
    .component-fifty-fifty.ff--edge .ff-edge-text-col {
        max-width: 100%;
        padding: 1rem 0 0 0;
        order: 1;
    }

    .header-padding,
    .hb-mobile-search {
        padding: 0.9rem;
    }

    .cs-half-width {
        width: 90%;
    }

    .all-padding {
        padding: 2.5rem;
    }

    .component-fifty-fifty .ff-image-col {
        flex: none;
        width: 100%;
        order: -1;
        min-height: 280px;
    }

    .component-fifty-fifty.ff--light.ff--portrait:not(.ff--flip),
    .component-fifty-fifty.ff--light.ff--portrait.ff--flip {
        background: linear-gradient(to bottom, var(--color-border) 38%, var(--color-site-bg) 38%);
    }

    .component-fifty-fifty.ff--landscape .ff-image-col img {
        min-height: 260px;
        border-radius: 0;
        height: unset;
    }

    .component-fifty-fifty.ff--edge .ff-edge-image-col img {
        width: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .component-fifty-fifty.ff--dark.dots-ltr::before,
    .component-fifty-fifty.ff--dark.dots-rtl::before,
    .component-fifty-fifty.ff--light.ff--portrait.dots-ltr::before,
    .component-fifty-fifty.ff--light.ff--portrait.dots-rtl::before {
        top: 25%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: 800px;
        height: 100vw;
        transform: translate(-50%, -50%) rotate(90deg);
        transform-origin: center center;
    }

    .site-footer-inner {
        flex-direction: column;
        gap: 2.5rem;
    }

    .site-footer-inner-bottom,
    .site-header-buttons,
    .component-fifty-fifty .flex-row,
    .component-fifty-fifty.ff--landscape .flex-row,
    .component-fifty-fifty.ff--edge .ff-edge-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .border-bottom {
        border-bottom: 1px solid var(--color-secondary);
        padding-bottom: 1rem;
    }

    .site-footer-inner--with-quicklinks {
        grid-template-columns: 1fr;
    }

    .site-footer-brand {
        border-bottom: 1px solid var(--color-secondary);
        padding-bottom: 2.5rem;
    }

    .component-tabs .tabs-nav {
        display: none;
    }

    .component-tabs .tabs-panels {
        padding: 0;
        border-radius: 10px 10px 0 0;
        overflow: hidden;
    }

    .tabs-stack-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 1.1rem 1.25rem;
        background: var(--color-primary);
        color: #fff;
        font-size: var(--size-p);
        font-weight: 600;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        cursor: pointer;
        text-align: left;
    }

    .tabs-stack-btn::after {
        content: '+';
        font-size: 1.25rem;
        line-height: 1;
        flex-shrink: 0;
        margin-left: 0.75rem;
    }

    .tabs-stack-btn.is-active::after {
        content: '−';
    }

    .tabs-panel.is-active {
        padding: 1.25rem;
    }

    .component-fifty-fifty.ff--edge .ff-edge-image-col {
        width: 100%;
        flex: none;
        min-height: 260px;
        order: -1;
    }

    .component-fifty-fifty.ff--edge .ff-edge-image-col,
    .component-fifty-fifty.ff--edge .ff-edge-text-col {
        width: 90%;
        margin: auto;
    }

    .quote,
    .cs-component-header-narrow {
        width: 90%;
    }

    .pl-card {
        h4 {
            margin: 1.15rem 0;
            line-height: 1.5;
        }
    }

    .flex-row-testimonial {
        flex-direction: column;
        gap: 2rem;
    }

    .testimonial-image {
        width: 268px;
        height: auto;
        margin: 0 auto;
    }

    .testimonial-image img {
        height: auto;
    }

    .component-full.dots-ltr::before {
        top: 40%;
        left: 50%;
        width: 800px;
        height: 100vw;
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .cs-cta__inner {
        flex-direction: column;
    }

    .cs-cta--dark .cs-cta__body,
    .cs-cta--dark .cs-cta__inner {
        width: 100%;
        align-items: start;
    }

    .card-grid-body {
        padding: 1.5rem;
    }

    .cs-table-wrapper {
        overflow-x: hidden;
    }

    .cs-table {
        table-layout: fixed;
    }

    .cs-table th {
        white-space: normal;
        word-break: break-word;
    }

    .component-page-intro {
        padding: 2rem 0 1.5rem;
        min-height: 200px;
    }
}

@media (max-width: 660px) {
    h1 {
        font-size: calc(var(--size-h1) * 0.8);
    }

    h2 {
        font-size: calc(var(--size-h2) * 0.8);
    }

    h3 {
        font-size: calc(var(--size-h3) * 0.8);
    }

    h4 {
        font-size: calc(var(--size-h4) * 0.8);
    }

    h5 {
        font-size: calc(var(--size-h5) * 0.8);
    }

    .pl-header {
        flex-direction: column;
        gap: .75rem;
        align-items: start;
    }

    .component-fifty-fifty .ff-text-col,
    .component-fifty-fifty.ff--edge .ff-edge-text-col {
        padding: 0.75rem;
    }

    .cs-cta--dark.dots-rtl::before {
        top: 50%;
        left: 50%;
        right: auto;
        width: 800px;
        height: 100vw;
        transform-origin: center center;
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .pl-grid,
    .card-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-top {
        padding: 1.5rem 0;
    }

    .l2-mega-inner {
        height: auto;
    }

    .components-wrap,
    .forum-layout {
        gap: 4rem;
        margin: 4rem auto;
    }

    .cs-text-cols-2 .cs-component-content,
    .cs-text-cols-3 .cs-component-content {
        column-count: 1;
    }

    .cs-component-content .alignleft,
    .cs-component-content .alignright {
        float: none;
        max-width: 100%;
        margin: 0 0 1rem;
    }

    .cslb-img-wrap {
        padding: 3.5rem 1rem 0.5rem;
    }

    .cslb-footer {
        padding: 0.75rem 1rem;
    }

    .cslb-next,
    .cslb-prev {
        right: 0.375rem;
    }

    .post-hero,
    .page-hero {
        min-height: 360px;
    }

    .component-tabs--left .tabs-nav {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 2px solid var(--color-primary, #1a4c6e);
        width: 100%;
    }

    .component-tabs--left .tabs-tab {
        border-right: none;
        border-bottom: 3px solid transparent;
        margin-right: 0;
        margin-bottom: -2px;
    }

    .component-tabs--left .tabs-tab.is-active {
        border-right-color: transparent;
        border-bottom-color: var(--color-primary, #1a4c6e);
    }

    .tabs-panel-inner,
    .component-tabs--left .tabs-layout {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {

    .cs-full-width,
    .component-fifty-fifty.ff--edge .ff-edge-image-col,
    .component-fifty-fifty.ff--edge .ff-edge-text-col {
        width: 85%;
    }
}