.retreats-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 0;
    max-width: 100%;
    height: 500px;
}

.retreat-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.retreat-card:hover {
    transform: scale(1.02);
    text-decoration: none;
    color: white;
}

.retreat-card-main {
    height: 500px;
    padding: 0;
    display: flex;
    flex-direction: row;
    position: relative;
}

.retreat-card-main-md {
    display: none;
    visibility: hidden;
}

.retreat-card-small {
    height: auto;
    min-height: 90px;
    padding: 0;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: nowrap;
}

.retreat-card-small:last-child {
    margin-bottom: 0;
}

.retreat-card-small-image {
    width: 90px;
    height: 90px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.retreat-card-small-content {
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    min-height: 90px;
}

.retreat-card-small .retreat-overlay {
    display: none;
}

.retreat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 1;
}

.retreat-sidebar-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 400px;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.retreat-content {
    display: flex;
    z-index: 3;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.retreat-dates {
    font-size: 14px;
    line-height: 18px;
    font-weight: 300;
    margin-bottom: 10px;
}

.retreat-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.retreat-card-small .retreat-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    color: #fff;
    text-shadow: none;
}

.retreat-card-small .retreat-dates {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    display: block;
}

.retreat-description {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 25px 0;
    color: white;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.retreat-card-small .retreat-description {
    display: none;
}

.retreat-cta {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #E6B800;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.retreat-cta::after {
    content: '>';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
    font-weight: bold;
}

.retreat-card:hover .retreat-cta::after {
    margin-left: 12px;
}

.retreat-tags {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 4;
}

.retreat-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: 8px;
    color: white;
}

.retreat-sidebar {
    display: flex;
    flex-direction: column;
    height: 500px;
}

@media (max-width: 1000px) {
    .retreats-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .retreat-card-main {
        display: none;
    }

    .retreat-card-main-md {
        display: flex;
        visibility: visible;
        flex-direction: column;
        margin-top: 20px;
    }

    .retreat-card-main-md .retreat-image-md {
        height: 250px;
        background-size: cover;
        background-position: center;
        border-radius: 16px;
        margin-bottom: 20px;
        position: relative;
    }

    .retreat-card-main-md .retreat-sidebar-content {
        position: relative;
        width: 100%;
        background: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        padding: 0;
    }

    .retreat-sidebar {
        height: auto;
        order: 2;
    }

    .retreat-card-small {
        background-size: cover;
        background-position: center;
        border-radius: 16px;
        padding: 5px;
    }

    .retreat-card-small .retreat-overlay {
        display: block;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
    }
}

/* New shortcode: [retreats_hero] */
.retreats-hero-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 0;
}

.retreat-hero-card {
    position: relative;
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
}

.retreat-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 34%, rgba(0, 0, 0, 0.72) 100%);
}

.retreat-hero-chips {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 3;
}

.retreat-hero-chip {
    display: inline-flex;
    height: 26px;
    padding: 6px 12px 4px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 28px;
    font-family: "Bogue Regular", serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: -0.36px;
}

.retreat-hero-chip.tag-popular {
    background: #FFEEE6;
    color: #83185A;
}

.retreat-hero-chip.tag-online {
    background: #FDF0C7;
    color: #755A01;
}

.retreat-hero-chip.tag-gratis {
    background: #DCEACA;
    color: #255239;
}

.retreat-hero-chip.tag-tip {
    background: #FAF6E8;
    color: #5E13FB;
}

.retreat-hero-content {
    position: relative;
    z-index: 2;
    padding: 28px 32px 30px 32px;
    width: 100%;
    text-align: center;
}

.retreat-hero-meta {
    margin: 0 0 10px 0;
    font-family: Massilia, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 18px;
}

.retreat-hero-title {
    margin: 0 0 10px 0;
    color: #fff;
    font-family: "Bogue Regular", serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.72px;
}

.retreat-hero-description {
    margin: 0;
    color: #fff;
    font-family: Massilia, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1023px) {
    .retreats-hero-duo {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .retreat-hero-card {
        min-height: 460px;
    }

    .retreat-hero-title {
        font-size: 42px;
    }
}
