/* Boost5 Elements Pack — frontend + editor chrome */

.b5-el {
    margin: 1.5rem auto;
    max-width: var(--b5-site-column, var(--wp--style--global--wide-size, 1240px));
}

.b5-el.alignwide {
    max-width: var(--b5-site-column, var(--wp--style--global--wide-size, 1240px));
}

.b5-el-image__placeholder,
.b5-el-logo-grid__item--placeholder {
    display: grid;
    place-items: center;
    min-height: 140px;
    background: color-mix(in srgb, currentColor 8%, transparent);
    border: 1px dashed color-mix(in srgb, currentColor 25%, transparent);
    border-radius: 12px;
    color: color-mix(in srgb, currentColor 55%, transparent);
    font-size: 0.9rem;
}

.b5-el-image__img,
.b5-el-image-box__media img,
.b5-el-team__media img,
.b5-el-card__media img,
.b5-el-author__media img,
.b5-el-gallery__item img,
.b5-el-logo-grid__item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.b5-el-icon,
.b5-el-icon-box,
.b5-el-counter,
.b5-el-rating {
    text-align: center;
}

.b5-el-icon__glyph,
.b5-el-icon-box__icon {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    color: var(--b5-theme-accent_1, #0f9f78);
}

.b5-el-icon-list__items,
.b5-el-feature-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.b5-el-icon-list__items li,
.b5-el-feature-list__items li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.b5-el-counter__value,
.b5-el-pricing__price span {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.b5-el-progress__meta,
.b5-el-hours__row,
.b5-el-price-list__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.b5-el-progress__track {
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 12%, transparent);
    overflow: hidden;
    margin-top: 0.4rem;
}

.b5-el-progress__bar {
    height: 100%;
    background: var(--b5-theme-accent_1, #0f9f78);
}

.b5-el-alert {
    padding: 1rem 1.15rem;
    border-radius: 12px;
    border-left: 4px solid currentColor;
    background: color-mix(in srgb, currentColor 8%, transparent);
}

.b5-el-alert--success { color: #166534; }
.b5-el-alert--warning { color: #92400e; }
.b5-el-alert--danger { color: #991b1b; }
.b5-el-alert--info { color: #1e3a8a; }

.b5-el-social__row,
.b5-el-share__row,
.b5-el-dual-button__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.b5-el-social__link,
.b5-el-share__row a {
    display: inline-flex;
    padding: 0.55rem 0.95rem;
    border-radius: var(--b5-btn-radius, 0.625rem);
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    text-decoration: none;
}

.b5-el-video__frame,
.b5-el-map__frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 16px;
}

.b5-el-map__frame {
    aspect-ratio: auto;
    width: 100%;
}

.b5-el-accordion__item,
.b5-el-toggle {
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.65rem;
    background: color-mix(in srgb, #fff 88%, transparent);
}

.b5-el-accordion__item summary,
.b5-el-toggle summary {
    cursor: pointer;
    font-weight: 600;
}

.b5-el-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.b5-el-tabs__tab {
    /* Soft wash only — no solid border chrome (site soft-shade rule). */
    border: 0;
    background: color-mix(in srgb, currentColor 8%, transparent);
    border-radius: var(--b5-btn-radius, 0.625rem);
    padding: 0.55rem 1.05rem;
    cursor: pointer;
    color: inherit;
    box-shadow: 0 6px 16px color-mix(in srgb, currentColor 10%, transparent);
}

.b5-el-tabs__tab.is-active {
    background: color-mix(in srgb, var(--b5-theme-accent_1, #0f9f78) 38%, var(--b5-theme-accent_2, #0f172a));
    color: #f5f7fa;
    -webkit-text-fill-color: #f5f7fa;
    border: 0;
    box-shadow: 0 10px 22px color-mix(in srgb, #000 18%, transparent);
}

.b5-el-tabs__panel {
    display: none;
}

.b5-el-tabs__panel.is-active {
    display: block;
}

.b5-el-gallery__grid,
.b5-el-posts__grid,
.b5-el-logo-grid__row,
.b5-el-columns {
    display: grid;
    gap: 1rem;
}

.b5-el-gallery__grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.b5-el-posts__grid,
.b5-el-columns--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.b5-el-columns--3,
.b5-el-logo-grid__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.b5-el-cta-box,
.b5-el-promo,
.b5-el-info-box,
.b5-el-pricing__card,
.b5-el-card,
.b5-el-hover-box__panel,
.b5-el-event {
    padding: 1.4rem;
    border-radius: 18px;
    background: color-mix(in srgb, currentColor 5%, #fff);
    border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.b5-el-pricing__card.is-featured {
    background: var(--b5-theme-accent_2, #07111c);
    color: #fff;
}

.b5-el-flip-box {
    perspective: 1000px;
}

.b5-el-flip-box__inner {
    position: relative;
    min-height: 200px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.b5-el-flip-box:hover .b5-el-flip-box__inner {
    transform: rotateY(180deg);
}

.b5-el-flip-box__face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 1.25rem;
    background: color-mix(in srgb, currentColor 6%, #fff);
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.b5-el-flip-box__face--back {
    transform: rotateY(180deg);
}

.b5-el-steps__list,
.b5-el-timeline .b5-el-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.b5-el-steps__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
}

.b5-el-steps__index {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--b5-theme-accent_1, #0f9f78);
    color: #fff;
    font-weight: 700;
}

.b5-el-comparison__table,
.b5-el-table {
    width: 100%;
    border-collapse: collapse;
}

.b5-el-comparison__table th,
.b5-el-comparison__table td,
.b5-el-table th,
.b5-el-table td {
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    padding: 0.7rem 0.85rem;
    text-align: left;
}

.b5-el-form {
    display: grid;
    gap: 0.75rem;
}

.b5-el-form input,
.b5-el-form textarea,
.b5-el-form button {
    width: 100%;
}

.b5-el-form input,
.b5-el-form textarea {
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    background: #fff;
}

.b5-el-author,
.b5-el-event {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: center;
}

.b5-el-ticker {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    overflow: hidden;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 6%, #fff);
}

.b5-el-ticker__label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.75rem;
}

.b5-el-hover-box__panel {
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.b5-el-hover-box__overlay {
    position: absolute;
    inset: auto 1rem 1rem auto;
    padding: 0.45rem 0.9rem;
    border-radius: var(--b5-btn-radius, 0.625rem);
    background: var(--b5-theme-accent_2, #07111c);
    color: #fff;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.b5-el-hover-box:hover .b5-el-hover-box__overlay {
    opacity: 1;
}

.b5-el-promo__badge {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--b5-theme-accent_1, #0f9f78);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.b5-el-advanced-heading__title em {
    color: var(--b5-theme-accent_1, #0f9f78);
    font-style: normal;
}

.b5-el-rating__stars .dashicons {
    color: #f59e0b;
}

@media (max-width: 780px) {
    .b5-el-posts__grid,
    .b5-el-columns--2,
    .b5-el-columns--3,
    .b5-el-logo-grid__row,
    .b5-el-author,
    .b5-el-event {
        grid-template-columns: 1fr;
    }
}

/* ── Parity pack (Elementor / Happy Addons gaps) ─────────────────────── */

.b5-el-carousel {
    overflow: hidden;
}

.b5-el-carousel__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
}

.b5-el-carousel__slide {
    flex: 0 0 min(280px, 80%);
    scroll-snap-align: start;
    min-width: 0;
}

.b5-el-carousel--slides .b5-el-carousel__slide,
.b5-el-slides .b5-el-carousel__slide {
    flex-basis: min(720px, 92%);
}

.b5-el-carousel__img,
.b5-el-slides__img,
.b5-el-hotspot__img,
.b5-el-stack__item img,
.b5-el-image-swap img,
.b5-el-portfolio__item img,
.b5-el-product-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.b5-el-compare {
    position: relative;
    display: grid;
    border-radius: 14px;
    overflow: hidden;
    min-height: 220px;
}

.b5-el-compare__before,
.b5-el-compare__after {
    grid-area: 1 / 1;
}

.b5-el-compare__before {
    width: 52%;
    overflow: hidden;
    border-right: 3px solid #fff;
    box-shadow: 4px 0 18px color-mix(in srgb, #000 18%, transparent);
}

.b5-el-compare__before span,
.b5-el-compare__after span {
    position: absolute;
    top: 0.75rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, #0f172a 80%, transparent);
    color: #fff;
    font-size: 0.75rem;
}

.b5-el-compare__before span {
    left: 0.75rem;
}

.b5-el-compare__after span {
    right: 0.75rem;
}

.b5-el-chart {
    display: grid;
    gap: 0.75rem;
}

.b5-el-chart__bar-row {
    display: grid;
    grid-template-columns: 5rem 1fr 2.5rem;
    gap: 0.65rem;
    align-items: center;
}

.b5-el-chart__bar-track {
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 12%, transparent);
    overflow: hidden;
}

.b5-el-chart__bar {
    height: 100%;
    background: var(--b5-theme-accent_1, #0f9f78);
}

.b5-el-chart--line svg {
    width: 100%;
    height: 180px;
    color: var(--b5-theme-accent_1, #0f9f78);
    background: color-mix(in srgb, currentColor 4%, transparent);
    border-radius: 12px;
}

.b5-el-chart__x {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.75;
}

.b5-el-chart--pie {
    grid-template-columns: 160px 1fr;
    align-items: center;
}

.b5-el-chart__pie {
    width: 160px;
    height: 160px;
    border-radius: 50%;
}

.b5-el-chart__legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.b5-el-chart__legend li {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.b5-el-chart__legend span {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
}

.b5-el-hotspot__stage {
    position: relative;
}

.b5-el-hotspot__spot {
    position: absolute;
    transform: translate(-50%, -50%);
}

.b5-el-hotspot__spot summary {
    list-style: none;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: var(--b5-theme-accent_1, #0f9f78);
    border: 2px solid #fff;
    cursor: pointer;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--b5-theme-accent_1, #0f9f78) 25%, transparent);
}

.b5-el-hotspot__spot summary::-webkit-details-marker {
    display: none;
}

.b5-el-hotspot__tip {
    position: absolute;
    left: 1.25rem;
    top: 0;
    min-width: 160px;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px color-mix(in srgb, #000 16%, transparent);
    z-index: 2;
}

.b5-el-toc {
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: color-mix(in srgb, currentColor 5%, #fff);
}

.b5-el-toc__list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
}

.b5-el-modal,
.b5-el-lightbox,
.b5-el-offcanvas {
    position: relative;
}

.b5-el-modal__trigger,
.b5-el-offcanvas__trigger {
    cursor: pointer;
    display: inline-flex;
    padding: var(--b5-btn-pad-y, 0.65rem) var(--b5-btn-pad-x, 1.25rem);
    border-radius: var(--b5-btn-radius, 0.625rem);
    background: var(--b5-theme-accent_1, #0f9f78);
    color: #fff;
}

.b5-el-modal__dialog,
.b5-el-lightbox__dialog,
.b5-el-offcanvas__panel {
    margin-top: 0.85rem;
    padding: 1.1rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px color-mix(in srgb, #000 14%, transparent);
}

.b5-el-offcanvas--right .b5-el-offcanvas__panel {
    margin-left: auto;
    max-width: 320px;
}

.b5-el-switcher__tabs {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.2rem;
    border-radius: calc(var(--b5-btn-radius, 0.625rem) + 0.2rem);
    background: color-mix(in srgb, currentColor 8%, transparent);
    margin-bottom: 0.85rem;
}

.b5-el-switcher__tab {
    border: 0;
    background: transparent;
    padding: 0.55rem 1.05rem;
    border-radius: var(--b5-btn-radius, 0.625rem);
    cursor: pointer;
}

.b5-el-switcher__tab.is-active {
    background: #fff;
    box-shadow: 0 2px 8px color-mix(in srgb, #000 10%, transparent);
}

.b5-el-gradient-heading__title {
    background: linear-gradient(120deg, var(--b5-theme-accent_1, #0f9f78), #0f172a 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.b5-el-animated-headline__rotate {
    display: inline-grid;
    color: var(--b5-theme-accent_1, #0f9f78);
}

.b5-el-animated-headline__word {
    grid-area: 1 / 1;
    opacity: 0;
    animation: b5-el-word-cycle 8s infinite;
}

.b5-el-animated-headline__word:nth-child(1) { animation-delay: 0s; }
.b5-el-animated-headline__word:nth-child(2) { animation-delay: 2s; }
.b5-el-animated-headline__word:nth-child(3) { animation-delay: 4s; }
.b5-el-animated-headline__word:nth-child(4) { animation-delay: 6s; }

@keyframes b5-el-word-cycle {
    0%, 20% { opacity: 1; }
    25%, 100% { opacity: 0; }
}

.b5-el-text-scroll,
.b5-el-scrolling-image {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.b5-el-text-scroll__track,
.b5-el-scrolling-image__track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: b5-el-marquee var(--b5-scroll-duration, 30s) linear infinite;
}

.b5-el-text-scroll__track span,
.b5-el-scrolling-image__track img {
    flex: none;
}

@keyframes b5-el-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.b5-el-stack {
    position: relative;
    min-height: 220px;
}

.b5-el-stack__item {
    position: absolute;
    width: min(70%, 280px);
    transition: transform 0.2s ease;
}

.b5-el-stack__item--1 { left: 8%; top: 8%; transform: rotate(-6deg); }
.b5-el-stack__item--2 { left: 22%; top: 4%; transform: rotate(3deg); }
.b5-el-stack__item--3 { left: 36%; top: 12%; transform: rotate(-2deg); }
.b5-el-stack__item--4 { left: 48%; top: 6%; transform: rotate(5deg); }

.b5-el-stack:hover .b5-el-stack__item {
    transform: rotate(0deg) translateY(-4px);
}

.b5-el-image-accordion__row {
    display: flex;
    gap: 0.5rem;
    min-height: 260px;
}

.b5-el-image-accordion__panel {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
    background: #0f172a center / cover no-repeat;
    transition: flex 0.25s ease;
}

.b5-el-image-accordion__panel[open] {
    flex: 2.4;
}

.b5-el-image-accordion__panel summary,
.b5-el-image-accordion__panel p {
    padding: 1rem;
    background: linear-gradient(transparent, color-mix(in srgb, #000 70%, transparent));
}

.b5-el-image-hover__stage {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.b5-el-image-hover__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: end start;
    gap: 0.35rem;
    padding: 1rem;
    color: #fff;
    background: linear-gradient(transparent 30%, color-mix(in srgb, #000 75%, transparent));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.b5-el-image-hover:hover .b5-el-image-hover__overlay {
    opacity: 1;
}

.b5-el-image-swap {
    position: relative;
}

.b5-el-image-swap__b {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.b5-el-image-swap:hover .b5-el-image-swap__b {
    opacity: 1;
}

.b5-el-tracker__list,
.b5-el-htimeline__list,
.b5-el-list-group__items,
.b5-el-author-list,
.b5-el-taxonomy-list,
.b5-el-post-list,
.b5-el-product-cats,
.b5-el-playlist__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.b5-el-tracker__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.b5-el-tracker__step {
    display: grid;
    gap: 0.4rem;
    justify-items: center;
    text-align: center;
    opacity: 0.55;
}

.b5-el-tracker__step.is-done,
.b5-el-tracker__step.is-current {
    opacity: 1;
}

.b5-el-tracker__num {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, currentColor 10%, transparent);
}

.b5-el-tracker__step.is-current .b5-el-tracker__num,
.b5-el-tracker__step.is-done .b5-el-tracker__num {
    background: var(--b5-theme-accent_1, #0f9f78);
    color: #fff;
}

.b5-el-portfolio__grid,
.b5-el-image-grid,
.b5-el-products__grid,
.b5-el-feature-grid__row,
.b5-el-stats-row__grid,
.b5-el-metro__grid {
    display: grid;
    gap: 1rem;
}

.b5-el-portfolio__grid,
.b5-el-image-grid,
.b5-el-products__grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.b5-el-image-grid--justified {
    grid-auto-rows: var(--b5-row-height, 180px);
}

.b5-el-image-grid--justified .b5-el-image-grid__item img {
    height: 100%;
    object-fit: cover;
}

.b5-el-feature-grid__row,
.b5-el-stats-row__grid {
    grid-template-columns: repeat(4, 1fr);
}

.b5-el-metro__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
}

.b5-el-metro__tile {
    border-radius: 14px;
    padding: 1rem;
    color: #fff;
    background: #0f172a center / cover no-repeat;
    display: grid;
    align-content: end;
}

.b5-el-metro__tile--span-2 {
    grid-column: span 2;
}

.b5-el-one-page-nav__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 6%, #fff);
}

.b5-el-animated-link {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 2px;
    transition: background-size 0.2s ease;
}

.b5-el-animated-link:hover {
    background-size: 100% 2px;
}

.b5-el-creative-btn {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    padding: var(--b5-btn-pad-y, 0.65rem) var(--b5-btn-pad-x, 1.25rem);
    border-radius: var(--b5-btn-radius, 0.625rem);
    text-decoration: none;
    color: #fff;
    background: var(--b5-theme-accent_1, #0f9f78);
    position: relative;
    overflow: hidden;
}

.b5-el-creative-btn--outline {
    background: transparent;
    color: inherit;
    border: 2px solid currentColor;
}

.b5-el-creative-btn--pill {
    /* Pill variant retired — keep moderate rounded-rect for all CTAs. */
    border-radius: var(--b5-btn-radius, 0.625rem);
}

.b5-el-creative-btn--sweep::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, color-mix(in srgb, #fff 35%, transparent), transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.35s ease;
}

.b5-el-creative-btn--sweep:hover::after {
    transform: translateX(120%);
}

.b5-el-fun-factor,
.b5-el-number-block,
.b5-el-testimonial {
    text-align: center;
}

.b5-el-fun-factor__value,
.b5-el-number-block__num,
.b5-el-stats-row__value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.b5-el-code__pre {
    overflow: auto;
    padding: 1rem;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.b5-el-embed__frame,
.b5-el-pdf__object,
.b5-el-pdf__object iframe {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: color-mix(in srgb, currentColor 6%, transparent);
}

.b5-el-embed__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.b5-el-sticky-video {
    position: sticky;
    bottom: 1rem;
    z-index: 5;
    max-width: 320px;
    margin-left: auto;
    padding: 0.75rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 36px color-mix(in srgb, #000 18%, transparent);
}

.b5-el-sticky-video--bottom-left {
    margin-left: 0;
    margin-right: auto;
}

.b5-el-menu-cart,
.b5-el-icon-button {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    text-decoration: none;
}

.b5-el-menu-cart__count {
    min-width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--b5-theme-accent_1, #0f9f78);
    color: #fff;
    font-size: 0.75rem;
}

.b5-el-cta-banner,
.b5-el-countdown-banner,
.b5-el-notice-bar,
.b5-el-age-gate {
    padding: 1.25rem 1.4rem;
    border-radius: 16px;
    background: color-mix(in srgb, var(--b5-theme-accent_1, #0f9f78) 12%, #fff);
}

.b5-el-notice-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.b5-el-price-menu__row,
.b5-el-post-info__row,
.b5-el-post-nav,
.b5-el-breadcrumbs__trail {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.b5-el-list-group__items li,
.b5-el-author-list__item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}

.b5-el-text-path {
    width: min(280px, 100%);
    height: auto;
    display: block;
    margin-inline: auto;
}

.b5-el-animated-text--fade {
    animation: b5-el-fade-in 1.2s ease both;
}

.b5-el-animated-text--slide {
    animation: b5-el-slide-in 0.8s ease both;
}

@keyframes b5-el-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes b5-el-slide-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.b5-el-title-tips__tip {
    margin: 0.35rem 0 0;
    padding: 0.65rem 0.85rem;
    border-left: 3px solid var(--b5-theme-accent_1, #0f9f78);
    background: color-mix(in srgb, currentColor 5%, #fff);
}

.b5-el-container {
    box-sizing: border-box;
    min-height: 48px;
    width: 100%;
}

.b5-el-container--full {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.b5-el-container--boxed,
.b5-el-container--custom {
    max-width: var(--b5-site-column, var(--b5-container-default-max-width, 1240px));
    margin-left: auto;
    margin-right: auto;
}

.b5-el-container > .b5-ve-section,
.b5-el-container > .b5-el {
    margin: 0;
    max-width: none;
    width: 100%;
}

.b5-el-container__empty {
    display: grid;
    place-items: center;
    min-height: 96px;
    padding: 1rem;
    border: 1px dashed color-mix(in srgb, currentColor 28%, transparent);
    border-radius: 12px;
    color: color-mix(in srgb, currentColor 55%, transparent);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 780px) {
    .b5-el-container--grid {
        grid-template-columns: 1fr !important;
    }

    .b5-el-container--flex {
        flex-direction: column !important;
    }

    .b5-el-feature-grid__row,
    .b5-el-stats-row__grid,
    .b5-el-tracker__list,
    .b5-el-chart--pie,
    .b5-el-metro__grid {
        grid-template-columns: 1fr 1fr;
    }

    .b5-el-metro__tile--span-2 {
        grid-column: span 1;
    }

    .b5-el-image-accordion__row {
        flex-direction: column;
    }
}

.b5-el-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--b5-btn-pad-y, 0.65rem) var(--b5-btn-pad-x, 1.25rem);
    border-radius: var(--b5-btn-radius, 0.625rem);
    background: #128c7e;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.b5-el-whatsapp:hover {
    color: #fff;
    opacity: 0.92;
}

.b5-el-liquid-hover__stage {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.b5-el-liquid-hover__stage img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.7s ease, filter 0.7s ease, border-radius 0.7s ease;
}

.b5-el-liquid-hover:hover img {
    transform: scale(1.06);
    filter: contrast(1.08) saturate(1.15);
    border-radius: 42% 18px 32% 22%;
}

.b5-el-liquid-hover__title {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: #fff;
    font-weight: 600;
}

.b5-el-lord-icon-wrap {
    text-align: center;
}

.b5-el-lord-icon__fallback {
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
    color: var(--b5-theme-accent_1, #0f9f78);
}

.b5-el-featured-post {
    display: grid;
    gap: 0.75rem;
}

.b5-el-featured-post__kicker {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--b5-theme-accent_1, #0f9f78);
}

.b5-el-scroll-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 0.5rem 0;
    background: var(--wp--preset--color--base, #fff);
}

.b5-el-scroll-tabs__tab {
    padding: 0.55rem 1.05rem;
    border-radius: var(--b5-btn-radius, 0.625rem);
    text-decoration: none;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.b5-el-scroll-tabs__tab.is-active {
    background: var(--b5-theme-accent_1, #0f9f78);
    color: #fff;
    border-color: transparent;
}

.b5-el-scroll-tabs__panel {
    padding: 1.5rem 0;
    scroll-margin-top: 4rem;
}

.b5-el-image-scroll__frame {
    overflow: hidden;
    border-radius: 16px;
}

.b5-el-image-scroll__frame img {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(0);
    transition: transform 8s linear;
}

.b5-el-image-scroll:hover img {
    transform: translateY(calc(-100% + 360px));
}

.b5-el-multi-scroll {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.b5-el-multi-scroll__col {
    display: grid;
    gap: 1.25rem;
}

.b5-el-multi-scroll__col--reverse {
    direction: rtl;
}

.b5-el-multi-scroll__col--reverse > * {
    direction: ltr;
}

.b5-el-chart--polar,
.b5-el-chart--radar {
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 1rem;
    align-items: center;
}

.b5-el-chart__svg {
    width: 100%;
    height: auto;
    max-width: 280px;
}

.b5-el-product-cat-card {
    min-width: 160px;
    padding: 1.2rem;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    text-align: center;
}

.b5-el-scroll-top-wrap,
.b5-el-read-progress-wrap {
    margin: 0;
    max-width: none;
}

.b5-el-scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1.05rem;
    border: 0;
    border-radius: var(--b5-btn-radius, 0.625rem);
    background: var(--b5-theme-accent_1, #0f9f78);
    color: #fff;
    cursor: pointer;
}

.b5-el-scroll-top[hidden] {
    display: none;
}

.b5-el-read-progress {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 50;
    height: 4px;
    background: color-mix(in srgb, currentColor 12%, transparent);
}

.b5-el-read-progress--top {
    top: 0;
}

.b5-el-read-progress--bottom {
    bottom: 0;
}

.b5-el-read-progress[hidden] {
    display: none;
}

.b5-el-read-progress__bar {
    display: block;
    height: 100%;
    width: 0;
    background: var(--b5-theme-accent_1, #0f9f78);
}

.b5-el-tooltip {
    position: relative;
    border-bottom: 1px dotted currentColor;
    cursor: help;
}

.b5-el-tooltip__tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    min-width: 12rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
}

.b5-el-tooltip:hover .b5-el-tooltip__tip,
.b5-el-tooltip:focus .b5-el-tooltip__tip {
    opacity: 1;
}

.b5-el-shape-divider {
    line-height: 0;
    color: var(--wp--preset--color--accent-5, #e2e8f0);
}

.b5-el-shape-divider svg {
    display: block;
    width: 100%;
    height: 72px;
}

.b5-el-shape-divider.is-flipped {
    transform: scaleY(-1);
}

.b5-el-image-mask img {
    display: block;
    width: 100%;
    height: auto;
}

.b5-el-image-mask--circle img {
    clip-path: circle(46% at 50% 50%);
}

.b5-el-image-mask--diamond img {
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.b5-el-image-mask--hex img {
    clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
}

.b5-el-image-mask--blob img {
    clip-path: polygon(18% 12%, 78% 6%, 98% 42%, 84% 88%, 28% 96%, 4% 52%);
}

@media (max-width: 780px) {
    .b5-el-multi-scroll,
    .b5-el-chart--polar,
    .b5-el-chart--radar {
        grid-template-columns: 1fr;
    }
}

/* Lottie */
.b5-el-lottie {
    text-align: center;
}

.b5-el-lottie__host {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    line-height: 0;
}

.b5-el-lottie__host svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.b5-el-lottie__caption {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.b5-el-lottie--empty {
    margin: 1rem 0;
}

.b5-dh-lottie {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 var(--b5-gap, 1.25rem);
}

.b5-dh-lottie .b5-el-lottie,
.b5-dh-lottie .b5-el {
    margin: 0;
    max-width: none;
}

.b5-dh-solid > .b5-dh-lottie,
.b5-dh-close .b5-dh-lottie {
    margin-bottom: 0.85rem;
}

.b5-dh-close {
    display: grid;
    gap: var(--b5-gap, 1.25rem);
}

.b5-dh-close__media {
    justify-self: start;
}
