.btcl-wrap,
.btcl-wrap * {
    box-sizing: border-box;
}

.btcl-wrap {
    --btcl-accent: var(--wd-primary-color, #21483c);
    --btcl-accent-dark: #17372e;
    --btcl-ink: var(--wd-title-color, var(--color-gray-900, #18231f));
    --btcl-muted: var(--color-gray-600, #68716d);
    --btcl-border: rgba(24, 35, 31, .11);
    --btcl-border-strong: rgba(33, 72, 60, .24);
    --btcl-surface: #f7f4ee;
    --btcl-surface-soft: #fbfaf7;
    margin-block: clamp(34px, 4.5vw, 70px);
    color: var(--btcl-ink);
    font-family: var(--wd-text-font, inherit);
}

.btcl-head {
    max-width: 820px;
    margin-bottom: clamp(22px, 3vw, 34px);
}

.btcl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--btcl-accent);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.btcl-kicker:before {
    width: 26px;
    height: 1px;
    border-radius: 99px;
    background: currentColor;
    content: "";
}

.btcl-head-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.btcl-title {
    margin: 0;
    color: var(--btcl-ink);
    font-family: var(--wd-title-font, inherit);
    font-size: clamp(30px, 3.1vw, 48px);
    font-weight: var(--wd-title-font-weight, 700);
    line-height: 1.04;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.btcl-subtitle {
    max-width: 760px;
    margin: 0;
    color: var(--btcl-muted);
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.65;
}

.btcl-grid {
    display: grid;
    grid-template-columns: repeat(var(--btcl-columns, 3), minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 22px);
}

.btcl-card {
    --btcl-card-tint: #f5f1e9;
    --btcl-card-accent: var(--btcl-accent);
    position: relative;
    display: flex;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid var(--btcl-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .96), transparent 30%),
        linear-gradient(145deg, #fff 0%, var(--btcl-card-tint) 100%);
    box-shadow: 0 12px 34px rgba(21, 40, 33, .06);
    isolation: isolate;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.btcl-card:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    height: 2px;
    background: var(--btcl-card-accent);
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transform-origin: left center;
    transition: opacity .28s ease, transform .5s cubic-bezier(.2, .7, .25, 1);
}

.btcl-card:hover {
    border-color: var(--btcl-border-strong);
    box-shadow: 0 20px 50px rgba(21, 40, 33, .10);
    transform: translateY(-4px);
}

.btcl-card:hover:before {
    opacity: 1;
    transform: scaleX(1);
}

.btcl-card--medical {
    --btcl-card-tint: #edf5f5;
    --btcl-card-accent: #527f83;
    background:
        radial-gradient(circle at 82% 42%, rgba(82, 127, 131, .11), transparent 39%),
        linear-gradient(135deg, #fff 0%, var(--btcl-card-tint) 100%);
}

.btcl-card-link,
.btcl-sub-card-link {
    position: absolute;
    inset: 0;
    z-index: 5;
    text-decoration: none !important;
}

.btcl-card-media {
    position: absolute;
    top: 18px;
    right: 18px;
    bottom: 18px;
    left: auto;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43%;
    padding: 18px 14px;
    overflow: hidden;
    border: 1px solid rgba(24, 35, 31, .07);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .64) 38%, transparent 70%),
        linear-gradient(155deg, rgba(241, 237, 227, .92), rgba(255, 255, 255, .94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px rgba(21, 40, 33, .055);
}

.btcl-card-media:before {
    position: absolute;
    right: -20%;
    bottom: -36%;
    width: 135%;
    aspect-ratio: 1;
    border: 1px solid rgba(33, 72, 60, .08);
    border-radius: 50%;
    background: rgba(255, 255, 255, .32);
    content: "";
}

.btcl-card-media:after {
    position: absolute;
    right: -8%;
    bottom: 7%;
    left: 8%;
    z-index: 0;
    height: 18px;
    border-radius: 50%;
    background: rgba(21, 40, 33, .07);
    filter: blur(8px);
    content: "";
}

.btcl-card-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 96%;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 17px 22px rgba(20, 34, 29, .14));
    transition: transform .55s cubic-bezier(.2, .7, .25, 1);
}

.btcl-card:hover .btcl-card-media img {
    transform: translateY(-4px) scale(1.055);
}

.btcl-placeholder {
    width: 74px;
    height: 74px;
    border: 1px solid var(--btcl-border);
    border-radius: 22px;
    background: linear-gradient(135deg, var(--btcl-surface), #fff);
}

.btcl-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 320px;
    padding: 24px;
}

.btcl-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 38px;
    color: var(--btcl-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.btcl-count-empty {
    display: block;
}

.btcl-arrow {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(24, 35, 31, .07);
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 6px 18px rgba(21, 40, 33, .08);
    color: var(--btcl-ink);
    font-size: 16px;
    line-height: 1;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.btcl-card:hover .btcl-arrow {
    border-color: var(--btcl-card-accent);
    background: var(--btcl-card-accent);
    color: #fff;
    transform: translateX(2px);
}

.btcl-card-bottom {
    max-width: 55%;
    margin-top: auto;
}

.btcl-card-title {
    margin: 0 0 13px;
    color: var(--btcl-ink);
    font-family: var(--wd-title-font, inherit);
    font-size: clamp(21px, 1.65vw, 28px);
    font-weight: var(--wd-title-font-weight, 700);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.btcl-child-pills {
    position: relative;
    z-index: 8;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 100%;
    margin-top: 7px;
}

.btcl-child-pills a {
    position: relative;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 6px 9px;
    border: 1px solid rgba(24, 35, 31, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: var(--btcl-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.btcl-child-pills a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btcl-child-pills a em {
    display: inline-grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(24, 35, 31, .055);
    color: inherit;
    font-size: 9px;
    font-style: normal;
    line-height: 1;
}

.btcl-child-pills a:hover {
    border-color: var(--btcl-accent);
    background: var(--btcl-accent);
    color: #fff;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.btcl-sub-sections {
    display: grid;
    gap: clamp(18px, 2.7vw, 30px);
    margin-top: clamp(24px, 3.5vw, 38px);
}

.btcl-sub-section {
    padding: clamp(18px, 2.2vw, 26px);
    border: 1px solid var(--btcl-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 96% 0%, rgba(33, 72, 60, .035), transparent 25%),
        linear-gradient(180deg, #fff 0%, var(--btcl-surface-soft) 100%);
    box-shadow: 0 12px 36px rgba(21, 40, 33, .05);
}

.btcl-sub-section--medical {
    background: linear-gradient(180deg, #fff 0%, #f3f8f8 100%);
}

.btcl-sub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--btcl-border);
}

.btcl-sub-head h3 {
    margin: 0;
    font-family: var(--wd-title-font, inherit);
    font-size: clamp(19px, 1.4vw, 25px);
    font-weight: var(--wd-title-font-weight, 700);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.btcl-sub-head h3 a {
    color: var(--btcl-ink);
    text-decoration: none !important;
}

.btcl-sub-head span {
    display: inline-flex;
    margin-top: 5px;
    color: var(--btcl-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.btcl-sub-head > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 14px;
    border: 1px solid var(--btcl-border);
    border-radius: 999px;
    background: #fff;
    color: var(--btcl-ink);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.btcl-sub-head > a:hover {
    border-color: var(--btcl-accent);
    background: var(--btcl-accent);
    color: #fff;
    transform: translateY(-1px);
}

.btcl-sub-grid {
    display: grid;
    grid-template-columns: repeat(var(--btcl-sub-columns, 4), minmax(0, 1fr));
    gap: 14px;
}

.btcl-sub-card {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 142px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--btcl-border);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(250, 248, 243, .96));
    box-shadow: 0 5px 18px rgba(21, 40, 33, .035);
    transition: transform .23s ease, box-shadow .23s ease, border-color .23s ease;
}

.btcl-sub-card:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--btcl-accent), transparent);
    content: "";
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity .25s ease, transform .4s cubic-bezier(.2, .7, .25, 1);
}

.btcl-sub-card:hover {
    border-color: var(--btcl-border-strong);
    box-shadow: 0 16px 34px rgba(21, 40, 33, .09);
    transform: translateY(-4px);
}

.btcl-sub-card:hover:before {
    opacity: .75;
    transform: scaleX(1);
}

.btcl-sub-card-image {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 43%;
    width: 43%;
    min-height: 140px;
    overflow: hidden;
    border: 0;
    border-right: 1px solid rgba(24, 35, 31, .055);
    border-radius: 17px 0 0 17px;
    background:
        radial-gradient(circle at 50% 42%, #fff 0%, rgba(255, 255, 255, .75) 40%, transparent 74%),
        linear-gradient(145deg, #f1eee6, #faf9f6);
}

.btcl-sub-card-image:after {
    position: absolute;
    right: 7%;
    bottom: 10%;
    left: 7%;
    height: 14px;
    border-radius: 50%;
    background: rgba(21, 40, 33, .065);
    content: "";
    filter: blur(7px);
}

.btcl-sub-card-image img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 116px;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(21, 40, 33, .12));
    transition: transform .42s cubic-bezier(.2, .7, .25, 1);
}

.btcl-sub-card:hover .btcl-sub-card-image img {
    transform: translateY(-2px) scale(1.07);
}

.btcl-sub-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 20px 38px 20px 16px;
}

.btcl-sub-card-content h4 {
    margin: 0;
    color: var(--btcl-ink);
    font-family: var(--wd-title-font, inherit);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: var(--wd-title-font-weight, 700);
    line-height: 1.28;
    letter-spacing: -.015em;
}

.btcl-sub-card-content span {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 9px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(33, 72, 60, .065);
    color: var(--btcl-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.btcl-sub-card-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(24, 35, 31, .08);
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    color: var(--btcl-ink);
    font-size: 13px;
    line-height: 1;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.btcl-sub-card:hover .btcl-sub-card-arrow {
    border-color: var(--btcl-accent);
    background: var(--btcl-accent);
    color: #fff;
    transform: translateX(2px);
}

.btcl-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(22px, 3vw, 30px);
}

.btcl-dir-block {
    padding: 17px;
    border: 1px solid var(--btcl-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(21, 40, 33, .035);
}

.btcl-dir-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--btcl-border);
    font-weight: 700;
    line-height: 1.2;
}

.btcl-dir-title a {
    color: var(--btcl-ink);
    text-decoration: none !important;
}

.btcl-dir-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    border-radius: 99px;
    background: var(--btcl-surface);
    color: var(--btcl-muted);
    font-size: 11px;
}

.btcl-dir-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.btcl-dir-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border-radius: 9px;
    background: var(--btcl-surface-soft);
    color: var(--btcl-muted);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .18s ease, background-color .18s ease;
}

.btcl-dir-links a:hover {
    background: var(--btcl-accent);
    color: #fff;
}

.btcl-dir-links em {
    font-size: 10px;
    font-style: normal;
    opacity: .7;
}

.btcl-hide-count .btcl-dir-title {
    justify-content: flex-start;
}

.btcl-footer {
    display: flex;
    justify-content: center;
    margin-top: clamp(28px, 4vw, 46px);
}

.btcl-main-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--btcl-accent);
    border-radius: 999px;
    background: var(--btcl-accent);
    box-shadow: 0 12px 26px rgba(33, 72, 60, .19);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.btcl-main-link svg {
    width: 17px;
    height: 17px;
    transition: transform .22s ease;
}

.btcl-main-link:hover {
    background: var(--btcl-accent-dark);
    box-shadow: 0 16px 32px rgba(33, 72, 60, .26);
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

.btcl-main-link:hover svg {
    transform: translateX(3px);
}

.btcl-main-link:focus-visible,
.btcl-card-link:focus-visible,
.btcl-sub-card-link:focus-visible,
.btcl-child-pills a:focus-visible,
.btcl-sub-head a:focus-visible,
.btcl-dir-links a:focus-visible {
    outline: 2px solid var(--btcl-accent);
    outline-offset: 3px;
}

.btcl-style-clean .btcl-card,
.btcl-style-clean .btcl-sub-section,
.btcl-style-clean .btcl-sub-card {
    box-shadow: none;
}

.btcl-style-clean .btcl-card-media {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.btcl-style-compact .btcl-card,
.btcl-style-compact .btcl-card-body {
    min-height: 270px;
}

.btcl-style-compact .btcl-sub-card {
    min-height: 116px;
}

.btcl-style-compact .btcl-sub-card-image {
    width: 38%;
    min-height: 114px;
    flex-basis: 38%;
}

@media (max-width: 1199px) {
    .btcl-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .btcl-sub-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .btcl-grid,
    .btcl-sub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .btcl-directory {
        grid-template-columns: 1fr;
    }

    .btcl-card,
    .btcl-card-body {
        min-height: 300px;
    }
}

@media (max-width: 575px) {
    .btcl-wrap {
        margin-block: 28px;
    }

    .btcl-head {
        margin-bottom: 18px;
    }

    .btcl-grid,
    .btcl-sub-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .btcl-title {
        font-size: 29px;
    }

    .btcl-subtitle {
        font-size: 14px;
        line-height: 1.55;
    }

    .btcl-card,
    .btcl-card-body {
        min-height: 264px;
    }

    .btcl-card {
        border-radius: 17px;
    }

    .btcl-card-body {
        padding: 16px;
    }

    .btcl-card-media {
        top: 14px;
        right: 14px;
        bottom: 14px;
        left: auto;
        align-items: center;
        justify-content: center;
        width: 42%;
        padding: 12px 9px;
        border-radius: 15px;
    }

    .btcl-card-media:after {
        right: 5%;
        bottom: 6%;
        left: 5%;
        height: 12px;
        background: rgba(21, 40, 33, .07);
    }

    .btcl-card-media img {
        max-width: 96%;
        max-height: 190px;
        filter: drop-shadow(0 12px 17px rgba(21, 40, 33, .12));
    }

    .btcl-card-topline {
        min-height: 31px;
        font-size: 9px;
    }

    .btcl-arrow {
        width: 31px;
        height: 31px;
        font-size: 14px;
    }

    .btcl-card-bottom {
        max-width: 55%;
        margin-top: 24px;
    }

    .btcl-card-title {
        margin-bottom: 9px;
        font-size: 22px;
    }

    .btcl-child-pills {
        gap: 5px;
    }

    .btcl-child-pills a {
        padding: 5px 7px;
        font-size: 10px;
    }

    .btcl-sub-section {
        padding: 13px;
        border-radius: 17px;
    }

    .btcl-sub-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }

    .btcl-sub-head > a {
        width: 100%;
    }

    .btcl-sub-card {
        min-height: 118px;
        padding: 0;
    }

    .btcl-sub-card-image {
        width: 116px;
        height: auto;
        min-height: 116px;
        flex-basis: 116px;
        border-radius: 16px 0 0 16px;
    }

    .btcl-sub-card-image img {
        max-height: 96px;
    }

    .btcl-sub-card-content {
        padding: 15px 39px 15px 14px;
    }

    .btcl-sub-card-content h4 {
        font-size: 13px;
    }

    .btcl-sub-card-arrow {
        top: 10px;
        right: 10px;
        width: 26px;
        height: 26px;
    }

    .btcl-dir-block {
        padding: 14px;
    }

    .btcl-dir-links a {
        font-size: 11px;
    }

    .btcl-footer {
        margin-top: 28px;
    }

    .btcl-main-link {
        width: min(100%, 310px);
        min-height: 46px;
    }

    .btcl-compact-mobile .btcl-card,
    .btcl-compact-mobile .btcl-card-body {
        min-height: 248px;
    }
}

@media (max-width: 380px) {
    .btcl-card-bottom {
        max-width: 57%;
    }

    .btcl-card-media img {
        max-width: 94%;
    }

    .btcl-child-pills a em {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btcl-card,
    .btcl-card:before,
    .btcl-card-media img,
    .btcl-arrow,
    .btcl-child-pills a,
    .btcl-sub-card,
    .btcl-sub-card:before,
    .btcl-sub-card-image img,
    .btcl-sub-card-arrow,
    .btcl-main-link,
    .btcl-main-link svg {
        transition: none !important;
    }
}
