/* Shared public screens follow the selected homepage. CMS component colors load afterwards. */
@media screen {
  html:has(#public-component-colors[data-renderer="onekids-landing-v1"]) {
    --shell-head: #fff; --shell-head-ink: #123f78; --shell-ink: #123f78;
    --shell-accent: #0866ed; --shell-pale: #edf5ff; --shell-night: #0067e4;
    --shell-hero: linear-gradient(135deg,#f5f9ff,#eaf3ff); --shell-hero-ink: #123f78;
  }
  html:has(#public-component-colors[data-renderer="oneschool-landing-v1"]) {
    --shell-head: #fff; --shell-head-ink: #10213d; --shell-ink: #10213d;
    --shell-accent: #157753; --shell-pale: #eef7f4; --shell-night: #07142f;
    --shell-hero: linear-gradient(120deg,#f5faf8,#eaf4f2 65%,#ecf2fc); --shell-hero-ink: #10213d;
  }
  html:has(#public-component-colors[data-renderer="onecamplus-landing-v1"]) {
    --shell-head: #06101f; --shell-head-ink: #edf5ff; --shell-ink: #10213c;
    --shell-accent: #075cc0; --shell-pale: #e9f5fb; --shell-night: #030913;
    --shell-hero: radial-gradient(ellipse at 82% 30%,#153759,transparent 66%),#06152b; --shell-hero-ink: #e6f3ff;
  }
  @media (max-width: 860px) {
    html:has(#public-component-colors:is([data-renderer="onekids-landing-v1"],[data-renderer="oneschool-landing-v1"],[data-renderer="onecamplus-landing-v1"])) .public-header.public-topbar:has(> .public-topbar__contact) .public-brand {
      flex-direction: row; gap: 6px; min-width: 44px; max-width: min(10rem,36vw);
    }
    html:has(#public-component-colors:is([data-renderer="onekids-landing-v1"],[data-renderer="oneschool-landing-v1"],[data-renderer="onecamplus-landing-v1"])) body.generic-site .public-header.public-topbar:has(> .public-topbar__contact) .public-brand img:is(.shell-stock-mark,.shell-media-logo) {
      flex: none; width: auto; height: 32px; max-width: 46px; object-fit: contain;
    }
    html:has(#public-component-colors:is([data-renderer="onekids-landing-v1"],[data-renderer="oneschool-landing-v1"],[data-renderer="onecamplus-landing-v1"])) .public-header.public-topbar:has(> .public-topbar__contact) .public-brand .shell-brand-name {
      display: block; min-width: 0; max-width: 6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.2;
    }
    html:has(#public-component-colors[data-renderer="onecamplus-landing-v1"]) .public-header.public-topbar:has(> .public-topbar__contact) .public-brand { max-width: clamp(8rem,36vw,10rem); }
  }
  html:has(#public-component-colors[data-renderer="onegroup-corporate-v1"]) {
    --shell-head: #08141b; --shell-head-ink: #f2f8f8; --shell-ink: #11232d;
    --shell-accent: #086e70; --shell-pale: #edf5f5; --shell-night: #08141b;
    --shell-hero: radial-gradient(ellipse at 82% 35%,#193a46,transparent 68%),#08141b; --shell-hero-ink: #eff6f6;
  }
  html:has(#public-component-colors[data-renderer="onemeta-corporate-v1"]) {
    --shell-head: #f9f8f5; --shell-head-ink: #211e38; --shell-ink: #211e38;
    --shell-accent: #423bb0; --shell-pale: #f0eff7; --shell-night: #201d36;
    --shell-hero: linear-gradient(115deg,#f8f7f3,#f4f3f6 60%,#e9e7f3); --shell-hero-ink: #211e38;
  }

  :is(.corp-footer,.site-footer--camera) > .footer-settings-social { padding-block: .25rem 1.5rem; }
  .footer-settings-social > .footer-social { justify-content: flex-end; }
  :is(.corp-footer,.site-footer--camera) .footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; min-width: 0; color: var(--ow-footer-text,inherit); }
  :is(.corp-footer,.site-footer--camera) .footer-social > h2 { display: block; margin: 0; font: inherit; font-size: .85rem; font-weight: 600; letter-spacing: 0; line-height: 1.5; }
  :is(.corp-footer,.site-footer--camera) .footer-social__links { display: flex; flex-wrap: wrap; gap: .5rem; max-width: none; justify-content: flex-start; }
  :is(.corp-footer,.site-footer--camera) .footer-social__links a { display: inline-grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid color-mix(in srgb,currentColor 38%,transparent); border-radius: 50%; background: transparent; color: var(--ow-footer-text,inherit); text-decoration: none; }
  :is(.corp-footer,.site-footer--camera) .footer-social__links a:is(:hover,:focus-visible) { border-color: currentColor; background: color-mix(in srgb,currentColor 12%,transparent); color: var(--ow-footer-text,inherit); text-decoration: none; }
  :is(.corp-footer,.site-footer--camera) .footer-social__links a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #101820; }
  :is(.corp-footer,.site-footer--camera) .footer-social__links svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  @media (max-width: 560px) {
    .footer-settings-social > .footer-social { justify-content: flex-start; }
    :is(.corp-footer,.site-footer--camera) .footer-social__links a { width: 2.75rem; height: 2.75rem; }
  }

  html:has(#public-component-colors[data-renderer^="one"]:not([data-renderer*="legacy"])) body.generic-site {
    --ok-blue: var(--shell-accent);
    --ok-navy: var(--shell-ink);
    --ok-pale: var(--shell-pale);
    --ok-soft: color-mix(in srgb,var(--shell-pale) 55%,white);
    --brand: var(--shell-accent);
    --brand-dark: var(--shell-ink);
    --brand-soft: var(--shell-pale);
    --article-blue: var(--shell-accent);
    --article-text: var(--shell-ink);
    --article-purple: var(--shell-accent);
    --contact-ink: var(--shell-ink);
    --about-ink: var(--shell-ink);

    & :is(.gs-header,.public-topbar) {
      background: var(--shell-head);
      color: var(--shell-head-ink);
      border-color: color-mix(in srgb,var(--shell-head-ink) 16%,var(--shell-head));
    }
    & :is(.gs-brand,.public-brand,.gs-menu-toggle,.gs-navigation a) { color: var(--shell-head-ink); }
    & .gs-navigation { background: var(--shell-head); }
    & .gs-navigation a:is(:hover,:focus-visible,[aria-current="page"]) {
      background: color-mix(in srgb,var(--shell-head-ink) 8%,var(--shell-head));
      color: var(--shell-head-ink);
      text-decoration: underline;
      text-underline-offset: .26em;
    }
    & :is(.about-hero,.contact-hero),
    & > .gs-header ~ .hero {
      background: var(--shell-hero);
      color: var(--shell-hero-ink);
    }
    & :is(.about-hero,.contact-hero) :is(h1,.about-breadcrumbs,.about-breadcrumbs a,.eyebrow,.about-hero__description),
    & .contact-hero__copy > p:not(.eyebrow), & > .gs-header ~ .hero .hero-description {
      color: var(--shell-hero-ink);
    }
    & .contact-hero__panel {
      border-color: color-mix(in srgb,var(--shell-hero-ink) 25%,transparent);
      background: color-mix(in srgb,var(--shell-hero-ink) 7%,transparent);
      color: var(--shell-hero-ink);
    }
    & .contact-hero__panel strong { color: inherit; }
    & .contact-hero__actions .btn-ghost {
      border-color: color-mix(in srgb,var(--shell-hero-ink) 42%,transparent);
      background: transparent;
      color: var(--shell-hero-ink);
    }
    & .gb-page { --gb-color: var(--shell-ink); --gb-accent: var(--shell-accent); }
    & .gb-type-hero:not([class*="-background-"]):not(:has(> .gb-background-image)) .gb-title::before {
      content: "";
      display: block;
      width: 2.75rem;
      height: .22rem;
      margin-bottom: .85rem;
      border-radius: .25rem;
      background: var(--shell-accent);
    }
    & .docs-public-card__icon { background: var(--shell-pale); color: var(--shell-accent); }
    & .docs-public-card h2 a:hover { color: var(--shell-accent); }
    & .site-footer:not(.site-footer--onekids) {
      --footer-surface: var(--shell-night);
      background: var(--shell-night);
      color: #f2f5f8;
    }
    & .site-footer:not(.site-footer--onekids) .brand { font-family: inherit; }
    & .site-footer:not(.site-footer--onekids) .footer-bottom { background: transparent; }

    & :is(.gs-brand,.public-brand,.footer-brand .brand) img.shell-wordmark { width: auto; height: auto; max-width: min(12rem,37vw); max-height: 2.75rem; object-fit: contain; border-radius: 0; }
    & :is(.gs-brand,.public-brand) img[src$="/assets/onekids/brand/logo-menu.png"] { width: 114px; height: 42px; margin-inline: -28px -23px; object-fit: contain; }
    & :is(.gs-brand,.public-brand,.footer-brand .brand) img.shell-media-logo { width: auto; max-width: min(7.5rem,24vw); height: 2.65rem; object-fit: contain; border-radius: 0; }
    & .public-brand img:is([src$="/assets/templates/corporate/onegroup-logo.png"],[src$="/assets/templates/corporate/onegroup-logo-dark.png"],[src$="/assets/templates/corporate/onemeta-logo.png"]),
    & .corp-brand img.shell-wordmark {
      width: auto; max-width: min(12rem,37vw); height: auto; max-height: 2.75rem; object-fit: contain; border-radius: 0;
    }
    & .public-brand img:is([src$="/assets/templates/corporate/onegroup-logo.png"],[src$="/assets/templates/corporate/onegroup-logo-dark.png"],[src$="/assets/templates/corporate/onemeta-logo.png"]) + strong {
      position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
    @media (max-width: 860px) {
      & .public-header.public-topbar[data-news-menu] .public-brand img.shell-wordmark { max-width: 6rem; }
      & .public-header.public-topbar:has(> .public-topbar__contact) .public-brand img.onekids-brand-mark {
        flex: none; width: 46px; height: 30px; margin: 0; object-fit: cover;
      }
    }
    & .shell-brand-name { font-family: inherit; line-height: 1.15; overflow-wrap: anywhere; }
    & .corp-footer { margin: 0; padding: 0; border-top: 1px solid #ffffff35; background: var(--shell-night); color: #eef3f4; }
    & .corp-footer .corp-wrap:where(:not(.footer-settings-social)) { width: min(85rem,calc(100% - clamp(2.5rem,13.2vw,14rem))); margin-inline: auto; }
    & .corp-footer-row, & .corp-legal {
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem 2rem;
    }
    & .corp-footer-row { padding-block: 2.1rem; }
    & .corp-footer .corp-brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; color: inherit; font-size: 1.3rem; }
    & .corp-footer .shell-media-logo { height: 2.4rem; width: auto; max-width: min(8rem,30vw); object-fit: contain; }
    & .corp-footer img[src$="/assets/templates/corporate/onemeta-logo.png"] { background: #fff; border-radius: .3rem; padding: .3rem .6rem; }
    & .corp-footer-nav { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; font-size: .9rem; }
    & .corp-footer a { text-decoration: none; color: inherit; }
    & .corp-footer a:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: .35em; }
    & .corp-legal { padding-block: 1.2rem; border-top: 1px solid #ffffff35; font-size: .8rem; }
    & .shell-corporate-symbol { display: inline-flex; align-items: end; gap: .12em; height: 1.25em; width: 1.25em; flex: none; }
    & .shell-corporate-symbol i { display: block; width: 25%; background: currentColor; transform: skew(-19deg); }
    & .shell-corporate-symbol i:nth-child(1) { height: 33%; }
    & .shell-corporate-symbol i:nth-child(2) { height: 58%; }
    & .shell-corporate-symbol i:nth-child(3) { height: 83%; }
    & .site-footer--camera { padding: clamp(2.25rem,5vw,3.65rem) 0 1.5rem; }
    & .site-footer--camera > .container:where(:not(.footer-settings-social)) { width: min(77rem,calc(100% - 2.5rem)); margin-inline: auto; padding: 0; }
    & .site-footer--camera .footer-grid { grid-template-columns: 1.3fr repeat(3,minmax(0,.7fr)); gap: clamp(1rem,3.5vw,3rem); align-items: start; padding: 0; min-height: 0; }
    & .site-footer--camera .footer-brand { grid-column: auto; }
    & .site-footer--camera .footer-brand .brand { justify-self: start; }
    & .site-footer--camera .footer-brand p { margin-top: 1rem; color: #b2c2d3; text-align: start; font-size: .8rem; }
    & .site-footer--camera .footer-col h3 { margin: 0 0 1rem; color: #fff; font-size: .9rem; }
    & .site-footer--camera .footer-links { display: grid; gap: .55rem; }
    & .site-footer--camera :is(.footer-links,.footer-bottom) { color: #b2c2d3; font-size: .8rem; }
    & .site-footer--camera .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; margin: 2.4rem 0 0; padding: 1.2rem 0 0; border: 0; border-top: 1px solid #ffffff24; border-radius: 0; }
    & .site-footer--camera .footer-bottom-links { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
    & .site-footer--camera a { text-decoration: none; }
    & .site-footer--camera a:is(:hover,:focus-visible) { color: #70f7dd; text-decoration: underline; }
    @media (max-width: 900px) {
      & .site-footer--camera .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
      & .site-footer--camera .footer-col { min-width: 0; }
    }
    @media (max-width: 560px) {
      & .site-footer--camera .footer-grid { grid-template-columns: minmax(0,1fr); gap: 1.6rem; }
      & .corp-footer-row { align-items: start; }
      & .corp-footer .corp-brand { width: 100%; }
      & .public-brand img:is([src$="/assets/templates/corporate/onegroup-logo.png"],[src$="/assets/templates/corporate/onegroup-logo-dark.png"],[src$="/assets/templates/corporate/onemeta-logo.png"]) { max-width: min(6.5rem,22vw); }
    }
  }

  /* Align the live Settings links with footer navigation while retaining the published DOM. */
  html:has(#public-component-colors) {
    & body [data-public-page="privacy"] { --shell-accent: var(--ow-button-background); --gb-accent: var(--ow-button-background); --gb-color: var(--ow-text,var(--shell-ink,#132440)); color: var(--gb-color); }
    & body [data-public-page="privacy"] .gb-block { padding-block: clamp(1.5rem,3vw,3rem); }
    & body [data-public-page="privacy"] .gb-inner { max-width: 56rem; }
    & body [data-public-page="privacy"] .gb-title { max-width: none; margin-inline: 0; font-size: clamp(2rem,3vw,2.6rem); line-height: 1.2; letter-spacing: -.035em; }
    & body [data-public-page="privacy"] .gb-title::before { content: ""; display: block; width: 2.75rem; height: .22rem; margin-bottom: .85rem; border-radius: .25rem; background: var(--gb-accent); }
    & body [data-public-page="privacy"] .gb-description { max-width: none; margin-block: 1rem 1.5rem; font-size: 1.05rem; line-height: 1.7; }
    & body [data-public-page="privacy"] .gb-richtext { font-size: 1rem; line-height: 1.8; }
    & body [data-public-page="privacy"] .gb-richtext h2 { margin-block: 1.65rem .65rem; font-size: clamp(1.2rem,1.8vw,1.45rem); line-height: 1.35; letter-spacing: -.02em; }
    & body [data-public-page="privacy"] .gb-richtext :is(p,ul,ol) { margin-block: .8rem; }
    & body [data-public-page="privacy"] .gb-richtext a { text-underline-offset: .18em; overflow-wrap: anywhere; }
    & body [data-public-page="privacy"] :is(.gb-title,.gb-richtext h2) { color: var(--ow-heading,var(--gb-color)); }
    & body [data-public-page="privacy"] .gb-richtext a { color: var(--ow-link,var(--gb-accent)); scroll-margin-block: 6rem; }
    & body [data-public-page="privacy"] .gb-richtext a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: .1rem; }
    & body .corp-footer:has(> .footer-settings-social[data-footer-settings-social]) {
      --footer-row-gutter: max(clamp(1.25rem,6.6vw,7rem),calc((100% - 85rem) / 2));
      display: grid;
      grid-template-columns: var(--footer-row-gutter) minmax(0,1fr) clamp(1rem,2vw,2rem) fit-content(40%) var(--footer-row-gutter);
      grid-template-rows: auto auto auto;
      align-items: center;
      & > .corp-wrap:not(.footer-settings-social) { grid-area: 1 / 2 / 4 / 5; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; width: auto; max-width: none; margin: 0; }
      & .corp-footer-row { grid-area: 1 / 1 / 3 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; gap: 0; padding: 0; }
      & .corp-brand { grid-area: 1 / 1 / 2 / -1; padding-block: 1.25rem .75rem; }
      & .corp-footer-nav { grid-area: 2 / 1 / 3 / 2; align-self: center; justify-content: flex-start; padding-block: .75rem; }
      & .corp-legal { grid-area: 3 / 1 / 4 / -1; }
      & > .footer-settings-social { grid-area: 2 / 4 / 3 / 5; width: auto; max-width: none; margin: 0; padding-block: .75rem; }
      &:has(.corp-footer-contact) {
        grid-template-columns: var(--footer-row-gutter) minmax(0,1fr) clamp(.75rem,1.5vw,1.5rem) max-content clamp(.75rem,1.5vw,1.5rem) max-content var(--footer-row-gutter);
        & > .corp-wrap:not(.footer-settings-social) { grid-area: 1 / 2 / 4 / 7; }
        & > .footer-settings-social { grid-area: 2 / 2 / 4 / 7; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; padding: 0; pointer-events: none; }
        & .footer-settings-social > :is(.footer-social,.corp-footer-contact) { pointer-events: auto; }
        & .footer-social { grid-area: 1 / 3 / 2 / 6; max-inline-size: min(40vw,38rem); min-inline-size: 0; justify-self: end; padding-block: .75rem; }
        & .corp-legal { display: grid; grid-template-columns: subgrid; align-items: center; gap: 0; }
        & .corp-legal > span { grid-area: 1 / 5 / 2 / 6; justify-self: end; text-align: right; }
        & .corp-legal > a { grid-area: 1 / 3 / 2 / 4; justify-self: end; }
      }
    }
    & body .corp-footer-contact { grid-area: 2 / 1 / 3 / 2; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.5rem; min-width: 0; margin: 0; padding: .9rem 0; font-size: .8rem; font-style: normal; line-height: 1.5; }
    & body .corp-footer-contact__item { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; max-width: 100%; }
    & body .corp-footer-contact__item :is(a,span) { min-width: 0; overflow-wrap: anywhere; }
    & body .corp-footer-contact__item svg { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

    & body .site-footer--camera:has(> .footer-settings-social[data-footer-settings-social]) {
      --footer-row-gutter: max(1.25rem,calc((100% - 77rem) / 2));
      display: grid;
      grid-template-columns: var(--footer-row-gutter) minmax(0,1fr) clamp(1rem,2vw,2rem) fit-content(40%) var(--footer-row-gutter);
      grid-template-rows: auto auto auto;
      align-items: center;
      & > .container:not(.footer-settings-social) { grid-area: 1 / 2 / 4 / 5; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; width: auto; max-width: none; margin: 0; padding: 0; }
      & .footer-grid { grid-area: 1 / 1 / 2 / -1; padding-bottom: 1.5rem; }
      & > .container:not(.footer-settings-social) > .footer-bottom { grid-area: 2 / 1 / 4 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; gap: 0; margin: 0; padding: 0; border: 0; }
      & .footer-bottom > .footer-bottom-links { grid-area: 1 / 1 / 2 / 2; align-self: center; padding-block: 1rem; font-size: .82rem; }
      & .footer-bottom > span { grid-area: 2 / 1 / 3 / -1; padding-block: 1rem; border-top: 1px solid #ffffff24; }
      & > .footer-settings-social { grid-area: 2 / 4 / 3 / 5; width: auto; max-width: none; margin: 0; padding: 1rem 0; }
    }

    & body .site-footer:not(.site-footer--camera) .footer-grid:has(> .footer-social) {
      grid-template-columns: minmax(0,1fr) fit-content(40%);
      align-items: center;
      gap: 1.25rem 2rem;
      min-height: 0;
      & > .footer-brand { grid-area: 1 / 1 / 2 / -1; }
      & > .footer-menu { grid-area: 2 / 1 / 3 / 2; min-width: 0; margin: 0; }
      & > .footer-menu > h2 { display: none; }
      & > .footer-social { grid-area: 2 / 2 / 3 / 3; }
    }
    & body .site-footer .footer-shell:has(> .footer-social):not([data-ok-layout="stack"]) { grid-template-columns: minmax(0,1fr) fit-content(40%); }
    & body .site-footer .footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .85rem; min-width: 0; margin: 0; }
    & body .site-footer .footer-social > h2 { display: block; margin: 0; font-size: .85rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
    & body .site-footer .footer-social__links { max-width: none; justify-content: flex-start; }
    & body .site-footer .footer-menu__links { flex-direction: row; flex-wrap: wrap; gap: .65rem 1rem; }
    & body .site-footer .footer-contact__item { min-width: 0; max-width: 100%; }
    & body .site-footer .footer-contact__item a { min-width: 0; overflow-wrap: anywhere; }

    @media (max-width: 767px) {
      & body .corp-footer:has(> .footer-settings-social[data-footer-settings-social]),
      & body .site-footer--camera:has(> .footer-settings-social[data-footer-settings-social]) {
        grid-template-columns: var(--footer-row-gutter) minmax(0,1fr) var(--footer-row-gutter);
        grid-template-rows: auto auto auto auto;
        & > :is(.corp-wrap,.container):not(.footer-settings-social) { grid-area: 1 / 2 / 5 / 3; }
        & > .footer-settings-social { grid-area: 3 / 2 / 4 / 3; padding-block: .25rem 1rem; }
        & .footer-settings-social > .footer-social { justify-content: flex-start; }
        & .corp-legal { grid-area: 4 / 1 / 5 / -1; }
        & > .container:not(.footer-settings-social) > .footer-bottom { grid-area: 2 / 1 / 5 / -1; }
        & .footer-bottom > span { grid-area: 3 / 1 / 4 / -1; }
      }
      & body .site-footer:not(.site-footer--camera) .footer-grid:has(> .footer-social) { grid-template-columns: minmax(0,1fr); gap: 1rem; }
      & body .site-footer:not(.site-footer--camera) .footer-grid:has(> .footer-social) > .footer-social { grid-area: 3 / 1 / 4 / -1; }
      & body .site-footer .footer-shell:has(> .footer-social):not([data-ok-layout="stack"]) { grid-template-columns: minmax(0,1fr); width: 100%; margin-inline: 0; gap: 1rem; }
      & body .site-footer .footer-social { grid-column: 1 / -1; }
      & body .site-footer .footer-menu { flex-wrap: wrap; margin: 0; }
      & body .site-footer .footer-social__links { gap: .5rem; }
      & body .site-footer .footer-social__links a { width: 2.75rem; height: 2.75rem; border-radius: 50%; }
      & body .corp-footer:has(> .footer-settings-social[data-footer-settings-social]):has(.corp-footer-contact) {
        grid-template-columns: var(--footer-row-gutter) minmax(0,1fr) var(--footer-row-gutter);
        grid-template-rows: repeat(5,auto);
        & > .corp-wrap:not(.footer-settings-social) { grid-area: 1 / 2 / 6 / 3; }
        & > .footer-settings-social { grid-area: 3 / 2 / 5 / 3; }
        & .footer-social { grid-area: 1 / 1 / 2 / 2; max-inline-size: none; justify-self: stretch; padding-block: .25rem 1rem; }
        & .corp-footer-contact { grid-area: 2 / 1 / 3 / 2; padding: .75rem 0; }
        & .corp-legal { grid-area: 5 / 1 / 6 / -1; display: flex; gap: .8rem 2rem; }
        & .corp-legal > :is(span,a) { grid-area: auto; text-align: start; }
      }
    }
  }
}
