/* Small, final-pass responsive corrections for the public Boyodo interface. */
.boyodo-page .boyodo-logo-picture {
    display: block;
    flex: 0 0 auto;
    line-height: 0;
}

.boyodo-page-home .boyodo-discovery {
    margin-block: 28px 38px;
    padding: clamp(16px, 2.4vw, 24px);
    border: 1px solid #d6e7f1;
    border-radius: 24px;
    background: linear-gradient(135deg, #f7fbff 0%, #fff 56%, #f1fbf8 100%);
    box-shadow: 0 18px 44px -38px rgba(7, 59, 100, .45);
}

.boyodo-page-home .boyodo-discovery-heading {
    max-width: 680px;
    margin: 0 0 12px;
}

.boyodo-page-home .boyodo-discovery-heading > span {
    color: #087b85;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.boyodo-page-home .boyodo-discovery-heading h2 {
    margin: 5px 0 3px;
    color: #102e4a;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.2;
}

.boyodo-page-home .boyodo-discovery-heading p {
    margin: 0;
    color: #526d82;
    font-size: 14px;
    line-height: 1.65;
}

.boyodo-page-home .boyodo-home-faq {
    margin-block: 18px 38px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid #d7e8ef;
    border-radius: 24px;
    background: linear-gradient(135deg, #f7fcff 0%, #fff 62%, #f0fbf8 100%);
    box-shadow: 0 16px 38px -34px rgba(7, 59, 100, .55);
}

.boyodo-page-home .boyodo-home-faq .boyodo-market-heading {
    margin-bottom: 15px;
}

.boyodo-page-home .boyodo-home-faq .boyodo-market-heading > div > span {
    color: #087b85;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.boyodo-page-home .boyodo-home-faq .boyodo-market-heading h2 {
    margin: 5px 0 3px;
}

.boyodo-page-home .boyodo-home-faq__bn {
    margin: 0;
    color: #526d82;
    font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

.boyodo-page-home .boyodo-home-faq__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.boyodo-page-home .boyodo-home-faq details {
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid #dcebf1;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
}

.boyodo-page-home .boyodo-home-faq summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #173652;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    list-style: none;
}

.boyodo-page-home .boyodo-home-faq summary::-webkit-details-marker {
    display: none;
}

.boyodo-page-home .boyodo-home-faq summary i {
    color: #087b85;
    font-size: 11px;
    transition: transform .2s ease;
}

.boyodo-page-home .boyodo-home-faq details[open] summary i {
    transform: rotate(180deg);
}

.boyodo-page-home .boyodo-home-faq details p {
    margin: 8px 0 0;
    color: #526d82;
    font-size: 12px;
    line-height: 1.6;
}

.boyodo-page-home .boyodo-home-faq details p[lang="bn"] {
    font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif;
}

.boyodo-page-home .bo-qa__item {
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.boyodo-page-home .bo-qa__item:hover {
    transform: translateY(-2px);
    background: #f3f9fd;
    box-shadow: 0 10px 20px -18px rgba(7, 59, 100, .55);
}

/* Homepage lab labels: one focused, bilingual card is easier to scan than a
   dense six-column block, especially for patients using smaller screens. */
.boyodo-page-home .boyodo-home-lab__carousel {
    min-width: 0;
}

.boyodo-page-home .boyodo-home-lab__provider-strip {
    display: flex;
    gap: 8px;
    margin: 0 0 12px;
    padding: 4px 2px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.boyodo-page-home .boyodo-home-lab__provider-strip::-webkit-scrollbar {
    display: none;
}

.boyodo-page-home .boyodo-home-lab__provider-pill {
    display: inline-grid;
    min-width: 112px;
    min-height: 64px;
    flex: 0 0 auto;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    column-gap: 7px;
    padding: 7px 10px;
    border: 1px solid #d5e7ef;
    border-radius: 14px;
    background: rgba(255, 255, 255, .8);
    color: #24455f;
    cursor: pointer;
    scroll-snap-align: center;
    text-align: left;
    transition: border-color .22s ease, background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.boyodo-page-home .boyodo-home-lab__provider-pill:hover {
    border-color: #74c8c2;
    background: #fff;
    box-shadow: 0 10px 20px -17px rgba(7, 76, 112, .75);
    transform: translateY(-1px);
}

.boyodo-page-home .boyodo-home-lab__provider-pill.is-active {
    border-color: #087b85;
    background: linear-gradient(140deg, #effcfb 0%, #fff 100%);
    box-shadow: 0 10px 24px -18px rgba(8, 123, 133, .8), inset 0 0 0 1px rgba(8, 123, 133, .1);
}

.boyodo-page-home .boyodo-home-lab__provider-pill:focus-visible {
    outline: 3px solid rgba(7, 95, 230, .22);
    outline-offset: 2px;
}

.boyodo-page-home .boyodo-home-lab__provider-pill-logo {
    display: grid;
    width: 34px;
    height: 30px;
    place-items: center;
    grid-row: 1 / span 2;
    overflow: hidden;
    border: 1px solid #e3edf2;
    border-radius: 8px;
    background: #fff;
    color: #087b85;
    font-size: 14px;
}

.boyodo-page-home .boyodo-home-lab__provider-pill-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.boyodo-page-home .boyodo-home-lab__provider-pill-name {
    min-width: 0;
    overflow: hidden;
    color: #173652;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boyodo-page-home .boyodo-home-lab__provider-pill-discount {
    color: #087c69;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.boyodo-page-home .boyodo-home-lab__slides {
    position: relative;
    min-height: 228px;
}

.boyodo-page-home .boyodo-home-lab__slide {
    display: none;
    min-height: 228px;
    box-sizing: border-box;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border: 1px solid #c9e4ef;
    border-radius: 22px;
    background: linear-gradient(145deg, #fff 0%, #f8fcff 56%, #eafaf6 100%);
    color: #102e4a;
    text-decoration: none;
    box-shadow: 0 16px 34px -28px rgba(7, 59, 100, .62);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.boyodo-page-home .boyodo-home-lab__slide.is-active {
    display: flex;
    animation: boyodo-lab-slide-in .3s ease both;
}

.boyodo-page-home .boyodo-home-lab__slide:hover {
    border-color: #55bcb3;
    box-shadow: 0 20px 38px -27px rgba(7, 76, 112, .72);
    transform: translateY(-2px);
    color: #102e4a;
}

.boyodo-page-home .boyodo-home-lab__slide-logo,
.boyodo-page-home .boyodo-home-lab__slide-icon {
    display: grid;
    width: 116px;
    height: 84px;
    flex: 0 0 116px;
    place-items: center;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #e1edf2;
    border-radius: 16px;
    background: #fff;
}

.boyodo-page-home .boyodo-home-lab__slide-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.boyodo-page-home .boyodo-home-lab__slide-icon {
    color: #087b85;
    font-size: 28px;
}

.boyodo-page-home .boyodo-home-lab__slide-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.boyodo-page-home .boyodo-home-lab__slide-kicker {
    color: #087b85;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.boyodo-page-home .boyodo-home-lab__slide-copy strong {
    color: #102e4a;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 800;
    line-height: 1.18;
}

.boyodo-page-home .boyodo-home-lab__slide-bn {
    color: #526d82;
    font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.boyodo-page-home .boyodo-home-lab__slide-discount {
    color: #087c69;
    font-size: 12px;
    font-weight: 800;
}

.boyodo-page-home .boyodo-home-lab__slide-discount i {
    margin-right: 3px;
}

.boyodo-page-home .boyodo-home-lab__slide-cta {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 13px;
    background: linear-gradient(135deg, #075fe6, #0b4cb2);
    box-shadow: 0 10px 22px -17px rgba(7, 76, 178, .85);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.boyodo-page-home .boyodo-home-lab__carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.boyodo-page-home .boyodo-home-lab__carousel-controls > button {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid #cae1eb;
    border-radius: 50%;
    background: #fff;
    color: #087b85;
    cursor: pointer;
}

.boyodo-page-home .boyodo-home-lab__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.boyodo-page-home .boyodo-home-lab__dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b9d5de;
    cursor: pointer;
}

.boyodo-page-home .boyodo-home-lab__dots button.is-active {
    width: 24px;
    border-radius: 999px;
    background: #087b85;
}

@keyframes boyodo-lab-slide-in {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 767px) {
    /* Pin the full-width legacy blocks to the viewport edge. Without these
       explicit offsets some mobile engines retain a stale centered position
       after the vertical scrollbar is introduced. */
    .boyodo-page > nav.boyodo-site-nav,
    .boyodo-page > .main_content {
        left: 0 !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
    }

    .boyodo-page > nav.boyodo-site-nav {
        box-sizing: border-box !important;
        width: 100% !important;
        padding-inline: 12px !important;
    }

    .boyodo-page > nav.boyodo-site-nav .boyodo-brand-link {
        flex: 0 0 46px !important;
        width: 46px !important;
        max-width: 46px !important;
        min-width: 46px !important;
        gap: 0 !important;
        overflow: visible !important;
    }

    .boyodo-page > nav.boyodo-site-nav .boyodo-logo-picture,
    .boyodo-page > nav.boyodo-site-nav .boyodo-logo {
        width: 46px !important;
        height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;
    }

    .boyodo-page > nav.boyodo-site-nav .boyodo-logo {
        object-fit: contain !important;
    }

    .boyodo-page > nav.boyodo-site-nav .boyodo-wordmark {
        display: none !important;
    }

    .boyodo-page-home .boyodo-discovery {
        margin-block: 22px 30px;
        padding: 16px 12px;
        border-radius: 20px;
    }

    .boyodo-page-home .boyodo-discovery-heading h2 {
        font-size: 20px;
    }

    .boyodo-page-home .boyodo-discovery-heading p {
        font-size: 13px;
    }

    .boyodo-page-home .boyodo-home-faq {
        margin-block: 16px 30px;
        padding: 16px 12px;
        border-radius: 20px;
    }

    .boyodo-page-home .boyodo-home-faq .boyodo-market-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .boyodo-page-home .boyodo-home-faq__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .boyodo-page-labs .lab-hero-actions {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .boyodo-page-labs .lab-hero-actions a {
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 6px 4px !important;
        gap: 4px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .boyodo-page-labs .lab-search {
        grid-template-columns: minmax(0, 1fr) 100px !important;
        gap: 8px !important;
        margin-top: 16px !important;
    }

    .boyodo-page-labs .lab-search > .byd-search-field:first-child {
        grid-column: 1 / -1 !important;
    }

    .boyodo-page-labs .lab-search > .byd-search-field:nth-child(2) {
        grid-column: 1 !important;
        min-width: 0 !important;
    }

    .boyodo-page-labs .lab-search > .byd-search-action {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding-inline: 6px !important;
        font-size: 13px !important;
    }

    .boyodo-page-home .bo-qa__item:hover {
        transform: none;
        box-shadow: none;
    }

    .boyodo-page-home .boyodo-home-lab__slides {
        min-height: 250px;
    }

    .boyodo-page-home .boyodo-home-lab__slide {
        min-height: 250px;
        flex-wrap: wrap;
        align-content: center;
        gap: 13px;
        padding: 18px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-logo,
    .boyodo-page-home .boyodo-home-lab__slide-icon {
        width: 78px;
        height: 62px;
        flex-basis: 78px;
        padding: 7px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-copy strong {
        font-size: 18px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-bn {
        font-size: 13px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-cta {
        width: 100%;
        justify-content: center;
    }

    .boyodo-page-home .boyodo-home-lab__provider-strip {
        margin-inline: -2px;
        padding-inline: 2px;
    }

    .boyodo-page-home .boyodo-home-lab__provider-pill {
        min-width: 126px;
    }
}

@media (max-width: 380px) {
    .boyodo-page-labs .lab-search {
        grid-template-columns: minmax(0, 1fr) 88px !important;
    }

    .boyodo-page-labs .lab-hero-actions a {
        font-size: 10px !important;
    }
}

@media (max-width: 374px) {
    .boyodo-page-labs .lab-hero-trust {
        display: none !important;
    }

    .boyodo-page-labs .lab-hero-actions,
    .boyodo-page-labs .lab-search {
        margin-top: 10px !important;
    }
}

/* Reference card treatment for compact phone screens. The slide keeps the
   logo prominent, stacks the bilingual copy beside it, and gives the booking
   action the full-width tap target shown in the mobile design reference. */
@media (max-width: 767px) {
    .boyodo-page-home .boyodo-home-lab__slides {
        min-height: 238px;
    }

    .boyodo-page-home .boyodo-home-lab__slide,
    .boyodo-page-home .boyodo-home-lab__slide.is-active {
        min-height: 238px;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 10px 14px;
        padding: 18px;
        border-radius: 22px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-logo,
    .boyodo-page-home .boyodo-home-lab__slide-icon {
        width: 112px;
        height: 100px;
        flex-basis: 112px;
        padding: 10px;
        border-radius: 17px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-copy strong {
        font-size: clamp(19px, 5.5vw, 24px);
        line-height: 1.12;
    }

    .boyodo-page-home .boyodo-home-lab__slide-bn {
        font-size: 13px;
        line-height: 1.35;
    }

    .boyodo-page-home .boyodo-home-lab__slide-discount {
        font-size: 12px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-cta {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
        justify-content: center;
        border-radius: 15px;
        font-size: 14px;
    }
}

/* The lab catalogue uses two generous cards on phones: a real provider logo
   first, then the English/Bengali label copy and discount. This avoids the
   tiny horizontal logo treatment that was difficult to scan and tap. */
@media (max-width: 760px) {
    .boyodo-provider-strip-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        padding: 2px 0 8px;
    }

    .boyodo-provider-strip-card {
        display: flex;
        min-width: 0;
        min-height: 214px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border-radius: 19px;
    }

    .boyodo-provider-strip-logo {
        display: grid;
        width: 100%;
        height: 86px;
        flex: 0 0 86px;
        place-items: center;
        padding: 9px;
        overflow: hidden;
        border: 1px solid #e0edf4;
        border-radius: 14px;
        background: #fff;
    }

    .boyodo-provider-strip-logo img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 68px;
        object-fit: contain;
    }

    .boyodo-provider-strip-copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 2px;
    }

    .boyodo-provider-strip-card strong {
        font-size: .82rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .boyodo-provider-strip-card small {
        font-size: .68rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .boyodo-provider-strip-card b {
        align-self: flex-start;
        margin: auto 0 0;
        font-size: .65rem;
    }

    .boyodo-provider-strip-card > i:last-child {
        position: absolute;
        top: 12px;
        right: 12px;
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boyodo-page-home .boyodo-home-lab__slide-cta {
        animation: none;
    }
}

/* UI release 2026-09-24 responsive-card-2. The legacy homepage stylesheet has a
   higher-specificity compact-tile rule that constrains the CTA span to the
   artwork size. Keep the visible landing-page cards readable at every width,
   while preserving the two-column mobile specialty grid. */
.boyodo-page.boyodo-page-home .boyodo-speciality-card button {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    justify-items: stretch !important;
    min-height: 206px !important;
    gap: 8px !important;
    padding: 16px !important;
    text-align: left !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-art {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
    margin: 0 !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-art img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card strong {
    min-height: 2.5em !important;
    text-align: left !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-card__bn {
    width: 100% !important;
    min-height: 2.4em !important;
    text-align: left !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-card__cta {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: auto 0 0 !important;
    padding-top: 9px !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
}
.boyodo-page.boyodo-page-home .bo-doc {
    min-width: 0 !important;
    overflow: hidden !important;
}
.boyodo-page.boyodo-page-home .bo-doc__body,
.boyodo-page.boyodo-page-home .bo-doc__name,
.boyodo-page.boyodo-page-home .bo-doc__name a {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}
.boyodo-page.boyodo-page-home .bo-doc__foot {
    min-width: 0 !important;
    flex-wrap: wrap !important;
}
@media (max-width: 767px) {
    .boyodo-page.boyodo-page-home .boyodo-speciality-card button {
        min-height: 190px !important;
        padding: 13px !important;
        border-radius: 18px !important;
    }
    .boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-art {
        width: 60px !important;
        height: 60px !important;
        flex-basis: 60px !important;
    }
    .boyodo-page.boyodo-page-home .boyodo-speciality-card strong { font-size: 12px !important; }
    .boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-card__bn { font-size: 10px !important; }
    .boyodo-page.boyodo-page-home .bo-doc__foot { gap: 8px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .boyodo-page.boyodo-page-home .boyodo-speciality-card button { transition: none !important; transform: none !important; }
}

/* Chamber directory repair: cards previously inherited the legacy
   three-column (logo / copy / action) grid.  Long facility names then left
   the copy column only a few pixels wide, causing wrapped text and an
   overlapping View doctors link.  Keep the copy readable and place the CTA
   on its own row at every breakpoint. */
.boyodo-page-home .boyodo-chamber-card {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    grid-template-areas:
        "logo copy"
        "action action" !important;
    grid-template-rows: auto auto !important;
    align-items: start !important;
    gap: 14px 16px !important;
    min-width: 0 !important;
    overflow: hidden;
}
.boyodo-page-home .boyodo-chamber-card > .boyodo-chamber-logo,
.boyodo-page-home .boyodo-chamber-card > i {
    grid-area: logo !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 0 !important;
    margin: 0 !important;
}
.boyodo-page-home .boyodo-chamber-card > div {
    grid-area: copy !important;
    min-width: 0 !important;
    width: auto !important;
}
.boyodo-page-home .boyodo-chamber-card > div h3,
.boyodo-page-home .boyodo-chamber-card > div p {
    min-width: 0;
    overflow-wrap: anywhere;
}
.boyodo-page-home .boyodo-chamber-card > a {
    grid-area: action !important;
    display: inline-flex !important;
    width: 100% !important;
    min-height: 42px !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    box-sizing: border-box;
    text-align: center;
}
@media (max-width: 767px) {
    .boyodo-page-home .boyodo-chamber-card {
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 14px !important;
    }
    .boyodo-page-home .boyodo-chamber-card > .boyodo-chamber-logo,
    .boyodo-page-home .boyodo-chamber-card > i {
        width: 56px !important;
        height: 56px !important;
    }
}

/* Compact lab carousel on phones: keep the card close to the reference size,
   while preserving a large, legible provider logo and a full-width 44px CTA. */
.boyodo-page-home .boyodo-home-lab__slide-cta {
    background-size: 180% 180%;
    animation: boyodo-lab-cta-shimmer 4.5s ease-in-out infinite alternate;
}

@keyframes boyodo-lab-cta-shimmer {
    from { background-position: 0% 50%; box-shadow: 0 10px 22px -17px rgba(7, 76, 178, .85); }
    to { background-position: 100% 50%; box-shadow: 0 13px 25px -15px rgba(7, 145, 133, .7); }
}

@media (max-width: 767px) {
    .boyodo-page-home .boyodo-home-lab__slides {
        min-height: 184px;
    }

    .boyodo-page-home .boyodo-home-lab__slide {
        display: none;
        min-height: 184px;
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 12px;
        padding: 14px;
    }

    .boyodo-page-home .boyodo-home-lab__slide.is-active {
        display: grid;
    }

    .boyodo-page-home .boyodo-home-lab__slide-logo,
    .boyodo-page-home .boyodo-home-lab__slide-icon {
        width: 88px;
        height: 72px;
        flex-basis: 88px;
        padding: 7px;
        border-radius: 15px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-copy strong {
        font-size: clamp(17px, 5.2vw, 21px);
        line-height: 1.1;
    }

    .boyodo-page-home .boyodo-home-lab__slide-bn {
        font-size: 12px;
        line-height: 1.3;
    }

    .boyodo-page-home .boyodo-home-lab__slide-discount {
        font-size: 11px;
    }

    .boyodo-page-home .boyodo-home-lab__slide-cta {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }

    .boyodo-page-home .boyodo-home-lab__provider-pill {
        min-height: 74px;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .boyodo-page-home .boyodo-home-lab__provider-pill-logo {
        width: 52px;
        height: 40px;
        border-radius: 10px;
    }

    .boyodo-page-home .boyodo-home-lab__provider-pill-name {
        font-size: 10px;
    }

    .boyodo-page-home .boyodo-home-lab__provider-pill-discount {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boyodo-page-home .boyodo-home-lab__slide-cta {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boyodo-page-home .boyodo-home-lab__panel {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boyodo-page-home .bo-qa__item {
        transition: none !important;
    }

    .boyodo-page-home .bo-qa__item:hover {
        transform: none;
    }

    .boyodo-page-home .boyodo-home-lab__slide.is-active {
        animation: none;
    }

    .boyodo-page-home .boyodo-home-lab__provider-pill {
        transition: none;
    }
}

/* Premium mobile-first landing pass. The legacy stylesheet contains several
   horizontal rails; these scoped rules turn the homepage's repeated care
   choices into stable grids so cards never leak into the page viewport. */
.boyodo-page-home {
    overflow-x: clip;
}

/* Doctor discovery is the primary home action. The lab carousel follows it as
   a single, clearly separated secondary booking path. The view currently
   keeps both entry points in the same content wrapper, so ordering here avoids
   duplicating either flow or changing their server-side data contracts. */
.boyodo-page-home .main_content {
    display: flex;
    flex-direction: column;
}

.boyodo-page-home .main_content > .boyodo-hero { order: 1; }
.boyodo-page-home .main_content > .boyodo-home-lab { order: 2; }
.boyodo-page-home .main_content > .boyodo-home-faq { order: 3; }

.boyodo-page-home .boyodo-home-lab__panel {
    background-size: 180% 180%;
    animation: boyodo-lab-gradient 16s ease-in-out infinite alternate;
}

@keyframes boyodo-lab-gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.boyodo-page-home .boyodo-home-lab__provider-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
}

.boyodo-page-home .boyodo-home-lab__provider-pill {
    min-width: 0;
    width: 100%;
    min-height: 70px;
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 8px 9px;
}

.boyodo-page-home .boyodo-home-lab__provider-pill-logo {
    width: 38px;
    height: 32px;
}

.boyodo-page-home .boyodo-home-lab__provider-pill-name {
    white-space: normal;
    overflow-wrap: anywhere;
}

.boyodo-page-home .boyodo-home-lab__provider-pill-discount {
    white-space: normal;
}

.boyodo-page-home .boyodo-home-lab__slide {
    min-width: 0;
}

.boyodo-page-home .boyodo-speciality-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 14px;
    overflow: visible;
    padding: 2px 1px 8px;
}

.boyodo-page-home .bo-doc-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 14px;
    overflow: visible;
}

.boyodo-page-home .boyodo-chamber-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 14px;
}

.boyodo-page-home .boyodo-speciality-card {
    min-width: 0;
}

.boyodo-page-home .boyodo-speciality-card button {
    display: flex;
    width: 100%;
    min-height: 182px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 14px;
    border: 1px solid #d9e8f2;
    border-radius: 22px;
    background: linear-gradient(150deg, #ffffff 0%, #f8fcff 100%);
    color: #102e4a;
    text-align: left;
    box-shadow: 0 12px 30px -26px rgba(7, 59, 100, .78);
}

.boyodo-page-home .boyodo-speciality-card button:hover {
    border-color: #70c7c2;
    background: linear-gradient(150deg, #ffffff 0%, #effbf8 100%);
    box-shadow: 0 18px 30px -24px rgba(7, 76, 112, .72);
    transform: translateY(-3px);
}

.boyodo-page-home .boyodo-speciality-art {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0;
    flex: 0 0 68px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #d9e8f2;
    border-radius: 19px;
    background: linear-gradient(145deg, #eef7ff, #e9fbf6);
    background-image: none !important;
}

.boyodo-page-home .boyodo-speciality-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 17px;
}

.boyodo-page-home .boyodo-speciality-art i {
    color: #075fe6;
    font-size: 24px;
}

.boyodo-page-home .boyodo-speciality-card strong {
    display: block;
    min-height: 2.5em;
    color: #102e4a;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    line-height: 1.25;
}

.boyodo-page-home .boyodo-speciality-card__bn {
    display: block;
    min-height: 2.4em;
    overflow: hidden;
    color: #6a8093;
    font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif;
    font-size: 11px;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.boyodo-page-home .boyodo-speciality-card__cta {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px solid #e5eef3;
    color: #075fe6;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .boyodo-page-home .boyodo-speciality-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .boyodo-page-home .bo-doc-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .boyodo-page-home .boyodo-chamber-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .boyodo-page-home .boyodo-home-lab {
        margin-inline: 0;
        padding-inline: 12px;
    }

    .boyodo-page-home .boyodo-home-lab__panel {
        padding: 18px 14px;
    }

    .boyodo-page-home .boyodo-home-lab__bn {
        font-size: 14px;
        line-height: 1.55;
    }

    .boyodo-page-home .boyodo-home-lab__detail {
        font-size: 12px;
    }

    .boyodo-page-home .boyodo-home-lab__provider-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .boyodo-page-home .boyodo-home-lab__provider-pill {
        min-height: 66px;
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 7px;
        border-radius: 15px;
    }

    .boyodo-page-home .boyodo-home-lab__provider-pill-logo {
        width: 34px;
        height: 29px;
    }

    .boyodo-page-home .boyodo-speciality-rail {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-inline: 0 !important;
        padding: 2px 1px 6px !important;
        overflow: visible !important;
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
    }

    .boyodo-page-home .boyodo-speciality-card {
        width: auto !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }

    .boyodo-page-home .bo-doc-list,
    .boyodo-page-home .boyodo-chamber-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        margin-inline: 0 !important;
        padding: 2px 1px 8px !important;
        overflow: visible !important;
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
    }

    .boyodo-page-home .bo-doctor-showcase .bo-doc-list {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-flow: row !important;
        grid-auto-columns: auto !important;
        margin-inline: 0 !important;
        padding: 2px 1px 8px !important;
        overflow: visible !important;
    }

    .boyodo-page-home .bo-doc,
    .boyodo-page-home .boyodo-chamber-card {
        width: auto !important;
        min-width: 0 !important;
        flex: 0 1 auto !important;
    }

    .boyodo-page-home .boyodo-speciality-card button {
        min-height: 166px;
        padding: 12px;
        border-radius: 19px;
    }

    .boyodo-page-home .boyodo-speciality-art {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 17px;
    }

    .boyodo-page-home .boyodo-speciality-card strong {
        font-size: 12px;
    }

    .boyodo-page-home .boyodo-speciality-card__bn {
        font-size: 10px;
    }
}

@media (max-width: 374px) {
    .boyodo-page-home .boyodo-home-lab__provider-pill-name,
    .boyodo-page-home .boyodo-home-lab__provider-pill-discount {
        font-size: 9px;
    }

    .boyodo-page-home .boyodo-speciality-card button {
        padding-inline: 9px;
    }
}
/* Bilingual patient-facing labels: keep the English doctor name primary and
   place the Bengali name on its own readable line below it. */
.bo-doctor-name-pair{display:flex;flex-direction:column;gap:2px;min-width:0}
.bo-doctor-name-pair__english{display:block;color:inherit}
.bo-doctor-name-pair__bengali{display:block;color:#087d74;font-family:"Noto Sans Bengali","Nirmala UI",sans-serif;font-size:.9em;font-weight:600;line-height:1.45;white-space:normal}
.boyodo-how__bn{margin:4px 0 0;color:#087d74;font-family:"Noto Sans Bengali","Nirmala UI",sans-serif;font-size:15px;line-height:1.55}
.boyodo-how-step small{display:block;color:#087d74;font-family:"Noto Sans Bengali","Nirmala UI",sans-serif;font-size:13px;line-height:1.55}
@media(max-width:600px){.bo-doctor-name-pair__bengali{font-size:.86em}.boyodo-how__bn{font-size:14px}.boyodo-how-step small{font-size:14px}}

/* Homepage lab entry: keep it as a compact, secondary carousel. The full
   catalogue and all booking choices live on /all-labs; this teaser must not
   push the doctor search below the fold on a phone. */
.boyodo-page-home .boyodo-home-lab-mini {
    width: min(100%, 1180px);
    margin: 0 auto 22px;
    padding-inline: clamp(12px, 2.2vw, 28px);
    box-sizing: border-box;
}
.boyodo-page-home .boyodo-home-lab-mini__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 16px;
    padding: 0 2px;
}
.boyodo-page-home .boyodo-home-lab-mini__heading-copy { min-width: 0; }
.boyodo-page-home .boyodo-home-lab-mini__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #087b85;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
}
.boyodo-page-home .boyodo-home-lab-mini__heading h2 {
    margin: 0;
    color: #102e4a;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(21px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.boyodo-page-home .boyodo-home-lab-mini__heading p {
    margin: 4px 0 0;
    color: #58738a;
    font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif;
    font-size: 14px;
    line-height: 1.45;
}
.boyodo-page-home .boyodo-home-lab-mini__browse {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 12px;
    color: #075fe6;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.boyodo-page-home .boyodo-home-lab-mini__browse:hover { background: #eff8ff; color: #064dbb; }
.boyodo-page-home .boyodo-home-lab-mini__browse:focus-visible { outline: 3px solid rgba(7,95,230,.24); outline-offset: 2px; }
.boyodo-page-home .boyodo-home-lab-mini__carousel {
    min-width: 0;
}
.boyodo-page-home .boyodo-home-lab-mini__slides {
    position: relative;
    min-height: 142px;
}
.boyodo-page-home .boyodo-home-lab-mini__slide {
    display: none;
    min-height: 142px;
    box-sizing: border-box;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    padding: 16px 18px;
    border: 1px solid #c9e7ee;
    border-radius: 22px;
    background: linear-gradient(115deg, #ffffff 0%, #f4fbff 56%, #e8faf4 100%);
    box-shadow: 0 15px 34px -28px rgba(7, 59, 100, .75);
    color: #102e4a;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.boyodo-page-home .boyodo-home-lab-mini__slide.is-active {
    display: flex;
    animation: boyodo-lab-mini-slide-in .28s ease both;
}
.boyodo-page-home .boyodo-home-lab-mini__slide:hover {
    border-color: #55bcb3;
    box-shadow: 0 19px 38px -27px rgba(7, 76, 112, .72);
    color: #102e4a;
    transform: translateY(-2px);
}
.boyodo-page-home .boyodo-home-lab-mini__logo {
    display: grid;
    width: 92px;
    height: 68px;
    flex: 0 0 92px;
    box-sizing: border-box;
    place-items: center;
    padding: 9px;
    border: 1px solid #dbeaf0;
    border-radius: 15px;
    background: #fff;
    color: #087b85;
    font-size: 24px;
}
.boyodo-page-home .boyodo-home-lab-mini__logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}
.boyodo-page-home .boyodo-home-lab-mini__copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.boyodo-page-home .boyodo-home-lab-mini__copy small {
    color: #087b85;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}
.boyodo-page-home .boyodo-home-lab-mini__copy strong {
    color: #102e4a;
    font-family: "Sora", "Plus Jakarta Sans", sans-serif;
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 800;
    line-height: 1.2;
}
.boyodo-page-home .boyodo-home-lab-mini__copy span {
    color: #526d82;
    font-family: "Noto Sans Bengali", "Nirmala UI", sans-serif;
    font-size: 13px;
    line-height: 1.35;
}
.boyodo-page-home .boyodo-home-lab-mini__copy em {
    color: #087c69;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.25;
}
/* Keep the chamber directory and the compact lab teaser visually separate on
   every viewport. Extra breathing room prevents rounded grids from colliding
   when a chamber row grows on a narrow phone. */
.boyodo-page-home .boyodo-home-chambers {
    margin-bottom: clamp(28px, 4vw, 52px);
}
.boyodo-page-home .boyodo-chamber-card > div { min-width: 0; }
.boyodo-page-home .boyodo-chamber-facility {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 6px;
    margin: 7px 0 0;
    color: #087c69;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}
.boyodo-page-home .boyodo-chamber-facility i { color: #0aa98f; }
.boyodo-page-home .boyodo-home-chambers + .bo-doctor-showcase { margin-top: clamp(22px, 4vw, 48px); }
@media (min-width: 1024px) {
    .boyodo-page-home .boyodo-chamber-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .boyodo-page-home .boyodo-home-chambers,
    .boyodo-page-home .boyodo-discovery,
    .boyodo-page-home .boyodo-market-section { min-height: 0; }
}
.boyodo-page-home .boyodo-home-lab-mini {
    clear: both;
    margin-top: clamp(18px, 3vw, 34px);
}
.boyodo-page-home .boyodo-home-lab-mini__cta {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #075fe6, #0b4cb2);
    box-shadow: 0 10px 22px -17px rgba(7, 76, 178, .85);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.boyodo-page-home .boyodo-home-lab-mini__controls {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 7px;
}
.boyodo-page-home .boyodo-home-lab-mini__controls > button {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid #c9e1eb;
    border-radius: 50%;
    background: #fff;
    color: #087b85;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.boyodo-page-home .boyodo-home-lab-mini__controls > button:hover { background: #effcfb; border-color: #55bcb3; transform: translateY(-1px); }
.boyodo-page-home .boyodo-home-lab-mini__controls > button:focus-visible,
.boyodo-page-home .boyodo-home-lab-mini__dots button:focus-visible { outline: 3px solid rgba(7, 95, 230, .24); outline-offset: 2px; }
.boyodo-page-home .boyodo-home-lab-mini__dots { display: flex; align-items: center; gap: 7px; }
.boyodo-page-home .boyodo-home-lab-mini__dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c9dfe7;
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}
.boyodo-page-home .boyodo-home-lab-mini__dots button.is-active { width: 28px; background: #087b85; }
@keyframes boyodo-lab-mini-slide-in { from { opacity: .2; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 520px) {
    .boyodo-page-home .boyodo-home-chambers { margin-bottom: 30px; }
    .boyodo-page-home .boyodo-home-lab-mini { margin-top: 22px; margin-bottom: 14px; padding-inline: 10px; }
    .boyodo-page-home .boyodo-home-lab-mini__heading { align-items: flex-start; gap: 8px; margin-bottom: 12px; }
    .boyodo-page-home .boyodo-home-lab-mini__heading h2 { font-size: 21px; }
    .boyodo-page-home .boyodo-home-lab-mini__heading p { font-size: 13px; }
    .boyodo-page-home .boyodo-home-lab-mini__browse { padding-inline: 7px; font-size: 11px; }
    .boyodo-page-home .boyodo-home-lab-mini__slides,
    .boyodo-page-home .boyodo-home-lab-mini__slide { min-height: 122px; }
    .boyodo-page-home .boyodo-home-lab-mini__slide { gap: 10px; padding: 12px; border-radius: 17px; }
    .boyodo-page-home .boyodo-home-lab-mini__logo { width: 65px; height: 52px; flex-basis: 65px; padding: 6px; border-radius: 11px; }
    .boyodo-page-home .boyodo-home-lab-mini__copy strong { font-size: 15px; }
    .boyodo-page-home .boyodo-home-lab-mini__copy span { font-size: 11px; line-height: 1.25; }
    .boyodo-page-home .boyodo-home-lab-mini__copy em { font-size: 10px; }
    .boyodo-page-home .boyodo-home-lab-mini__cta { min-height: 44px; padding-inline: 10px; font-size: 11px; }
    .boyodo-page-home .boyodo-home-lab-mini__controls { margin-top: 4px; }
}
@media (max-width: 374px) {
    .boyodo-page-home .boyodo-home-lab-mini__slide { gap: 7px; padding-inline: 9px; }
    .boyodo-page-home .boyodo-home-lab-mini__logo { width: 58px; flex-basis: 58px; }
    .boyodo-page-home .boyodo-home-lab-mini__copy strong { font-size: 14px; }
    .boyodo-page-home .boyodo-home-lab-mini__cta { padding-inline: 8px; font-size: 10px; }
}

/* Contain decorative motion and preserve the page width. Intentional rails
   remain independently scrollable; the document itself never drifts wider
   than the viewport. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}
.boyodo-page-home .boyodo-discovery { overflow: clip; }
.boyodo-page-home .boyodo-market-doctor::before,
.boyodo-page-home .boyodo-chamber-card::before {
    top: 8px;
    right: 8px;
}
@media (prefers-reduced-motion: reduce) {
    .boyodo-page-home .boyodo-home-lab-mini__slide,
    .boyodo-page-home .boyodo-home-lab-mini__controls > button,
    .boyodo-page-home .boyodo-home-lab-mini__dots button { animation: none; transition: none; }
}

/* Last in cascade: legacy compact-tile rules must not collapse the CTA to the
   artwork dimensions on the homepage. */
.boyodo-page.boyodo-page-home .boyodo-speciality-card button {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    justify-items: stretch !important;
    min-height: 206px !important;
    gap: 8px !important;
    padding: 16px !important;
    text-align: left !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-art {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
    margin: 0 !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-art img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card strong,
.boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-card__bn {
    width: 100% !important;
    text-align: left !important;
}
.boyodo-page.boyodo-page-home .boyodo-speciality-card strong { min-height: 2.5em !important; }
.boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-card__cta {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: auto 0 0 !important;
    padding-top: 9px !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
}
.boyodo-page.boyodo-page-home .bo-doc,
.boyodo-page.boyodo-page-home .bo-doc__body,
.boyodo-page.boyodo-page-home .bo-doc__name,
.boyodo-page.boyodo-page-home .bo-doc__name a,
.boyodo-page.boyodo-page-home .bo-doc__foot {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}
.boyodo-page.boyodo-page-home .bo-doc { overflow: hidden !important; }
@media (max-width: 767px) {
    .boyodo-page.boyodo-page-home .boyodo-speciality-card button {
        min-height: 190px !important;
        padding: 13px !important;
        border-radius: 18px !important;
    }
    .boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-art {
        width: 60px !important;
        height: 60px !important;
        flex-basis: 60px !important;
    }
    .boyodo-page.boyodo-page-home .boyodo-speciality-card strong { font-size: 12px !important; }
    .boyodo-page.boyodo-page-home .boyodo-speciality-card .boyodo-speciality-card__bn { font-size: 10px !important; }
}
