.fgct-hotspots {
    --fgct-ink: #303c41;
    --fgct-muted: #637076;
    --fgct-card: #f7f7f5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(16px, 3vw, 40px);
    align-items: center;
    font-family: 'Inter', sans-serif;
}
.fgct-hotspots *, .fgct-hotspot-single * { box-sizing: border-box; }
.fgct-hotspots-side {
    display: grid;
    grid-template-rows: repeat(5, minmax(76px, auto));
    gap: 14px;
    min-width: 0;
}
.fgct-hotspots-left { grid-column: 1; grid-row: 1; }
.fgct-hotspots-right { grid-column: 3; grid-row: 1; }
.fgct-hotspot-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e1e6e3;
    border-radius: 12px;
    background: var(--fgct-card, #f7f7f5);
    min-width: 0;
    scroll-margin-top: 100px;
}
.fgct-hotspot-copy { min-width: 0; overflow-wrap: anywhere; }
.fgct-hotspot-card h3 {
    margin: 0 0 6px;
    color: var(--fgct-ink, #303c41);
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}
.fgct-hotspot-description { font-size: 14px; line-height: 1.6; color: var(--fgct-muted, #637076); }
.fgct-hotspot-description p { margin: 0 0 8px; }
.fgct-hotspot-description > :last-child { margin-bottom: 0; }
.fgct-hotspot-description ul, .fgct-hotspot-description ol { padding-left: 20px; }
.fgct-hotspot-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    height: 28px;
    background: var(--fgct-ink, #303c41);
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.fgct-hotspots-image {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    min-width: 0;
}
.fgct-hotspots .fgct-hotspots-photo {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center;
}
.fgct-hotspots .fgct-hotspot-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #303c41;
    box-shadow: 0 0 0 4px rgba(48, 60, 65, .14);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
}
.fgct-hotspot-pin:focus-visible { outline: 2px solid #667c75; outline-offset: 5px; }
.fgct-hotspot-card:target { border-color: #667c75; box-shadow: 0 0 0 2px rgba(102, 124, 117, .15); }
.fgct-hotspot-single { font-family: 'Inter', sans-serif; }
@media (max-width: 767px) {
    .fgct-hotspots { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .fgct-hotspots-image { grid-column: 1; grid-row: 1; max-width: 480px; justify-self: center; }
    .fgct-hotspots-left { grid-column: 1; grid-row: 2; }
    .fgct-hotspots-right { grid-column: 1; grid-row: 3; }
    .fgct-hotspots-side { display: flex; flex-direction: column; gap: 12px; }
    .fgct-hotspots-side:empty { display: none; }
}

/* Reserve each box's space so opening a point does not shift the page. */
.fgct-hotspots-interactive .fgct-hotspot-card {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.fgct-hotspots-interactive .fgct-hotspot-card.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    border-color: #667c75;
    box-shadow: 0 0 0 2px rgba(102, 124, 117, .15);
}
.fgct-hotspots button.fgct-hotspot-pin {
    padding: 0;
    margin: 0;
    min-width: 0;
    min-height: 0;
    font-family: inherit;
    letter-spacing: normal;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
}
.fgct-hotspots .fgct-hotspot-pin[aria-expanded="true"] {
    background: #667c75;
    box-shadow: 0 0 0 5px rgba(102, 124, 117, .2);
}
@media (max-width: 767px) {
    /* Both sides share one details area below the image on mobile.
       Hidden cards reserve the tallest card's height, preventing jumps. */
    .fgct-hotspots-interactive .fgct-hotspots-side {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: minmax(0, 1fr);
        grid-column: 1;
        grid-row: 2;
        gap: 0;
        align-self: start;
    }
    .fgct-hotspots-interactive .fgct-hotspot-card {
        grid-column: 1;
        grid-row: 1 !important;
        align-self: start;
    }
    .fgct-hotspots-interactive .fgct-hotspots-side:empty { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .fgct-hotspots-interactive .fgct-hotspot-card { transition: none; }
}
/* Overlapping mobile details containers must not block the active card's links. */
.fgct-hotspots-interactive .fgct-hotspots-side { pointer-events: none; }
