.hem-showcase-v27,
.hem-guide-v27 {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 2rem);
}

.hem-showcase-breadcrumb {
    display: flex;
    gap: .5rem;
    align-items: center;
    color: #64748b;
    font-size: .95rem;
    margin-bottom: 1rem;
}

.hem-showcase-breadcrumb a,
.hem-tool-links a {
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
}

.hem-showcase-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.hem-eyebrow {
    color: #0f766e;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .78rem;
    margin: 0 0 .35rem;
}

.hem-showcase-hero h1,
.hem-guide-v27 h1 {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    margin: 0 0 .6rem;
    line-height: 1.05;
}

.hem-showcase-lead,
.hem-guide-lead {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 760px;
}

.hem-trust-card,
.hem-fact-card,
.hem-contact-card,
.hem-detail-card,
.hem-guide-grid article {
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.95));
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
    padding: 1rem;
}

.hem-trust-card {
    display: grid;
    gap: .55rem;
    align-content: center;
}

.hem-trust-card strong,
.hem-fact-card h2,
.hem-contact-card h2,
.hem-detail-card h2,
.hem-guide-grid h2 {
    margin: 0 0 .65rem;
}

.hem-showcase-actions,
.hem-tool-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.hem-primary-action,
.hem-secondary-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    border-radius: 999px;
    padding: .75rem 1rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
}

.hem-primary-action {
    color: #fff;
    background: #0f766e;
}

.hem-secondary-action {
    color: #0f766e;
    background: #ecfeff;
    border-color: rgba(15, 118, 110, .25);
}

.hem-full {
    width: 100%;
}

.hem-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 1rem;
    align-items: start;
}

.hem-gallery-card {
    min-width: 0;
}

.hem-gallery-main {
    min-height: clamp(260px, 46vw, 520px);
    border-radius: 24px;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(20,184,166,.35), transparent 28%),
        linear-gradient(135deg, #0f766e, #0f172a);
    color: #fff;
    display: grid;
    align-content: end;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .22);
}

.hem-gallery-main strong {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.hem-gallery-label {
    width: fit-content;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    padding: .35rem .7rem;
    margin-bottom: .5rem;
    font-weight: 800;
}

.hem-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    margin-top: .75rem;
}

.hem-gallery-thumb {
    min-height: 76px;
    border: 1px solid rgba(15, 118, 110, .2);
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
}

.hem-gallery-thumb.is-active,
.hem-gallery-thumb:hover {
    outline: 3px solid rgba(20, 184, 166, .25);
    background: #ecfeff;
}

.hem-sticky-side {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 1rem;
}

.hem-fact-list {
    display: grid;
    gap: .65rem;
    margin: 0;
}

.hem-fact-list div {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: .55rem;
}

.hem-fact-list dt {
    color: #64748b;
    font-weight: 700;
}

.hem-fact-list dd {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
    text-align: right;
}

.hem-contact-card {
    display: grid;
    gap: .65rem;
}

.hem-detail-sections,
.hem-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.hem-check-list {
    padding-left: 1.2rem;
}

.hem-check-list li,
.hem-guide-grid li {
    margin-bottom: .45rem;
}

@media (max-width: 900px) {
    .hem-showcase-hero,
    .hem-showcase-grid,
    .hem-detail-sections,
    .hem-guide-grid {
        grid-template-columns: 1fr;
    }

    .hem-sticky-side {
        position: static;
    }

    .hem-gallery-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hem-showcase-v27,
    .hem-guide-v27 {
        padding: .8rem;
    }

    .hem-showcase-actions,
    .hem-tool-links {
        display: grid;
    }

    .hem-primary-action,
    .hem-secondary-action {
        width: 100%;
    }

    .hem-fact-list div {
        display: grid;
        justify-content: stretch;
    }

    .hem-fact-list dd {
        text-align: left;
    }
}
