/**
 * Aimeos distributions
 * @license MIT, https://opensource.org/license/MIT
 */

.aimeos-dists {
    background-color: #FFFFFF !important;
}

.aimeos-dists > .container {
    width: min(100%, 71.25rem);
    max-width: 71.25rem !important;
    margin-inline: auto;
    padding: 2.75rem min(5%, 2rem);
    text-align: center;
}

.aimeos-dists .dists-head {
    margin-bottom: 2.5rem;
}

.aimeos-dists .dists-head h2 {
    margin: 2rem 0 0;
    color: #103050;
    font-size: calc(var(--pico-font-size) * 1.1);
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.aimeos-dists .dists-head-icon {
    display: block;
    width: 2rem;
    height: 2rem;
    margin-inline: auto;
    color: #B09050;
    filter: drop-shadow(-4px 3px #C2E0FF);
}

.aimeos-dists .dists-head-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.aimeos-dists .dists-head-lines {
    display: block;
    width: 7rem;
    height: 0.7rem;
    margin: 0.75rem auto 0;
    color: #BA9A5A;
}

.dists-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dists-item {
    min-width: 0;
    margin: 0;
    padding: 1.5rem 1.25rem;
    list-style: none;
    text-align: center;
}

.dists-item::marker {
    content: "";
}

.dists-icon {
    display: grid;
    height: 12rem;
    margin-inline: auto;
    padding: 0;
    place-items: center;
    color: inherit;
    text-decoration: none;
}

.dists-icon .dists-image,
.dists-icon .dists-image img {
    display: block;
    max-height: 15rem;
    height: 100%;
    margin: 0;
}

.dists-item h3 {
    max-width: 25rem;
    margin: 1.5rem auto;
    padding: 1rem 0;
    border-bottom: 1px solid #B09050;
    color: #103050;
    font-size: calc(var(--pico-font-size) * 1.1);
    font-weight: 700;
    line-height: 1.2;
}

.dists-item h3 a {
    display: block;
    padding: 0;
    color: inherit;
    text-decoration: none;
}

.dists-button {
    display: inline-block;
    min-width: 0;
    margin: 0;
    padding: 0.35rem 0.75rem;
    border: 1px solid #B09050;
    border-radius: 0;
    color: #103050;
    background-color: transparent;
    font-size: calc(var(--pico-font-size) * 0.75);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

.dists-button:hover,
.dists-button:focus-visible {
    border-color: #103050;
    color: #FFFFFF;
    background-color: #103050;
}

@media screen and (max-width: 767px) {
    .dists-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .dists-item {
        padding-inline: 0;
    }
}
