/*
|--------------------------------------------------------------------------
| CONTENT WRAPPER
|--------------------------------------------------------------------------
*/

.aeo-core-content{
    width: 100%;
}

/*
|--------------------------------------------------------------------------
| GRID LAYOUT
|--------------------------------------------------------------------------
*/

.aeo-core-grid {
    display: grid;
    gap: 30px;
}

.aeo-core-grid.columns-1 {
    grid-template-columns: repeat(1, 1fr);
}

.aeo-core-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.aeo-core-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.aeo-core-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:1024px){

    .aeo-core-grid.columns-3,
    .aeo-core-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:767px){

    .aeo-core-grid.columns-2,
    .aeo-core-grid.columns-3,
    .aeo-core-grid.columns-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*
|--------------------------------------------------------------------------
| SWIPER VARIABLES
|--------------------------------------------------------------------------
*/

.aeo-core-swiper{

    --aeo-arrow-size: 40px;
    --aeo-arrow-radius: 0px;
    --aeo-arrow-horizontal: 0px;
    --aeo-arrow-vertical: 0px;
}

/*
|--------------------------------------------------------------------------
| SWIPER FIX
|--------------------------------------------------------------------------
*/
.aeo-core-swiper {
    width: 100%;
    overflow: hidden;
	position: static;
}

.aeo-core-swiper .swiper-wrapper {
    display: flex;
}

.aeo-core-swiper .swiper-slide {
    flex-shrink: 0;
    height: auto;
    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| CARD
|--------------------------------------------------------------------------
*/

.aeo-core-card {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.aeo-core-card.has-bg-image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.aeo-core-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all .3s ease;
    pointer-events: none;
}

.aeo-core-card > *:not(.aeo-core-card-overlay) {
    position: relative;
    z-index: 2;
}

/*
|--------------------------------------------------------------------------
| NAVIGATION
|--------------------------------------------------------------------------
*/

.aeo-core-swiper .swiper-button-prev,
.aeo-core-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
}

.aeo-core-swiper .swiper-button-prev:after,
.aeo-core-swiper .swiper-button-next:after {
    font-size: calc(var(--aeo-arrow-size) / 2.2);
}

/*
|--------------------------------------------------------------------------
| ARROWS BASE
|--------------------------------------------------------------------------
*/

.aeo-core-swiper .swiper-button-prev,
.aeo-core-swiper .swiper-button-next {

    width: var(--aeo-arrow-size);
    height: var(--aeo-arrow-size);
    border-radius: var(--aeo-arrow-radius);
    margin-top: var(--aeo-arrow-vertical);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

/*
|--------------------------------------------------------------------------
| OUTSIDE POSITION
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-position-outside{

    width: calc(100% - 60px);
    margin-left: auto;
    margin-right: auto;
}

.aeo-core-swiper.arrow-position-outside .swiper-button-prev{
    left: calc(-5px - var(--aeo-arrow-horizontal));
}

.aeo-core-swiper.arrow-position-outside .swiper-button-next{
    right: calc(-5px - var(--aeo-arrow-horizontal));
}

@media(max-width:767px){

    .aeo-core-swiper.arrow-position-outside{

        width: calc(100% - 80px);
    }

    .aeo-core-swiper.arrow-position-outside .swiper-button-prev{
        left: -40px;
    }

    .aeo-core-swiper.arrow-position-outside .swiper-button-next{
        right: -40px;
    }
}

/*
|--------------------------------------------------------------------------
| INSIDE POSITION
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-inside{

    width: 100%;
}

.aeo-core-swiper.arrow-inside .swiper-button-prev{
    left: 10px;
}

.aeo-core-swiper.arrow-inside .swiper-button-next{
    right: 10px;
}

/*
|--------------------------------------------------------------------------
| OUTSIDE POSITION
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-outside{

    width: calc(100% - 60px);

    margin-left: auto;
    margin-right: auto;
}

/*
|--------------------------------------------------------------------------
| TOP LEFT
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-position-top-left .swiper-button-prev,
.aeo-core-swiper.arrow-position-top-left .swiper-button-next {

    top: 0;
    bottom: auto;
}

.aeo-core-swiper.arrow-position-top-left .swiper-button-prev {
    left: 0;
}

.aeo-core-swiper.arrow-position-top-left .swiper-button-next {
    left: 50px;
}

/*
|--------------------------------------------------------------------------
| TOP CENTER
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-position-top-center .swiper-button-prev,
.aeo-core-swiper.arrow-position-top-center .swiper-button-next {

    top: 0;
    bottom: auto;
}

.aeo-core-swiper.arrow-position-top-center .swiper-button-prev {
    left: calc(50% - 45px);
}

.aeo-core-swiper.arrow-position-top-center .swiper-button-next {
    left: calc(50% + 5px);
}

/*
|--------------------------------------------------------------------------
| TOP RIGHT
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-position-top-right .swiper-button-prev,
.aeo-core-swiper.arrow-position-top-right .swiper-button-next {

    top: 0;
    bottom: auto;
}

.aeo-core-swiper.arrow-position-top-right .swiper-button-prev {
    right: 50px;
    left: auto;
}

.aeo-core-swiper.arrow-position-top-right .swiper-button-next {
    right: 0;
}

/*
|--------------------------------------------------------------------------
| BOTTOM LEFT
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-position-bottom-left .swiper-button-prev,
.aeo-core-swiper.arrow-position-bottom-left .swiper-button-next {

    top: auto;
    bottom: 0;
}

.aeo-core-swiper.arrow-position-bottom-left .swiper-button-prev {
    left: 0;
}

.aeo-core-swiper.arrow-position-bottom-left .swiper-button-next {
    left: 50px;
}

/*
|--------------------------------------------------------------------------
| BOTTOM CENTER
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-position-bottom-center .swiper-button-prev,
.aeo-core-swiper.arrow-position-bottom-center .swiper-button-next {

    top: auto;
    bottom: 0;
}

.aeo-core-swiper.arrow-position-bottom-center .swiper-button-prev {
    left: calc(50% - 45px);
}

.aeo-core-swiper.arrow-position-bottom-center .swiper-button-next {
    left: calc(50% + 5px);
}

/*
|--------------------------------------------------------------------------
| BOTTOM RIGHT
|--------------------------------------------------------------------------
*/

.aeo-core-swiper.arrow-position-bottom-right .swiper-button-prev,
.aeo-core-swiper.arrow-position-bottom-right .swiper-button-next {

    top: auto;
    bottom: 0;
}

.aeo-core-swiper.arrow-position-bottom-right .swiper-button-prev {
    right: 50px;
    left: auto;
}

.aeo-core-swiper.arrow-position-bottom-right .swiper-button-next {
    right: 0;
}
/*
|--------------------------------------------------------------------------
| BUTTON ICON
|--------------------------------------------------------------------------
*/

.aeo-core-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.aeo-core-button i,
.aeo-core-button svg {
    width: 16px;
    height: 16px;
    font-size: 16px;
    flex-shrink: 0;
}

/*
|--------------------------------------------------------------------------
| TRANSITIONS
|--------------------------------------------------------------------------
*/

.aeo-core-title,
.aeo-core-excerpt,
.aeo-core-date,
.aeo-core-custom-text,
.aeo-core-meta-item,
.aeo-core-button,
.aeo-core-image img,
.aeo-core-card {
    transition: all .3s ease;
}
/*
|--------------------------------------------------------------------------
| BUTTON FLEX
|--------------------------------------------------------------------------
*/

.aeo-core-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
/*
|--------------------------------------------------------------------------
| ARROWS
|--------------------------------------------------------------------------
*/

.swiper-button-prev,
.swiper-button-next {

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all .3s ease;
}
/*
|--------------------------------------------------------------------------
| PAGINATION
|--------------------------------------------------------------------------
*/

.aeo-core-pagination{

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-top: 40px;
}

.aeo-core-pagination .page-numbers{

    min-width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    transition: all .3s ease;
}

.aeo-core-pagination .current{

    font-weight: 700;
}
/*
|--------------------------------------------------------------------------
| SWIPER PAGINATION
|--------------------------------------------------------------------------
*/

.aeo-core-swiper .swiper-pagination{

    position: relative;

    margin-top: 30px;
}

.aeo-core-swiper .swiper-pagination-bullet{

    opacity: 1;

    transition: all .3s ease;
}

.aeo-core-swiper .swiper-pagination-bullet-active{

    border-radius: 100px;
}

/*
|--------------------------------------------------------------------------
| WHOLE CARD LINK OVERLAY/WRAPPER
|--------------------------------------------------------------------------
*/
.aeo-core-card-link-wrapper {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/*
|--------------------------------------------------------------------------
| EXCERPT MORE
|--------------------------------------------------------------------------
*/
.aeo-core-excerpt-more {
    display: inline-block;
    margin-left: 5px;
    font-weight: 600;
    text-decoration: none;
}

.aeo-core-excerpt-more:hover {
    text-decoration: underline;
}

/*
|--------------------------------------------------------------------------
| POST CONTENT
|--------------------------------------------------------------------------
*/
.aeo-core-post-content {
    width: 100%;
}

/*
|--------------------------------------------------------------------------
| IMAGE ALIGNMENT OVERRIDES
|--------------------------------------------------------------------------
*/
.aeo-core-image {
    display: block;
    width: 100%;
}

.aeo-core-image img {
    display: inline-block !important;
    vertical-align: middle;
}

/*
|--------------------------------------------------------------------------
| ADVANCED DYNAMIC CAROUSEL
|--------------------------------------------------------------------------
*/
.aeo-advanced-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.aeo-advanced-swiper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.aeo-advanced-swiper-slide {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: all 0.5s ease;
}

/* Slide elements styling */
.aeo-slide-element {
    width: 100%;
    margin: 0 0 15px 0;
}
.aeo-slide-element:last-child {
    margin-bottom: 0;
}

.aeo-slide-media img {
    max-width: 100%;
    height: auto;
}

.aeo-slide-media i,
.aeo-slide-media svg {
    display: inline-block;
}

.aeo-slide-heading {
    margin: 0 0 10px 0;
}

.aeo-slide-desc {
    margin: 0 0 15px 0;
}

.aeo-slide-divider hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0;
}

.aeo-slide-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Equal Height option */
.aeo-carousel-equal-height .swiper-wrapper {
    display: flex;
    align-items: stretch;
}
.aeo-carousel-equal-height .swiper-slide {
    height: auto;
    display: flex;
}
.aeo-carousel-equal-height .aeo-advanced-swiper-slide {
    height: 100%;
    flex: 1;
}

/* Arrows Position Presets
   !important + full resets on every rule to defeat Swiper's own
   .swiper-button-prev/next CSS that sets left/right/top defaults */
.aeo-advanced-carousel-wrapper .aeo-carousel-prev,
.aeo-advanced-carousel-wrapper .aeo-carousel-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

/* Middle Sides (default) */
.aeo-advanced-carousel-wrapper.arrow-pos-middle-left .aeo-carousel-prev {
    left: 10px !important; right: auto !important;
    top: 50% !important;   bottom: auto !important;
    transform: translateY(-50%) !important;
}
.aeo-advanced-carousel-wrapper.arrow-pos-middle-left .aeo-carousel-next {
    right: 10px !important; left: auto !important;
    top: 50% !important;    bottom: auto !important;
    transform: translateY(-50%) !important;
}

/* Top Left */
.aeo-advanced-carousel-wrapper.arrow-pos-top-left .aeo-carousel-prev {
    left: 10px !important; right: auto !important;
    top: 10px !important;  bottom: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.arrow-pos-top-left .aeo-carousel-next {
    left: 60px !important; right: auto !important;
    top: 10px !important;  bottom: auto !important;
    transform: none !important;
}

/* Top Center */
.aeo-advanced-carousel-wrapper.arrow-pos-top-center .aeo-carousel-prev {
    left: calc(50% - 50px) !important; right: auto !important;
    top: 10px !important;               bottom: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.arrow-pos-top-center .aeo-carousel-next {
    left: calc(50% + 10px) !important; right: auto !important;
    top: 10px !important;               bottom: auto !important;
    transform: none !important;
}

/* Top Right */
.aeo-advanced-carousel-wrapper.arrow-pos-top-right .aeo-carousel-prev {
    right: 60px !important; left: auto !important;
    top: 10px !important;   bottom: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.arrow-pos-top-right .aeo-carousel-next {
    right: 10px !important; left: auto !important;
    top: 10px !important;   bottom: auto !important;
    transform: none !important;
}

/* Bottom Left */
.aeo-advanced-carousel-wrapper.arrow-pos-bottom-left .aeo-carousel-prev {
    left: 10px !important; right: auto !important;
    bottom: 10px !important; top: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.arrow-pos-bottom-left .aeo-carousel-next {
    left: 60px !important; right: auto !important;
    bottom: 10px !important; top: auto !important;
    transform: none !important;
}

/* Bottom Center */
.aeo-advanced-carousel-wrapper.arrow-pos-bottom-center .aeo-carousel-prev {
    left: calc(50% - 50px) !important; right: auto !important;
    bottom: 10px !important; top: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.arrow-pos-bottom-center .aeo-carousel-next {
    left: calc(50% + 10px) !important; right: auto !important;
    bottom: 10px !important; top: auto !important;
    transform: none !important;
}

/* Bottom Right */
.aeo-advanced-carousel-wrapper.arrow-pos-bottom-right .aeo-carousel-prev {
    right: 60px !important; left: auto !important;
    bottom: 10px !important; top: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.arrow-pos-bottom-right .aeo-carousel-next {
    right: 10px !important; left: auto !important;
    bottom: 10px !important; top: auto !important;
    transform: none !important;
}

/* Custom — controlled by Elementor selectors (arrow_pos_top / left / right) */
.aeo-advanced-carousel-wrapper.arrow-pos-custom .aeo-carousel-prev,
.aeo-advanced-carousel-wrapper.arrow-pos-custom .aeo-carousel-next {
    top: 50%;
    transform: translateY(-50%);
}

/* Pagination Position Presets */
.aeo-advanced-carousel-wrapper .aeo-carousel-pagination {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    width: auto;
    --aeo-pag-x: 0px;
    --aeo-pag-y: 0px;
}

.aeo-advanced-carousel-wrapper.pag-pos-bottom-center .aeo-carousel-pagination {
    bottom: calc(15px - var(--aeo-pag-y));
    left: calc(50% + var(--aeo-pag-x));
    transform: translateX(-50%);
    width: 100% !important;
}
.aeo-advanced-carousel-wrapper.pag-pos-bottom-left .aeo-carousel-pagination {
    bottom: calc(15px - var(--aeo-pag-y));
    left: calc(15px + var(--aeo-pag-x));
}
.aeo-advanced-carousel-wrapper.pag-pos-bottom-right .aeo-carousel-pagination {
    bottom: calc(15px - var(--aeo-pag-y));
    right: calc(15px - var(--aeo-pag-x));
}
.aeo-advanced-carousel-wrapper.pag-pos-top-left .aeo-carousel-pagination {
    top: calc(15px + var(--aeo-pag-y));
    left: calc(15px + var(--aeo-pag-x));
}
.aeo-advanced-carousel-wrapper.pag-pos-top-center .aeo-carousel-pagination {
    top: calc(15px + var(--aeo-pag-y));
    left: calc(50% + var(--aeo-pag-x));
    transform: translateX(-50%);
    width: 100% !important;
}
.aeo-advanced-carousel-wrapper.pag-pos-top-right .aeo-carousel-pagination {
    top: calc(15px + var(--aeo-pag-y));
    right: calc(15px - var(--aeo-pag-x));
}

/* Slide Numbers Presets — num-pos-* classes on wrapper, numbers inside swiper
   (swiper has position:relative, so absolute values are relative to swiper area)
   Use !important to defeat Swiper's own CSS defaults */
.aeo-carousel-numbers {
    position: absolute;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.aeo-advanced-carousel-wrapper.num-pos-top-left .aeo-carousel-numbers,
.aeo-carousel-numbers.position-top-left {
    top: 15px !important; left: 15px !important;
    right: auto !important; bottom: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.num-pos-top-center .aeo-carousel-numbers,
.aeo-carousel-numbers.position-top-center {
    top: 15px !important; left: 50% !important;
    right: auto !important; bottom: auto !important;
    transform: translateX(-50%) !important;
}
.aeo-advanced-carousel-wrapper.num-pos-top-right .aeo-carousel-numbers,
.aeo-carousel-numbers.position-top-right {
    top: 15px !important; right: 15px !important;
    left: auto !important; bottom: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.num-pos-bottom-left .aeo-carousel-numbers,
.aeo-carousel-numbers.position-bottom-left {
    bottom: 15px !important; left: 15px !important;
    right: auto !important; top: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.num-pos-bottom-center .aeo-carousel-numbers,
.aeo-carousel-numbers.position-bottom-center {
    bottom: 15px !important; left: 50% !important;
    right: auto !important; top: auto !important;
    transform: translateX(-50%) !important;
}
.aeo-advanced-carousel-wrapper.num-pos-bottom-right .aeo-carousel-numbers,
.aeo-carousel-numbers.position-bottom-right {
    bottom: 15px !important; right: 15px !important;
    left: auto !important; top: auto !important;
    transform: none !important;
}
.aeo-advanced-carousel-wrapper.num-pos-custom .aeo-carousel-numbers,
.aeo-carousel-numbers.position-custom {
    top: auto; right: auto; bottom: auto; left: auto;
}

/* Default Bullets */
.aeo-carousel-pagination .swiper-pagination-bullet {
    transition: all 0.3s ease !important;
}

/* Editor-specific styles for Advanced Dynamic Carousel */
.elementor-editor-active .aeo-advanced-swiper {
    overflow: hidden !important;
    width: 100% !important;
}

.elementor-editor-active .aeo-advanced-swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: var(--aeo-editor-gap, 20px) !important;
    transition: transform 0.3s ease-in-out !important;
    width: 100% !important;
}

/* Style each slide container as a distinct, editable card in the editor */
.elementor-editor-active .aeo-advanced-swiper-wrapper > .elementor-element {
    /* Layout — !important required to enforce horizontal grid */
    display: flex !important;
    flex-direction: column !important;
    width: calc((100% - (var(--aeo-editor-spv, 3) - 1) * var(--aeo-editor-gap, 20px)) / var(--aeo-editor-spv, 3)) !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

/* Slide container visual defaults with zero specificity so Elementor per-element CSS can override */
:where(.elementor-editor-active .aeo-advanced-swiper-wrapper > .elementor-element) {
    min-height: 150px;
    margin-bottom: 0;
    border: 2px dashed rgba(0, 0, 0, 0.12);
    background-color: transparent;
    border-radius: 4px;
}

/* Empty helper state visual feedback */
.elementor-editor-active .aeo-advanced-swiper-wrapper > .elementor-element:empty,
.elementor-editor-active .aeo-advanced-swiper-wrapper > .elementor-element > .elementor-empty-view {
    min-height: 150px !important;
}
:where(.elementor-editor-active .aeo-advanced-swiper-wrapper > .elementor-element:empty),
:where(.elementor-editor-active .aeo-advanced-swiper-wrapper > .elementor-element > .elementor-empty-view) {
    border-color: #d4008e; /* highlight active editing zone border color */
    background-color: rgba(212, 0, 142, 0.02);
}

/* Editor selection helpers for the parent carousel widget */
.elementor-editor-active .aeo-advanced-carousel-wrapper {
    position: relative !important;
    overflow: visible !important;
}

/* Parent carousel wrapper visual defaults with zero specificity so Elementor controls can override */
:where(.elementor-editor-active .aeo-advanced-carousel-wrapper) {
    border: 2px dashed rgba(212, 0, 142, 0.25);
    border-radius: 8px;
    margin-top: 56px;
    margin-bottom: 10px;
    background-color: rgba(212, 0, 142, 0.01);
}

/* Label bar floats ABOVE the carousel using negative top — gives visible spacing */
.elementor-editor-active .aeo-advanced-carousel-wrapper::before {
    content: "\2630  Advanced Carousel  —  click here to edit settings" !important;
    position: absolute !important;
    top: -48px !important;
    left: -2px !important;
    right: -2px !important;
    height: 42px !important;
    background: linear-gradient(135deg, rgba(212,0,142,0.12) 0%, rgba(100,0,212,0.10) 100%) !important;
    border: 1px dashed rgba(212, 0, 142, 0.55) !important;
    border-bottom: 2px solid rgba(212, 0, 142, 0.3) !important;
    color: #c0006e !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px 6px 0 0 !important;
    cursor: pointer !important;
    z-index: 200 !important;
    pointer-events: auto !important;
}

:where(.elementor-editor-active .aeo-advanced-carousel-wrapper:hover) {
    border-color: rgba(212, 0, 142, 0.5);
    background-color: rgba(212, 0, 142, 0.03);
}

/* Disable default Swiper ::after icons */
.aeo-carousel-prev::after,
.aeo-carousel-next::after {
    content: '' !important;
    display: none !important;
}

/*
 * Editor arrow STRUCTURAL styles — always enforced.
 * Only display, cursor, z-index enforced with !important.
 * Width/height are set by user's arrow_box_width control (which also uses !important).
 */
.elementor-editor-active .aeo-advanced-carousel-wrapper .aeo-carousel-prev,
.elementor-editor-active .aeo-advanced-carousel-wrapper .aeo-carousel-next {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 101 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/*
 * Editor arrow VISUAL defaults — :where() gives zero specificity so
 * Elementor's per-widget CSS (.elementor-element-XXXXX .aeo-carousel-prev)
 * overrides these instantly when the user changes any style control.
 */
:where(.elementor-editor-active .aeo-advanced-carousel-wrapper) .aeo-carousel-prev,
:where(.elementor-editor-active .aeo-advanced-carousel-wrapper) .aeo-carousel-next {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 16px;
}

:where(.elementor-editor-active .aeo-advanced-carousel-wrapper) .aeo-carousel-prev:hover,
:where(.elementor-editor-active .aeo-advanced-carousel-wrapper) .aeo-carousel-next:hover {
    background-color: #d4008e;
    color: #fff;
    border-color: #d4008e;
    box-shadow: 0 4px 12px rgba(212, 0, 142, 0.35);
}

/*
|--------------------------------------------------------------------------
| CATEGORY STYLES
|--------------------------------------------------------------------------
*/

.aeo-core-category {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.aeo-core-category-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.aeo-core-category-item a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

.aeo-core-category-separator {
    color: inherit;
    opacity: 0.8;
}

/* Badge Style Preset Defaults */
.aeo-category-style-badge .aeo-core-category-separator {
    display: none;
}

.aeo-category-style-badge .aeo-core-category-item {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    background-color: #f1f5f9;
    color: #475569;
}

.aeo-category-style-badge .aeo-core-category-item:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/*
|--------------------------------------------------------------------------
| CUSTOM NESTED CONTAINERS & ORIENTATION STYLES
|--------------------------------------------------------------------------
*/

.aeo-core-container {
    box-sizing: border-box;
    max-width: 100%;
}

/* Horizontal layout (Orientation) */
.aeo-card-dir-horizontal .aeo-core-grid {
    grid-template-columns: 1fr !important;
}

.aeo-card-dir-horizontal .aeo-core-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.aeo-card-dir-horizontal .aeo-core-image-wrap {
    flex: 0 0 45%;
    width: 45%;
    overflow: hidden;
}

.aeo-card-dir-horizontal .aeo-core-image {
    height: 100%;
    margin-bottom: 0 !important;
}

.aeo-card-dir-horizontal .aeo-core-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.aeo-card-dir-horizontal .aeo-core-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media(max-width: 767px) {
    .aeo-card-dir-horizontal .aeo-core-card {
        flex-direction: column;
    }
    
    .aeo-card-dir-horizontal .aeo-core-image-wrap {
        width: 100% !important;
        flex: 0 0 auto !important;
    }
}

/*
|--------------------------------------------------------------------------
| DATE & READING TIME ICONS
|--------------------------------------------------------------------------
*/
.aeo-core-date,
.aeo-core-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.aeo-core-date svg,
.aeo-core-reading-time svg,
.aeo-core-date i,
.aeo-core-reading-time i {
    width: 1em;
    height: 1em;
    fill: currentColor;
    line-height: 1;
}

/*
|--------------------------------------------------------------------------
| LOAD MORE BUTTON
|--------------------------------------------------------------------------
*/
.aeo-core-load-more-wrap {
    text-align: center;
    margin-top: 40px;
    width: 100%;
}
.aeo-core-load-more-btn {
    background-color: #d4008e;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.aeo-core-load-more-btn:hover {
    background-color: #b00075;
    transform: translateY(-2px);
}
.aeo-core-load-more-btn:active {
    transform: translateY(1px);
}
.aeo-core-load-more-btn.loading {
    background-color: #e07bb9;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/*
|--------------------------------------------------------------------------
| RATING STARS
|--------------------------------------------------------------------------
*/
.aeo-core-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    line-height: 1;
}
.aeo-core-rating .star-filled,
.aeo-core-rating .filled {
    color: #ffcc00;
}
.aeo-core-rating .star-empty,
.aeo-core-rating .empty {
    color: #cccccc;
}