/* Stranica O nama — raspored kao webshop.aquachem.hr/o-nama/ */

.about-page {
    --about-accent: #086cb5;
    --about-rule: #dddddd;
}

.about-page__intro {
    display: grid;
    grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 40px);
    align-items: start;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.about-page__figure {
    margin: 0;
}

.about-page__figure img {
    display: block;
    width: 100%;
    max-width: 315px;
    height: auto;
    border-radius: 8px;
}

.about-page__lead {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--gray-900);
    margin: 0 0 1rem;
}

.about-page__prose {
    max-width: none;
    line-height: 1.8;
    color: var(--gray-700);
}

.about-page__prose p {
    margin: 0 0 1.1rem;
}

.about-page__prose p:last-child {
    margin-bottom: 0;
}

.about-page__rule {
    border: none;
    border-top: 1px solid var(--about-rule);
    margin: clamp(28px, 5vw, 48px) 0;
}

.about-page__section-title {
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    line-height: 1.35;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 clamp(20px, 3vw, 32px);
}

.about-page__mgmt {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
    margin-bottom: clamp(28px, 5vw, 48px);
}

.about-page__mgmt-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: var(--gray-800);
}

.about-page__mgmt-text strong {
    font-weight: 700;
}

.about-page__mgmt-img {
    margin: 0;
    flex-shrink: 0;
}

.about-page__mgmt-img img {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.about-page__network-title {
    text-align: center;
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: clamp(24px, 4vw, 40px) 0 clamp(20px, 3vw, 32px);
    color: var(--gray-900);
}

.about-network__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 28px);
    margin-bottom: clamp(16px, 3vw, 28px);
}

.about-network__grid--single {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.about-network__card {
    text-align: center;
}

.about-network__flag {
    margin: 0 auto 12px;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    
}

.about-network__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-network__card-title {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--about-accent);
}

.about-network__card-title--sm {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.about-network__card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--gray-700);
}

.about-page__map {
    margin: clamp(24px, 4vw, 40px) 0 0;
}

.about-page__map img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .about-page__intro {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .about-page__figure img {
        max-width: 260px;
        margin: 0 auto;
    }

    .about-page__mgmt {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-page__mgmt-img {
        justify-self: center;
    }

    .about-network__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .about-network__grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-network__flag {
        width: 88px;
        height: 88px;
    }
}
