/* ============================================================
   Builder Models Section — Available Home Models (ahm-*)
   Mirrors the Vue demo layout: sidebar + detail panel (desktop)
   and header + tabs + panel (mobile).
   ============================================================ */

/* ── Section shell ── */
.builder-models-section {
    background-color: #FAF6F2;
    width: 100%;
    padding: 60px 0 0 0;
    margin-top: 60px;
}

.builder-models-section ~ .community-search-banner {
    margin-top: 0;
}

.builder-models-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 0 60px;
}

@media (max-width: 1180px) {
    .builder-models-inner {
        padding: 0 20px 60px;
    }
}

@media (max-width: 768px) {
    .builder-models-inner {
        padding: 0 20px 40px;
    }
}

/* Mobile builder-models layout: 12px side gutters (Zeplin 375 artboard) */
@media (max-width: 1182px) {
    .builder-models-inner {
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 24px;
    }
}

/* ── Desktop vs Mobile visibility ── */
.ahm-desktop-layout { display: block; }
.ahm-mobile-layout  { display: none;  }

@media (max-width: 1182px) {
    .ahm-desktop-layout { display: none;  }
    .ahm-mobile-layout  { display: block; }
    .ahm-section-heading { display: none; }
}

/* "Available Home Models" section heading */
.ahm-section-heading {
    margin: 0 0 17px;
    font-family: 'Rufina', serif;
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 32px;
    letter-spacing: normal;
    text-align: left;
    color: #181d24;
}

/* ── Circle nav button (shared) ── */
.ahm-circle-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #8998a6;
    background: transparent;
    color: #8998a6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ahm-circle-btn:hover:not(:disabled) {
    background: #fff;
    border-color: #5b656e;
    color: #5b656e;
}
.ahm-circle-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.ahm-circle-btn .material-symbols-outlined {
    font-size: 20px;
    color: inherit;
    line-height: 1;
}

/* Sidebar scroll-up / scroll-down arrow buttons */
.ahm-sidebar-nav .ahm-circle-btn {
    width: 29px;
    height: 29px;
    padding: 2px;
    border: solid 0.5px #707070;
    background-color: #fff;
    color: #3a3f47;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
}
.ahm-sidebar-nav .ahm-circle-btn:hover:not(:disabled) {
    border-color: #707070;
    color: #3a3f47;
    background-color: #fff;
}
.ahm-sidebar-nav .ahm-circle-btn .material-symbols-outlined {
    font-size: 24px;
    color: inherit;
    line-height: 1;
}

/* ── Desktop grid ── */
.ahm-desktop-grid {
    display: grid;
    grid-template-columns: minmax(280px, 407px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

/* ── Sidebar ── */
.ahm-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    height: 100%;
    align-self: stretch;
}

/* Nav buttons float above the card list instead of taking up flex space,
   so they can overlap the list's top/bottom edge without shifting layout. */
.ahm-sidebar-nav {
    position: absolute;
    left: 50%;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.ahm-sidebar-nav--top {
    top: 37.5px;
    transform: translate(-50%, -50%);
}

.ahm-sidebar-nav--bottom {
    bottom: 10px;
    transform: translate(-50%, 50%);
}

.ahm-list {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 501px;
    overflow-y: auto;
    margin-top: 45.5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 2px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ahm-list::-webkit-scrollbar { display: none; }

/* Sidebar card */
.ahm-sidebar-card {
    width: 407px;
    max-width: 100%;
    min-height: 112px;
    max-height: 112px;
    margin: 0 16px 0 0;
    text-align: left;
    background-color: #fff;
    border: solid 0.5px transparent;
    border-radius: 12px;
    padding: 24px 19px 17px 21px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09);
}
.ahm-sidebar-card:hover {
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.16);
}
.ahm-sidebar-card--active {
    background: #dfe3e7;
    border: solid 0.5px #707070;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09);
}

.ahm-sidebar-card__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.ahm-sidebar-card__name {
    margin: 0;
    font-family: 'Rufina', serif;
    font-size: 21px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    color: #181d24;
    line-height: 1.2;
}

.ahm-sidebar-card__type {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #5b656f;
    white-space: nowrap;
}

.ahm-sidebar-card__price {
    margin: 3px 0 0;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #5b656f;
}

/* Specs row: "3-4 beds | 2-3 baths | 2,618-3,219 sqft." on a single inline line */
.ahm-sidebar-card__specs {
    margin: 11px 0 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: left;
    color: #5b656e;
}

.ahm-sidebar-card__spec-val {
    font-family: 'Abhaya Libre', serif;
    font-size: 21px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.14;
    letter-spacing: normal;
    color: #181d24;
    margin-right: 2px;
}

.ahm-sep {
    color: #8998a6;
    font-weight: 400;
}

/* ── Main (detail panel area) ── */
.ahm-main {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Detail article — Zeplin: 892×526 card */
.ahm-detail {
    display: none;
    width: 100%;
    max-width: 892px;
    min-height: 526px;
    margin: 17px 0 7px auto;
    padding: 17px 16px 18px;
    background-color: #fff;
    border: solid 0.5px #707070;
    border-radius: 12px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09);
    flex-direction: column;
    overflow: hidden;
}
.ahm-detail--visible {
    display: flex;
}

/* Two-column detail: copy left | media right (Zeplin ~422 + 16 + 422 inside 892) */
.ahm-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}

.ahm-detail-copy-col {
    background-color: #fafbfb;
    padding: 42px 13px 40px;
    min-height: 0;
    overflow-y: auto;
}

.ahm-detail-media-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 0;
}

/* ── Gallery (desktop: single image) ── */
.ahm-gallery-desktop {
    flex: 0 0 auto;
}

.ahm-gallery-img-area {
    position: relative;
}

.ahm-gallery-meta-area {
    display: grid;
    grid-template-columns: 1fr;
}
.ahm-gallery-meta-area--single {
    grid-template-columns: 1fr;
}
.ahm-gallery-meta-area .ahm-gallery-meta {
    background-color: transparent;
    border-radius: 0;
}

.ahm-gallery-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.ahm-gallery-tiles--single {
    grid-template-columns: 1fr;
}

.ahm-gallery-tile {
    min-width: 0;
    background: #f5f3f1;
    border-radius: 0;
    overflow: hidden;
    border: solid 0.5px #5b656e;
}

.ahm-gallery-tile--placeholder .ahm-gallery-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e4e7eb;
}
.ahm-gallery-tile--placeholder .ahm-gallery-img-wrap .material-symbols-outlined {
    font-size: 56px;
    color: #8998a6;
}
.ahm-gallery-tile--fallback .ahm-gallery-img-wrap {
    background: #f5f3f1;
}
.ahm-gallery-tile--fallback .ahm-gallery-img-wrap img {
    object-fit: cover;
}

.ahm-gallery-img-wrap {
    width: 100%;
    max-width: 422px;
    height: auto;
    aspect-ratio: 422 / 326;
    overflow: hidden;
    background: #dfe3e7;
}
.ahm-gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ahm-gallery-meta {
    min-height: 0;
    margin: 5px 0 0;
    padding: 0;
}
.ahm-gallery-meta-line {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: left;
    color: #5b656e;
}
.ahm-gallery-meta-line .text-style-1 {
    font-weight: 500;
    font-style: normal;
}
.ahm-gallery-courtesy {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #5b656e;
    font-style: italic;
    line-height: 1.35;
}
/* Keep each side of the "|" separator intact as one unit: if the whole
   line doesn't fit, wrap before the separator rather than breaking a
   phrase mid-word. */
.ahm-gallery-courtesy .ahm-nowrap {
    white-space: nowrap;
}

/* Gallery nav — 50% white circle, 56% dark arrow */
.ahm-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 29px;
    height: 29px;
    padding: 2px;
    background-color: #ffffff80 !important;
    border: solid 0.5px #707070 !important;
    color: #181d248f;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25) !important;
    opacity: 1;
    transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ahm-gallery-btn--left { left: 12px; }
.ahm-gallery-btn--right { right: 12px; }
.ahm-gallery-btn:hover {
    opacity: 1;
    border-color: #707070 !important;
    color: #181d24;
    background-color: #ffffffb3 !important;
}
.ahm-gallery-btn .material-symbols-outlined {
    font-size: 16px;
    color: inherit;
    line-height: 1;
}

/* ── Detail title / price / copy ── */
.ahm-detail-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.ahm-detail-title {
    margin: 0;
    font-family: 'Rufina', serif;
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
    text-align: left;
    color: #181d24;
    line-height: 1.2;
}
.ahm-detail-title--mobile {
    font-size: 21px;
    line-height: 0.67;
    margin: 0 0 6px;
}

.ahm-mobile-body .ahm-detail-price {
    margin: 0 0 7px;
}

.ahm-detail-type {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #5b656f;
    white-space: nowrap;
    vertical-align: baseline;
    margin-left: 14px;
}

.ahm-detail-price {
    margin: 8px 0 0;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #5b656e;
}

.ahm-detail-copy-col .ahm-detail-copy {
    margin-top: 18px;
}

/* ── Specs grid (desktop: 3×2, 401.8×90) ── */
.ahm-specs-desktop {
    position: relative;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    width: 100%;
    max-width: 401.8px;
    height: 90px;
    align-items: center;
}

.ahm-spec-item {
    position: relative;
    margin: 0;
    padding: 0 12px;
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: left;
    z-index: 2;
}
.ahm-specs-desktop .ahm-spec-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 10px;
}
.ahm-specs-desktop .ahm-spec-item:nth-child(3n + 1) {
    padding-left: 0;
}
.ahm-specs-desktop .ahm-spec-item:nth-child(3n) {
    padding-right: 0;
}
/* Vertical dividers between columns (28px tall, centered in cell) */
.ahm-specs-desktop .ahm-spec-item:not(:nth-child(3n))::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: #5b656e;
}

.ahm-spec-value {
    display: block;
    margin: 0 0 2px;
    font-family: 'Abhaya Libre', serif;
    font-size: 21px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.14;
    letter-spacing: normal;
    text-align: left;
    white-space: nowrap;
    color: #181d24;
}
.ahm-spec-value--text {
    font-family: 'Rufina', serif;
    font-size: 18px;
    line-height: 1.2;
}

.ahm-spec-label {
    display: block;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    color: #5b656e;
}

/* ── CTA button — Zeplin Rectangle-3331 ── */
.ahm-detail-cta {
    margin: 17px 0 0;
    width: 188.3px;
    max-width: 100%;
    height: 40px;
    padding: 13px 14px 13px 16px;
    border: none;
    border-radius: 4px;
    background: #5b656f;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    display: block;
}
.ahm-detail-cta:hover { background: #3f464e; }
.ahm-detail-cta--mobile {
    width: 100%;
    max-width: 318px;
    margin: 14px 0;
    padding: 13px 24px;
}

/* ── Description copy ── */
.ahm-detail-copy { color: #181d24; }
.ahm-detail-copy--mobile { margin-top: 14px; }

.ahm-detail-para {
    margin: 0 0 14px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.36;
    letter-spacing: normal;
    text-align: left;
    color: #181d24;
}
.ahm-detail-para:last-child { margin-bottom: 0; }

/* ── Mobile header ── */
.ahm-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding-top: 25px;
}
.ahm-mobile-header .ahm-circle-btn {
    width: 29px;
    height: 29px;
    padding: 2px;
    border: solid 0.5px #707070;
    background-color: #fff;
    color: #181d248f;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
}
.ahm-mobile-header .ahm-circle-btn:hover:not(:disabled) {
    background-color: #fff;
    border-color: #707070;
    color: #181d24;
}
.ahm-mobile-header .ahm-circle-btn .material-symbols-outlined {
    font-size: 16px;
    color: inherit;
}
.ahm-mobile-header .ahm-mobile-title {
    margin: 0;
}

.ahm-mobile-title {
    width: 232px;
    max-width: calc(100% - 80px);
    height: auto;
    margin: 0;
    flex: 1;
    font-family: 'Rufina', serif;
    font-size: 21px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 32px;
    letter-spacing: normal;
    text-align: center;
    color: #181d24;
}

/* ── Mobile tabs ── */
.ahm-tabs-wrap {
    margin: 0 0 14px;
    padding: 0;
}

.ahm-tabs {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ahm-tabs::-webkit-scrollbar { display: none; }

.ahm-mobile-tab {
    flex: 0 0 auto;
    width: 242px;
    height: 56px;
    min-width: 242px;
    margin: 0;
    text-align: left;
    background-color: #fff;
    border: solid 0.5px transparent;
    border-radius: 12px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09);
    padding: 13px 14px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ahm-mobile-tab--active {
    background-color: #dfe3e7;
    border-color: #707070;
}

.ahm-mobile-tab__name {
    margin: 0 0 4px;
    font-family: 'Rufina', serif;
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: normal;
    text-align: left;
    color: #181d24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ahm-mobile-tab__price {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.17;
    letter-spacing: normal;
    text-align: left;
    color: #5b656f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Mobile detail panels — Zeplin 352×699 card ── */
.ahm-mobile-detail { display: none; }
.ahm-mobile-detail--visible {
    display: block;
    width: 100%;
    max-width: 352px;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0 auto 24px;
    padding: 17px 16px 25px 17px;
    border-radius: 12px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.09);
    border: solid 0.5px #707070;
    background-color: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

/* Image + caption frame: 318×264, bottom 45px = caption */
.ahm-gallery-mobile {
    margin: 0 0 22px;
}

.ahm-gallery-frame {
    position: relative;
    width: 100%;
    max-width: 318px;
    height: 264px;
    margin: 0 auto;
    border: solid 0.5px #5b656e;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}
.ahm-gallery-frame--no-caption {
    height: 219px;
}
.ahm-gallery-frame--no-caption .ahm-gallery-meta-area--mobile {
    display: none;
}

.ahm-mobile-detail .ahm-gallery-img-area {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background-color: transparent;
}

.ahm-gallery-tiles--mobile {
    grid-template-columns: 1fr;
    gap: 0;
    height: 100%;
}

.ahm-mobile-detail .ahm-gallery-tile,
.ahm-mobile-detail .ahm-gallery-img-area .ahm-gallery-tile {
    overflow: hidden;
    background: transparent;
    border: none;
    height: 100%;
}

.ahm-gallery-tile--mobile-size {
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    height: 100%;
}

.ahm-gallery-tile--mobile-size .ahm-gallery-img-wrap--mobile {
    width: 100%;
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}
.ahm-gallery-tile--mobile-size .ahm-gallery-img-wrap--mobile img {
    object-fit: cover;
}

.ahm-gallery-meta-area--mobile {
    flex: 0 0 45px;
    display: block;
    grid-template-columns: none;
    margin: 0;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}
.ahm-gallery-meta-area--mobile .ahm-gallery-meta {
    max-height: none;
    height: 45px;
    background-color: #fff;
    border-radius: 0;
    padding: 6px 10px 8px;
    overflow: hidden;
    margin: 0;
    box-sizing: border-box;
}
.ahm-gallery-meta-area--mobile .ahm-gallery-meta-line {
    width: 100%;
    font-weight: 500;
    color: #5b656f;
}
.ahm-gallery-meta-area--mobile .ahm-gallery-courtesy {
    font-size: 10px;
    font-weight: 500;
    font-style: italic;
    color: #5b656f;
}

/* Center arrows on the image area (not including caption) */
.ahm-mobile-detail .ahm-gallery-btn--left { left: 10px; }
.ahm-mobile-detail .ahm-gallery-btn--right { right: 10px; }
.ahm-mobile-detail .ahm-gallery-btn {
    top: 50%;
    transform: translateY(-50%);
}
.ahm-mobile-detail .ahm-gallery-btn .material-symbols-outlined {
    font-size: 16px;
}

/* Mobile body */
.ahm-mobile-body {
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.ahm-detail-title--mobile {
    font-size: 24px;
    line-height: 1.2;
    margin: 0;
}

.ahm-mobile-body .ahm-detail-price {
    margin: 8px 0 0;
    color: #5b656f;
}

/* ── Specs (mobile): 3×2 grid, vertical dividers only ── */
.ahm-specs-mobile {
    position: relative;
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    width: 100%;
    max-width: 318px;
    min-height: 90px;
    align-items: center;
}

.ahm-specs-mobile .ahm-spec-item {
    position: relative;
    margin: 0;
    text-align: left;
    padding: 0 10px;
    flex: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    white-space: nowrap;
}
.ahm-specs-mobile .ahm-spec-item:nth-child(3n + 1) {
    padding-left: 0;
}
.ahm-specs-mobile .ahm-spec-item:nth-child(3n) {
    padding-right: 0;
}
.ahm-specs-mobile .ahm-spec-item:not(:nth-child(3n))::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 27px;
    background: #5b656e;
}

.ahm-specs-mobile .ahm-spec-value {
    font-size: 21px;
    margin: 0 0 2px;
}
.ahm-specs-mobile .ahm-spec-value--text {
    font-family: 'Rufina', serif;
    font-size: 18px;
    line-height: 1.2;
}
.ahm-specs-mobile .ahm-spec-label {
    line-height: 1.2;
    letter-spacing: 0.03em;
    margin: 0;
    color: #5b656e;
}

/* READ MORE */
.ahm-detail-copy--mobile {
    margin-top: 14px;
}
.ahm-detail-copy__text--clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}
.ahm-read-more {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    border: none;
    background: none;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: uppercase;
    text-decoration: underline;
    color: #b76540;
    cursor: pointer;
}
.ahm-read-more:hover {
    color: #9a5234;
}

/* Legacy unused grouping (kept harmless if referenced elsewhere) */
.ahm-spec-group {
    display: contents;
}
