/* About page: the story reuses the homepage about layout (about.css); the principles panel is a white card band with
 * the heading on the left and a ruled list on the right — big primary numerals, a small label, title and one line. */
.ocf-about-story .prose h3 { margin: 24px 0 8px; }

.ocf-principles-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: clamp(48px, 6.7vw, 96px);
    align-items: start;
}

.ocf-principles-head { position: sticky; top: var(--lisbon-sticky-top); }

.ocf-principles-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--ocf-border);
}

.ocf-principle {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0 8px;
    align-items: start;
    padding: 36px 0;
    border-top: 1px solid var(--ocf-border);
}

.ocf-principle__num {
    color: var(--ocf-primary);
    font-family: var(--ocf-font-heading), system-ui, sans-serif;
    font-size: clamp(36px, 4.4vw, 64px);
    font-weight: var(--ocf-font-h1-weight, 800);
    letter-spacing: -0.03em;
    line-height: 0.9;
}

.ocf-principle__label {
    margin-bottom: 8px;
    color: var(--ocf-link);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ocf-principle h3 { font-size: clamp(24px, 2.2vw, 32px); }

.ocf-principle__text {
    margin-top: 10px;
    font-size: calc(var(--font-body-size) * 1.06);
    line-height: 1.55;
}

@media (max-width: 1023px) {
    .ocf-principles-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ocf-principles-head { position: static; }
    .ocf-principle { grid-template-columns: 84px minmax(0, 1fr); padding: 28px 0; }
}

@media (max-width: 639px) {
    .ocf-principle { grid-template-columns: 52px minmax(0, 1fr); padding: 24px 0; }
}

/* OCF_AGENT_BLOCK:about-google-review-strip START */
.ocf-about-story .about-testimonial-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
}

.ocf-about-story .about-testimonial-strip blockquote {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--ocf-border);
    border-radius: var(--card-radius);
    background: var(--ocf-bg-alt);
    font-size: 0.9em;
}

.ocf-about-story .about-testimonial-strip blockquote p { margin-bottom: 14px; }
.ocf-about-story .about-testimonial-strip cite { color: var(--ocf-heading); font-style: normal; font-weight: 700; }

@media (max-width: 900px) {
    .ocf-about-story .about-testimonial-strip { grid-template-columns: minmax(0, 1fr); }
}
/* OCF_AGENT_BLOCK:about-google-review-strip END */

/* OCF_AGENT_BLOCK:about-google-reviews START */
.ocf-about-reviews { background: var(--ocf-bg-alt); }
.ocf-about-reviews__heading { text-align: center; }
.ocf-about-reviews .about-testimonial-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: min(100%, 920px);
    margin: 32px auto 0;
}
.ocf-about-reviews .about-testimonial-strip blockquote {
    margin: 0;
    padding: 24px 28px;
    border: 1px solid var(--ocf-border);
    border-radius: 8px;
    background: var(--ocf-bg);
    box-shadow: 0 1px 2px rgb(60 64 67 / 12%);
}
.ocf-about-reviews .about-testimonial-strip blockquote::before {
    display: block;
    margin-bottom: 14px;
    color: #4285f4;
    content: "Google review";
    font-size: 14px;
    font-weight: 600;
}
.ocf-about-reviews .about-testimonial-strip blockquote p { margin-bottom: 14px; }
.ocf-about-reviews .about-testimonial-strip cite {
    color: var(--ocf-heading);
    font-style: normal;
    font-weight: 700;
}
/* OCF_AGENT_BLOCK:about-google-reviews END */

/* OCF_AGENT_BLOCK:about-profile-photo START */
.ocf-about-photos {
    display: grid;
    align-self: start;
    gap: 24px;
}

.ocf-about-profile-photo {
    width: min(100%, 280px);
    margin: 0;
    overflow: hidden;
    border-radius: var(--image-radius);
}

.ocf-about-profile-photo img {
    display: block;
    width: 100%;
    height: auto;
}
/* OCF_AGENT_BLOCK:about-profile-photo END */

/* OCF_AGENT_BLOCK:about-profile-photo-width START */
/* Make the profile photo fill the column so it matches the laptop image above it */
.ocf-about-profile-photo {
    width: 100%;
}
/* OCF_AGENT_BLOCK:about-profile-photo-width END */
