/* Our Services only. Shared theme styles and all other homepage sections stay separate. */
.home-services {
    --services-ink: #081628;
    --services-muted: #454b55;
    --services-orange: #ef7b23;
    --services-orange-ink: #ef7b23;
    --services-blue: #075ba7;
    padding: 48px 0 64px;
    background: #fff;
    color: var(--services-ink);
}

.home-services .home-services-shell {
    width: calc(100% - 56px);
    max-width: 1440px;
    margin: 0 auto;
}

.home-services h2,
.home-services h3,
.home-services h4 {
    color: var(--services-ink);
    font-family: inherit !important;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -.02em;
}

.home-services .home-services-intro { margin-bottom: 32px; text-align: center; }

.home-services .home-services-intro h2 {
    margin: 0;
    line-height: 1.15;
}

.home-services .home-services-divider {
    width: 74px;
    height: 5px;
    margin: 18px auto 20px;
    background: var(--primary);
}

.home-services .home-services-intro p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--services-muted);
    font-size: 18px;
    line-height: 1.7;
    text-wrap: balance;
}

.home-services .service-band {
    --service-accent: var(--primary);
    --service-accent-ink: var(--primary-300);
    display: grid;
    grid-template-columns: minmax(0, .95fr) repeat(2, minmax(0, 1.05fr));
    gap: 22px;
    padding: 24px;
    border-radius: 14px;
    background: #faf6f0;
    scroll-margin-top: 90px;
}

.home-services .service-band + .service-band { margin-top: 24px; }

.home-services .service-band-platform {
    --service-accent: var(--services-orange);
    --service-accent-ink: var(--services-orange-ink);
    background: #fff6ef;
}

.home-services .service-category { display: flex; flex-direction: column; min-width: 0; padding: 8px 8px 0; }
.home-services #owlbase_series { scroll-margin-top: 90px; }

.home-services .service-category h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.home-services .service-category-divider { width: 44px; height: 4px; margin: 18px 0; background: var(--service-accent); }

.home-services .service-category p {
    margin: 0 0 18px;
    color: var(--services-muted);
    font-size: 18px;
    line-height: 1.6;
}

.home-services .service-main-link {
    width: 100%;
    min-height: 56px;
    margin-top: auto;
    padding: 14px 18px;
    border: 1px solid var(--service-accent);
    border-radius: 5px;
    background: var(--service-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    white-space: normal;
    text-align: center;
}

.home-services .service-main-link i { margin-left: 10px; }
.home-services .service-main-link:hover,
.home-services .service-main-link:focus { background: var(--service-accent-ink); color: #fff; filter: brightness(.92); }

.home-services .home-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}

.home-services .service-media { position: relative; aspect-ratio: 2.75 / 1; }

.home-services .service-media img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 2.75 / 1;
    object-fit: cover;
    object-position: center;
}

.home-services .service-band-platform .service-media img { object-position: center top; }

.home-services .service-icon {
    position: absolute;
    bottom: -24px;
    left: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    color: var(--service-accent);
    box-shadow: 0 4px 12px rgb(8 22 40 / 16%);
    font-size: 30px;
}

.home-services .service-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 36px 24px 18px; }
.home-services .service-content h4 { margin: 0 0 4px; font-size: 24px; line-height: 1.4; }
.home-services .service-role { margin: 0 0 8px; color: var(--service-accent-ink); font-size: 17px; font-weight: 600; line-height: 1.5; }
.home-services .service-description { margin: 0 0 12px; color: var(--services-muted); font-size: 16px; line-height: 1.65; }

.home-services .service-detail-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    color: var(--service-accent-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.home-services .service-detail-link:hover { color: var(--service-accent-ink); text-decoration: underline; }
.home-services .service-card-converter { --service-accent: var(--services-blue); --service-accent-ink: var(--services-blue); }

.home-services a:focus-visible {
    /* The exported theme disables outlines globally with !important. */
    outline: 3px solid var(--services-ink) !important;
    outline-offset: 4px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .home-services .service-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-services .service-category { grid-column: 1 / -1; }
    .home-services .service-main-link { width: auto; max-width: 100%; align-self: flex-start; }
}

@media (max-width: 991px) {
    .home-services .service-band { grid-template-columns: minmax(0, 1fr); }
    .home-services .service-category { padding-bottom: 4px; }
}

@media (max-width: 767px) {
    .home-services { padding: 40px 0 48px; }
    .home-services .home-services-shell { width: calc(100% - 32px); }
    .home-services .service-band { padding: 20px; }
    .home-services .service-category { padding: 0; }
    .home-services .service-category h3 { font-size: 25px; }
    .home-services .service-category p { font-size: 16px; }
    .home-services .service-main-link { padding-right: 12px; padding-left: 12px; }
    .home-services .service-content { padding-right: 20px; padding-left: 20px; }
}
