/* Blog Accordion Styling */
.wpte-trips-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Matches trips_card_gap */
}

.wpte-card {
    background: rgba(255, 255, 255, 0.1); /* Glassmorphism (matches lq_effect: glass2) */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* Matches glass_shadow: shadow3 */
    border-radius: 10px; /* Matches card_border_radius */
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease-in-out; /* Matches img_animation_duration: 0.3 */
}

.wpte-card__media {
    position: relative;
    overflow: hidden;
}

.wpte-card__image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Matches image_scale: cover */
    transition: transform 0.3s ease-in-out;
}

.wpte-card__title {
    font-size: 24px; /* Matches title_typography_font_size */
    margin: 10px 20px; /* Matches title_margin */
    color: #333; /* Matches title_color */
}

.wpte-card__button {
    display: inline-block;
    padding: 10px 20px; /* Matches button_padding */
    background: #f2295b; /* Matches _background_color_b */
    color: white; /* Matches button_color */
    border-radius: 5px; /* Matches button_border_radius */
    text-decoration: none;
    margin: 10px 20px; /* Matches button_margin */
    transition: background 0.3s ease-in-out;
}

.wpte-card__button:hover {
    background: #d81e4a; /* Matches button_bg_hover_color */
}

/* Accordion Trigger */
.wpte-card__trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #333; /* Matches wpte-card__trigger */
    color: white;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
}

.wpte-card__trigger svg {
    width: 56px;
    height: 56px;
    transition: transform 0.3s ease-in-out;
}

.wpte-card__trigger[aria-expanded="true"] svg {
    transform: rotate(45deg); /* Rotate icon when expanded */
}

/* Accordion Content */
.wpte-card__content-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out; /* Smooth accordion transition */
}

.wpte-card__content-wrap[aria-expanded="true"] {
    max-height: 1000px; /* Adjust based on content height */
}

/* Animations */
@keyframes translateEffect {
    0% { transform: translate(0, 0); opacity: 0; } /* Matches premium_fe_Xtranslate, premium_fe_Ytranslate */
    100% { transform: translate(5px, 5px); opacity: 0.5; } /* Matches premium_fe_opacity */
}

.wpte-card:hover {
    animation: translateEffect 1s easeInOutSine alternate; /* Matches premium_fe_trans_duration, premium_fe_easing */
}

/* Badge */
.wpte-card__badge {
    position: absolute;
    top: 10px; /* Matches pa_badge_ver */
    right: 10px; /* Matches pa_badge_hor */
    background: #6EC1E4; /* Matches pa_badge_bgcolor */
    color: white; /* Matches pa_badge_color */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px; /* Matches pa_badge_typo_font_size */
}

/* Tooltip */
.wpte-card__tooltip {
    position: absolute;
    background: #f2295b; /* Matches premium_tooltip_container_bg_color_b */
    color: white; /* Matches premium_tooltip_text_color */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease; /* Matches premium_tooltip_anime_dur */
    top: -40px; /* Matches premium_tooltip_position: top */
    z-index: 10;
}

.wpte-card:hover .wpte-card__tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .wpte-card__title {
        font-size: 20px;
    }
    .wpte-card__button {
        padding: 8px 16px;
    }
}