/*
 * Yourbnb 1.1: the navigation, the hero and its search, the featured cities and the
 * phone layout, reworked without changing the look: Poppins, the coral and plum colours,
 * white pages, rounded pictures and soft shadows.
 *
 * Loaded last, after yourbnb.css (the demo's original stylesheet), whose rules it
 * replaces where they hurt: a header laid over the hero that was hard to read, a search
 * squeezed into a narrow column with grey text, six city pictures stacked on phones.
 */

/* ---------- Header: one white bar on every page, kept at the top on scroll ---------- */
/* The body as tall as the page: at the window's height (kindshare), the sticky header
   only stayed up for the first screen. */
html,
body {
    height: auto;
    min-height: 100%;
}
/* Sticky on the header itself: on the bar inside, it had no room to stick. */
header.yb-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--yb-white);
}
/* An admin signed in: their bar (admin_bar.php) is fixed over the top 40px, so the
   header starts and sticks below it, without the bar's extra 40px under the header. */
body:has(#admin-bar) header.yb-header {
    top: 40px;
    margin-top: 40px;
    margin-bottom: 0 !important;
}
/* The announcement bar: a plum line above the header, which scrolls away with the page. */
.yb-announce {
    position: relative;
    z-index: 1001;
    background: var(--yb-secondary);
    color: #fff;
}
.yb-announce p {
    margin: 0;
    padding: 10px 0;
    text-align: center;
    font: 500 13px/1.45 var(--yb-font);
}
.yb-announce a {
    margin-left: 6px;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.yb-announce a:hover,
.yb-announce a:focus {
    color: #fff;
    text-decoration-thickness: 2px;
}
body:has(#admin-bar) .yb-announce {
    margin-top: 40px;
}
body:has(#admin-bar) .yb-announce + header.yb-header {
    margin-top: 0;
}
.yb-header .navbar.navbar-inverse,
.homepage-body .yb-header .navbar.navbar-inverse {
    position: relative;
    height: auto;
    min-height: 72px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--yb-line);
    background: var(--yb-white);
    box-shadow: none;
}
.yb-header .container.clear_menu {
    display: flex;
    align-items: center;
    min-height: 72px;
}
.yb-header .navbar-brand,
.homepage-body .yb-header .navbar-brand {
    display: flex;
    align-items: center;
    height: 72px;
    padding: 0 24px 0 0;
    color: var(--yb-primary) !important;
    font: 700 24px/1 var(--yb-font);
    letter-spacing: -0.02em;
}
.yb-header .navbar-brand img {
    max-height: 40px;
    width: auto;
}
@media (min-width: 992px) {
    .homepage-body .yb-header .navbar-inverse span,
    .homepage-body .yb-header .inbox.inbox_notification_menu .dropbtn,
    .homepage-body .yb-header .navbar-nav > li > a,
    .yb-header .navbar-nav > li > a {
        color: var(--yb-ink) !important;
    }
    .yb-header .navbar-nav > li > a {
        padding: 10px 14px;
        border-radius: 999px;
        font: 500 14px/1.4 var(--yb-font);
        transition: background-color .2s ease;
    }
    .yb-header .navbar-nav > li > a:hover,
    .yb-header .navbar-nav > li > a:focus {
        background: var(--yb-surface);
    }
    .yb-header .navbar-nav > li > a:before {
        display: none;
    }
    .yb-header .navbar-right {
        display: flex;
        align-items: center;
        margin-left: auto;
    }
    .yb-header .navbar-nav li .listing-add,
    .yb-header .navbar-nav li .listing-add.btn {
        color: var(--yb-on-primary) !important;
        margin-left: 8px;
        padding: 11px 20px;
        border-radius: 999px;
        font: 600 14px/1.2 var(--yb-font);
    }
    /* The categories of the mega menu: a quiet second row, not pills over the picture. */
    .yb-header .cbp-hrmenu,
    .homepage-body .yb-header .cbp-hrmenu {
        background: var(--yb-white) !important;
        color: var(--yb-ink) !important;
        border-top: 1px solid var(--yb-line);
    }
    .yb-header .cbp-hrmenu > ul > li > a,
    .homepage-body .yb-header .cbp-hrmenu > ul > li > a.univers-link {
        color: var(--yb-ink) !important;
        background: none !important;
        border: 0 !important;
        font: 500 14px/1.4 var(--yb-font);
    }
    .yb-header .cbp-hrmenu > ul > li > a:hover {
        color: var(--yb-primary) !important;
    }
    /* The open category: a coral line along the bottom of the row, in place of the
       older white bar that hung below it. */
    .yb-header .cbp-hrmenu > ul > li > a::after,
    .yb-header .cbp-hrmenu > ul > li > a::before {
        display: none !important;
    }
    .yb-header .cbp-hrmenu > ul > li > a {
        border-radius: 0 !important;
        box-shadow: inset 0 -2px 0 transparent;
        transition: box-shadow .2s ease, color .2s ease;
    }
    .yb-header .cbp-hrmenu > ul > li > a:hover,
    .yb-header .cbp-hrmenu > ul > li.cbp-hropen > a {
        box-shadow: inset 0 -2px 0 var(--yb-primary);
        color: var(--yb-primary) !important;
    }
}
/* A ring for the keyboard only, not after a click. */
.yb-header a:focus:not(:focus-visible),
.yb-header button:focus:not(:focus-visible) {
    outline: none;
}
.yb-header a:focus-visible,
.yb-header button:focus-visible {
    outline: 2px solid var(--yb-primary);
    outline-offset: 2px;
}
.homepage-body .main-content {
    margin-top: 0;
}
/* The header's search: one pill, always open (kindshare folded it behind an icon that
   unrolled a bare field). Left out on the homepage, whose hero has the full search. */
.yb-header .top_search_cta {
    display: none !important;
}
@media (min-width: 992px) {
    .yb-header #headerMainSearchForm {
        position: relative;
        display: flex;
        align-items: center;
        width: 300px;
        max-width: none;
        height: 48px;
        margin: 0 0 0 8px;
        padding: 0 6px 0 0;
        overflow: visible;
        opacity: 1;
        border: 1px solid var(--yb-line);
        border-radius: 999px;
        background: var(--yb-white);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .05);
        transition: box-shadow .2s ease;
    }
    .yb-header #headerMainSearchForm:hover,
    .yb-header #headerMainSearchForm:focus-within {
        box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 6px 16px rgba(0, 0, 0, .08);
    }
    .yb-header #headerMainSearchForm input[type="text"] {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        height: 46px;
        margin: 0;
        padding: 0 12px 0 22px;
        border: 0 !important;
        border-radius: 999px;
        background: transparent;
        box-shadow: none;
        color: var(--yb-ink);
        font: 500 14px/1.2 var(--yb-font);
    }
    .yb-header #headerMainSearchForm input[type="text"]::placeholder {
        color: var(--yb-muted);
        opacity: 1;
    }
    .yb-header #headerMainSearchForm .search_btn {
        display: block;
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
    }
    .yb-header #headerMainSearchForm .search_btn .btn {
        width: 36px;
        height: 36px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--yb-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") no-repeat center / 16px !important;
        color: transparent !important;
        font-size: 0;
    }
    .yb-header #headerMainSearchForm .search_btn .btn:hover,
    .yb-header #headerMainSearchForm .search_btn .btn:focus {
        background-color: var(--yb-primary-dark) !important;
    }
    .homepage-body .yb-header #headerMainSearchForm {
        display: none;
    }
}

/* ---------- Hero ---------- */
/* The height follows the content: kindshare's fixed 650px left the search floating in the
   middle of a tall picture on phones. */
.yb-home .hero-large,
.yb-home .hero-medium,
.yb-home .hero-small {
    height: auto !important;
}
.yb-home .hero-container {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    overflow: hidden;
}
.yb-home .hero-container .overlay-filter {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, .1) 100%) !important;
}
.yb-home .hero-container > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.yb-home .col-md-12.home-banner-content,
.yb-home .home-banner-content {
    width: 100%;
    max-width: 1080px;
    padding: 56px 0;
    text-align: left;
}
.yb-home .welcome-message h1,
.yb-home .home-banner-content h1 {
    max-width: 640px;
    margin: 0 0 12px;
    color: #fff !important;
    font: 700 46px/1.15 var(--yb-font);
    letter-spacing: -0.02em;
}
.yb-home .welcome-message h2,
.yb-home .home-banner-content h2 {
    max-width: 560px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, .92) !important;
    font: 400 18px/1.55 var(--yb-font) !important;
}

/* ---------- The hero's search: one white bar ---------- */
.yb-home .home-search-wrapper {
    margin: 0;
    text-align: left;
}
.yb-home form.home-search {
    float: none;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 960px;
    margin: 0;
    padding: 8px;
    border-radius: 999px;
    background: var(--yb-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}
.yb-home form.home-search > div {
    float: none;
    position: relative;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}
.yb-home form.home-search > div.search_by_location {
    flex-grow: 1.5;
}
.yb-home form.home-search > div + div:not(.submit__search)::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 1px;
    background: var(--yb-line);
}
.yb-home form.home-search input,
.yb-home form.home-search select {
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 22px;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent;
    box-shadow: none;
    color: var(--yb-ink);
    font: 500 15px/1.2 var(--yb-font);
    -webkit-appearance: none;
    appearance: none;
}
.yb-home form.home-search select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 42px;
}
.yb-home form.home-search input:hover,
.yb-home form.home-search select:hover,
.yb-home form.home-search input:focus,
.yb-home form.home-search select:focus {
    background-color: var(--yb-surface);
    outline: none;
}
.yb-home form.home-search input::placeholder {
    color: var(--yb-muted) !important;
    opacity: 1;
}
.yb-home form.home-search input::-webkit-input-placeholder {
    color: var(--yb-muted) !important;
}
.yb-home form.home-search > div.submit__search {
    flex: 0 0 148px;
    width: 148px !important;
}
.yb-home form.home-search button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 56px;
    margin: 0;
    padding: 0 26px 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--yb-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") no-repeat 20px center / 18px;
    padding-left: 48px;
    width: 100% !important;
    white-space: nowrap;
    color: var(--yb-on-primary);
    font: 600 15px/1 var(--yb-font);
    transition: background-color .2s ease;
}
.yb-home form.home-search button[type="submit"]:hover,
.yb-home form.home-search button[type="submit"]:focus {
    background-color: var(--yb-primary-dark);
}

/* ---------- Section headings: the subtitle follows its title, left ---------- */
.yb-home .yb-offers__head p,
.yb-home .section-header p {
    text-align: left;
}

/* ---------- "About" ---------- */
.yb-home .yb-about {
    margin: 48px 0 8px !important;
}
.yb-home .yb-about .col-md-6 {
    width: 100%;
    max-width: 760px;
    margin-left: 0;
    float: none;
    text-align: left !important;
}
.yb-home .yb-about h2 {
    font-weight: 700;
}
.yb-home .yb-about p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--yb-muted);
}

/* ---------- Featured cities ---------- */
#cities {
    padding: 48px 0;
}
.yb-cities {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.yb-cities::before,
.yb-cities::after {
    display: none;
}
.yb-cities > li {
    margin: 0;
}
.yb-cities .city {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 320px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--yb-radius);
    background-size: cover;
    background-position: center;
    transition: transform .35s ease, box-shadow .35s ease;
}
.yb-cities .city::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7) 100%);
    pointer-events: none;
}
.yb-cities .city:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}
.yb-cities .city h5 {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 18px;
    text-align: left;
    color: #fff;
}
.yb-cities .city h5 a {
    display: block;
    color: #fff;
    font: 600 19px/1.2 var(--yb-font);
    text-transform: none;
}
.yb-cities .city h5 small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .9);
    font: 400 13px/1.4 var(--yb-font);
}
@media (max-width: 1199px) {
    .yb-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .yb-cities .city { height: 260px; }
}

/* ---------- Mobile bar (phones and tablets) ---------- */
.yb-mobbar {
    display: none;
}

/* ---------- Phones and tablets ---------- */
@media (max-width: 991px) {
    .yb-header .navbar.navbar-inverse {
        min-height: 60px;
    }
    .yb-header .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
        float: none;
    }
    .yb-header .navbar-header::before,
    .yb-header .navbar-header::after {
        display: none;
    }
    .yb-header .navbar-brand,
    .homepage-body .yb-header .navbar-brand {
        height: 60px;
        padding: 0 16px;
        font-size: 22px;
        line-height: 60px;
    }
    .yb-header .navbar-toggle {
        order: 2;
        margin: 0 12px 0 0;
        padding: 10px;
        border: 1px solid var(--yb-line);
        border-radius: 999px;
        background: var(--yb-white);
    }
    .yb-header .navbar-toggle .icon-bar {
        background: var(--yb-ink) !important;
    }
    .yb-header .navbar-collapse {
        border-top: 1px solid var(--yb-line);
        background: var(--yb-white);
        max-height: calc(100vh - 60px - 64px);
        overflow-y: auto;
    }
    .yb-header .navbar-nav > li > a {
        padding: 14px 20px;
        color: var(--yb-ink) !important;
        font: 500 16px/1.3 var(--yb-font);
    }

    /* The bottom bar: explore, search, favourites, the account. */
    .yb-mobbar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        display: flex;
        justify-content: space-around;
        height: 64px;
        padding: 0 4px env(safe-area-inset-bottom);
        border-top: 1px solid var(--yb-line);
        background: var(--yb-white);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .05);
    }
    .yb-mobbar__item {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--yb-muted);
        font: 500 11px/1.1 var(--yb-font);
        text-decoration: none;
    }
    .yb-mobbar__item .yb-i {
        width: 24px;
        height: 24px;
    }
    .yb-mobbar__item[aria-current="page"],
    .yb-mobbar__item:hover,
    .yb-mobbar__item:focus {
        color: var(--yb-primary);
        text-decoration: none;
    }
    .yb-mobbar__item[aria-current="page"] .yb-i {
        color: var(--yb-primary);
    }
    body.yb-has-mobbar {
        padding-bottom: 64px;
    }
    body.yb-has-mobbar #back-top,
    body.yb-has-mobbar .backtotop {
        display: none !important;
    }
}

@media (max-width: 767px) {
    /* Hero: the picture, the title and the search in one screen. */
    .yb-home .hero-container {
        min-height: 0;
    }
    /* No sides: the title and the search line up on the container, like every section. */
    .yb-home .col-md-12.home-banner-content,
    .yb-home .home-banner-content {
        padding: 32px 0 24px;
    }
    .yb-home .welcome-message h1,
    .yb-home .home-banner-content h1 {
        font-size: 30px;
        text-align: left;
    }
    .yb-home .welcome-message h2,
    .yb-home .home-banner-content h2 {
        margin-bottom: 22px;
        font-size: 15px !important;
        text-align: left;
    }
    .yb-home .hero-container .overlay-filter {
        background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 100%) !important;
    }
    .yb-home form.home-search {
        flex-wrap: wrap;
        padding: 6px;
        border-radius: 18px;
    }
    .yb-home form.home-search > div,
    .yb-home form.home-search > div.submit__search,
    .homepage-body .yb-home form.home-search > div.narrow_pad {
        flex: 1 1 100%;
        width: 100% !important;
        margin: 0 !important;
    }
    .yb-home form.home-search > div.search_by_startdate,
    .yb-home form.home-search > div.search_by_enddate {
        flex: 1 1 50%;
    }
    .yb-home form.home-search > div + div:not(.submit__search)::before {
        top: 0;
        right: 14px;
        bottom: auto;
        left: 14px;
        width: auto;
        height: 1px;
    }
    .yb-home form.home-search > div.search_by_enddate::before {
        right: 14px;
    }
    .yb-home form.home-search input,
    .yb-home form.home-search select {
        height: 52px;
        margin: 0 !important;
        padding: 0 16px;
        border-radius: 12px !important;
        font-size: 16px;
    }
    .yb-home form.home-search button[type="submit"] {
        justify-content: center;
        width: 100%;
        height: 50px;
        margin-top: 6px;
        border-radius: 12px;
        background-position: calc(50% - 44px) center;
    }

    /* Sections: less air, titles a size down. */
    .yb-home .section-header h2,
    .yb-home .yb-kinds h2,
    .yb-home h2 {
        font-size: 24px;
    }
    .yb-home .yb-about {
        margin-top: 28px !important;
    }
    #cities {
        padding: 28px 0;
    }

    /* Rows that scroll sideways instead of a long column: cities and offers. */
    .yb-cities,
    .yb-offers__grid {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 72%;
        gap: 12px;
        margin: 0 -15px;
        padding: 0 15px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 15px;
        scrollbar-width: none;
    }
    .yb-offers__grid {
        grid-auto-columns: 80%;
    }
    .yb-cities::-webkit-scrollbar,
    .yb-offers__grid::-webkit-scrollbar {
        display: none;
    }
    .yb-cities > li,
    .yb-offers__grid > * {
        scroll-snap-align: start;
    }
    .yb-cities .city {
        height: 300px;
    }
}

/* ---------- Content pages ---------- */
/* A <header>: the base stylesheet floats every header (`header { float: left }`), and the
   page's text then started behind the banner, its top space hidden under it. */
.yb-page__hero {
    position: relative;
    float: none;
    width: 100%;
    display: flex;
    align-items: flex-end;
    min-height: 380px;
    padding: 0 0 44px;
    background-color: var(--yb-ink);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.yb-page__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .62) 100%);
}
.yb-page__hero > .container {
    position: relative;
    width: 100%;
}
.yb-page__hero--plain {
    min-height: 0;
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--yb-line);
    background: var(--yb-primary-soft);
    color: var(--yb-ink);
}
.yb-page__hero--plain::before {
    display: none;
}
.yb-page__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    font: 500 13px/1.4 var(--yb-font);
    opacity: .9;
}
.yb-page__crumbs li + li::before {
    content: "/";
    margin-right: 6px;
    opacity: .6;
}
.yb-page__crumbs a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.yb-page__hero h1 {
    max-width: 760px;
    margin: 0;
    color: inherit;
    font: 700 44px/1.15 var(--yb-font);
    letter-spacing: -0.02em;
}
.yb-page__lead {
    max-width: 640px;
    margin: 12px 0 0;
    font: 400 18px/1.55 var(--yb-font);
    opacity: .92;
}
.yb-page__body {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 0 64px;
    color: var(--yb-ink);
    font: 400 16px/1.7 var(--yb-font);
}
.yb-page__body .lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--yb-ink);
}
.yb-page__body h2 {
    margin: 40px 0 14px;
    font: 700 28px/1.25 var(--yb-font);
    color: var(--yb-ink);
}
.yb-page__body h3 {
    font-family: var(--yb-font);
}
.yb-page__body p,
.yb-page__body li {
    color: #484848;
}
.yb-page__body a:not(.btn) {
    color: var(--yb-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.yb-page__body .btn-primary {
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
}
.yb-page__body img {
    max-width: 100%;
    height: auto;
}
.yb-page__body .yb-steps {
    margin-top: 24px;
}
.yb-page__body .yb-step {
    padding-top: 8px;
}

/* ---------- Help centre ---------- */
.yb-help__hero {
    padding: 48px 0 56px;
    background: var(--yb-primary-soft);
}
.yb-help__hero h1 {
    margin: 0 0 10px;
    color: var(--yb-ink);
    font: 700 42px/1.15 var(--yb-font);
    letter-spacing: -0.02em;
}
.yb-help__edito,
.yb-help__edito p {
    max-width: 640px;
    margin: 0;
    color: var(--yb-muted);
    font: 400 17px/1.55 var(--yb-font);
}
.yb-help__search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 620px;
    height: 58px;
    margin: 26px 0 0;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--yb-white);
    box-shadow: 0 6px 20px rgba(146, 24, 77, .12);
    font-weight: 400;
    cursor: text;
}
.yb-help__search .yb-i {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: var(--yb-ink);
}
.yb-help__search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    border: 0;
    background: transparent;
    color: var(--yb-ink);
    font: 500 16px/1.2 var(--yb-font);
    outline: none;
}
.yb-help__topics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: -28px 0 40px;
}
.yb-help__topic {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px;
    border: 1px solid var(--yb-line);
    border-radius: var(--yb-radius);
    background: var(--yb-white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    color: var(--yb-ink);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.yb-help__topic:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .1);
}
.yb-help__topic[aria-pressed="true"] {
    border-color: var(--yb-primary);
    box-shadow: 0 0 0 1px var(--yb-primary), 0 10px 22px rgba(214, 63, 69, .15);
}
.yb-help__topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
    border-radius: 12px;
    background: var(--yb-primary-soft);
}
.yb-help__topic-icon .yb-i {
    width: 24px;
    height: 24px;
}
.yb-help__topic-title {
    font: 600 16px/1.3 var(--yb-font);
}
.yb-help__topic-count {
    color: var(--yb-muted);
    font: 400 13px/1.3 var(--yb-font);
}
.yb-help__groups {
    max-width: 860px;
}
.yb-help__group {
    margin-bottom: 36px;
    scroll-margin-top: 130px;
}
.yb-help__group h2 {
    margin: 0 0 8px;
    font: 700 22px/1.3 var(--yb-font);
    color: var(--yb-ink);
}
.yb-help__item {
    border-bottom: 1px solid var(--yb-line);
}
.yb-help__item summary {
    position: relative;
    display: block;
    padding: 20px 48px 20px 0;
    color: var(--yb-ink);
    font: 600 16px/1.45 var(--yb-font);
    list-style: none;
    cursor: pointer;
}
.yb-help__item summary::-webkit-details-marker {
    display: none;
}
.yb-help__sign {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border: 1px solid var(--yb-line);
    border-radius: 50%;
    transition: background-color .2s ease, transform .2s ease;
}
.yb-help__sign::before,
.yb-help__sign::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.6px;
    margin: -.8px 0 0 -6px;
    background: var(--yb-ink);
    transition: transform .2s ease;
}
.yb-help__sign::after {
    transform: rotate(90deg);
}
.yb-help__item[open] .yb-help__sign {
    border-color: var(--yb-primary);
    background: var(--yb-primary);
}
.yb-help__item[open] .yb-help__sign::before,
.yb-help__item[open] .yb-help__sign::after {
    background: #fff;
}
.yb-help__item[open] .yb-help__sign::after {
    transform: rotate(0deg);
}
.yb-help__answer {
    padding: 0 48px 22px 0;
    color: #484848;
    font: 400 15px/1.7 var(--yb-font);
}
.yb-help__answer p:last-child {
    margin-bottom: 0;
}
.yb-help__empty {
    padding: 20px 0;
    color: var(--yb-muted);
}
.yb-help__empty a {
    color: var(--yb-primary-dark);
    font-weight: 600;
}
.yb-help__contact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 24px 0 64px;
    padding: 28px 32px;
    border-radius: var(--yb-radius);
    background: var(--yb-surface);
}
.yb-help__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--yb-white);
}
.yb-help__contact-icon .yb-i {
    width: 28px;
    height: 28px;
}
.yb-help__contact h2 {
    margin: 0 0 4px;
    font: 700 20px/1.3 var(--yb-font);
    color: var(--yb-ink);
}
.yb-help__contact p {
    margin: 0;
    color: var(--yb-muted);
}
.yb-help__contact .btn {
    margin-left: auto;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .yb-help__topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .yb-page__hero {
        min-height: 280px;
        padding-bottom: 28px;
    }
    .yb-page__hero h1,
    .yb-help__hero h1 {
        font-size: 30px;
    }
    .yb-page__lead {
        font-size: 16px;
    }
    .yb-page__body {
        padding: 32px 0 40px;
    }
    .yb-page__body h2 {
        font-size: 24px;
    }
    .yb-help__hero {
        padding: 32px 0 44px;
    }
    .yb-help__topics {
        gap: 10px;
        margin-top: -24px;
    }
    .yb-help__topic {
        padding: 16px;
    }
    .yb-help__contact {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    .yb-help__contact .btn {
        margin-left: 0;
    }
}
