/*
Theme Name: MSHEL Native
Version: 0.2.0
Description: Independent Gutenberg article templates and source-preserving restoration candidate.
Text Domain: mshel-native
*/
:root{--mshel-ink:#184958;--mshel-sand:#e4c580;--mshel-accent:#ee7203;--mshel-link:#2d9cca;--mshel-width:1140px}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--mshel-ink);font-family:Montserrat,Arial,sans-serif;font-size:16px;line-height:1.65}img,video{max-width:100%;height:auto}a{color:var(--mshel-ink);text-underline-offset:.18em}a:hover{color:#216b87}button,input,textarea,select{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8c4500;outline-offset:3px}h1,h2,h3{line-height:1.2;color:var(--mshel-ink)}h1{font-size:clamp(2rem,5vw,3.75rem);font-weight:600}h2{font-size:clamp(1.5rem,3vw,2rem);font-weight:400}h3{font-size:1.5rem;font-weight:300}.mshel-shell{width:min(var(--mshel-width),calc(100% - 40px));margin-inline:auto}.mshel-main{padding-block:40px 72px}.mshel-article{max-width:800px;margin-inline:auto}.mshel-article .alignwide{max-width:1140px}.mshel-article .alignfull{width:100%;margin-inline:0}.mshel-article p,.mshel-article ul,.mshel-article ol{margin-block:1em}.mshel-article h2{margin-top:1.8em}.mshel-article-meta{font-size:.875rem}.mshel-breadcrumbs{font-size:.875rem;margin-bottom:24px}.mshel-gallery,.wp-block-gallery{display:grid;grid-template-columns:repeat(var(--gallery-columns,3),minmax(0,1fr));gap:16px;margin:24px 0}.mshel-gallery figure{margin:0;min-width:0}.mshel-gallery a{display:block}.mshel-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.mshel-gallery[data-documents] img{aspect-ratio:3/4;object-fit:contain;background:#f6f6f6}.mshel-gallery figcaption{font-size:.875rem}.mshel-article-navigation{display:flex;gap:24px;flex-wrap:wrap;margin-top:40px}.mshel-skip{position:absolute;left:10px;top:-100px;z-index:99999;background:white;padding:12px}.mshel-skip:focus{top:10px}.mshel-lightbox{border:0;padding:48px 16px 16px;background:#fff;max-width:95vw;max-height:95vh}.mshel-lightbox::backdrop{background:#102e3be6}.mshel-lightbox img{display:block;max-height:78vh;max-width:90vw;object-fit:contain}.mshel-lightbox-close{position:absolute;right:12px;top:8px;padding:6px 12px}.mshel-lead-form{padding:24px;border:1px solid #184958;background:#fafafa;display:grid;gap:14px}.mshel-lead-form label{display:grid;gap:5px}.mshel-lead-form input,.mshel-lead-form textarea{width:100%;padding:10px;border:1px solid #647d85}.mshel-lead-form button{justify-self:start;padding:12px 24px;background:var(--mshel-ink);color:white;border:0}.mshel-lead-form [name=website]{display:none}.mshel-lead-form [role=status]{min-height:1.6em}.mshel-content-index{display:grid;gap:24px;grid-template-columns:repeat(3,1fr)}.mshel-candidate-notice{background:#fff4c7;color:#352b13;padding:10px;font:14px Arial,sans-serif}.mshel-provenance-placeholder{border:1px dashed #647d85;padding:12px;font-size:14px}pre{white-space:pre-wrap;overflow-wrap:anywhere}table{border-collapse:collapse;width:100%}td,th{padding:8px;border:1px solid #cad4d7}@media(max-width:1024px){.mshel-content-index{grid-template-columns:repeat(2,1fr)}}@media(max-width:767px){.mshel-gallery,.wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mshel-content-index{grid-template-columns:1fr}.mshel-shell{width:calc(100% - 28px)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.mshel-popup{border:0;padding:20px;max-width:min(560px,95vw);max-height:90vh;overflow:auto}.mshel-popup::backdrop{background:#102e3be6}.mshel-popup [data-mshel-close]{display:block;margin-left:auto;margin-bottom:12px}


/* Breadcrumb band: native corporate palette, shared by guest and signed-in layouts. */
.mshel-front > .mshel-breadcrumbs{margin:0;padding:12px max(20px,calc((100% - 1140px)/2));background:var(--mshel-ink);color:#fff;line-height:1.6}.mshel-front > .mshel-breadcrumbs a{color:var(--mshel-sand)}

/* MSHEL price-table contrast fix 20261115 */
.mshel-ui-element-2d7f7308 .mshel-ui-text-editor, .mshel-ui-element-2d7f7308 h3, .mshel-ui-element-2d7f7308 table, .mshel-ui-element-2d7f7308 th, .mshel-ui-element-2d7f7308 td {color:#184958 !important;}
.mshel-ui-element-2d7f7308 table, .mshel-ui-element-2d7f7308 th, .mshel-ui-element-2d7f7308 td {background-color:#fff;}
.mshel-ui-element-8eba9b4 .mshel-ui-text-editor, .mshel-ui-element-8eba9b4 h3, .mshel-ui-element-8eba9b4 table, .mshel-ui-element-8eba9b4 th, .mshel-ui-element-8eba9b4 td {color:#184958 !important;}
.mshel-ui-element-8eba9b4 table, .mshel-ui-element-8eba9b4 th, .mshel-ui-element-8eba9b4 td {background-color:#fff;}
