/* =====================================================
   Community: shared layout, cards, forms, badges
   Pages: /community/... — see inc/community/
   ===================================================== */

.hbk-cm {
    --cm-dark: #171738;
    --cm-honey: #eec643;
    --cm-honey-deep: #9a7a10;
    --cm-green: #17b890;
    --cm-bg: #f7f4e6;
    --cm-card: #ffffff;
    --cm-muted: #5d5b6b;
    --cm-line: rgba(23, 23, 56, .12);
    --cm-radius: 10px;
    --cm-shadow: 0 1px 2px rgba(23, 23, 56, .06), 0 8px 24px rgba(23, 23, 56, .06);
    background: var(--cm-bg);
    color: var(--cm-dark);
    padding: 0 0 90px;
}

.hbk-cm *,
.hbk-cm *::before,
.hbk-cm *::after {
    box-sizing: border-box;
}

.hbk-cm h1,
.hbk-cm h2,
.hbk-cm h3,
.hbk-cm h4 {
    font-family: "Roboto Condensed", "Poppins", sans-serif;
    color: var(--cm-dark);
    letter-spacing: .5px;
    margin: 0 0 .5em;
}

.hbk-cm a {
    color: var(--cm-honey-deep);
}

.hbk-cm a:hover {
    color: var(--cm-dark);
}

.hbk-cm p {
    color: var(--cm-muted);
}

/* ---------- Hero ---------- */
.hbk-cm-hero {
    position: relative;
    padding: 54px 0 46px;
    margin-bottom: 40px;
    background: #1d1c3d;
    color: #fff;
    overflow: hidden;
}

.hbk-cm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/learn-with-us-bg.jpg") center / cover no-repeat;
    opacity: .35;
}

.hbk-cm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 23, 56, .55), rgba(23, 23, 56, .85));
}

.hbk-cm-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hbk-cm-hero__kicker {
    margin: 0 0 10px;
    color: var(--cm-honey);
    font: 600 12px/1 "Poppins", sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hbk-cm-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 14px;
}

.hbk-cm-hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    max-width: 62ch;
}

.hbk-cm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ---------- Section nav (hub tabs) ---------- */
.hbk-cm-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -72px 0 34px;
    position: relative;
    z-index: 3;
}

.hbk-cm-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--cm-line);
    box-shadow: var(--cm-shadow);
    color: var(--cm-dark);
    font: 500 14px/1 "Poppins", sans-serif;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}

.hbk-cm-nav a:hover,
.hbk-cm-nav a.is-active {
    background: var(--cm-dark);
    border-color: var(--cm-dark);
    color: #fff;
}

/* ---------- Section headers ---------- */
.hbk-cm-section {
    margin-bottom: 46px;
}

.hbk-cm-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cm-line);
}

.hbk-cm-section__head h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hbk-cm-section__head p {
    margin: 4px 0 0;
    font-size: 15px;
}

.hbk-cm-section__link {
    font: 500 14px/1 "Poppins", sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

.hbk-cm-section__link::after {
    content: " →";
}

/* ---------- Buttons ---------- */
.hbk-cm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid var(--cm-dark);
    border-radius: 6px;
    background: var(--cm-dark);
    color: #fff;
    font: 600 14px/1 "Poppins", sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .1s;
}

.hbk-cm-btn:hover {
    background: #2a2952;
    border-color: #2a2952;
    color: #fff;
    text-decoration: none;
}

.hbk-cm-btn:active {
    transform: translateY(1px);
}

.hbk-cm-btn--honey {
    background: var(--cm-honey);
    border-color: var(--cm-honey);
    color: var(--cm-dark);
}

.hbk-cm-btn--honey:hover {
    background: #f3d469;
    border-color: #f3d469;
    color: var(--cm-dark);
}

.hbk-cm-btn--ghost {
    background: transparent;
    color: var(--cm-dark);
    border-color: var(--cm-line);
}

.hbk-cm-btn--ghost:hover {
    background: #fff;
    border-color: var(--cm-dark);
    color: var(--cm-dark);
}

.hbk-cm-btn--small {
    padding: 8px 14px;
    font-size: 13px;
}

.hbk-cm-btn[disabled],
.hbk-cm-btn.is-disabled {
    opacity: .5;
    pointer-events: none;
}

/* ---------- Cards ---------- */
.hbk-cm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.hbk-cm-card {
    display: flex;
    flex-direction: column;
    background: var(--cm-card);
    border: 1px solid var(--cm-line);
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
    overflow: hidden;
    transition: transform .18s, box-shadow .18s;
}

.hbk-cm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(23, 23, 56, .08), 0 14px 32px rgba(23, 23, 56, .1);
}

.hbk-cm-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #eee7cf;
    overflow: hidden;
}

.hbk-cm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hbk-cm-card__media--logo {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    margin: 18px 18px 0;
    flex: 0 0 auto;
}

.hbk-cm-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.hbk-cm-card__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: .3px;
}

.hbk-cm-card__title a {
    color: var(--cm-dark);
    text-decoration: none;
}

.hbk-cm-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 0;
    font: 500 12px/1.4 "Poppins", sans-serif;
    color: var(--cm-muted);
    letter-spacing: .02em;
}

.hbk-cm-card__excerpt {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--cm-muted);
}

.hbk-cm-card__foot {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--cm-line);
}

/* ---------- Badges ---------- */
.hbk-cm-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hbk-cm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(23, 23, 56, .06);
    color: var(--cm-dark);
    font: 600 11px/1.2 "Poppins", sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hbk-cm-badge--verified {
    background: rgba(23, 184, 144, .14);
    color: #0b6f57;
}

.hbk-cm-badge--honey {
    background: rgba(238, 198, 67, .28);
    color: #6b5208;
}

.hbk-cm-badge--dark {
    background: var(--cm-dark);
    color: #fff;
}

.hbk-cm-badge--muted {
    background: transparent;
    border: 1px solid var(--cm-line);
    color: var(--cm-muted);
    text-transform: none;
}

/* ---------- Notices ---------- */
.hbk-cm-notice {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 24px;
    padding: 14px 44px 14px 16px;
    border-radius: var(--cm-radius);
    border: 1px solid var(--cm-line);
    background: #fff;
    border-left: 4px solid var(--cm-dark);
    box-shadow: var(--cm-shadow);
}

.hbk-cm-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--cm-dark);
}

.hbk-cm-notice.is-success {
    border-left-color: var(--cm-green);
}

.hbk-cm-notice.is-error {
    border-left-color: #c0392b;
}

.hbk-cm-notice.is-info {
    border-left-color: var(--cm-honey);
}

.hbk-cm-notice__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--cm-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.hbk-cm-notice__close:hover {
    background: rgba(23, 23, 56, .06);
    color: var(--cm-dark);
}

/* ---------- Forms ---------- */
.hbk-cm-panel {
    background: var(--cm-card);
    border: 1px solid var(--cm-line);
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
    padding: 26px 28px;
}

.hbk-cm-panel--narrow {
    max-width: 560px;
    margin: 0 auto;
}

.hbk-cm-form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.hbk-cm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.hbk-cm-field label {
    font: 600 13px/1.3 "Poppins", sans-serif;
    color: var(--cm-dark);
    letter-spacing: .01em;
}

.hbk-cm-field .req {
    color: #c0392b;
}

.hbk-cm-field input[type="text"],
.hbk-cm-field input[type="email"],
.hbk-cm-field input[type="tel"],
.hbk-cm-field input[type="url"],
.hbk-cm-field input[type="number"],
.hbk-cm-field input[type="password"],
.hbk-cm-field input[type="date"],
.hbk-cm-field select,
.hbk-cm-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--cm-line);
    border-radius: 6px;
    background: #fff;
    color: var(--cm-dark);
    font: 400 15px/1.4 "Poppins", sans-serif;
    appearance: none;
}

.hbk-cm-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235d5b6b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 36px;
}

.hbk-cm-field input:focus,
.hbk-cm-field select:focus,
.hbk-cm-field textarea:focus {
    outline: 0;
    border-color: var(--cm-dark);
    box-shadow: 0 0 0 3px rgba(238, 198, 67, .4);
}

.hbk-cm-field textarea {
    min-height: 130px;
    resize: vertical;
}

.hbk-cm-field__help {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--cm-muted);
}

.hbk-cm-field.has-error input,
.hbk-cm-field.has-error select,
.hbk-cm-field.has-error textarea {
    border-color: #c0392b;
}

.hbk-cm-field__error {
    margin: 0;
    font-size: 12.5px;
    color: #c0392b;
}

.hbk-cm-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.hbk-cm-checks label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 400 14px/1.4 "Poppins", sans-serif;
    color: var(--cm-dark);
}

.hbk-cm-hp {
    position: absolute !important;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.hbk-cm-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.hbk-cm-form__actions .hbk-cm-field__help {
    flex: 1 1 220px;
}

/* ---------- Tabs (account) ---------- */
.hbk-cm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 26px;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--cm-line);
    border-radius: 999px;
    box-shadow: var(--cm-shadow);
}

.hbk-cm-tabs a {
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--cm-muted);
    font: 500 13.5px/1 "Poppins", sans-serif;
    text-decoration: none;
}

.hbk-cm-tabs a:hover {
    background: rgba(23, 23, 56, .05);
    color: var(--cm-dark);
}

.hbk-cm-tabs a.is-active {
    background: var(--cm-dark);
    color: #fff;
}

/* ---------- Stats ---------- */
.hbk-cm-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.hbk-cm-stat {
    position: relative;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--cm-line);
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
    overflow: hidden;
}

.hbk-cm-stat::after {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 64px;
    height: 64px;
    background: rgba(238, 198, 67, .35);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.hbk-cm-stat__value {
    display: block;
    font: 700 34px/1 "Roboto Condensed", "Poppins", sans-serif;
    letter-spacing: .5px;
    color: var(--cm-dark);
}

.hbk-cm-stat__label {
    display: block;
    margin-top: 8px;
    font: 500 12.5px/1.4 "Poppins", sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cm-muted);
}

/* ---------- Empty states ---------- */
.hbk-cm-empty {
    padding: 44px 28px;
    text-align: center;
    background: #fff;
    border: 1px dashed rgba(23, 23, 56, .2);
    border-radius: var(--cm-radius);
}

.hbk-cm-empty h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 500;
}

.hbk-cm-empty p {
    max-width: 46ch;
    margin: 0 auto 18px;
    font-size: 15px;
}

.hbk-cm-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 60px;
    margin-bottom: 14px;
    background: rgba(238, 198, 67, .32);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    color: #6b5208;
    font-size: 22px;
}

/* ---------- Pagination ---------- */
.hbk-cm-pagination {
    margin-top: 30px;
    text-align: center;
}

.hbk-cm-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hbk-cm-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--cm-line);
    border-radius: 6px;
    background: #fff;
    color: var(--cm-dark);
    font: 500 14px/1 "Poppins", sans-serif;
    text-decoration: none;
}

.hbk-cm-pagination .page-numbers.current,
.hbk-cm-pagination .page-numbers:hover {
    background: var(--cm-dark);
    border-color: var(--cm-dark);
    color: #fff;
}

/* ---------- Toolbar (search + filters) ---------- */
.hbk-cm-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--cm-line);
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
}

.hbk-cm-toolbar select,
.hbk-cm-toolbar input[type="search"] {
    padding: 10px 12px;
    border: 1px solid var(--cm-line);
    border-radius: 6px;
    background: #fff;
    font: 400 14px/1.2 "Poppins", sans-serif;
    color: var(--cm-dark);
    min-width: 0;
}

.hbk-cm-search {
    display: flex;
    flex: 1 1 220px;
    border: 1px solid var(--cm-line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.hbk-cm-search input {
    flex: 1;
    border: 0 !important;
    padding: 10px 12px;
}

.hbk-cm-search button {
    border: 0;
    padding: 0 14px;
    background: var(--cm-dark);
    color: #fff;
    cursor: pointer;
}

.hbk-cm-status {
    margin: -8px 0 20px;
    font-size: 14px;
    color: var(--cm-muted);
}

/* ---------- Hub layout ---------- */
.hbk-cm-hub-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.hbk-cm-map-preview {
    position: relative;
    min-height: 320px;
    background: #e9e5d3 url("../images/map.jpg") center / cover no-repeat;
    border: 1px solid var(--cm-line);
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
    overflow: hidden;
}

.hbk-cm-map-preview__label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 500;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(23, 23, 56, .88);
    color: #fff;
    font: 500 13px/1 "Poppins", sans-serif;
}

.hbk-cm-map-preview--live {
    min-height: 0;
    background: #e9e5d3;
}

.hbk-cm-map--preview {
    height: 300px;
    border: 0;
    border-radius: 0;
}

.hbk-cm-side-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hbk-cm-side-list li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cm-line);
}

.hbk-cm-side-list li:last-child {
    border-bottom: 0;
}

.hbk-cm-avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 48px;
    background: rgba(238, 198, 67, .35);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 700 17px/1 "Roboto Condensed", "Poppins", sans-serif;
    color: #6b5208;
    overflow: hidden;
}

.hbk-cm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hbk-cm-hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hbk-cm {
        padding-bottom: 60px;
    }

    .hbk-cm-hero {
        padding: 40px 0 36px;
        margin-bottom: 28px;
    }

    .hbk-cm-nav {
        margin-top: -52px;
    }

    .hbk-cm-panel {
        padding: 20px 18px;
    }

    .hbk-cm-toolbar {
        padding: 12px;
    }

    .hbk-cm-toolbar select,
    .hbk-cm-search {
        flex: 1 1 100%;
    }
}

/* ---------- Media fallback ---------- */
.hbk-cm-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(238, 198, 67, .3);
    color: #6b5208;
    font: 700 2.4rem/1 "Roboto Condensed", "Poppins", sans-serif;
    letter-spacing: 1px;
}

/* ---------- Hero buttons on the dark band ---------- */
.hbk-cm-hero__actions .hbk-cm-btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
}

.hbk-cm-hero__actions .hbk-cm-btn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--cm-dark);
}

/* ---------- Beekeeper profile ---------- */
.hbk-cm-back {
    margin: 0 0 20px;
    font: 500 13px/1.2 "Poppins", sans-serif;
}

.hbk-cm-back a {
    text-decoration: none;
}

.hbk-cm-profile__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}

.hbk-cm-profile__main,
.hbk-cm-profile__side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.hbk-cm-profile__section > h2,
.hbk-cm-profile__panel-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.hbk-cm-profile__hero {
    margin: 0;
    border-radius: var(--cm-radius);
    border: 1px solid var(--cm-line);
    box-shadow: var(--cm-shadow);
    overflow: hidden;
    background: #eee7cf;
}

.hbk-cm-profile__hero img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hbk-cm-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.hbk-cm-gallery__item {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    border: 1px solid var(--cm-line);
    overflow: hidden;
    background: #eee7cf;
}

.hbk-cm-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s;
}

.hbk-cm-gallery__item:hover img {
    transform: scale(1.04);
}

.hbk-cm-prose p {
    line-height: 1.7;
}

.hbk-cm-details {
    margin: 0;
}

.hbk-cm-details__row {
    display: grid;
    grid-template-columns: minmax(130px, 34%) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cm-line);
}

.hbk-cm-details__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hbk-cm-details dt {
    font: 600 12px/1.5 "Poppins", sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--cm-muted);
}

.hbk-cm-details dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--cm-dark);
}

.hbk-cm-docs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hbk-cm-docs li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cm-line);
}

.hbk-cm-docs li:last-child {
    border-bottom: 0;
}

.hbk-cm-docs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
}

.hbk-cm-docs__size {
    font: 500 12px/1 "Poppins", sans-serif;
    color: var(--cm-muted);
}

.hbk-cm-map {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 320px;
    border-radius: var(--cm-radius);
    border: 1px solid var(--cm-line);
    overflow: hidden;
    background: #e9e5d3;
}

/* Leaflet divIcon pins: hexagon colours, no default white box. */
.hbk-cm-pin {
    background: transparent;
    border: 0;
}

.hbk-cm-pin span {
    display: block;
    width: 22px;
    height: 22px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--cm-honey, #eec643);
    box-shadow: 0 2px 8px rgba(23, 23, 56, .35);
}

.hbk-cm-pin.is-verified span {
    background: var(--cm-green, #17b890);
}

.hbk-cm-popup {
    font: 400 13px/1.45 "Poppins", sans-serif;
    color: #171738;
}

.hbk-cm-popup strong {
    font: 700 15px/1.3 "Roboto Condensed", "Poppins", sans-serif;
    letter-spacing: .3px;
}

.hbk-cm-popup span,
.hbk-cm-popup em {
    color: #5d5b6b;
    font-style: normal;
}

.hbk-cm-popup a {
    color: #9a7a10;
    font-weight: 600;
}

.hbk-cm-popup__photo {
    display: block;
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.hbk-cm-popup__badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(23, 184, 144, .16);
    color: #0f7a60 !important;
    font: 600 11px/1.6 "Poppins", sans-serif;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hbk-cm-tooltip {
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(23, 23, 56, .92);
    color: #fff;
    box-shadow: 0 4px 14px rgba(23, 23, 56, .28);
}

.hbk-cm-tooltip::before {
    border-top-color: rgba(23, 23, 56, .92);
}

.hbk-cm-tooltip__inner {
    padding: 6px 10px;
    font: 500 12px/1.45 "Poppins", sans-serif;
    text-align: center;
}

/* ---------- Map page ---------- */
.hbk-cm-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 34px;
}

.hbk-cm-map--tall {
    height: 520px;
}

.hbk-cm-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    font: 400 12.5px/1.4 "Poppins", sans-serif;
    color: var(--cm-muted);
}

.hbk-cm-map-legend li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hbk-cm-map-legend__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.hbk-cm-map-legend__dot.is-beekeeper {
    background: var(--cm-honey);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(23, 23, 56, .35);
}

.hbk-cm-map-legend__dot.is-listed {
    background: rgba(238, 198, 67, .55);
    border: 1px solid var(--cm-honey-deep);
}

.hbk-cm-map-legend__dot.is-figures {
    background: rgba(23, 184, 144, .35);
    border: 1px solid #0f7a60;
}

.hbk-cm-map-note {
    margin: 8px 0 0;
    font: 400 12.5px/1.5 "Poppins", sans-serif;
    color: var(--cm-muted);
}

.hbk-cm-district-panel__kicker {
    margin: 0 0 2px;
    font: 600 11.5px/1.4 "Poppins", sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cm-honey-deep);
}

.hbk-cm-district-panel h2 {
    margin: 0 0 12px;
}

.hbk-cm-figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 10px;
    margin: 0 0 10px;
}

.hbk-cm-figures div {
    padding: 12px;
    border: 1px solid var(--cm-line);
    border-radius: 8px;
    background: rgba(238, 198, 67, .1);
}

.hbk-cm-figures dt {
    font: 500 11.5px/1.35 "Poppins", sans-serif;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--cm-muted);
}

.hbk-cm-figures dd {
    margin: 4px 0 0;
    font: 700 22px/1 "Roboto Condensed", "Poppins", sans-serif;
    color: var(--cm-dark);
}

.hbk-cm-figures__source {
    margin: 0 0 14px;
    font: 400 12px/1.5 "Poppins", sans-serif;
    color: var(--cm-muted);
}

.hbk-cm-district-panel__notes {
    margin: 0 0 14px;
}

.hbk-cm-district-panel__notes div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--cm-line);
}

.hbk-cm-district-panel__notes dt {
    font: 600 12px/1.5 "Poppins", sans-serif;
    color: var(--cm-muted);
}

.hbk-cm-district-panel__notes dd {
    margin: 0;
    font: 400 13.5px/1.5 "Poppins", sans-serif;
    color: var(--cm-dark);
}

.hbk-cm-district-panel__count {
    margin: 0 0 12px;
    font: 600 13.5px/1.5 "Poppins", sans-serif;
    color: var(--cm-dark);
}

.hbk-cm-district-panel__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hbk-cm-district-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px 22px;
}

.hbk-cm-district-chips__group h3 {
    margin: 0 0 8px;
    font: 600 12px/1.4 "Poppins", sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cm-honey-deep);
}

.hbk-cm-district-chips ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hbk-cm-district-chips li {
    border-bottom: 1px solid var(--cm-line);
}

.hbk-cm-district-chips li:last-child {
    border-bottom: 0;
}

.hbk-cm-district-chips a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 2px;
    font: 400 13.5px/1.4 "Poppins", sans-serif;
    color: var(--cm-dark);
    text-decoration: none;
}

.hbk-cm-district-chips a:hover,
.hbk-cm-district-chips a.is-active {
    color: var(--cm-honey-deep);
    font-weight: 600;
}

.hbk-cm-district-chips__count {
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(23, 23, 56, .08);
    font: 600 11.5px/1.7 "Poppins", sans-serif;
    color: var(--cm-muted);
}

/* Marker clusters keep the honey look instead of the plugin default. */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background: rgba(238, 198, 67, .35) !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: var(--cm-honey-deep) !important;
    color: #fff;
    font: 700 12px/30px "Roboto Condensed", "Poppins", sans-serif;
}

@media (max-width: 960px) {
    .hbk-cm-map-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hbk-cm-map--tall {
        height: 380px;
    }
}

.hbk-cm-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hbk-cm-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--cm-line);
    border-radius: 8px;
    color: var(--cm-dark);
    text-decoration: none;
    transition: background-color .2s, border-color .2s;
}

.hbk-cm-contact:hover {
    background: rgba(238, 198, 67, .12);
    border-color: rgba(154, 122, 16, .4);
    color: var(--cm-dark);
}

.hbk-cm-contact i {
    flex: 0 0 auto;
    font-size: 18px;
    color: var(--cm-honey-deep);
}

.hbk-cm-contact span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font: 500 14px/1.3 "Poppins", sans-serif;
    overflow-wrap: anywhere;
}

.hbk-cm-contact small {
    font: 600 11px/1.2 "Poppins", sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--cm-muted);
}

.hbk-cm-contact-note {
    margin: 0;
    font-size: 14px;
}

.hbk-cm-profile__claim .hbk-cm-btn {
    width: 100%;
}

.hbk-cm-profile__claim p {
    font-size: 14px;
    line-height: 1.6;
}

.hbk-cm-profile__removal {
    margin: 0;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 991px) {
    .hbk-cm-profile__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hbk-cm-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .hbk-cm-profile__hero img {
        aspect-ratio: 4 / 3;
    }

    .hbk-cm-map {
        height: 260px;
    }
}

/* ---------- Sign-up and sign-in ---------- */
.hbk-cm-join {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.hbk-cm-join__side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hbk-cm-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: hbkstep;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hbk-cm-steps li {
    position: relative;
    padding-left: 44px;
    counter-increment: hbkstep;
}

.hbk-cm-steps li::before {
    content: counter(hbkstep);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(238, 198, 67, .35);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    font: 700 14px/1 "Roboto Condensed", "Poppins", sans-serif;
    color: #6b5208;
}

.hbk-cm-steps strong {
    display: block;
    margin-bottom: 2px;
    font: 600 14px/1.4 "Poppins", sans-serif;
    color: var(--cm-dark);
}

.hbk-cm-steps span {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--cm-muted);
}

.hbk-cm-auth {
    max-width: 520px;
    margin: 0 auto;
}

.hbk-cm-auth-switch {
    margin: 18px 0 0;
    text-align: center;
}

.hbk-cm-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.hbk-cm-radios label,
.hbk-cm-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font: 400 14px/1.5 "Poppins", sans-serif;
    color: var(--cm-dark);
}

.hbk-cm-check input {
    margin-top: 3px;
}

fieldset.hbk-cm-field {
    display: block;
    border: 0;
    padding: 0;
    margin: 0 0 16px;
}

fieldset.hbk-cm-field legend {
    padding: 0;
    margin-bottom: 8px;
    font: 600 13px/1.3 "Poppins", sans-serif;
    color: var(--cm-dark);
}

.hbk-cm-claim-note {
    margin: 0 0 18px;
    padding: 14px 16px;
    background: rgba(238, 198, 67, .18);
    border: 1px solid rgba(154, 122, 16, .35);
    border-left: 4px solid var(--cm-honey);
    border-radius: 8px;
}

.hbk-cm-claim-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #4a3a00;
}

/* The claim button and its note, directly on a profile. */
.hbk-cm-claim-note {
    font-size: 14px;
    line-height: 1.55;
    color: #4a3a00;
}

.hbk-cm-claim-form {
    display: grid;
    justify-items: start;
    gap: 12px;
}

.hbk-cm-claim-form .hbk-cm-claim-note {
    margin: 0;
}

@media (max-width: 991px) {
    .hbk-cm-join {
        grid-template-columns: 1fr;
    }
}

/* ---------- Account area ---------- */
.hbk-cm-account__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.hbk-cm-account__side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hbk-cm-listing-state {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 20px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--cm-line);
    border-left: 4px solid var(--cm-honey);
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
}

.hbk-cm-listing-state h2 {
    margin: 0 0 4px;
    font-size: 1.25rem;
}

.hbk-cm-listing-state p {
    margin: 0;
    font-size: 14px;
}

.hbk-cm-field__label {
    font: 600 13px/1.3 "Poppins", sans-serif;
    color: var(--cm-dark);
}

.hbk-cm-field input[type="file"] {
    padding: 9px 0;
    font: 400 13.5px/1.4 "Poppins", sans-serif;
    color: var(--cm-muted);
}

.hbk-cm-uploads {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.hbk-cm-uploads li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 110px;
}

.hbk-cm-uploads img {
    width: 110px;
    height: 82px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--cm-line);
    background: #eee7cf;
}

.hbk-cm-uploads .hbk-cm-check {
    font-size: 12px;
}

@media (max-width: 991px) {
    .hbk-cm-account__grid {
        grid-template-columns: 1fr;
    }
}
