.jam-fund-page,
.jam-fund-page * {
    box-sizing: border-box;
}

.jam-fund-page {
    --jam-primary: #4d5218;
    --jam-primary-dark: #34380f;
    --jam-accent: #c99a36;
    --jam-cream: #fbf7ee;
    --jam-surface: #fff;
    --jam-text: #272817;
    --jam-muted: #757566;
    --jam-radius: 28px;
    --jam-content: 1280px;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 4%, color-mix(in srgb, var(--jam-accent) 12%, transparent) 0, transparent 22%),
        radial-gradient(circle at 93% 24%, color-mix(in srgb, var(--jam-primary) 8%, transparent) 0, transparent 18%),
        var(--jam-cream);
    color: var(--jam-text);
    direction: rtl;
    font-family: inherit;
    line-height: 1.8;
    isolation: isolate;
}

.jam-noise {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .35;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
}

.jam-container {
    width: min(calc(100% - 40px), var(--jam-content));
    margin-inline: auto;
    position: relative;
}

.jam-section {
    position: relative;
    padding: clamp(64px, 7vw, 108px) 0;
}

.jam-section + .jam-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 50%;
    width: min(calc(100% - 40px), var(--jam-content));
    transform: translateX(50%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77,82,24,.12), transparent);
}

.jam-section-label,
.jam-eyebrow,
.jam-cta-kicker {
    color: var(--jam-accent);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -.01em;
}

.jam-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.jam-section-label > span {
    width: 36px;
    height: 2px;
    border-radius: 99px;
    background: var(--jam-accent);
}

.jam-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 36px;
}

.jam-section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(29px, 3.6vw, 49px);
    line-height: 1.25;
    color: var(--jam-primary-dark);
    letter-spacing: -.04em;
}

.jam-section-heading p {
    max-width: 680px;
    margin: 13px 0 0;
    color: var(--jam-muted);
    font-size: 16px;
}

.jam-heading-mark {
    width: 92px;
    height: 54px;
    display: flex;
    align-items: end;
    justify-content: end;
    gap: 6px;
    opacity: .65;
}

.jam-heading-mark i {
    display: block;
    width: 13px;
    border-radius: 99px 99px 3px 3px;
    background: linear-gradient(180deg, var(--jam-accent), var(--jam-primary));
}

.jam-heading-mark i:nth-child(1) { height: 22px; }
.jam-heading-mark i:nth-child(2) { height: 38px; }
.jam-heading-mark i:nth-child(3) { height: 54px; }

/* Hero */
.jam-hero-section {
    padding-top: clamp(36px, 5vw, 70px);
}

.jam-hero-slider {
    position: relative;
    border-radius: calc(var(--jam-radius) + 8px);
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(77,82,24,.1);
    box-shadow: 0 25px 80px rgba(43,45,20,.08);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.jam-hero-slider::before,
.jam-hero-slider::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
}

.jam-hero-slider::before {
    width: 280px;
    height: 280px;
    right: -150px;
    top: -160px;
    border: 1px solid rgba(201,154,54,.25);
    box-shadow: 0 0 0 28px rgba(201,154,54,.035), 0 0 0 56px rgba(201,154,54,.025);
}

.jam-hero-slider::after {
    width: 180px;
    height: 180px;
    left: -90px;
    bottom: -95px;
    border: 1px solid rgba(77,82,24,.12);
}

.jam-hero-track {
    position: relative;
    min-height: 510px;
}

.jam-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(22px, 4vw, 60px);
    padding: clamp(24px, 4vw, 54px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .5s ease, transform .5s ease, visibility .5s;
}

.jam-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.jam-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 8px 50px;
}

.jam-hero-copy h1 {
    margin: 13px 0 18px;
    max-width: 620px;
    font-size: clamp(34px, 4.25vw, 58px);
    line-height: 1.22;
    color: var(--jam-primary-dark);
    letter-spacing: -.035em;
    font-weight: 800;
}

.jam-hero-subtitle {
    max-width: 580px;
    color: #5f6252;
    font-size: clamp(16px, 1.6vw, 20px);
}

.jam-hero-subtitle p,
.jam-richtext p { margin: 0; }

.jam-hero-signature {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 30px;
}

.jam-hero-signature span {
    width: 54px;
    height: 2px;
    background: linear-gradient(90deg, var(--jam-primary), transparent);
}

.jam-hero-signature b {
    width: 9px;
    height: 9px;
    border: 2px solid var(--jam-accent);
    transform: rotate(45deg);
}

.jam-hero-media {
    position: relative;
    min-height: 390px;
    border-radius: calc(var(--jam-radius) + 2px);
    overflow: hidden;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--jam-primary-dark) 94%, #0d2335), color-mix(in srgb, var(--jam-primary) 72%, #173959));
    align-self: stretch;
}

.jam-hero-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jam-media-glow {
    position: absolute;
    z-index: 2;
    inset: auto -50px -70px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(201,154,54,.28);
    filter: blur(50px);
    pointer-events: none;
}

.jam-abstract-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(255,255,255,.12), transparent 30%),
        linear-gradient(145deg, #17314b, #315d7e 55%, #233c37);
}

.jam-art-disc {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
}

.jam-art-disc-a {
    width: 360px;
    height: 360px;
    top: 38px;
    right: 50%;
    transform: translateX(50%);
    box-shadow: 0 0 0 30px rgba(255,255,255,.025), 0 0 0 60px rgba(255,255,255,.018);
}

.jam-art-disc-b {
    width: 130px;
    height: 130px;
    right: 14%;
    bottom: 8%;
    border-color: rgba(201,154,54,.25);
}

.jam-art-core {
    position: absolute;
    width: 148px;
    height: 148px;
    right: 50%;
    top: 48%;
    transform: translate(50%,-50%);
    border-radius: 50%;
    border: 18px solid var(--jam-accent);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.28), 0 18px 50px rgba(0,0,0,.28);
}

.jam-art-core::before,
.jam-art-core::after,
.jam-art-core span {
    content: "";
    position: absolute;
    width: 34px;
    height: 52px;
    border-radius: 7px;
    background: var(--jam-accent);
    left: 39px;
    top: -46px;
    transform-origin: 17px 102px;
}

.jam-art-core span:nth-child(1) { transform: rotate(45deg); }
.jam-art-core span:nth-child(2) { transform: rotate(90deg); }
.jam-art-core span:nth-child(3) { transform: rotate(135deg); }
.jam-art-core span:nth-child(4) { transform: rotate(180deg); }
.jam-art-core::before { transform: rotate(225deg); }
.jam-art-core::after { transform: rotate(270deg); }

.jam-art-core i {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    box-shadow: inset 0 0 0 9px #315d7e;
    z-index: 2;
}

.jam-art-path {
    position: absolute;
    border: 1px dashed rgba(255,255,255,.25);
    border-radius: 999px;
}

.jam-path-a { width: 72%; height: 120px; right: 14%; top: 25%; transform: rotate(-12deg); }
.jam-path-b { width: 64%; height: 95px; right: 20%; bottom: 18%; transform: rotate(14deg); }

.jam-art-chip {
    position: absolute;
    z-index: 4;
    padding: 7px 13px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(12,32,47,.45);
    color: #fff;
    font-size: 12px;
    backdrop-filter: blur(8px);
}

.jam-chip-a { top: 15%; right: 10%; }
.jam-chip-b { bottom: 14%; left: 10%; }
.jam-chip-c { top: 24%; left: 9%; color: #ffdf8d; }

.jam-slider-controls {
    position: absolute;
    z-index: 6;
    right: clamp(24px, 4vw, 54px);
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jam-slider-arrow {
    width: 40px;
    height: 40px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(77,82,24,.14);
    background: #fff;
    color: var(--jam-primary);
    border-radius: 12px;
    cursor: pointer;
    transition: .25s ease;
}

.jam-slider-arrow:hover {
    background: var(--jam-primary);
    color: #fff;
    transform: translateY(-2px);
}

.jam-slider-arrow svg,
.jam-cycle-arrow svg,
.jam-cta-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jam-slider-dots {
    display: flex;
    gap: 7px;
}

.jam-slider-dots button {
    width: 22px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(77,82,24,.16);
    cursor: pointer;
    transition: .25s ease;
}

.jam-slider-dots button.is-active {
    width: 42px;
    background: var(--jam-primary);
}

/* Actors */
.jam-actors {
    margin-top: 24px;
    border-radius: var(--jam-radius);
    background: var(--jam-primary-dark);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 18px 54px rgba(52,56,15,.12);
}

.jam-actors-head {
    padding: 22px 26px 0;
}

.jam-actors-head h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 15px;
}

.jam-actors-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.jam-actor-tab {
    flex: 1 1 180px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255,255,255,.12);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    padding: 11px 16px;
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.75);
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.jam-actor-tab.is-active {
    background: #fff;
    color: var(--jam-primary-dark);
}

.jam-tab-num {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(201,154,54,.14);
    color: var(--jam-accent);
    font-size: 11px;
}

.jam-actor-panels {
    background: #fff;
    color: var(--jam-text);
}

.jam-actor-panel {
    display: none;
    grid-template-columns: 78px 1fr;
    gap: 22px;
    align-items: center;
    padding: 30px;
}

.jam-actor-panel.is-active {
    display: grid;
    animation: jamFadeUp .35s ease both;
}

.jam-actor-panel h3 {
    margin: 0 0 5px;
    color: var(--jam-primary-dark);
    font-size: 19px;
}

.jam-actor-panel .jam-richtext { color: var(--jam-muted); }

.jam-actor-icon,
.jam-step-icon,
.jam-trust-icon,
.jam-impact-visual {
    display: grid;
    place-items: center;
}

.jam-actor-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: var(--jam-cream);
    color: var(--jam-primary);
}

.jam-actor-icon img,
.jam-step-icon img,
.jam-trust-icon img,
.jam-impact-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.jam-actor-icon svg,
.jam-step-icon svg,
.jam-trust-icon svg,
.jam-impact-visual svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Cycle */
.jam-cycle-section { background: rgba(255,255,255,.42); }

.jam-cycle-flow {
    display: grid;
    grid-template-columns: minmax(0,1fr) 62px minmax(0,1fr) 62px minmax(0,1fr) 78px minmax(0,1fr);
    align-items: stretch;
    gap: 0;
}

.jam-cycle-card {
    position: relative;
    min-height: 230px;
    padding: 24px;
    border-radius: var(--jam-radius);
    background: #fff;
    border: 1px solid rgba(77,82,24,.1);
    box-shadow: 0 14px 45px rgba(48,50,20,.055);
    overflow: hidden;
}

.jam-cycle-card::after {
    content: "";
    position: absolute;
    width: 86px;
    height: 86px;
    left: -35px;
    bottom: -35px;
    border-radius: 50%;
    border: 1px solid rgba(201,154,54,.22);
    box-shadow: 0 0 0 15px rgba(201,154,54,.035);
}

.jam-step-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
}

.jam-step-number {
    font-size: 12px;
    font-weight: 900;
    color: var(--jam-accent);
    background: rgba(201,154,54,.1);
    border: 1px solid rgba(201,154,54,.14);
    padding: 5px 9px;
    border-radius: 999px;
}

.jam-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--jam-primary) 8%, white);
    color: var(--jam-primary);
}

.jam-cycle-card h3 {
    margin: 24px 0 7px;
    color: var(--jam-primary-dark);
    font-size: 19px;
}

.jam-cycle-card .jam-richtext {
    color: var(--jam-muted);
    font-size: 14px;
}

.jam-cycle-arrow {
    align-self: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    color: rgba(77,82,24,.48);
}

.jam-cycle-arrow .jam-arrow-line {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: currentColor;
}

.jam-cycle-arrow svg {
    position: relative;
    z-index: 2;
    margin-left: -34px;
    background: var(--jam-cream);
}

.jam-cycle-arrow.is-return {
    color: var(--jam-accent);
    height: 72px;
}

.jam-cycle-arrow.is-return .jam-arrow-line { height: 4px; border-radius: 99px; }
.jam-cycle-arrow.is-return svg { width: 30px; height: 30px; stroke-width: 2.7; margin-left: -38px; }

.jam-cycle-arrow.is-return b {
    position: absolute;
    top: -2px;
    right: 50%;
    transform: translateX(50%);
    font-size: 10px;
    background: var(--jam-accent);
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    z-index: 3;
}

.jam-cycle-loop {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    color: var(--jam-primary);
    font-size: 13px;
    font-weight: 800;
}

.jam-loop-line {
    flex: 1;
    height: 34px;
    border: 1px dashed rgba(77,82,24,.25);
    border-top: 0;
    border-radius: 0 0 30px 30px;
    position: relative;
}

.jam-loop-line::after {
    content: "";
    position: absolute;
    left: -2px;
    top: -4px;
    width: 8px;
    height: 8px;
    border-left: 2px solid var(--jam-primary);
    border-top: 2px solid var(--jam-primary);
    transform: rotate(-45deg);
}

/* Trust */
.jam-trust-wrap {
    position: relative;
    padding: clamp(22px, 4vw, 42px);
    border-radius: calc(var(--jam-radius) + 8px);
    background:
        linear-gradient(135deg, rgba(52,56,15,.98), rgba(77,82,24,.96));
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(52,56,15,.14);
}

.jam-trust-orbit {
    position: absolute;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    left: -240px;
    top: -210px;
    box-shadow: 0 0 0 44px rgba(255,255,255,.018), 0 0 0 88px rgba(255,255,255,.012);
}

.jam-trust-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.jam-trust-card {
    position: relative;
    min-height: 228px;
    padding: 22px;
    border-radius: var(--jam-radius);
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.82);
    backdrop-filter: blur(8px);
    transition: transform .25s ease, background .25s ease;
}

.jam-trust-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.1);
}

.jam-trust-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    color: #f3ce73;
}

.jam-trust-index {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(255,255,255,.32);
    font-size: 12px;
    font-weight: 900;
}

.jam-trust-card h3 {
    margin: 22px 0 7px;
    color: #fff;
    font-size: 17px;
}

.jam-trust-card .jam-richtext { font-size: 13px; color: rgba(255,255,255,.65); }

.jam-trust-note {
    position: relative;
    z-index: 2;
    margin-top: 16px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    color: var(--jam-primary-dark);
}

.jam-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--jam-accent);
    box-shadow: 0 0 0 6px rgba(201,154,54,.13);
}

.jam-note-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(77,82,24,.18), transparent);
}

/* Impact */
.jam-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.jam-impact-card {
    position: relative;
    min-height: 220px;
    padding: 22px;
    border-radius: var(--jam-radius);
    background: #fff;
    border: 1px solid rgba(77,82,24,.09);
    overflow: hidden;
    box-shadow: 0 12px 38px rgba(48,50,20,.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.jam-impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(48,50,20,.09);
}

.jam-impact-card.is-featured {
    grid-column: span 2;
    background:
        radial-gradient(circle at 15% 15%, rgba(201,154,54,.15), transparent 35%),
        #fff;
}

.jam-impact-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.jam-impact-visual {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: var(--jam-primary);
    background: color-mix(in srgb, var(--jam-primary) 7%, white);
}

.jam-impact-metric {
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    color: color-mix(in srgb, var(--jam-accent) 80%, var(--jam-primary));
    letter-spacing: -.03em;
}

.jam-impact-card h3 {
    margin: 24px 0 7px;
    color: var(--jam-primary-dark);
    font-size: 18px;
}

.jam-impact-card .jam-richtext {
    color: var(--jam-muted);
    font-size: 14px;
}

.jam-card-corner {
    position: absolute;
    width: 64px;
    height: 64px;
    bottom: -34px;
    left: -34px;
    border: 1px solid rgba(201,154,54,.26);
    border-radius: 50%;
    box-shadow: 0 0 0 12px rgba(201,154,54,.04);
}

/* CTA */
.jam-cta-section { padding-bottom: clamp(72px, 8vw, 120px); }

.jam-cta {
    position: relative;
    min-height: 250px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 42px;
    align-items: center;
    padding: clamp(28px, 5vw, 58px);
    border-radius: calc(var(--jam-radius) + 10px);
    background: linear-gradient(135deg, var(--jam-primary-dark), var(--jam-primary));
    color: #fff;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(52,56,15,.16);
}

.jam-cta-pattern {
    position: absolute;
    width: 420px;
    height: 420px;
    top: 50%;
    left: -190px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018);
}

.jam-cta-copy,
.jam-cta-button { position: relative; z-index: 2; }

.jam-cta h2 {
    margin: 9px 0 10px;
    font-size: clamp(29px, 3.6vw, 46px);
    line-height: 1.2;
    color: #fff;
    letter-spacing: -.04em;
}

.jam-cta-text {
    max-width: 720px;
    color: rgba(255,255,255,.72);
}

.jam-cta-button {
    min-width: 190px;
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 22px;
    border-radius: 18px;
    background: #fff;
    color: var(--jam-primary-dark);
    text-decoration: none !important;
    font-weight: 900;
    box-shadow: 0 15px 38px rgba(0,0,0,.12);
    transition: .25s ease;
}

.jam-cta-button:hover {
    color: var(--jam-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 46px rgba(0,0,0,.17);
}

/* Motion */
.jam-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s ease;
}

.jam-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes jamFadeUp {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: none; }
}

/* Themes can be aggressive with headings/links. Keep scoped typography stable. */
.jam-fund-page h1,
.jam-fund-page h2,
.jam-fund-page h3,
.jam-fund-page p,
.jam-fund-page button,
.jam-fund-page a { font-family: inherit; }

/* Responsive */
@media (max-width: 1100px) {
    .jam-hero-track { min-height: 470px; }
    .jam-hero-slide { grid-template-columns: 1fr 1fr; }
    .jam-cycle-flow {
        grid-template-columns: 1fr 46px 1fr;
        row-gap: 18px;
    }
    .jam-cycle-card:nth-of-type(n) { min-height: 210px; }
    .jam-cycle-arrow:nth-child(4n) { display: none; }
    .jam-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .jam-impact-grid { grid-template-columns: repeat(3, 1fr); }
    .jam-impact-card.is-featured { grid-column: span 1; }
}

@media (max-width: 860px) {
    .jam-container { width: min(calc(100% - 28px), var(--jam-content)); }
    .jam-section { padding: 58px 0; }
    .jam-section-heading { align-items: start; }
    .jam-heading-mark { display: none; }

    .jam-hero-track { min-height: 790px; }
    .jam-hero-slide {
        grid-template-columns: 1fr;
        grid-template-rows: auto 330px;
        padding: 22px;
        gap: 8px;
    }
    .jam-hero-copy { padding: 14px 8px 64px; }
    .jam-hero-media { min-height: 330px; }
    .jam-slider-controls { right: 30px; bottom: 385px; }

    .jam-actors-head { padding-inline: 16px; }
    .jam-actor-tab { border-radius: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
    .jam-actor-tab.is-active { border-color: #fff; }
    .jam-actor-panel { padding: 22px; }

    .jam-cycle-flow {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .jam-cycle-card { min-height: auto; }
    .jam-cycle-arrow,
    .jam-cycle-arrow.is-return {
        display: flex;
        width: 54px;
        height: 58px;
        margin-inline: auto;
        flex: 0 0 auto;
        transform: rotate(-90deg);
    }

    /*
     * Tablet layout intentionally hides every fourth connector while the
     * cycle is arranged in multiple grid rows. On mobile the flow becomes
     * one vertical column, so every connector must be restored. Without
     * this more-specific override, the arrow between steps 2 and 3 remains
     * hidden and the two cards touch each other.
     */
    .jam-cycle-flow > .jam-cycle-arrow:nth-child(4n) {
        display: flex;
    }

    .jam-cycle-arrow.is-return { height: 72px; }
    .jam-cycle-arrow b { transform: rotate(90deg) translate(12px, 12px); transform-origin: center; }
    .jam-cycle-loop { display: none; }

    .jam-impact-grid { grid-template-columns: repeat(2, 1fr); }
    .jam-cta { grid-template-columns: 1fr; gap: 26px; }
    .jam-cta-button { width: fit-content; }
}

@media (max-width: 580px) {
    .jam-container { width: calc(100% - 22px); }
    .jam-section { padding: 48px 0; }
    .jam-section-heading { margin-bottom: 24px; }
    .jam-section-heading h2 { font-size: 28px; }

    .jam-hero-slider { border-radius: 24px; }
    .jam-hero-track { min-height: 740px; }
    .jam-hero-slide { padding: 14px; grid-template-rows: auto 285px; }
    .jam-hero-copy { padding: 16px 8px 58px; }
    .jam-hero-copy h1 { font-size: 32px; }
    .jam-hero-media { min-height: 285px; border-radius: 18px; }
    .jam-slider-controls { bottom: 337px; right: 22px; }
    .jam-slider-arrow { width: 36px; height: 36px; }

    .jam-actors { border-radius: 20px; }
    .jam-actors-tabs { display: grid; grid-template-columns: 1fr; padding-bottom: 14px; }
    .jam-actor-tab { justify-content: flex-start; width: 100%; }
    .jam-actor-panel { grid-template-columns: 1fr; gap: 14px; }

    .jam-trust-wrap { padding: 14px; border-radius: 24px; }
    .jam-trust-grid { grid-template-columns: 1fr; }
    .jam-trust-card { min-height: auto; }
    .jam-trust-note { align-items: flex-start; }
    .jam-note-line { display: none; }

    .jam-impact-grid { grid-template-columns: 1fr; }
    .jam-impact-card { min-height: auto; }

    .jam-cta { padding: 30px 22px; border-radius: 24px; }
    .jam-cta h2 { font-size: 31px; }
    .jam-cta-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .jam-fund-page *,
    .jam-fund-page *::before,
    .jam-fund-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .jam-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   v1.0.1 — Typography + theme-conflict protection
   The parent theme is allowed to style the rest of the site,
   but JAM keeps its own visual identity and Vazir typography.
   ========================================================= */
.jam-fund-page,
.jam-fund-page * {
    font-family: "Vazir", "Vazirmatn", Tahoma, Arial, sans-serif !important;
}

/* Prevent aggressive theme link styles (especially red hover/visited states). */
.jam-fund-page a:not(.jam-cta-button),
.jam-fund-page a:not(.jam-cta-button):link,
.jam-fund-page a:not(.jam-cta-button):visited,
.jam-fund-page a:not(.jam-cta-button):focus {
    color: var(--jam-primary) !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.jam-fund-page a:not(.jam-cta-button):hover,
.jam-fund-page a:not(.jam-cta-button):active {
    color: var(--jam-accent) !important;
    text-decoration: none !important;
}

/* Lock component typography colors so global theme hover rules cannot turn text red. */
.jam-fund-page .jam-hero-copy h1,
.jam-fund-page .jam-section-heading h2,
.jam-fund-page .jam-actor-panel h3,
.jam-fund-page .jam-cycle-card h3,
.jam-fund-page .jam-impact-card h3 {
    color: var(--jam-primary-dark) !important;
}

.jam-fund-page .jam-section-label,
.jam-fund-page .jam-eyebrow,
.jam-fund-page .jam-cta-kicker,
.jam-fund-page .jam-impact-metric,
.jam-fund-page .jam-trust-card:hover .jam-trust-index {
    color: var(--jam-accent) !important;
}

.jam-fund-page .jam-hero-subtitle,
.jam-fund-page .jam-section-heading p,
.jam-fund-page .jam-actor-panel .jam-richtext,
.jam-fund-page .jam-cycle-card .jam-richtext,
.jam-fund-page .jam-impact-card .jam-richtext {
    color: var(--jam-muted) !important;
}

.jam-fund-page .jam-actors-head h2,
.jam-fund-page .jam-trust-card h3,
.jam-fund-page .jam-cta h2 {
    color: #fff !important;
}

.jam-fund-page .jam-trust-card .jam-richtext {
    color: rgba(255,255,255,.65) !important;
}

.jam-fund-page .jam-cta-text {
    color: rgba(255,255,255,.76) !important;
}

/* Slider controls: keep hover/focus inside olive + gold palette. */
.jam-fund-page .jam-slider-arrow,
.jam-fund-page .jam-slider-arrow:visited,
.jam-fund-page .jam-slider-arrow:focus {
    background: #fff !important;
    border-color: rgba(77,82,24,.14) !important;
    color: var(--jam-primary) !important;
    outline: none !important;
}

.jam-fund-page .jam-slider-arrow:hover,
.jam-fund-page .jam-slider-arrow:active {
    background: var(--jam-primary) !important;
    border-color: var(--jam-primary) !important;
    color: #fff !important;
}

.jam-fund-page .jam-slider-dots button,
.jam-fund-page .jam-slider-dots button:hover,
.jam-fund-page .jam-slider-dots button:focus,
.jam-fund-page .jam-slider-dots button:active {
    color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.jam-fund-page .jam-slider-dots button:not(.is-active),
.jam-fund-page .jam-slider-dots button:not(.is-active):hover {
    background: rgba(77,82,24,.16) !important;
}

.jam-fund-page .jam-slider-dots button.is-active,
.jam-fund-page .jam-slider-dots button.is-active:hover {
    background: var(--jam-primary) !important;
}

/* Actor tabs are buttons; parent themes often apply global red button hover rules. */
.jam-fund-page .jam-actor-tab,
.jam-fund-page .jam-actor-tab:focus,
.jam-fund-page .jam-actor-tab:visited {
    background: rgba(255,255,255,.055) !important;
    border-color: rgba(255,255,255,.12) !important;
    color: rgba(255,255,255,.78) !important;
    box-shadow: none !important;
    outline: none !important;
}

.jam-fund-page .jam-actor-tab:hover,
.jam-fund-page .jam-actor-tab:active {
    background: rgba(255,255,255,.11) !important;
    border-color: rgba(201,154,54,.48) !important;
    color: #fff !important;
}

.jam-fund-page .jam-actor-tab.is-active,
.jam-fund-page .jam-actor-tab.is-active:hover,
.jam-fund-page .jam-actor-tab.is-active:focus,
.jam-fund-page .jam-actor-tab.is-active:active {
    background: #fff !important;
    border-color: #fff !important;
    color: var(--jam-primary-dark) !important;
}

.jam-fund-page .jam-tab-num,
.jam-fund-page .jam-actor-tab:hover .jam-tab-num,
.jam-fund-page .jam-actor-tab.is-active .jam-tab-num {
    color: var(--jam-accent) !important;
}

/* CTA link state reset — no red visited/hover state. */
.jam-fund-page .jam-cta-button,
.jam-fund-page .jam-cta-button:link,
.jam-fund-page .jam-cta-button:visited,
.jam-fund-page .jam-cta-button:focus {
    background: #fff !important;
    color: var(--jam-primary-dark) !important;
    border: 1px solid rgba(255,255,255,.7) !important;
    text-decoration: none !important;
    outline: none !important;
}

.jam-fund-page .jam-cta-button:hover,
.jam-fund-page .jam-cta-button:active {
    background: var(--jam-accent) !important;
    color: var(--jam-primary-dark) !important;
    border-color: var(--jam-accent) !important;
    text-decoration: none !important;
}

.jam-fund-page .jam-cta-button span,
.jam-fund-page .jam-cta-button:hover span,
.jam-fund-page .jam-cta-button:active span {
    color: inherit !important;
}


/* =========================================================
   v1.0.2 — Refined, more minimal heading scale
   Slightly smaller display typography while preserving hierarchy.
   ========================================================= */
@media (min-width: 581px) {
    .jam-fund-page .jam-hero-copy h1 {
        font-size: clamp(34px, 4.25vw, 58px);
        font-weight: 800;
        line-height: 1.27;
        letter-spacing: -.035em;
    }

    .jam-fund-page .jam-section-heading h2 {
        font-size: clamp(29px, 3.6vw, 49px);
    }

    .jam-fund-page .jam-cta h2 {
        font-size: clamp(29px, 3.6vw, 46px);
    }
}

/* =========================================================
   v1.1.0 — compact CTA, zero-gap canvas, homepage footer, image lightbox
   ========================================================= */
html:has(body.jam-fund-canvas-page) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: var(--jam-cream, #fbf7ee) !important;
}

body.jam-fund-canvas-page {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    background: #fbf7ee !important;
}

body.jam-fund-canvas-page .jam-fund-canvas-main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fbf7ee !important;
}

body.jam-fund-canvas-page .jam-fund-canvas-main > p:empty,
body.jam-fund-canvas-page .jam-fund-canvas-main > .wp-block-spacer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.jam-fund-canvas-page .jam-fund-canvas-main > :first-child,
body.jam-fund-canvas-page .jam-fund-page {
    margin-top: 0 !important;
}

body.jam-fund-canvas-page .jam-fund-canvas-main > :last-child,
body.jam-fund-canvas-page .jam-fund-page {
    margin-bottom: 0 !important;
}

body.jam-fund-canvas-page .jam-fund-page {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.jam-fund-canvas-page .jam-hero-section {
    padding-top: 8px !important;
}

body.jam-fund-canvas-page .jam-hero-section .jam-section-label {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

/* The last CTA is intentionally compact and proportional to the rest of the page. */
.jam-fund-page .jam-cta-section {
    padding: 34px 0 26px !important;
}

.jam-fund-page .jam-cta {
    width: min(100%, 1120px) !important;
    min-height: 0 !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 24px !important;
    padding: 24px 28px !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 46px rgba(52,56,15,.13) !important;
}

.jam-fund-page .jam-cta-pattern {
    width: 300px !important;
    height: 300px !important;
    left: -150px !important;
}

.jam-fund-page .jam-cta-kicker {
    font-size: 11px !important;
}

.jam-fund-page .jam-cta h2 {
    margin: 5px 0 6px !important;
    font-size: clamp(24px, 2.4vw, 32px) !important;
    line-height: 1.3 !important;
}

.jam-fund-page .jam-cta-text,
.jam-fund-page .jam-cta-text p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
}

.jam-fund-page .jam-cta-button {
    min-width: 154px !important;
    min-height: 50px !important;
    gap: 9px !important;
    padding: 10px 16px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
}

.jam-fund-page .jam-cta-button svg {
    width: 17px !important;
    height: 17px !important;
}

/* Homepage-style footer; values are read from emardomi-home-builder settings. */
.jam-home-footer,
.jam-home-footer * {
    box-sizing: border-box;
}

.jam-home-footer {
    --jam-footer-primary: #faecd1;
    --jam-footer-secondary: #4c4c1a;
    --jam-footer-accent: #b88a43;
    position: relative !important;
    z-index: 4 !important;
    clear: both !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 0 !important;
    margin: 0 calc(50% - 50vw) !important;
    padding: 48px 0 0 !important;
    overflow: hidden !important;
    direction: rtl !important;
    isolation: isolate !important;
    color: #fff !important;
    background:
        radial-gradient(circle at 86% 4%, rgba(184,138,67,.20), transparent 31%),
        radial-gradient(circle at 8% 92%, rgba(250,236,209,.08), transparent 26%),
        linear-gradient(145deg, #25250c 0%, #303012 52%, #1f2009 100%) !important;
}

.jam-home-footer__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .07;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.jam-home-footer__glow {
    position: absolute;
    z-index: 0;
    top: -310px;
    right: -190px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(184,138,67,.22), transparent 66%);
    opacity: .8;
}

.jam-home-footer__container {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 40px), 1220px);
    margin: 0 auto;
}

.jam-home-footer__intro {
    display: grid;
    grid-template-columns: minmax(0,1.42fr) minmax(290px,.58fr);
    gap: 18px;
    margin-bottom: 26px;
}

.jam-home-footer__about,
.jam-home-footer__contact {
    border: 1px solid rgba(250,236,209,.11);
    border-radius: 26px;
    background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055),0 24px 70px rgba(0,0,0,.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.jam-home-footer__about {
    padding: 25px 27px 23px;
}

.jam-home-footer__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.jam-home-footer__brand img {
    width: 54px !important;
    height: 54px !important;
    flex: 0 0 54px;
    object-fit: contain !important;
    border-radius: 50%;
    padding: 4px;
    background: var(--jam-footer-primary);
    box-shadow: 0 11px 28px rgba(0,0,0,.18);
}

.jam-home-footer__brand > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.jam-home-footer__brand strong {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.6 !important;
}

.jam-home-footer__brand small {
    color: rgba(255,255,255,.55) !important;
    font-size: 8.5px !important;
}

.jam-home-footer__about > p {
    max-width: 900px;
    margin: 0 !important;
    color: rgba(255,255,255,.7) !important;
    font-size: 11px !important;
    line-height: 2.05 !important;
}

.jam-home-footer__actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    margin-top: 19px;
}

.jam-home-footer .jam-home-footer__action,
.jam-home-footer .jam-home-footer__action:link,
.jam-home-footer .jam-home-footer__action:visited,
.jam-home-footer .jam-home-footer__action:focus {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 22px;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 11px;
    overflow: hidden;
    border: 1px solid rgba(250,236,209,.13) !important;
    border-radius: 16px;
    background: rgba(255,255,255,.055) !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: .22s ease;
}

.jam-home-footer__action::before {
    content: "";
    position: absolute;
    width: 86px;
    height: 86px;
    top: -48px;
    left: -42px;
    border-radius: 50%;
    background: rgba(250,236,209,.06);
    transition: transform .3s ease;
}

.jam-home-footer .jam-home-footer__action:hover,
.jam-home-footer .jam-home-footer__action:active {
    transform: translateY(-2px);
    border-color: rgba(250,236,209,.28) !important;
    background: rgba(255,255,255,.095) !important;
    color: #fff !important;
}

.jam-home-footer__action:hover::before { transform: scale(1.45); }

.jam-home-footer__action-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--jam-footer-primary);
    color: var(--jam-footer-secondary);
}

.jam-home-footer__action > span:nth-child(2) {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.jam-home-footer__action small {
    color: rgba(250,236,209,.56) !important;
    font-size: 8px !important;
    font-weight: 750 !important;
}

.jam-home-footer__action strong {
    margin: 1px 0 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.55 !important;
}

.jam-home-footer__action em {
    overflow: hidden;
    color: rgba(255,255,255,.52) !important;
    font-size: 8px !important;
    font-style: normal !important;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.jam-home-footer__action > i {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--jam-footer-primary);
}

.jam-home-footer__action > i svg { transform: rotate(180deg); }
.jam-footer-icon { width: 18px; height: 18px; display: block; }

.jam-home-footer__contact {
    display: flex;
    flex-direction: column;
    padding: 21px;
}

.jam-home-footer__contact-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
}

.jam-home-footer__contact-head > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(250,236,209,.1);
    color: var(--jam-footer-primary);
}

.jam-home-footer__contact-head div { display: flex; flex-direction: column; }
.jam-home-footer__contact-head small { color: rgba(250,236,209,.52) !important; font-size: 8px !important; }
.jam-home-footer__contact-head h3 { margin: 0 !important; color: #fff !important; font-size: 13px !important; line-height: 1.6 !important; }

.jam-home-footer__contact ul {
    margin: 0 0 14px !important;
    padding: 0 !important;
    list-style: none !important;
}

.jam-home-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 8px !important;
    color: rgba(255,255,255,.74) !important;
    font-size: 10px !important;
    line-height: 1.8 !important;
}

.jam-home-footer__contact li .jam-footer-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--jam-footer-primary);
}

.jam-home-footer .jam-home-footer__contact li a,
.jam-home-footer .jam-home-footer__contact li a:link,
.jam-home-footer .jam-home-footer__contact li a:visited {
    color: inherit !important;
    text-decoration: none !important;
}

.jam-home-footer__contact-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.jam-home-footer__socials { display: flex; flex-wrap: wrap; gap: 6px; }

.jam-home-footer .jam-home-footer__socials a,
.jam-home-footer .jam-home-footer__socials a:link,
.jam-home-footer .jam-home-footer__socials a:visited {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.1) !important;
    border-radius: 10px;
    background: rgba(255,255,255,.075) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    transition: .2s ease;
}

.jam-home-footer .jam-home-footer__socials a:hover {
    transform: translateY(-2px);
    background: var(--jam-footer-primary) !important;
    color: var(--jam-footer-secondary) !important;
}

.jam-home-footer__socials svg { width: 14px; height: 14px; }

.jam-home-footer__enamad {
    display: inline-flex;
    min-width: 62px;
    min-height: 68px;
    padding: 5px;
    border-radius: 11px;
    background: #fff;
}

.jam-home-footer__enamad img {
    display: block;
    max-width: 58px !important;
    max-height: 64px !important;
    object-fit: contain !important;
}

.jam-home-footer__bottom {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,.085);
    color: rgba(255,255,255,.46) !important;
    font-size: 9px !important;
}

.jam-home-footer__bottom p { margin: 0 !important; color: inherit !important; }
.jam-home-footer .jam-home-footer__bottom a,
.jam-home-footer .jam-home-footer__bottom a:link,
.jam-home-footer .jam-home-footer__bottom a:visited { color: var(--jam-footer-primary) !important; direction: ltr; text-decoration: none !important; }

/* Every real image on this page can be opened in the responsive lightbox. */
.jam-fund-page img { cursor: zoom-in; }
html.jam-lightbox-open,
body.jam-lightbox-open { overflow: hidden !important; overscroll-behavior: none !important; }

.jam-image-lightbox[hidden] { display: none !important; }
.jam-image-lightbox:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483600 !important;
    display: grid !important;
    place-items: center !important;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
    direction: rtl;
}

.jam-image-lightbox__backdrop {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(14,15,8,.84) !important;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.jam-image-lightbox__dialog {
    position: relative !important;
    z-index: 2 !important;
    width: min(1180px, 100%) !important;
    max-height: calc(100dvh - 24px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 10px !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 22px !important;
    background: #11120b !important;
    box-shadow: 0 34px 110px rgba(0,0,0,.42) !important;
}

.jam-image-lightbox__dialog > img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 90px) !important;
    margin: 0 !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    cursor: default !important;
}

.jam-image-lightbox__close {
    position: absolute !important;
    z-index: 4 !important;
    top: 16px !important;
    left: 16px !important;
    width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 0 3px !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.93) !important;
    color: #25250c !important;
    font: 700 26px/1 Arial,sans-serif !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
    cursor: pointer !important;
}

.jam-image-lightbox__caption {
    width: 100%;
    padding: 9px 8px 2px;
    color: rgba(255,255,255,.78);
    text-align: center;
    font-size: 11px;
}

@media (max-width: 900px) {
    .jam-home-footer__intro { grid-template-columns: 1fr; }
    .jam-home-footer__contact { min-height: 0; }
}

@media (max-width: 680px) {
    body.jam-fund-canvas-page .jam-hero-section { padding-top: 5px !important; }
    .jam-fund-page .jam-cta-section { padding: 24px 0 20px !important; }
    .jam-fund-page .jam-cta {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 22px 18px !important;
        border-radius: 20px !important;
    }
    .jam-fund-page .jam-cta h2 { font-size: 24px !important; }
    .jam-fund-page .jam-cta-button { width: auto !important; min-width: 145px !important; justify-self: start !important; }
    .jam-home-footer { padding-top: 36px !important; }
    .jam-home-footer__container { width: min(calc(100% - 18px), 1220px); }
    .jam-home-footer__about,
    .jam-home-footer__contact { border-radius: 20px; }
    .jam-home-footer__about { padding: 20px 17px 17px; }
    .jam-home-footer__actions { grid-template-columns: 1fr; }
    .jam-home-footer__contact-bottom { align-items: center; }
    .jam-home-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 0; }
    .jam-image-lightbox:not([hidden]) { padding: 7px !important; }
    .jam-image-lightbox__dialog { max-height: calc(100dvh - 14px) !important; border-radius: 17px !important; padding: 7px !important; }
    .jam-image-lightbox__dialog > img { max-height: calc(100dvh - 64px) !important; border-radius: 11px !important; }
    .jam-image-lightbox__close { top: 11px !important; left: 11px !important; width: 36px !important; height: 36px !important; font-size: 23px !important; }
}

/* Beat the plugin's generic anti-theme link rules inside the cloned footer. */
.jam-fund-page .jam-home-footer .jam-home-footer__action,
.jam-fund-page .jam-home-footer .jam-home-footer__action:link,
.jam-fund-page .jam-home-footer .jam-home-footer__action:visited,
.jam-fund-page .jam-home-footer .jam-home-footer__action:focus,
.jam-fund-page .jam-home-footer .jam-home-footer__action:hover,
.jam-fund-page .jam-home-footer .jam-home-footer__action:active { color:#fff !important; }
.jam-fund-page .jam-home-footer .jam-home-footer__contact li a,
.jam-fund-page .jam-home-footer .jam-home-footer__contact li a:link,
.jam-fund-page .jam-home-footer .jam-home-footer__contact li a:visited { color:rgba(255,255,255,.74) !important; }
.jam-fund-page .jam-home-footer .jam-home-footer__socials a,
.jam-fund-page .jam-home-footer .jam-home-footer__socials a:link,
.jam-fund-page .jam-home-footer .jam-home-footer__socials a:visited { color:#fff !important; }
.jam-fund-page .jam-home-footer .jam-home-footer__socials a:hover { color:var(--jam-footer-secondary) !important; }
.jam-fund-page .jam-home-footer .jam-home-footer__bottom a,
.jam-fund-page .jam-home-footer .jam-home-footer__bottom a:link,
.jam-fund-page .jam-home-footer .jam-home-footer__bottom a:visited { color:var(--jam-footer-primary) !important; }

/* =========================================================
   v1.2.0 — hard layout fix: truly compact page + exact home footer
   ========================================================= */
html:has(body.jam-fund-canvas-page){
    margin-bottom:0!important;
    padding-bottom:0!important;
    background:#fbf7ee!important;
}
body.jam-fund-canvas-page{
    margin:0!important;
    padding:0!important;
    min-height:100vh!important;
    overflow-x:hidden!important;
    background:#fbf7ee!important;
}
body.jam-fund-canvas-page .jam-fund-canvas-main{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:#fbf7ee!important;
}
body.jam-fund-canvas-page .jam-fund-canvas-main>p:empty,
body.jam-fund-canvas-page .jam-fund-canvas-main>.wp-block-spacer{
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
}
body.jam-fund-canvas-page .jam-fund-canvas-main>:first-child{margin-top:0!important}
body.jam-fund-canvas-page .jam-fund-canvas-main>:last-child{margin-bottom:0!important}
body.jam-fund-canvas-page .jam-fund-page{
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
    padding:0!important;
    overflow:clip!important;
    line-height:1.72!important;
}

/* Remove the excessive whitespace between the page sections. */
body.jam-fund-canvas-page .jam-section{
    padding:clamp(28px,3vw,42px) 0!important;
}
body.jam-fund-canvas-page .jam-hero-section{
    padding-top:8px!important;
    padding-bottom:28px!important;
}
body.jam-fund-canvas-page .jam-hero-section .jam-section-label{
    margin-top:0!important;
    margin-bottom:10px!important;
}
body.jam-fund-canvas-page .jam-section-heading{
    gap:18px!important;
    margin-bottom:22px!important;
}
body.jam-fund-canvas-page .jam-section-heading h2{
    margin-top:5px!important;
    font-size:clamp(24px,2.4vw,32px)!important;
    line-height:1.35!important;
    letter-spacing:-.025em!important;
}
body.jam-fund-canvas-page .jam-section-heading p{
    margin-top:8px!important;
    font-size:12.5px!important;
    line-height:1.85!important;
}
body.jam-fund-canvas-page .jam-section-label,
body.jam-fund-canvas-page .jam-eyebrow,
body.jam-fund-canvas-page .jam-cta-kicker{
    font-size:10.5px!important;
}
body.jam-fund-canvas-page .jam-hero-copy h1{
    font-size:clamp(30px,3vw,42px)!important;
    line-height:1.33!important;
    letter-spacing:-.03em!important;
}
body.jam-fund-canvas-page .jam-hero-subtitle,
body.jam-fund-canvas-page .jam-hero-subtitle p{
    font-size:13px!important;
    line-height:1.9!important;
}
body.jam-fund-canvas-page .jam-hero-slide{
    padding:clamp(20px,2.8vw,38px)!important;
}
body.jam-fund-canvas-page .jam-hero-copy{padding-top:12px!important}
body.jam-fund-canvas-page .jam-actor-panel h3,
body.jam-fund-canvas-page .jam-cycle-card h3,
body.jam-fund-canvas-page .jam-trust-card h3,
body.jam-fund-canvas-page .jam-impact-card h3{
    font-size:14.5px!important;
    line-height:1.7!important;
}
body.jam-fund-canvas-page .jam-richtext,
body.jam-fund-canvas-page .jam-richtext p,
body.jam-fund-canvas-page .jam-actor-panel .jam-richtext,
body.jam-fund-canvas-page .jam-cycle-card .jam-richtext,
body.jam-fund-canvas-page .jam-trust-card .jam-richtext,
body.jam-fund-canvas-page .jam-impact-card .jam-richtext{
    font-size:11.5px!important;
    line-height:1.85!important;
}
body.jam-fund-canvas-page .jam-impact-card h3{margin-top:16px!important;margin-bottom:5px!important}
body.jam-fund-canvas-page .jam-impact-visual{width:50px!important;height:50px!important;border-radius:15px!important}
body.jam-fund-canvas-page .jam-impact-metric{font-size:22px!important}

/* CTA is intentionally compact now: no oversized banner and no giant bottom gap. */
body.jam-fund-canvas-page .jam-cta-section{
    padding:18px 0 20px!important;
}
body.jam-fund-canvas-page .jam-cta-section>.jam-container{
    width:min(calc(100% - 40px),1040px)!important;
}
body.jam-fund-canvas-page .jam-cta{
    min-height:0!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:22px!important;
    padding:17px 20px!important;
    border-radius:20px!important;
    box-shadow:0 14px 34px rgba(52,56,15,.12)!important;
}
body.jam-fund-canvas-page .jam-cta-pattern{
    width:260px!important;
    height:260px!important;
    left:-130px!important;
}
body.jam-fund-canvas-page .jam-cta-kicker{font-size:9px!important}
body.jam-fund-canvas-page .jam-cta h2{
    margin:3px 0 4px!important;
    font-size:clamp(20px,1.8vw,25px)!important;
    line-height:1.35!important;
    letter-spacing:-.02em!important;
}
body.jam-fund-canvas-page .jam-cta-text,
body.jam-fund-canvas-page .jam-cta-text p{
    margin:0!important;
    font-size:10.5px!important;
    line-height:1.75!important;
}
body.jam-fund-canvas-page .jam-cta-button{
    min-width:132px!important;
    min-height:42px!important;
    gap:8px!important;
    padding:8px 13px!important;
    border-radius:12px!important;
    font-size:10.5px!important;
    box-shadow:0 8px 20px rgba(0,0,0,.1)!important;
}
body.jam-fund-canvas-page .jam-cta-button svg{width:13px!important;height:13px!important}

/* Exact visual structure of the footer used by Emardomi Home Builder. */
.jam-equal-home-footer,
.jam-equal-home-footer *,
.jam-equal-home-footer *::before,
.jam-equal-home-footer *::after{box-sizing:border-box!important}
.jam-equal-home-footer{
    position:relative!important;
    z-index:20!important;
    display:block!important;
    clear:both!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    margin:0!important;
    padding:58px 0 0!important;
    overflow:hidden!important;
    visibility:visible!important;
    opacity:1!important;
    isolation:isolate!important;
    direction:rtl!important;
    color:#fff!important;
    font-family:"Vazir","Vazirmatn",Tahoma,Arial,sans-serif!important;
    background:
      radial-gradient(circle at 86% 4%,rgba(184,138,67,.20),transparent 31%),
      radial-gradient(circle at 8% 92%,rgba(250,236,209,.08),transparent 26%),
      linear-gradient(145deg,#25250c 0%,#303012 52%,#1f2009 100%)!important;
}
.jam-equal-home-footer .ehb-footer-grid-pattern{
    position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important;opacity:.07!important;
    background-image:linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px)!important;
    background-size:48px 48px!important;mask-image:linear-gradient(to bottom,#000,transparent 82%)!important;
}
.jam-equal-home-footer .ehb-footer-glow{
    position:absolute!important;top:-310px!important;right:-190px!important;width:560px!important;height:560px!important;border-radius:50%!important;
    background:radial-gradient(circle,rgba(184,138,67,.22),transparent 66%)!important;opacity:.8!important;
}
.jam-equal-home-footer .ehb-container{
    position:relative!important;z-index:2!important;width:min(calc(100% - 40px),1220px)!important;max-width:1220px!important;margin-inline:auto!important;padding:0!important;
}
.jam-equal-home-footer .ehb-icon{display:block!important;width:20px!important;height:20px!important;flex:0 0 auto!important;fill:none!important;stroke:currentColor!important}
.jam-equal-home-footer .ehb-footer-intro{
    position:relative!important;z-index:2!important;display:grid!important;grid-template-columns:minmax(0,1.42fr) minmax(290px,.58fr)!important;
    align-items:stretch!important;gap:18px!important;direction:rtl!important;margin-bottom:30px!important;
}
.jam-equal-home-footer .ehb-footer-about,
.jam-equal-home-footer .ehb-footer-contact-card{
    border:1px solid rgba(250,236,209,.11)!important;border-radius:26px!important;
    background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 24px 70px rgba(0,0,0,.12)!important;backdrop-filter:blur(12px)!important;
}
.jam-equal-home-footer .ehb-footer-about{padding:28px 30px 25px!important}
.jam-equal-home-footer .ehb-footer-brand{display:flex!important;align-items:center!important;gap:12px!important;direction:rtl!important;margin-bottom:14px!important;color:#fff!important}
.jam-equal-home-footer .ehb-footer-brand img{width:56px!important;height:56px!important;object-fit:contain!important;border-radius:50%!important;background:var(--ehb-primary)!important;padding:4px!important;box-shadow:0 11px 28px rgba(0,0,0,.18)!important;cursor:zoom-in!important}
.jam-equal-home-footer .ehb-footer-brand>div{min-width:0!important;display:flex!important;flex-direction:column!important}
.jam-equal-home-footer .ehb-footer-brand strong{color:#fff!important;font-size:16px!important;font-weight:900!important;line-height:1.5!important;letter-spacing:-.2px!important}
.jam-equal-home-footer .ehb-footer-brand small{color:rgba(255,255,255,.56)!important;font-size:9px!important}
.jam-equal-home-footer .ehb-footer-about>p{margin:0!important;max-width:900px!important;color:rgba(255,255,255,.7)!important;font-size:11.5px!important;line-height:2.05!important;text-align:right!important}
.jam-equal-home-footer .ehb-footer-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;direction:rtl!important;margin-top:22px!important}
.jam-equal-home-footer .ehb-footer-action{
    position:relative!important;min-width:0!important;min-height:84px!important;display:grid!important;grid-template-columns:45px minmax(0,1fr) 24px!important;
    align-items:center!important;gap:11px!important;direction:rtl!important;margin:0!important;padding:13px!important;overflow:hidden!important;
    border:1px solid rgba(250,236,209,.13)!important;border-radius:17px!important;outline:0!important;background:rgba(255,255,255,.055)!important;
    color:#fff!important;text-decoration:none!important;box-shadow:none!important;text-align:right!important;transition:transform .22s ease,background .22s ease,border-color .22s ease!important;
}
.jam-equal-home-footer .ehb-footer-action::before{content:""!important;position:absolute!important;width:90px!important;height:90px!important;top:-48px!important;left:-42px!important;border-radius:50%!important;background:rgba(250,236,209,.06)!important;transition:transform .3s ease!important}
.jam-equal-home-footer .ehb-footer-action:hover{transform:translateY(-3px)!important;border-color:rgba(250,236,209,.28)!important;background:rgba(255,255,255,.095)!important;color:#fff!important}
.jam-equal-home-footer .ehb-footer-action:hover::before{transform:scale(1.5)!important}
.jam-equal-home-footer .ehb-footer-action-icon{width:45px!important;height:45px!important;display:grid!important;place-items:center!important;border-radius:14px!important;background:var(--ehb-primary)!important;color:var(--ehb-secondary)!important}
.jam-equal-home-footer .ehb-footer-action-icon .ehb-icon{width:20px!important;height:20px!important}
.jam-equal-home-footer .ehb-footer-action-copy{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:right!important}
.jam-equal-home-footer .ehb-footer-action-copy small{color:rgba(250,236,209,.56)!important;font-size:8.5px!important;font-weight:750!important}
.jam-equal-home-footer .ehb-footer-action-copy strong{margin:1px 0!important;color:#fff!important;font-size:12.5px!important;font-weight:900!important;line-height:1.6!important}
.jam-equal-home-footer .ehb-footer-action-copy em{overflow:hidden!important;color:rgba(255,255,255,.52)!important;font-size:8.5px!important;font-style:normal!important;white-space:nowrap!important;text-overflow:ellipsis!important}
.jam-equal-home-footer .ehb-footer-action>i{position:relative!important;z-index:1!important;width:24px!important;height:24px!important;display:grid!important;place-items:center!important;color:var(--ehb-primary)!important}
.jam-equal-home-footer .ehb-footer-action>i .ehb-icon{width:16px!important;height:16px!important}
.jam-equal-home-footer .ehb-footer-contact-card{display:flex!important;flex-direction:column!important;padding:23px!important}
.jam-equal-home-footer .ehb-footer-contact-head{display:flex!important;align-items:center!important;gap:10px!important;direction:rtl!important;margin-bottom:16px!important}
.jam-equal-home-footer .ehb-footer-contact-head>span{width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border-radius:13px!important;background:rgba(250,236,209,.1)!important;color:var(--ehb-primary)!important}
.jam-equal-home-footer .ehb-footer-contact-head>span .ehb-icon{width:18px!important;height:18px!important}
.jam-equal-home-footer .ehb-footer-contact-head div{display:flex!important;flex-direction:column!important}
.jam-equal-home-footer .ehb-footer-contact-head small{color:rgba(250,236,209,.52)!important;font-size:8.5px!important}
.jam-equal-home-footer .ehb-footer-contact-head h3{margin:0!important;color:#fff!important;font-size:14px!important;line-height:1.6!important}
.jam-equal-home-footer .ehb-contact-list{margin:0 0 17px!important;padding:0!important;list-style:none!important}
.jam-equal-home-footer .ehb-contact-list li{display:flex!important;align-items:flex-start!important;gap:9px!important;direction:rtl!important;margin-bottom:9px!important;color:rgba(255,255,255,.75)!important;font-size:10.5px!important;line-height:1.8!important;text-align:right!important}
.jam-equal-home-footer .ehb-contact-list .ehb-icon{width:17px!important;height:17px!important;margin-top:3px!important;color:var(--ehb-primary)!important}
.jam-equal-home-footer .ehb-contact-list a{color:rgba(255,255,255,.75)!important;text-decoration:none!important}
.jam-equal-home-footer .ehb-footer-contact-bottom{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;direction:rtl!important;margin-top:auto!important}
.jam-equal-home-footer .ehb-socials{display:flex!important;flex-wrap:wrap!important;gap:7px!important;direction:rtl!important}
.jam-equal-home-footer .ehb-social{min-height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;direction:rtl!important;padding:0 9px!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:11px!important;background:rgba(255,255,255,.075)!important;color:#fff!important;text-decoration:none!important;transition:.22s ease!important}
.jam-equal-home-footer .ehb-social:hover{transform:translateY(-3px)!important;background:var(--ehb-primary)!important;color:var(--ehb-secondary)!important}
.jam-equal-home-footer .ehb-social .ehb-icon{width:15px!important;height:15px!important}
.jam-equal-home-footer .ehb-social span{color:inherit!important;font-size:9.5px!important;font-weight:800!important}
.jam-equal-home-footer .ehb-enamad{display:inline-flex!important;flex:0 0 auto!important;min-width:66px!important;min-height:72px!important;margin:0!important;padding:5px!important;border-radius:12px!important;background:#fff!important}
.jam-equal-home-footer .ehb-enamad img{max-width:62px!important;max-height:68px!important;object-fit:contain!important;cursor:zoom-in!important}
.jam-equal-home-footer .ehb-footer-bottom{position:relative!important;z-index:2!important;min-height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;direction:rtl!important;border-top:1px solid rgba(255,255,255,.085)!important;color:rgba(255,255,255,.46)!important;font-size:9.5px!important}
.jam-equal-home-footer .ehb-footer-bottom p{margin:0!important;color:inherit!important}
.jam-equal-home-footer .ehb-footer-bottom a{color:var(--ehb-primary)!important;direction:ltr!important;text-decoration:none!important}

/* Any image in JAM content or its footer is a zoomable image. */
body.jam-fund-canvas-page .jam-fund-canvas-main img,
body.jam-fund-canvas-page .jam-equal-home-footer img{cursor:zoom-in!important}
body.jam-fund-canvas-page .jam-image-lightbox{font-family:"Vazir","Vazirmatn",Tahoma,Arial,sans-serif!important}

@media(max-width:900px){
    .jam-equal-home-footer .ehb-footer-intro{grid-template-columns:1fr!important}
    .jam-equal-home-footer .ehb-footer-contact-card{min-height:0!important}
}
@media(max-width:700px){
    body.jam-fund-canvas-page .jam-section{padding:24px 0!important}
    body.jam-fund-canvas-page .jam-hero-section{padding-top:5px!important;padding-bottom:22px!important}
    body.jam-fund-canvas-page .jam-section-heading h2{font-size:22px!important}
    body.jam-fund-canvas-page .jam-section-heading p{font-size:11.5px!important}
    body.jam-fund-canvas-page .jam-hero-copy h1{font-size:29px!important}
    body.jam-fund-canvas-page .jam-hero-subtitle,body.jam-fund-canvas-page .jam-hero-subtitle p{font-size:12px!important}
    body.jam-fund-canvas-page .jam-cta-section{padding:14px 0 16px!important}
    body.jam-fund-canvas-page .jam-cta-section>.jam-container{width:min(calc(100% - 22px),1040px)!important}
    body.jam-fund-canvas-page .jam-cta{grid-template-columns:1fr!important;gap:12px!important;padding:15px 16px!important;border-radius:17px!important}
    body.jam-fund-canvas-page .jam-cta h2{font-size:20px!important}
    body.jam-fund-canvas-page .jam-cta-button{width:auto!important;min-width:125px!important;justify-self:start!important;min-height:40px!important}
    .jam-equal-home-footer{padding-top:42px!important}
    .jam-equal-home-footer .ehb-container{width:min(calc(100% - 18px),1220px)!important}
    .jam-equal-home-footer .ehb-footer-about,.jam-equal-home-footer .ehb-footer-contact-card{border-radius:21px!important}
    .jam-equal-home-footer .ehb-footer-about{padding:22px 18px 18px!important}
    .jam-equal-home-footer .ehb-footer-actions{grid-template-columns:1fr!important}
    .jam-equal-home-footer .ehb-footer-action{min-height:78px!important}
    .jam-equal-home-footer .ehb-footer-contact-bottom{align-items:center!important}
    .jam-equal-home-footer .ehb-footer-bottom{align-items:flex-start!important;flex-direction:column!important;justify-content:center!important;padding:13px 0!important}
}
@media(max-width:480px){
    .jam-equal-home-footer .ehb-container{width:min(calc(100% - 14px),1220px)!important}
    .jam-equal-home-footer{padding-top:32px!important}
}

/* Balance the social-impact cards so the last row never creates the giant empty hole seen in the old layout. */
body.jam-fund-canvas-page .jam-impact-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
body.jam-fund-canvas-page .jam-impact-card,
body.jam-fund-canvas-page .jam-impact-card.is-featured{grid-column:span 1!important;min-height:168px!important;padding:17px!important;border-radius:20px!important}
@media(max-width:1050px){body.jam-fund-canvas-page .jam-impact-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){body.jam-fund-canvas-page .jam-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:500px){body.jam-fund-canvas-page .jam-impact-grid{grid-template-columns:1fr!important}}

/* =========================================================
   v1.3.0 — full-width repair + local footer forms + homepage CTA
   ========================================================= */
html:has(body.jam-fund-canvas-page),
html:has(body.jam-fund-canvas-page) body,
body.jam-fund-canvas-page,
body.jam-fund-canvas-page .jam-fund-canvas-main{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
    inset:auto!important;
}
body.jam-fund-canvas-page{
    overflow-x:clip!important;
    background:#fbf7ee!important;
}
body.jam-fund-canvas-page .jam-fund-canvas-main{
    position:relative!important;
    display:block!important;
    overflow:visible!important;
}
body.jam-fund-canvas-page .jam-fund-page{
    position:relative!important;
    display:block!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    margin:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding:0!important;
    left:0!important;
    right:0!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
    overflow-x:clip!important;
}
body.jam-fund-canvas-page .jam-fund-page .jam-container{
    position:relative!important;
    display:block!important;
    width:min(calc(100% - 48px),var(--jam-content))!important;
    max-width:var(--jam-content)!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
}
body.jam-fund-canvas-page .jam-hero-slider,
body.jam-fund-canvas-page .jam-actors,
body.jam-fund-canvas-page .jam-cycle-flow,
body.jam-fund-canvas-page .jam-trust-wrap,
body.jam-fund-canvas-page .jam-impact-grid{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* The new CTA is the same visual component as the homepage CTA, but lives inside the fund page. */
body.jam-fund-canvas-page .jam-fund-field-cta{
    width:100%!important;
    max-width:100%!important;
    margin:18px 0 0!important;
    padding:0!important;
    background:transparent!important;
    font-family:"Vazir","Vazirmatn",Tahoma,Arial,sans-serif!important;
}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-section{
    margin:0!important;
    padding:0!important;
    background:transparent!important;
}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-container{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-card{
    margin:0!important;
}

/* Keep the footer fully local: its forms open over this page, never under it. */
body.jam-fund-canvas-page .jam-fund-footer-ehb-site{
    position:relative!important;
    z-index:100!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    font-family:"Vazir","Vazirmatn",Tahoma,Arial,sans-serif!important;
}
body.jam-fund-canvas-page .jam-fund-footer-ehb-site .jam-fund-local-modal{
    position:fixed!important;
    inset:0!important;
    z-index:2147483000!important;
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    margin:0!important;
    transform:none!important;
}
body.jam-fund-canvas-page .jam-fund-footer-ehb-site .jam-fund-local-modal .ehb-modal-backdrop{
    position:absolute!important;
    inset:0!important;
}
body.jam-fund-canvas-page .jam-fund-footer-ehb-site .jam-fund-local-modal .ehb-modal-dialog{
    position:relative!important;
    z-index:2!important;
}
body.jam-fund-canvas-page .jam-equal-home-footer .ehb-footer-bottom>span{
    color:var(--ehb-primary)!important;
    direction:ltr!important;
}

@media(max-width:700px){
    body.jam-fund-canvas-page .jam-fund-page .jam-container{
        width:calc(100% - 22px)!important;
    }
    body.jam-fund-canvas-page .jam-fund-field-cta{margin-top:12px!important}
}
body.jam-fund-canvas-page .jam-fund-footer-ehb-site{
    overflow:visible!important;
    background:transparent!important;
}
body.jam-fund-canvas-page .jam-fund-footer-ehb-site.has-open-modal{
    z-index:2147482900!important;
}


/* =========================================================
   v1.3.1 — viewport lock + true centered layout repair
   ========================================================= */
html body.jam-fund-canvas-page,
body.jam-fund-canvas-page,
body.jam-fund-canvas-page .jam-fund-canvas-main,
body.jam-fund-canvas-page .jam-fund-page{
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    left:0!important;
    right:0!important;
    float:none!important;
    clear:both!important;
    transform:none!important;
}
body.jam-fund-canvas-page .jam-fund-page{
    overflow-x:hidden!important;
    overflow-y:visible!important;
}
/* Center every primary section against the viewport, not against any theme wrapper. */
body.jam-fund-canvas-page .jam-fund-page > .jam-section > .jam-container{
    display:block!important;
    width:min(calc(100vw - 48px), max(var(--jam-content), 1180px))!important;
    max-width:1280px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    position:relative!important;
    inset:auto!important;
    transform:none!important;
    float:none!important;
}
body.jam-fund-canvas-page .jam-hero-slider,
body.jam-fund-canvas-page .jam-fund-field-cta,
body.jam-fund-canvas-page .jam-actors,
body.jam-fund-canvas-page .jam-cycle-flow,
body.jam-fund-canvas-page .jam-trust-wrap,
body.jam-fund-canvas-page .jam-impact-grid,
body.jam-fund-canvas-page .jam-cta{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
/* Never let a residual WordPress/theme wrapper reserve a phantom right column. */
body.jam-fund-canvas-page #page,
body.jam-fund-canvas-page #content,
body.jam-fund-canvas-page .site,
body.jam-fund-canvas-page .site-content,
body.jam-fund-canvas-page .content-area,
body.jam-fund-canvas-page .entry-content,
body.jam-fund-canvas-page .container,
body.jam-fund-canvas-page .container-fluid{
    max-width:none!important;
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    transform:none!important;
}
@media(max-width:1200px){
    body.jam-fund-canvas-page .jam-fund-page > .jam-section > .jam-container{
        width:calc(100vw - 30px)!important;
        max-width:none!important;
    }
}
@media(max-width:700px){
    body.jam-fund-canvas-page .jam-fund-page > .jam-section > .jam-container{
        width:calc(100vw - 20px)!important;
    }
}

/* =========================================================
   v1.4.0 — homepage header + genuinely compact/minimal fund page
   ========================================================= */
body.jam-fund-canvas-page .whb-header,
body.jam-fund-canvas-page .whb-main-header,
body.jam-fund-canvas-page header.site-header,
body.jam-fund-canvas-page .site-header:not(.ehb-header),
body.jam-fund-canvas-page .main-header:not(.ehb-header){display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.jam-fund-home-header-portal,.jam-fund-home-header-site{position:relative!important;z-index:1200!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fffdf8!important;overflow:visible!important}
.jam-fund-home-header-site .ehb-header{margin:0!important}
body.jam-fund-canvas-page .jam-fund-canvas-main{margin:0!important;padding:0!important}

/* One compact rhythm for the whole page. */
body.jam-fund-canvas-page .jam-fund-page>.jam-section>.jam-container{width:min(calc(100vw - 34px),1160px)!important;max-width:1160px!important}
body.jam-fund-canvas-page .jam-section{padding:24px 0!important}
body.jam-fund-canvas-page .jam-hero-section{padding:10px 0 22px!important}
body.jam-fund-canvas-page .jam-section+.jam-section::before{width:min(calc(100% - 34px),1160px)!important;opacity:.55!important}
body.jam-fund-canvas-page .jam-section-label{gap:7px!important;margin:0 0 8px!important;font-size:9.5px!important}
body.jam-fund-canvas-page .jam-section-label>span{width:25px!important;height:1.5px!important}
body.jam-fund-canvas-page .jam-section-heading{align-items:end!important;gap:12px!important;margin:0 0 14px!important}
body.jam-fund-canvas-page .jam-section-heading h2{margin:3px 0 0!important;font-size:clamp(20px,2vw,27px)!important;line-height:1.35!important;letter-spacing:-.02em!important}
body.jam-fund-canvas-page .jam-section-heading p{max-width:560px!important;margin:5px 0 0!important;font-size:10.8px!important;line-height:1.72!important}
body.jam-fund-canvas-page .jam-eyebrow,body.jam-fund-canvas-page .jam-cta-kicker{font-size:9px!important}
body.jam-fund-canvas-page .jam-heading-mark{width:50px!important;height:32px!important;gap:4px!important}
body.jam-fund-canvas-page .jam-heading-mark i{width:7px!important}
body.jam-fund-canvas-page .jam-heading-mark i:nth-child(1){height:12px!important}body.jam-fund-canvas-page .jam-heading-mark i:nth-child(2){height:21px!important}body.jam-fund-canvas-page .jam-heading-mark i:nth-child(3){height:30px!important}

/* Hero is a compact card, not a full-screen block. */
body.jam-fund-canvas-page .jam-hero-slider{border-radius:20px!important;box-shadow:0 14px 38px rgba(43,45,20,.07)!important}
body.jam-fund-canvas-page .jam-hero-track{min-height:365px!important}
body.jam-fund-canvas-page .jam-hero-slide{grid-template-columns:.92fr 1.08fr!important;gap:24px!important;padding:22px!important}
body.jam-fund-canvas-page .jam-hero-copy{padding:8px 4px 38px!important}
body.jam-fund-canvas-page .jam-hero-copy h1{max-width:520px!important;margin:8px 0 10px!important;font-size:clamp(27px,2.8vw,38px)!important;line-height:1.3!important}
body.jam-fund-canvas-page .jam-hero-subtitle,body.jam-fund-canvas-page .jam-hero-subtitle p{max-width:500px!important;font-size:11.8px!important;line-height:1.75!important}
body.jam-fund-canvas-page .jam-hero-signature{margin-top:18px!important;gap:5px!important}
body.jam-fund-canvas-page .jam-hero-signature span{width:36px!important}
body.jam-fund-canvas-page .jam-hero-signature b{width:7px!important;height:7px!important}
body.jam-fund-canvas-page .jam-hero-media{min-height:285px!important;border-radius:17px!important}
body.jam-fund-canvas-page .jam-slider-controls{right:22px!important;bottom:14px!important;gap:7px!important}
body.jam-fund-canvas-page .jam-slider-arrow{width:32px!important;height:32px!important;border-radius:9px!important}
body.jam-fund-canvas-page .jam-slider-arrow svg{width:14px!important;height:14px!important}
body.jam-fund-canvas-page .jam-slider-dots{gap:4px!important}
body.jam-fund-canvas-page .jam-slider-dots button{width:15px!important;height:3px!important}body.jam-fund-canvas-page .jam-slider-dots button.is-active{width:28px!important}

/* The requested “همین حالا وارد میدان شوید!” CTA: deliberately thin. */
body.jam-fund-canvas-page .jam-fund-field-cta{margin:10px auto 0!important;width:min(100%,1040px)!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-section{padding:0!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-container{width:100%!important;max-width:1040px!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-card{grid-template-columns:36px minmax(0,1fr) auto!important;gap:8px 10px!important;min-height:0!important;padding:10px 13px!important;border-radius:14px!important;box-shadow:0 10px 24px rgba(76,76,26,.12)!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-icon{width:36px!important;height:36px!important;border-radius:10px!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-icon .ehb-icon{width:17px!important;height:17px!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-content>span{font-size:7.8px!important;line-height:1.35!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-content h2{margin:1px 0 2px!important;font-size:15px!important;line-height:1.4!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-content p{margin:0!important;font-size:9px!important;line-height:1.55!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-card>.ehb-button{min-width:104px!important;min-height:34px!important;height:34px!important;padding:0 11px!important;border-radius:9px!important;font-size:9px!important;gap:4px!important}
body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-card>.ehb-button svg{width:12px!important;height:12px!important}

/* Actors, cycle, trust and impact all use smaller cards and tighter gaps. */
body.jam-fund-canvas-page .jam-actors{margin-top:12px!important;border-radius:18px!important;box-shadow:0 12px 32px rgba(52,56,15,.10)!important}
body.jam-fund-canvas-page .jam-actors-head{padding:14px 16px 0!important}
body.jam-fund-canvas-page .jam-actors-head h2{margin:0 0 8px!important;font-size:12px!important}
body.jam-fund-canvas-page .jam-actors-tabs{gap:5px!important}
body.jam-fund-canvas-page .jam-actor-tab{min-height:40px!important;gap:6px!important;padding:7px 10px!important;border-radius:11px 11px 0 0!important;font-size:10px!important}
body.jam-fund-canvas-page .jam-tab-num{width:21px!important;height:21px!important;border-radius:6px!important;font-size:9px!important}
body.jam-fund-canvas-page .jam-actor-panel{grid-template-columns:54px 1fr!important;gap:13px!important;padding:16px!important}
body.jam-fund-canvas-page .jam-actor-icon{width:50px!important;height:50px!important;border-radius:14px!important}
body.jam-fund-canvas-page .jam-actor-icon svg{width:25px!important;height:25px!important}
body.jam-fund-canvas-page .jam-actor-panel h3{margin-bottom:3px!important;font-size:13px!important}
body.jam-fund-canvas-page .jam-richtext,body.jam-fund-canvas-page .jam-richtext p{font-size:10.2px!important;line-height:1.7!important}

body.jam-fund-canvas-page .jam-cycle-flow{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr) 36px minmax(0,1fr) 46px minmax(0,1fr)!important}
body.jam-fund-canvas-page .jam-cycle-card{min-height:154px!important;padding:14px!important;border-radius:17px!important;box-shadow:0 9px 25px rgba(48,50,20,.045)!important}
body.jam-fund-canvas-page .jam-step-top{gap:7px!important}
body.jam-fund-canvas-page .jam-step-number{padding:3px 7px!important;font-size:9px!important}
body.jam-fund-canvas-page .jam-step-icon{width:43px!important;height:43px!important;border-radius:12px!important}
body.jam-fund-canvas-page .jam-step-icon svg{width:23px!important;height:23px!important}
body.jam-fund-canvas-page .jam-cycle-card h3{margin:13px 0 4px!important;font-size:12.7px!important}
body.jam-fund-canvas-page .jam-cycle-arrow{height:38px!important}
body.jam-fund-canvas-page .jam-cycle-arrow svg{width:15px!important;height:15px!important;margin-left:-22px!important}
body.jam-fund-canvas-page .jam-cycle-arrow.is-return{height:48px!important}body.jam-fund-canvas-page .jam-cycle-arrow.is-return svg{width:20px!important;height:20px!important;margin-left:-26px!important}
body.jam-fund-canvas-page .jam-cycle-arrow.is-return b{font-size:8px!important;padding:1px 6px!important}
body.jam-fund-canvas-page .jam-cycle-loop{gap:10px!important;margin-top:12px!important;font-size:9.5px!important}
body.jam-fund-canvas-page .jam-loop-line{height:22px!important;border-radius:0 0 18px 18px!important}

body.jam-fund-canvas-page .jam-trust-wrap{padding:14px!important;border-radius:20px!important;box-shadow:0 14px 38px rgba(52,56,15,.11)!important}
body.jam-fund-canvas-page .jam-trust-grid{gap:8px!important}
body.jam-fund-canvas-page .jam-trust-card{min-height:145px!important;padding:13px!important;border-radius:15px!important}
body.jam-fund-canvas-page .jam-trust-icon{width:42px!important;height:42px!important;border-radius:12px!important}
body.jam-fund-canvas-page .jam-trust-icon svg{width:23px!important;height:23px!important}
body.jam-fund-canvas-page .jam-trust-index{top:12px!important;left:12px!important;font-size:9px!important}
body.jam-fund-canvas-page .jam-trust-card h3{margin:12px 0 4px!important;font-size:12.5px!important}
body.jam-fund-canvas-page .jam-trust-note{margin-top:9px!important;padding:9px 11px!important;gap:8px!important;border-radius:11px!important;font-size:10px!important}
body.jam-fund-canvas-page .jam-pulse-dot{width:7px!important;height:7px!important;box-shadow:0 0 0 4px rgba(201,154,54,.13)!important}

body.jam-fund-canvas-page .jam-impact-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important}
body.jam-fund-canvas-page .jam-impact-card,body.jam-fund-canvas-page .jam-impact-card.is-featured{grid-column:span 1!important;min-height:130px!important;padding:13px!important;border-radius:16px!important;box-shadow:0 8px 23px rgba(48,50,20,.045)!important}
body.jam-fund-canvas-page .jam-impact-top{gap:8px!important}
body.jam-fund-canvas-page .jam-impact-visual{width:42px!important;height:42px!important;border-radius:12px!important}
body.jam-fund-canvas-page .jam-impact-visual svg{width:22px!important;height:22px!important}
body.jam-fund-canvas-page .jam-impact-metric{font-size:18px!important}
body.jam-fund-canvas-page .jam-impact-card h3{margin:11px 0 3px!important;font-size:12.5px!important}

/* Bottom CTA is compact too, so the page finishes cleanly before the real homepage footer. */
body.jam-fund-canvas-page .jam-cta-section{padding:12px 0 14px!important}
body.jam-fund-canvas-page .jam-cta-section>.jam-container{width:min(calc(100vw - 34px),980px)!important}
body.jam-fund-canvas-page .jam-cta{grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;padding:13px 16px!important;border-radius:15px!important;box-shadow:0 10px 26px rgba(52,56,15,.11)!important}
body.jam-fund-canvas-page .jam-cta h2{margin:2px 0 3px!important;font-size:18px!important}
body.jam-fund-canvas-page .jam-cta-text,body.jam-fund-canvas-page .jam-cta-text p{font-size:9.5px!important;line-height:1.6!important}
body.jam-fund-canvas-page .jam-cta-button{min-width:112px!important;min-height:36px!important;padding:0 12px!important;border-radius:10px!important;font-size:9.5px!important;gap:5px!important}
body.jam-fund-canvas-page .jam-cta-button svg{width:12px!important;height:12px!important}
body.jam-fund-canvas-page .jam-fund-footer-ehb-site{margin-top:0!important}
body.jam-fund-canvas-page .jam-equal-home-footer{margin-top:0!important}
body.jam-fund-canvas-page .jam-fund-footer-public-relations a{direction:ltr!important;color:var(--ehb-primary)!important;font-weight:800!important}

@media(max-width:980px){
 body.jam-fund-canvas-page .jam-fund-page>.jam-section>.jam-container{width:calc(100vw - 26px)!important}
 body.jam-fund-canvas-page .jam-hero-track{min-height:335px!important}
 body.jam-fund-canvas-page .jam-hero-slide{gap:14px!important;padding:16px!important}
 body.jam-fund-canvas-page .jam-hero-media{min-height:250px!important}
 body.jam-fund-canvas-page .jam-cycle-flow{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.jam-fund-canvas-page .jam-cycle-arrow{display:none!important}
 body.jam-fund-canvas-page .jam-cycle-card{min-height:135px!important}
 body.jam-fund-canvas-page .jam-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.jam-fund-canvas-page .jam-impact-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media(max-width:700px){
 body.jam-fund-canvas-page .jam-fund-page>.jam-section>.jam-container{width:calc(100vw - 18px)!important}
 body.jam-fund-canvas-page .jam-section{padding:17px 0!important}
 body.jam-fund-canvas-page .jam-hero-section{padding:6px 0 15px!important}
 body.jam-fund-canvas-page .jam-section-heading{margin-bottom:10px!important}
 body.jam-fund-canvas-page .jam-section-heading h2{font-size:18px!important}
 body.jam-fund-canvas-page .jam-section-heading p{font-size:9.7px!important;line-height:1.6!important}
 body.jam-fund-canvas-page .jam-heading-mark{display:none!important}
 body.jam-fund-canvas-page .jam-hero-track{min-height:0!important;height:auto!important}
 body.jam-fund-canvas-page .jam-hero-slide{position:relative!important;inset:auto!important;display:none!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;gap:8px!important;padding:10px!important;opacity:1!important;visibility:visible!important;transform:none!important}
 body.jam-fund-canvas-page .jam-hero-slide.is-active{display:grid!important}
 body.jam-fund-canvas-page .jam-hero-copy{order:2!important;padding:6px 4px 34px!important}
 body.jam-fund-canvas-page .jam-hero-copy h1{margin:5px 0 6px!important;font-size:22px!important;line-height:1.35!important}
 body.jam-fund-canvas-page .jam-hero-subtitle,body.jam-fund-canvas-page .jam-hero-subtitle p{font-size:10.2px!important;line-height:1.62!important}
 body.jam-fund-canvas-page .jam-hero-signature{display:none!important}
 body.jam-fund-canvas-page .jam-hero-media{order:1!important;min-height:0!important;height:auto!important;aspect-ratio:16/9!important;border-radius:13px!important}
 body.jam-fund-canvas-page .jam-hero-media>img{width:100%!important;height:100%!important;object-fit:contain!important;background:#f4efe3!important}
 body.jam-fund-canvas-page .jam-slider-controls{right:14px!important;bottom:10px!important}
 body.jam-fund-canvas-page .jam-fund-field-cta{margin-top:7px!important}
 body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-card{grid-template-columns:32px minmax(0,1fr)!important;gap:5px 8px!important;padding:9px 10px!important;border-radius:12px!important}
 body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-icon{width:32px!important;height:32px!important}
 body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-content h2{font-size:13.5px!important}
 body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-content p{font-size:8.4px!important;line-height:1.45!important}
 body.jam-fund-canvas-page .jam-fund-field-cta .ehb-cta-card>.ehb-button{grid-column:2!important;justify-self:start!important;min-width:90px!important;height:31px!important;min-height:31px!important;padding:0 9px!important;font-size:8.5px!important}
 body.jam-fund-canvas-page .jam-actors{margin-top:8px!important}
 body.jam-fund-canvas-page .jam-actors-head{padding:10px 10px 0!important}
 body.jam-fund-canvas-page .jam-actors-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
 body.jam-fund-canvas-page .jam-actor-tab{min-width:0!important;min-height:35px!important;padding:5px 4px!important;font-size:8.7px!important;gap:4px!important}
 body.jam-fund-canvas-page .jam-tab-num{width:18px!important;height:18px!important;font-size:8px!important}
 body.jam-fund-canvas-page .jam-actor-panel{grid-template-columns:42px 1fr!important;gap:9px!important;padding:11px!important}
 body.jam-fund-canvas-page .jam-actor-icon{width:40px!important;height:40px!important}
 body.jam-fund-canvas-page .jam-actor-panel h3{font-size:11.5px!important}
 body.jam-fund-canvas-page .jam-richtext,body.jam-fund-canvas-page .jam-richtext p{font-size:9px!important;line-height:1.55!important}
 body.jam-fund-canvas-page .jam-cycle-flow{grid-template-columns:1fr!important;gap:7px!important}
 body.jam-fund-canvas-page .jam-cycle-card{min-height:0!important;padding:11px!important;border-radius:13px!important}
 body.jam-fund-canvas-page .jam-step-icon{width:36px!important;height:36px!important}
 body.jam-fund-canvas-page .jam-cycle-card h3{margin-top:8px!important;font-size:11.5px!important}
 body.jam-fund-canvas-page .jam-cycle-loop{display:none!important}
 body.jam-fund-canvas-page .jam-trust-wrap{padding:9px!important;border-radius:15px!important}
 body.jam-fund-canvas-page .jam-trust-grid{grid-template-columns:1fr 1fr!important;gap:6px!important}
 body.jam-fund-canvas-page .jam-trust-card{min-height:112px!important;padding:10px!important;border-radius:12px!important}
 body.jam-fund-canvas-page .jam-trust-icon{width:34px!important;height:34px!important}
 body.jam-fund-canvas-page .jam-trust-card h3{margin-top:8px!important;font-size:10.8px!important}
 body.jam-fund-canvas-page .jam-trust-note{padding:7px 8px!important;font-size:8.8px!important}
 body.jam-fund-canvas-page .jam-impact-grid{grid-template-columns:1fr 1fr!important;gap:6px!important}
 body.jam-fund-canvas-page .jam-impact-card,body.jam-fund-canvas-page .jam-impact-card.is-featured{min-height:108px!important;padding:10px!important;border-radius:12px!important}
 body.jam-fund-canvas-page .jam-impact-visual{width:34px!important;height:34px!important}
 body.jam-fund-canvas-page .jam-impact-metric{font-size:15px!important}
 body.jam-fund-canvas-page .jam-impact-card h3{margin-top:8px!important;font-size:10.8px!important}
 body.jam-fund-canvas-page .jam-cta-section{padding:8px 0 10px!important}
 body.jam-fund-canvas-page .jam-cta-section>.jam-container{width:calc(100vw - 18px)!important}
 body.jam-fund-canvas-page .jam-cta{grid-template-columns:1fr auto!important;gap:7px!important;padding:9px 10px!important;border-radius:12px!important}
 body.jam-fund-canvas-page .jam-cta h2{font-size:14px!important}
 body.jam-fund-canvas-page .jam-cta-text,body.jam-fund-canvas-page .jam-cta-text p{font-size:8.4px!important;line-height:1.45!important}
 body.jam-fund-canvas-page .jam-cta-button{min-width:88px!important;min-height:31px!important;padding:0 9px!important;font-size:8.5px!important}
}

@media(max-width:420px){
 body.jam-fund-canvas-page .jam-actors-tabs{grid-template-columns:1fr!important}
 body.jam-fund-canvas-page .jam-actor-tab{justify-content:flex-start!important;border-radius:9px!important;border-bottom:1px solid rgba(255,255,255,.12)!important}
 body.jam-fund-canvas-page .jam-trust-grid,body.jam-fund-canvas-page .jam-impact-grid{grid-template-columns:1fr!important}
 body.jam-fund-canvas-page .jam-cta{grid-template-columns:1fr!important}
 body.jam-fund-canvas-page .jam-cta-button{justify-self:start!important}
}
