.accordeon_map {
    width: 100%;
    aspect-ratio: 3/2;
}

.address_grid {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 0.5em;
    padding-top: .5em;
    margin: 0 auto;
}

.location_wrapper {
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 1em;
}

input[type="radio"] {
  display: none;
}

.ago_model {
  position: relative;
  aspect-ratio: 4/3;
  margin: 0 auto;
  background: url("/fileadmin/fmfi/microsites/kafzm/daa/A_Brand_New_Web/ago/ago_crop_small.jpg") center/cover;
  flex: 3;
}

.hotspot {
  position: absolute;
  width: 15.5%;
  height: 20.7%;
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 20px;
  transition: border-color 0.2s ease,
}

.hotspot_back {
  position: absolute;
  width: 100%;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.hotspot:hover{
  border-color: var(--bg);
}

.def { top: 0%;  left: 0%; }
.ago70  { top: 67.2%; left: 12.4%; }
.budky  { top: 51.7%; left: 37.2%; }
.ago60  { top: 35.6%; left: 52.7%; }
.cabin  { top: 5.2%; left: 70.1%; }

.component {
    display: none;
    position: absolute;
    inset: 0;
    overflow-y: auto;
}

.components {
    flex: 1;
    background-color: var(--brand);
    position: relative;
    display: flex;
}

.component::-webkit-scrollbar {
    width: 6px;
}

.component::-webkit-scrollbar-track {
    background: transparent;
}

.component::-webkit-scrollbar-thumb {
    background: var(--bg);
    border-radius: 6px;
    border: none;
}

.component .lightbox_caption::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 6px;
}

.nasa_dupe_rotated:has(#one:checked) .default,
.nasa_dupe_rotated:has(#two:checked) .area_ago70,
.nasa_dupe_rotated:has(#three:checked) .area_budky,
.nasa_dupe_rotated:has(#four:checked) .area_ago60,
.nasa_dupe_rotated:has(#five:checked) .area_cabin {
    display: block;
}

.nasa_dupe_rotated:has(#one:checked) .default_text,
.nasa_dupe_rotated:has(#two:checked) .text_ago70,
.nasa_dupe_rotated:has(#three:checked) .text_budky,
.nasa_dupe_rotated:has(#four:checked) .text_ago60,
.nasa_dupe_rotated:has(#five:checked) .text_cabin {
    display: block;
}

.nasa_dupe_rotated {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    border: 5px solid var(--brand);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2em;
}

.nasa_dupe_row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.ago_bottom_texts .ago_text {
    background-color: var(--brand);
    display: none;
    padding: 1em;
    line-height: 1.6;
    text-align: justify;
    font-size: 0.9rem;
}

h3.name {
    margin-top: 0.25em;
    font-weight: bold;
    color: var(--surface);
}

.ago_text p {
    color: var(--surface);
}

.figs_flex {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    min-height: 0;
}

.figs_flex_image {
    max-width: 200px;
    height: auto;
    margin: 0;
    padding-left: 7px;
    padding-right: 5px;
}

.phone_banner {
    display: none;
}

@media screen and (max-width: 760px) {
        .address_grid {
        flex-direction: column;
    }
    .nasa_dupe_row {
        flex-direction: column;
    }
    .ago_model {
        margin: 0;
    }
    .component {
        position: relative;
        overflow-x: auto;
    }
    .figs_flex {
        flex-direction: row;
        gap: 5px;
        margin: 5px;
    }
    .figs_flex_image {
        max-width: none;
        padding: 0;
    }
    .hotspot {
        border-radius: var(--radius-card);
    }

    .banner_horizontal img {
        display: none;
    }

    .desktop_banner {
        display: none;
    }

    img.phone_banner {
        display: block;
        width: 100%;
    }
}

.collab_banners .logo_horizontal,
.collab_banners:first-of-type .logo_horizontal,
.collab_banners:last-of-type .logo_horizontal {
    width: auto;
    max-width: 100%;
    height: 90px;
    aspect-ratio: 2102 / 500;
    border: 2px solid #f5f5f5;
}

.collab_banners .logo_square,
.collab_banners:first-of-type .logo_square,
.collab_banners:last-of-type .logo_square {
    width: 90px;
    max-width: 90px;
    border: 2px solid #f5f5f5;
}
