/* Branch presentation and alternating photo/map layout. */
.afrodita-branch {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    background: #ffffff;
    transition: transform .25s var(--afrodita-ease), box-shadow .25s ease;
}

.afrodita-branch:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
}

.afrodita-branch__image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eeeeee;
    color: var(--afrodita-accent, #851a61);
}

.afrodita-branch__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.afrodita-branch__image svg {
    width: 64px;
    height: 64px;
    opacity: .7;
}

.afrodita-branch__number {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.afrodita-branch__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.afrodita-branch h3 {
    margin: 0 0 12px;
    color: #111111;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}

.afrodita-branch__description {
    margin: 0 0 24px;
    color: #666666;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.afrodita-branch__details {
    display: grid;
    gap: 18px;
    margin: 0 0 24px;
}

.afrodita-branch__details dt {
    margin-bottom: 5px;
    color: #777777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.afrodita-branch__details dd {
    margin: 0;
    color: #333333;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.afrodita-branch__details a:hover {
    color: var(--afrodita-primary, #c5003e);
    text-decoration: underline;
}

.afrodita-branch__pending {
    margin: 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.8;
}

.afrodita-branch__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.afrodita-branch__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #dddddd;
    border-radius: 0;
    color: #111111;
    font-size: 11px;
    font-weight: 800;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.afrodita-branch__actions .afrodita-branch__map {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.afrodita-branch__actions a:hover {
    border-color: var(--afrodita-primary, #c5003e);
    background: var(--afrodita-primary, #c5003e);
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .afrodita-branch,
    .afrodita-branch__actions a {
        transition: none;
    }

    .afrodita-branch:hover {
        transform: none;
    }
}

@media (max-width: 700px) {
    .afrodita-branch__body {
        padding: 24px;
    }
}

/* Branch section: full-height photo beside map and contact details. */
.afrodita-branches-section {
    padding: 64px 0;
    scroll-margin-top: 120px;
    border-top: 1px solid #e6e6e6;
    background: #ffffff;
    color: #111111;
}

.afrodita-branches-section,
.afrodita-branches-section * {
    box-sizing: border-box;
}

.afrodita-branches-section__head {
    max-width: 760px;
    margin-bottom: 36px;
}

.afrodita-branches-section__head h2 {
    margin: 0 0 12px;
    color: #111111;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.afrodita-branches-section__head p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.8;
}

.afrodita-branches-section__list {
    display: grid;
    gap: clamp(24px, 3vw, 40px);
}

.afrodita-branches-section .afrodita-branch--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 640px;
    border: 0;
    border-top: 1px solid #e6e6e6;
    border-radius: 0;
    background: #ffffff;
}

.afrodita-branches-section .afrodita-branch--split:hover {
    transform: none;
    box-shadow: none;
}

.afrodita-branches-section .afrodita-branch__image {
    min-width: 0;
    min-height: 0;
    aspect-ratio: auto;
    background: #000000;
    color: var(--afrodita-primary, #c5003e);
}

.afrodita-branches-section .afrodita-branch__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.afrodita-branches-section .afrodita-branch__number {
    bottom: 24px;
    left: 24px;
    padding: 8px 14px;
    font-size: 12px;
}

.afrodita-branch__side {
    display: grid;
    grid-template-rows: minmax(260px, 1fr) minmax(280px, auto);
    min-width: 0;
}

.afrodita-branch--split:nth-child(even) .afrodita-branch__image {
    order: 2;
}

.afrodita-branch--split:nth-child(even) .afrodita-branch__side {
    order: 1;
    background: #ffffff;
}

.afrodita-branch__map-panel {
    min-width: 0;
    min-height: 260px;
    background: #f3f3f3;
}

.afrodita-branch__map-panel iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
}

.afrodita-branch__map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 260px;
    padding: 24px;
    color: #666666;
    font-size: 13px;
    text-align: center;
}

.afrodita-branch__map-placeholder svg {
    width: 40px;
    height: 40px;
}

.afrodita-branch__map-placeholder a {
    color: #111111;
    text-underline-offset: 4px;
}

.afrodita-branches-section .afrodita-branch__body {
    justify-content: center;
    padding: 36px clamp(24px, 4vw, 64px);
}

.afrodita-branches-section .afrodita-branch h3 {
    margin: 0 0 24px;
    color: #111111;
    font-size: clamp(24px, 2.4vw, 34px);
}

.afrodita-branches-section .afrodita-branch__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    margin: 0 0 24px;
}

.afrodita-branches-section .afrodita-branch__details dt {
    color: #666666;
    font-size: 10px;
}

.afrodita-branches-section .afrodita-branch__details dd {
    color: #333333;
    font-size: 13px;
    line-height: 1.6;
}

.afrodita-branches-section .afrodita-branch__pending {
    color: #666666;
    font-size: 13px;
}

.afrodita-branches-section .afrodita-branch__actions {
    gap: 10px;
    margin-top: 0;
}

.afrodita-branches-section .afrodita-branch__actions a {
    gap: 12px;
    border-color: #cccccc;
    color: #111111;
    font-size: 11px;
}

.afrodita-branches-section .afrodita-branch__actions .afrodita-branch__map,
.afrodita-branches-section .afrodita-branch__actions a:hover {
    border-color: var(--afrodita-primary, #c5003e);
    background: var(--afrodita-primary, #c5003e);
    color: #ffffff;
}

.afrodita-branches-section a:focus-visible {
    outline: 2px solid var(--afrodita-primary, #c5003e);
    outline-offset: 4px;
}

@media (max-width: 900px) {
    .afrodita-branches-section .afrodita-branch--split {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .afrodita-branches-section .afrodita-branch--split .afrodita-branch__image {
        height: clamp(280px, 52vw, 440px);
        order: 0;
    }

    .afrodita-branch--split:nth-child(even) .afrodita-branch__side {
        order: 1;
    }

    .afrodita-branch__side {
        grid-template-rows: 280px auto;
    }
}

@media (max-width: 600px) {
    .afrodita-branches-section {
        padding: 44px 0;
    }

    .afrodita-branch__side {
        grid-template-rows: 250px auto;
    }

    .afrodita-branch__map-panel,
    .afrodita-branch__map-panel iframe,
    .afrodita-branch__map-placeholder {
        min-height: 250px;
    }

    .afrodita-branches-section .afrodita-branch__body {
        padding: 28px 24px;
    }

    .afrodita-branches-section .afrodita-branch__details {
        gap: 16px;
    }
}

