/* Time Matrix: the Divi look. Yellow-orange radial gradients with the honeycomb pattern, Overpass headings,
   white cards with soft shadows. Per-module settings are in divi.css (generated). */

body { color: #666; font-size: 14px; }
.site-header { background: #fff; border-bottom: 0; box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.brand img { height: 46px; }
.site-nav a { font: 600 14px/1 "Open Sans", sans-serif; color: rgba(0,0,0,.6) !important; border-bottom: 0 !important; }
.site-nav > ul > li > a[aria-current="page"], .site-nav > ul > li > a:hover { color: #2ea3f2 !important; }
.site-nav .sub { border-top: 3px solid #2ea3f2; border-radius: 0; min-width: 260px; }
.site-nav .sub a { font-weight: 600; color: rgba(0,0,0,.7) !important; }

/* Divi sections don't clip: shifted cards and the overlapping contact card hang over the edges.
   Horizontal overflow is clipped on <main> instead, so phones never scroll sideways. */
.dv-section { position: relative; padding: 4% 0; }
main { overflow-x: clip; }
/* Divi spacing: sections 4% top and bottom, rows 2%, columns separated by a 5.5% gutter */
.dv-row { position: relative; z-index: 1; width: 80%; max-width: 1080px; margin: 0 auto; padding: 2% 0; display: flex; flex-wrap: wrap; column-gap: 5.5%; }
.dv-col { position: relative; }
.dv-col-in { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.dv-bg { position: absolute; inset: 0; z-index: 0; }
.dv-bg img { width: 100%; height: 100%; object-fit: cover; }
.dv-mod { margin-bottom: 2.75%; position: relative; }
.dv-mod:last-child { margin-bottom: 0; }
.dv-mod h1, .dv-mod h2, .dv-mod h3, .dv-mod h4 { color: #333; font-weight: 500; line-height: 1.2; margin: 0 0 10px; }
.dv-mod p { margin: 0 0 1em; line-height: 1.7; }
.dv-mod p:last-child { margin-bottom: 0; }
.dv-mod ul { padding-left: 1.2em; list-style: disc; line-height: 1.7; margin: 0 0 1em; }
.dv-mod ul ul { list-style: circle; }
.dv-mod a { color: #2ea3f2; }
.dv-dark, .dv-dark h1, .dv-dark h2, .dv-dark h3 { color: #fff; }
.dv-title { font: 400 30px/1.2 "Open Sans", sans-serif; color: #333; margin: 0; }
.dv-image img { max-width: 100%; height: auto; display: block; }
.dv-image.is-center img { margin: 0 auto; }
.dv-image.is-right img { margin-left: auto; }
.dv-blurb { text-align: center; }
.dv-blurb-link { text-decoration: none; color: inherit; display: block; }
.dv-blurb img { width: 100%; height: auto; margin-bottom: 20px; transition: transform .3s; }
.dv-blurb-link:hover img { transform: translateY(-4px); }

.dv-cta { flex: 1; display: flex; }
.dv-cta-in { flex: 1; display: grid; align-content: center; justify-items: center; text-align: center; padding: 30px 20px; }
.dv-cta h2 { color: #fff; font: 400 22px/1.3 "Open Sans", sans-serif; margin: 0 0 14px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.dv-cta-btn { color: #fff; border: 2px solid #fff; padding: 6px 18px; font-size: 18px; text-decoration: none; transition: background .2s; }
.dv-cta-btn:hover { background: rgba(255,255,255,.2); }
.dv-btn { display: inline-block; background: #0c71c3; color: #fff !important; border: 2px solid #0c71c3; border-radius: 25px; padding: 8px 22px; font-size: 1.2rem; text-decoration: none; transition: background .2s, color .2s; }
.dv-btn:hover { background: #fff; color: #0c71c3 !important; }
.dv-button.is-center { text-align: center; }
.dv-divider hr { border: 0; margin: 0; }
.dv-grid { list-style: none !important; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dv-grid a { display: block; overflow: hidden; }
.dv-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.dv-grid a:hover img { transform: scale(1.05); }
.dv-gal-single img { width: 100%; height: auto; }
.dv-slider { position: relative; }
.dv-slide { margin: 0; display: none; }
.dv-slide.is-active { display: block; animation: dv-fade .6s; }
.dv-slide img { width: 100%; height: auto; display: block; }
@keyframes dv-fade { from { opacity: .3; } to { opacity: 1; } }
.dv-prev, .dv-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 2; }
.dv-prev { left: 10px; } .dv-next { right: 10px; }
.dv-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0; }
.dv-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(0,0,0,.25); padding: 0; cursor: pointer; }
.dv-dots button[aria-current="true"] { background: #333; }
.dv-map { width: 100%; height: 450px; border: 0; display: block; }
.dv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; background: none; border: 0; box-shadow: none; }
.dv-form .field { margin: 0; }
.dv-form input, .dv-form textarea { background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 0; padding: 14px; font: 700 16px "Roboto", sans-serif; color: #333; }
.dv-full { grid-column: 1 / -1; margin: 0; }
.dv-submit { text-align: right; }
.dv-submit button { background: #ed4441; color: #fff; border: 2px solid #ed4441; padding: 8px 20px; font: 700 18px "Open Sans", sans-serif; letter-spacing: 4px; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.dv-submit button:hover { background: #fff; color: #ed4441; }
.dv-calc { display: grid; gap: 10px; max-width: 520px; }
.dv-calc h3 { margin: 0; }
.dv-calc-note { font-size: 13px; }
.dv-calc label { display: grid; gap: 4px; font-size: 13px; }
.dv-calc input { border: 1px solid #ccc; padding: 8px; font-size: 14px; }
.dv-calc-btn { justify-self: start; background: #ed4441; color: #fff; border: 0; padding: 8px 18px; cursor: pointer; font-weight: 700; }
.dv-calc-out { font-size: 18px; color: #333; font-weight: 700; margin: 6px 0 0 !important; }
.dv-footer { background: #222; color: #666; padding: 16px; text-align: center; font-size: 13px; }
.dv-footer p { margin: 0; }

@media (max-width: 980px) {
  .dv-row { width: 90%; }
  .dv-col { width: 100% !important; padding: 0 !important; margin-bottom: 24px; }
  .dv-col:last-child { margin-bottom: 0; }
  .dv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dv-section { padding: 30px 0; }
  .dv-form { grid-template-columns: minmax(0, 1fr); }
  .dv-mod h1 { font-size: 28px !important; }
  .dv-mod [class*="dv-"] { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .dv-slide.is-active { animation: none; } .dv-blurb img, .dv-grid img { transition: none; } }
.dv-mod .as-h1 { font-size: 2em; }
.dv-mod a.dv-cta-btn { color: #fff; }
.dv-col > .dv-bg + .dv-col-in .dv-cta { min-height: 100%; }

/* Time Matrix additions */
.brand img { border-radius: 50%; }
.dv-mod h1, .dv-mod h2, .dv-mod h3, .dv-mod h4 { font-family: "Overpass", sans-serif; }
.dv-pattern-honeycomb { position: relative; }
.dv-pattern-honeycomb::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23b08a00' stroke-width='1.5'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%23b08a00' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 100px; }
.dv-section > .dv-row { z-index: 2; }
/* section dividers: shape, colour and height are generated into divi.css */
.dv-shape { position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
.dv-shape-bottom { bottom: -1px; }
.dv-shape-top { top: -1px; }
.dv-shape.is-flip { transform: scaleX(-1); }
.dv-shift { transform: translate(var(--dv-tx, 0), var(--dv-ty, 0)); }
.dv-row { overflow: visible; }
.dv-blurb { text-align: left; }
.dv-blurb.is-left > .dv-blurb-link, .dv-blurb.is-left { }
.dv-blurb.is-left > :is(.dv-blurb-link, .dv-blurb-icon, .dv-blurb-img) { }
.dv-blurb.is-left .dv-blurb-link, .dv-blurb.is-left:not(:has(.dv-blurb-link)) { display: flex; gap: 15px; align-items: flex-start; }
/* Divi icon-font glyphs: height = the icon font size (--ic), width from the glyph */
.dv-blurb-icon { flex: none; }
.dv-blurb-icon svg { height: var(--ic, 32px); width: auto; max-width: calc(var(--ic, 32px) * 1.3); display: block; }
.dv-blurb.is-left .dv-blurb-icon svg { width: var(--ic, 32px); }
.dv-blurb-img img { width: auto; max-width: 100%; margin: 0; }
.dv-blurb-img.is-round img { border-radius: 50%; width: 60px; height: 60px; object-fit: cover; }
.dv-blurb-text { flex: 1; }
.dv-mod .dv-blurb-title { font-family: "Overpass", sans-serif; font-size: 18px; font-weight: 500; line-height: 1.4; color: #333; margin: 0; padding-bottom: 10px; }
.dv-blurb-body { line-height: 1.8; }
.dv-btn { font-family: "Overpass", sans-serif; text-transform: uppercase; font-weight: 900; }
.dv-btn:hover { transform: translateY(-2px); background: #ffba00; color: #fff !important; }
.dv-footer { background: #222; }
@media (max-width: 980px) { .dv-shift { transform: none; } }
.dv-blurb.is-top-icon { text-align: center; }
.dv-blurb.is-top-icon .dv-blurb-icon svg { margin: 0 auto 30px; }
.dv-blurb.is-top-icon .dv-blurb-title { text-align: center; }

/* header as on the old site: wide container, 67px round logo, 90px bar */
.site-header .header-inner { width: 88%; max-width: none; min-height: 90px; }
.brand img { height: 67px; width: auto; }
@media (max-width: 980px) {
  .site-header .header-inner { width: 90%; min-height: 70px; }
  .brand img { height: 52px; }
  .dv-shape { max-height: 100px; }
}
@media (max-width: 560px) { .dv-shape { max-height: 50px; } }
