/*
 * OECO Design System 0.4.2
 * Open Education · Consulting · Optimization
 */

:root {
    --oeco-blue: #0b4aa2;
    --oeco-blue-dark: #083b84;
    --oeco-turquoise: #10c3c6;
    --oeco-dark: #13233a;
    --oeco-grey: #6b7280;
    --oeco-light: #f4f8fa;
    --oeco-white: #ffffff;
    --oeco-border: rgba(19, 35, 58, 0.10);
    --oeco-shadow: 0 14px 36px rgba(19, 35, 58, 0.08);

    --oeco-radius-sm: 10px;
    --oeco-radius: 16px;
    --oeco-radius-lg: 24px;

    --oeco-gap: clamp(1.25rem, 2vw, 1.75rem);
    --oeco-section-space: clamp(4rem, 7vw, 6rem);
    --oeco-content-width: 760px;
    --oeco-wide-width: 1240px;

    --oeco-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Global typography ---------- */
body:not(.wp-admin),
.editor-styles-wrapper {
    color: var(--oeco-dark);
    font-family: var(--oeco-font);
    font-size: 1.125rem;
    line-height: 1.6;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :where(h1, h2, h3, h4, h5, h6) {
    color: var(--oeco-dark);
    font-family: var(--oeco-font);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-transform: none;
}

:where(.wp-site-blocks, .editor-styles-wrapper) h1 {
    font-size: clamp(2.6rem, 5.2vw, 4rem);
}

:where(.wp-site-blocks, .editor-styles-wrapper) h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
}

:where(.wp-site-blocks, .editor-styles-wrapper) h3 {
    font-size: clamp(1.4rem, 2vw, 1.75rem);
}

:where(.wp-site-blocks, .editor-styles-wrapper) h4 {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}

:where(.wp-site-blocks, .editor-styles-wrapper) p {
    text-transform: none;
}

:where(.wp-site-blocks, .editor-styles-wrapper) a {
    color: var(--oeco-blue);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
    transition: color 180ms ease;
}

:where(.wp-site-blocks, .editor-styles-wrapper) a:hover {
    color: var(--oeco-turquoise);
}

/* ---------- Header / navigation ---------- */
.wp-site-blocks header.wp-block-template-part {
    position: relative;
    z-index: 20;
    background: var(--oeco-white);
    border-bottom: 1px solid var(--oeco-border);
}

.wp-site-blocks header.wp-block-template-part .wp-block-site-logo img {
    width: auto;
    max-height: 56px;
}

.wp-site-blocks header.wp-block-template-part .wp-block-navigation-item__content {
    color: var(--oeco-dark);
    font-family: var(--oeco-font);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}

.wp-site-blocks header.wp-block-template-part .wp-block-navigation-item__content:hover,
.wp-site-blocks header.wp-block-template-part .current-menu-item > .wp-block-navigation-item__content {
    color: var(--oeco-blue);
}

/* ---------- Buttons ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-button__link {
    background: var(--oeco-blue);
    border: 1.5px solid var(--oeco-blue);
    border-radius: var(--oeco-radius-sm);
    color: var(--oeco-white);
    font-family: var(--oeco-font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.1;
    padding: 0.8rem 1.45rem;
    text-transform: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-button__link:hover {
    background: var(--oeco-turquoise);
    border-color: var(--oeco-turquoise);
    color: var(--oeco-white);
    transform: translateY(-1px);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-button__link:focus-visible,
:where(.wp-site-blocks, .editor-styles-wrapper) a:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--oeco-turquoise) 60%, white);
    outline-offset: 3px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-button.is-style-oeco-secondary .wp-block-button__link {
    background: transparent;
    border-color: var(--oeco-blue);
    color: var(--oeco-blue);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-button.is-style-oeco-secondary .wp-block-button__link:hover {
    background: var(--oeco-light);
    border-color: var(--oeco-turquoise);
    color: var(--oeco-blue-dark);
}

/* ---------- Reusable section styles ---------- */
/* Hero: one consistent left edge instead of mixing WordPress content/wide widths. */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-hero {
    box-sizing: border-box;
    margin-inline: auto;
    max-width: var(--oeco-wide-width);
    padding-block: clamp(4rem, 9vw, 7.5rem);
    width: calc(100% - clamp(2rem, 6vw, 5rem));
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-hero > * {
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 980px;
    width: 100%;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-hero p:not(.is-style-oeco-eyebrow) {
    max-width: 66ch;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-section-light {
    background: var(--oeco-light);
    padding-block: var(--oeco-section-space);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-section-light.alignfull {
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-section-white {
    background: var(--oeco-white);
    padding-block: var(--oeco-section-space);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-section-white.alignfull {
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

/* Centered inner content for full-width sections.
 * Direct children use the same left edge; WordPress' default constrained-layout
 * centering no longer makes headings, paragraphs and columns jump horizontally. */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-container {
    box-sizing: border-box;
    margin-inline: auto;
    max-width: var(--oeco-wide-width);
    width: calc(100% - clamp(2rem, 6vw, 5rem));
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-container > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none;
    width: 100%;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-container > p:not(.is-style-oeco-eyebrow) {
    max-width: 72ch;
}

/* Small label above section headings */
:where(.wp-site-blocks, .editor-styles-wrapper) p.is-style-oeco-eyebrow {
    color: var(--oeco-blue);
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.015em;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    text-transform: none;
}


/* ---------- Lead / Leitsatz ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) p.is-style-oeco-lead {
    color: var(--oeco-blue);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-style: normal;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 0.5rem;
    margin-bottom: 1.4rem;
    max-width: 58ch;
}

/* ---------- Cards ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-columns.is-style-oeco-cards {
    align-items: stretch;
    gap: var(--oeco-gap);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-columns.is-style-oeco-cards > .wp-block-column {
    display: flex;
    flex: 1 1 0 !important;
    min-width: 0;
    width: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-columns.is-style-oeco-cards > .wp-block-column > .wp-block-group {
    flex: 1 1 auto;
    height: 100%;
    width: 100%;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-card,
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-project-card,
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-person-card {
    background: var(--oeco-white);
    border: 1px solid var(--oeco-border);
    border-radius: var(--oeco-radius);
    box-sizing: border-box;
    height: 100%;
    padding: clamp(1.35rem, 2.2vw, 1.8rem);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-card {
    box-shadow: var(--oeco-shadow);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-card::before {
    background: linear-gradient(90deg, var(--oeco-blue), var(--oeco-turquoise));
    border-radius: 999px;
    content: "";
    display: block;
    height: 4px;
    margin-bottom: 1.25rem;
    width: 48px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-card h3,
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-project-card h3 {
    margin-top: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-card p,
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-project-card p,
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-person-card p {
    font-size: 1rem;
    line-height: 1.6;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-card p:first-of-type {
    font-size: 1.075rem;
}

/* Project cards: consistent vertical rhythm and aligned actions. */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-project-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-project-card > * {
    margin-block: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-project-card > .wp-block-buttons:last-child {
    margin-top: auto;
    padding-top: 0.5rem;
}

/* OECO accent line: automatically shown on project cards and available as a standalone separator style. */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-project-card::before {
    background: linear-gradient(90deg, var(--oeco-blue), var(--oeco-turquoise));
    border-radius: 999px;
    content: "";
    display: block;
    height: 4px;
    margin-bottom: 1.25rem;
    width: 48px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-separator.is-style-oeco-accent-line {
    background: linear-gradient(90deg, var(--oeco-blue), var(--oeco-turquoise));
    border: 0;
    border-radius: 999px;
    height: 4px;
    margin-left: 0;
    margin-right: auto;
    opacity: 1;
    width: 48px;
}

.wp-site-blocks .wp-block-group.is-style-oeco-project-card:hover {
    border-color: color-mix(in srgb, var(--oeco-turquoise) 50%, var(--oeco-border));
    box-shadow: var(--oeco-shadow);
    transform: translateY(-3px);
}

/* Person profiles: equal rhythm, consistent images and compact metadata. */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-person-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-person-card > * {
    margin-block: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-person-card img {
    aspect-ratio: 4 / 3;
    border-radius: var(--oeco-radius-sm);
    object-fit: cover;
    width: 100%;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-person-card h3 {
    margin-top: 0.15rem;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-person-card h3 + p {
    color: var(--oeco-grey);
    font-size: 1.05rem;
    font-style: italic;
}

/* ---------- Tags / badges ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-tags {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-tags > p,
:where(.wp-site-blocks, .editor-styles-wrapper) p.is-style-oeco-tag {
    background: #eef4fb;
    border: 1px solid color-mix(in srgb, var(--oeco-blue) 12%, transparent);
    border-radius: 999px;
    color: var(--oeco-blue);
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    min-height: 0;
    padding: 0.14rem 0.52rem;
    width: auto;
}

/* ---------- Benefits / reasons ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-benefit {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-benefit > * {
    margin-block: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-benefit > p:first-child {
    color: var(--oeco-blue);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-benefit > p:first-child::after {
    background: linear-gradient(90deg, var(--oeco-blue), var(--oeco-turquoise));
    border-radius: 999px;
    content: "";
    display: block;
    height: 3px;
    margin-top: 0.6rem;
    width: 32px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-benefit h3 {
    margin-top: 0.2rem;
}

/* ---------- Split layouts ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-columns.is-style-oeco-split {
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

/* ---------- Actions / CTA ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-buttons.is-style-oeco-actions {
    gap: 0.85rem;
    margin-top: 1.75rem;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-cta {
    background: linear-gradient(135deg, var(--oeco-blue) 0%, var(--oeco-blue-dark) 100%);
    border-radius: var(--oeco-radius-lg);
    color: var(--oeco-white);
    padding: clamp(2.25rem, 5vw, 4rem);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-cta > * {
    max-width: 860px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-cta > .wp-block-buttons {
    max-width: none;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-cta :where(h1, h2, h3, h4, p) {
    color: var(--oeco-white);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-cta a:not(.wp-block-button__link) {
    color: var(--oeco-white);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-cta .wp-block-button__link {
    background: var(--oeco-white);
    border-color: var(--oeco-white);
    color: var(--oeco-blue);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-cta .wp-block-button__link:hover {
    background: var(--oeco-turquoise);
    border-color: var(--oeco-turquoise);
    color: var(--oeco-dark);
}


/* ---------- Protected e-mail links ---------- */
.oeco-email-action .oeco-protected-email[aria-disabled="true"] {
    cursor: wait;
    opacity: 0.75;
}

/* Keep visible protected e-mail addresses typographically identical to surrounding body text. */
:where(.wp-site-blocks, .editor-styles-wrapper) .oeco-email-text,
:where(.wp-site-blocks, .editor-styles-wrapper) .oeco-email-prefix,
:where(.wp-site-blocks, .editor-styles-wrapper) .oeco-protected-email-text {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-transform: inherit;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .oeco-email-text {
    color: inherit;
}

/* ---------- Forms ---------- */
.wp-site-blocks :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select) {
    background: var(--oeco-white);
    border: 1px solid rgba(19, 35, 58, 0.22);
    border-radius: var(--oeco-radius-sm);
    color: var(--oeco-dark);
    font: inherit;
    padding: 0.75rem 0.9rem;
    width: 100%;
}

.wp-site-blocks :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select):focus {
    border-color: var(--oeco-blue);
    box-shadow: 0 0 0 3px rgba(16, 195, 198, 0.18);
    outline: none;
}

/* ---------- Footer ---------- */
.wp-site-blocks footer.wp-block-template-part {
    background: var(--oeco-dark);
    color: var(--oeco-white);
}

.wp-site-blocks footer.wp-block-template-part :where(h1, h2, h3, h4, p, li) {
    color: var(--oeco-white);
}

.wp-site-blocks footer.wp-block-template-part a {
    color: var(--oeco-white);
}

.wp-site-blocks footer.wp-block-template-part a:hover {
    color: var(--oeco-turquoise);
}


/* ---------- Header layout & main navigation ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    justify-content: space-between;
    margin-inline: auto;
    min-height: 88px;
    max-width: var(--oeco-wide-width);
    width: calc(100% - clamp(2rem, 6vw, 5rem));
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row .wp-block-site-logo {
    flex: 0 0 auto;
    margin: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row .wp-block-site-logo img {
    display: block;
    height: auto;
    max-height: 54px;
    width: auto;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-navigation.is-style-oeco-main-nav {
    font-family: var(--oeco-font);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-navigation.is-style-oeco-main-nav .wp-block-navigation__container {
    align-items: center;
    column-gap: 1.5rem;
    flex-wrap: nowrap;
    row-gap: 0.5rem;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-navigation.is-style-oeco-main-nav .wp-block-navigation-item__content {
    color: var(--oeco-dark);
    font-family: var(--oeco-font);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    padding-block: 0.35rem;
    text-decoration: none;
    white-space: nowrap;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-navigation.is-style-oeco-main-nav .wp-block-navigation-item__content:hover,
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-navigation.is-style-oeco-main-nav .current-menu-item > .wp-block-navigation-item__content {
    color: var(--oeco-blue);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row > .wp-block-group:last-child,
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row > .wp-block-buttons:last-child {
    align-items: center;
}

:where(.wp-site-blocks, .editor-styles-wrapper) header.wp-block-template-part .wp-block-button__link {
    font-size: 0.95rem;
    padding: 0.72rem 1.15rem;
    white-space: nowrap;
}

/* Navigation overlay on phones/tablets */
.wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--oeco-white);
    color: var(--oeco-dark);
    padding: 1.5rem;
}

.wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: flex-start;
    gap: 1.1rem;
}

.wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    align-items: flex-start;
    gap: 0.8rem;
}

.wp-site-blocks header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    color: var(--oeco-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ---------- Footer navigation ---------- */
:where(.wp-site-blocks, .editor-styles-wrapper) footer.wp-block-template-part .wp-block-navigation.is-style-oeco-footer-nav {
    font-family: var(--oeco-font);
    font-size: 1rem;
    font-weight: 500;
}

:where(.wp-site-blocks, .editor-styles-wrapper) footer.wp-block-template-part .wp-block-navigation.is-style-oeco-footer-nav .wp-block-navigation__container {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
}

:where(.wp-site-blocks, .editor-styles-wrapper) footer.wp-block-template-part .wp-block-navigation.is-style-oeco-footer-nav .wp-block-navigation-item__content {
    color: var(--oeco-white);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
    padding: 0;
    text-decoration: none;
}

:where(.wp-site-blocks, .editor-styles-wrapper) footer.wp-block-template-part .wp-block-navigation.is-style-oeco-footer-nav .wp-block-navigation-item__content:hover {
    color: var(--oeco-turquoise);
}

/* Tags: final compact version */
:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-tags > p,
:where(.wp-site-blocks, .editor-styles-wrapper) p.is-style-oeco-tag {
    font-size: 0.72rem;
    line-height: 1;
    padding: 0.08rem 0.48rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-navigation.is-style-oeco-main-nav .wp-block-navigation__container {
        column-gap: 1rem;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-navigation.is-style-oeco-main-nav .wp-block-navigation-item__content {
        font-size: 0.94rem;
    }
}

@media (max-width: 900px) {
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-columns.is-style-oeco-cards,
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-columns.is-style-oeco-split {
        gap: 1.25rem;
    }
}

@media (max-width: 781px) {
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row {
        gap: 0.75rem;
        min-height: 76px;
        width: calc(100% - 2rem);
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row .wp-block-site-logo img {
        max-height: 46px;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-columns.is-style-oeco-cards {
        flex-direction: column;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-columns.is-style-oeco-cards > .wp-block-column {
        flex: 0 0 100% !important;
        width: 100%;
    }

    body:not(.wp-admin),
    .editor-styles-wrapper {
        font-size: 1rem;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-hero,
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-container {
        width: calc(100% - 2rem);
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-hero {
        padding-block: 3.5rem;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-section-light,
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-section-white {
        padding-block: 3.5rem;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-container {
        width: calc(100% - 2rem);
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-card,
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-project-card,
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-person-card {
        padding: 1.35rem;
    }
}

@media (max-width: 600px) {
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row {
        width: calc(100% - 1.5rem);
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-group.is-style-oeco-header-row .wp-block-site-logo img {
        max-height: 40px;
    }

    .wp-site-blocks header.wp-block-template-part .wp-block-button__link {
        font-size: 0.84rem;
        padding: 0.58rem 0.78rem;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-buttons.is-style-oeco-actions {
        align-items: stretch;
        flex-direction: column;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-buttons.is-style-oeco-actions .wp-block-button,
    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-buttons.is-style-oeco-actions .wp-block-button__link {
        width: 100%;
    }

    :where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-buttons.is-style-oeco-actions .wp-block-button__link {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    :where(.wp-site-blocks, .editor-styles-wrapper) *,
    :where(.wp-site-blocks, .editor-styles-wrapper) *::before,
    :where(.wp-site-blocks, .editor-styles-wrapper) *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
