/* ==========================================================================
   New design (Carrot, Oct 2026): Portfolio (10), About Us (12), Green Responsibility (13-17)
   Square photo with a white title, 2 x 2 photo squares, text pages (intro, photos and paragraphs in turn,
   "Continue reading"). Values from the delivered prototype (app.css .ct-hero, .ct-plain-*, .ct-links,
   .pf-hub-*, .gr-squares-*). Loaded only for Preview users.
   ========================================================================== */

.s2-content {
    background: #fff;
    font-family: var(--s2-font);
}

/* ---------- Square photo with the title in the middle ---------- */
.s2-hero {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #E6EDF3;
}
.s2-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.s2-hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 20px;
    text-align: center;
}
.s2-hero-title {
    margin: 0;
    font-family: var(--s2-font);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
/* "Towards a Better Future": smaller, as in the client's draft */
.s2-hero-sm .s2-hero-title {
    font-size: 29px;
}
[data-s2-fx].fx-in .s2-hero-title {
    animation: s2LogoRise 0.6s var(--s2-ease-out) calc(var(--fx-d, 0s) + 0.4s) both;
}

/* ---------- 2 x 2 squares right under the photo ---------- */
.s2-square-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: 4px;
}

/* ---------- Text pages ---------- */
.s2-content-text {
    padding: 22px 20px;
    text-align: left;
}
.s2-content-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--s2-indigo-dark);
}
.s2-content-text p + p {
    margin-top: 0.8em;
}
.s2-content-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--s2-light-gray);
}
.s2-content-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Continue reading ---------- */
.s2-content-links {
    margin: 30px 0 24px;
    border-top: 1px solid var(--s2-border);
}
.s2-content-kicker {
    display: block;
    margin: 0 0 4px;
    padding: 16px 16px 6px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--s2-text-light);
}
.s2-content-links .s2-browse-row {
    animation: none;
}

/* ---------- Contacts (18): title, "Get in touch", numbered offices with a dash list ---------- */
.s2-col-head {
    padding: 24px 16px 14px;
    text-align: center;
}
.s2-col-intro {
    padding: 0 20px 6px;
    text-align: center;
}
.s2-col-intro p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--s2-indigo-dark);
}
.s2-col-intro .s2-col-lead {
    font-size: 18px;
    font-weight: 600;
    color: var(--s2-indigo);
}
.s2-office {
    margin-top: 28px;
}
.s2-office-text {
    padding: 16px 16px 0;
}
.s2-office-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--s2-blue);
}
.s2-office-title {
    margin: 4px 0 8px;
    font-family: var(--s2-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--s2-indigo);
}
.s2-office-sub {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--s2-blue);
}
.s2-office-list {
    margin: 4px 0 6px;
    padding: 0;
    list-style: none;
}
.s2-office-list li {
    position: relative;
    padding: 6px 0 6px 18px;
    border-bottom: 1px solid var(--s2-border);
    font-size: 13px;
    line-height: 1.45;
    color: var(--s2-indigo-dark);
}
.s2-office-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 2px;
    background: var(--s2-indigo);
}
.s2-office-list a {
    color: inherit;
    text-decoration: none;
}
