/*
Theme Name: ELM Family
Version: 1.0.4
Author: ELM
Description: Polish family portal based on the supplied family redesign brief.
License: Proprietary, private ELM distribution
*/
:root{--cream:#f6f3e8;--green:#24553c;--ink:#243b2d;--muted:#657263}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green)}.elm-shell{max-width:1220px;margin:auto;padding:0 clamp(18px,4vw,52px)}.elm-header{border-bottom:1px solid #dce0d3;padding:22px 0;background:#fbfaf3}.elm-header .elm-shell{display:flex;justify-content:space-between;align-items:center;gap:24px}.elm-brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink)}.elm-brand svg{width:40px;height:40px}.elm-brand strong{font-family:Georgia,serif;font-size:25px;font-weight:500}.elm-brand small{display:block;letter-spacing:2px;font-size:10px;line-height:1.4}.elm-nav{display:flex;flex-wrap:wrap;gap:18px;align-items:center;font-size:14px}.elm-nav a{text-decoration:none;padding:7px 0}.elm-nav .elm-members-link{border:1px solid #a9bca4;border-radius:8px;padding:8px 14px}.elm-hero{padding:74px 0 52px;max-width:820px}.elm-kicker{text-transform:uppercase;letter-spacing:2px;font-size:12px;color:#587555;font-weight:600}.elm-hero h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(40px,6vw,72px);line-height:1.09;margin:18px 0 22px;letter-spacing:-1px}.elm-hero p{font-size:20px;max-width:570px;color:var(--muted)}.elm-page{padding:40px 0 72px}.elm-page>h1{font-family:Georgia,serif;font-size:clamp(34px,5vw,54px);line-height:1.2;font-weight:400}.elm-home-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:28px}.elm-panel{background:#e8eddf;border-radius:20px;padding:30px}.elm-panel h2{font:400 32px/1.25 Georgia,serif}.elm-section{margin:54px 0}.elm-section>h2{font:400 36px/1.2 Georgia,serif}.elm-footer{border-top:1px solid #d8decf;padding:28px 0;font-size:13px;color:var(--muted)}.elm-footer .elm-shell{display:flex;justify-content:space-between;gap:20px}.elm-skip{position:absolute;left:-10000px}.elm-skip:focus{left:16px;top:16px;background:white;padding:14px;z-index:99999}img{max-width:100%;height:auto}.elm-content{overflow-wrap:anywhere}.elm-content .alignwide{width:100%}.elm-notice{background:#e4eddb;padding:10px 16px;font-size:13px;margin-top:14px}.elm-announcements{display:grid;gap:18px}.elm-announcements .elm-card{margin:0}.elm-card small{color:#65795f}.wp-block-shortcode{margin:20px 0}@media(max-width:900px){.elm-header .elm-shell{align-items:flex-start;flex-direction:column}.elm-nav{gap:12px}.elm-home-grid{grid-template-columns:1fr}.elm-hero{padding:45px 0 30px}.elm-footer .elm-shell{flex-direction:column}.elm-panel h2{font-size:28px}}
/* ELM components for archived family pages. */
.elm-content>.elm-design.elm-section{margin:0;padding:0;background:transparent}
.elm-content>.elm-design .elm-container{padding:0;max-width:none}
.elm-legacy-section{margin:24px 0}
.elm-legacy-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:24px;align-items:start}
.elm-legacy-column{min-width:0}
.elm-legacy-column h2,.elm-legacy-column h3{line-height:1.3;margin:16px 0}
.elm-legacy-card{background:#fbfaf3;border:1px solid #d6ddce;border-radius:14px;overflow:hidden;padding:18px}
.elm-legacy-card>figure{margin:0 0 14px}
.elm-legacy-card img{max-height:240px;width:100%;object-fit:contain}
.elm-legacy-card p{white-space:pre-line}
.elm-legacy-figure{margin:18px 0}
.elm-legacy-figure img{display:block;margin:auto;max-height:650px;object-fit:contain}
.elm-legacy-figure figcaption{font-size:14px;color:#657263;margin-top:8px}
.elm-legacy-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px}
.elm-legacy-gallery .elm-legacy-figure{margin:0}
.elm-legacy-action{display:inline-block;padding:9px 15px;border:1px solid #b1c2ad;border-radius:8px;text-decoration:none;margin:8px 0}
.elm-legacy-text table{width:100%;max-width:100%;overflow-wrap:anywhere}
.elm-legacy-text iframe{display:none}
.elm-legacy-column:has(.elm-saved-chart){grid-column:1/-1}
.elm-legacy-page-note{padding:20px;background:#e8eddf;border-radius:12px}
@media(max-width:600px){.elm-legacy-row{grid-template-columns:1fr}.elm-legacy-card{padding:14px}.elm-legacy-dialog-head{flex-wrap:wrap}}
