/* Block Styles */

.hero-slider {
     max-width: none;
     width: calc(100vw - 100px);
     margin-left: calc(50% - 50vw + 50px);
     margin-right: calc(50% - 50vw + 50px);
     overflow: visible;
     margin-top: 2em;
}
[data-slide-count="3"], [data-slide-count="2"] {
    margin-left:0;
    margin-right: 0;
    width: 100%;
}
[data-slide-count="2"] {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.is-desktop-preview .hero-slider {
     max-width: none;
     width: 100%;
     margin-left: 0;
     margin-right: 0;
     overflow: visible;
    
}
.hero-slide {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.85em;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    align-self: stretch;
    height: unset;
    font-size: clamp(0.875em, 2vw, 1em);
}

.hero-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 18px -20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent, #0073aa);
}



.hero-slide-icon {
    width: 5em;
    height: 5em;
    margin: 0 0 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wp--preset--color--primary, #0073aa);
    border-radius: 50%;
    color: white;
}
.hero-slide {--accent: var(--orange);display: flex;flex-direction: column;gap: 0.5rem;}
.hero-slide:nth-child(7n+1) { --accent: var(--orange) }
.hero-slide:nth-child(7n+2) { --accent: var(--blue) }
.hero-slide:nth-child(7n+3) { --accent: var(--pink) }
.hero-slide:nth-child(7n+4) { --accent: var(--green) }
.hero-slide:nth-child(7n+5) { --accent: var(--yellow) }
.hero-slide:nth-child(7n+6) { --accent: var(--aqua) }
.hero-slide:nth-child(7n+7) { --accent: var(--purple) }



.hero-slide svg path {
	fill: var(--accent);
}
.hero-slide-icon {
	background: color-mix(in srgb, var(--accent) 10%, white);
}

.hero-slide-icon svg:not(.icons-tabler-outline) {
    width: 2.5em;
    height: 2.5em;
    fill: currentColor;
}
.hero-slide-icon svg.icons-tabler-outline {
    width: 2.5em;
    height: 2.5em;
    stroke: var(--accent);
    stroke-width:1.7px !important
}
.hero-slide-icon svg.icons-tabler-outline * {
    fill: unset;
}
.hero-slide-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.hero-slide-title {
    font-size: 1.25em;
    font-weight: 700;
    margin: 0;
    color: var(--text-color, #333);
    line-height: 1.3;
}

.hero-slide-caption {
    font-size: 1em;
    line-height: 1.2;
    /* margin-bottom: 1.5rem; */
    color: var(--text-color #666);
    gap: 0.5rem;
}

.hero-slide-caption p {
    margin: 0 0 1rem 0;
}
.hero-slide-caption ul {
    margin: 0.5em 0;
    padding: 0 0 0 2em;
}
.hero-slide-caption li {
    margin: 0.5em 0
}
.hero-slide-caption p:last-child {
    margin-bottom: 0;
}

.hero-slide-caption a {
    color: var(--primary-color, #0073aa);
    text-decoration: underline;
    /* transition: color 0.2s ease; */
}

.hero-slide-cta {
    margin-top: auto;
}

