/* Archive-only presentation; card structure remains editable in Elementor. */
.elementor .e-con.bm-reference-archive {
    --content-width: 1280px;
    --padding-top: 20px;
    --padding-bottom: 60px;
    --padding-left: 24px;
    --padding-right: 24px;
}
.bm-reference-archive .bm-reference-intro .elementor-heading-title {
    color: #3e3d43;
    font-family: "Anton", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}
.bm-reference-archive .bm-reference-intro-copy {
    color: #555;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}
.bm-reference-intro-copy p { margin: 0; }
.elementor .e-con.bm-reference-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    width: 100%;
    padding: 0;
    margin-top: 0;
}
.elementor .e-con.bm-reference-sidebar,
.elementor .e-con.bm-reference-results {
    width: 100%;
    min-width: 0;
    padding: 0;
    gap: 24px;
}
.bm-reference-archive .bm-reference-sidebar-heading .elementor-heading-title,
.bm-reference-archive .bm-reference-count {
    margin: 0;
    color: #3e3d43;
    font-family: "Anton", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}
.bm-reference-sidebar-heading,
.bm-reference-count {
    border-bottom: 1px solid #d5d5db;
    padding-bottom: 16px;
}
.bm-reference-countries ul { list-style: none; margin: 0; padding: 0; }
.bm-reference-countries li { margin: 0 0 4px; padding: 0; }
.bm-reference-countries a {
    display: block;
    min-height: 44px;
    padding: 10px 8px 10px 14px;
    border-left: 4px solid transparent;
    color: #3e3d43;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
}
.bm-reference-countries a[aria-current] { border-left-color: #e7b54c; color: #98600a; font-weight: 700; }
.bm-reference-countries a:hover { color: #98600a; background: #faf7f0; }
.bm-reference-country-count { white-space: nowrap; }
.bm-reference-archive .bm-reference-grid { width: 100%; min-width: 0; }
.bm-reference-grid .elementor-loop-container { align-items: stretch; }
.bm-reference-grid .e-loop-item { min-width: 0; }
.elementor .e-con.bm-reference-card {
    width: 100%;
    height: 100%;
    padding: 0;
    gap: 0;
    overflow: hidden;
    border: 1px solid #d5d5db;
    border-radius: 4px;
    background: #fff;
}
.elementor .e-con.bm-reference-photo {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    min-height: 310px;
    padding: 20px;
    position: relative;
    isolation: isolate;
    background-position: center;
    background-size: cover;
    text-decoration: none;
}
.bm-reference-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 30%, rgb(0 0 0 / 30%) 56%, rgb(0 0 0 / 92%) 100%);
    pointer-events: none;
}
.bm-reference-card .bm-reference-country .elementor-heading-title {
    color: #f0bb4f;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}
.bm-reference-card .bm-reference-name .elementor-heading-title {
    color: #fff;
    font-family: "Anton", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.bm-reference-card .bm-reference-name { padding-bottom: 16px; }
.bm-reference-name::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 3px;
    background: #e7b54c;
}
.elementor .e-con.bm-reference-card-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 108px;
    padding: 16px 18px;
    background: #fff;
    flex: 1;
}
.elementor .e-con.bm-reference-specs { width: auto; min-width: 0; flex: 1; padding: 0; gap: 4px; }
.bm-reference-card .bm-reference-machine-label .elementor-heading-title {
    color: #666;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}
.bm-reference-card .bm-reference-machine .elementor-heading-title {
    color: #3e3d43;
    font-family: "Anton", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.bm-reference-card .bm-reference-mould .elementor-heading-title {
    color: #555;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}
.bm-reference-card .bm-reference-open { flex: 0 0 60px; width: 60px; padding-left: 16px; border-left: 1px solid #d5d5db; }
.bm-reference-open .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #e7b54c;
    color: #171717;
    font-size: 21px;
}
.bm-reference-open .elementor-button-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bm-reference-open .elementor-button-icon { margin: 0; transform: rotate(-45deg); }
.bm-reference-open .elementor-button-icon svg { fill: currentColor; }
.bm-reference-open .elementor-button-content-wrapper { gap: 0; }
.bm-reference-open .elementor-button:hover { background: #f4c76c; color: #171717; }
.bm-reference-photo:hover .elementor-heading-title { color: #fff; }
.bm-reference-photo:hover .bm-reference-country .elementor-heading-title { color: #f5ca73; }
.bm-reference-photo:focus-visible,
.bm-reference-open a:focus-visible,
.bm-reference-countries a:focus-visible { outline: 3px solid #98600a; outline-offset: 3px; }
.bm-reference-photo:focus-visible { outline-offset: -4px; }
.elementor .e-con.bm-reference-cta { background: #3e3d43; padding: 28px 24px; }
.elementor .e-con.bm-reference-cta-inner { width: 100%; max-width: 1232px; margin-inline: auto; padding: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.bm-reference-cta .elementor-heading-title { color: #fff; font-family: "Anton", sans-serif; font-size: 30px; font-weight: 400; line-height: 1.3; }
.bm-reference-cta .elementor-button { padding: 10px 0; border-radius: 0; border-bottom: 1px solid currentColor; color: #f0bb4f; background: transparent; font-family: "Roboto Condensed", sans-serif; font-size: 18px; font-weight: 700; }
.bm-reference-cta .elementor-button:hover { color: #fff; }
@media (min-width: 768px) and (max-width: 1024px) {
    .elementor .e-con.bm-reference-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; }
    .bm-reference-archive .bm-reference-intro .elementor-heading-title { font-size: 30px; }
    .elementor .e-con.bm-reference-photo { min-height: 280px; padding: 18px; }
    .bm-reference-card .bm-reference-name .elementor-heading-title { font-size: 25px; }
}
@media (max-width: 767px) {
    .elementor .e-con.bm-reference-archive { --padding-left: 20px; --padding-right: 20px; --padding-bottom: 40px; }
    .elementor .e-con.bm-reference-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 8px; }
    .bm-reference-archive .bm-reference-intro .elementor-heading-title { font-size: 28px; }
    .bm-reference-archive .bm-reference-intro-copy { font-size: 15px; }
    .elementor .e-con.bm-reference-sidebar { gap: 12px; }
    .bm-reference-countries a { min-height: 44px; padding-block: 10px; }
    .elementor .e-con.bm-reference-photo { min-height: 320px; }
    .bm-reference-card .bm-reference-name .elementor-heading-title { font-size: 28px; }
    .elementor .e-con.bm-reference-cta-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .bm-reference-cta .elementor-heading-title { font-size: 26px; }
}
