/* EZ Page Builder - Frontend Styles */
/* Using Pico CSS framework for styling */

.ez-button {
    display: inline-block;
    background-color: var(--ez-primary-color, #0073aa);
    color: var(--ez-on-primary, #fff);
    font-family: var(--ez-body-font, inherit);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ez-button-radius, var(--ez-radius, 0.25rem));
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.ez-button:hover {
    background-color: var(--ez-primary-color-hover, #005177);
    color: #fff;
}

/* Button Size Classes */
.ez-button.ez-button-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.ez-button.ez-button-medium {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.ez-button.ez-button-large {
    padding: 1rem 4rem;
    font-size: 1.125rem;
}

.ez-button.ez-button-extra-large {
    padding: 1.25rem 6rem;
    font-size: 1.25rem;
}

/* Responsive Button Sizes */
@media (max-width: 768px) {
    .ez-button.ez-button-small {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .ez-button.ez-button-medium {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .ez-button.ez-button-large {
        padding: 0.8rem 3rem;
        font-size: 1rem;
    }

    .ez-button.ez-button-extra-large {
        padding: 1rem 4.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .ez-button.ez-button-small {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }

    .ez-button.ez-button-medium {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .ez-button.ez-button-large {
        padding: 0.7rem 2rem;
        font-size: 0.9rem;
    }

    .ez-button.ez-button-extra-large {
        padding: 0.85rem 3rem;
        font-size: 1rem;
    }
}
.ez-button-primary {
    display: inline-block;
    background-color: var(--ez-button-bg, var(--ez-primary-color, #0073aa));
    color: var(--ez-button-text, #fff);
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 2px solid var(--ez-button-bg, var(--ez-primary-color, #0073aa));
    cursor: pointer;
}

.ez-button-primary:hover {
    background-color: var(--ez-button-bg, var(--ez-primary-color, #005177));
    border: 2px solid var(--ez-button-bg, var(--ez-primary-color, #005177));
    color: var(--ez-button-text, #fff);
    filter: brightness(1.1);
}

.ez-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: #fff 2px solid;
    cursor: pointer;
}

.ez-button-secondary:hover {
    background-color: #fff;
    border: #fff 2px solid;
    color: #333;
}

.ez-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ez-hero-button:hover,
.ez-hero-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.18);
}

.ez-hero-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.4);
    outline-offset: 2px;
}

.ez-hero-button.ez-hero-button-style-default {
    background-color: var(--ez-primary-color, #0073aa);
    color: #ffffff;
    border-color: var(--ez-primary-color, #0073aa);
}

.ez-hero-button.ez-hero-button-style-default:hover,
.ez-hero-button.ez-hero-button-style-default:focus-visible {
    background-color: var(--ez-primary-color-hover, #005177);
    color: #ffffff;
    border-color: var(--ez-primary-color-hover, #005177);
}

.ez-hero-button.ez-hero-button-style-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.ez-hero-button.ez-hero-button-style-secondary:hover,
.ez-hero-button.ez-hero-button-style-secondary:focus-visible {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #ffffff;
}

.ez-hero-button.ez-hero-button-style-pill {
    background-color: var(--ez-hero-button-accent);
    color: var(--ez-hero-button-text);
    border-color: var(--ez-hero-button-accent);
}

.ez-hero-button.ez-hero-button-style-pill:hover,
.ez-hero-button.ez-hero-button-style-pill:focus-visible {
    background-color: var(--ez-hero-button-hover-bg);
    color: var(--ez-hero-button-hover-text);
    border-color: var(--ez-hero-button-hover-bg);
}

.ez-hero-button.ez-hero-button-style-outline {
    background-color: transparent;
    color: var(--ez-hero-button-accent);
    border-color: var(--ez-hero-button-accent);
    box-shadow: none;
}

.ez-hero-button.ez-hero-button-style-outline:hover,
.ez-hero-button.ez-hero-button-style-outline:focus-visible {
    background-color: var(--ez-hero-button-soft-bg);
    color: var(--ez-hero-button-soft-text);
    border-color: var(--ez-hero-button-accent);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.14);
}

.ez-hero-button.ez-hero-button-style-ghost {
    background-color: var(--ez-hero-button-ghost-bg);
    color: var(--ez-hero-button-soft-text);
    border-color: transparent;
    box-shadow: none;
}

.ez-hero-button.ez-hero-button-style-ghost:hover,
.ez-hero-button.ez-hero-button-style-ghost:focus-visible {
    background-color: var(--ez-hero-button-ghost-hover-bg);
    color: var(--ez-hero-button-soft-text);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.ez-hero-button.ez-hero-button-style-soft {
    background-color: var(--ez-hero-button-soft-bg);
    color: var(--ez-hero-button-soft-text);
    border-color: transparent;
}

.ez-hero-button.ez-hero-button-style-soft:hover,
.ez-hero-button.ez-hero-button-style-soft:focus-visible {
    background-color: var(--ez-hero-button-soft-hover-bg);
    color: var(--ez-hero-button-soft-text);
    border-color: transparent;
}

.ez-hero-button.ez-hero-button-style-dark {
    background-color: var(--ez-hero-button-dark-bg);
    color: var(--ez-hero-button-dark-text);
    border-color: var(--ez-hero-button-dark-bg);
}

.ez-hero-button.ez-hero-button-style-dark:hover,
.ez-hero-button.ez-hero-button-style-dark:focus-visible {
    background-color: var(--ez-hero-button-dark-hover-bg);
    color: var(--ez-hero-button-dark-text);
    border-color: var(--ez-hero-button-dark-hover-bg);
}

.ez-hero-button.ez-hero-button-style-link {
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
    color: var(--ez-hero-button-accent);
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

.ez-hero-button.ez-hero-button-style-link:hover,
.ez-hero-button.ez-hero-button-style-link:focus-visible {
    background-color: transparent;
    color: var(--ez-hero-button-hover-bg);
    border-color: transparent;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.ez-hero-button.ez-hero-button-style-pill {
    border-radius: 999px;
}

.ez-button-wrapper {
    display: inline-block;
    width: 100%;
}

/* Button Alignment Classes */
.ez-button-left {
    text-align: left;
}

.ez-button-center {
    text-align: center;
}

.ez-button-right {
    text-align: right;
}

.ez-button-wrapper .ez-button {
    transition: all 0.3s ease;
}

.ez-button-wrapper .ez-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ez-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

/* Page Title Styling */
.ez-page-title-primary-background {
    background-color: var(--ez-primary-color, #0073aa);
    color: #fff;
    padding: 2rem 1rem;
    margin: -1rem 0 2rem 0;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15);
}

.ez-page-title-primary-background h1,
.ez-page-title-primary-background .page-title {
    margin: 0;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .ez-page-title-primary-background {
        padding: 1.5rem 1rem;
        margin: -1rem 0 1.5rem 0;
    }

    .ez-page-title-primary-background h1,
    .ez-page-title-primary-background .page-title {
        font-size: 1.5rem;
    }
}

.ez-row-wrapper {
    display: block;
    width: 100%;
    margin: 0;
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.ez-row-wrapper.ez-row-no-padding {
    padding: 0;
}

.ez-row {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
    width: 100%;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.ez-svg-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ez-svg-background svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vertical alignment for rows */
.ez-row.ez-row-align-top {
    align-items: flex-start;
}

.ez-row.ez-row-align-middle {
    align-items: center;
}

.ez-row.ez-row-align-bottom {
    align-items: flex-end;
}

.ez-column {
    box-sizing: border-box;
    flex: 0 0 var(--ez-col-w, 100%);
    max-width: var(--ez-col-w, 100%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

/* Column width utility classes for common layouts */
.ez-column-full {
    flex: 1 1 100%;
}

.ez-column-half {
    flex: 1 1 calc(50% - 0.5rem);
}

.ez-column-third {
    flex: 1 1 calc(33.333% - 0.667rem);
}

.ez-column-two-thirds {
    flex: 1 1 calc(66.667% - 0.333rem);
}

.ez-column-quarter {
    flex: 1 1 calc(25% - 0.75rem);
}

.ez-column-three-quarters {
    flex: 1 1 calc(75% - 0.25rem);
}

/* Responsive columns for tablets (max-width: 768px) */
@media (max-width: 768px) {
    .ez-row {
        flex-flow: column;
    }

    .ez-column {
        width: 100%;
        flex-basis: auto;
        max-width: 100%;
    }

    .ez-column-half,
    .ez-column-third,
    .ez-column-two-thirds,
    .ez-column-quarter,
    .ez-column-three-quarters {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

/* Responsive columns for mobile (max-width: 480px) */
@media (max-width: 480px) {
    .ez-row {
        flex-flow: column;
    }

    .ez-column {
        width: 100%;
    }

    .ez-column-half,
    .ez-column-third,
    .ez-column-two-thirds,
    .ez-column-quarter,
    .ez-column-three-quarters,
    .ez-column-full {
        flex: 1 1 100%;
    }
}

/* Remove left/right padding from columns in full-width rows */
.ez-row-wrapper.ez-row-full-width .ez-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ez-text {
    /* Content uses Pico CSS from theme */
    line-height: 1.6;
    color: inherit;
}

.ez-text p {
    margin: 0 0 1rem 0;
}

.ez-text p:last-child {
    margin-bottom: 0;
}

.ez-text > *:first-child {
    margin-top: 0;
}

.ez-text > *:last-child {
    margin-bottom: 0;
}

.ez-image {
    /* Images use Pico CSS styling */
    display: block;
    position: relative;
    border-radius: 0.25rem;
}

.ez-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0.25rem;
    position: relative;
}

/* Hover effect only for images with lightbox enabled */
.ez-image img[data-lightbox] {
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.ez-image img[data-lightbox]:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.3), inset -20px -20px 40px rgba(0, 0, 0, 0.2);
}

.ez-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ez-icon i {
    transition: color 0.3s ease, transform 0.3s ease;
}

.ez-icon:hover i {
    transform: scale(1.05);
}

/* Image Grid Styles */
.ez-image-grid {
    width: 100%;
    box-sizing: border-box;
}

.ez-image-grid.ez-grid-grid {
    display: grid;
    grid-auto-flow: dense;
    gap: 1rem;
}

.ez-image-grid.ez-grid-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.ez-grid-item {
    width: 100%;
    border-radius: 0.25rem;
    aspect-ratio: 1;
}

.ez-image-grid.ez-grid-masonry .ez-grid-item {
    margin: 0;
}

.ez-grid-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ez-grid-item:hover img {
    transform: scale(1.05);
}

/* Responsive grid layouts */
@media (max-width: 1024px) {
    .ez-image-grid.ez-grid-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .ez-image-grid.ez-grid-masonry {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .ez-image-grid.ez-grid-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 0.75rem;
    }

    .ez-image-grid.ez-grid-masonry {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .ez-image-grid.ez-grid-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .ez-image-grid.ez-grid-masonry {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Lightbox Styles */
.ez-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.ez-lightbox-overlay.active {
    display: flex;
}

.ez-lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ez-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    display: block;
}

.ez-lightbox-title {
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
    max-width: 90%;
    word-wrap: break-word;
}

.ez-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    transition: background 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    z-index: 10002;
}

.ez-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.ez-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10001;
    border-radius: 0.25rem;
    line-height: 1;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
}

.ez-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.ez-lightbox-prev {
    left: 20px;
}

.ez-lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .ez-lightbox-close {
        top: 8px;
        right: 8px;
        font-size: 1.5rem;
        width: 36px;
        height: 36px;
    }

    .ez-lightbox-prev {
        left: 12px;
        padding: 0.625rem 0.875rem;
        font-size: 1.25rem;
        min-width: 40px;
        height: 44px;
    }

    .ez-lightbox-next {
        right: 12px;
        padding: 0.625rem 0.875rem;
        font-size: 1.25rem;
        min-width: 40px;
        height: 44px;
    }

    .ez-lightbox-nav {
        padding: 0.625rem 0.875rem;
        font-size: 1.25rem;
    }

    .ez-lightbox-image {
        max-height: 70vh;
    }
}

/* Hero Section Styles */
.ez-hero {
    max-width: var(--container-width, 1400px);
    margin: 0 auto;
}

.ez-hero-simple-centered {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ez-hero-simple-centered .ez-hero-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    text-align: center;
}

.ez-hero-simple-centered h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: var(--ez-hero-headline-font-family, inherit);
    font-size: var(--ez-hero-headline-font-size, 3.5rem);
    font-weight: var(--ez-hero-headline-font-weight, bold);
}

.ez-hero-simple-centered p {
    color: #e5e7eb;
    margin-bottom: 2rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: var(--ez-hero-subheadline-font-family, inherit);
    font-size: var(--ez-hero-subheadline-font-size, 1.5rem);
    font-weight: var(--ez-hero-subheadline-font-weight, normal);
}

.ez-hero-image-above-headline {
    text-align: center;
}

.ez-hero-image-above-headline img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0.375rem;
}

.ez-hero-split-image {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1.5rem;
    margin: 0 auto;
    min-height: 500px;
}

.ez-hero-split-image .ez-hero-text {
    flex: 1;
}

.ez-hero-split-image h1 {
    color: var(--ez-heading-color, #111827);
    margin-bottom: 1.5rem;
    font-family: var(--ez-hero-headline-font-family, inherit);
    font-size: var(--ez-hero-headline-font-size, 3rem);
    font-weight: var(--ez-hero-headline-font-weight, bold);
}

.ez-hero-split-image p {
    color: #4b5563;
    margin-bottom: 2rem;
    font-family: var(--ez-hero-subheadline-font-family, inherit);
    font-size: var(--ez-hero-subheadline-font-size, 1.25rem);
    font-weight: var(--ez-hero-subheadline-font-weight, normal);
}

.ez-hero-split-image .ez-hero-image {
    flex: 1;
}

.ez-hero-split-image img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.ez-hero-split-image .ez-hero-placeholder {
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .ez-hero-simple-centered h1 {
        font-size: 2.5rem;
    }

    .ez-hero-simple-centered p {
        font-size: 1.125rem;
    }

    .ez-hero-split-image {
        flex-direction: column;
    }

    .ez-hero-split-image .ez-hero-image {
        display: none;
    }

    .ez-hero-split-image h1 {
        font-size: 2.25rem;
    }

    .ez-hero-split-image p {
        font-size: 1rem;
    }

    .ez-hero-full-background h1 {
        font-size: 2.25rem;
    }

    .ez-hero-full-background p {
        font-size: 1rem;
    }

    .ez-hero-split-features h1 {
        font-size: 2.25rem;
    }

    .ez-hero-split-features p {
        font-size: 1rem;
    }

    .ez-hero-minimal-centered h1 {
        font-size: 2.25rem;
    }

    .ez-hero-minimal-centered p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ez-hero-simple-centered {
        min-height: 350px;
    }

    .ez-hero-simple-centered h1 {
        font-size: 1.875rem;
    }

    .ez-hero-simple-centered p {
        font-size: 0.875rem;
    }

    .ez-hero-split-image h1 {
        font-size: 1.75rem;
    }

    .ez-hero-split-image p {
        font-size: 0.875rem;
    }

    .ez-hero-full-background h1 {
        font-size: 1.75rem;
    }

    .ez-hero-full-background p {
        font-size: 0.875rem;
    }

    .ez-hero-split-features {
        padding: 2rem 1rem;
    }

    .ez-hero-split-features h1 {
        font-size: 1.75rem;
    }

    .ez-hero-split-features p {
        font-size: 0.875rem;
    }

    .ez-hero-features-grid {
        grid-template-columns: 1fr;
    }

    .ez-hero-minimal-centered {
        min-height: 350px;
    }

    .ez-hero-minimal-centered h1 {
        font-size: 1.75rem;
    }

    .ez-hero-minimal-centered p {
        font-size: 0.875rem;
    }
}

.ez-hero-full-background {
    display: flex;
    align-items: center;
    position: relative;
}

.ez-hero-full-background .ez-hero-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}

.ez-hero-full-background h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.ez-hero-full-background p {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
}

.ez-hero-split-features {
    padding: 5rem 1.5rem;
    margin: 0 auto;
}

.ez-hero-split-features .ez-hero-header {
    margin-bottom: 3rem;
}

.ez-hero-split-features h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--ez-heading-color, #111827);
    margin-bottom: 1.5rem;
}

.ez-hero-split-features p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.ez-hero-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.ez-hero-feature-item {
    text-align: center;
}

.ez-hero-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #dbeafe;
    border-radius: 50%;
    margin-bottom: 1rem;
    color: #2563eb;
    font-size: 1.5rem;
}

.ez-hero-feature-text {
    color: var(--ez-body-color, #374151);
    font-weight: 600;
}

.ez-hero-minimal-centered {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ez-hero-minimal-centered .ez-hero-content {
    padding: 1.5rem;
    text-align: center;
}

.ez-hero-minimal-centered h1 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--ez-heading-color, #111827);
    margin-bottom: 1.5rem;
}

.ez-hero-minimal-centered p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Feature Section Styles */
.ez-feature {
    padding: 2rem;
    border-radius: var(--ez-card-radius, calc(var(--ez-radius, 8px) * 2));
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.ez-feature.ez-feature-card {
    background: var(--ez-card-bg, linear-gradient(135deg, #ffffff 0%, #efefef 100%));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ez-feature.ez-feature-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
}

.ez-feature.ez-feature-bordered {
    border: 2px solid #e5e7eb;
    background-color: white;
}

.ez-feature.ez-feature-bordered:hover {
    border-color: #9ca3af;
    transform: translateY(-4px);
}

.ez-feature.ez-feature-minimal {
    background: #f9fafb;
}

.ez-feature.ez-feature-minimal:hover {
    background-color: #f0f1f3;
    transform: translateY(-4px);
}

.ez-feature.ez-feature-gradient {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

.ez-feature.ez-feature-gradient:hover {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.ez-feature.ez-feature-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ez-feature.ez-feature-glass:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.ez-feature.ez-feature-raw {
    padding: 1.5rem 0;
    border-radius: 0;
}

.ez-feature.ez-feature-raw:hover {
    transform: none;
    background: none;
}

.ez-feature-icon {
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    /*background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);*/
    background: var(--ez-primary-color, #0073aa);
    color: #fff;
}

.ez-feature-icon i {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.ez-feature h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--ez-heading-color, #111827);
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.ez-feature p {
    line-height: 1.7;
    margin: 0;
}

.ez-feature-three-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.ez-feature-three-column .ez-feature {
    padding: 2rem;
}

.ez-feature-three-column .ez-feature h3 {
    font-size: 1.25rem;
}

.ez-feature-four-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

.ez-feature-four-column .ez-feature {
    padding: 1.75rem;
    text-align: center;
}

.ez-feature-four-column .ez-feature h3 {
    font-size: 1.05rem;
}

.ez-feature-four-column .ez-feature p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.ez-feature-four-column .ez-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin: 0 auto 1.25rem;
}

.ez-feature-four-column .ez-feature-icon i {
    font-size: 1.75rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.ez-feature-with-screenshot {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2.5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.ez-feature-with-screenshot .ez-feature-content {
    flex: 1;
    min-width: 300px;
}

.ez-feature-with-screenshot .ez-feature-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ez-heading-color, #111827);
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.ez-feature-with-screenshot .ez-feature-content p {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.8;
}

.ez-feature-with-screenshot .ez-feature-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ez-feature-with-screenshot img {
    border-radius: 1rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
}

.ez-feature-with-screenshot .ez-feature-placeholder {
    background: linear-gradient(135deg, #e5e7eb 0%, #f0f1f3 100%);
    border-radius: 1rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.95rem;
    text-align: center;
    padding: 2rem;
}

@media (max-width: 768px) {
    .ez-feature {
        padding: 1.5rem;
    }

    .ez-feature h3 {
        font-size: 1.125rem;
    }

    .ez-feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .ez-feature-icon i {
        font-size: 1.5rem;
    }

    .ez-feature-three-column {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        padding: 1.5rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .ez-feature-three-column .ez-feature {
        padding: 1.5rem;
    }

    .ez-feature-three-column .ez-feature h3 {
        font-size: 1.05rem;
    }

    .ez-feature-four-column {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .ez-feature-four-column .ez-feature {
        padding: 1.25rem;
    }

    .ez-feature-four-column .ez-feature h3 {
        font-size: 0.95rem;
    }

    .ez-feature-four-column .ez-feature p {
        font-size: 0.85rem;
    }

    .ez-feature-with-screenshot {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .ez-feature-with-screenshot .ez-feature-content h2 {
        font-size: 1.75rem;
    }

    .ez-feature-with-screenshot .ez-feature-content p {
        font-size: 0.95rem;
    }

    .ez-feature-with-screenshot .ez-feature-image {
        display: none;
    }

    .ez-feature-list-style {
        padding: 1.5rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .ez-feature-list-style h2 {
        font-size: 1.75rem;
    }

    .ez-feature-list-style > p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .ez-feature {
        padding: 1rem;
    }

    .ez-feature h3 {
        font-size: 1rem;
    }

    .ez-feature p {
        font-size: 0.9rem;
    }

    .ez-feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }

    .ez-feature-icon i {
        font-size: 1.25rem;
    }

    .ez-feature-three-column {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .ez-feature-three-column .ez-feature {
        padding: 1rem;
    }

    .ez-feature-three-column .ez-feature h3 {
        font-size: 0.95rem;
    }

    .ez-feature-four-column {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .ez-feature-four-column .ez-feature {
        padding: 1rem;
    }

    .ez-feature-four-column .ez-feature h3 {
        font-size: 0.9rem;
    }

    .ez-feature-four-column .ez-feature p {
        font-size: 0.8rem;
    }

    .ez-feature-four-column .ez-feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }

    .ez-feature-with-screenshot {
        gap: 1rem;
        padding: 1rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .ez-feature-with-screenshot .ez-feature-content h2 {
        font-size: 1.375rem;
    }

    .ez-feature-with-screenshot .ez-feature-content p {
        font-size: 0.9rem;
    }

    .ez-feature-list-style {
        padding: 1rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .ez-feature-list-style h2 {
        font-size: 1.375rem;
    }

    .ez-feature-list-style > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

.ez-feature-list-style {
    padding: 2.5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.ez-feature-list-style h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ez-heading-color, #111827);
    text-align: center;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.ez-feature-list-style > p {
    font-size: 1.05rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.ez-feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ez-feature-list-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.ez-feature-list-item.ez-feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.ez-feature-list-item.ez-feature-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateX(6px);
}

.ez-feature-list-item.ez-feature-bordered {
    border-left: 4px solid #2563eb;
    background-color: white;
    border: 1px solid #e5e7eb;
}

.ez-feature-list-item.ez-feature-bordered:hover {
    background-color: #f5f7fa;
    transform: translateX(4px);
}

.ez-feature-list-item.ez-feature-minimal {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.ez-feature-list-item.ez-feature-minimal:hover {
    background-color: #f5f7fa;
    transform: translateX(4px);
}

.ez-feature-list-item-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, rgba(59, 130, 246, 0.6) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    font-weight: 700;
    font-size: 1.25rem;
}

.ez-feature-list-item-content {
    flex: 1;
}

.ez-feature-list-item-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ez-heading-color, #111827);
    margin-bottom: 0.5rem;
    margin: 0;
    letter-spacing: -0.2px;
}

.ez-feature-list-item-content p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.ez-list {
    list-style: none;
    margin: 0 !important;
    padding-left: 0 !important;
}

.ez-list-classic {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ez-list-grid-2,
.ez-list-grid-3,
.ez-list-grid-4 {
    display: grid;
    gap: 0.875rem 1.25rem;
}

.ez-list-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ez-list-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ez-list-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ez-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
}

.ez-list-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ez-primary-color, #0073aa);
    min-width: 1rem;
    margin-top: 0.18rem;
    font-size: 1rem;
}

.ez-list-text {
    line-height: 1.6;
    min-width: 0;
}

@media (max-width: 768px) {
    .ez-list-grid-3,
    .ez-list-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .ez-list-grid-2,
    .ez-list-grid-3,
    .ez-list-grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Overlay Styles */
.ez-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.ez-content-wrapper {
    position: relative;
    z-index: 10;
}

/* Heading Styles */
.ez-heading {
    font-family: var(--ez-heading-font, inherit);
    font-weight: var(--ez-heading-weight, 700);
    letter-spacing: var(--ez-heading-tracking, normal);
    color: var(--ez-heading-color, var(--ez-text-color, #111827));
    margin-bottom: 1rem;
}

/* Fluid type scale capped at the classic sizes; a page style can override --ez-h1-size etc. */
.ez-heading-h1 { font-size: var(--ez-h1-size, clamp(2.25rem, 1.6rem + 3vw, 3rem)); }
.ez-heading-h2 { font-size: var(--ez-h2-size, clamp(1.75rem, 1.35rem + 1.8vw, 2.25rem)); }
.ez-heading-h3 { font-size: var(--ez-h3-size, clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem)); }
.ez-heading-h4 { font-size: var(--ez-h4-size, 1.5rem); }
.ez-heading-h5 { font-size: var(--ez-h5-size, 1.25rem); }
.ez-heading-h6 { font-size: var(--ez-h6-size, 1rem); }

/* Table Styles */
.ez-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
}

.ez-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ez-table th,
.ez-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: middle;
}

.ez-table th {
    background-color: #f3f4f6;
    color: var(--ez-heading-color, #111827);
    font-weight: 600;
    border-bottom: 2px solid #d1d5db;
}

.ez-table td {
    color: var(--ez-body-color, #374151);
    border-bottom: 1px solid #e5e7eb;
}

/* Table Bordered Style */
.ez-table-bordered th,
.ez-table-bordered td {
    border: 1px solid #d1d5db;
}

.ez-table-bordered th {
    border-bottom: 2px solid #d1d5db;
}

/* Table Striped Style */
.ez-table-striped tbody tr:nth-child(odd) {
    background-color: #f9fafb;
}

.ez-table-striped tbody tr:nth-child(even) {
    background-color: #ffffff;
}

/* Table Hover Effect */
.ez-table-hover tbody tr:hover {
    background-color: #f3f4f6;
    transition: background-color 0.2s ease;
}

/* Responsive Table */
@media (max-width: 768px) {
    .ez-table {
        font-size: 0.85rem;
    }

    .ez-table th,
    .ez-table td {
        padding: 0.5rem 0.75rem;
    }

    .ez-table-wrapper {
        border: 1px solid #d1d5db;
        border-radius: 0.375rem;
    }
}
/* ============================================================
   WP Posts Element
   ============================================================ */

.ez-wp-posts {
display: grid;
grid-template-columns: repeat(var(--ez-posts-columns, 3), 1fr);
gap: 24px;
margin: 0;
padding: 0;
list-style: none;
}

.ez-wp-posts--list {
display: flex;
flex-direction: column;
gap: 24px;
}

.ez-wp-posts--empty {
display: block;
color: #6b7280;
font-style: italic;
padding: 20px 0;
}

/* Item card */
.ez-wp-posts__item {
display: flex;
flex-direction: column;
background: var(--ez-card-bg, #ffffff);
border: 1px solid var(--ez-card-border, #e5e7eb);
border-radius: 8px;
overflow: hidden;
position: relative;
transition: box-shadow 0.2s ease, transform 0.2s ease;
cursor: pointer;
}

.ez-wp-posts__item:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
transform: translateY(-2px);
}

/* List layout: items go side-by-side (image left, body right) */
.ez-wp-posts--list .ez-wp-posts__item {
flex-direction: row;
transform: none;
}

/* Featured image */
.ez-wp-posts__image-link {
display: block;
overflow: hidden;
line-height: 0;
}

.ez-wp-posts__image-link .ez-wp-posts__image,
.ez-wp-posts__image-link img {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}

.ez-wp-posts__item:hover .ez-wp-posts__image-link img {
transform: scale(1.03);
}

/* List layout: fixed-width thumbnail */
.ez-wp-posts--list .ez-wp-posts__image-link {
flex: 0 0 220px;
max-width: 220px;
}

.ez-wp-posts--list .ez-wp-posts__image-link img {
height: 100%;
aspect-ratio: auto;
}

/* Body */
.ez-wp-posts__body {
display: flex;
flex-direction: column;
flex: 1;
padding: 18px;
gap: 10px;
}

/* Title */
.ez-wp-posts__title {
font-size: 1.05rem;
font-weight: 700;
line-height: 1.4;
margin: 0;
color: var(--ez-heading-color, #111827);
}

.ez-wp-posts__title a {
color: inherit;
text-decoration: none;
}

/* Stretch the title link to cover the entire card */
.ez-wp-posts__title a::after {
content: '';
position: absolute;
inset: 0;
}

.ez-wp-posts__title a:hover {
	color: var(--ez-primary-color, #2563eb);
}

/* Keep interactive children above the stretched link */
.ez-wp-posts__image-link,
.ez-wp-posts__categories a,
.ez-wp-posts__read-more {
position: relative;
z-index: 1;
}

/* Meta (date + author) */
.ez-wp-posts__meta {
display: flex;
flex-wrap: wrap;
gap: 6px 14px;
font-size: 0.8rem;
color: #6b7280;
}

.ez-wp-posts__date .fa,
.ez-wp-posts__author .fa {
margin-right: 4px;
}

/* Categories / terms */
.ez-wp-posts__categories {
font-size: 0.78rem;
}

.ez-wp-posts__categories a {
display: inline-block;
background: #eff6ff;
color: #2563eb;
border-radius: 4px;
padding: 2px 8px;
text-decoration: none;
margin: 0 3px 3px 0;
transition: background 0.2s;
}

.ez-wp-posts__categories a:hover {
background: #dbeafe;
}

/* Excerpt */
.ez-wp-posts__excerpt {
font-size: 0.9rem;
line-height: 1.6;
color: #4b5563;
margin: 0;
flex: 1;
}

/* Read More */
.ez-wp-posts__read-more {
display: inline-block;
align-self: flex-start;
margin-top: auto;
padding: 0.45rem 1.1rem;
font-size: 0.875rem;
font-weight: 600;
color: var(--ez-button-text, #ffffff);
background-color: var(--ez-button-bg, var(--ez-primary-color, #2563eb));
border-radius: 5px;
text-decoration: none;
transition: background-color 0.2s ease;
}

.ez-wp-posts__read-more:hover {
background-color: var(--ez-button-bg, var(--ez-primary-color, #2563eb));
filter: brightness(1.1);
color: var(--ez-button-text, #ffffff);
}

/* Responsive */
@media (max-width: 900px) {
.ez-wp-posts {
grid-template-columns: repeat(min(var(--ez-posts-columns, 3), 2), 1fr);
}
}

@media (max-width: 600px) {
.ez-wp-posts {
grid-template-columns: 1fr;
}

.ez-wp-posts--list .ez-wp-posts__item {
flex-direction: column;
}

.ez-wp-posts--list .ez-wp-posts__image-link {
flex: none;
max-width: 100%;
}

.ez-wp-posts--list .ez-wp-posts__image-link img {
aspect-ratio: 16 / 9;
}
}

/* ==========================================================================
   Color schemes (row/column settings.colorScheme, inferred from backgrounds)
   Text colors read --ez-heading-color / --ez-body-color so one switch flips a section.
   ========================================================================== */
.ez-scheme-light {
    --ez-heading-color: var(--ez-text-color, #111827);
    --ez-body-color: #374151;
    color: var(--ez-body-color);
}

.ez-scheme-dark {
    --ez-heading-color: #ffffff;
    --ez-body-color: rgba(255, 255, 255, 0.86);
    color: var(--ez-body-color);
}

.ez-scheme-dark .ez-text a:not(.ez-button) {
    color: #ffffff;
    text-decoration: underline;
}

.ez-scheme-dark .ez-list-item,
.ez-scheme-dark .ez-text,
.ez-scheme-dark p {
    color: var(--ez-body-color);
}

/* Light surfaces keep dark text inside dark sections */
.ez-scheme-dark .ez-feature.ez-feature-card,
.ez-scheme-dark .ez-feature.ez-feature-bordered,
.ez-scheme-dark .ez-feature.ez-feature-minimal,
.ez-scheme-dark .ez-feature.ez-feature-gradient,
.ez-scheme-dark .ez-feature-list-item.ez-feature-bordered,
.ez-scheme-dark .ez-wp-posts__item,
.ez-scheme-dark .ez-table {
    --ez-heading-color: #111827;
    --ez-body-color: #374151;
    color: var(--ez-body-color);
}

.ez-scheme-dark .ez-feature.ez-feature-glass {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.ez-scheme-dark .ez-button-secondary {
    border-color: #ffffff;
    color: #ffffff;
    background-color: transparent;
}

.ez-scheme-dark .ez-button-secondary:hover {
    background-color: #ffffff;
    color: var(--ez-primary-color, #0073aa);
}


/* ==========================================================================
   Free-form sections (element type "section")
   Each section's own CSS is scoped to [data-ez-sec="<id>"] by the server.
   ========================================================================== */
.ez-row-wrapper.ez-section-row {
    padding: 0;
    overflow: visible;
}

.ez-custom-section {
    position: relative;
    font-family: var(--ez-body-font, inherit);
}

.ez-custom-section img,
.ez-custom-section video,
.ez-custom-section svg {
    max-width: 100%;
}

.ez-custom-section *,
.ez-custom-section *::before,
.ez-custom-section *::after {
    box-sizing: border-box;
}

/* Neutralize theme element styles (e.g. Pico) that fight a section's own design.
   Section and page-style CSS is scoped with higher or equal specificity and loads later, so it still wins. */
.ez-custom-section :is(p, ul, ol, dl, li, dd, dt, blockquote, figcaption, small, label, cite, span) {
    color: inherit;
}

.ez-custom-section figure {
    overflow: visible;
}

/* Declarative motion: data-ez-reveal="up|fade|scale|left|right" (+ data-ez-delay="120") */
[data-ez-reveal] {
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--ez-reveal-delay, 0ms);
}

.ez-motion-ready [data-ez-reveal]:not(.is-revealed) {
    opacity: 0;
}

.ez-motion-ready [data-ez-reveal="up"]:not(.is-revealed) { transform: translateY(28px); }
.ez-motion-ready [data-ez-reveal="left"]:not(.is-revealed) { transform: translateX(-28px); }
.ez-motion-ready [data-ez-reveal="right"]:not(.is-revealed) { transform: translateX(28px); }
.ez-motion-ready [data-ez-reveal="scale"]:not(.is-revealed) { transform: scale(0.94); }

@media (prefers-reduced-motion: reduce) {
    [data-ez-reveal] {
        transition: none;
    }

    .ez-motion-ready [data-ez-reveal]:not(.is-revealed) {
        opacity: 1;
        transform: none;
    }
}
