/**
 * piimarket — About Us template styles.
 * Loaded only on pages using the "About Us" template.
 */

/*--------------------------------------------------------------
  First section — heading + intro
--------------------------------------------------------------*/
.about-first-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 0 3.5rem;
}

.about-title {
    flex: 0 0 auto;
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 400;
    color: var(--color-text);
}

.about-intro {
    flex: 0 1 48%;
    max-width: 48%;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--color-text);
}

/*--------------------------------------------------------------
  Second section — full-bleed light band, image + copy
--------------------------------------------------------------*/
.about-second {
    background: #f6f6f6;
}

.about-second-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 4rem 0;
}

.about-photo {
    flex: 1 1 50%;
    max-width: 50%;
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.about-content {
    flex: 1 1 42%;
    max-width: 42%;
    color: #4b5563;
    line-height: 1.7;
}

.about-content p {
    margin: 0 0 1.25rem;
}

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

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/
@media (max-width: 782px) {
    .about-first-head {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0 2.5rem;
    }

    .about-intro {
        flex-basis: auto;
        max-width: 100%;
    }

    .about-second-inner {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 0;
    }

    .about-photo,
    .about-content {
        flex-basis: auto;
        max-width: 100%;
    }
}
