/* ===== CMS additions — design-neutral. Nothing here changes the approved look. ===== */

/* K2: a heading whose tag was changed keeps the designed look (theme CSS was transformed so
   h1{...} also matches .hx-h1); these zero-specificity stand-ins replace the browser defaults. */
:where(.hx-h1){font-size:2em;margin-block:.67em;font-weight:700}
:where(.hx-h2){font-size:1.5em;margin-block:.83em;font-weight:700}
:where(.hx-h3){font-size:1.17em;margin-block:1em;font-weight:700}
:where(.hx-h4){font-size:1em;margin-block:1.33em;font-weight:700}
:where(.hx-h5){font-size:.83em;margin-block:1.67em;font-weight:700}
:where(.hx-h6){font-size:.67em;margin-block:2.33em;font-weight:700}
:where(div.hx){display:block}

/* K6: section "Advanced" options */
.cms-pad-tight{padding-top:12px!important;padding-bottom:12px!important}
.cms-pad-loose{padding-top:48px!important;padding-bottom:48px!important}
.cms-pad-notop{padding-top:0!important}
.cms-pad-nobottom{padding-bottom:0!important}
.cms-pad-none{padding-top:0!important;padding-bottom:0!important}
@media (max-width:767px){.cms-hide-mobile{display:none!important}}
@media (min-width:768px){.cms-hide-desktop{display:none!important}}

/* Content block + FAQ the owner can add — built from the theme's own tokens */
.cms-block{margin:0 0 30px}
.cms-block.entry-content > :first-child{margin-top:0}
.cms-faq{margin:0 0 30px}
.cms-faq-title{font-family:var(--font-head,'Prata',serif);margin:0 0 8px}
.cms-faq-sub{margin:0 0 18px}
.cms-faq-item{border:1px solid rgba(0,0,0,.1);border-radius:6px;margin:0 0 10px;background:var(--bg-color,#fff)}
.cms-faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 16px}
.cms-faq-item summary::-webkit-details-marker{display:none}
.cms-faq-q{font-family:var(--font-head,'Prata',serif);font-size:1.05em;line-height:1.4;margin:0;flex:1;font-weight:400}
.cms-faq-item summary:hover .cms-faq-q,.cms-faq-item[open] .cms-faq-q{color:var(--primary-color,#cd7140)}
.cms-faq-ic{flex:0 0 22px;height:22px;border-radius:50%;border:2px solid var(--primary-color,#cd7140);position:relative}
.cms-faq-ic::before,.cms-faq-ic::after{content:'';position:absolute;left:50%;top:50%;width:10px;height:2px;background:var(--primary-color,#cd7140);transform:translate(-50%,-50%)}
.cms-faq-ic::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .2s}
.cms-faq-item[open] .cms-faq-ic::after{transform:translate(-50%,-50%) rotate(0)}
.cms-faq-a{padding:0 16px 14px}
.cms-faq-a p:last-child{margin-bottom:0}
