/*
Theme Name: ITS Grempels Editor
Theme URI: https://its-grempels.de
Author: Niklas Grempels
Description: Gutenberg-Theme im Mockup-Design mit Live-Vorschau im Editor. Keine externen Fonts/CDNs.
Version: 4.5.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: its-grempels-editor
*/

*{box-sizing:border-box}
:root{--navy:#061b33;--navy2:#08294f;--blue:#145bd7;--blue2:#0b4cc4;--text:#101928;--muted:#5d6b80;--line:#dbe3ee;--soft:#f4f7fb;--shadow:0 16px 44px rgba(11,32,60,.10)}
body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.6}
a{color:var(--blue)}img{max-width:100%;height:auto}.container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.skip-link{position:absolute;left:-999px;top:12px;background:#fff;color:#000;padding:10px 14px;z-index:9999}.skip-link:focus{left:12px}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.nav{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:inline-flex;align-items:center;text-decoration:none;color:var(--navy)}
.brand img,.custom-logo{width:245px;max-width:100%;height:auto;display:block}.brand-icon{width:38px;height:38px;border:2px solid var(--blue);color:var(--blue);border-radius:7px;display:grid;place-items:center;font-size:13px;font-weight:900;margin-right:10px}
.brand strong{display:block;font-size:17px;line-height:1.1}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.primary-navigation{display:flex;align-items:center}.menu{display:flex;align-items:center;gap:30px;font-size:15px;font-weight:650;list-style:none;margin:0;padding:0}.menu a{text-decoration:none;color:#26364a}.menu a:hover{color:var(--blue)}
.btn,.header-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:6px;text-decoration:none;font-weight:800;font-size:15px}.btn.primary,.header-btn{background:linear-gradient(180deg,var(--blue),var(--blue2));color:#fff;box-shadow:0 10px 24px rgba(20,91,215,.25)}.btn.secondary{border:1px solid rgba(255,255,255,.5);color:#fff}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;color:var(--navy);box-shadow:none;border-radius:6px;padding:8px 10px;cursor:pointer;align-items:center;gap:8px}.menu-toggle span{display:block;width:20px;height:2px;background:currentColor;margin:3px 0}.menu-toggle b{font-size:13px}
.content-area{padding:70px 0}.entry-content{max-width:1180px;margin:0 auto}.entry-title{font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-.04em;color:#10233d;margin:0 0 22px}
.alignwide{max-width:1180px;margin-left:auto;margin-right:auto}.alignfull{width:100vw;margin-left:calc(50% - 50vw)}
.eyebrow{margin:0 0 12px;color:var(--blue);text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:900}
.its-hero{min-height:620px;padding:96px 0;background:linear-gradient(90deg,rgba(3,14,28,.96),rgba(3,14,28,.82),rgba(3,14,28,.68)),radial-gradient(circle at 78% 25%,rgba(20,91,215,.36),transparent 30%),linear-gradient(135deg,#07182d,#020b15);color:#fff;display:flex;align-items:center}
.its-hero .eyebrow{color:#b7d2ff}.its-hero h1{font-size:clamp(42px,5.5vw,70px);line-height:1.05;letter-spacing:-.045em;margin:0 0 22px;max-width:880px;color:#fff}.its-hero p{font-size:19px;color:#d8e4f5;max-width:760px;margin:0 0 30px}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.its-section{padding:82px 0}.its-section.soft{background:var(--soft)}.its-section.white{background:#fff}
.section-head{max-width:820px;margin:0 auto 42px;text-align:center}.section-head h2{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-.035em;color:#10233d;margin:0 0 14px}.section-head p{font-size:18px;color:var(--muted);margin:0}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.its-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px;box-shadow:0 1px 0 rgba(0,0,0,.02);transition:.18s;height:100%}.its-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:rgba(20,91,215,.25)}.its-card h3{font-size:23px;line-height:1.2;margin:0 0 12px;color:#14263d}.its-card p{color:var(--muted);margin:0 0 18px}.its-card a{color:var(--blue);font-weight:850;text-decoration:none}
.icon{width:52px;height:52px;border-radius:14px;background:#f4f8ff;border:2px solid #c7daf8;color:var(--blue);display:grid;place-items:center;margin-bottom:20px}.icon svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.split{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}.split h2{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-.035em;color:#10233d;margin:0 0 14px}.split p{color:#34465c}
.box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:32px;box-shadow:var(--shadow)}.list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.list li{position:relative;padding-left:30px;color:#34465c}.list li:before{content:"✓";position:absolute;left:0;color:var(--blue);font-weight:900}
.its-cta{padding:82px 0;background:radial-gradient(circle at 50% 0%,rgba(31,122,224,.35),transparent 38%),linear-gradient(135deg,#061b33,#08294f);color:#fff;text-align:center}.its-cta h2{color:#fff;font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-.035em;margin:0 0 14px}.its-cta p{color:#d7e4f5;max-width:720px;margin:0 auto 28px}
.its-faq{display:grid;gap:12px;max-width:900px;margin:0 auto}.its-faq details{background:#fff;border:1px solid var(--line);border-radius:8px;padding:18px 22px}.its-faq summary{font-weight:800;cursor:pointer;color:#14263d}.its-faq div{color:var(--muted);padding-top:12px}
.its-contact{display:grid;grid-template-columns:340px 1fr;gap:28px}.contact-box{background:#f3f7fc;border:1px solid var(--line);border-radius:8px;padding:26px}.form-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px;box-shadow:var(--shadow)}
.footer{background:#061b33;color:#c7d6e8;padding:44px 0}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:44px}.footer img{width:230px;filter:brightness(0) invert(1)}.footer p{color:#c7d6e8;max-width:380px}.footer h4{color:#fff;margin:0 0 12px}.footer a{display:block;color:#c7d6e8;text-decoration:none;margin:0 0 8px}.copyright{border-top:1px solid rgba(255,255,255,.14);margin-top:34px;padding-top:20px;color:#aabbd0;font-size:13px;display:flex;justify-content:space-between;gap:20px}
.editor-styles-wrapper .its-hero,.editor-styles-wrapper .its-section,.editor-styles-wrapper .its-cta{margin-top:0;margin-bottom:0}.editor-styles-wrapper .card-grid{grid-template-columns:repeat(3,1fr)!important}.editor-styles-wrapper .its-card{min-height:260px}
@media(max-width:900px){.menu{display:none}.menu-toggle{display:inline-flex}.primary-navigation{display:none;position:absolute;left:20px;right:20px;top:76px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:18px}.primary-navigation.is-open{display:block}.primary-navigation .menu{display:grid;gap:12px}.header-btn{display:none}.nav{min-height:74px}.brand img,.custom-logo{width:200px}.card-grid,.split,.footer-grid,.its-contact{grid-template-columns:1fr}.its-hero{min-height:auto;padding:70px 0}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.content-area{padding:48px 0}.copyright{flex-direction:column}}

/* v1.1: Page hero and improved split/features */
.its-page-hero{min-height:430px;padding:86px 0;background:linear-gradient(90deg,rgba(3,14,28,.96),rgba(3,14,28,.82),rgba(3,14,28,.68)),radial-gradient(circle at 78% 25%,rgba(20,91,215,.32),transparent 30%),linear-gradient(135deg,#07182d,#020b15);color:#fff;display:flex;align-items:center}
.its-page-hero .eyebrow{color:#b7d2ff}
.its-page-hero h1{font-size:clamp(38px,4.8vw,62px);line-height:1.08;letter-spacing:-.04em;margin:0 0 18px;max-width:900px;color:#fff}
.its-page-hero p{font-size:19px;color:#d8e4f5;max-width:820px;margin:0}
.split h2{font-size:clamp(30px,3.4vw,46px)}
.features-list{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.features-list li{position:relative;padding-left:38px;color:#2c3f59;font-size:18px;line-height:1.45}
.features-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--blue);font-weight:900;font-size:22px}
.features-box{padding:38px}
.editor-styles-wrapper .its-page-hero{margin-top:0;margin-bottom:0}


/* v1.2: Dynamic services grid */
.card-grid.cards-1 { grid-template-columns: 1fr; max-width: 420px; margin-left:auto; margin-right:auto; }
.card-grid.cards-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid.cards-4 { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 920px; margin-left:auto; margin-right:auto; }
.card-grid.cards-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-grid.cards-6 { grid-template-columns: repeat(3, minmax(0,1fr)); }

.editor-styles-wrapper .card-grid.cards-1 { grid-template-columns: 1fr !important; }
.editor-styles-wrapper .card-grid.cards-2 { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
.editor-styles-wrapper .card-grid.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
.editor-styles-wrapper .card-grid.cards-4 { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
.editor-styles-wrapper .card-grid.cards-5,
.editor-styles-wrapper .card-grid.cards-6 { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }

@media(max-width:900px){
  .card-grid.cards-1,
  .card-grid.cards-2,
  .card-grid.cards-3,
  .card-grid.cards-4,
  .card-grid.cards-5,
  .card-grid.cards-6 {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.two-col{padding:82px 0}
.two-col-grid{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.two-col-media{min-height:320px;background:#f4f7fb;border:1px solid #dbe3ee;border-radius:14px;display:flex;align-items:center;justify-content:center}
.two-col-media img{border-radius:14px}
@media(max-width:900px){.two-col-grid{grid-template-columns:1fr}}

/* v1.5 refinements */
.icon-label{display:none}
.editor-styles-wrapper .icon-label{display:block;font-size:11px;margin-top:4px;color:#5d6b80}
.card-grid.cards-7,.card-grid.cards-8,.card-grid.cards-9,.card-grid.cards-10,.card-grid.cards-11,.card-grid.cards-12{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.card-grid.cards-7,.card-grid.cards-8,.card-grid.cards-9,.card-grid.cards-10,.card-grid.cards-11,.card-grid.cards-12{grid-template-columns:1fr}}
.two-col-media img{width:100%;height:100%;object-fit:cover}
.two-col-media.has-image{padding:0;overflow:hidden}
.faq-actions{margin-top:18px}

/* v1.6: Dashicons support */
.icon .dashicons {
  width: 30px;
  height: 30px;
  font-size: 30px;
  line-height: 30px;
}

.editor-styles-wrapper .icon .dashicons {
  font-family: dashicons;
}

/* v1.7: Local inline SVG icons */
.icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.editor-styles-wrapper .icon svg {
  width: 30px;
  height: 30px;
}

/* v1.8: better icon fitting */
.icon {
  overflow: hidden;
}

.icon svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px;
  max-height: 24px;
  stroke-width: 1.9 !important;
  vector-effect: non-scaling-stroke;
}

.editor-styles-wrapper .icon svg {
  width: 24px !important;
  height: 24px !important;
}

.icon svg * {
  vector-effect: non-scaling-stroke;
}

/* v1.9: refined Windows Server and IT-Support icons */

/* v2.0: unified core service icons */
.icon svg {
  display: block;
  margin: auto;
}

/* v2.1: better icon scaling + image sizing */
.icon svg {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px;
  max-height: 32px;
}

.editor-styles-wrapper .icon svg {
  width: 32px !important;
  height: 32px !important;
}

.two-col-media {
  min-height: var(--media-height, 320px);
}

.two-col-media img {
  height: var(--media-height, 320px);
  object-fit: cover;
}

/* v2.2: render fatal fix */

/* v2.4 footer custom links */
.footer .footer-list span,
.footer .footer-list a {
  display: block;
  color: #c7d6e8;
  text-decoration: none;
  margin: 0 0 8px;
}
.footer .footer-list a:hover {
  color: #fff;
}
.copyright {
  justify-content: flex-start;
}

/* v2.6: Header navigation via Customizer */
.primary-navigation .menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.primary-navigation .menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
@media(max-width:900px){
  .primary-navigation .menu {
    display: grid;
    gap: 12px;
  }
}

/* v2.7: cleaner header layout desktop/mobile */
.nav {
  justify-content: flex-start;
}

.brand {
  flex: 0 0 auto;
  margin-right: 46px;
}

.primary-navigation {
  flex: 1 1 auto;
}

.primary-navigation .menu {
  justify-content: flex-start;
}

.header-btn {
  margin-left: auto;
  flex: 0 0 auto;
}

@media(max-width:900px){
  .nav {
    justify-content: space-between;
    position: relative;
  }

  .brand {
    margin-right: 0;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .primary-navigation {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 18px;
    z-index: 100;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation .menu {
    display: grid;
    gap: 14px;
  }

  .primary-navigation .menu a {
    display: block;
    padding: 10px 4px;
  }

  .header-btn {
    display: none;
  }

  .primary-navigation .mobile-cta {
    display: block;
    margin-top: 10px;
  }
}

@media(min-width:901px){
  .primary-navigation .mobile-cta {
    display: none;
  }
}

/* v2.8: improved mobile header/menu */
@media(max-width:900px){
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav {
    min-height: 78px;
    gap: 14px;
  }

  .brand img,
  .custom-logo {
    width: 210px;
    max-width: calc(100vw - 165px);
  }

  .menu-toggle {
    min-height: 44px;
    padding: 8px 13px;
    border-radius: 9px;
    gap: 9px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
  }

  .menu-toggle span {
    width: 20px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    border-radius: 2px;
    background: currentColor;
  }

  .menu-toggle b {
    font-size: 16px;
    line-height: 1;
  }

  .primary-navigation {
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    border-radius: 12px;
    padding: 14px;
  }

  .primary-navigation .menu {
    gap: 4px;
  }

  .primary-navigation .menu a {
    padding: 12px 12px;
    border-radius: 8px;
    font-size: 18px;
  }

  .primary-navigation .menu a:hover {
    background: #f4f7fb;
  }

  .primary-navigation .mobile-cta {
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    padding: 0 16px;
    font-size: 17px;
    border-radius: 8px;
    box-shadow: none;
  }

  .its-hero {
    min-height: auto;
    padding: 92px 0 74px;
  }

  .its-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 1.05;
    max-width: 100%;
  }

  .its-hero p {
    font-size: 20px;
    line-height: 1.55;
  }

  .actions {
    gap: 14px;
  }

  .actions .btn {
    width: 100%;
    max-width: 360px;
    min-height: 58px;
    font-size: 18px;
  }
}

@media(max-width:420px){
  .brand img,
  .custom-logo {
    width: 190px;
    max-width: calc(100vw - 150px);
  }

  .menu-toggle b {
    font-size: 15px;
  }

  .menu-toggle {
    padding: 8px 11px;
  }

  .its-hero {
    padding-top: 82px;
  }
}

/* v2.9: v14-like desktop navbar + flat mobile menu + local icon collection */
.nav{justify-content:space-between}
.brand{margin-right:0}
.primary-navigation{flex:0 1 auto}
.primary-navigation .menu{justify-content:center}
.header-btn{margin-left:0}
.icon svg{width:31px!important;height:31px!important;stroke-width:1.9!important}
@media(max-width:900px){
  .nav{justify-content:space-between;min-height:76px}
  .brand{margin-right:0}
  .brand img,.custom-logo{width:195px;max-width:calc(100vw - 135px)}
  .menu-toggle{min-height:42px;padding:7px 11px;border-radius:8px;gap:8px}
  .menu-toggle span{width:18px!important;height:2px!important;margin:3px 0!important}
  .menu-toggle b{font-size:14px}
  .primary-navigation{left:0;right:0;top:100%;border-left:0;border-right:0;border-radius:0;padding:10px 20px 14px;box-shadow:0 12px 24px rgba(11,32,60,.08)}
  .primary-navigation .menu{gap:0}
  .primary-navigation .menu a{padding:12px 4px;font-size:17px;border-radius:0}
  .primary-navigation .mobile-cta{min-height:44px;font-size:16px;margin-top:8px}
}
@media(max-width:420px){
  .brand img,.custom-logo{width:178px;max-width:calc(100vw - 128px)}
}

/* v3.0: Heroicons solid local inline SVGs */
.icon svg {
  width: 30px !important;
  height: 30px !important;
  fill: currentColor;
  stroke: none !important;
}
.editor-styles-wrapper .icon svg {
  width: 30px !important;
  height: 30px !important;
}

/* v3.1: custom SVG icon support */
.icon svg {
  width: 30px !important;
  height: 30px !important;
  fill: currentColor;
  stroke: none;
}
.icon svg[fill="none"] {
  fill: none;
  stroke: currentColor;
}

/* v3.2: restore v14-style navbar */
.site-header .nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  gap: 30px;
  position: relative;
}

.site-header .brand {
  flex: 0 0 auto;
  margin-right: 0 !important;
}

.site-header .primary-navigation {
  flex: 0 1 auto !important;
  display: flex;
  align-items: center;
  position: static;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.site-header .primary-navigation .menu {
  display: flex;
  align-items: center;
  justify-content: center !important;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .primary-navigation .menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .primary-navigation .menu a {
  text-decoration: none;
  color: #26364a;
  font-size: 15px;
  font-weight: 650;
  padding: 0;
}

.site-header .header-btn {
  margin-left: 0 !important;
  flex: 0 0 auto;
}

@media(max-width:900px){
  .site-header .nav {
    min-height: 74px;
    justify-content: space-between !important;
    gap: 14px;
  }

  .site-header .brand img,
  .site-header .custom-logo {
    width: 200px;
    max-width: calc(100vw - 140px);
  }

  .site-header .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    min-height: 42px;
    padding: 7px 11px;
    border-radius: 8px;
    gap: 8px;
  }

  .site-header .primary-navigation {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 14px;
    z-index: 100;
  }

  .site-header .primary-navigation.is-open {
    display: block;
  }

  .site-header .primary-navigation .menu {
    display: grid;
    gap: 4px;
  }

  .site-header .primary-navigation .menu a {
    display: block;
    padding: 12px 10px;
    font-size: 17px;
    border-radius: 8px;
  }

  .site-header .primary-navigation .menu a:hover {
    background: #f4f7fb;
  }

  .site-header > .container .header-btn {
    display: none;
  }

  .site-header .primary-navigation .mobile-cta {
    display: flex;
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    box-shadow: none;
  }
}

@media(min-width:901px){
  .site-header .menu-toggle {
    display: none;
  }

  .site-header .primary-navigation .mobile-cta {
    display: none;
  }
}

@media(max-width:420px){
  .site-header .brand img,
  .site-header .custom-logo {
    width: 180px;
    max-width: calc(100vw - 128px);
  }
}

/* v3.3: clean mobile burger menu */
@media(max-width:900px){
  .site-header .menu-toggle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .site-header .menu-toggle span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    margin: 3px 0 !important;
    border-radius: 999px !important;
    background: currentColor !important;
  }

  .site-header .menu-toggle b {
    display: none !important;
  }
}

/* v3.8: Contact info and form separated */
.its-contact-info .box,
.its-form-block .box {
  width: 100%;
}

.its-form-block .fluentform,
.its-form-block .frm-fluent-form,
.its-form-block form {
  width: 100%;
  max-width: 100%;
}

/* v3.9: Gutenberg columns spacing for separated contact area */
.wp-block-columns {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-columns .its-contact-info,
.wp-block-columns .its-form-block {
  width: 100%;
}

.wp-block-columns .its-contact-info .box,
.wp-block-columns .its-form-block .box {
  width: 100%;
  box-sizing: border-box;
}

@media(max-width:900px){
  .wp-block-columns {
    width: min(100% - 28px, 680px);
  }
}

/* v4.0: Anchor section support */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 110px;
}

/* v4.1: two-column editor fix */

/* v4.2: Legal text block */
.its-legal {
  background: #fff;
  padding: 76px 0;
}

.its-legal .legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  color: #243246;
  font-size: 17px;
  line-height: 1.75;
}

.its-legal .legal-page h1,
.its-legal .legal-page h2,
.its-legal .legal-page h3,
.its-legal .legal-page h4 {
  color: #0b203c;
  line-height: 1.25;
  margin-top: 2.1em;
  margin-bottom: .7em;
}

.its-legal .legal-page h1:first-child,
.its-legal .legal-page h2:first-child,
.its-legal .legal-page h3:first-child {
  margin-top: 0;
}

.its-legal .legal-page h1 {
  font-size: clamp(34px, 5vw, 46px);
}

.its-legal .legal-page h2 {
  font-size: clamp(26px, 4vw, 34px);
}

.its-legal .legal-page h3 {
  font-size: 22px;
}

.its-legal .legal-page p,
.its-legal .legal-page li {
  margin-bottom: 1em;
}

.its-legal .legal-page ul,
.its-legal .legal-page ol {
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.its-legal .legal-page a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.its-legal .legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.its-legal .legal-page th,
.its-legal .legal-page td {
  border: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
}

@media(max-width:700px){
  .its-legal {
    padding: 48px 0;
  }

  .its-legal .legal-page {
    width: min(100% - 28px, 920px);
    font-size: 16px;
  }
}

/* v4.3: two-column image alt text */

/* v4.4: Accessibility fixes */

/* Fluent Forms submit button contrast */
.ff-btn,
.ff-btn-submit,
.frm-fluent-form .ff-btn-submit,
.fluentform .ff-btn-submit {
  background: #0b203c !important;
  color: #ffffff !important;
  border-color: #0b203c !important;
}

.ff-btn:hover,
.ff-btn:focus,
.ff-btn-submit:hover,
.ff-btn-submit:focus,
.frm-fluent-form .ff-btn-submit:hover,
.frm-fluent-form .ff-btn-submit:focus,
.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus {
  background: #12345f !important;
  color: #ffffff !important;
  border-color: #12345f !important;
}

/* Footer labels are visually headings, but not semantic heading tags */
.footer-title {
  display: block;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
}

/* v4.5: ensure two-column image alt text is available */
