/* ELMAS editable content: inherits the existing site's typography, spacing and palette. */
[data-cms-section][hidden],[data-cms-custom][hidden]{display:none!important}
.elmas-cms-block{background:#f8f7f3;color:#172a3a;padding:clamp(35px,5vw,72px) 0}
.elmas-cms-block:nth-of-type(even){background:#fff}
.elmas-cms-inner{width:min(1160px,calc(100% - 40px));margin-inline:auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:clamp(22px,5vw,65px)}
.elmas-cms-block h2{font:normal clamp(28px,3.4vw,46px)/1.2 Georgia,serif;color:#102b45;margin:10px 0 22px}
.elmas-cms-block p{font:inherit;line-height:1.85;color:#586472;margin:0 0 15px;white-space:pre-line}
.elmas-cms-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;min-width:0}
.elmas-cms-media img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;border-radius:7px;background:#f0eee9}
.elmas-cms-block.image-first .elmas-cms-media{order:-1}
.elmas-cms-block.text-only .elmas-cms-inner{grid-template-columns:1fr;max-width:820px}
.elmas-cms-block.text-only .elmas-cms-media{display:none}
.elmas-cms-block.gallery-mode .elmas-cms-inner{grid-template-columns:1fr}
.elmas-cms-block.gallery-mode .elmas-cms-media{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
html[dir=rtl] .elmas-cms-block{direction:rtl}
@media(max-width:760px){.elmas-cms-inner{grid-template-columns:1fr;gap:22px;width:calc(100% - 32px)}.elmas-cms-block{padding:35px 0}.elmas-cms-block h2{font-size:28px}.elmas-cms-media img{max-height:310px}}

img[data-cms-image][hidden]{display:none!important}
