.contact-anaplast-1 {
    width: 100%;
    padding: var(--apl-space-7) 0;
    background-color: var(--apl-surface);
    container-type: inline-size;
}
.contact-anaplast-1 .content-wrapper {
    max-width: var(--apl-container);
    margin: 0 auto;
    padding-inline: var(--apl-gutter);
    display: flex;
    flex-direction: column;
    gap: var(--apl-space-5);
}

/* --- Section opener --- */
.contact-anaplast-1__header {
    display: flex;
    flex-direction: column;
    gap: var(--apl-space-2);
    max-width: var(--apl-measure);
}
.contact-anaplast-1__eyebrow {
    font-size: var(--apl-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--apl-tracking-caps);
    color: var(--apl-amber-hover);
}
.contact-anaplast-1__heading {
    margin: 0;
    font-size: var(--apl-text-2xl);
    font-weight: 800;
    line-height: var(--apl-leading-tight);
    color: var(--heading-color);
}
.contact-anaplast-1__intro {
    margin: 0;
    font-size: var(--apl-text-lg);
    line-height: var(--apl-leading-normal);
    color: var(--text-color);
    white-space: pre-line;
}
.contact-anaplast-1__intro ul,
.contact-anaplast-1__intro ol {
    margin: 0;
    padding-left: var(--apl-space-3);
}

/* --- Body: details + map --- */
.contact-anaplast-1__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--apl-space-5);
}
.contact-anaplast-1__details {
    display: flex;
    flex-direction: column;
    gap: var(--apl-space-4);
}

.contact-anaplast-1__address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: var(--apl-space-2);
}
.contact-anaplast-1__company {
    margin: 0;
    font-size: var(--apl-text-xl);
    font-weight: 800;
    line-height: var(--apl-leading-tight);
    color: var(--heading-color);
}
.contact-anaplast-1__ids {
    margin: 0;
    font-size: var(--apl-text-sm);
    color: var(--apl-text-muted);
}
.contact-anaplast-1__ids span {
    white-space: nowrap;
}

.contact-anaplast-1__list {
    margin: var(--apl-space-2) 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: var(--apl-space-4);
}
.contact-anaplast-1__group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.contact-anaplast-1__list dt,
.contact-anaplast-1__hours-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.25rem;
    font-size: var(--apl-text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--apl-tracking-caps);
    color: var(--heading-color);
}
.contact-anaplast-1__list dt i,
.contact-anaplast-1__hours-title i {
    width: 1.25rem;
    text-align: center;
    color: var(--apl-amber-hover);
    flex-shrink: 0;
}
.contact-anaplast-1__list dd {
    margin: 0;
    padding-left: var(--apl-space-4);
    font-size: var(--apl-text-base);
    line-height: var(--apl-leading-normal);
    color: var(--text-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--apl-space-1);
}
.contact-anaplast-1__list dd.contact-anaplast-1__postal {
    display: block;
}
.contact-anaplast-1__label {
    font-size: var(--apl-text-sm);
    font-weight: 600;
    color: var(--apl-text-muted);
}
.contact-anaplast-1__label::after {
    content: ":";
}

.contact-anaplast-1__link {
    display: inline-flex;
    align-items: center;
    min-height: var(--apl-control-min);
    color: var(--heading-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--apl-amber);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
    overflow-wrap: anywhere;
    transition: color var(--apl-transition);
}
.contact-anaplast-1__link:hover {
    color: var(--apl-amber-hover);
}
.contact-anaplast-1__link:focus-visible {
    outline: var(--apl-focus);
    outline-offset: var(--apl-focus-offset);
    border-radius: var(--apl-radius-sm);
}

/* --- Opening hours --- */
.contact-anaplast-1__hours-title {
    margin-bottom: var(--apl-space-1);
}
.contact-anaplast-1__hours-list {
    margin: 0;
    padding-left: var(--apl-space-4);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 28rem;
}
.contact-anaplast-1__hours-row {
    display: flex;
    justify-content: space-between;
    gap: var(--apl-space-3);
    padding-block: 0.4rem;
    border-bottom: 1px solid var(--apl-border);
    font-size: var(--apl-text-base);
    line-height: var(--apl-leading-normal);
}
.contact-anaplast-1__hours-row dt {
    font-weight: 600;
    color: var(--heading-color);
}
.contact-anaplast-1__hours-row dd {
    margin: 0;
    color: var(--text-color);
    text-align: right;
}

/* --- Socials --- */
.contact-anaplast-1__socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--apl-space-1);
}
.contact-anaplast-1__socials a {
    width: var(--apl-control-min);
    height: var(--apl-control-min);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--apl-radius-sm);
    background-color: var(--apl-surface);
    border: 1px solid var(--apl-border-strong);
    color: var(--heading-color);
    font-size: 1.05rem;
    text-decoration: none;
    transition:
        background-color var(--apl-transition),
        color var(--apl-transition),
        border-color var(--apl-transition);
}
.contact-anaplast-1__socials a:hover {
    background-color: var(--apl-accent);
    border-color: var(--apl-accent);
    color: var(--apl-on-accent);
}
.contact-anaplast-1__socials a:focus-visible {
    outline: var(--apl-focus);
    outline-offset: var(--apl-focus-offset);
}

/* --- Map --- */
.contact-anaplast-1__map {
    border-radius: var(--apl-radius-md);
    overflow: hidden;
    border: 1px solid var(--apl-border);
    background-color: var(--apl-surface-alt);
    aspect-ratio: 4 / 3;
}
.contact-anaplast-1__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.contact-anaplast-1--stacked .contact-anaplast-1__map {
    aspect-ratio: 16 / 9;
}

@container (min-width: 60rem) {
    .contact-anaplast-1--two-columns.contact-anaplast-1--has-map
        .contact-anaplast-1__body {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
    .contact-anaplast-1--two-columns .contact-anaplast-1__list {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-anaplast-1--two-columns:not(.contact-anaplast-1--has-map)
        .contact-anaplast-1__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@container (width < 40rem) {
    .contact-anaplast-1 {
        padding: var(--apl-space-5) 0;
    }
    .contact-anaplast-1__map,
    .contact-anaplast-1--stacked .contact-anaplast-1__map {
        aspect-ratio: 1 / 1;
    }
}
