.wp-sagre-archive {
    --wp-sagre-orange: #ffb11b;
    --wp-sagre-red: #ff2417;
    --wp-sagre-purple: #3a004a;
    --wp-sagre-blue: #099ed6;
    --wp-sagre-ink: #2d003d;
    background: var(--wp-sagre-purple);
    color: #fff;
    font-family: inherit;
}

.wp-sagre-hero {
    background: var(--wp-sagre-red);
    padding: clamp(22px, 3vw, 44px) clamp(18px, 4vw, 64px) clamp(30px, 4vw, 54px);
}

.wp-sagre-filters {
    align-items: end;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto 26px;
    max-width: 920px;
}

.wp-sagre-filters label {
    display: grid;
    gap: 8px;
}

.wp-sagre-filters span {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.wp-sagre-filters input,
.wp-sagre-filters select,
.wp-sagre-filters button {
    border: 0;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 18px;
}

.wp-sagre-filters button {
    background: var(--wp-sagre-purple);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
}

.wp-sagre-map-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 860px) minmax(260px, 320px);
    justify-content: center;
    margin: 0 auto;
    max-width: 1240px;
}

.wp-sagre-map {
    aspect-ratio: 16 / 10;
    background: #d6b0e5;
    border-radius: 34px;
    min-height: clamp(430px, 40vw, 560px);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.wp-sagre-map > p {
    align-items: center;
    color: var(--wp-sagre-ink);
    display: flex;
    font-weight: 900;
    inset: 0;
    justify-content: center;
    margin: 0;
    position: absolute;
    text-transform: uppercase;
}

.wp-sagre-map .leaflet-container {
    font-family: inherit;
}

.wp-sagre-map-style-purple .leaflet-tile {
    filter: grayscale(0.85) sepia(0.35) hue-rotate(225deg) saturate(1.7) brightness(1.08);
}

.wp-sagre-map-style-purple .leaflet-container {
    background: #d9bee8;
}

.wp-sagre-map-style-purple .leaflet-control-attribution,
.wp-sagre-map-style-purple .leaflet-control-zoom a {
    filter: grayscale(0.6) hue-rotate(225deg);
}

.wp-sagre-map .leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.wp-sagre-map .leaflet-popup-content {
    margin: 12px 14px;
}

.wp-sagre-leaflet-pin {
    background: transparent;
    border: 0;
}

.wp-sagre-leaflet-pin span {
    background: var(--wp-sagre-province-color, var(--wp-sagre-purple));
    border: 4px solid #fff;
    border-radius: 999px 999px 999px 0;
    display: block;
    height: 28px;
    transform: rotate(-45deg);
    width: 28px;
}

.wp-sagre-map-popup {
    color: var(--wp-sagre-ink);
    display: grid;
    gap: 5px;
    min-width: 180px;
    text-decoration: none;
}

.wp-sagre-map-popup time {
    color: var(--wp-sagre-ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.wp-sagre-map-popup strong {
    color: var(--wp-sagre-red);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.wp-sagre-map-popup span {
    color: var(--wp-sagre-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.wp-sagre-featured {
    background: #fff;
    border-radius: 34px;
    display: grid;
    grid-auto-rows: max-content;
    height: fit-content;
    padding: 20px 24px;
    width: 100%;
}

.wp-sagre-featured a {
    border-bottom: 3px solid var(--wp-sagre-orange);
    color: var(--wp-sagre-ink);
    display: grid;
    gap: 5px;
    padding: 9px 0;
    text-decoration: none;
}

.wp-sagre-featured a:last-child {
    border-bottom: 0;
}

.wp-sagre-featured time,
.wp-sagre-card time {
    color: var(--wp-sagre-ink);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.wp-sagre-featured strong {
    color: var(--wp-sagre-red);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.wp-sagre-featured-location {
    align-items: center;
    color: var(--wp-sagre-province-color, var(--wp-sagre-ink));
    display: flex;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.wp-sagre-featured .wp-sagre-location-icon {
    height: 24px;
    width: 24px;
}

.wp-sagre-list {
    padding: clamp(42px, 6vw, 76px) clamp(18px, 4vw, 64px);
}

.wp-sagre-grid {
    display: grid;
    gap: 42px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1120px;
}

.wp-sagre-shortcode-grid {
    max-width: none;
}

.wp-sagre-card {
    background: #fff;
    border-radius: 34px;
    overflow: hidden;
}

.wp-sagre-card a {
    color: inherit;
    display: grid;
    min-height: 100%;
    text-decoration: none;
}

.wp-sagre-card img {
    aspect-ratio: 1.36 / 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.wp-sagre-card-body {
    display: grid;
    gap: 16px;
    padding: 26px 30px 32px;
}

.wp-sagre-card h2 {
    color: var(--wp-sagre-orange);
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 950;
    line-height: 1.05;
    margin: 0;
    text-transform: uppercase;
}

.wp-sagre-card-location {
    align-items: center;
    color: var(--wp-sagre-province-color, var(--wp-sagre-blue));
    display: flex;
    gap: 14px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

.wp-sagre-card-location span,
.wp-sagre-card-location svg {
    color: var(--wp-sagre-province-color);
    fill: var(--wp-sagre-province-color);
}

.wp-sagre-carousel:not(.owl-loaded) {
    display: grid;
    gap: 26px;
    grid-auto-columns: minmax(280px, 360px);
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
}

.wp-sagre-carousel-slide {
    scroll-snap-align: start;
}

.wp-sagre-carousel .wp-sagre-card {
    height: 100%;
}

.wp-sagre-carousel.owl-carousel .owl-stage {
    display: flex;
}

.wp-sagre-carousel.owl-carousel .owl-item {
    display: flex;
}

.wp-sagre-carousel.owl-carousel .wp-sagre-carousel-slide,
.wp-sagre-carousel.owl-carousel .wp-sagre-card,
.wp-sagre-carousel.owl-carousel .wp-sagre-card > a {
    width: 100%;
}

.wp-sagre-carousel .owl-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.wp-sagre-carousel .owl-nav button.owl-prev,
.wp-sagre-carousel .owl-nav button.owl-next {
    align-items: center;
    background: var(--wp-sagre-purple) !important;
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    font-size: 32px !important;
    font-weight: 900 !important;
    height: 44px;
    justify-content: center;
    line-height: 1 !important;
    width: 44px;
}

.wp-sagre-carousel .owl-dots {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}

.wp-sagre-carousel .owl-dot span {
    background: rgba(58, 0, 74, 0.3) !important;
    height: 10px !important;
    margin: 0 !important;
    width: 10px !important;
}

.wp-sagre-carousel .owl-dot.active span {
    background: var(--wp-sagre-purple) !important;
}

.wp-sagre-location-icon {
    color: var(--wp-sagre-province-color, var(--wp-sagre-blue));
    display: inline-flex;
    flex: 0 0 auto;
    height: 38px;
    width: 38px;
}

.wp-sagre-location-icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

.wp-sagre-location-icon svg,
.wp-sagre-location-icon svg * {
    fill: currentColor !important;
}

.wp-sagre-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 44px;
}

.wp-sagre-pagination a,
.wp-sagre-pagination span {
    background: #fff;
    border-radius: 999px;
    color: var(--wp-sagre-ink);
    font-weight: 800;
    padding: 10px 16px;
    text-decoration: none;
}

.wp-sagre-pagination .current {
    background: var(--wp-sagre-orange);
}

.wp-sagre-empty {
    color: #fff;
    font-weight: 800;
    text-align: center;
}

.wp-sagra-gallery {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(var(--wp-sagra-gallery-columns, 3), minmax(0, 1fr));
}

.wp-sagra-gallery-item {
    border-radius: 18px;
    display: block;
    overflow: hidden;
}

.wp-sagra-gallery-item img {
    aspect-ratio: 1.35 / 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.wp-sagra-action-link {
    align-items: center;
    color: var(--wp-sagre-province-color, var(--wp-sagre-blue));
    display: inline-flex;
    gap: 10px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.wp-sagra-action-link svg {
    fill: currentColor;
    height: 28px;
    width: 28px;
}

.wp-sagre-single {
    background: var(--wp-sagre-purple, #3a004a);
    color: #fff;
    padding: clamp(32px, 5vw, 70px) clamp(18px, 4vw, 64px);
}

.wp-sagre-single-shell {
    margin: 0 auto;
    max-width: 1120px;
}

.wp-sagre-single-header {
    align-items: end;
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
}

.wp-sagre-single-header time {
    color: var(--wp-sagre-orange, #ffb11b);
    font-weight: 900;
    text-transform: uppercase;
}

.wp-sagre-single-header h1 {
    color: var(--wp-sagre-orange, #ffb11b);
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.95;
    margin: 12px 0;
    text-transform: uppercase;
}

.wp-sagre-single-header p {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 14px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.wp-sagre-single-header .wp-sagre-location-icon {
    height: 44px;
    width: 44px;
}

.wp-sagre-single-header img {
    aspect-ratio: 1.2 / 1;
    border-radius: 34px;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.wp-sagre-single-content {
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 320px;
    margin-top: 48px;
}

.wp-sagre-single-content section {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
}

.wp-sagre-single-excerpt {
    color: var(--wp-sagre-orange, #ffb11b);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}

.wp-sagre-single-meta {
    background: #fff;
    border-radius: 34px;
    color: var(--wp-sagre-ink, #2d003d);
    display: grid;
    gap: 24px;
    padding: 28px;
}

.wp-sagre-single-meta div {
    display: grid;
    gap: 10px;
}

.wp-sagre-single-meta span {
    color: var(--wp-sagre-red, #ff2417);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.wp-sagre-single-meta strong,
.wp-sagre-single-meta a {
    color: var(--wp-sagre-ink, #2d003d);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {
    .wp-sagre-filters,
    .wp-sagre-map-layout,
    .wp-sagre-grid,
    .wp-sagre-single-header,
    .wp-sagre-single-content {
        grid-template-columns: 1fr;
    }

    .wp-sagre-map {
        aspect-ratio: 1 / 1.05;
        min-height: 380px;
    }

    .wp-sagra-gallery {
        grid-template-columns: 1fr;
    }
}
