
.aeyw-wall {
    column-count: var(--aeyw-columns);
    column-gap: var(--aeyw-gap);
    background: var(--aeyw-bg);
    color: var(--aeyw-text);
}
.aeyw-wall,
.aeyw-wall * {
    box-sizing: border-box;
}
.aeyw-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 var(--aeyw-gap);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    overflow: hidden;
    border-radius: var(--aeyw-radius);
    background: rgba(255,255,255,.04);
    box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
.aeyw-item-link {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    border-radius: inherit;
}
.aeyw-media-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: inherit;
}
.aeyw-media-wrap img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
    transition: transform .35s ease, filter .35s ease;
}
.aeyw-zoom-on .aeyw-item:hover img {
    transform: scale(1.055);
    filter: brightness(.82);
}
.aeyw-shape-short .aeyw-media-wrap,
.aeyw-shape-wide .aeyw-media-wrap,
.aeyw-shape-medium .aeyw-media-wrap,
.aeyw-shape-square .aeyw-media-wrap,
.aeyw-shape-tall .aeyw-media-wrap,
.aeyw-shape-vertical .aeyw-media-wrap {
    aspect-ratio: 16 / 9;
}
.aeyw-shape-wide .aeyw-media-wrap { aspect-ratio: 21 / 9; }
.aeyw-shape-medium .aeyw-media-wrap { aspect-ratio: 4 / 3; }
.aeyw-shape-square .aeyw-media-wrap { aspect-ratio: 1 / 1; }
.aeyw-shape-tall .aeyw-media-wrap { aspect-ratio: 2 / 3; }
.aeyw-shape-vertical .aeyw-media-wrap { aspect-ratio: 9 / 16; }
.aeyw-shape-short .aeyw-media-wrap { aspect-ratio: 2.25 / 1; }

.aeyw-shape-short img,
.aeyw-shape-wide img,
.aeyw-shape-medium img,
.aeyw-shape-square img,
.aeyw-shape-tall img,
.aeyw-shape-vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aeyw-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,var(--aeyw-overlay)),
        rgba(0,0,0,calc(var(--aeyw-overlay) * .72)) 58%,
        rgba(0,0,0,0)
    );
    color: var(--aeyw-text);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.aeyw-overlay-on .aeyw-item:hover .aeyw-overlay,
.aeyw-overlay-on .aeyw-item:focus-within .aeyw-overlay {
    opacity: 1;
    transform: translateY(0);
}
.aeyw-overlay strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    margin: 0 0 6px;
}
.aeyw-overlay span {
    display: block;
    color: var(--aeyw-muted);
    font-size: 14px;
    line-height: 1.35;
}
.aeyw-desc-off .aeyw-overlay span {
    display: none;
}
.aeyw-play {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0,0,0,.58);
    border: 1px solid rgba(255,255,255,.3);
    box-shadow: 0 14px 28px rgba(0,0,0,.35);
    font-size: 20px;
    padding-left: 3px;
}
.aeyw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--aeyw-lightbox-bg, rgba(0,0,0,.92));
    padding: 44px 28px 96px;
}
.aeyw-lightbox.is-open {
    display: flex;
}
.aeyw-lightbox-stage {
    max-width: min(94vw, 1400px);
    max-height: 84vh;
}
.aeyw-lightbox-stage img,
.aeyw-lightbox-stage video,
.aeyw-lightbox-stage iframe {
    display: block;
    max-width: min(94vw, 1400px);
    max-height: 84vh;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 28px 90px rgba(0,0,0,.6);
}
.aeyw-lightbox-stage iframe {
    width: min(94vw, 1200px);
    height: min(70vh, 675px);
}
.aeyw-lightbox-close,
.aeyw-lightbox-prev,
.aeyw-lightbox-next {
    position: fixed;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
    z-index: 1000000;
    border-radius: 999px;
    display: grid;
    place-items: center;
    transition: background .2s ease, transform .2s ease;
}
.aeyw-lightbox-close:hover,
.aeyw-lightbox-prev:hover,
.aeyw-lightbox-next:hover {
    background: rgba(255,255,255,.16);
    transform: translateY(-1px);
}
.aeyw-lightbox-close {
    right: 24px;
    top: 24px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
}
.aeyw-lightbox-prev,
.aeyw-lightbox-next {
    top: 50%;
    width: 50px;
    height: 50px;
    font-size: 34px;
    line-height: 1;
}
.aeyw-lightbox-prev { left: 24px; }
.aeyw-lightbox-next { right: 24px; }
.aeyw-lightbox-caption {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: min(760px, calc(100vw - 48px));
    color: #fff;
    text-align: center;
}
.aeyw-lightbox-caption h3 {
    margin: 0 0 4px;
    font-size: 18px;
}
.aeyw-lightbox-caption p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 14px;
}
.aeyw-admin-note {
    padding: 12px 16px;
    background: #fff3cd;
    color: #111;
    border-radius: 10px;
}
@media (max-width: 900px) {
    .aeyw-wall {
        column-count: var(--aeyw-tablet-columns);
    }
}
@media (max-width: 640px) {
    .aeyw-wall {
        column-count: var(--aeyw-mobile-columns);
    }
    .aeyw-lightbox {
        padding: 56px 14px 96px;
    }
    .aeyw-lightbox-prev,
    .aeyw-lightbox-next {
        top: auto;
        bottom: 24px;
    }
    .aeyw-lightbox-prev { left: 24px; }
    .aeyw-lightbox-next { right: 24px; }
    .aeyw-lightbox-caption {
        bottom: 84px;
    }
}


/* FPW Media Wall v1.1 ratio cleanup */
.aeyw-shape-wide .aeyw-media-wrap { aspect-ratio: 21 / 9 !important; }
.aeyw-shape-short .aeyw-media-wrap { aspect-ratio: 2.25 / 1 !important; }
.aeyw-shape-medium .aeyw-media-wrap { aspect-ratio: 4 / 3 !important; }
.aeyw-shape-square .aeyw-media-wrap { aspect-ratio: 1 / 1 !important; }
.aeyw-shape-tall .aeyw-media-wrap { aspect-ratio: 2 / 3 !important; }
.aeyw-shape-vertical .aeyw-media-wrap { aspect-ratio: 9 / 16 !important; }

.aeyw-shape-wide img,
.aeyw-shape-short img,
.aeyw-shape-medium img,
.aeyw-shape-square img,
.aeyw-shape-tall img,
.aeyw-shape-vertical img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* FPW Media Wall v1.2 single media + 16:9 */
.aeyw-shape-sixteen-nine .aeyw-media-wrap { aspect-ratio: 16 / 9 !important; }

.aeyw-shape-sixteen-nine img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* FPW Media Wall v1.3 freeform board */
.aeyw-layout-freeform {
    position: relative;
    height: var(--aeyw-board-height);
    column-count: initial !important;
    column-gap: 0 !important;
    overflow: visible;
}

.aeyw-layout-freeform .aeyw-item {
    position: absolute;
    display: block;
    margin: 0;
    break-inside: auto;
    -webkit-column-break-inside: auto;
}

.aeyw-layout-freeform .aeyw-item-link,
.aeyw-layout-freeform .aeyw-media-wrap {
    width: 100%;
    height: 100%;
}

.aeyw-layout-freeform .aeyw-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aeyw-layout-freeform .aeyw-shape-auto .aeyw-media-wrap,
.aeyw-layout-freeform .aeyw-shape-sixteen-nine .aeyw-media-wrap,
.aeyw-layout-freeform .aeyw-shape-short .aeyw-media-wrap,
.aeyw-layout-freeform .aeyw-shape-wide .aeyw-media-wrap,
.aeyw-layout-freeform .aeyw-shape-medium .aeyw-media-wrap,
.aeyw-layout-freeform .aeyw-shape-square .aeyw-media-wrap,
.aeyw-layout-freeform .aeyw-shape-tall .aeyw-media-wrap,
.aeyw-layout-freeform .aeyw-shape-vertical .aeyw-media-wrap {
    aspect-ratio: auto !important;
}


/* FPW Media Wall v3.8 removed old conflicting freeform mobile block */



/* FPW Media Wall v3.8 removed old conflicting freeform mobile block */



/* FPW Media Wall v1.4 polished freeform frontend */
.aeyw-layout-freeform {
    position: relative !important;
    height: var(--aeyw-board-height) !important;
    min-height: 360px;
    column-count: initial !important;
    column-gap: 0 !important;
    background: var(--aeyw-bg);
    isolation: isolate;
}

.aeyw-layout-freeform .aeyw-item {
    position: absolute !important;
    display: block !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border-radius: var(--aeyw-radius) !important;
    box-shadow: none !important;
}

.aeyw-layout-freeform .aeyw-item-link {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    border-radius: var(--aeyw-radius);
    overflow: hidden;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow:
        0 18px 48px rgba(0,0,0,.42),
        0 1px 0 rgba(255,255,255,.12) inset;
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        filter .28s ease;
}

.aeyw-layout-freeform .aeyw-item-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 4;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        inset 0 -1px 0 rgba(0,0,0,.36);
}

.aeyw-layout-freeform .aeyw-item:hover .aeyw-item-link {
    transform: translateY(-7px) scale(1.012);
    border-color: rgba(255,255,255,.24);
    box-shadow:
        0 28px 68px rgba(0,0,0,.56),
        0 1px 0 rgba(255,255,255,.16) inset;
}

.aeyw-layout-freeform .aeyw-media-wrap {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    border-radius: inherit;
    overflow: hidden;
}

.aeyw-layout-freeform .aeyw-media-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit;
}

.aeyw-layout-freeform .aeyw-overlay {
    padding: 18px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,var(--aeyw-overlay)),
        rgba(0,0,0,calc(var(--aeyw-overlay) * .72)) 58%,
        rgba(0,0,0,0)
    );
}

.aeyw-layout-freeform .aeyw-overlay strong {
    font-size: clamp(15px, 1.6vw, 22px);
}

.aeyw-layout-freeform .aeyw-overlay span {
    font-size: clamp(12px, 1.1vw, 14px);
}

/* Keep the designer layout on desktop. Collapse only when needed. */

/* FPW Media Wall v3.8 removed old conflicting freeform mobile block */



/* FPW Media Wall v3.8 removed old conflicting freeform mobile block */



/* FPW Media Wall v1.6 WordPress/theme override for freeform layout */
.aeyw-wall.aeyw-layout-freeform {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: var(--aeyw-board-height) !important;
    min-height: 500px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    column-count: initial !important;
    column-gap: 0 !important;
    columns: initial !important;
    break-inside: auto !important;
    isolation: isolate !important;
    overflow: visible !important;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-item,
.aeyw-wall.aeyw-layout-freeform figure.aeyw-item {
    position: absolute !important;
    display: block !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    max-width: none !important;
    min-width: 0 !important;
    height: auto;
    max-height: none !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
    -webkit-column-break-inside: auto !important;
    overflow: visible !important;
    transform: none;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-item-link {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: var(--aeyw-radius) !important;
    overflow: hidden !important;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap img,
.aeyw-wall.aeyw-layout-freeform .aeyw-item img,
.aeyw-wall.aeyw-layout-freeform figure img {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: inherit !important;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-overlay {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 5 !important;
}

/* Keep designer placement longer. Only collapse at phone width. */

/* FPW Media Wall v3.8 removed old conflicting freeform mobile block */



/* FPW Media Wall v3.8 removed old conflicting freeform mobile block */



/* FPW Media Wall v2.0 corner radius fix */
.aeyw-wall {
    --aeyw-effective-radius: var(--aeyw-radius, 22px);
}

.aeyw-item,
.aeyw-item-link,
.aeyw-media-wrap,
.aeyw-media-wrap img,
.aeyw-item img {
    border-radius: var(--aeyw-effective-radius) !important;
}

.aeyw-layout-freeform .aeyw-item,
.aeyw-layout-freeform .aeyw-item-link,
.aeyw-layout-freeform .aeyw-media-wrap,
.aeyw-layout-freeform .aeyw-media-wrap img,
.aeyw-layout-freeform .aeyw-item img {
    border-radius: var(--aeyw-effective-radius) !important;
}

/* Make sure the image clips to the rounded wrapper */
.aeyw-item,
.aeyw-item-link,
.aeyw-media-wrap {
    overflow: hidden !important;
}


/* FPW Media Wall v2.7 editable edge controls */
.aeyw-item-link {
    border: var(--aeyw-edge-width, 1px) solid rgba(255,255,255,var(--aeyw-edge-opacity,.12)) !important;
    box-shadow:
        0 calc(18px * var(--aeyw-item-shadow,.42)) calc(48px * var(--aeyw-item-shadow,.42)) rgba(0,0,0,.46),
        inset 0 1px 0 rgba(255,255,255,var(--aeyw-edge-highlight,.22)),
        inset 0 -1px 0 rgba(0,0,0,var(--aeyw-edge-shadow,.36)) !important;
}

.aeyw-item-link::before {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,var(--aeyw-edge-highlight,.22)),
        inset 0 -1px 0 rgba(0,0,0,var(--aeyw-edge-shadow,.36)) !important;
}

.aeyw-item:hover .aeyw-item-link {
    transform: translateY(calc(var(--aeyw-hover-lift, 7px) * -1)) scale(1.012) !important;
    box-shadow:
        0 calc(28px * var(--aeyw-item-shadow,.42)) calc(68px * var(--aeyw-item-shadow,.42)) rgba(0,0,0,.56),
        inset 0 1px 0 rgba(255,255,255,calc(var(--aeyw-edge-highlight,.22) + .08)),
        inset 0 -1px 0 rgba(0,0,0,var(--aeyw-edge-shadow,.36)) !important;
}

/* Freeform-specific edge consistency */
.aeyw-layout-freeform .aeyw-item-link {
    border: var(--aeyw-edge-width, 1px) solid rgba(255,255,255,var(--aeyw-edge-opacity,.12)) !important;
}


/* FPW Media Wall v2.8 adaptive hover text */
.aeyw-overlay {
    box-sizing: border-box !important;
    min-height: 0 !important;
    max-height: 70% !important;
    overflow: hidden !important;
    padding: clamp(8px, 1.4vw, 16px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    gap: 4px !important;
}

.aeyw-overlay strong {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-wrap: balance;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
    font-size: clamp(12px, 1.45vw, 20px) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.aeyw-overlay span {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    font-size: clamp(10px, 1vw, 14px) !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Short horizontal tiles: title gets one line, description one line */
.aeyw-layout-freeform .aeyw-item[data-h^="1"] .aeyw-overlay strong,
.aeyw-layout-freeform .aeyw-item[data-h^="2"] .aeyw-overlay strong {
    -webkit-line-clamp: 1 !important;
    font-size: clamp(11px, 1.15vw, 16px) !important;
}

.aeyw-layout-freeform .aeyw-item[data-h^="1"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h^="2"] .aeyw-overlay span {
    -webkit-line-clamp: 1 !important;
    font-size: clamp(9px, .9vw, 12px) !important;
}

/* Very small tiles: title only */
.aeyw-layout-freeform .aeyw-item[data-h="5"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h="6"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h="7"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h="8"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h="9"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h^="10"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h^="11"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h^="12"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h^="13"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-h^="14"] .aeyw-overlay span {
    display: none !important;
}

/* Tiny heights should not try to show big overlay text */
.aeyw-layout-freeform .aeyw-item[data-h="5"] .aeyw-overlay,
.aeyw-layout-freeform .aeyw-item[data-h="6"] .aeyw-overlay,
.aeyw-layout-freeform .aeyw-item[data-h="7"] .aeyw-overlay,
.aeyw-layout-freeform .aeyw-item[data-h="8"] .aeyw-overlay,
.aeyw-layout-freeform .aeyw-item[data-h="9"] .aeyw-overlay {
    padding: 6px 8px !important;
    max-height: 100% !important;
}

.aeyw-layout-freeform .aeyw-item[data-h="5"] .aeyw-overlay strong,
.aeyw-layout-freeform .aeyw-item[data-h="6"] .aeyw-overlay strong,
.aeyw-layout-freeform .aeyw-item[data-h="7"] .aeyw-overlay strong,
.aeyw-layout-freeform .aeyw-item[data-h="8"] .aeyw-overlay strong,
.aeyw-layout-freeform .aeyw-item[data-h="9"] .aeyw-overlay strong {
    -webkit-line-clamp: 1 !important;
    font-size: 10px !important;
    line-height: 1 !important;
}

/* Compact widths: reduce type and description lines */
.aeyw-layout-freeform .aeyw-item[data-w^="1"] .aeyw-overlay strong,
.aeyw-layout-freeform .aeyw-item[data-w^="2"] .aeyw-overlay strong {
    font-size: clamp(11px, 1.1vw, 16px) !important;
    -webkit-line-clamp: 2 !important;
}

.aeyw-layout-freeform .aeyw-item[data-w^="1"] .aeyw-overlay span,
.aeyw-layout-freeform .aeyw-item[data-w^="2"] .aeyw-overlay span {
    font-size: clamp(9px, .85vw, 12px) !important;
    -webkit-line-clamp: 1 !important;
}

/* Make overlay feel tidier and less like a text block fighting the image */
.aeyw-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,calc(var(--aeyw-overlay) + .10)),
        rgba(0,0,0,calc(var(--aeyw-overlay) * .58)) 55%,
        rgba(0,0,0,0)
    ) !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.75) !important;
}

/* On touch/mobile, keep text less aggressive */
@media (max-width: 640px) {
    .aeyw-overlay strong {
        font-size: 14px !important;
        -webkit-line-clamp: 2 !important;
    }
    .aeyw-overlay span {
        font-size: 12px !important;
        -webkit-line-clamp: 1 !important;
    }
}


/* FPW Media Wall v2.9 lightbox control alignment fix */
.aeyw-lightbox-close,
.aeyw-lightbox-prev,
.aeyw-lightbox-next {
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.aeyw-lightbox-close {
    font-size: 0 !important;
}

.aeyw-lightbox-close::before {
    content: "×";
    display: block;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-1px);
}

.aeyw-lightbox-prev,
.aeyw-lightbox-next {
    font-size: 0 !important;
}

.aeyw-lightbox-prev::before,
.aeyw-lightbox-next::before {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.aeyw-lightbox-prev::before {
    content: "‹";
    transform: translateX(-1px) translateY(-1px);
}

.aeyw-lightbox-next::before {
    content: "›";
    transform: translateX(1px) translateY(-1px);
}


/* FPW Media Wall v3.8 clean separate mobile renderer */
@media (max-width: 900px) {
    .aeyw-wall.aeyw-layout-freeform {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        transform: none !important;
        overflow: visible !important;
        column-count: var(--aeyw-tablet-columns) !important;
        columns: var(--aeyw-tablet-columns) !important;
        column-gap: var(--aeyw-gap) !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }

    .aeyw-wall.aeyw-layout-freeform .aeyw-item,
    .aeyw-wall.aeyw-layout-freeform figure.aeyw-item {
        position: relative !important;
        display: inline-block !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        z-index: auto !important;
        margin: 0 0 var(--aeyw-gap) !important;
        padding: 0 !important;
        transform: none !important;
        break-inside: avoid !important;
        -webkit-column-break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    .aeyw-wall.aeyw-layout-freeform .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }

    .aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-auto .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-auto .aeyw-media-wrap { aspect-ratio: auto !important; }

    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-sixteen-nine .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-sixteen-nine .aeyw-media-wrap { aspect-ratio: 16 / 9 !important; }

    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-short .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-short .aeyw-media-wrap { aspect-ratio: 2.25 / 1 !important; }

    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-wide .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-wide .aeyw-media-wrap { aspect-ratio: 21 / 9 !important; }

    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-medium .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-medium .aeyw-media-wrap { aspect-ratio: 4 / 3 !important; }

    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-square .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-square .aeyw-media-wrap { aspect-ratio: 1 / 1 !important; }

    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-tall .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-tall .aeyw-media-wrap { aspect-ratio: 2 / 3 !important; }

    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-vertical .aeyw-item-link,
    .aeyw-wall.aeyw-layout-freeform .aeyw-shape-vertical .aeyw-media-wrap { aspect-ratio: 9 / 16 !important; }
.aeyw-shape-vertical .aeyw-media-wrap { aspect-ratio: 9 / 16 !important; }
}

@media (max-width: 640px) {
    .aeyw-wall.aeyw-layout-freeform {
        column-count: var(--aeyw-mobile-columns) !important;
        columns: var(--aeyw-mobile-columns) !important;
    }
}


/* FPW Media Wall v3.9 configurable tile drop shadow */
.aeyw-item-link {
    box-shadow:
        calc(var(--aeyw-shadow-enabled, 1) * var(--aeyw-shadow-x, 0px))
        calc(var(--aeyw-shadow-enabled, 1) * var(--aeyw-shadow-y, 18px))
        calc(var(--aeyw-shadow-enabled, 1) * var(--aeyw-shadow-softness, 48px))
        rgba(0,0,0,var(--aeyw-shadow-strength,.42)),
        inset 0 1px 0 rgba(255,255,255,var(--aeyw-edge-highlight,.22)),
        inset 0 -1px 0 rgba(0,0,0,var(--aeyw-edge-shadow,.36)) !important;
}

.aeyw-item:hover .aeyw-item-link {
    box-shadow:
        calc(var(--aeyw-shadow-enabled, 1) * var(--aeyw-shadow-x, 0px))
        calc(var(--aeyw-shadow-enabled, 1) * (var(--aeyw-shadow-y, 18px) + 8px))
        calc(var(--aeyw-shadow-enabled, 1) * (var(--aeyw-shadow-softness, 48px) + 20px))
        rgba(0,0,0,calc(var(--aeyw-shadow-strength,.42) + .12)),
        inset 0 1px 0 rgba(255,255,255,calc(var(--aeyw-edge-highlight,.22) + .08)),
        inset 0 -1px 0 rgba(0,0,0,var(--aeyw-edge-shadow,.36)) !important;
}

/* FPW Media Wall v1.0.6 full-screen section + background system */
.aeyw-section {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: var(--aeyw-section-min-height, 0px);
    padding: var(--aeyw-section-pad-top, 70px) var(--aeyw-section-pad-side, 24px) var(--aeyw-section-pad-bottom, 70px);
    isolation: isolate;
    overflow: hidden;
    background: var(--aeyw-section-bg, transparent);
    color: var(--aeyw-text);
}

.aeyw-section.aeyw-width-full_browser {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.aeyw-section.aeyw-width-wide .aeyw-section-inner {
    max-width: min(var(--aeyw-board-max, 1320px), calc(100vw - 32px));
}

.aeyw-section.aeyw-width-full .aeyw-section-inner,
.aeyw-section.aeyw-width-full_browser .aeyw-section-inner {
    max-width: none;
}

.aeyw-section.aeyw-width-contained .aeyw-section-inner {
    max-width: min(var(--aeyw-board-max, 1320px), 100%);
}

.aeyw-section-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--aeyw-section-bg-img, none);
    background-size: var(--aeyw-section-bg-size, cover);
    background-position: var(--aeyw-section-bg-position, center center);
    background-repeat: var(--aeyw-section-bg-repeat, no-repeat);
    opacity: var(--aeyw-section-bg-opacity, 1);
    pointer-events: none;
}

.aeyw-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    box-shadow: inset 0 0 var(--aeyw-edge-feather, 0px) rgba(0,0,0,.95);
}

.aeyw-section-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(var(--aeyw-board-max, 1320px), 100%);
    margin: 0 auto;
    padding: var(--aeyw-board-pad, 0px);
}

.aeyw-section .aeyw-wall {
    width: 100%;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.aeyw-bg-drift-on .aeyw-section-bg {
    transform: scale(1.08);
    animation: aeywBackgroundDrift 48s ease-in-out infinite alternate;
}

@keyframes aeywBackgroundDrift {
    0% { transform: scale(1.08) translate3d(-1.2%, -1.2%, 0); }
    100% { transform: scale(1.12) translate3d(1.2%, 1.2%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .aeyw-bg-drift-on .aeyw-section-bg { animation: none; transform: none; }
}

@media (max-width: 640px) {
    .aeyw-section {
        padding-left: max(14px, calc(var(--aeyw-section-pad-side, 24px) * .6));
        padding-right: max(14px, calc(var(--aeyw-section-pad-side, 24px) * .6));
    }
}

/* FPW Media Wall v1.0.7 media-fit controls: prevent visual distortion in custom wide/tall tiles */
.aeyw-wall .aeyw-media-wrap,
.aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap {
    background-color: rgba(0,0,0,.42) !important;
}

.aeyw-wall .aeyw-media-wrap::before,
.aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: 0;
    background-image: var(--aeyw-current-thumb, none);
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(.55) saturate(1.12);
    opacity: calc(var(--aeyw-tile-backdrop, 1) * .7);
    transform: scale(1.08);
    pointer-events: none;
}

.aeyw-wall .aeyw-media-wrap img,
.aeyw-wall .aeyw-item img,
.aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap img,
.aeyw-wall.aeyw-layout-freeform .aeyw-item img,
.aeyw-wall.aeyw-layout-freeform figure img {
    z-index: 1 !important;
    object-fit: var(--aeyw-tile-fit, contain) !important;
    object-position: var(--aeyw-tile-position, center center) !important;
}

.aeyw-wall .aeyw-play,
.aeyw-wall .aeyw-overlay {
    z-index: 5 !important;
}

/* FPW Media Wall v1.0.8: front-end freeform ratio lock and plugin-owned custom section CSS support */
.aeyw-wall.aeyw-layout-freeform{
    position: relative !important;
}

.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform{
    height: auto !important;
    aspect-ratio: var(--aeyw-board-design-width, 1000) / var(--aeyw-board-height, 1200) !important;
    min-height: 0 !important;
}

.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform .aeyw-item,
.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform figure.aeyw-item{
    position: absolute !important;
}

.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform .aeyw-item-link,
.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap{
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
}

.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap img,
.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform .aeyw-item img,
.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform figure img{
    width: 100% !important;
    height: 100% !important;
    object-fit: var(--aeyw-tile-fit, contain) !important;
    object-position: var(--aeyw-tile-position, center center) !important;
}

/* FPW Media Wall v1.1.2 stable editor-match fix
   The section background can fill the browser, but the design board is still centered and capped
   by the effective board width so the visual editor and viewer do not drift apart. */
.aeyw-section.aeyw-width-full_browser .aeyw-section-inner,
.aeyw-section.aeyw-width-full .aeyw-section-inner {
    max-width: min(var(--aeyw-board-max, 1320px), calc(100vw - (var(--aeyw-section-pad-side, 24px) * 2))) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform {
    width: 100% !important;
    max-width: 100% !important;
}


/* FPW Media Wall v1.1.3 stable freeform sizing fix
   Fixes the broken v1.1.x board collapse caused by using a px value inside aspect-ratio.
   The full-width section/background can stretch, but the actual design board uses the same
   numeric canvas ratio as the visual editor. */
.aeyw-section .aeyw-wall.aeyw-layout-freeform {
    position: relative !important;
    display: block !important;
    column-count: initial !important;
    columns: initial !important;
    column-gap: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

.aeyw-section[style*="--aeyw-ratio-lock:1"] .aeyw-wall.aeyw-layout-freeform {
    width: min(100%, calc(var(--aeyw-board-design-width, 1000) * 1px)) !important;
    max-width: min(100%, calc(var(--aeyw-board-design-width, 1000) * 1px)) !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: var(--aeyw-board-design-width, 1000) / var(--aeyw-board-height-num, 1200) !important;
}

.aeyw-section[style*="--aeyw-ratio-lock:0"] .aeyw-wall.aeyw-layout-freeform {
    width: min(100%, calc(var(--aeyw-board-design-width, 1000) * 1px)) !important;
    max-width: min(100%, calc(var(--aeyw-board-design-width, 1000) * 1px)) !important;
    height: var(--aeyw-board-height, 1200px) !important;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-item,
.aeyw-wall.aeyw-layout-freeform figure.aeyw-item {
    position: absolute !important;
    display: block !important;
    overflow: visible !important;
    min-height: 24px !important;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-item-link,
.aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: 24px !important;
    aspect-ratio: auto !important;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap img,
.aeyw-wall.aeyw-layout-freeform .aeyw-item img,
.aeyw-wall.aeyw-layout-freeform figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: var(--aeyw-tile-fit, contain) !important;
    object-position: var(--aeyw-tile-position, center center) !important;
}

.aeyw-section.aeyw-width-full_browser,
.aeyw-section.aeyw-width-full {
    overflow: hidden !important;
}

.aeyw-section.aeyw-width-full_browser .aeyw-section-inner,
.aeyw-section.aeyw-width-full .aeyw-section-inner,
.aeyw-section.aeyw-width-wide .aeyw-section-inner,
.aeyw-section.aeyw-width-contained .aeyw-section-inner {
    max-width: none !important;
    width: 100% !important;
}

/* v1.1.6 section heading controls */
.aeyw-section-heading {
    width: min(var(--aeyw-heading-max, 980px), 100%);
    margin: 0 auto var(--aeyw-heading-gap, 38px);
    color: var(--aeyw-text, #fff);
}
.aeyw-section-heading.aeyw-heading-left { text-align: left; }
.aeyw-section-heading.aeyw-heading-center { text-align: center; }
.aeyw-section-heading.aeyw-heading-right { text-align: right; }
.aeyw-section-eyebrow,
.aeyw-section-title {
    color: var(--aeyw-text, #fff);
    text-transform: uppercase;
    letter-spacing: var(--aeyw-heading-letter-spacing, 5px);
}
.aeyw-section-eyebrow {
    margin: 0 0 8px;
    font-size: max(11px, calc(var(--aeyw-heading-title-size, 30px) * .38));
    opacity: .72;
}
.aeyw-section-title {
    margin: 0 0 10px;
    font-size: var(--aeyw-heading-title-size, 30px);
    line-height: 1.05;
    font-weight: 800;
}
.aeyw-section-subtitle {
    margin: 0;
    color: var(--aeyw-muted, rgba(255,255,255,.72));
    font-size: var(--aeyw-heading-subtitle-size, 16px);
    line-height: 1.55;
}
@media (max-width: 700px) {
    .aeyw-section-heading,
    .aeyw-section-heading.aeyw-heading-left,
    .aeyw-section-heading.aeyw-heading-right { text-align: center; }
    .aeyw-section-title { font-size: min(var(--aeyw-heading-title-size, 30px), 28px); }
}


/* FPW Media Wall v1.2.9: phone-safe freeform carousel
   Keep the desktop visual board intact. On phones only, stop honoring absolute
   freeform coordinates and render the tiles as a native horizontal swipe row.
   This prevents hidden stacked tiles and click-through overlap. */
@media (max-width: 640px) {
    .aeyw-section {
        overflow: hidden !important;
    }

    .aeyw-section .aeyw-section-inner {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: var(--aeyw-gap, 18px) !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        column-count: initial !important;
        columns: initial !important;
        column-gap: 0 !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 4px 14px !important;
        margin: 0 auto !important;
        transform: none !important;
        isolation: isolate !important;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform::-webkit-scrollbar {
        height: 6px;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform::-webkit-scrollbar-track {
        background: rgba(255,255,255,.05);
        border-radius: 999px;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.28);
        border-radius: 999px;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-item,
    .aeyw-section .aeyw-wall.aeyw-layout-freeform figure.aeyw-item,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform .aeyw-item,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform figure.aeyw-item {
        position: relative !important;
        inset: auto !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: block !important;
        flex: 0 0 min(82vw, 340px) !important;
        width: min(82vw, 340px) !important;
        max-width: min(82vw, 340px) !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        z-index: 1 !important;
        scroll-snap-align: center !important;
        break-inside: auto !important;
        -webkit-column-break-inside: auto !important;
        overflow: visible !important;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-item:first-child,
    .aeyw-section .aeyw-wall.aeyw-layout-freeform figure.aeyw-item:first-child {
        margin-left: 0 !important;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-item-link,
    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform .aeyw-item-link,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: var(--aeyw-mobile-ratio, 16 / 9) !important;
        overflow: hidden !important;
    }

    /* Mobile carousel aspect ratio is now driven by the visual board W/H snap via
       --aeyw-mobile-ratio on each tile. Do not override it by shape class here. */

    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-media-wrap img,
    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-item img,
    .aeyw-section .aeyw-wall.aeyw-layout-freeform figure img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: var(--aeyw-tile-fit, contain) !important;
        object-position: var(--aeyw-tile-position, center center) !important;
    }

    .aeyw-section .aeyw-section-heading {
        margin-bottom: min(var(--aeyw-heading-gap, 38px), 24px) !important;
    }
}


/* FPW Media Wall v1.3.0: mobile carousel polish
   Keeps the working mobile carousel, but adds breathing room between slides
   and replaces the default blue play badge with a neutral glass control. */
@media (max-width: 640px) {
    .aeyw-section .aeyw-wall.aeyw-layout-freeform,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform {
        gap: max(var(--aeyw-gap, 18px), 22px) !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        scroll-padding-left: 18px !important;
        scroll-padding-right: 18px !important;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-item,
    .aeyw-section .aeyw-wall.aeyw-layout-freeform figure.aeyw-item,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform .aeyw-item,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform figure.aeyw-item {
        flex-basis: min(78vw, 330px) !important;
        width: min(78vw, 330px) !important;
        max-width: min(78vw, 330px) !important;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-play {
        width: 58px !important;
        height: 58px !important;
        border-radius: 999px !important;
        background: rgba(0,0,0,.42) !important;
        color: rgba(255,255,255,.95) !important;
        border: 1px solid rgba(255,255,255,.55) !important;
        box-shadow: 0 10px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        text-shadow: none !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-play::before {
        content: "" !important;
        display: block !important;
        width: 0 !important;
        height: 0 !important;
        margin-left: 4px !important;
        border-top: 12px solid transparent !important;
        border-bottom: 12px solid transparent !important;
        border-left: 18px solid rgba(255,255,255,.95) !important;
    }
}

/* FPW Media Wall v1.4.0: unified transparent play button + lighter hover */
.aeyw-wall .aeyw-play,
.aeyw-section .aeyw-wall .aeyw-play,
.aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-play,
.aeyw-wall.aeyw-layout-freeform .aeyw-play {
    position: absolute !important;
    z-index: 8 !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: clamp(42px, 5vw, 62px) !important;
    height: clamp(42px, 5vw, 62px) !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    color: transparent !important;
    background: rgba(255,255,255,.075) !important;
    border: 1.5px solid rgba(255,255,255,.82) !important;
    box-shadow: 0 12px 34px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.18) !important;
    backdrop-filter: blur(7px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(7px) saturate(1.08) !important;
    text-shadow: none !important;
    transition: transform .22s ease, background .22s ease, border-color .22s ease, opacity .22s ease !important;
    opacity: .94 !important;
}

.aeyw-wall .aeyw-play::before,
.aeyw-wall .aeyw-play::after {
    content: none !important;
    display: none !important;
}

.aeyw-wall .aeyw-play .aeyw-play-triangle,
.aeyw-section .aeyw-wall .aeyw-play .aeyw-play-triangle {
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    margin-left: 4px !important;
    border-top: clamp(9px, 1.05vw, 13px) solid transparent !important;
    border-bottom: clamp(9px, 1.05vw, 13px) solid transparent !important;
    border-left: clamp(14px, 1.55vw, 20px) solid rgba(255,255,255,.94) !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.38)) !important;
}

.aeyw-wall .aeyw-item-link:hover .aeyw-play,
.aeyw-wall .aeyw-item-link:focus-visible .aeyw-play {
    transform: translate(-50%, -50%) scale(1.055) !important;
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.95) !important;
    opacity: 1 !important;
}

.aeyw-wall .aeyw-item-link:hover .aeyw-media-wrap img,
.aeyw-wall .aeyw-item-link:focus-visible .aeyw-media-wrap img {
    filter: brightness(1.08) saturate(1.02) !important;
}

@media (max-width: 640px) {
    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-play,
    .aeyw-wall .aeyw-play {
        width: 52px !important;
        height: 52px !important;
        background: rgba(255,255,255,.075) !important;
        border: 1.5px solid rgba(255,255,255,.82) !important;
        color: transparent !important;
    }
}

/* Hard override for older mobile pseudo-triangle rules. */
.aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-play::before,
.aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform .aeyw-play::before,
.aeyw-section .aeyw-wall .aeyw-play::before {
    content: none !important;
    display: none !important;
    border: 0 !important;
}

/* FPW Media Wall v1.4.5 one movable text box */
.aeyw-text-box {
    position: relative;
    color: var(--aeyw-text, #fff);
    font-size: var(--aeyw-text-box-size, 18px);
    line-height: var(--aeyw-text-box-line, 1.45);
    max-width: var(--aeyw-text-box-max, 420px);
    padding: var(--aeyw-text-box-pad, 18px);
    border-radius: var(--aeyw-text-box-radius, 0px);
    background: var(--aeyw-text-box-bg, transparent);
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}
.aeyw-text-box p {
    margin: 0 0 .85em;
}
.aeyw-text-box p:last-child {
    margin-bottom: 0;
}
.aeyw-text-align-left { text-align: left; }
.aeyw-text-align-center { text-align: center; }
.aeyw-text-align-right { text-align: right; }
.aeyw-text-box-bordered {
    border: var(--aeyw-edge-width, 1px) solid rgba(255,255,255,var(--aeyw-edge-opacity,.12));
    box-shadow:
        calc(var(--aeyw-shadow-enabled, 1) * var(--aeyw-shadow-x, 0px))
        calc(var(--aeyw-shadow-enabled, 1) * var(--aeyw-shadow-y, 18px))
        calc(var(--aeyw-shadow-enabled, 1) * var(--aeyw-shadow-softness, 48px))
        rgba(0,0,0,var(--aeyw-shadow-strength,.42)),
        inset 0 1px 0 rgba(255,255,255,var(--aeyw-edge-highlight,.22)),
        inset 0 -1px 0 rgba(0,0,0,var(--aeyw-edge-shadow,.36));
}
.aeyw-wall.aeyw-layout-freeform .aeyw-text-box {
    position: absolute !important;
    display: block !important;
    margin: 0 !important;
}
.aeyw-wall.aeyw-layout-masonry .aeyw-text-box {
    display: inline-block;
    width: 100%;
    margin: 0 0 var(--aeyw-gap, 18px);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}
@media (max-width: 640px) {
    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-text-box,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform .aeyw-text-box {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        flex: 0 0 100% !important;
        width: calc(100% - 36px) !important;
        max-width: min(var(--aeyw-text-box-max, 420px), calc(100% - 36px)) !important;
        margin: 16px 18px 0 !important;
        scroll-snap-align: none !important;
        order: 999 !important;
    }
}


/* FPW Media Wall v1.4.3: keep text out of the phone carousel */
.aeyw-text-box-mobile-stack {
    display: none;
}

@media (max-width: 640px) {
    .aeyw-section .aeyw-wall.aeyw-layout-freeform .aeyw-text-box-board,
    .aeyw-section[style*="--aeyw-ratio-lock"] .aeyw-wall.aeyw-layout-freeform .aeyw-text-box-board {
        display: none !important;
    }

    .aeyw-section .aeyw-text-box-mobile-stack {
        display: block !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: calc(100% - 36px) !important;
        max-width: min(var(--aeyw-text-box-max, 420px), calc(100% - 36px)) !important;
        min-height: 0 !important;
        margin: 18px auto 0 !important;
        z-index: 1 !important;
    }
}


/* FPW Media Wall v1.4.5: make desktop text placement match the visual board.
   The board version fills its draggable rectangle; the mobile clone still uses max width. */
.aeyw-wall.aeyw-layout-freeform .aeyw-text-box-board {
    max-width: none !important;
    width: auto;
}

.aeyw-wall.aeyw-layout-freeform .aeyw-text-box-board p {
    max-width: none !important;
}
