/* WordPress-only additions: service page, archive row actions, editor content, 404. */

/* Services archive: the photo and title link to the service page. */
a.svc-row-media { display: block; }
.svc-row-body h2 a { color: inherit; transition: color .2s; }
.svc-row-body h2 a:hover { color: var(--blue); }
.svc-row-quote { border: 0; cursor: pointer; font-family: inherit; }

/* Service cards are links now (were buttons). */
a.svc-card { text-decoration: none; }

/* Single service */
.svc-single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.svc-single-body h2 { margin-bottom: 22px; color: var(--navy); font-size: clamp(32px, 3.4vw, 50px); letter-spacing: -1px; line-height: 1.25; }
.svc-single-body .section-kicker .svc-row-icon { width: 38px; height: 38px; display: grid; place-items: center; background: #eaf0ff; color: var(--blue); font-size: 14px; clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); }
.svc-single-subtitle { margin-top: 36px; color: var(--navy); font-size: 20px; }
.svc-single-points { margin-top: 16px; }

.entry-content { color: #4f5b70; font-size: 17px; line-height: 2.05; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; color: var(--navy); line-height: 1.4; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 21px; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { display: grid; gap: 8px; padding-inline-start: 0; list-style: none; }
.entry-content ul li, .entry-content ol li { position: relative; padding-inline-start: 26px; }
.entry-content ul li::before { content: ''; position: absolute; inset-inline-start: 0; top: .85em; width: 14px; height: 9px; background: var(--blue); clip-path: polygon(3px 0,100% 0,calc(100% - 3px) 100%,0 100%); }
.entry-content ol { counter-reset: item; }
.entry-content ol li::before { counter-increment: item; content: counter(item, decimal-leading-zero); position: absolute; inset-inline-start: 0; color: var(--blue); font: 800 13px/2.6 Arial, sans-serif; }
.entry-content img { height: auto; max-width: 100%; }
.entry-content blockquote { padding: 18px 24px; border-inline-start: 4px solid var(--blue); background: var(--silver); color: var(--navy); font-weight: 700; }
.page-content { max-width: 860px; }

.svc-single-aside { position: sticky; top: 112px; }
.svc-single-card { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 18px; padding: 34px 30px 30px; background: var(--navy); color: #fff; clip-path: polygon(0 0,100% 0,100% calc(100% - 34px),calc(100% - 34px) 100%,0 100%); }
.svc-single-card::before { content: ''; position: absolute; top: 0; inset-inline-start: 0; width: 46%; height: 4px; background: linear-gradient(to left, var(--blue) 0 70%, #9aa3b2 70%); }
.svc-single-card .section-kicker { margin: 0; color: var(--sky); }
.svc-single-card h3 { color: #fff; font-size: 24px; line-height: 1.5; }
.svc-single-card .angle-button { justify-self: start; min-height: 54px; gap: 20px; }
.svc-single-card .button-orb { width: 40px; height: 40px; font-size: 14px; }
.svc-single-num { position: absolute; z-index: -1; bottom: -26px; inset-inline-end: 10px; color: rgb(255 255 255 / 5%); font: 900 150px/1 Arial, sans-serif; letter-spacing: -6px; }
.svc-single-line { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 10%); line-height: 1.4; }
.svc-single-line > i { width: 40px; height: 40px; display: grid; place-items: center; flex: none; background: rgb(255 255 255 / 8%); color: var(--sky); font-size: 15px; clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); transition: background .2s, color .2s; }
.svc-single-line small { display: block; color: rgb(255 255 255 / 60%); font-size: 12px; font-weight: 700; }
.svc-single-line bdi { color: #fff; font: 800 16px Arial, sans-serif; letter-spacing: .02em; }
.svc-single-line:hover > i { background: var(--blue); color: #fff; }

.svc-related { background: var(--silver); }
.svc-related .page-head { margin-bottom: 40px; }

.page-404-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; }

@media (max-width: 1023px) {
  .svc-single-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc-single-aside { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 767px) {
  .entry-content { font-size: 15px; }
  .svc-single-card { padding: 28px 20px 26px; clip-path: polygon(0 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%); }
  .svc-single-card h3 { font-size: 20px; }
}

/* English (LTR, qTranslate): arrows the static styles do not flip. */
html[dir="ltr"] .cta-band-link > i { transform: rotate(180deg); }
