:root {
    --civris-blue: #2f5597;
    --civris-blue-dark: #143b73;
    --civris-blue-deep: #0b2d57;
    --civris-orange: #f49a18;
    --civris-orange-dark: #dc7f08;
    --civris-sky: #eef5fb;
    --civris-soft: #f6f8fb;
    --civris-white: #ffffff;
    --civris-text: #1b2f43;
    --civris-muted: #62758a;
    --civris-border: #dce6ef;
    --civris-shadow: 0 22px 55px rgba(17, 52, 89, .10);
    --civris-shadow-soft: 0 14px 36px rgba(17, 52, 89, .08);
    --civris-radius: 24px;
    --civris-radius-sm: 15px;
    --civris-wrap: 1500px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.civris-corporate-theme {
    margin: 0;
    color: var(--civris-text);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.civris-menu-open { overflow: hidden; }
.civris-page-shell { min-height: 100vh; background: #fff; }
.civris-wrap { width: min(calc(100% - 56px), var(--civris-wrap)); margin-inline: auto; }
.civris-skip-link { position: fixed; left: 16px; top: -90px; z-index: 99999; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--civris-blue-deep); box-shadow: var(--civris-shadow-soft); }
.civris-skip-link:focus { top: 16px; }

/* Header */
.civris-topbar { background: var(--civris-blue-deep); color: #fff; font-size: 13px; }
.civris-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.civris-topbar-links { display: flex; gap: 24px; }
.civris-topbar a { color: rgba(255,255,255,.9); text-decoration: none; }
.civris-topbar a:hover { color: #fff; }
.civris-topbar-note { opacity: .72; }
.civris-site-header { position: sticky; top: 0; z-index: 9990; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(20,59,115,.08); backdrop-filter: blur(12px); transition: box-shadow .2s ease; }
.admin-bar .civris-site-header { top: 32px; }
.civris-site-header.is-scrolled { box-shadow: 0 12px 32px rgba(17,52,89,.10); }
.civris-header-inner { min-height: 94px; display: grid; grid-template-columns: 180px minmax(0,1fr) auto; align-items: center; gap: 26px; }
.civris-logo { display: inline-flex; align-items: center; text-decoration: none; }
.civris-logo img { width: auto; height: 74px; max-width: 160px; object-fit: contain; }
.civris-navigation { justify-self: end; }
.civris-menu { list-style: none; display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin: 0; padding: 0; }
.civris-menu > li { position: relative; margin: 0; padding: 0; }
.civris-menu > li > a { min-height: 52px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; color: #263f57; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.15; white-space: nowrap; transition: color .18s ease, background .18s ease; }
.civris-menu > li > a:hover, .civris-menu > li.current-menu-item > a, .civris-menu > li.current-menu-ancestor > a { color: var(--civris-blue); background: rgba(47,85,151,.07); }
.civris-menu .menu-item-has-children > a::after { content: "⌄"; margin-left: 7px; font-size: 12px; opacity: .6; }
.civris-menu .sub-menu { position: absolute; left: 0; top: calc(100% - 4px); width: 285px; list-style: none; margin: 0; padding: 9px; border: 1px solid var(--civris-border); border-radius: 16px; background: #fff; box-shadow: var(--civris-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.civris-menu li:hover > .sub-menu, .civris-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.civris-menu .sub-menu a { display: block; padding: 11px 12px; border-radius: 9px; color: var(--civris-text); text-decoration: none; font-size: 14px; font-weight: 650; line-height: 1.35; }
.civris-menu .sub-menu a:hover { background: var(--civris-soft); color: var(--civris-blue); }
.civris-header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 999px; background: var(--civris-orange); color: #fff; text-decoration: none; font-weight: 800; font-size: 14px; box-shadow: 0 10px 24px rgba(244,154,24,.22); transition: transform .18s ease, background .18s ease; }
.civris-header-cta:hover { color: #fff; background: var(--civris-orange-dark); transform: translateY(-1px); }
.civris-menu-toggle { display: none; width: 46px; height: 46px; padding: 8px; border: 0; border-radius: 10px; background: transparent; }
.civris-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 6px 1px; background: var(--civris-blue-deep); }

/* Typography */
body.civris-corporate-theme h1,
body.civris-corporate-theme h2,
body.civris-corporate-theme h3,
body.civris-corporate-theme h4,
body.civris-corporate-theme h5,
body.civris-corporate-theme h6 { margin-top: 0; padding: 0; color: var(--civris-blue-deep); font-weight: 820; line-height: 1.08; letter-spacing: -.025em; }
body.civris-corporate-theme h1 { font-size: clamp(43px, 4.6vw, 74px); }
body.civris-corporate-theme h2 { font-size: clamp(32px, 3.2vw, 52px); }
body.civris-corporate-theme h3 { font-size: clamp(22px, 2vw, 29px); }
body.civris-corporate-theme p { margin-top: 0; }
.civris-kicker { display: inline-block; margin: 0 0 13px; color: var(--civris-blue); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.civris-section { padding: clamp(78px, 7vw, 116px) 0; }
.civris-section-soft { background: var(--civris-soft); }
.civris-section-heading { max-width: 860px; margin-bottom: 42px; }
.civris-section-heading h2 { margin-bottom: 15px; }
.civris-section-heading p { max-width: 760px; margin-bottom: 0; color: var(--civris-muted); font-size: 18px; }
.civris-heading-center { margin-inline: auto; text-align: center; }
.civris-heading-center p { margin-inline: auto; }
.civris-heading-with-link { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.civris-heading-light h2, .civris-heading-light p { color: #fff; }
.civris-heading-light .civris-kicker { color: #fbc16d; }

/* Buttons */
.civris-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-size: 15px; font-weight: 800; line-height: 1.2; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; cursor: pointer; }
.civris-btn:hover { transform: translateY(-2px); }
.civris-btn-orange { color: #fff; background: var(--civris-orange); box-shadow: 0 12px 28px rgba(244,154,24,.22); }
.civris-btn-orange:hover { color: #fff; background: var(--civris-orange-dark); }
.civris-btn-blue { color: #fff; background: var(--civris-blue); box-shadow: 0 12px 28px rgba(47,85,151,.18); }
.civris-btn-blue:hover { color: #fff; background: var(--civris-blue-dark); }
.civris-btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.civris-btn-outline-light:hover { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.65); }
.civris-text-link { color: var(--civris-blue); text-decoration: none; font-weight: 800; }
.civris-text-link:hover { color: var(--civris-orange-dark); }

/* Hero */
.civris-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--civris-blue-deep) 0%, var(--civris-blue-dark) 58%, #356cae 100%); }
.civris-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.civris-hero-orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -210px; top: -235px; background: rgba(244,154,24,.12); }
.civris-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(480px,.9fr); align-items: center; gap: clamp(48px, 6vw, 92px); min-height: 650px; padding-top: clamp(70px, 8vw, 108px); padding-bottom: clamp(78px, 8vw, 118px); }
.civris-hero-copy { max-width: 780px; }
.civris-hero .civris-kicker { color: #fbc16d; }
.civris-hero h1 { max-width: 800px; margin-bottom: 24px; color: #fff; }
.civris-lead { max-width: 720px; margin-bottom: 31px; color: rgba(255,255,255,.86); font-size: clamp(18px,1.4vw,21px); line-height: 1.65; }
.civris-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.civris-trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 650; }
.civris-hero-visual { position: relative; min-height: 480px; }
.civris-hero-visual > img { position: absolute; inset: 0 0 30px 50px; width: calc(100% - 50px); height: calc(100% - 30px); border-radius: 30px; object-fit: cover; box-shadow: 0 28px 62px rgba(0,0,0,.24); }
.civris-contact-card { position: absolute; z-index: 2; left: 0; bottom: 0; width: 320px; padding: 24px 25px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: rgba(255,255,255,.97); color: var(--civris-blue-deep); box-shadow: 0 18px 42px rgba(0,0,0,.18); }
.civris-contact-card span { display: block; margin-bottom: 4px; color: var(--civris-orange-dark); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.civris-contact-card strong { display: block; margin-bottom: 10px; font-size: 21px; }
.civris-contact-card a { display: block; color: var(--civris-blue-dark); text-decoration: none; font-size: 14px; font-weight: 700; }

/* Service cards */
.civris-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.civris-service-card { overflow: hidden; border: 1px solid var(--civris-border); border-radius: var(--civris-radius); background: #fff; box-shadow: var(--civris-shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.civris-service-card:hover { transform: translateY(-4px); box-shadow: var(--civris-shadow); }
.civris-service-image { position: relative; display: block; height: 225px; overflow: hidden; }
.civris-service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.civris-service-card:hover .civris-service-image img { transform: scale(1.035); }
.civris-service-image span { position: absolute; left: 18px; bottom: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--civris-orange-dark); font-size: 13px; font-weight: 900; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.civris-service-body { padding: 28px 30px 31px; }
.civris-service-body h3 { margin-bottom: 13px; }
.civris-service-body p { min-height: 86px; color: var(--civris-muted); }

/* About / benefits */
.civris-about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(430px,.82fr); align-items: center; gap: clamp(50px, 7vw, 110px); }
.civris-about-copy h2 { max-width: 750px; margin-bottom: 22px; }
.civris-about-copy p { max-width: 780px; color: var(--civris-muted); font-size: 18px; }
.civris-about-copy .civris-btn { margin-top: 8px; }
.civris-benefit-card { padding: clamp(30px,4vw,46px); border-radius: 28px; background: linear-gradient(145deg, var(--civris-blue-deep), var(--civris-blue-dark)); color: #fff; box-shadow: var(--civris-shadow); }
.civris-card-eyebrow { display: block; margin-bottom: 21px; color: #fbc16d; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.civris-benefit { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); }
.civris-benefit:first-of-type { border-top: 0; }
.civris-benefit b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(244,154,24,.16); color: #fbc16d; font-size: 13px; }
.civris-benefit strong { display: block; margin-bottom: 3px; font-size: 18px; }
.civris-benefit p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.5; }

/* Process */
.civris-process-section { color: #fff; background: linear-gradient(125deg, var(--civris-blue-deep), var(--civris-blue-dark) 70%, #356cae); }
.civris-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.civris-process-grid article { min-height: 245px; padding: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.06); }
.civris-process-grid span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 34px; border-radius: 13px; background: var(--civris-orange); color: #fff; font-weight: 900; }
.civris-process-grid h3 { margin-bottom: 12px; color: #fff; }
.civris-process-grid p { margin-bottom: 0; color: rgba(255,255,255,.75); }

/* Request form */
.civris-request-section { background: #fff; }
.civris-request-grid { display: grid; grid-template-columns: minmax(300px,.62fr) minmax(0,1.38fr); align-items: start; gap: clamp(40px,6vw,86px); }
.civris-request-copy { position: sticky; top: 145px; }
.civris-request-copy h2 { margin-bottom: 18px; }
.civris-request-copy > p { color: var(--civris-muted); font-size: 18px; }
.civris-contact-mini { margin-top: 30px; padding: 24px; border-radius: 18px; background: var(--civris-soft); }
.civris-contact-mini strong, .civris-contact-mini span, .civris-contact-mini a { display: block; }
.civris-contact-mini strong { margin-bottom: 8px; color: var(--civris-blue-deep); font-size: 18px; }
.civris-contact-mini span { margin-bottom: 10px; color: var(--civris-muted); }
.civris-contact-mini a { color: var(--civris-blue); text-decoration: none; font-weight: 750; }
.civris-request-form-wrap { padding: clamp(28px,4vw,46px); border: 1px solid var(--civris-border); border-radius: 26px; background: var(--civris-soft); box-shadow: var(--civris-shadow-soft); }
.civris-request-form label { display: block; margin: 0; }
.civris-request-form label > span { display: block; margin-bottom: 7px; color: #2e465d; font-size: 13px; font-weight: 750; }
.civris-request-form input[type="text"], .civris-request-form input[type="email"], .civris-request-form input[type="tel"], .civris-request-form select, .civris-request-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cfdae4; border-radius: 10px; background: #fff; color: var(--civris-text); font: inherit; font-size: 15px; outline: none; }
.civris-request-form textarea { min-height: 92px; resize: vertical; }
.civris-request-form input:focus, .civris-request-form select:focus, .civris-request-form textarea:focus { border-color: #8aafd0; box-shadow: 0 0 0 3px rgba(47,85,151,.08); }
.civris-form-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.civris-form-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.civris-form-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.civris-form-subtitle { margin: 28px 0 14px; color: var(--civris-blue-deep); font-size: 17px; font-weight: 850; }
.civris-checkbox-grid { display: flex; flex-wrap: wrap; gap: 9px 14px; margin-bottom: 16px; }
.civris-check { display: inline-flex !important; align-items: center; gap: 8px; }
.civris-check input { width: 18px; height: 18px; accent-color: var(--civris-blue); }
.civris-check > span { margin: 0 !important; font-size: 14px !important; font-weight: 650 !important; }
.civris-privacy { margin: 20px 0 22px !important; align-items: flex-start; }
.civris-request-form .civris-btn { border: 0; }
.civris-hp { position: absolute !important; left: -99999px !important; width: 1px; height: 1px; overflow: hidden; }
.civris-form-message { margin-bottom: 22px; padding: 14px 16px; border-radius: 10px; font-weight: 700; }
.civris-form-success { color: #1a6338; background: #e9f7ef; }
.civris-form-error { color: #913838; background: #fff0f0; }

/* Blog */
.civris-blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.civris-blog-card { overflow: hidden; border: 1px solid var(--civris-border); border-radius: 22px; background: #fff; box-shadow: var(--civris-shadow-soft); }
.civris-blog-image { display: block; height: 220px; overflow: hidden; }
.civris-blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.civris-blog-card:hover .civris-blog-image img { transform: scale(1.03); }
.civris-blog-body { padding: 27px 29px 30px; }
.civris-blog-body > span { display: block; margin-bottom: 9px; color: var(--civris-orange-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.civris-blog-body h2, .civris-blog-body h3 { margin-bottom: 12px; font-size: 24px; }
.civris-blog-body h2 a, .civris-blog-body h3 a { color: var(--civris-blue-deep); text-decoration: none; }
.civris-blog-body p { color: var(--civris-muted); }

/* Inner pages */
.civris-page-hero { color: #fff; background: linear-gradient(120deg, var(--civris-blue-deep), var(--civris-blue-dark) 65%, #356cae); }
.civris-page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 470px; align-items: center; gap: clamp(40px,6vw,84px); min-height: 460px; padding-top: 70px; padding-bottom: 70px; }
.civris-page-hero h1 { margin-bottom: 17px; color: #fff; }
.civris-page-hero p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.8); font-size: 19px; }
.civris-page-hero .civris-kicker { color: #fbc16d; }
.civris-page-hero img { width: 100%; height: 310px; border-radius: 26px; object-fit: cover; box-shadow: 0 24px 54px rgba(0,0,0,.22); }
.civris-page-hero-simple .civris-wrap { padding-top: 80px; padding-bottom: 82px; }
.civris-page-hero-simple h1 { max-width: 980px; margin-bottom: 16px; }
.civris-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 360px; align-items: start; gap: 34px; }
.civris-content-card, .civris-editor-content, .civris-legal-card { padding: clamp(30px,4vw,50px); border: 1px solid var(--civris-border); border-radius: 25px; background: #fff; box-shadow: var(--civris-shadow-soft); }
.civris-content-card h2 { margin-bottom: 22px; }
.civris-content-card p, .civris-editor-content p, .civris-legal-card p { color: var(--civris-muted); font-size: 18px; }
.civris-side-cta { position: sticky; top: 145px; padding: 30px; border-radius: 22px; background: var(--civris-soft); }
.civris-side-cta > span { color: var(--civris-orange-dark); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.civris-side-cta h3 { margin: 8px 0 12px; }
.civris-side-cta p { color: var(--civris-muted); }
.civris-contact-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 390px; align-items: center; gap: 70px; padding-top: 75px; padding-bottom: 75px; }
.civris-hero-contact-panel { padding: 29px 31px; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; background: rgba(255,255,255,.09); }
.civris-hero-contact-panel strong, .civris-hero-contact-panel span, .civris-hero-contact-panel a { display: block; }
.civris-hero-contact-panel strong { margin-bottom: 9px; font-size: 20px; }
.civris-hero-contact-panel span { margin-bottom: 12px; color: rgba(255,255,255,.75); }
.civris-hero-contact-panel a { color: #fff; text-decoration: none; font-weight: 750; }

/* Posts */
.civris-post-hero { color: #fff; background: linear-gradient(120deg, var(--civris-blue-deep), var(--civris-blue-dark), #356cae); }
.civris-post-hero .civris-wrap { padding-top: 82px; padding-bottom: 84px; }
.civris-post-hero h1 { max-width: 1060px; color: #fff; }
.civris-post-hero .civris-kicker { color: #fbc16d; }
.civris-post-image { margin-top: -34px; position: relative; z-index: 2; }
.civris-post-image img { width: 100%; max-height: 620px; border-radius: 26px; object-fit: cover; box-shadow: var(--civris-shadow); }
.civris-article-content { max-width: 960px; }
.civris-article-content p, .civris-article-content li { color: #3d5368; font-size: 18px; line-height: 1.8; }
.civris-article-content h2 { margin-top: 48px; }
.civris-article-content h3 { margin-top: 34px; }
.civris-article-content img { max-width: 100%; height: auto; border-radius: 18px; }
.civris-article-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.civris-article-content th, .civris-article-content td { padding: 12px; border: 1px solid var(--civris-border); }
.civris-empty-state { padding-top: 120px; padding-bottom: 120px; text-align: center; }

/* Old Divi content fallback */
.civris-editor-content .et_pb_section, .civris-editor-content .et_pb_row { width: 100% !important; max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.civris-editor-content .et_pb_section { padding-top: 0 !important; padding-bottom: 0 !important; background: transparent !important; }
.civris-editor-content img, .civris-editor-content video, .civris-editor-content iframe { max-width: 100%; }

/* Footer */
.civris-footer { position: relative; overflow: hidden; color: #fff; background: #0b315d; }
.civris-footer-pattern { position: absolute; inset: 0; opacity: .07; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg,#fff 1px,transparent 1px); background-size: 74px 74px; pointer-events: none; }
.civris-footer-inner { position: relative; z-index: 1; padding-top: 58px; padding-bottom: 28px; }
.civris-footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 50px; padding: 28px 32px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.08); }
.civris-footer-cta span { color: #fbc16d; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.civris-footer-cta h2 { margin: 5px 0 0; color: #fff; font-size: clamp(25px,2.6vw,38px); }
.civris-footer-grid { display: grid; grid-template-columns: 1.25fr .9fr .9fr .9fr; gap: clamp(30px,4vw,65px); padding-bottom: 45px; }
.civris-footer-brand img { width: 115px; height: auto; margin-bottom: 20px; padding: 10px; border-radius: 18px; background: #fff; }
.civris-footer-brand p { max-width: 350px; color: rgba(255,255,255,.7); }
.civris-footer-col h3 { margin-bottom: 17px; color: #fff; font-size: 18px; }
.civris-footer-col p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.civris-footer-col a { display: block; margin: 6px 0; color: rgba(255,255,255,.76); text-decoration: none; font-size: 14px; }
.civris-footer-col a:hover { color: #fff; }
.civris-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62); font-size: 13px; }
.civris-footer-bottom nav { display: flex; gap: 20px; }
.civris-footer-bottom a { color: rgba(255,255,255,.72); text-decoration: none; }

/* Responsive */
@media (max-width: 1250px) {
    .civris-header-inner { grid-template-columns: 155px minmax(0,1fr) auto; gap: 16px; }
    .civris-logo img { height: 66px; max-width: 145px; }
    .civris-menu > li > a { padding-inline: 9px; font-size: 14px; }
    .civris-header-cta { padding-inline: 15px; }
    .civris-hero-grid { grid-template-columns: 1fr 440px; gap: 50px; }
}

@media (max-width: 1100px) {
    .admin-bar .civris-site-header { top: 32px; }
    .civris-header-inner { grid-template-columns: 1fr auto; }
    .civris-logo img { height: 68px; }
    .civris-menu-toggle { display: block; justify-self: end; }
    .civris-header-cta { display: none; }
    .civris-navigation { position: fixed; inset: 132px 0 auto 0; z-index: 9989; max-height: calc(100vh - 132px); padding: 18px 28px 30px; overflow-y: auto; background: #fff; border-top: 1px solid var(--civris-border); box-shadow: 0 22px 40px rgba(17,52,89,.12); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .18s ease; }
    .admin-bar .civris-navigation { inset: 164px 0 auto 0; max-height: calc(100vh - 164px); }
    .civris-navigation.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .civris-menu { display: block; max-width: 760px; margin-inline: auto; }
    .civris-menu > li { border-bottom: 1px solid #edf1f5; }
    .civris-menu > li > a { min-height: 58px; padding: 0 4px; font-size: 17px; }
    .civris-menu .sub-menu { position: static; width: auto; padding: 0 0 12px 16px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
    .civris-menu .sub-menu a { padding: 9px 10px; }
    .civris-menu .menu-item-has-children > a::after { display: none; }
    .civris-hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .civris-hero-copy { max-width: 800px; }
    .civris-hero-visual { min-height: 450px; max-width: 760px; width: 100%; }
    .civris-service-grid, .civris-blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .civris-about-grid, .civris-request-grid { grid-template-columns: 1fr; }
    .civris-request-copy { position: static; max-width: 760px; }
    .civris-process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .civris-page-hero-grid { grid-template-columns: 1fr 380px; }
    .civris-content-grid { grid-template-columns: 1fr; }
    .civris-side-cta { position: static; }
    .civris-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 782px) {
    .admin-bar .civris-site-header { top: 46px; }
    .admin-bar .civris-navigation { inset: 176px 0 auto 0; max-height: calc(100vh - 176px); }
    .civris-wrap { width: min(calc(100% - 34px), var(--civris-wrap)); }
    .civris-topbar-inner { justify-content: center; min-height: 42px; }
    .civris-topbar-links { width: 100%; justify-content: center; gap: 14px; }
    .civris-topbar-note { display: none; }
    .civris-header-inner { min-height: 84px; }
    .civris-logo img { height: 60px; max-width: 132px; }
    .civris-navigation { inset: 126px 0 auto 0; max-height: calc(100vh - 126px); padding-inline: 18px; }
    .civris-hero-grid { padding-top: 58px; padding-bottom: 78px; gap: 40px; }
    .civris-hero-visual { min-height: 380px; }
    .civris-hero-visual > img { inset: 0 0 25px 20px; width: calc(100% - 20px); height: calc(100% - 25px); border-radius: 22px; }
    .civris-contact-card { width: min(300px, 88%); padding: 20px; }
    .civris-service-grid, .civris-blog-grid { grid-template-columns: 1fr; }
    .civris-service-body p { min-height: auto; }
    .civris-process-grid { grid-template-columns: 1fr; }
    .civris-process-grid article { min-height: 0; }
    .civris-form-grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .civris-page-hero-grid, .civris-contact-hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 58px; padding-bottom: 64px; }
    .civris-page-hero img { height: 300px; }
    .civris-page-hero-simple .civris-wrap { padding-top: 58px; padding-bottom: 60px; }
    .civris-footer-cta { align-items: flex-start; flex-direction: column; }
    .civris-footer-grid { grid-template-columns: 1fr 1fr; }
    .civris-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    body.civris-corporate-theme { font-size: 16px; }
    body.civris-corporate-theme h1 { font-size: clamp(38px, 12vw, 54px); }
    body.civris-corporate-theme h2 { font-size: clamp(30px, 9vw, 42px); }
    .civris-wrap { width: min(calc(100% - 28px), var(--civris-wrap)); }
    .civris-topbar { font-size: 12px; }
    .civris-topbar-links { align-items: center; flex-direction: column; gap: 1px; padding: 6px 0; }
    .civris-header-inner { min-height: 78px; }
    .civris-logo img { height: 55px; }
    .civris-navigation { inset: 130px 0 auto 0; max-height: calc(100vh - 130px); }
    .admin-bar .civris-navigation { inset: 176px 0 auto 0; max-height: calc(100vh - 176px); }
    .civris-section { padding: 66px 0; }
    .civris-actions { align-items: stretch; flex-direction: column; }
    .civris-actions .civris-btn { width: 100%; }
    .civris-trust-row { flex-direction: column; gap: 6px; }
    .civris-hero-visual { min-height: 330px; }
    .civris-contact-card { left: 0; bottom: -8px; }
    .civris-service-image { height: 205px; }
    .civris-service-body { padding: 24px; }
    .civris-benefit-card { padding: 27px 23px; }
    .civris-request-form-wrap { padding: 23px 18px; }
    .civris-form-grid-2, .civris-form-grid-3 { grid-template-columns: 1fr; }
    .civris-checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .civris-page-hero img { height: 235px; }
    .civris-content-card, .civris-editor-content, .civris-legal-card { padding: 26px 21px; }
    .civris-footer-inner { padding-top: 44px; }
    .civris-footer-cta { padding: 24px 21px; }
    .civris-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .civris-footer-brand img { width: 100px; }
    .civris-footer-bottom nav { flex-wrap: wrap; }
}

/* Divi compatibility */
body.civris-corporate-theme #page-container { padding-top: 0 !important; margin-top: 0 !important; }
body.civris-corporate-theme #main-content { background: transparent; }

/* =========================================================
   CIVRIS 1.0.1: robust header/footer, Hospitality navigation,
   readable hero and modal request form
   ========================================================= */

/* Old Divi Theme Builder chrome must not sit on top of the child theme. */
.et-l--header,
#main-header,
.et-l--footer,
#main-footer {
    display: none !important;
}

/* Hospitality-style header */
.civris-site-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    width: 100%;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(11,45,87,.08);
    box-shadow: 0 8px 28px rgba(11,45,87,.055);
    backdrop-filter: blur(14px);
}
.admin-bar .civris-site-header { top: 32px; }
.civris-header-inner {
    min-height: 92px;
    display: grid;
    grid-template-columns: 168px minmax(0,1fr) auto;
    align-items: center;
    gap: 34px;
}
.civris-logo img {
    width: auto;
    height: 72px;
    max-width: 150px;
    object-fit: contain;
}
.civris-navigation { justify-self: end; min-width: 0; }
.civris-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.civris-menu > li > a {
    min-height: 46px;
    padding: 0 13px;
    border-radius: 9px;
    color: #20364c;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}
.civris-menu > li > a:hover,
.civris-menu > li.current-menu-item > a,
.civris-menu > li.current-menu-ancestor > a {
    color: var(--civris-blue);
    background: #f3f7fb;
}
.civris-menu .sub-menu {
    top: calc(100% + 2px);
    width: 280px;
    padding: 10px;
    border-radius: 15px;
    border: 1px solid #dfe8ef;
    background: #fff;
    box-shadow: 0 20px 45px rgba(11,45,87,.14);
}
.civris-header-cta {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--civris-orange);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(244,154,24,.22);
}
.civris-header-cta:hover { background: var(--civris-orange-dark); }

/* Make dark hero text reliably readable against Divi's stronger heading rule. */
body.civris-corporate-theme .civris-hero h1,
body.civris-corporate-theme .civris-page-hero h1 {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.12);
}
body.civris-corporate-theme .civris-hero .civris-lead,
body.civris-corporate-theme .civris-page-hero p {
    color: rgba(255,255,255,.9) !important;
}

/* Compact request teaser instead of an always-open form. */
.civris-request-teaser { background: #fff; }
.civris-request-teaser-card,
.civris-contact-action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    padding: clamp(30px,4vw,52px);
    border: 1px solid var(--civris-border);
    border-radius: 28px;
    background: linear-gradient(135deg,#f8fbfd,#eef5fb);
    box-shadow: var(--civris-shadow-soft);
}
.civris-request-teaser-card > div,
.civris-contact-action-card > div { max-width: 860px; }
.civris-request-teaser-card h2,
.civris-contact-action-card h2 { margin-bottom: 14px; }
.civris-request-teaser-card p,
.civris-contact-action-card p { margin-bottom: 0; color: var(--civris-muted); font-size: 18px; }
.civris-contact-action-card p + p { margin-top: 18px; }

/* Request modal */
body.civris-modal-open { overflow: hidden; }
.civris-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}
.civris-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.civris-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7,28,50,.72);
    backdrop-filter: blur(5px);
}
.civris-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: min(880px, calc(100vh - 56px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 32px 90px rgba(0,0,0,.28);
}
.civris-modal-close {
    position: sticky;
    float: right;
    top: 16px;
    z-index: 5;
    width: 44px;
    height: 44px;
    margin: 16px 16px -60px 0;
    border: 0;
    border-radius: 50%;
    background: #edf3f8;
    color: var(--civris-blue-deep);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}
.civris-modal-head {
    padding: 42px clamp(24px,5vw,58px) 25px;
    border-bottom: 1px solid #e6edf3;
}
.civris-modal-head h2 { max-width: 720px; margin-bottom: 12px; }
.civris-modal-head p { max-width: 760px; margin: 0; color: var(--civris-muted); font-size: 17px; }
.civris-modal-form { padding: 28px clamp(20px,4vw,48px) 48px; }
.civris-modal .civris-request-form-wrap {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Footer: visual language of the PSB family, CIVRIS content only. */
.civris-footer {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(125deg,#08294f 0%,#0b315d 58%,#153f72 100%);
}
.civris-footer-pattern {
    position: absolute;
    inset: 0;
    opacity: .06;
    background-image: linear-gradient(#fff 1px,transparent 1px),linear-gradient(90deg,#fff 1px,transparent 1px);
    background-size: 74px 74px;
    pointer-events: none;
}
.civris-footer-inner { position: relative; z-index: 1; padding-top: 62px; padding-bottom: 28px; }
.civris-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 54px;
    padding: 28px 32px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 22px;
    background: rgba(255,255,255,.075);
}
.civris-footer-cta h2 { margin: 5px 0 0; color: #fff !important; font-size: clamp(26px,2.5vw,38px); }
.civris-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .92fr .92fr .9fr;
    gap: clamp(34px,4.2vw,70px);
    padding-bottom: 46px;
}
.civris-footer-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    margin-bottom: 22px;
    padding: 13px;
    border-radius: 24px;
    background: #fff;
}
.civris-footer-brand img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
}
.civris-footer-brand p { max-width: 370px; color: rgba(255,255,255,.72); font-size: 15px; }
.civris-footer-col h3 { margin-bottom: 18px; color: #fff !important; font-size: 18px; }
.civris-footer-col p { color: rgba(255,255,255,.71); font-size: 14px; line-height: 1.75; }
.civris-footer-col a { display: block; margin: 7px 0; color: rgba(255,255,255,.79); text-decoration: none; font-size: 14px; }
.civris-footer-col a:hover { color: #fff; }
.civris-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 23px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.64);
    font-size: 13px;
}

/* Responsive navigation and modal */
@media (max-width: 1180px) {
    .civris-header-inner { grid-template-columns: 150px minmax(0,1fr) auto; gap: 18px; }
    .civris-logo img { height: 66px; max-width: 138px; }
    .civris-menu > li > a { padding-inline: 9px; font-size: 14px; }
    .civris-header-cta { padding-inline: 16px; }
}

@media (max-width: 980px) {
    .admin-bar .civris-site-header { top: 32px; }
    .civris-header-inner { min-height: 82px; grid-template-columns: 1fr auto; }
    .civris-logo img { height: 62px; }
    .civris-menu-toggle { display: block; justify-self: end; }
    .civris-header-cta { display: none; }
    .civris-navigation {
        position: fixed;
        left: 0;
        right: 0;
        top: 82px;
        z-index: 9989;
        max-height: calc(100vh - 82px);
        padding: 18px 24px 28px;
        overflow-y: auto;
        background: #fff;
        border-top: 1px solid var(--civris-border);
        box-shadow: 0 22px 40px rgba(17,52,89,.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .18s ease;
    }
    .admin-bar .civris-navigation { top: 114px; max-height: calc(100vh - 114px); }
    .civris-navigation.is-open { opacity: 1; visibility: visible; transform: none; }
    .civris-menu { display: block; max-width: 760px; margin-inline: auto; }
    .civris-menu > li { border-bottom: 1px solid #edf1f5; }
    .civris-menu > li > a { min-height: 56px; padding: 0 5px; font-size: 17px; }
    .civris-menu .sub-menu { position: static; width: auto; padding: 0 0 12px 16px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
    .civris-menu .menu-item-has-children > a::after { display: none; }
    .civris-request-teaser-card,
    .civris-contact-action-card { align-items: flex-start; flex-direction: column; }
    .civris-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
    .admin-bar .civris-site-header { top: 46px; }
    .admin-bar .civris-navigation { top: 128px; max-height: calc(100vh - 128px); }
    .civris-modal { padding: 14px; }
    .civris-modal-dialog { max-height: calc(100vh - 28px); border-radius: 20px; }
    .civris-modal-head { padding-top: 34px; }
}

@media (max-width: 620px) {
    .civris-wrap { width: min(calc(100% - 32px), var(--civris-wrap)); }
    .civris-header-inner { min-height: 74px; }
    .civris-logo img { height: 56px; max-width: 120px; }
    .civris-navigation { top: 74px; max-height: calc(100vh - 74px); padding-inline: 16px; }
    .admin-bar .civris-navigation { top: 120px; max-height: calc(100vh - 120px); }
    .civris-hero-grid { padding-top: 54px; padding-bottom: 64px; }
    body.civris-corporate-theme h1 { font-size: clamp(38px,12vw,52px); }
    .civris-footer-cta { align-items: flex-start; flex-direction: column; padding: 24px 22px; }
    .civris-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .civris-footer-bottom { align-items: flex-start; flex-direction: column; }
    .civris-modal-head { padding-inline: 22px; }
    .civris-modal-form { padding-inline: 18px; }
}

/* Desktop reset after legacy 1100px rules from v1.0.0. */
@media (min-width: 981px) {
    .civris-menu-toggle { display: none !important; }
    .civris-header-cta { display: inline-flex !important; }
    .civris-navigation {
        position: static !important;
        inset: auto !important;
        z-index: auto;
        max-height: none !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    .civris-menu { display: flex !important; max-width: none !important; margin: 0 !important; }
    .civris-menu > li { border-bottom: 0 !important; }
    .civris-menu .sub-menu {
        position: absolute !important;
        width: 280px !important;
        padding: 10px !important;
        border: 1px solid #dfe8ef !important;
        box-shadow: 0 20px 45px rgba(11,45,87,.14) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(8px) !important;
        background: #fff !important;
    }
    .civris-menu li:hover > .sub-menu,
    .civris-menu li:focus-within > .sub-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    .civris-menu .menu-item-has-children > a::after { display: inline-block !important; }
}

/* Flyer-Bereich */
.civris-flyer-section {
    background: #fff;
}
.civris-flyer-section .civris-section-heading {
    max-width: 780px;
    margin-inline: auto;
}
.civris-flyer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(22px, 3vw, 38px);
    max-width: 980px;
    margin: 0 auto;
}
.civris-flyer-card {
    margin: 0;
    padding: 0;
    text-align: center;
}
.civris-flyer-card h3 {
    margin: 15px 0 0;
    color: var(--civris-blue-deep);
    font-size: 18px;
}
.civris-flyer-preview {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--civris-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(11,45,87,.10);
    cursor: zoom-in;
}
.civris-flyer-preview img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 445 / 629;
    object-fit: cover;
}
.civris-flyer-preview span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 9px;
    color: #fff;
    background: rgba(7,39,73,.92);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    font-size: 12px;
    font-weight: 800;
}
.civris-flyer-preview:hover span,
.civris-flyer-preview:focus-visible span {
    background: var(--civris-orange);
}
.civris-flyer-downloads {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.civris-flyer-downloads .civris-btn {
    min-width: 190px;
}

.civris-flyer-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}
.civris-flyer-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.civris-flyer-lightbox-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(5,22,39,.82);
    backdrop-filter: blur(6px);
    cursor: zoom-out;
}
.civris-flyer-lightbox-dialog {
    position: relative;
    z-index: 1;
    max-width: min(680px, 92vw);
    max-height: 92vh;
}
.civris-flyer-lightbox-dialog img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0,0,0,.32);
}
.civris-flyer-lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    color: var(--civris-blue-deep);
    background: #fff;
    box-shadow: 0 10px 26px rgba(0,0,0,.22);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
body.civris-flyer-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .civris-flyer-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
    .civris-flyer-downloads {
        align-items: stretch;
        flex-direction: column;
        max-width: 520px;
        margin-inline: auto;
        margin-top: 24px;
    }
    .civris-flyer-downloads .civris-btn {
        width: 100%;
    }
    .civris-flyer-lightbox {
        padding: 16px;
    }
    .civris-flyer-lightbox-close {
        top: 8px;
        right: 8px;
    }
}


/* Readability hardening 1.0.4 */
body.civris-corporate-theme .civris-hero h1,
body.civris-corporate-theme .civris-page-hero h1,
body.civris-corporate-theme .civris-post-hero h1,
body.civris-corporate-theme .civris-process-section h2,
body.civris-corporate-theme .civris-process-section h3,
body.civris-corporate-theme .civris-process-section .civris-section-heading h2,
body.civris-corporate-theme .civris-process-section .civris-process-grid h3,
body.civris-corporate-theme .civris-site-footer h2,
body.civris-corporate-theme .civris-site-footer h3,
body.civris-corporate-theme .civris-site-footer h4,
body.civris-corporate-theme .civris-site-footer strong,
body.civris-corporate-theme .civris-flyer-lightbox-dialog h2,
body.civris-corporate-theme .civris-request-modal-dialog h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.14);
}

body.civris-corporate-theme .civris-hero .civris-lead,
body.civris-corporate-theme .civris-page-hero p,
body.civris-corporate-theme .civris-process-section p,
body.civris-corporate-theme .civris-process-section .civris-section-heading p,
body.civris-corporate-theme .civris-process-grid p,
body.civris-corporate-theme .civris-site-footer p,
body.civris-corporate-theme .civris-site-footer li,
body.civris-corporate-theme .civris-site-footer .civris-footer-bottom,
body.civris-corporate-theme .civris-site-footer .civris-footer-brand p,
body.civris-corporate-theme .civris-site-footer .civris-footer-col p,
body.civris-corporate-theme .civris-request-modal-dialog p,
body.civris-corporate-theme .civris-request-modal-dialog label,
body.civris-corporate-theme .civris-request-modal-dialog legend,
body.civris-corporate-theme .civris-request-modal-dialog .description {
    color: rgba(255,255,255,.94) !important;
}

body.civris-corporate-theme .civris-process-section .civris-kicker,
body.civris-corporate-theme .civris-site-footer .civris-kicker {
    color: #ffc96a !important;
}

body.civris-corporate-theme .civris-process-grid article {
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.22) !important;
}

body.civris-corporate-theme .civris-process-grid span {
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

body.civris-corporate-theme .civris-site-footer a,
body.civris-corporate-theme .civris-site-footer .civris-footer-col a,
body.civris-corporate-theme .civris-site-footer .civris-footer-bottom a {
    color: rgba(255,255,255,.92) !important;
}

body.civris-corporate-theme .civris-site-footer a:hover {
    color: #ffffff !important;
}

body.civris-corporate-theme .civris-request-modal .civris-modal-card {
    background: linear-gradient(135deg, #163f73, #0c2f59) !important;
    color: #fff !important;
}

body.civris-corporate-theme .civris-request-modal input,
body.civris-corporate-theme .civris-request-modal select,
body.civris-corporate-theme .civris-request-modal textarea {
    background: rgba(255,255,255,.98) !important;
    color: #123252 !important;
    border-color: rgba(255,255,255,.28) !important;
}

body.civris-corporate-theme .civris-request-modal input::placeholder,
body.civris-corporate-theme .civris-request-modal textarea::placeholder {
    color: #6883a0 !important;
}

@media (max-width: 980px) {
    body.civris-corporate-theme .civris-process-section .civris-section-heading h2 {
        font-size: clamp(30px, 8vw, 42px) !important;
    }
    body.civris-corporate-theme .civris-process-grid article {
        min-height: 0 !important;
    }
}


/* Compact blog cards 1.0.5 */
body.civris-corporate-theme .civris-blog-grid {
    gap: 28px;
}

body.civris-corporate-theme .civris-blog-card {
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(17,52,89,.07);
}

body.civris-corporate-theme .civris-blog-image {
    height: 185px;
}

body.civris-corporate-theme .civris-blog-body {
    padding: 22px 24px 25px;
}

body.civris-corporate-theme .civris-blog-body > span {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: .08em;
}

body.civris-corporate-theme .civris-blog-grid .civris-blog-body h2,
body.civris-corporate-theme .civris-blog-grid .civris-blog-body h3 {
    margin-bottom: 11px !important;
    font-size: clamp(23px, 1.6vw, 28px) !important;
    line-height: 1.14 !important;
    letter-spacing: -.018em !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.civris-corporate-theme .civris-blog-grid .civris-blog-body h2 a,
body.civris-corporate-theme .civris-blog-grid .civris-blog-body h3 a {
    font-size: inherit !important;
    line-height: inherit !important;
}

body.civris-corporate-theme .civris-blog-body p {
    margin-bottom: 13px;
    font-size: 15px;
    line-height: 1.58;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.civris-corporate-theme .civris-blog-body .civris-text-link {
    font-size: 14px;
}

@media (max-width: 980px) {
    body.civris-corporate-theme .civris-blog-image { height: 195px; }
}

@media (max-width: 767px) {
    body.civris-corporate-theme .civris-blog-grid { gap: 20px; }
    body.civris-corporate-theme .civris-blog-image { height: 185px; }
    body.civris-corporate-theme .civris-blog-body { padding: 20px 20px 23px; }
    body.civris-corporate-theme .civris-blog-grid .civris-blog-body h2,
    body.civris-corporate-theme .civris-blog-grid .civris-blog-body h3 {
        font-size: 24px !important;
    }
}

/* =========================================================
   CIVRIS Divi Homepage, opt-in draft (1.0.8)
   The static 1.0.6 homepage remains the default.
   ========================================================= */
.civris-divi-home .et_pb_section { padding: 0; }
.civris-divi-home .et_pb_row { width: min(calc(100% - 56px), 1500px); max-width: 1500px; }
.civris-vb-section { padding: clamp(76px,7vw,112px) 0 !important; }
.civris-vb-heading { max-width: 860px; }
.civris-vb-heading-center { margin-inline: auto; text-align: center; }
.civris-vb-heading h2 { margin-bottom: 15px; }
.civris-vb-heading p { color: var(--civris-muted); font-size: 18px; }

.civris-vb-hero { position: relative; overflow: hidden; padding: clamp(64px,7vw,104px) 0 clamp(76px,8vw,120px) !important; background: linear-gradient(120deg,var(--civris-blue-deep),var(--civris-blue-dark) 65%,#356cae); }
.civris-vb-hero::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:56px 56px; pointer-events:none; }
.civris-vb-hero-row { display:flex; align-items:center; gap: clamp(42px,5vw,82px); }
.civris-vb-hero-row > .et_pb_column { margin-right:0 !important; }
.civris-vb-hero-copy h1 { color:#fff !important; max-width:800px; margin-bottom:22px; }
.civris-vb-hero-copy .civris-kicker { color:#fbc16d; }
.civris-vb-hero-copy .civris-lead { color:rgba(255,255,255,.9) !important; font-size:clamp(18px,1.4vw,21px); line-height:1.65; }
.civris-vb-btn { display:inline-block !important; width:auto !important; margin: 6px 10px 6px 0 !important; }
.civris-vb-btn .et_pb_button { border-radius:11px !important; padding:13px 22px !important; font-size:15px !important; font-weight:800 !important; }
.civris-vb-btn-orange .et_pb_button { background:var(--civris-orange) !important; border-color:var(--civris-orange) !important; color:#fff !important; }
.civris-vb-btn-blue .et_pb_button { background:var(--civris-blue) !important; border-color:var(--civris-blue) !important; color:#fff !important; }
.civris-vb-btn-light .et_pb_button { background:transparent !important; border-color:rgba(255,255,255,.45) !important; color:#fff !important; }
.civris-vb-trust { margin-top:18px; }
.civris-vb-trust p { color:rgba(255,255,255,.84) !important; font-size:14px; font-weight:700; }
.civris-vb-hero-media { position:relative; min-height:480px; }
.civris-vb-hero-image img { width:100%; height:450px; object-fit:cover; border-radius:28px; box-shadow:0 28px 62px rgba(0,0,0,.24); }
.civris-vb-contact-card { position:absolute; left:-24px; bottom:-12px; z-index:4; width:310px; padding:22px 24px; border-radius:20px; background:#fff; box-shadow:0 18px 42px rgba(0,0,0,.18); }
.civris-vb-contact-card span,.civris-vb-contact-card strong,.civris-vb-contact-card a { display:block; }
.civris-vb-contact-card span { color:var(--civris-muted); font-size:12px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.civris-vb-contact-card strong { margin:4px 0 8px; color:var(--civris-blue-deep); font-size:20px; }
.civris-vb-contact-card a { color:var(--civris-blue); text-decoration:none; }

.civris-vb-services { background:#fff; }
.civris-vb-service-row { display:flex; gap:22px; margin-top:22px; }
.civris-vb-service-row > .et_pb_column { flex:1; margin-right:0 !important; padding:0 0 24px; overflow:hidden; border:1px solid var(--civris-border); border-radius:22px; background:#fff; box-shadow:var(--civris-shadow-soft); }
.civris-vb-service-image { margin-bottom:0 !important; }
.civris-vb-service-image img { width:100%; height:210px; object-fit:cover; }
.civris-vb-service-copy { padding:24px 26px 0; }
.civris-vb-service-copy h3 { margin-bottom:12px; font-size:25px; }
.civris-vb-service-copy p { color:var(--civris-muted); }
.civris-vb-service-copy a { color:var(--civris-blue); font-weight:800; text-decoration:none; }

.civris-vb-flyer { background:var(--civris-soft); }
.civris-vb-flyer-row { display:flex; gap:28px; }
.civris-vb-flyer-row > .et_pb_column { flex:1; margin-right:0 !important; padding:24px; border:1px solid var(--civris-border); border-radius:24px; background:#fff; box-shadow:var(--civris-shadow-soft); }
.civris-vb-flyer-row img { border-radius:16px; }
.civris-vb-flyer-row h3 { margin:18px 0 0; text-align:center; font-size:22px; }
.civris-vb-download-row { display:flex; gap:18px; margin-top:26px; }
.civris-vb-download-row > .et_pb_column { flex:1; margin-right:0 !important; text-align:center; }

.civris-vb-about { background:var(--civris-soft); }
.civris-vb-about-row { display:flex; gap:clamp(48px,7vw,100px); align-items:center; }
.civris-vb-about-row > .et_pb_column { margin-right:0 !important; }
.civris-vb-about-copy p { color:var(--civris-muted); font-size:18px; }
.civris-vb-benefits { padding:30px 32px; border-radius:24px; background:linear-gradient(140deg,var(--civris-blue-deep),var(--civris-blue-dark)); box-shadow:var(--civris-shadow); }
.civris-vb-benefits .civris-card-eyebrow { color:#fbc16d; font-size:13px; font-weight:850; text-transform:uppercase; letter-spacing:.1em; }
.civris-vb-benefits h3 { margin:22px 0 5px; color:#fff !important; font-size:20px; }
.civris-vb-benefits p { margin-bottom:0; color:rgba(255,255,255,.82) !important; }

.civris-vb-process { background:linear-gradient(125deg,var(--civris-blue-deep),var(--civris-blue-dark) 70%,#356cae); }
.civris-vb-heading-light h2 { color:#fff !important; }
.civris-vb-heading-light .civris-kicker { color:#fbc16d; }
.civris-vb-process-row { display:flex; gap:18px; }
.civris-vb-process-row > .et_pb_column { flex:1; margin-right:0 !important; padding:28px; border:1px solid rgba(255,255,255,.18); border-radius:22px; background:rgba(255,255,255,.08); }
.civris-vb-process-card h3 { color:#fff !important; margin:18px 0 10px; font-size:23px; }
.civris-vb-process-card p { color:rgba(255,255,255,.86) !important; }
.civris-vb-step { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:var(--civris-orange); color:#fff; font-weight:900; }

.civris-vb-request { background:#fff; }
.civris-vb-request-row { display:flex; align-items:center; gap:32px; padding:clamp(30px,4vw,50px); border:1px solid var(--civris-border); border-radius:28px; background:linear-gradient(135deg,#f8fbfd,#eef5fb); box-shadow:var(--civris-shadow-soft); }
.civris-vb-request-row > .et_pb_column { margin-right:0 !important; }
.civris-vb-request-button-col { text-align:right; }

.civris-vb-blog { background:var(--civris-soft); }
.civris-vb-blog-module .et_pb_post { overflow:hidden; border:1px solid var(--civris-border) !important; border-radius:20px; background:#fff; box-shadow:var(--civris-shadow-soft); }
.civris-vb-blog-module .et_pb_image_container { margin:0 !important; }
.civris-vb-blog-module .entry-featured-image-url { margin-bottom:0; }
.civris-vb-blog-module .entry-featured-image-url img { width:100%; height:180px; object-fit:cover; }
.civris-vb-blog-module .entry-title,.civris-vb-blog-module .post-meta,.civris-vb-blog-module .post-content { padding-left:22px; padding-right:22px; }
.civris-vb-blog-module .entry-title { padding-top:20px; font-size:26px !important; line-height:1.16; }
.civris-vb-blog-module .post-content { padding-bottom:24px; }

@media (max-width:980px) {
    .civris-divi-home .et_pb_row { width:min(calc(100% - 36px),1500px); }
    .civris-vb-hero-row,.civris-vb-service-row,.civris-vb-flyer-row,.civris-vb-about-row,.civris-vb-process-row,.civris-vb-request-row,.civris-vb-download-row { display:block; }
    .civris-vb-hero-row > .et_pb_column,.civris-vb-service-row > .et_pb_column,.civris-vb-flyer-row > .et_pb_column,.civris-vb-about-row > .et_pb_column,.civris-vb-process-row > .et_pb_column,.civris-vb-request-row > .et_pb_column,.civris-vb-download-row > .et_pb_column { width:100% !important; margin:0 0 22px !important; }
    .civris-vb-hero-media { min-height:0; margin-top:30px !important; }
    .civris-vb-hero-image img { height:390px; }
    .civris-vb-contact-card { position:relative; left:auto; bottom:auto; width:calc(100% - 28px); margin:-54px auto 0; }
    .civris-vb-service-image img { height:250px; }
    .civris-vb-request-button-col { text-align:left; }
}
@media (max-width:600px) {
    .civris-divi-home .et_pb_row { width:min(calc(100% - 28px),1500px); }
    .civris-vb-section { padding:64px 0 !important; }
    .civris-vb-hero { padding:52px 0 72px !important; }
    .civris-vb-hero-image img { height:300px; border-radius:20px; }
    .civris-vb-service-image img { height:210px; }
    .civris-vb-service-copy { padding:20px 20px 0; }
    .civris-vb-request-row { padding:26px 22px; }
}


/* =========================================================
   CIVRIS Divi Homepage polish 1.0.9
   Keeps the existing Divi draft intact and only improves layout.
   ========================================================= */
body.civris-corporate-theme .civris-divi-home .civris-vb-hero-copy h1 {
    color:#fff !important;
    font-size:clamp(48px,4.4vw,72px) !important;
    line-height:1.06 !important;
    letter-spacing:-.035em !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-hero-copy .civris-lead {
    color:rgba(255,255,255,.94) !important;
    max-width:690px;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-btn.et_pb_button_module_wrapper {
    display:inline-block !important;
    width:auto !important;
    margin:8px 10px 8px 0 !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-btn .et_pb_button,
body.civris-corporate-theme .civris-divi-home .et_pb_button_module_wrapper.civris-vb-btn .et_pb_button {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:50px !important;
    padding:13px 22px !important;
    border-width:1px !important;
    border-style:solid !important;
    border-radius:11px !important;
    font-size:15px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    text-decoration:none !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-btn-orange .et_pb_button {
    background:#f49a18 !important;
    border-color:#f49a18 !important;
    color:#fff !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-btn-orange .et_pb_button:hover {
    background:#dc8410 !important;
    border-color:#dc8410 !important;
    color:#fff !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-btn-blue .et_pb_button {
    background:#2f5597 !important;
    border-color:#2f5597 !important;
    color:#fff !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-btn-light .et_pb_button {
    background:rgba(255,255,255,.05) !important;
    border-color:rgba(255,255,255,.62) !important;
    color:#fff !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-btn-light .et_pb_button:hover {
    background:#fff !important;
    border-color:#fff !important;
    color:#143b73 !important;
}

/* More balanced section widths and spacing */
body.civris-corporate-theme .civris-divi-home .civris-vb-heading-row,
body.civris-corporate-theme .civris-divi-home .civris-vb-service-row,
body.civris-corporate-theme .civris-divi-home .civris-vb-about-row,
body.civris-corporate-theme .civris-divi-home .civris-vb-process-row,
body.civris-corporate-theme .civris-divi-home .civris-vb-request-row {
    max-width:1400px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-heading h2 {
    font-size:clamp(34px,3vw,50px) !important;
    line-height:1.08 !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-heading p {
    font-size:17px !important;
    line-height:1.65 !important;
}

/* Service cards */
body.civris-corporate-theme .civris-divi-home .civris-vb-service-row {
    gap:24px !important;
    margin-top:24px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-service-row > .et_pb_column {
    border-radius:20px !important;
    box-shadow:0 14px 34px rgba(17,52,89,.07) !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-service-image img {
    height:190px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-service-copy {
    padding:22px 24px 2px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-service-copy h3 {
    font-size:24px !important;
    line-height:1.15 !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-service-copy p {
    font-size:16px !important;
    line-height:1.65 !important;
}

/* Flyer: visually important, but not oversized */
body.civris-corporate-theme .civris-divi-home .civris-vb-flyer {
    padding-top:82px !important;
    padding-bottom:82px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-flyer > .et_pb_row,
body.civris-corporate-theme .civris-divi-home .civris-vb-flyer-row,
body.civris-corporate-theme .civris-divi-home .civris-vb-download-row {
    max-width:1180px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-flyer-row {
    gap:24px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-flyer-row > .et_pb_column {
    padding:18px !important;
    border-radius:22px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-flyer-row .et_pb_image {
    margin-bottom:0 !important;
    text-align:center !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-flyer-row img {
    display:block !important;
    width:auto !important;
    max-width:100% !important;
    max-height:610px !important;
    margin:0 auto !important;
    object-fit:contain !important;
    border-radius:14px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-flyer-row h3 {
    margin:14px 0 0 !important;
    font-size:19px !important;
}

/* Request teaser */
body.civris-corporate-theme .civris-divi-home .civris-vb-request {
    padding:72px 0 !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-request-row {
    padding:34px 38px !important;
    border-radius:24px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-request-row h2 {
    margin-bottom:8px !important;
    font-size:clamp(32px,2.8vw,46px) !important;
    line-height:1.08 !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-request-row p {
    margin-bottom:0 !important;
    font-size:17px !important;
    line-height:1.55 !important;
    color:#4f6881 !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-request-button-col .et_pb_button_module_wrapper {
    margin-bottom:0 !important;
}

/* Ratgeber */
body.civris-corporate-theme .civris-divi-home .civris-vb-blog {
    padding-top:82px !important;
    padding-bottom:92px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-blog > .et_pb_row {
    max-width:1400px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-blog .civris-vb-heading h2 {
    font-size:clamp(36px,3vw,50px) !important;
    max-width:760px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-blog-module .et_pb_post {
    border-radius:18px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-blog-module .entry-featured-image-url img {
    height:175px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-blog-module .entry-title {
    padding-top:18px !important;
    font-size:25px !important;
    line-height:1.14 !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-blog-module .post-meta {
    font-size:13px !important;
}
body.civris-corporate-theme .civris-divi-home .civris-vb-blog-module .post-content {
    font-size:15px !important;
    line-height:1.6 !important;
}

@media (max-width:980px) {
    body.civris-corporate-theme .civris-divi-home .civris-vb-hero-copy h1 {
        font-size:clamp(42px,8vw,60px) !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-flyer-row img {
        max-height:none !important;
        width:100% !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-request-row {
        padding:30px 28px !important;
    }
}
@media (max-width:600px) {
    body.civris-corporate-theme .civris-divi-home .civris-vb-hero-copy h1 {
        font-size:40px !important;
        line-height:1.08 !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-heading h2,
    body.civris-corporate-theme .civris-divi-home .civris-vb-request-row h2,
    body.civris-corporate-theme .civris-divi-home .civris-vb-blog .civris-vb-heading h2 {
        font-size:34px !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-service-image img {
        height:190px !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-request {
        padding:58px 0 !important;
    }
}


/* =========================================================
   CIVRIS Divi Homepage polish 1.0.10
   Quieter headings + tighter services-to-flyer transition.
   ========================================================= */

/* Hero H1 remains the page H1, but is visually calmer. */
body.civris-corporate-theme .civris-divi-home .civris-vb-hero-copy h1 {
    font-size: clamp(46px, 3.75vw, 62px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.03em !important;
    max-width: 720px !important;
}

/* Consistent, calmer main section headings. */
body.civris-corporate-theme .civris-divi-home .civris-vb-heading h1,
body.civris-corporate-theme .civris-divi-home .civris-vb-heading h2,
body.civris-corporate-theme .civris-divi-home .civris-vb-about-copy h1,
body.civris-corporate-theme .civris-divi-home .civris-vb-about-copy h2,
body.civris-corporate-theme .civris-divi-home .civris-vb-request-row h1,
body.civris-corporate-theme .civris-divi-home .civris-vb-request-row h2 {
    font-size: clamp(34px, 2.55vw, 44px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em !important;
}

body.civris-corporate-theme .civris-divi-home .civris-vb-heading {
    max-width: 780px !important;
}

body.civris-corporate-theme .civris-divi-home .civris-vb-heading p {
    font-size: 17px !important;
    line-height: 1.6 !important;
}

/* Reduce the double whitespace between services and flyer. */
body.civris-corporate-theme .civris-divi-home .civris-vb-services {
    padding-bottom: 46px !important;
}

body.civris-corporate-theme .civris-divi-home .civris-vb-flyer {
    padding-top: 44px !important;
    padding-bottom: 72px !important;
}

body.civris-corporate-theme .civris-divi-home .civris-vb-flyer .civris-vb-heading {
    margin-bottom: 28px !important;
}

@media (max-width: 980px) {
    body.civris-corporate-theme .civris-divi-home .civris-vb-hero-copy h1 {
        font-size: clamp(42px, 7vw, 54px) !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-heading h1,
    body.civris-corporate-theme .civris-divi-home .civris-vb-heading h2,
    body.civris-corporate-theme .civris-divi-home .civris-vb-about-copy h1,
    body.civris-corporate-theme .civris-divi-home .civris-vb-about-copy h2,
    body.civris-corporate-theme .civris-divi-home .civris-vb-request-row h1,
    body.civris-corporate-theme .civris-divi-home .civris-vb-request-row h2 {
        font-size: clamp(32px, 5.5vw, 40px) !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-services {
        padding-bottom: 36px !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-flyer {
        padding-top: 36px !important;
    }
}

@media (max-width: 600px) {
    body.civris-corporate-theme .civris-divi-home .civris-vb-hero-copy h1 {
        font-size: 38px !important;
    }
    body.civris-corporate-theme .civris-divi-home .civris-vb-heading h1,
    body.civris-corporate-theme .civris-divi-home .civris-vb-heading h2,
    body.civris-corporate-theme .civris-divi-home .civris-vb-about-copy h1,
    body.civris-corporate-theme .civris-divi-home .civris-vb-about-copy h2,
    body.civris-corporate-theme .civris-divi-home .civris-vb-request-row h1,
    body.civris-corporate-theme .civris-divi-home .civris-vb-request-row h2 {
        font-size: 32px !important;
    }
}


/* PSB Group logo strip 1.0.12 */
.civris-group-strip {
    display: none;
    padding: 26px 0 30px;
    background: #fff;
    border-bottom: 1px solid var(--civris-border);
}
.civris-group-strip.is-mounted { display: block; }
.civris-group-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}
.civris-group-strip-head .civris-kicker { margin: 0; }
.civris-group-strip-head p {
    margin: 0;
    color: var(--civris-muted);
    font-size: 15px;
}
.civris-group-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}
.civris-group-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 118px;
    padding: 16px 22px;
    border: 1px solid var(--civris-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(17,52,89,.06);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.civris-group-logo-card:hover {
    transform: translateY(-2px);
    border-color: #bfd4e7;
    box-shadow: 0 16px 34px rgba(17,52,89,.10);
}
.civris-group-logo-card img {
    width: auto;
    height: 82px;
    max-width: 155px;
    object-fit: contain;
}
.civris-group-logo-card span {
    color: var(--civris-blue-deep);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
}
@media (max-width: 980px) {
    .civris-group-strip { padding: 22px 0 26px; }
    .civris-group-strip-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .civris-group-logos { grid-template-columns: 1fr; gap: 12px; }
    .civris-group-logo-card { min-height: 96px; justify-content: flex-start; }
    .civris-group-logo-card img { height: 68px; max-width: 135px; }
}
@media (max-width: 600px) {
    .civris-group-strip-head p { font-size: 14px; }
    .civris-group-logo-card { padding: 13px 16px; border-radius: 16px; }
    .civris-group-logo-card img { height: 58px; max-width: 112px; }
    .civris-group-logo-card span { font-size: 14px; }
}

/* Single posts 1.0.13 */
body.civris-corporate-theme.single-post .civris-post-hero .civris-wrap {
    padding-top: clamp(52px, 5vw, 72px);
    padding-bottom: clamp(54px, 5vw, 76px);
}
body.civris-corporate-theme.single-post .civris-post-hero h1 {
    max-width: 920px;
    margin-bottom: 0;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.06;
}
body.civris-corporate-theme.single-post .civris-post-hero .civris-kicker {
    margin-bottom: 14px;
}
body.civris-corporate-theme.single-post .civris-article-section {
    padding: clamp(52px, 6vw, 82px) 0;
    background: #f5f8fb;
}
body.civris-corporate-theme.single-post .civris-article-card {
    width: min(100%, 980px);
    margin-inline: auto;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid var(--civris-border);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--civris-shadow-soft);
}
body.civris-corporate-theme.single-post .civris-article-content {
    max-width: 820px;
    margin-inline: auto;
}
body.civris-corporate-theme.single-post .civris-article-content > :first-child {
    margin-top: 0 !important;
}
body.civris-corporate-theme.single-post .civris-article-content p,
body.civris-corporate-theme.single-post .civris-article-content li {
    color: #3d5368;
    font-size: 17px;
    line-height: 1.78;
}
body.civris-corporate-theme.single-post .civris-article-content h2 {
    margin-top: 42px;
    margin-bottom: 16px;
    font-size: clamp(28px, 3vw, 38px);
}
body.civris-corporate-theme.single-post .civris-article-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: clamp(22px, 2.3vw, 29px);
}
body.civris-corporate-theme.single-post .civris-article-content figure,
body.civris-corporate-theme.single-post .civris-article-content .wp-block-image,
body.civris-corporate-theme.single-post .civris-article-content .et_pb_image {
    margin-top: 30px;
    margin-bottom: 30px;
}
body.civris-corporate-theme.single-post .civris-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}
body.civris-corporate-theme.single-post .civris-article-content img[src*="news" i],
body.civris-corporate-theme.single-post .civris-article-content img[alt*="news" i],
body.civris-corporate-theme.single-post .civris-article-content img[title*="news" i] {
    display: none !important;
}
body.civris-corporate-theme.single-post .civris-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 820px;
    margin: 44px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--civris-border);
}
@media (max-width: 700px) {
    body.civris-corporate-theme.single-post .civris-post-hero h1 {
        font-size: 36px;
    }
    body.civris-corporate-theme.single-post .civris-article-section {
        padding: 32px 0 48px;
    }
    body.civris-corporate-theme.single-post .civris-article-card {
        padding: 26px 22px;
        border-radius: 20px;
    }
    body.civris-corporate-theme.single-post .civris-article-content p,
    body.civris-corporate-theme.single-post .civris-article-content li {
        font-size: 16px;
    }
    body.civris-corporate-theme.single-post .civris-article-footer {
        align-items: stretch;
        flex-direction: column;
    }
    body.civris-corporate-theme.single-post .civris-article-footer .civris-btn {
        width: 100%;
    }
}


/* Blog cards refinement 1.0.18 */
body.civris-corporate-theme .civris-blog-image img,
body.civris-corporate-theme .civris-vb-blog-module .entry-featured-image-url img {
    object-position: center top !important;
}

body.civris-corporate-theme .civris-blog-grid .civris-blog-body h2,
body.civris-corporate-theme .civris-blog-grid .civris-blog-body h3 {
    font-size: 20px !important;
    line-height: 1.16 !important;
    margin-bottom: 10px !important;
}

body.civris-corporate-theme .civris-vb-blog-module .entry-title {
    font-size: 21px !important;
    line-height: 1.16 !important;
    padding-top: 18px !important;
}

body.civris-corporate-theme .civris-vb-blog-module .post-meta {
    font-size: 12px !important;
    margin-bottom: 8px !important;
}

body.civris-corporate-theme .civris-vb-blog-module .post-content,
body.civris-corporate-theme .civris-blog-body p {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

@media (max-width: 980px) {
    body.civris-corporate-theme .civris-vb-blog-module .entry-title,
    body.civris-corporate-theme .civris-blog-grid .civris-blog-body h2,
    body.civris-corporate-theme .civris-blog-grid .civris-blog-body h3 {
        font-size: 19px !important;
    }
}
