/* Public local experiences, desktop. Values from the Figma k7URF8SFvLzzr55Zi6FxQi (page 331:1458) at 1280 px. */

.xp-body,
.xp-body .header {
    background-color: #f9f7f5;
}

.xp-body .header-fixed {
    box-shadow: none;
}

.xp {
    --xp-ink: #141414;
    --xp-paper: #fafaf8;
    --xp-stone: #cfccc3;
    --xp-muted: #9b988f;
    --xp-muted-dark: #8a877e;
    --xp-gray: #555555;
    --xp-line: #e4e2dc;
    --xp-photo: #eeece6;
    --xp-display: "Acumin Pro ExtraCondensed Bold", "Arial Narrow", sans-serif;
    --xp-text: Helvetica, Arial, sans-serif;
    font-family: var(--xp-text);
    color: var(--xp-ink);
    background-color: #f9f7f5;
}

.xp a {
    color: inherit;
    text-decoration: none !important;
}

.xp h1,
.xp h2,
.xp h3 {
    margin: 0;
    font-family: var(--xp-display);
    font-weight: normal;
    text-transform: uppercase;
}

/* Hero */

.xp-hero {
    position: relative;
    min-height: 197px;
    padding: 54px 44px 40px;
    overflow: hidden;
    background-color: var(--xp-ink);
}

.xp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 46%);
}

.xp-hero > :not(.xp-hero__bg) {
    position: relative;
    z-index: 1;
}

.xp .xp-hero h1 {
    font-size: 68px;
    line-height: 0.95;
    letter-spacing: 1.36px;
    color: var(--xp-paper);
}

.xp-hero p {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--xp-stone);
}

/* Country tabs */

.xp-tabs {
    display: flex;
    padding: 0 44px;
    overflow-x: auto;
}

.xp-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 22px 14px;
    border-bottom: 3px solid transparent;
    color: var(--xp-muted) !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.xp-tab__name {
    font-family: var(--xp-display);
    font-size: 26px;
    line-height: 28px;
    text-transform: uppercase;
}

.xp-tab__count {
    font-size: 15px;
    line-height: normal;
}

.xp-tab:hover,
.xp-tab[aria-current] {
    color: #000 !important;
}

.xp-tab[aria-current] {
    border-bottom-color: #000;
}

.xp-tab[aria-current] .xp-tab__count {
    color: #333;
}

/* City and category filters */

.xp-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 18px max(40px, calc((100% - 1200px) / 2));
    border-bottom: 1px solid var(--xp-line);
}

.xp-label {
    margin: 0;
    font-size: 14px;
    line-height: normal;
    font-weight: normal;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--xp-gray);
}

.xp-city {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.xp-city select {
    width: 200px;
    height: 36px;
    padding: 0 32px 0 12px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    background: var(--xp-paper) url("../images/experiences/chevron.svg") no-repeat right 12px center / 12px 12px;
    font-family: var(--xp-text);
    font-size: 14px;
    color: var(--xp-ink);
    appearance: none;
    cursor: pointer;
}

.xp-select {
    position: relative;
}

.xp-select__button {
    display: flex;
    align-items: center;
    width: 200px;
    height: 36px;
    padding: 0 32px 0 12px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    background: var(--xp-paper) url("../images/experiences/chevron.svg") no-repeat right 12px center / 12px 12px;
    font-family: var(--xp-text);
    font-size: 14px;
    color: var(--xp-ink);
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.xp-select__button[aria-expanded="true"] {
    border-color: var(--xp-ink);
}

.xp-select__button:focus-visible {
    outline: 2px solid var(--xp-ink);
    outline-offset: 2px;
}

.xp-select__list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    max-height: 280px;
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgb(20 20 20 / 8%);
    list-style: none;
}

.xp-select__list:focus {
    outline: none;
}

.xp-select__option {
    padding: 9px 12px;
    font-size: 14px;
    line-height: 18px;
    color: var(--xp-gray);
    white-space: nowrap;
    cursor: pointer;
}

.xp-select__option[aria-selected="true"] {
    font-weight: bold;
    color: var(--xp-ink);
}

.xp-select__option.is-active {
    background-color: var(--xp-photo);
    color: var(--xp-ink);
}

.xp-categories {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 6px;
}

.xp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.xp-chip {
    padding: 7px 13px;
    border: 1px solid var(--xp-stone);
    font-size: 13px;
    line-height: 15px;
    color: var(--xp-gray) !important;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.xp-chip:hover {
    border-color: var(--xp-ink);
}

.xp-chip[aria-current] {
    background-color: var(--xp-ink);
    color: var(--xp-paper) !important;
}

/* Cards */

.xp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 29px 24px;
    width: calc(100% - 88px);
    max-width: 1192px;
    margin: 48px auto 0;
}

.xp-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--xp-line);
    border-radius: 10px;
    background-color: #fff;
    transition: box-shadow 0.2s ease;
}

.xp-card:hover,
.xp-card:focus-visible {
    box-shadow: 0 8px 24px rgb(20 20 20 / 8%);
}

.xp-card__photo {
    position: relative;
    height: 253px;
    background-color: var(--xp-photo);
}

.xp-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: var(--xp-ink);
    font-size: 11px;
    line-height: 13px;
    text-transform: uppercase;
    color: var(--xp-paper);
}

.xp-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 18px 20px;
}

.xp-card__place {
    font-size: 12px;
    line-height: normal;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    color: var(--xp-muted-dark);
}

.xp .xp-card__title {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: 0.64px;
    color: var(--xp-ink);
}

.xp-card__text {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.15;
    color: var(--xp-gray);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.xp-card__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-size: 13px;
    line-height: 16px;
}

.xp-empty {
    margin: 48px 44px 0;
    text-align: center;
    color: var(--xp-gray);
}

.xp-login {
    padding-top: 48px;
}

/* Banner to the guide */

.xp-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 365px;
    margin-top: 48px;
    padding: 0 32px;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.xp-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xp-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(35 35 36 / 73%);
}

.xp-banner > :not(.xp-banner__bg) {
    position: relative;
    z-index: 1;
}

.xp .xp-banner__title {
    font-size: 56px;
    line-height: 1;
    color: #fff;
}

.xp-banner__text {
    max-width: 700px;
    margin: 20px 0 0;
    font-size: 18px;
    line-height: normal;
}

.xp-banner__cta {
    display: inline-flex;
    align-items: center;
    height: 38px;
    margin-top: 64px;
    padding: 0 25px;
    border: 1px solid #000;
    border-radius: 57px;
    background-color: #fff;
    font-size: 17px;
    text-transform: uppercase;
    color: #000 !important;
    transition: background-color 0.2s ease;
}

.xp-banner__cta:hover {
    background-color: var(--xp-paper);
}

/* Detail */

.xp-detail__wrap {
    width: calc(100% - 88px);
    max-width: 1192px;
    margin: 0 auto;
    padding-top: 24px;
}

.xp-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 16px;
}

.xp-back img {
    transform: scaleX(-1);
}

.xp-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
    font-size: 14px;
    line-height: normal;
    color: var(--xp-gray);
}

.xp-crumbs [aria-hidden] {
    color: var(--xp-muted-dark);
}

.xp-crumbs [aria-current],
.xp-crumbs a:hover {
    color: var(--xp-ink) !important;
}

.xp-gallery {
    display: grid;
    grid-template-columns: 792fr 388fr;
    grid-template-rows: repeat(2, 258px);
    gap: 12px;
    margin-top: 24px;
}

.xp-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--xp-photo);
}

.xp-gallery img:first-child,
.xp-gallery--2 img:nth-child(2) {
    grid-row: span 2;
}

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

.xp-content {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin-top: 24px;
}

.xp-article {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    min-width: 0;
}

.xp-badge--detail {
    position: static;
    font-size: 14px;
    line-height: 16px;
}

.xp-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xp .xp-head h1 {
    font-size: 56px;
    line-height: 0.95;
    letter-spacing: 1.12px;
    color: var(--xp-ink);
}

.xp-head p {
    margin: 0;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0.84px;
    text-transform: uppercase;
    color: var(--xp-muted-dark);
}

.xp-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: stretch;
    padding-top: 14px;
    border-top: 1px solid var(--xp-line);
}

.xp-section--where {
    gap: 16px;
    padding-top: 26px;
}

.xp .xp-section h2,
.xp .xp-related h2 {
    font-size: 38px;
    line-height: normal;
    color: var(--xp-ink);
}

.xp-section p {
    margin: 0;
    font-size: 15px;
    line-height: 1.15;
    color: #3a3833;
}

.xp-map {
    display: block;
    width: 100%;
    height: 346px;
    border: 0;
    background-color: var(--xp-photo);
}

.xp-section .xp-meeting {
    margin-top: 10px;
    font-size: 13px;
    line-height: normal;
    color: var(--xp-muted-dark);
}

.xp-aside {
    display: flex;
    flex: 0 0 360px;
    flex-direction: column;
    gap: 20px;
}

.xp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid #b4b4b4;
    background-color: #fff;
}

.xp-button {
    display: flex;
    justify-content: center;
    padding: 13px 20px;
    border: 1px solid var(--xp-ink);
    border-radius: 59px;
    font-size: 13px;
    line-height: 15px;
    text-transform: uppercase;
    color: var(--xp-ink) !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.xp-button:hover,
.xp-button--solid {
    background-color: var(--xp-ink);
    color: var(--xp-paper) !important;
}

.xp-button--solid:hover {
    background-color: #333;
}

.xp-stays {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--xp-line);
    background-color: #fff;
}

.xp-stays__label {
    font-size: 11px;
    line-height: normal;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--xp-muted-dark);
}

.xp-stays p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.xp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: bold;
    line-height: 16px;
}

.xp-related {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--xp-line);
}

.xp-related__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.xp-related-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--xp-line);
    background-color: #fff;
    transition: box-shadow 0.2s ease;
}

.xp-related-card:hover,
.xp-related-card:focus-visible {
    box-shadow: 0 8px 24px rgb(20 20 20 / 8%);
}

.xp-related-card__photo {
    height: 244px;
    background-color: var(--xp-photo);
}

.xp-related-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xp-related-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
}

.xp-related-card__place {
    font-size: 11px;
    line-height: normal;
    letter-spacing: 0.66px;
    text-transform: uppercase;
    color: var(--xp-muted-dark);
}

.xp .xp-related-card__title {
    font-size: 32px;
    line-height: 1.05;
    color: var(--xp-ink);
}

.xp-detail .xp-banner {
    margin-top: 64px;
}

/* Between the phone and 1024 px, which the Figma does not draw: two cards a row, the aside under the article */

@media (min-width: 769px) and (max-width: 1024px) {
    .xp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xp-content {
        flex-direction: column;
        align-items: stretch;
    }

    .xp-aside {
        flex-basis: auto;
    }
}
