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

/* K2: a heading whose tag the owner changed keeps the designed look.
   site CSS was transformed so  h3{...}  also matches  .hx-h3 ; these zero-specificity
   stand-ins replace the browser defaults of the designed tag. */
: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:24px!important;padding-bottom:24px!important}
.cms-pad-loose{padding-top:90px!important;padding-bottom:90px!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}}

/* Sections the owner can add (FAQ, Content block) — built from the site's own tokens:
   Philosopher headings, #2e8cc0 accent, #0f4c75 deep blue, #eaf5f9 tint */
.cms-sec{padding:54px 0;background:#fff}
.cms-sec .et_pb_row{width:80%;max-width:1080px;margin:auto;padding:0}
.cms-eyebrow{text-align:center;color:#2e8cc0;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:14px;margin-bottom:6px}
.cms-sec-title{font-family:'Philosopher',Helvetica,Arial,Lucida,sans-serif;text-align:center;color:#0f4c75;font-size:32px;line-height:1.25;padding-bottom:10px}
.cms-sec-sub{text-align:center;max-width:720px;margin:0 auto 26px;font-size:16px}
.cms-faq-list{max-width:900px;margin:0 auto}
.cms-faq-item{background:#eaf5f9;border-radius:8px;margin:0 0 12px;border:1px solid #d6e9f1}
.cms-faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:14px;padding:16px 20px}
.cms-faq-item summary::-webkit-details-marker{display:none}
.cms-faq-q{font-family:'Philosopher',Helvetica,Arial,Lucida,sans-serif;font-size:18px;line-height:1.35;color:#0f4c75;margin:0;padding:0;flex:1;font-weight:700}
.cms-faq-item summary:hover .cms-faq-q,.cms-faq-item[open] .cms-faq-q{color:#2e8cc0}
.cms-faq-ic{flex:0 0 26px;height:26px;border-radius:50%;border:2px solid #2e8cc0;position:relative}
.cms-faq-ic::before,.cms-faq-ic::after{content:'';position:absolute;left:50%;top:50%;width:12px;height:2px;background:#2e8cc0;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 20px 18px;font-size:15px;line-height:1.7}
.cms-faq-a p:last-child{padding-bottom:0}

.cms-prose{font-size:16px;line-height:1.75}
.cms-prose h2,.cms-prose h3,.cms-prose h4{font-family:'Philosopher',Helvetica,Arial,Lucida,sans-serif;color:#0f4c75;padding-bottom:10px}
.cms-prose-article .cms-prose>h2:first-child{text-align:center;font-size:32px}
.cms-prose-article .cms-prose>h2:first-child::after{content:'';display:block;width:60px;height:3px;background:#2e8cc0;margin:12px auto 0}
.cms-prose a{color:#2e8cc0;text-decoration:underline}
.cms-prose ul,.cms-prose ol{padding-left:1.4em;margin-bottom:1em}
.cms-prose ul{list-style:disc}
.cms-prose img{max-width:100%;height:auto;border-radius:6px}
.cms-prose .img-left{float:left;margin:0 20px 12px 0;max-width:45%}
.cms-prose .img-right{float:right;margin:0 0 12px 20px;max-width:45%}
.cms-prose .img-center{display:block;margin:12px auto}
.cms-prose table{width:100%;border-collapse:collapse;margin:1em 0}
.cms-prose th,.cms-prose td{border:1px solid #d6e9f1;padding:8px 10px;text-align:left}
.cms-prose blockquote{border-left:4px solid #2e8cc0;background:#eaf5f9;padding:12px 18px;margin:1em 0}
.cms-prose::after{content:'';display:table;clear:both}
@media (max-width:767px){.cms-sec .et_pb_row{width:90%}.cms-sec-title{font-size:26px}.cms-prose .img-left,.cms-prose .img-right{float:none;max-width:100%;margin:12px 0}}

/* Blog — list cards + article, in the site's tokens */
.cms-blog-intro{text-align:center;max-width:760px;margin:0 auto 30px;font-size:16px}
.cms-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.cms-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 6px 24px rgba(15,76,117,.10);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.cms-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(15,76,117,.16)}
.cms-card-img{display:block;aspect-ratio:16/10;overflow:hidden;background:#eaf5f9}
.cms-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.cms-card-b{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.cms-card-meta{font-size:13px;color:#2e8cc0;font-weight:600;letter-spacing:.02em}
.cms-card-t{font-family:'Philosopher',Helvetica,Arial,Lucida,sans-serif;font-size:21px;line-height:1.3;padding:0;margin:0;color:#0f4c75}
.cms-card-t a{color:inherit}.cms-card-t a:hover{color:#2e8cc0}
.cms-card p{font-size:15px;line-height:1.6;padding:0;margin:0;flex:1}
.cms-card-more{font-weight:700;color:#2e8cc0}
.cms-pager{display:flex;justify-content:center;gap:8px;margin-top:34px}
.cms-pager a,.cms-pager span{min-width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:2px solid #2e8cc0;color:#2e8cc0;font-weight:700}
.cms-pager span{background:#2e8cc0;color:#fff}
.cms-post{max-width:860px!important}
.cms-post-meta{font-size:14px;color:#5d7280;margin-bottom:18px}.cms-post-meta a{color:#2e8cc0;font-weight:600}
.cms-post-img{margin:0 0 26px}.cms-post-img img{width:100%;height:auto;border-radius:14px;display:block}
.cms-post .cms-prose h2{font-size:28px;line-height:1.3;margin-top:10px}
.cms-post .cms-prose h3{font-size:22px;line-height:1.3}
.cms-post .cms-prose p,.cms-post .cms-prose li{font-size:17px;line-height:1.8}
.cms-post-cta{background:#eaf5f9;border-left:5px solid #2e8cc0;border-radius:12px;padding:24px 26px;margin:34px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.cms-post-cta p{margin:0;padding:0;font-size:17px;flex:1 1 360px}
.cms-post-cta .et_pb_button{margin:0}
.cms-related{margin-top:46px}.cms-related .cms-card-t{font-size:18px}
@media (max-width:980px){.cms-blog-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.cms-blog-grid{grid-template-columns:1fr}.cms-post .cms-prose h2{font-size:24px}}
