/* Copyright (c) 2026 DNA Genics, S.L. All rights reserved. */

.haplogroup-reference-atlas {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: center;
    gap: clamp(.75rem, 2vw, 1.5rem);
    margin: 1rem 0;
    padding: clamp(.75rem, 2vw, 1.25rem);
    border: 1px solid #e6dac6;
    border-radius: 12px;
    background: #faf7ef;
    color: #213a2f;
    break-inside: avoid;
}

.haplogroup-reference-atlas__caption {
    display: grid;
    gap: .25rem;
    overflow-wrap: anywhere;
}

.haplogroup-reference-atlas__caption strong {
    font: 600 clamp(1.25rem, 2vw, 1.5rem)/1.15 var(--mtv-serif, "Cormorant Garamond", Georgia, serif);
}

.haplogroup-reference-atlas__caption span {
    color: #504b40;
    font-size: .875rem;
    line-height: 1.5;
}

.haplogroup-reference-atlas__map {
    display: block;
    width: 100%;
    height: auto;
    background: #f7f5ef;
    border: 1px solid #e6dac6;
    border-radius: 8px;
}

.haplogroup-reference-atlas__site {
    fill: #c88b43;
    stroke: #213a2f;
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
}

@media (max-width: 767px) {
    .haplogroup-reference-atlas {
        grid-template-columns: minmax(0, 1fr);
    }
}
