/* GOLDEN RETRIEVER BREED GUIDE MAP */

.breed-map {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 0;
}

.breed-map-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}


/* CLICKABLE AREAS WITH PULSING UNDERLINES */

.breed-map-link {
    position: absolute;
    display: block;
    height: 22px;
    box-sizing: border-box;
    z-index: 5;

    color: #392516;
    text-decoration: none;
    cursor: pointer;

    -webkit-tap-highlight-color: transparent;

    --line-width: 100%;

    outline: none;
}

/* Dark animated underline */

.breed-map-link::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: var(--line-width);
    height: 4px;

    border-radius: 3px;

    background: #49301c;

    box-shadow:
        0 0 3px rgba(73, 48, 28, 0.75),
        0 0 7px rgba(73, 48, 28, 0.45);

    transform-origin: center;

    animation: breedMapLinePulse 1.15s ease-in-out infinite;

    pointer-events: none;
}

/* Brighter line on interaction */

.breed-map-link:hover::after,
.breed-map-link:focus-visible::after {
    height: 5px;

    background: #241509;

    box-shadow:
        0 0 5px rgba(36, 21, 9, 0.95),
        0 0 12px rgba(73, 48, 28, 0.85),
        0 0 20px rgba(73, 48, 28, 0.55);
}

.breed-map-link:focus-visible {
    outline: 2px solid #49301c;
    outline-offset: 4px;
}


/* PRELIMINARY LINK POSITIONS */
/* Adjust these values to match the text in the image. */

.breed-map-history {
    left: 3%;
    top: 23%;
    width: 40%;
    --line-width: 100%;
}

.breed-map-standard {
    left: 70%;
    top: 15.5%;
    width: 20%;
    --line-width: 100%;
}

.breed-map-gundog {
    left: 64%;
    top: 30%;
    width: 20%;
    --line-width: 100%;
}

.breed-map-character {
    left: 3%;
    top: 42.5%;
    width: 37%;
    --line-width: 100%;
}

.breed-map-club {
    left: 67%;
    top: 56.5%;
    width: 29%;
    --line-width: 100%;
}

.breed-map-health {
    left: 5%;
    top: 63%;
    width: 27%;
    --line-width: 100%;
}

.breed-map-hd {
    left: 68%;
    top: 75%;
    width: 24%;
    --line-width: 100%;
}

.breed-map-super {
    left: 30%;
    top: 97%;
    width: 43%;
    --line-width: 100%;
}


/* CONTINUOUS PULSE */

@keyframes breedMapLinePulse {
    0%,
    100% {
        opacity: 0.65;
        transform: scaleX(0.88);
        filter: brightness(0.85);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
        filter: brightness(1.35);
    }
}


/* MOBILE ADAPTATION */

@media (max-width: 700px) {

    .breed-map-link {
        height: 18px;
        transform: none;
    }

    .breed-map-link::after {
        height: 3px;
        bottom: 8px;
    }

    .breed-map-link:hover::after,
    .breed-map-link:focus-visible::after {
        height: 4px;
    }
}
