/* MYT Grid 3, v1.0.8. Only markup produced by the MYT card override. */
#jbd-container .myt-cards {
    --myt-card-heading: #29313b;
    --myt-card-text: #596174;
    --myt-card-border: #e5e7eb;
    --myt-card-background: #fdfdfd;
    --myt-card-stars: #ffd43a;
    --myt-card-award: #ff9800;
    --myt-card-location: #668ead;
}
#jbd-container .myt-cards .myt-card-column { display: flex; margin-bottom: 24px; }
#jbd-container .myt-cards .myt-card {
    --myt-logo-size: clamp(88px, 9vw, 120px);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--myt-card-background);
    border: 1px solid var(--myt-card-border);
    border-radius: 16px;
    box-shadow: 0 2px 0 rgb(89 97 116 / 8%);
    color: var(--myt-card-text);
    text-align: center;
}
#jbd-container .myt-cards .myt-card__media { position: relative; flex: none; }
#jbd-container .myt-cards .myt-card__cover-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
#jbd-container .myt-cards .myt-card__cover {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}
#jbd-container .myt-cards .myt-card__logo {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    box-sizing: border-box;
    width: var(--myt-logo-size);
    height: var(--myt-logo-size);
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
}
#jbd-container .myt-cards .myt-card__logo img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}
#jbd-container .myt-cards .myt-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 18px 28px;
}
#jbd-container .myt-cards .myt-card--has-logo .myt-card__body {
    padding-top: calc(var(--myt-logo-size) / 2 + 12px);
}
#jbd-container .myt-cards .myt-card__title {
    margin: 0;
    color: var(--myt-card-heading);
    font-family: inherit;
    font-size: clamp(18px, 1.5vw, 21px);
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    overflow-wrap: anywhere;
}
#jbd-container .myt-cards .myt-card__title a { color: inherit; text-decoration: none; }
#jbd-container .myt-cards .myt-card__title a:hover { text-decoration: underline; }
#jbd-container .myt-cards .myt-card__recommended {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 18px;
    margin-inline-start: 5px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--myt-card-award);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    vertical-align: 2px;
}
#jbd-container .myt-cards .myt-card__slogan {
    margin: 0;
    color: var(--myt-card-text);
    font-size: 18px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
#jbd-container .myt-cards .myt-card__title + .myt-card__slogan { margin-top: -3.333333px; }
#jbd-container .myt-cards .myt-card__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--myt-card-heading);
    font-size: 14px;
    line-height: 1.4;
}
#jbd-container .myt-cards .myt-card__stars {
    display: inline-block;
    flex: none;
    width: 90px;
    height: 18px;
    background: linear-gradient(to right, var(--myt-card-stars) 0 var(--myt-rating), var(--myt-card-border) var(--myt-rating) 100%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 1 3.4 6.9 7.6 1.1-5.5 5.4 1.3 7.6-6.8-3.6L5.2 22l1.3-7.6L1 9l7.6-1.1Z'/%3E%3C/svg%3E") left center / 18px 18px repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 1 3.4 6.9 7.6 1.1-5.5 5.4 1.3 7.6-6.8-3.6L5.2 22l1.3-7.6L1 9l7.6-1.1Z'/%3E%3C/svg%3E") left center / 18px 18px repeat-x;
}
#jbd-container .myt-cards .myt-card__review-count { color: var(--myt-card-text); }
#jbd-container .myt-cards .myt-card__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 12px;
    color: var(--myt-card-text);
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
#jbd-container .myt-cards .myt-card__location svg { flex: none; color: var(--myt-card-location); }
#jbd-container .myt-cards .myt-card__details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 36px;
    max-width: 100%;
    margin-top: auto;
    padding: 8px 20px;
    border: 1px solid var(--myt-card-text);
    border-radius: 999px;
    background: #fff;
    color: var(--myt-card-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}
#jbd-container .myt-cards .myt-card__details:hover { background: #f1f3f6; color: var(--myt-card-heading); }
#jbd-container .myt-cards .myt-card__bookmark {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
/* 80% opacity = alpha .8. The visible circle remains exactly 32px. */
#jbd-container .myt-cards .myt-card__bookmark::before {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border: 1.333333px solid rgb(255 255 255 / 80%);
    border-radius: 50%;
    background: rgb(255 255 255 / 80%);
    background-clip: padding-box;
}
#jbd-container .myt-cards .myt-card__bookmark i.icon {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    margin: 0;
    background-color: #555;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 32px 32px;
    mask-size: 32px 32px;
}
/* Exact original JBD heart paths; only the original ring was separated. */
#jbd-container .myt-cards .myt-card__bookmark i.heart-o-circle {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M22.5133%2017.3626C20.6939%2015.5432%2017.744%2015.5432%2015.9246%2017.3626C14.1052%2019.182%2014.1052%2022.1319%2015.9246%2023.9513L16.7043%2024.731C16.7171%2024.7437%2016.7294%2024.7568%2016.7414%2024.7701L24.0001%2032.0289L31.2585%2024.7705C31.2706%2024.7571%2031.283%2024.7439%2031.2959%2024.731L32.0756%2023.9513C33.895%2022.1319%2033.895%2019.182%2032.0756%2017.3626C30.2562%2015.5432%2027.3064%2015.5432%2025.4869%2017.3626L24.7072%2018.1423C24.3167%2018.5328%2023.6835%2018.5328%2023.293%2018.1423L22.5133%2017.3626ZM32.7486%2026.1068C32.7365%2026.1202%2032.724%2026.1334%2032.7112%2026.1462L24.7083%2034.1491C24.5207%2034.3367%2024.2662%2034.4421%2024.0009%2034.442H23.9993C23.734%2034.4421%2023.4796%2034.3367%2023.292%2034.1491L15.2891%2026.1462C15.2762%2026.1333%2015.2637%2026.1202%2015.2517%2026.1068L14.5104%2025.3655C11.9099%2022.765%2011.9099%2018.5489%2014.5104%2015.9484C17.1109%2013.3479%2021.3271%2013.3479%2023.9275%2015.9484L24.0001%2016.021L24.0727%2015.9484C26.6732%2013.3479%2030.8894%2013.3479%2033.4898%2015.9484C36.0903%2018.5489%2036.0903%2022.765%2033.4898%2025.3655L32.7486%2026.1068Z%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M22.5133%2017.3626C20.6939%2015.5432%2017.744%2015.5432%2015.9246%2017.3626C14.1052%2019.182%2014.1052%2022.1319%2015.9246%2023.9513L16.7043%2024.731C16.7171%2024.7437%2016.7294%2024.7568%2016.7414%2024.7701L24.0001%2032.0289L31.2585%2024.7705C31.2706%2024.7571%2031.283%2024.7439%2031.2959%2024.731L32.0756%2023.9513C33.895%2022.1319%2033.895%2019.182%2032.0756%2017.3626C30.2562%2015.5432%2027.3064%2015.5432%2025.4869%2017.3626L24.7072%2018.1423C24.3167%2018.5328%2023.6835%2018.5328%2023.293%2018.1423L22.5133%2017.3626ZM32.7486%2026.1068C32.7365%2026.1202%2032.724%2026.1334%2032.7112%2026.1462L24.7083%2034.1491C24.5207%2034.3367%2024.2662%2034.4421%2024.0009%2034.442H23.9993C23.734%2034.4421%2023.4796%2034.3367%2023.292%2034.1491L15.2891%2026.1462C15.2762%2026.1333%2015.2637%2026.1202%2015.2517%2026.1068L14.5104%2025.3655C11.9099%2022.765%2011.9099%2018.5489%2014.5104%2015.9484C17.1109%2013.3479%2021.3271%2013.3479%2023.9275%2015.9484L24.0001%2016.021L24.0727%2015.9484C26.6732%2013.3479%2030.8894%2013.3479%2033.4898%2015.9484C36.0903%2018.5489%2036.0903%2022.765%2033.4898%2025.3655L32.7486%2026.1068Z%22%2F%3E%3C%2Fsvg%3E");
}
#jbd-container .myt-cards .myt-card__bookmark i.heart-circle {
    background-color: #c94f5d;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20400%20400%22%3E%3Cpath%20d%3D%22M200%2C286.16a2.27%2C2.27%2C0%2C0%2C1-1.54-.61L115.67%2C204l-.81-.81a52.29%2C52.29%2C0%2C0%2C1%2C.82-73.85%2C53.41%2C53.41%2C0%2C0%2C1%2C37.71-15.47h.27a53.5%2C53.5%2C0%2C0%2C1%2C37.84%2C15.58l8.5%2C8.35%2C8.39-8.34a54.5%2C54.5%2C0%2C0%2C1%2C75.9%2C0l.67.65a52.35%2C52.35%2C0%2C0%2C1-.65%2C74h0L201.5%2C285.57a2%2C2%2C0%2C0%2C1-1.44.59Z%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20400%20400%22%3E%3Cpath%20d%3D%22M200%2C286.16a2.27%2C2.27%2C0%2C0%2C1-1.54-.61L115.67%2C204l-.81-.81a52.29%2C52.29%2C0%2C0%2C1%2C.82-73.85%2C53.41%2C53.41%2C0%2C0%2C1%2C37.71-15.47h.27a53.5%2C53.5%2C0%2C0%2C1%2C37.84%2C15.58l8.5%2C8.35%2C8.39-8.34a54.5%2C54.5%2C0%2C0%2C1%2C75.9%2C0l.67.65a52.35%2C52.35%2C0%2C0%2C1-.65%2C74h0L201.5%2C285.57a2%2C2%2C0%2C0%2C1-1.44.59Z%22%2F%3E%3C%2Fsvg%3E");
}
#jbd-container .myt-cards :is(.myt-card__bookmark, .myt-card__details, .myt-card__title a, .myt-card__cover-link):focus-visible {
    outline: 3px solid #245493;
    outline-offset: 3px;
}
#jbd-container .myt-cards .myt-card__cover-link:focus-visible { outline-offset: -4px; }
@media (max-width: 767.98px) {
    #jbd-container .myt-cards .myt-card { --myt-logo-size: clamp(88px, 28vw, 120px); }
    #jbd-container .myt-cards .myt-card__title { font-size: 24px; }
    #jbd-container .myt-cards .myt-card__rating { font-size: 17px; }
    #jbd-container .myt-cards .myt-card__details { font-size: 14px; }
    #jbd-container .myt-cards .myt-card__recommended { font-size: 17px; }
}

/* MYT: retain two columns until the viewport reaches 1232px. */
@media (min-width: 992px) and (width < 1232px) {
    #jbd-container .myt-cards #jbd-results-grid-container > .myt-card-column {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }
}
