/* Admire Custom Post Carousel Styles */

/* Core Swiper Styles (Ensure structure) */
.admire-carousel-container {
    padding-bottom: 50px;
    /* Space for pagination */
    overflow: hidden;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}

.swiper-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    position: relative;
    height: 100%;
    /* Fix for equal height columns */
    height: auto;
}

/* Fix Card Height */
.admire-carousel-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.admire-carousel-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Thumbnail */
.admire-carousel-thumb-wrap {
    position: relative;
    width: 100%;
}

.admire-carousel-img {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.admire-carousel-img-link {
    display: block;
    overflow: hidden;
}

.admire-carousel-item:hover .admire-carousel-img {
    transform: scale(1.05);
}

.admire-carousel-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

/* Base Badge Logic */
.admire-carousel-cat {
    display: inline-block;
    background: #fff;
    color: #333;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #333;
}

/* Badge in Meta (Hidden by default, shown in Landscape) */
.admire-badge-in-meta {
    position: static;
    display: none;
    margin-right: 10px;
}

/* Content */
.admire-carousel-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.admire-carousel-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.admire-carousel-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 15px;
}

.admire-carousel-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
}

.admire-carousel-title a:hover {
    color: #7442cb;
    /* New Accent */
}

.admire-carousel-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Skin: Landscape (Horizontal) */
.admire-skin-landscape.admire-carousel-item {
    flex-direction: row;
    align-items: center;
}

.admire-skin-landscape .admire-carousel-thumb-wrap {
    /* Width handled by Elementor control, default 40% */
    height: 100%;
}

.admire-skin-landscape .admire-carousel-img-link {
    height: 100%;
}

.admire-skin-landscape .admire-carousel-img {
    height: 100%;
    min-height: 250px;
    /* Fallback min height */
}

.admire-skin-landscape .admire-carousel-content {
    /* Width handled by Elementor control */
    justify-content: center;
}

/* Landscape Specific Badge Logic */
.admire-skin-landscape .admire-carousel-thumb-wrap .admire-carousel-badges {
    display: none;
    /* Hide image badge */
}

.admire-skin-landscape .admire-badge-in-meta {
    display: block;
    /* Show meta badge */
}

.admire-skin-landscape .admire-carousel-cat {
    background: #7442cb;
    /* New Accent */
    color: #fff;
    border: none;
    padding: 4px 10px;
}


/* Navigation - Arrows */
.admire-carousel-container .swiper-button-next,
.admire-carousel-container .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    z-index: 10;
    cursor: pointer;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #333;
}

.admire-carousel-container .swiper-button-next:after,
.admire-carousel-container .swiper-button-prev:after {
    font-family: "dashicons";
    font-size: 20px;
    font-weight: normal;
}

/* Dashicons Arrow Alt2 */
.admire-carousel-container .swiper-button-prev:after {
    content: "\f341";
}

.admire-carousel-container .swiper-button-next:after {
    content: "\f345";
}

.admire-carousel-container .swiper-button-next:hover,
.admire-carousel-container .swiper-button-prev:hover {
    background-color: #7442cb;
    /* New Accent */
    color: #fff;
}

.admire-carousel-container .swiper-button-prev {
    left: 10px;
}

.admire-carousel-container .swiper-button-next {
    right: 10px;
}

.admire-carousel-container .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Navigation - Dots */
.admire-carousel-container .swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 0.3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    bottom: 0px;
    width: 100%;
}

.admire-carousel-container .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: #000;
    opacity: 0.2;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.admire-carousel-container .swiper-pagination-bullet-active {
    opacity: 1;
    background: #7442cb;
    /* New Accent */
    width: 20px;
    /* Elongated active dot styling */
    border-radius: 4px;
}