/* ==========================================================================
   01. GLOBAL BASE & CORE UTILITIES
   ========================================================================== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.solwise-richtext {
    white-space: pre-line;
    line-height: 1.7;
}

.has-primary-gradient-end-color, 
.gb-highlight {
    background: linear-gradient(90deg, #9E004C 0%, #CC352E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta-desc-agents a {
    text-decoration: none;
}

/* ==========================================================================
   02. SOLWISE — HEADER
   ========================================================================== */
.solwise-header {
    width: 100%;
    box-sizing: border-box;
}

/* inner flex row is a core block group (there is no __inner class) — keep on one row */
.solwise-header > .wp-block-group {
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
    padding-left: 16px;
}

/* logo is the WordPress Site Logo */
.solwise-header .custom-logo {
    width: 140px;
    height: auto;
    display: block;
}

/* tagline is a GB headline (there is no __tagline class) */
.solwise-header .gb-headline {
    color: var(--wp--preset--color--font-third);
    font-size: 14px;
    line-height: 1.4;
}

/* the CTA class sits ON the button span itself */
.solwise-header__cta {
    transition: all 0.2s ease;
    white-space: nowrap;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #9E004C, #CC352E) border-box;
    background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent !important;
    
}
.solwise-header__cta:hover,
.solwise-header__cta:focus {
    background: linear-gradient(135deg, #9E004C 0%, #CC352E 100%);
    color: #ffffff !important;
    border: 2px solid transparent !important;
    
}
.solwise-button-glb a{
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #9E004C, #CC352E) border-box;
    background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent !important;
}
.solwise-button-glb a:hover{
    background: linear-gradient(135deg, #9E004C 0%, #CC352E 100%);
    color: #ffffff !important;
    border: 2px solid transparent !important;
}
.solwise-header__cta.label-short { display: none; }

/* ==========================================================================
   03. SOLWISE — HERO (HOMEPAGE)
   ========================================================================== */
.solwise-hero {
    width: 100%;
    box-sizing: border-box;
}

.solwise-hero__inner {
    max-width: 1024px;
    margin: 0 auto;
}

.solwise-hero__icon {
    width: 100px;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.solwise-hero__eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--wp--preset--color--font-primary);
}

.solwise-hero__headline {
    margin: 0;
    line-height: 1.15;
    max-width: 880px;
    color: var(--wp--preset--color--font-primary);
}

.solwise-hero__subtitle {
    margin: 0;
    max-width: 600px;
    color: var(--wp--preset--color--font-third);
    line-height: 1.6;
}

.solwise-hero__subtitle strong {
    font-weight: 600;
    color: var(--wp--preset--color--font-primary);
}

.solwise-hero__scroll {
    margin-top: 30px;
}

.solwise-hero__scroll-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--wp--preset--color--shadow);
    border-radius: 50%;
    background-color: var(--wp--preset--color--background);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.solwise-hero__scroll-arrow-img {
    display: block;
    width: 36px;
    height: auto;
    transition: opacity 0.2s ease;
}

.solwise-hero__scroll-button:hover,
.solwise-hero__scroll-button:focus {
    border-color: var(--wp--preset--color--primary);
    background-color: var(--wp--preset--color--background);
    outline: none;
}

.solwise-hero__scroll-button:hover .solwise-hero__scroll-arrow,
.solwise-hero__scroll-button:focus .solwise-hero__scroll-arrow {
    border-color: var(--wp--preset--color--primary-gradient-end);
}

@keyframes solwise-hero-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.solwise-hero__scroll-button .solwise-hero__scroll-arrow-img {
    animation: solwise-hero-bounce 2s ease-in-out infinite;
}


/* ==========================================================================
   04. SOLWISE — SECTION INTRO BLOCK
   ========================================================================== */
.solwise-section-intro {
    width: 100%;
    box-sizing: border-box;
}

.solwise-section-intro__inner {
    max-width: 1024px;
    margin: 0 auto;
}

.solwise-section-intro__eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--wp--preset--color--font-primary);
}

.solwise-section-intro__headline {
    margin: 0;
    line-height: 1.2;
    max-width: 880px;
    color: var(--wp--preset--color--font-primary);
}

.solwise-section-intro__subtitle {
    margin: 0;
    max-width: 720px;
    color: var(--wp--preset--color--font-third);
    line-height: 1.6;
}


/* ==========================================================================
   05. SOLWISE — TAG FILTER PILLS
   ========================================================================== */
.solwise-tag-pills {
    width: 100%;
    box-sizing: border-box;
}

.solwise-tag-pills__inner {
    max-width: 1270px;
    margin: 0 auto;
}

.solwise-tag-pills__heading {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wp--preset--color--font-primary);
}

.solwise-tag-pills__list {
    margin: 0;
    max-width: 500px;
}

.solwise-tag-pills__pill,
.solwise-tag-pills__pill.gb-button {
    cursor: default !important;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: none;
}

.solwise-tag-pills__pill:hover,
.solwise-tag-pills__pill:focus,
.solwise-tag-pills__pill.gb-button:hover,
.solwise-tag-pills__pill.gb-button:focus {
    background-color: var(--wp--preset--color--background) !important;
    color: var(--wp--preset--color--font-primary) !important;
    border-color: var(--wp--preset--color--shadow) !important;
    transform: none !important;
}


/* ==========================================================================
   06. SOLWISE — CTA BANNER
   ========================================================================== */
.solwise-cta-banner {
    width: 100%;
    box-sizing: border-box;
}

.solwise-cta-banner__inner {
    max-width: 1270px;
    margin: 0 auto;
}

.solwise-cta-banner__headline {
    margin: 0;
    color: var(--wp--preset--color--font-primary);
    line-height: 1.2;
}

.solwise-cta-banner__headline .solwise-highlight {
    color: var(--wp--preset--color--primary-gradient-end);
}

.solwise-highlight--gradient {
    background: linear-gradient(90deg, #9E004C 0%, #CC352E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.solwise-cta-banner__subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: var(--wp--preset--color--font-third);
}

.solwise-cta-banner__buttons {
    margin-top: 8px;
}

.solwise-cta-banner__buttons .gb-button {
    transition: all 0.2s ease;
}

.solwise-cta-banner__buttons .gb-button:hover,
.solwise-cta-banner__buttons .gb-button:focus {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--background) !important;
    border-color: var(--wp--preset--color--primary) !important;
}


/* ==========================================================================
   07. SOLWISE — DEPARTMENTS ACCORDION (HOMEPAGE)
   ========================================================================== */
.dac {
    max-width: 1080px;
    margin: 0 auto;
}

.dac-head {
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 28px;
}

.dac-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dac-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    overflow: hidden;
}

.dac-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
}

.dac-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
    padding: 0;
    background: #fff;
}

.dac-num {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.dac-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.dac-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

.dac-meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dac-name {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    line-height: 36px;
}

.dac-tag {
    font-size: 16px;
    color: #000;
    line-height: 24px;
}

.dac-pill {
    flex: 0 0 auto;
    border: 1px solid rgba(158, 0, 76, 0.15);
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: #9E004C;
    background: #fff;
    white-space: nowrap;
    pointer-events: auto;
    line-height: 24px;
    text-decoration: none;
}

.dac-pill:hover {
    background: linear-gradient(90deg, #9E004C 0%, #CC352E 100%);
    color: #fff;
    border: 1px solid rgba(158, 0, 76, 1);
}

.dac-chev-btn {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.dac-chev-btn svg {
    transition: transform .3s ease;
}

.dac-item.is-open .dac-chev-btn svg {
    transform: rotate(180deg);
}

.dac-chev-btn:hover,
.dac-chev-btn:active,
.dac-chev-btn:focus {
    background: none;
}

.dac-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.dac-item.is-open .dac-panel {
    grid-template-rows: 1fr;
}

.dac-panel-inner {
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.dac-agents {
    margin: 0 26px;
}

.dac-agent {
    display: flex;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.dac-agent:last-child {
    border-bottom: none;
}

.dac-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9E004C;
    margin-top: 8px;
}

.dac-agent-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dac-agent-name {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 24px;
}

.dac-agent-desc {
    font-size: 14px;
    color: #000;
    line-height: 21px;
}

.dac-agent:hover .dac-agent-name {
    color: #9E004C;
}

.dac-all {
    display: inline-block;
    margin: 18px 26px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #9E004C;
    text-decoration: none;
}

.dac-all:hover {
    text-decoration: none;
    background: linear-gradient(90deg, #9E004C 0%, #CC352E 100%);
    background-color: rgba(0, 0, 0, 0);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ==========================================================================
   08. SOLWISE — DEPARTMENT AGENT CAROUSEL
   ========================================================================== */
.dca-wrap {
    max-width: 1270px;
    margin: 0 auto;
}

.dca-head {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.dca-carousel {
    position: relative;
    overflow: hidden;
    margin-right: calc(50% - 50vw);
}

.dca-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.dca-track::-webkit-scrollbar {
    display: none;
}

.dca-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.10);
    transition: box-shadow .2s;
}

.dca-card:hover {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.20);
}

.dca-thumb {
    display: block;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #111;
}

.dca-thumb--empty {
    background: linear-gradient(135deg,#222,#111);
}

.dca-crumb {
    display: block;
    padding: 18px 22px 0;
    font-size: 12px;
    font-weight: 500;
    color: #868686;
    text-transform: uppercase;
}

.dca-name {
    display: block;
    padding: 8px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-transform: capitalize;
}

.dca-link {
    display: block;
    padding: 14px 22px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #9E004C;
    text-transform: uppercase;
}

.dca-arrow,
.dca-arrow:hover {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #E5E5E5;
    background: #fff;
    color: #000000;
    padding: 15px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    align-items: center;
    justify-content: center;
}

.dca-prev, 
.dca-prev:hover {
    left: 8px;
    display: none;
    transform: translateY(-50%) scaleX(-1);
}

.dca-next {
    right: calc(50vw - 50% + 8px);
    display: flex;
}

.dca-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dca-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d4d4d4;
    cursor: pointer;
    padding: 0;
    transition: transform .15s, background .15s;
}

.dca-dot.is-active,
.dca-dot:hover {
    background: #9E004C;
}


/* ==========================================================================
   09. SOLWISE — DEPARTMENT WORKFLOW WAVE (SINGLE-SVG)
   ========================================================================== */
.dww {
    max-width: 1270px;
    margin: 0 auto;
}

.dww-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dww-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dww-scroll::-webkit-scrollbar {
    display: none;
}

.dww-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    font-family: Poppins, system-ui, sans-serif;
}

.dww-num {
    font-size: 30px;
    font-weight: 600;
    fill:#1C1C1C;
}

.dww-label {
    font-size: 14px;
    font-weight: 600;
    fill: #000;
    text-transform: capitalize;
}

.dww-red {
    opacity: 0;
    transition: opacity .35s ease;
}

.dww-g {
    cursor: default;
}

.dww-g:hover .dww-red {
    opacity: 1;
}

.dww-g:hover .dww-num {
    fill: #fff;
}

.dww-svg path {
    vector-effect: non-scaling-stroke;
}

.dww-base {
    transition: all .35s ease;
}

.dww-g:hover .dww-base {
    stroke: #9E004C;
}


/* ==========================================================================
   10. SOLWISE — DEPARTMENT TITLE HEADER
   ========================================================================== */
.dh-wrap {
    max-width: 1270px;
    margin: 0 auto;
}

.dh-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
}

.dh-eyebrow-strong {
    color: #9E004C;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 27px;
}

.dh-eyebrow-link {
    color: #111;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s;
    line-height: 27px;
}

.dh-eyebrow-link:hover {
    color: #9E004C;
}

.dh-title {
    font-size: 48px;
    font-weight: 600;
    color: #000;
    line-height: 55px;
    margin: 0 0 18px;
}

.dh-sub {
    font-size: 20px;
    line-height: 30px;
    color: #000000;
    max-width: 640px;
    text-transform: capitalize;
    margin: 0;
}

.dh-count {
    color: #9E004C;
}


/* ==========================================================================
   11. SOLWISE — TWO-COLUMN LEARN (01/02/03 SLIDER)
   ========================================================================== */
.sl-wrap {
    max-width: 1270px;
    margin: 0 auto;
}

.sl-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.sl-media {
    flex: 2;
    min-width: 0;
    position: relative;
}

.sl-slide {
    position: relative;
    display: none;
}

.sl-slide.is-active {
    display: block;
}

.sl-img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.06);
}

.sl-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #9a9a9a;
    font-size: 14px;
    background: #fafafa;
}

.sl-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transition: transform .2s;
}

.sl-play:hover {
    transform: translate(-50%,-50%) scale(1.08);
}

.sl-play svg {
    margin-left: 3px;
}

.sl-body {
    flex: 1;
    min-width: 0;
    position: relative;
}

.sl-panel {
    display: none;
}

.sl-panel.is-active {
    display: block;
}

.sl-num {
    font-size: 100px;
    line-height: 150px;
    font-weight: 600;
    color: transparent;
    -webkit-text-stroke: 1px #565656;
    text-stroke: 2px #565656;
}

.sl-title {
    font-size: 30px;
    font-weight: 600;
    color: #9E004C;
    margin: 0 0 10px;
    line-height: 45px;
}

.sl-desc {
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    max-width: 252px;
    text-transform: capitalize;
    margin: 0 0 44px;
}

.sl-btn {
    display: inline-block;
    color: #000;
    font-weight: 600;
    font-size: 17px;
    line-height: 26px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 10px;
    transition: all .2s;
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #9E004C, #CC352E) border-box;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.sl-btn:hover {
    background: linear-gradient(135deg, #9E004C 0%, #CC352E 100%);
    color: #ffffff !important;
    border: 2px solid transparent !important;
}

.sl-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 0 0 auto;
}
.video_div_hide_for_now{
    display: none;
}

.sl-step {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #E5E5E5;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sl-step:hover {
    border-color: #9E004C;
    color: #9E004C;
    background: none;
}

.sl-step.is-active {
    background: linear-gradient(90deg, #9E004C 0%, #CC352E 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(158,0,76,.35);
}


/* ==========================================================================
   12. SOLWISE — STANDARD FOOTER & CONTEXTUAL FOOTERS
   ========================================================================== */
.solwise-footer {
    width: 100%;
    background-color: var(--wp--preset--color--background);
    border-top: 1px solid var(--wp--preset--color--shadow);
    padding: 32px 16px;
    box-sizing: border-box;
}

.solwise-footer__inner {
    max-width: 1270px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solwise-footer__text {
    margin: 0;
    font-family: var(--wp--preset--font-family--poppins);
    font-size: var(--wp--preset--font-size--body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--wp--preset--color--font-primary);
    text-align: center;
}

.solwise-footer__text strong {
    font-weight: 600;
}

.solwise-footer__text .solwise-brand-sol {
    color: var(--wp--preset--color--font-primary);
}

.solwise-footer__text .solwise-brand-wise {
    background: linear-gradient(90deg, #9E004C 0%, #CC352E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.solwise-footer__tagline {
    color: var(--wp--preset--color--font-secondary);
}

.solwise-footer__text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.solwise-footer__text a:hover,
.solwise-footer__text a:focus {
    color: var(--wp--preset--color--font-secondary);
    text-decoration: underline;
}

/* Department Contextual Footer */
.dcf-wrap {
    max-width: 1270px;
    margin: 0 auto;
    padding: 40px 16px 10px;
    text-align: center;
}

.dcf-line {
    margin: 0;
    font-family: var(--wp--preset--font-family--poppins);
    font-size: 18px;
    line-height: 24px;
    color: #1f2330;
    text-transform: capitalize;
}

.dcf-link {
    color: #9E004C;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 6px;
}

.dcf-link:hover,
.dcf-link:focus {
    text-decoration: none;
    color: #9E004C;
}

/* Agent Contextual Footer */
.acf-wrap {
    max-width: 1270px;
    margin: 0 auto;
    padding: 40px 16px 0;
    text-align: center;
}

.acf-line {
    margin: 0;
    font-family: var(--wp--preset--font-family--poppins);
    font-size: 18px;
    line-height: 1.8;
    color: #1f2330;
    text-transform: capitalize;
}

.acf-dept {
    color: #1f2330;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.acf-dept:hover,
.acf-dept:focus {
    color: #9E004C;
}

.acf-sep {
    margin: 0 8px;
    color: #9a9a9a;
}

.acf-link {
    color: #9E004C;
    text-decoration: none;
    white-space: nowrap;
}

.acf-link:hover,
.acf-link:focus {
    text-decoration: underline;
}


/* ==========================================================================
   13. CUSTOM INTEGRATED COMPONENTS (SWF & ST BLOCKS)
   ========================================================================== */
/* SWF UI Framework Block */
.swf-wrap { max-width: 1270px; margin: 0 auto; }
.swf-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.swf-chip { font-size: 12px; font-weight: 600; letter-spacing: .5px; padding: 4px 10px; border-radius: 6px; color: var(--c); background: var(--bg); }
.swf-nodes { display: flex; flex-direction: column; gap: 20px; }
.swf-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.swf-node { display: flex; flex-direction: column; gap: 4px; width: 150px; padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--bd); }
.swf-badge { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--c); }
.swf-label { font-size: 14px; font-weight: 600; color: #111; line-height: 1.3; }
.swf-desc { font-size: 12px; color: #555; line-height: 1.4; }
.swf-arrow { align-self: center; color: #bbb; font-size: 18px; }
.swf-note { margin-top: 24px; background: #F7F7F7; border-radius: 12px; padding: 20px; font-size: 14px; line-height: 1.6; color: #374151; }

/* ST Structural Tabs Framework Block */
.st-wrap { max-width: 1270px; margin: 0 auto; }
.st-tabs { display: flex; gap: 8px; margin-bottom: 0; }
.st-tab { flex: 1; background: none; border: none; padding: 35px; cursor: pointer; border-radius: 15px 15px 0 0; text-align: center; position: relative; }
.st-tab strong { display: block; font-size: 24px; line-height: 36px; color: #000; font-weight: 600; }
.st-tab small { color: #000; font-size: 16px; line-height: 24px; }
.st-tab.is-active { background: #fff; margin-bottom: -1px; box-shadow: 0 -10px 14px rgba(0,0,0,.05); }
.st-tab.is-active strong { color: #9E004C; }
.st-tab:hover { background: #f1f1f1; }
.st-panel { display: none; }
.st-panel.is-active { display: block; box-shadow: 0 0 15px rgba(0,0,0,.05); border-radius: 0 0 20px 20px; padding: 28px; }
.st-intro { color: #000; font-size: 14px; line-height: 29px; margin-bottom: 24px; }
.st-h { font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 29px; color: #000; margin: 0 0 12px; }

/* ST - Features & Layout Sub-elements */
.st-diagram { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.st-dia-box { border: 1px solid var(--c); border-radius: 12px; padding: 16px 20px; min-width: 160px; background: color-mix(in srgb, var(--c) 5%, #fff); text-align: center; max-width: 170px; }
.st-dia-label { display: block; font-weight: 600; color: var(--c); font-size: 16px; line-height: 24px; }
.st-dia-sub { font-size: 14px; color: #000000; line-height: 21px; }
.st-arrow { color: #000000; font-size: 22px; }
.st-bullets { list-style: none; padding: 0; margin: 0 0 24px; }
.st-bullets li { position: relative; padding-left: 5px; margin-bottom: 14px; line-height: 49px; color: #000000; display: flex; align-items: center; }
.st-bullets li:before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #000000; margin-right: 10px; }
.st-note { background: #FAF8F6; border-radius: 12px; padding: 20px; font-size: 14px; line-height: 29px; color: #000000; }

/* ST - Architectural Sub-elements */
.st-arch-cols { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.st-arch-col { flex: 1; min-width: 220px; }
.st-src { background: #FEF2C9; border: 1px solid #F39B23; color: #903D12; border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; font-size: 14px; line-height: 21px; }
.st-engine { border: 1px solid #C66D2F; border-radius: 10px; padding: 16px; }
.st-eng-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; color: #000; font-size: 14px; line-height: 34px; }
.st-dot { width: 12px; height: 12px; flex: 0 0 auto; }
.st-connect { background: #E6F2FA; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.st-connect strong { display: block; color: #0369A1; }
.st-connect span { font-size: 13px; color: #374151; }
.st-api-cols { display: flex; gap: 16px; flex-wrap: wrap; }
.st-api { flex: 1; min-width: 240px; border-radius: 12px; padding: 18px; }
.st-api-h { font-weight: 700; font-size: 13px; letter-spacing: .5px; }
.st-api--no { background: #FCE8EC; }
.st-api--no .st-api-h { color: #DC2626; }
.st-api--yes { background: #E7F6EC; }
.st-api--yes .st-api-h { color: #059669; }
.st-api p { margin: 8px 0 0; font-size: 14px; color: #374151; }

/* ST - Tutorial Sub-elements */
.st-tnode { border: 1px solid #eee; border-left: 4px solid var(--c); border-radius: 10px; padding: 18px; margin-bottom: 14px; }
.st-tnode-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.st-badge { font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.st-tnode-n { font-size: 12px; color: #999; }
.st-tnode-title { font-weight: 700; color: #111; margin-bottom: 6px; }
.st-tnode-conf { color: #374151; margin-bottom: 10px; }
.st-tnode-out { background: #F7F7F7; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #374151; }
.st-tnode-out span { color: #0369A1; font-weight: 600; }
.st-toggle { margin: 10px 8px 0 0; background: #F1ECFE; color: #7c3aed; border: none; border-radius: 8px; padding: 8px 14px; font-size: 12px; font-weight: 700; cursor: pointer; }
.st-toggle--s { background: #E7F6EC; color: #059669; }
.st-pre, .st-sample { display: none; }
.st-pre.is-open, .st-sample.is-open { display: block; }
.st-pre { white-space: pre-wrap; background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 16px; margin-top: 10px; font-size: 13px; overflow: auto; }
.st-sample { margin-top: 10px; }
.st-sample-blk span { font-size: 11px; font-weight: 700; color: #777; }
.st-sample-blk pre { white-space: pre-wrap; background: #F7F7F7; border-radius: 8px; padding: 12px; font-size: 13px; margin: 4px 0 12px; overflow: auto; }

/* ST - MVP Sub-elements */
.st-mvp { border: 1px solid #eee; border-radius: 12px; padding: 18px; margin-top: 8px; }
.st-mvp-h { font-weight: 700; margin-bottom: 16px; }
.st-mvp-cols { display: flex; gap: 24px; flex-wrap: wrap; }
.st-mvp-col { flex: 1; min-width: 220px; }
.st-mvp-title { display: block; font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.st-mvp-title--g { color: #059669; }
.st-mvp-title--b { color: #0369A1; }
.st-mvp-col ul { list-style: none; padding: 0; margin: 0; }
.st-mvp-col li { margin-bottom: 10px; }
.st-li-g { color: #059669; }
.st-li-g:before { content: "✓ "; color: #059669; font-weight: 700; }
.st-li-b { color: #0369A1; }
.st-li-b:before { content: "+ "; color: #0369A1; font-weight: 700; }
/* ===== SolWise — CF7 Register Form (2-column) ===== */
.sw-form{
  max-width:780px;margin:0 auto;
  font-family:var(--wp--preset--font-family--poppins, Poppins, system-ui, sans-serif);
  background:#fff;border:1px solid #E5E5E5;border-radius:20px;
  padding:40px;box-shadow:0 2px 14px rgba(0,0,0,.06);box-sizing:border-box;
}

/* two-column grid */
.sw-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px 24px;
}
.sw-span-2{grid-column:1 / -1;}   /* captcha + submit span full width */

.sw-field{margin:0;min-width:0;}
.sw-field label{display:block;font-size:14px;font-weight:600;color:#111;margin-bottom:8px;}
.sw-field .req{color:#9E004C;}

.sw-form input[type=text],
.sw-form input[type=email],
.sw-form select{
  width:100%;font-family:inherit;font-size:16px;color:#111;
  padding:13px 16px;border:1px solid #E5E5E5;border-radius:10px;background:#fff;
  box-sizing:border-box;transition:border-color .2s, box-shadow .2s;
}
.sw-form input::placeholder{color:#9a9a9a;}
.sw-form input:focus,
.sw-form select:focus{
  outline:none;border-color:#9E004C;box-shadow:0 0 0 3px rgba(158,0,76,.12);
}

/* custom dropdown chevron */
.sw-form select{
  appearance:none;-webkit-appearance:none;padding-right:40px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:14px;
}

/* captcha */
.sw-captcha-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.sw-captcha-row img{border:1px solid #E5E5E5;border-radius:8px;height:48px;}
.sw-captcha-row input{max-width:260px;}

/* submit — brand gradient, full width */
.sw-form .wpcf7-submit{
  width:100%;font-family:inherit;font-weight:600;font-size:16px;
  text-transform:uppercase;letter-spacing:.4px;color:#fff;border:none;
  border-radius:10px;padding:15px;cursor:pointer;
  background:linear-gradient(90deg,#9E004C 0%,#CC352E 100%);
  transition:opacity .2s, transform .2s;
}
.sw-form .wpcf7-submit:hover{opacity:.92;transform:translateY(-1px);}
.sw-form .wpcf7-submit:focus-visible{outline:2px solid #9E004C;outline-offset:3px;}

/* validation + messages */
.sw-form .wpcf7-not-valid{border-color:#DC2626 !important;}
.sw-form .wpcf7-not-valid-tip{color:#DC2626;font-size:13px;margin-top:6px;}
.sw-form .wpcf7-response-output{
  border-radius:10px;font-size:14px;margin:16px 0 0 !important;padding:12px 16px !important;
}
.sw-field p{
    margin-bottom: 0;
}

/* ==========================================================================
   14. SYSTEM SPECIFIC AT-RULES & CONDITIONALS
   ========================================================================== */
@supports not (background-clip: text) {
    .solwise-highlight--gradient {
        background: none;
        color: var(--wp--preset--color--primary-gradient-end);
    }
}

@media (prefers-reduced-motion: reduce) {
    .solwise-hero__scroll-button .solwise-hero__scroll-arrow-img {
        animation: none;
    }
}


/* ==========================================================================
   15. GLOBAL MEDIA QUERIES (CONSOLIDATED RESPONSIVE BREAKPOINTS)
   ========================================================================== */

/* --- LARGE TABLET & COMPONENT WRAPPING BREAKPOINT (900px) --- */
@media (max-width: 900px) {
    /* Two-Column Learn Slider adjustments */
    .sl-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    .sl-num {
        font-size: 72px;
    }
    .sl-desc {
        max-width: none;
    }
    .sl-steps {
        flex-direction: row;
        justify-content: center;
    }

    /* Prevent early layout breaking in ST Architectural layout views */
    .st-arch-cols,
    .st-api-cols {
        flex-direction: column;
        gap: 20px;
    }
    .st-arch-col,
    .st-api {
        width: 100%;
        min-width: 0;
    }
    .sl-panel{
            text-align: center;
        }
}


/* --- MAIN TABLET BREAKPOINT (768px) --- */
@media (max-width: 768px) {
    .solwise-header .custom-logo { width: 120px; }

    .solwise-hero {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
    .solwise-hero__icon {
        width: 80px;
    }
    .solwise-hero__eyebrow {
        font-size: 14px;
        letter-spacing: 1.2px;
    }

    .solwise-section-intro {
        padding-top: 48px !important;
        padding-bottom: 32px !important;
    }
    .solwise-section-intro__eyebrow {
        font-size: 14px;
        letter-spacing: 1.2px;
    }

    .solwise-tag-pills {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .solwise-cta-banner {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    /* Carousel Breakout overrides */
    .dca-carousel {
        margin-right: 0;
    }
    .dca-card {
        flex: 0 0 100%;
    }
    .dca-arrow {
        display: none !important;
    }

    /* Workflow SVG responsivity */
    .dww-svg {
        min-width: 720px;
    }

    /* Department Title Header */
    .dh-eyebrow { gap: 8px; margin-bottom: 8px; }
    .dh-eyebrow-strong,
    .dh-eyebrow-link { font-size: 14px; line-height: 1.4; }
    .dh-title { font-size: 34px; line-height: 1.15; }   /* was fixed 55px */
    .dh-sub   { font-size: 16px; line-height: 1.5; }     /* was fixed 30px */

    /* shrink the uppercase section labels a touch */
    .dww-title,
    .dca-head { font-size: 15px; }

  
   

    /* ST Structural Tab System Mobile Overrides */
    .st-tab strong {
        font-size: 16px;
    }
    .st-tab small {
        display: none;
    }
    .st-tabs {
        flex-direction: column;
        border-bottom: none;
        gap: 6px;
    }
    .st-tab {
        border-radius: 10px;
        border: 1px solid #E5E5E5;
    }
    .st-tab.is-active {
        margin-bottom: 0;
        border-bottom-color: #E5E5E5;
        box-shadow: none;
        background: #FCEef4;
    }
    .st-panel.is-active {
        border-radius: 12px;
    }
    .st-diagram {
        flex-direction: column;
        align-items: stretch;
    }
    .st-dia-box {
        min-width: 0;
        width: 100%;
        max-width: none; /* Allows full fluid scaling on small devices */
    }
    .st-arrow {
        transform: rotate(90deg);
        align-self: center;
    }
    /* ===== AGENT PAGE — Three-Tab refinements ===== */
    .st-tab { padding: 16px 14px; }                 /* was 35px — too tall when stacked */
    .st-panel.is-active { padding: 20px 16px; }     /* was 28px */
    .st-intro { line-height: 1.7; }                 /* was fixed 29px */
    .st-h { line-height: 1.5; }
    .st-bullets li { line-height: 1.5; margin-bottom: 12px; font-size: 14px;}  /* was fixed 49px — huge gaps */
    .st-note { line-height: 1.7; }                  /* was fixed 29px */
    .st-eng-row { line-height: 1.4; }               /* was fixed 34px */
    .st-mvp-cols { flex-direction: column; gap: 20px; }  /* MVP vs Advanced stack */
    .st-connect, .st-tnode-title, .st-tnode-conf, .st-mvp-h, .st-mvp-col li, .st-h{
        font-size: 14px;
    }.dcf-line, .acf-line {
        font-size: 14px;
        line-height: 1.6;
    }
     .swf-note { line-height: 1.6; padding: 16px; }
     
        .dac-name {
        font-size: 20px;
        line-height: 28px;
    }
    .dac-tag, .dac-agent-desc {
        font-size: 14px;
        line-height: 20px;
    }
    .sl-num{
            line-height: 72px;
        }
        .sl-title{
            font-size: 22px;
            line-height: 32px;
        }
        .sl-desc{
            font-size: 14px;
            margin-bottom: 24px;
        }
        .sl-btn{
            font-size: 14px;
            padding: 13px 24px;
            
        }
}


/* --- MOBILE VIEWPORTS (Under 600px & 480px) --- */
@media (max-width: 600px) {
    .solwise-header .gb-headline { display: none; }
    /* Footers */
    
    .dcf-link, .acf-dept, .acf-link {
        white-space: normal;
    }
ss
    /* Accordion (DAC) Small Screen Optimizations */
    .dac-row {
        gap: 12px;
        padding: 18px 16px;
        flex-wrap: wrap;
    }
    .dac-main {
        gap: 12px;
        flex: 0 0 100%;
        align-items: flex-start;
    }
    .dac-num {
        width: 36px;
        height: 36px;
        font-size: 15px;
        margin-top: 10px;
    }
    .dac-icon img {
        width: 36px;
        height: 36px;
    }
    .dac-name {
        font-size: 16px;
        line-height: 24px;
    }
    .dac-tag, .dac-agent-desc {
        font-size: 12px;
        line-height: 20px;
    }
    .dac-pill {
        padding: 7px 15px;
        font-size: 11px;
        flex: 0 0 auto;
    margin-right: auto;
    font-weight: 600;
    }
    .dac-chev-btn {
        width: 34px;
        height: 34px;
        flex: 0 0 auto;
    margin-left: auto;
    }
    .dac-agents, 
    .dac-all {
        margin-left: 16px;
        margin-right: 16px;
    }
        /* ===== AGENT PAGE — Workflow nodes: single-column vertical timeline ===== */
    .swf-row { flex-direction: column; gap: 10px; }
    .swf-node { width: 100%; }                       /* was 2-up (calc(50% - 8px)) */
   
    .swf-arrow{
        transform: rotate(90deg);
    }
}
/* collapse to one column on phones */
@media (max-width:560px){
  .sw-form{padding:24px 18px;}
  .sw-grid{grid-template-columns:1fr;gap:18px;}
  .sw-captcha-row input{max-width:none;width:100%;}
}
    /* Nesting the extreme tight viewports safely inside the mobile cluster */
@media (max-width: 480px) {
        .solwise-header > .wp-block-group { gap: 12px; }

        .solwise-header__cta { font-size: 12px !important; padding: 10px 16px !important; }
        .solwise-hero {
            padding-top: 0px !important;
            padding-bottom: 0px !important;
            padding-left: 12px !important;
            padding-right: 12px !important;
        }
        .solwise-hero__icon {
            width: 64px;
        }
        .solwise-hero__eyebrow {
            font-size: 12px;
            letter-spacing: 1px;
        }
        .solwise-hero__subtitle {
            font-size: 14px;
        }
        .solwise-hero__scroll-button {
            width: 42px;
            height: 42px;
        }
        .solwise-hero__scroll-arrow-img {
            width: 22px;
        }
        .gb-container-2229d166{
            margin-top: 10px;
        }
        .gb-container-500b8b30, .gb-container-b5057227, .gb-container-f817aaa3, .gb-container-1c00513f, .gb-container-73c83f8d, .gb-container-f3dda51a, .gb-container-4126ed62, .gb-container-0f49cc93, .gb-container-ea3d1bb4, .gb-container-711de426, .gb-container-824dca58{
            border-bottom: 1px solid #e5e5e5 !important;
            padding-bottom: 24px !important;
        }
        .solwise-section-intro {
            padding-top: 32px !important;
            padding-bottom: 0px !important;
            padding-left: 12px !important;
            padding-right: 12px !important;
        }
        .solwise-section-intro__inner {
            gap: 12px !important;
        }
        .dca-link{
            font-size: 12px;
        }
        .solwise-section-intro__eyebrow {
            font-size: 12px;
            letter-spacing: 1px;
        }
        .solwise-section-intro__subtitle {
            font-size: 14px;
        }

        .solwise-tag-pills {
            padding-top: 24px !important;
            padding-bottom: 40px !important;
            padding-left: 12px !important;
            padding-right: 12px !important;
        }
        .solwise-tag-pills__heading {
            font-size: 14px;
            letter-spacing: 0.8px;
        }
        .solwise-tag-pills__pill,
        .solwise-tag-pills__pill.gb-button {
            font-size: 13px !important;
            padding: 8px 16px !important;
        }

        .solwise-cta-banner {
            padding-top: 24px !important;
            padding-bottom: 24px !important;
            padding-left: 12px !important;
            padding-right: 12px !important;
        }
        .solwise-cta-banner__buttons {
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }
        .solwise-cta-banner__buttons .gb-button {
            width: 100%;
            text-align: center;
        }

        .solwise-footer {
            padding: 24px 12px;
        }
        .solwise-footer__text {
            font-size: 14px;
            line-height: 1.7;
        }
        .solwise-header__cta.label-full  { display: none; }
        .solwise-header__cta.label-short { display: inline; }
        p.gb-headline-2e394a75{
            font-weight: normal !important;
        }
        .dac-head{
            font-size: 11px;
            letter-spacing: 0.6px;
        }
        .dac-agent-name{
            font-size: 14px;
            font-weight: 600;
        }
        .dac-all{
            font-size: 12px;
        }
        .wp-block-buttons > .wp-block-button{
            width: 100%;
        }
        
        
        .sl-steps{
            gap: 12px;
        }
        .sl-step {
            width: 42px;
            height: 42px;
            font-size: 18px;
            line-height: 28px;
        }
        .solwise-footer__text a{
            display: block;
            width: 100%;
        }
        .dh-title { font-size: 28px; }
        .dh-eyebrow-strong,
        .dh-eyebrow-link { font-size: 13px; }
        .st-tab strong      { font-size: 15px; }
        .st-dia-label       { font-size: 14px; }
        .st-dia-sub         { font-size: 13px; line-height: 1.4; }
        .st-h               { font-size: 14px; }
        .st-tnode-title     { font-size: 14px; }
        .st-tnode-conf,
        .st-tnode-out       { font-size: 12px; }
        .swf-label          { font-size: 13px; }
        .swf-desc           { font-size: 11px; }
        .agent_bredcrum_meta{
            font-weight: 600;
        }
        .acf-wrap{
            padding-top: 0px;
        }
        .sl-btn{
            
            width: 100%;
        }

}

/* Trust/legal pages: narrower, more readable text column */
.trust-page .entry-content {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
.trust-page .entry-content p { line-height: 1.7; }
.trust-page .entry-content h2 { margin-top: 1.6em; }