:root {
    --teal: #26a69a;
    --teal-dark: #187989;
    --teal-contrast: #147b73;
    --aqua: #2eb8ad;
    --blue: #344c70;
    --blue-dark: #273952;
    --ink: #171b21;
    --text: #5f666d;
    --muted: #8b9298;
    --line: #e6e8ea;
    --surface: #f8f8f8;
    --footer: #2e3033;
    --footer-bottom: #151515;
    --white: #fff;
    --container: 1230px;
    --gutter: clamp(1.25rem, 4vw, 2rem);
    --font-heading: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
    --font-body: "Open Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font: 400 1rem/1.72 var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--teal-dark);
    text-decoration: none;
}

a:hover {
    color: var(--teal);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(24,121,137,.38);
    outline-offset: 3px;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.25rem);
}

h3 {
    font-size: 1.25rem;
}

.container {
    width: min(calc(100% - (2 * var(--gutter))), var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 800px;
}

.section {
    padding-block: clamp(4.5rem, 8vw, 6.5rem);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 10000;
    padding: .75rem 1rem;
    color: var(--white);
    background: var(--blue);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.eyebrow {
    margin-bottom: 1.4rem;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 600;
}

.eyebrow::after,
.section-heading h2::after,
.footer-grid h2::after {
    display: block;
    width: 50px;
    height: 2px;
    margin-top: 1rem;
    background: var(--teal);
    content: "";
}

.lead {
    color: var(--text);
    font-size: 1.06rem;
    line-height: 1.75;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: .85rem 1.8rem;
    border: 0;
    color: var(--white);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.button .icon {
    width: 1.1rem;
}

.button:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.button--blue {
    background: var(--blue);
}

.button--blue:hover {
    background: var(--teal-contrast);
}

/* Header */
.site-header {
    position: relative;
    z-index: 100;
    background: var(--white);
}

.topbar {
    min-height: 50px;
    color: #687077;
    background: #f4f4f4;
    font-size: .78rem;
}

.topbar__inner {
    min-height: 50px;
    display: grid;
    grid-template-columns: 1.55fr 1fr auto;
    align-items: center;
    gap: 2rem;
}

.topbar span,
.topbar a {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: inherit;
}

.topbar a {
    justify-self: end;
    white-space: nowrap;
}

.topbar small {
    font-size: inherit;
}

.mainnav {
    background: var(--white);
}

.mainnav__inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    width: 200px;
    height: 48px;
}

.menu {
    display: flex;
    align-items: stretch;
    min-height: 48px;
}

.menu a {
    display: inline-flex;
    min-width: 88px;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.25rem;
    color: #535960;
    font-size: .9rem;
    transition: background-color .2s ease, color .2s ease;
}

.menu a:hover,
.menu a.is-active {
    color: var(--white);
    background: var(--teal-contrast);
}

.menu__call {
    font-weight: 600;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--blue);
    background: transparent;
    cursor: pointer;
}

.menu-toggle .icon {
    width: 1.8rem;
    height: 1.8rem;
}

.menu-close-icon {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #eef1f2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: 600px;
    visibility: hidden;
    opacity: 0;
    transform: translateX(3%);
    background-image: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.2) 60%, rgba(255,255,255,0) 77%), var(--hero-image);
    background-position: center;
    background-size: cover;
    transition: opacity .55s ease, transform .65s ease, visibility .65s;
}

.hero-slide.is-active {
    position: relative;
    visibility: visible;
    opacity: 1;
    transform: none;
}

.hero-slide__inner {
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
    padding-bottom: 1rem;
}

.hero-copy h1,
.hero-copy h2 {
    margin-bottom: 2.25rem;
    color: #151515;
    font-size: clamp(2.8rem, 5.4vw, 3.75rem);
    font-weight: 300;
    line-height: 1.1;
}

.hero-copy strong {
    color: var(--teal);
    font-weight: 700;
}

.hero-copy p {
    max-width: 585px;
    margin-bottom: 2.75rem;
    color: #60666b;
    line-height: 1.75;
}

.hero-controls {
    position: absolute;
    right: 50%;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem;
    background: rgba(255,255,255,.95);
    transform: translateX(50%);
}

.hero-controls > button,
.testimonial-controls button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd0d4;
    color: var(--blue);
    background: transparent;
    cursor: pointer;
}

.hero-controls > button:hover,
.testimonial-controls button:hover {
    color: var(--white);
    border-color: var(--teal-contrast);
    background: var(--teal-contrast);
}

.hero-dots {
    display: flex;
    gap: 0;
}

.hero-dots button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: radial-gradient(circle, #8c949a 0 4px, transparent 5px);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: radial-gradient(circle, var(--teal-contrast) 0 4px, transparent 5px);
}

/* Intro */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 4.8rem;
}

.intro-grid h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3vw, 2rem);
    line-height: 1.4;
}

.intro-grid h3 {
    margin: 1.9rem 0 1.1rem;
    font-weight: 600;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list--columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem 1.25rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 35px;
}

.check-list .icon {
    width: 1rem;
    color: var(--teal);
    stroke-width: 2.4;
}

.image-collage {
    position: relative;
    min-height: 520px;
}

.image-collage__main {
    width: min(83%, 495px);
    margin-left: auto;
}

.image-collage__small {
    position: absolute;
    width: min(48%, 285px);
    border: 10px solid var(--white);
}

.image-collage__small--left {
    left: 0;
    bottom: 3.6rem;
}

.image-collage__small--right {
    right: 0;
    bottom: 0;
}

/* Service cards */
.service-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
}

.service-card {
    min-height: 278px;
    padding: 2.2rem 2.5rem 2rem;
    color: rgba(255,255,255,.9);
}

.service-card--blue {
    background: var(--teal-contrast);
}

.service-card--teal {
    background: var(--teal-dark);
}

.service-card--aqua {
    background: var(--blue);
}

.service-card > .icon {
    width: 2rem;
    height: 2rem;
    margin-bottom: .75rem;
    color: rgba(255,255,255,.88);
}

.service-card h2 {
    margin-bottom: .8rem;
    color: var(--white);
    font-size: 1.65rem;
}

.service-card p {
    min-height: 5.5rem;
    margin-bottom: 1.1rem;
    line-height: 1.65;
}

.service-card > a {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    gap: .7rem;
    padding: .55rem 1.15rem;
    border: 1px solid rgba(255,255,255,.72);
    color: var(--white);
    font-size: .83rem;
    font-weight: 600;
    text-transform: uppercase;
}

.service-card > a:hover {
    color: var(--blue);
    background: var(--white);
}

.hours {
    margin: 0 0 1.15rem;
}

.hours div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .32rem;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.hours dt,
.hours dd {
    margin: 0;
}

/* Reasons */
.reasons-section {
    padding-top: 5.75rem;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 3.2rem;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 1.1rem;
}

.section-heading h2::after {
    margin-inline: auto;
}

.section-heading p {
    font-size: 1.08rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.85rem;
}

.reason-column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 2.8rem;
    padding-block: 1.25rem;
}

.reason {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: start;
    gap: 1.35rem;
}

.reason__icon {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--teal);
    background: #f0f0f0;
}

.reason__icon .icon {
    width: 2.7rem;
    height: 2.7rem;
    stroke-width: 1.45;
}

.reason h3 {
    margin: .25rem 0 .55rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.reason p {
    margin-bottom: 0;
    line-height: 1.7;
}

.reason-photo img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.reason--center {
    position: relative;
    z-index: 2;
    margin: -2.7rem 1.1rem 0;
    padding: 1.5rem 1.25rem 1.25rem;
    background: var(--white);
}

/* Testimonials */
.testimonials {
    min-height: 680px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonials__photo {
    min-height: 680px;
    background: url("../images/home/testimonial-hond.jpg") center / cover no-repeat;
}

.testimonials__content {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background-color: var(--blue);
    background-image: linear-gradient(135deg, transparent 70%, rgba(255,255,255,.035) 70%);
}

.testimonials__content::after {
    position: absolute;
    right: -8rem;
    bottom: -9rem;
    width: 25rem;
    height: 25rem;
    border: 1px solid rgba(255,255,255,.08);
    transform: rotate(25deg);
    content: "";
}

.testimonials__quote {
    position: absolute;
    top: 5rem;
    left: 5rem;
    width: 3.75rem;
    height: 3.75rem;
    color: rgba(255,255,255,.18);
    stroke: none;
    fill: currentColor;
}

.testimonials__inner {
    position: relative;
    z-index: 2;
    max-width: 590px;
}

.testimonials blockquote {
    margin: 0;
    color: var(--white);
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 1.04rem;
    line-height: 2.2;
}

.testimonial-controls {
    display: flex;
    gap: .6rem;
    margin-top: 3rem;
}

.testimonial-controls button {
    color: var(--white);
    border-color: rgba(255,255,255,.42);
}

/* Footer */
.site-footer {
    color: #bac0c5;
    background: var(--footer);
}

.footer-promos {
    width: min(100%, var(--container));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: auto;
}

.footer-promo {
    min-height: 130px;
    display: flex;
    align-items: center;
    gap: 1.35rem;
    padding: 1.7rem 2.1rem;
    color: var(--white);
}

.footer-promo:hover {
    color: var(--white);
    filter: brightness(1.05);
}

.footer-promo--blue {
    background: var(--teal-contrast);
}

.footer-promo--teal {
    background: var(--teal-dark);
}

.footer-promo--aqua {
    background: var(--blue);
}

.footer-promo > .icon {
    width: 3rem;
    height: 3rem;
    opacity: .93;
}

.footer-promo span {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.footer-promo strong {
    font-size: 1.12rem;
    font-weight: 600;
}

.footer-main {
    padding-block: 4.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.2rem;
}

.footer-grid h2 {
    margin-bottom: 1.65rem;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
}

.footer-grid h2::after {
    margin-top: .75rem;
}

.footer-grid p,
.footer-grid li,
.footer-grid address {
    font-size: .86rem;
    line-height: 1.8;
}

.footer-grid address {
    font-style: normal;
}

.footer-grid a {
    color: #dbe0e3;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-links,
.footer-news {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    padding-block: .5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-news li {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .55rem 0 .7rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-news time {
    color: #7f898f;
    font-size: .75rem;
}

.footer-bottom {
    color: #7f858a;
    background: var(--footer-bottom);
    font-size: .8rem;
}

.footer-bottom__inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom a {
    color: #aeb4b8;
}

.footer-bottom__links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.privacy-settings {
    padding: 0;
    border: 0;
    color: #aeb4b8;
    background: transparent;
    cursor: pointer;
}

.privacy-settings:hover,
.privacy-settings:focus-visible {
    color: var(--white);
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(35, 42, 50, .78);
    opacity: 0;
    pointer-events: none;
    transform: translateY(.75rem);
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.back-to-top:hover {
    color: var(--white);
    background: var(--teal-contrast);
}

/* Interior pages */
.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 7vw, 5.2rem);
    color: rgba(255,255,255,.75);
    background:
        linear-gradient(115deg, rgba(20,123,115,.95), rgba(24,121,137,.95) 55%, rgba(52,76,112,.97)),
        url("../images/home/hero-medische-vraag.jpg") center 43% / cover no-repeat;
}

.page-hero::after {
    position: absolute;
    top: -11rem;
    right: -7rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: "";
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 980px;
    margin-bottom: 1.2rem;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .82rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.breadcrumbs li:not(:last-child)::after {
    color: rgba(255,255,255,.55);
    content: "/";
}

.breadcrumbs a {
    color: var(--white);
}

.breadcrumbs span {
    color: rgba(255,255,255,.72);
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(270px, .82fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 5.5rem);
}

.archive-section,
.article-section,
.standard-page {
    background: var(--white);
}

.archive-intro {
    margin: 0 0 2.5rem;
    padding: 1.35rem 1.5rem;
    border-left: 3px solid var(--teal);
    background: var(--surface);
}

.article-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, .84fr) minmax(0, 1.16fr);
    margin-bottom: 3.25rem;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(39,57,82,.06);
}

.article-card__date,
.article-detail__date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: .5rem .72rem;
    color: var(--white);
    background: var(--teal-contrast);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.article-card__image {
    min-height: 100%;
    overflow: hidden;
    background: #edf0f1;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    min-height: 315px;
    object-fit: cover;
    transition: transform .45s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.035);
}

.article-card__body {
    display: flex;
    min-height: 315px;
    flex-direction: column;
    padding: 2.1rem 2.25rem 1.4rem;
}

.article-card h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.article-card h2 a {
    color: var(--ink);
}

.article-card h2 a:hover {
    color: var(--teal);
}

.article-card p {
    display: -webkit-box;
    margin-bottom: 1.4rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    align-self: flex-start;
    margin: auto 0 1.35rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.read-more .icon {
    width: 1rem;
}

.article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .75rem;
}

.article-card__meta a {
    color: inherit;
}

.article-detail {
    position: relative;
    min-width: 0;
}

.article-detail__image {
    width: 100%;
    max-height: 620px;
    margin-bottom: 2.8rem;
    object-fit: cover;
    background: var(--surface);
}

.article-detail__body {
    max-width: 820px;
}

.article-detail__footer {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-top: 3rem;
    padding: 1.5rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    font-size: .82rem;
}

.feature-detail .article-detail__image {
    max-height: 490px;
}

.prose {
    color: #505860;
    line-height: 1.82;
    overflow-wrap: break-word;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
    margin-top: 2.1em;
    margin-bottom: .75em;
}

.prose h2 {
    font-size: clamp(1.65rem, 3vw, 2rem);
}

.prose h3 {
    font-size: 1.38rem;
    font-weight: 600;
}

.prose h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure,
.prose table {
    margin-bottom: 1.35rem;
}

.prose ul,
.prose ol {
    padding-left: 1.35rem;
}

.prose li + li {
    margin-top: .4rem;
}

.prose img {
    max-width: 100%;
    height: auto;
    margin: 1.75rem auto;
}

.prose figure {
    max-width: 100%;
    margin-inline: 0;
}

.prose figcaption {
    margin-top: -.9rem;
    color: var(--muted);
    font-size: .78rem;
    text-align: center;
}

.prose blockquote {
    padding: 1rem 1.4rem;
    border-left: 3px solid var(--teal);
    color: #4e5a63;
    background: var(--surface);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.prose th,
.prose td {
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    color: var(--ink);
    background: var(--surface);
}

.prose a {
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}

.prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prose iframe {
    width: 100%;
    max-width: 100%;
}

.sidebar {
    min-width: 0;
    align-items: start;
}

.sidebar-widget {
    margin-bottom: 2.5rem;
    padding: 1.7rem;
    border: 1px solid var(--line);
    background: var(--white);
}

.sidebar-widget h2 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.sidebar-widget h2::after {
    display: block;
    width: 40px;
    height: 2px;
    margin-top: .7rem;
    background: var(--teal);
    content: "";
}

.taxonomy-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.taxonomy-cloud a {
    padding: .34rem .58rem;
    border: 1px solid var(--line);
    color: #626a71;
    font-size: .72rem;
    line-height: 1.35;
}

.taxonomy-cloud a:hover {
    color: var(--white);
    border-color: var(--teal-contrast);
    background: var(--teal-contrast);
}

.popular-list {
    margin: 0;
    padding: 0;
    counter-reset: popular;
    list-style: none;
}

.popular-list li {
    position: relative;
    min-height: 48px;
    padding: 0 0 .95rem 2.5rem;
    border-bottom: 1px solid var(--line);
    counter-increment: popular;
}

.popular-list li + li {
    padding-top: .95rem;
}

.popular-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--teal);
    font: 600 1.55rem/1 var(--font-heading);
    content: counter(popular, decimal-leading-zero);
}

.popular-list li + li::before {
    top: .95rem;
}

.popular-list a {
    display: block;
    color: var(--ink);
    font-size: .85rem;
    line-height: 1.45;
}

.popular-list time {
    color: var(--muted);
    font-size: .7rem;
}

.sidebar-call {
    padding: 2.25rem 1.7rem;
    color: var(--white);
    border: 0;
    background: var(--blue);
    text-align: center;
}

.sidebar-call > .icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: .8rem;
    color: var(--teal);
}

.sidebar-call h2,
.sidebar-call h2::after {
    color: var(--white);
}

.sidebar-call h2::after {
    margin-inline: auto;
}

.sidebar-call a,
.sidebar-call span {
    display: block;
}

.sidebar-call a {
    color: var(--white);
    font: 600 1.55rem/1.3 var(--font-heading);
}

.sidebar-call span {
    margin-top: .25rem;
    color: rgba(255,255,255,.65);
    font-size: .75rem;
}

.archive-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .45rem;
    border-bottom: 1px solid var(--line);
    font-size: .8rem;
}

.archive-list span {
    color: var(--muted);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin-top: 3rem;
}

.pagination a,
.pagination > span {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .7rem;
    border: 1px solid var(--line);
    color: #566069;
    font-size: .78rem;
}

.pagination a:hover,
.pagination .is-current {
    color: var(--white);
    border-color: var(--teal-contrast);
    background: var(--teal-contrast);
}

.pagination__previous,
.pagination__next {
    gap: .35rem;
}

.empty-state {
    padding: 3rem;
    border: 1px solid var(--line);
    text-align: center;
}

.standard-page .narrow {
    max-width: 880px;
}

/* Forms */
.form-panel {
    margin-top: 3.5rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border-top: 4px solid var(--teal);
    background: var(--surface);
}

.form-panel h2 {
    margin-bottom: 1.75rem;
}

.contact-form {
    display: grid;
    gap: 1.35rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.contact-form label,
.contact-form legend {
    color: #3f4850;
    font-size: .86rem;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form textarea {
    width: 100%;
    margin-top: .42rem;
    padding: .78rem .85rem;
    border: 1px solid #d8dcdf;
    border-radius: 0;
    color: var(--ink);
    background: var(--white);
    outline: 0;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(38,166,154,.14);
}

.contact-form fieldset {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 1.25rem;
    border: 1px solid #d8dcdf;
    background: var(--white);
}

.choice {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-weight: 400 !important;
}

.choice input {
    margin-top: .35rem;
    accent-color: var(--teal);
}

.choice--consent {
    padding: 1rem;
    background: var(--white);
}

.required-note {
    margin: -.5rem 0 0;
    color: var(--muted);
    font-size: .74rem;
}

.contact-form .button {
    justify-self: start;
    cursor: pointer;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-notice {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-left: 4px solid;
}

.form-notice ul {
    margin: .5rem 0 0;
}

.form-notice--success {
    color: #276848;
    border-color: #36a66d;
    background: #edf8f2;
}

.form-notice--error {
    color: #8a3434;
    border-color: #cc5959;
    background: #fff1f1;
}

.error-page {
    min-height: 50vh;
}

/* Tablet */
@media (max-width: 1249px) {
    :root {
        --container: 990px;
    }

    .topbar__inner {
        gap: 1rem;
    }

    .intro-grid {
        gap: 3rem;
    }

    .service-card {
        padding-inline: 2rem;
    }

    .reason {
        grid-template-columns: 70px 1fr;
        gap: 1rem;
    }

    .reason__icon {
        width: 70px;
        height: 70px;
    }

    .reason__icon .icon {
        width: 2.2rem;
        height: 2.2rem;
    }
}

@media (max-width: 1009px) {
    :root {
        --container: 750px;
    }

    .topbar__inner {
        grid-template-columns: 1fr 1fr;
    }

    .topbar__inner > span:first-child {
        display: none;
    }

    .hero-slide {
        background-position: 58% center;
    }

    .hero-copy {
        max-width: 490px;
    }

    .intro-grid {
        gap: 2rem;
    }

    .image-collage {
        min-height: 440px;
    }

    .service-card {
        padding: 1.8rem 1.5rem;
    }

    .service-card p {
        min-height: 7rem;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reason-photo {
        grid-row: 1 / 3;
        grid-column: 2;
    }

    .reason-column:last-child {
        grid-column: 1;
    }

    .footer-promos {
        width: min(calc(100% - (2 * var(--gutter))), var(--container));
    }

    .footer-promo {
        min-height: 145px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: .6rem;
        padding-inline: 1.4rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-layout {
        grid-template-columns: minmax(0, 1.6fr) minmax(240px, .8fr);
        gap: 2.5rem;
    }

    .article-card {
        grid-template-columns: 1fr;
    }

    .article-card__image img {
        height: 290px;
        min-height: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --container: 462px;
    }

    .topbar {
        padding-block: .7rem;
    }

    .topbar__inner {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .6rem;
    }

    .topbar__inner > span:first-child {
        display: inline-flex;
    }

    .topbar a {
        justify-self: start;
    }

    .mainnav__inner {
        position: relative;
        min-height: 84px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .menu-toggle[aria-expanded="true"] .menu-open-icon {
        display: none;
    }

    .menu-toggle[aria-expanded="true"] .menu-close-icon {
        display: block;
    }

    .menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 20;
        display: none;
        min-height: 0;
        flex-direction: column;
        border-top: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 14px 24px rgba(20, 28, 38, .1);
    }

    .menu.is-open {
        display: flex;
    }

    .menu a {
        min-height: 48px;
        justify-content: flex-start;
        border-bottom: 1px solid var(--line);
    }

    .hero,
    .hero-slide,
    .hero-slide__inner {
        min-height: 390px;
    }

    .hero-slide {
        background-image: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 48%, rgba(255,255,255,.18) 100%), var(--hero-image);
        background-position: 60% center;
    }

    .hero-copy {
        width: 78%;
    }

    .hero-copy h1,
    .hero-copy h2 {
        margin-bottom: 1.25rem;
        font-size: clamp(2rem, 8vw, 2.65rem);
    }

    .hero-copy p {
        display: -webkit-box;
        margin-bottom: 1.4rem;
        overflow: hidden;
        font-size: .86rem;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .intro-grid,
    .service-strip,
    .reasons-grid,
    .testimonials,
    .footer-promos,
    .footer-grid,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .intro-grid {
        gap: 3.4rem;
    }

    .image-collage {
        min-height: 430px;
    }

    .service-strip {
        width: min(calc(100% - (2 * var(--gutter))), var(--container));
    }

    .service-card p {
        min-height: auto;
    }

    .reasons-grid {
        gap: 2rem;
    }

    .reason-column,
    .reason-column:last-child,
    .reason-photo {
        grid-row: auto;
        grid-column: auto;
    }

    .reason-column {
        gap: 2.2rem;
        padding: 0;
    }

    .reason--center {
        margin-inline: .6rem;
    }

    .testimonials__photo {
        min-height: 370px;
    }

    .testimonials__content {
        min-height: 600px;
        padding-block: 7rem 4rem;
    }

    .testimonials__quote {
        top: 3rem;
        left: var(--gutter);
    }

    .footer-promos {
        display: grid;
        width: min(calc(100% - (2 * var(--gutter))), var(--container));
    }

    .footer-promo {
        min-height: 122px;
        flex-direction: row;
        align-items: center;
        padding-inline: 2rem;
    }

    .footer-main {
        padding-block: 4rem;
    }

    .footer-grid {
        gap: 2.8rem;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 479px) {
    :root {
        --container: 100%;
        --gutter: 1.1rem;
    }

    body {
        font-size: 1rem;
    }

    .brand img {
        width: 200px;
        max-width: 70vw;
    }

    .hero,
    .hero-slide,
    .hero-slide__inner {
        min-height: 390px;
    }

    .hero-copy {
        width: 87%;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 1.55rem;
        line-height: 1.32;
    }

    .hero-copy p {
        font-size: .8rem;
        -webkit-line-clamp: 2;
    }

    .hero-copy .button {
        min-height: 46px;
        padding: .7rem 1.2rem;
    }

    .hero-controls {
        padding: .35rem .5rem;
    }

    .hero-controls > button {
        width: 30px;
        height: 30px;
    }

    .section {
        padding-block: 4.25rem;
    }

    .check-list--columns {
        grid-template-columns: 1fr;
    }

    .image-collage {
        min-height: 374px;
    }

    .image-collage__main {
        width: 100%;
    }

    .image-collage__small {
        width: 57%;
        border-width: 7px;
    }

    .image-collage__small--left {
        bottom: 1.2rem;
    }

    .service-card {
        min-height: 230px;
        padding: 1.7rem 1.5rem;
    }

    .reason {
        grid-template-columns: 64px 1fr;
    }

    .reason__icon {
        width: 64px;
        height: 64px;
    }

    .reason__icon .icon {
        width: 2rem;
        height: 2rem;
    }

    .testimonials__photo {
        min-height: 347px;
    }

    .testimonials__content {
        min-height: 720px;
    }

    .testimonials blockquote {
        font-size: 1rem;
        line-height: 2.1;
    }

    .footer-promo {
        padding-inline: 1.4rem;
    }

    .footer-promo > .icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .footer-promo span {
        font-size: 1.08rem;
    }

    .footer-bottom__inner {
        min-height: 110px;
        flex-direction: column;
        justify-content: center;
        gap: .5rem;
    }

    .back-to-top {
        right: .55rem;
        bottom: .55rem;
        width: 34px;
        height: 34px;
    }

    .page-hero {
        padding-block: 3rem;
    }

    .article-card__body {
        min-height: 0;
        padding: 1.5rem;
    }

    .article-card__image img {
        height: 220px;
    }

    .article-detail__image {
        margin-bottom: 2rem;
    }

    .sidebar,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-panel {
        margin-inline: calc(-1 * var(--gutter));
    }

    .pagination__previous,
    .pagination__next {
        font-size: 0;
    }

    .pagination__previous .icon,
    .pagination__next .icon {
        width: 1rem;
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
