/* All layouts enhance ordinary editable WordPress blocks. */
.study21-identity-page main > .wp-block-post-content,.study21-identity-page main > .wp-block-post-title,.study21-identity-page .study21-crumbs {max-width:1180px;}
.study21-identity-page .wp-block-post-content > .s21-identity {max-width:none;}
.s21-identity {font-family:Arial,Helvetica,sans-serif;line-height:1.7;color:#252525;}
.s21-identity .s21-identity-section {margin-block:0;padding:clamp(2rem,5vw,4.5rem) clamp(1.25rem,4vw,3rem);}
.s21-identity h2 {font-size:clamp(1.8rem,3.8vw,3rem);line-height:1.13;letter-spacing:-.03em;color:#0E244F;margin:0 0 1.4rem;text-wrap:balance;}
.s21-identity h3 {font-size:1.3rem;line-height:1.3;color:#0E244F;margin:1rem 0 .6rem;}
.s21-identity p {margin-block:.9rem;}
.s21-identity img {display:block;max-width:100%;height:auto;}
.s21-identity figure {margin:0;}
.s21-identity .s21-identity-dark {background:#0E244F;color:#fff;}
.s21-identity-dark h2,.s21-identity-dark h3,.s21-identity-dark a {color:#fff;}
.s21-identity .s21-identity-intro {display:grid;grid-template-columns:1.5fr 1fr;gap:clamp(1.5rem,4vw,4rem);align-items:center;background:#F4EFE5;}
.s21-identity-intro h2 {font-size:clamp(2.4rem,4.8vw,4.2rem);}
.s21-identity-intro h2::before {content:'';display:block;width:4rem;height:.45rem;background:#D50413;transform:skewX(-18deg);margin-bottom:1.4rem;}
.s21-identity .s21-identity-mark {padding:22%;}
.s21-identity-story-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;}
.s21-identity-story-card {padding:1.5rem;background:#F4EFE5;min-width:0;}
.s21-identity-story-card figure {width:112px;padding:28px;margin:0 0 1rem;}
.s21-identity-story-card::after {content:'';display:block;clear:both;}
.s21-identity-section-3 li {margin-bottom:1rem;}
.s21-identity-manual-intro {border-top:6px solid #D50413;background:#F4EFE5;}
.s21-identity-logo-grid,.s21-identity-theme-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;}
.s21-identity-logo-card {border:1px solid #d8dce5;padding:1rem;min-width:0;}
.s21-identity-logo-stage {display:flex;align-items:center;justify-content:center;min-height:180px;padding:2rem;box-sizing:border-box;}
.s21-identity-logo-stage figure {width:100%;}
.s21-identity-logo-stage img {width:100%;max-width:250px;max-height:180px;margin:auto;object-fit:contain;}
.s21-identity-logo-card:nth-child(2) img {width:100px;}
.s21-identity-logo-card:nth-child(3) img {width:130px;}
.s21-identity-theme-card {padding:1rem;background:#fff;border-bottom:1px solid #d8dce5;}
.s21-identity-theme-card figure {padding:1rem;}
.s21-identity-theme-card img {width:100%;}
.s21-identity-rules p {padding-left:1rem;border-left:3px solid #EAB84D;}
.s21-identity-merch-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;}
.s21-identity-merch-card {min-width:0;}
.s21-identity-merch-card img {width:100%;}
.s21-identity-palette {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;}
.s21-identity :is(.s21-identity-story-grid,.s21-identity-logo-grid,.s21-identity-theme-grid,.s21-identity-merch-grid,.s21-identity-palette) > * {margin-block:0;}
.s21-identity-section > p,.s21-identity-section > ul {max-width:75ch;}
.s21-identity-color {border:1px solid #d8dce5;padding:1rem;min-width:0;}
.s21-identity .s21-identity-swatch {height:80px;margin:0 0 1rem;border:1px solid #d8dce5;}
.s21-identity-color h3 {font-size:1.05rem;}
.s21-identity-color code {user-select:all;}
.s21-identity .wp-block-button__link {background:#D50413;color:#fff;font-size:1rem;line-height:1.4;white-space:normal;}
.s21-identity-copy .wp-block-button__link {padding:.55rem .65rem;font-size:.85rem;}
.s21-identity-copy-status {grid-column:1/-1;}
.s21-identity-type {background:#F4EFE5;}
.s21-identity-type p {font-size:clamp(1.1rem,2.1vw,1.5rem);}
.s21-identity :focus-visible {outline:3px solid #D50413;outline-offset:4px;}
.s21-identity-dark :focus-visible {outline-color:#EAB84D;}
@media(max-width:950px) {.s21-identity-palette {grid-template-columns:repeat(2,minmax(0,1fr));}.s21-identity-story-card figure {float:none;margin:0 auto 1rem;}}
@media(max-width:650px) {
 .s21-identity .s21-identity-intro,.s21-identity-story-grid,.s21-identity-logo-grid,.s21-identity-theme-grid,.s21-identity-merch-grid {grid-template-columns:minmax(0,1fr);}
 .s21-identity .s21-identity-mark {padding:2rem;width:160px;margin:auto;}
 .s21-identity-logo-stage {padding:1.5rem;}
 .s21-identity .s21-identity-section {padding-inline:1.1rem;}
 .s21-identity-palette {gap:.6rem;}.s21-identity-color {padding:.65rem;}
}
