/*
Theme Name: Drone Services
Theme URI: https://blockwpthemes.com/product/drone-services/
Author: stacydolan
Author URI: https://blockwpthemes.com/
Description: Drone Services is a bright, field ready block theme for agricultural drone operators, aerial survey crews, crop spraying contractors and precision farming consultancies. A full bleed hero over a blue sky veil carries the navigation, a headline with a gradient accent, floating live status chips, a feature card and a trust row of client faces, and the page below runs on soft white and sky washes with rounded cards, blue gradient buttons and a deep navy footer. Ready made patterns cover a six card services grid with line icons and spec lines, a two column FAQ with an expandable question list and a dispatch phone button, a field notes query loop, and navy banners for pages, posts, archives and search. Full site editing puts every colour, gradient, font size and spacing step in the editor, the palette runs from sky and blue to leaf green and navy, and the typography pairs Plus Jakarta Sans headlines with Inter body text. The theme is fully responsive from wide desktop down to small phones, supports right to left languages, is translation ready and keeps markup accessible with visible focus outlines and reduced motion support.
Version: 1.0
Requires at least: 6.5
Requires PHP: 7.4
Tested up to: 7.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: drone-services
Tags: portfolio, blog, one-column, news, two-columns, custom-colors, custom-logo, sticky-post, threaded-comments, right-sidebar, left-sidebar, grid-layout, custom-background, rtl-language-support, featured-images, wide-blocks, editor-style, full-site-editing, block-patterns, block-styles, template-editing, translation-ready
*/

:root {
    --ds-blue: #2B84E6;
    --ds-blue-lt: #4E9BF0;
    --ds-blue-dk: #1257A8;
    --ds-navy: #0A2540;
    --ds-leaf: #57A83F;
    --ds-leaf-lt: #7CC45F;
    --ds-sky: #EFF6FF;
    --ds-ink: #0F1B2A;
    --ds-muted: #5B6B7E;
    --ds-white: #FFFFFF;
    --ds-line: rgba(15, 27, 42, .10);
    --ds-line-w: rgba(255, 255, 255, .22);

    --ds-g-blue: linear-gradient(135deg, #3F97F2 0%, #2B84E6 45%, #1257A8 100%);
    --ds-g-blue-soft: linear-gradient(135deg, rgba(63, 151, 242, .14), rgba(18, 87, 168, .06));
    --ds-g-sky: linear-gradient(180deg, #F7FBFF 0%, #E3EFFD 48%, #F2F8FF 100%);
    --ds-g-navy: linear-gradient(158deg, #0C2C4D 0%, #071B31 52%, #0D3760 100%);
    --ds-g-white: linear-gradient(180deg, #FFFFFF 0%, #FBFDFF 60%, #F4F9FF 100%);
    --ds-g-leaf: linear-gradient(135deg, #7CC45F, #3E8F35);
    --ds-g-text: linear-gradient(96deg, #2B84E6, #57A83F);
    --ds-g-text-light: linear-gradient(96deg, #8FC4F7, #9BE07A);

    --ds-display: var(--wp--preset--font-family--plus-jakarta-sans, "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif);
    --ds-body: var(--wp--preset--font-family--inter, Inter, "Helvetica Neue", Arial, sans-serif);

    --ds-sec: clamp(64px, 6.4vw, 120px);
    --ds-r-xl: 34px;
    --ds-r-lg: 24px;
    --ds-r-md: 18px;
    --ds-shadow: 0 20px 50px rgba(15, 27, 42, .07);
    --ds-ease: cubic-bezier(.2, .7, .3, 1);

    /* the reference canvas is 1920px with 300px gutters either side of a
       1320px content column; the gutters step down with the viewport */
    --ds-gutter: 300px;

    --ds-i-scan: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8V5a2 2 0 0 1 2-2h3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M21 16v3a2 2 0 0 1-2 2h-3'/%3E%3Cpath d='M12 15.5c-2.6 0-4.6-2-4.6-4.6C10 10.9 12 12.9 12 15.5Z'/%3E%3Cpath d='M12 15.5c0-2.6 2-4.6 4.6-4.6 0 2.6-2 4.6-4.6 4.6ZM12 15.5v2.2'/%3E%3C/svg%3E");
    --ds-i-droplet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5c2.9 3.3 5 6 5 8.6a5 5 0 0 1-10 0c0-2.6 2.1-5.3 5-8.6Z'/%3E%3Ccircle cx='12' cy='12.4' r='1.6'/%3E%3Cpath d='M12 8.6v1.4M12 14.8v1.4M8.6 12.4H10M14 12.4h1.4'/%3E%3C/svg%3E");
    --ds-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.2 3.8h-2A2.6 2.6 0 0 0 3.6 6.6c0 7.9 5.9 13.8 13.8 13.8a2.6 2.6 0 0 0 2.8-2.6v-2l-4.2-1.6-2 2.2a12 12 0 0 1-5.4-5.4l2.2-2L8.2 3.8Z'/%3E%3C/svg%3E");
    --ds-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
    --ds-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E");
    --ds-i-wind: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5h10.5a2.8 2.8 0 1 0-2.8-2.8M3 15.5h13a2.8 2.8 0 1 1-2.8 2.8M3 12h17'/%3E%3C/svg%3E");
    --ds-i-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E");
    --ds-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
    --ds-i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E");
    --ds-arcs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 900' fill='none'%3E%3Cpath d='M120 -40C420 140 470 470 190 940' stroke='rgba(255,255,255,.55)' stroke-width='1.4'/%3E%3Cpath d='M210 -60C540 150 590 500 300 960' stroke='rgba(255,255,255,.34)' stroke-width='1.4'/%3E%3Cpath d='M60 -30C330 130 380 460 130 930' stroke='rgba(255,255,255,.2)' stroke-width='1.4'/%3E%3C/svg%3E");
}

@media (max-width: 1780px) {
    :root {
        --ds-gutter: 180px;
    }
}

@media (max-width: 1440px) {
    :root {
        --ds-gutter: 100px;
    }
}

@media (max-width: 1180px) {
    :root {
        --ds-gutter: 56px;
    }
}

@media (max-width: 820px) {
    :root {
        --ds-r-xl: 22px;
        --ds-gutter: 20px;
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--ds-ink);
    background:
        radial-gradient(900px 600px at 12% 0%, rgba(43, 132, 230, .16), transparent 60%),
        radial-gradient(800px 600px at 92% 30%, rgba(87, 168, 63, .12), transparent 60%),
        #E7EAEF;
    background-attachment: fixed;
    font-family: var(--ds-body);
    font-size: 16.5px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* the reference canvas is a 1920px white board centred on a tinted ground */
.wp-site-blocks {
    width: 1920px;
    max-width: 100%;
    margin: 0 auto;
    background: var(--ds-white);
    overflow: hidden;
    position: relative;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ds-display);
    margin: 0;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    overflow-wrap: break-word;
}

p {
    margin: 0;
}

:focus-visible {
    outline: 3px solid var(--ds-blue);
    outline-offset: 3px;
    border-radius: 6px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--ds-white);
    border-radius: 6px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    clip: auto !important;
    clip-path: none;
    color: var(--ds-blue-dk);
    display: block;
    font-size: 14px;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.wp-block-image img,
.wp-block-post-featured-image img {
    height: auto;
}

/* ============================================================
   SHARED PIECES
   ============================================================ */
.ds-section {
    position: relative;
    overflow: hidden;
}

.ds-section > * {
    position: relative;
    z-index: 2;
}

.ds-plain {
    background: var(--ds-g-white);
}

.ds-sky {
    background: var(--ds-g-sky);
}

.ds-navy {
    background: var(--ds-g-navy);
    color: #E8F1FB;
}

.ds-navy h1,
.ds-navy h2,
.ds-navy h3,
.ds-navy h4,
.ds-navy p {
    color: var(--ds-white);
}

.ds-bg-dots::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .5;
    background-image: radial-gradient(rgba(43, 132, 230, .22) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
    mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
}

.ds-bg-glow::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    right: -220px;
    top: -260px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(43, 132, 230, .20), transparent 62%);
}

.ds-bg-glow-l::after {
    right: auto;
    left: -240px;
    top: auto;
    bottom: -300px;
    background: radial-gradient(circle, rgba(87, 168, 63, .18), transparent 62%);
}

.ds-navy.ds-bg-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .45;
    background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 80%);
    mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 80%);
}

.ds-navy.ds-bg-glow::after {
    background: radial-gradient(circle, rgba(78, 155, 240, .26), transparent 60%);
}

.ds-lead {
    font-size: clamp(16px, 1.1vw, 19px);
    color: var(--ds-muted);
    font-weight: 300;
    line-height: 1.72;
}

.ds-navy .ds-lead {
    color: rgba(232, 241, 251, .74);
}

.ds-grad {
    background: var(--ds-g-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ds-navy .ds-grad {
    background: var(--ds-g-text-light);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ds-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    background: rgba(43, 132, 230, .10);
    color: var(--ds-blue-dk);
    border: 1px solid rgba(43, 132, 230, .20);
    border-radius: 100px;
    padding: 8px 17px;
    font-family: var(--ds-display);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.ds-navy .ds-pill {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
    color: #9CCBFA;
}

.ds-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ds-g-leaf);
    display: block;
    box-shadow: 0 0 0 0 rgba(124, 196, 95, .65);
    animation: ds-pulse 2.6s infinite;
}

@keyframes ds-pulse {
    70% {
        box-shadow: 0 0 0 9px rgba(124, 196, 95, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(124, 196, 95, 0);
    }
}

.ds-sec-head {
    max-width: 820px;
    margin-bottom: 54px;
}

.ds-sec-split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 54px;
}

.ds-sec-split > .wp-block-group {
    margin: 0;
}

.ds-sec-split .ds-lead {
    margin: 0;
}

@media (max-width: 920px) {
    .ds-sec-split {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 36px;
    }
}

.ds-grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ds-grid3 > * {
    margin: 0;
}

@media (max-width: 1080px) {
    .ds-grid3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ds-grid3 {
        grid-template-columns: 1fr;
    }
}

/* icon boxes are empty groups that draw their glyph with a mask */
.ds-ico::before,
.ds-chip::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: var(--ds-icon) center / contain no-repeat;
    mask: var(--ds-icon) center / contain no-repeat;
}

.ds-ico-scan {
    --ds-icon: var(--ds-i-scan);
}

.ds-ico-droplet {
    --ds-icon: var(--ds-i-droplet);
}

.ds-ico-wind {
    --ds-icon: var(--ds-i-wind);
}

/* reveal on scroll, only once the script has confirmed it is running */
.ds-js .ds-rv {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .75s var(--ds-ease), transform .75s var(--ds-ease);
}

.ds-js .ds-rv.ds-in {
    opacity: 1;
    transform: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.wp-block-button__link,
.wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 27px;
    border-radius: 100px;
    font-family: var(--ds-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    border: 1px solid transparent;
    background: var(--ds-g-blue);
    color: var(--ds-white);
    box-shadow: 0 14px 30px rgba(43, 132, 230, .34);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, color .2s ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 18px 38px rgba(43, 132, 230, .42);
    color: var(--ds-white);
}

.wp-block-button.is-style-ds-white .wp-block-button__link {
    background: var(--ds-white);
    color: var(--ds-ink);
    box-shadow: 0 12px 26px rgba(6, 26, 44, .22);
}

.wp-block-button.is-style-ds-white .wp-block-button__link:hover {
    color: var(--ds-ink);
    filter: none;
}

.wp-block-button.is-style-ds-outline-light .wp-block-button__link {
    border-color: var(--ds-line-w);
    color: var(--ds-white);
    background: rgba(255, 255, 255, .10);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.wp-block-button.is-style-ds-outline-light .wp-block-button__link:hover {
    background: rgba(255, 255, 255, .2);
    filter: none;
    box-shadow: none;
}

.wp-block-button.is-style-ds-outline-dark .wp-block-button__link {
    border-color: rgba(43, 132, 230, .32);
    color: var(--ds-blue-dk);
    background: rgba(43, 132, 230, .05);
    box-shadow: none;
}

.wp-block-button.is-style-ds-outline-dark .wp-block-button__link:hover {
    background: rgba(43, 132, 230, .12);
    color: var(--ds-blue-dk);
    filter: none;
    box-shadow: none;
}

.ds-arrow .wp-block-button__link::after,
.ds-phone .wp-block-button__link::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: none;
    background: currentColor;
    -webkit-mask: var(--ds-i-arrow) center / contain no-repeat;
    mask: var(--ds-i-arrow) center / contain no-repeat;
}

.ds-phone .wp-block-button__link::before {
    width: 16px;
    height: 16px;
    -webkit-mask-image: var(--ds-i-phone);
    mask-image: var(--ds-i-phone);
}

/* ============================================================
   HEADER
   ============================================================ */
.ds-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    color: var(--ds-white);
}

.ds-header-inner {
    padding-left: var(--ds-gutter);
    padding-right: var(--ds-gutter);
}

.ds-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.ds-logo.wp-block-image {
    margin: 0;
    flex: none;
}

.ds-logo img {
    width: 101px;
    height: 34px;
    object-fit: contain;
}

.ds-logo a {
    display: block;
}

.ds-menu.wp-block-navigation {
    font-family: var(--ds-display);
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, .94);
}

.ds-menu .wp-block-navigation__container {
    gap: 30px;
}

.ds-menu .wp-block-navigation-item__content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    position: relative;
    color: inherit;
}

.ds-menu .wp-block-navigation-item__content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background: var(--ds-white);
    transition: width .24s ease;
}

.ds-menu .wp-block-navigation-item__content:hover::after,
.ds-menu .current-menu-item > .wp-block-navigation-item__content::after {
    width: 100%;
}

.ds-menu .wp-block-navigation__submenu-icon {
    margin-left: 2px;
}

.ds-menu .wp-block-navigation__submenu-container {
    background: var(--ds-white);
    color: var(--ds-ink);
    border: 1px solid var(--ds-line);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(15, 27, 42, .14);
    min-width: 240px;
}

.ds-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 8px 12px;
    border-radius: 8px;
    display: block;
}

.ds-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
    display: none;
}

.ds-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: rgba(43, 132, 230, .08);
    color: var(--ds-blue-dk);
}

.ds-book .wp-block-button__link {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .32);
    color: var(--ds-white);
    padding: 10px 22px;
    font-size: 14px;
    box-shadow: none;
    transition: .2s;
}

.ds-book .wp-block-button__link:hover {
    background: var(--ds-white);
    color: var(--ds-blue-dk);
    transform: none;
    filter: none;
}

/* burger — the navigation block collapses below 1180px like the reference */
.ds-menu .wp-block-navigation__responsive-container-open {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--ds-white);
    border-radius: 12px;
    padding: 9px;
}

.ds-menu .wp-block-navigation__responsive-container-open svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1180px) {
    .ds-menu .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }

    .ds-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}

.ds-menu .wp-block-navigation__responsive-container.is-menu-open {
    padding: 24px var(--ds-gutter);
}

.ds-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 40px;
}

.ds-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    gap: 0;
    align-items: stretch;
}

.ds-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
}

.ds-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block;
    padding: 12px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.ds-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
    display: none;
}

.ds-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
    color: inherit;
}

.ds-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: none;
    color: #9CCBFA;
}

.ds-menu .wp-block-navigation__responsive-container-close {
    color: var(--ds-white);
    background: rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 9px;
    top: 24px;
    right: var(--ds-gutter);
}

/* pages without a banner under the header get a navy band instead */
.error404 .ds-header {
    background: var(--ds-g-navy);
}

@media (max-width: 782px) {
    .ds-nav {
        gap: 14px;
    }

    /* the book now button is hidden on phones; the overlay menu carries the links */
    .ds-header .ds-book.wp-block-buttons {
        display: none;
    }
}

.wp-block-template-part {
    margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.ds-hero.wp-block-cover {
    min-height: min(94vh, 900px);
    padding: 0;
    margin: 0;
    isolation: isolate;
    overflow: hidden;
    align-items: stretch;
}

.ds-hero .wp-block-cover__image-background {
    inset: -8% 0;
    height: 116%;
    will-change: transform;
}

.ds-hero .wp-block-cover__background::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 0%, rgba(76, 163, 246, .55), transparent 60%);
}

/* the arcs sweeping down the right hand edge */
.ds-hero::after {
    content: "";
    position: absolute;
    right: -5%;
    top: -10%;
    height: 130%;
    aspect-ratio: 520 / 900;
    z-index: 1;
    opacity: .55;
    pointer-events: none;
    background: var(--ds-arcs) center / contain no-repeat;
}

@media (max-width: 1100px) {
    .ds-hero::after {
        display: none;
    }
}

.ds-hero .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    min-height: min(94vh, 900px);
    margin: 0;
    padding: 82px var(--ds-gutter) 0;
    z-index: 2;
    position: relative;
}

.ds-hero .wp-block-cover__inner-container > * {
    margin: 0;
}

.ds-rail {
    position: absolute;
    left: calc(var(--ds-gutter) - 52px);
    top: 52%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: var(--ds-white);
    z-index: 3;
}

.ds-rail-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--ds-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .82);
}

.ds-rail .wp-block-social-links {
    flex-direction: column;
    gap: 18px;
}

.ds-rail .wp-block-social-link {
    opacity: .85;
    transition: .2s;
}

.ds-rail .wp-block-social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 1440px) {
    .ds-rail {
        display: none;
    }
}

.ds-hero-mid {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(40px, 6vw, 90px) 0 clamp(30px, 4vw, 52px);
    position: relative;
}

.ds-hero-mid > * {
    margin: 0;
}

.ds-hero-title {
    color: var(--ds-white);
    font-size: clamp(34px, 4.6vw, 68px);
    max-width: 17ch;
    text-wrap: balance;
    letter-spacing: -.04em;
    text-shadow: 0 6px 34px rgba(4, 22, 44, .28);
}

.ds-hero-title em {
    font-style: normal;
    background: linear-gradient(96deg, #FFFFFF, #BFE6A6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ds-hero-text {
    color: rgba(255, 255, 255, .92);
    font-weight: 300;
    font-size: clamp(15px, 1.1vw, 18px);
    max-width: min(100%, 650px);
    margin-top: 20px;
    line-height: 1.68;
}

.ds-hero-cta.wp-block-buttons {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

/* floating live chips */
.ds-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--ds-white);
    font-family: var(--ds-display);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    animation: ds-float 7s ease-in-out infinite;
}

.ds-chip::before {
    width: 16px;
    height: 16px;
    flex: none;
}

.ds-chip strong {
    font-weight: 800;
    color: #C8F0AA;
}

/* the chips sit 2% and 7% in from the board edge, outside the content column */
.ds-chip-a {
    left: calc(2vw - var(--ds-gutter));
    top: 26%;
}

.ds-chip-b {
    right: calc(2vw - var(--ds-gutter));
    top: 44%;
    animation-delay: 1.6s;
}

.ds-chip-c {
    left: calc(7vw - var(--ds-gutter));
    bottom: 8%;
    animation-delay: 3.1s;
}

@keyframes ds-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-13px);
    }
}

@media (max-width: 1500px) {
    .ds-chip {
        display: none;
    }
}

.ds-hero-foot {
    display: grid;
    grid-template-columns: minmax(0, 460px) 1fr auto;
    gap: 26px;
    align-items: end;
    padding-bottom: clamp(28px, 3.4vw, 52px);
}

.ds-hero-foot > * {
    margin: 0;
}

.ds-htrust {
    grid-column: 3;
}

@media (max-width: 1000px) {
    .ds-hero-foot {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ds-htrust {
        grid-column: auto;
    }
}

.ds-hcard {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: center;
    background: linear-gradient(140deg, rgba(10, 30, 22, .56), rgba(8, 38, 66, .44));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--ds-r-lg);
    padding: 15px;
    transition: .28s;
}

.ds-hcard:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .4);
}

.ds-hcard > * {
    margin: 0;
}

.ds-hcard-img {
    flex: none;
}

.ds-hcard-img img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .28);
}

.ds-hcard-copy > * {
    margin: 0;
}

.ds-hcard h3 {
    color: var(--ds-white);
    font-size: 18px;
    line-height: 1.22;
    letter-spacing: -.025em;
    padding-right: 46px;
}

.ds-hcard p {
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    font-weight: 300;
    margin-top: 9px;
    line-height: 1.5;
}

.ds-hcard-go.wp-block-buttons {
    position: absolute;
    top: 15px;
    right: 15px;
}

.ds-hcard-go .wp-block-button__link {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: var(--ds-white);
    color: var(--ds-ink);
    box-shadow: none;
    text-indent: -999px;
    overflow: hidden;
    transition: .22s;
}

.ds-hcard-go .wp-block-button__link::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: var(--ds-i-arrow) center / contain no-repeat;
    mask: var(--ds-i-arrow) center / contain no-repeat;
}

.ds-hcard-go .wp-block-button__link:hover {
    background: var(--ds-g-blue);
    color: var(--ds-white);
    transform: rotate(45deg);
    filter: none;
}

.ds-htrust {
    text-align: right;
    color: var(--ds-white);
}

.ds-htrust > * {
    margin: 0;
}

.ds-htrust-title {
    font-family: var(--ds-display);
    font-weight: 700;
    font-size: 15.5px;
    letter-spacing: -.015em;
    max-width: 17ch;
    margin-left: auto;
    line-height: 1.35;
    color: var(--ds-white);
}

.ds-htrust-row {
    display: flex;
    align-items: center;
    gap: 13px;
    justify-content: flex-end;
    margin-top: 14px;
}

.ds-faces {
    display: flex;
    gap: 0;
}

.ds-faces .wp-block-image {
    margin: 0 0 0 -12px;
    transition: .22s;
}

.ds-faces .wp-block-image:first-child {
    margin-left: 0;
}

.ds-faces:hover .wp-block-image {
    margin-left: -4px;
}

.ds-faces:hover .wp-block-image:first-child {
    margin-left: 0;
}

.ds-faces img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ds-white);
}

.ds-score {
    font-family: var(--ds-display);
    font-weight: 800;
    font-size: 25px;
    letter-spacing: -.04em;
    color: var(--ds-white);
}

@media (max-width: 1000px) {
    .ds-htrust {
        text-align: left;
    }

    .ds-htrust-row {
        justify-content: flex-start;
    }

    .ds-htrust-title {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .ds-hcard {
        align-items: flex-start;
    }

    .ds-hcard-img img {
        width: 84px;
        height: 84px;
    }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.ds-card {
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-r-lg);
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: .28s;
    position: relative;
    overflow: hidden;
}

.ds-card > * {
    position: relative;
    z-index: 2;
    margin: 0;
}

.ds-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 132, 230, .14), transparent 62%);
}

.ds-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 3;
    background: var(--ds-g-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.ds-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(15, 27, 42, .12);
    border-color: rgba(43, 132, 230, .24);
}

.ds-card:hover::after {
    opacity: 1;
}

.ds-card:hover::before {
    transform: scaleX(1);
}

.ds-card-ico.wp-block-image {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    background: var(--ds-g-blue-soft);
    border: 1px solid rgba(43, 132, 230, .2);
    color: var(--ds-blue);
    display: grid;
    place-items: center;
    transition: .3s;
}

.ds-card-ico img {
    width: 28px;
    height: 28px;
    transition: filter .3s;
}

.ds-card:hover .ds-card-ico {
    background: var(--ds-g-blue);
    border-color: transparent;
    color: var(--ds-white);
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 12px 26px rgba(43, 132, 230, .34);
}

.ds-card:hover .ds-card-ico img {
    filter: brightness(0) invert(1);
}

.ds-card h3 {
    font-size: 20px;
    letter-spacing: -.028em;
}

.ds-card p {
    font-size: 15px;
    color: var(--ds-muted);
    font-weight: 300;
}

.ds-card .ds-card-k {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--ds-line);
    font-family: var(--ds-display);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ds-leaf);
}

/* ============================================================
   FAQ
   ============================================================ */
.ds-faq {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.ds-faq > * {
    margin: 0;
}

@media (max-width: 1000px) {
    .ds-faq {
        grid-template-columns: 1fr;
    }
}

.ds-faq-side > * {
    margin: 0;
}

.ds-faq-side .ds-lead {
    margin-top: 18px;
}

.ds-faq-side .wp-block-buttons {
    margin-top: 24px;
}

.ds-acc {
    display: grid;
    gap: 12px;
}

.ds-acc > * {
    margin: 0;
}

.ds-acc-item.wp-block-details {
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-r-md);
    overflow: hidden;
    transition: .25s;
    margin: 0;
}

.ds-acc-item.wp-block-details:hover {
    border-color: rgba(43, 132, 230, .3);
}

.ds-acc-item.wp-block-details[open] {
    border-color: transparent;
    background: linear-gradient(160deg, #F4F9FF, #FFFFFF);
    box-shadow: 0 18px 38px rgba(43, 132, 230, .16);
}

.ds-acc-item summary {
    list-style: none;
    cursor: pointer;
    padding: 21px 24px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    font-family: var(--ds-display);
    font-weight: 700;
    font-size: 16.5px;
    letter-spacing: -.02em;
    color: var(--ds-ink);
}

.ds-acc-item summary::-webkit-details-marker {
    display: none;
}

/* the plus glyph sits in blue on a soft disc, and in white on the gradient once open */
.ds-acc-item summary::after {
    content: "";
    width: 31px;
    height: 31px;
    border-radius: 50%;
    flex: none;
    transition: .3s;
    background-color: rgba(43, 132, 230, .12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B84E6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
}

.ds-acc-item[open] summary::after {
    background-color: var(--ds-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5.5v13M5.5 12h13'/%3E%3C/svg%3E");
    transform: rotate(135deg);
    box-shadow: 0 8px 18px rgba(43, 132, 230, .35);
}

.ds-acc-item > :not(summary) {
    margin: 0;
    padding: 0 60px 22px 24px;
    font-size: 15px;
    color: var(--ds-muted);
    font-weight: 300;
}

@media (max-width: 560px) {
    .ds-acc-item summary {
        padding: 17px 18px;
        font-size: 15.5px;
    }

    .ds-acc-item > :not(summary) {
        padding: 0 18px 18px;
    }
}

/* ============================================================
   POSTS
   ============================================================ */
.ds-posts .wp-block-post-template {
    gap: 22px;
}

@media (min-width: 600px) and (max-width: 1080px) {
    .ds-posts .wp-block-post-template.is-layout-grid.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ds-posts .wp-block-post {
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-r-lg);
    overflow: hidden;
    box-shadow: var(--ds-shadow);
    display: flex;
    flex-direction: column;
    transition: .3s;
    margin: 0;
}

.ds-posts .wp-block-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 58px rgba(15, 27, 42, .14);
}

.ds-post-thumb.wp-block-post-featured-image {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.ds-post-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43, 132, 230, 0), rgba(18, 87, 168, .28));
    opacity: 0;
    transition: .4s;
    pointer-events: none;
}

.ds-posts .wp-block-post:hover .ds-post-thumb::after {
    opacity: 1;
}

.ds-post-thumb a,
.ds-post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
}

.ds-post-thumb img {
    object-fit: cover;
    transition: transform .7s var(--ds-ease);
}

.ds-posts .wp-block-post:hover .ds-post-thumb img {
    transform: scale(1.08);
}

.ds-post-thumb .wp-block-post-featured-image__placeholder {
    aspect-ratio: 16 / 10;
    background: var(--ds-g-blue-soft);
}

.ds-post-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.ds-post-body > * {
    margin: 0;
}

.ds-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 11px;
    font-family: var(--ds-display);
    font-weight: 600;
    font-size: 12px;
    color: var(--ds-blue);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ds-post-meta > * {
    margin: 0;
}

.ds-post-meta > * + *::before {
    content: "·";
    margin-right: 6px;
}

.ds-post-meta a {
    color: inherit;
}

.ds-post-meta .wp-block-post-terms__separator {
    margin: 0 2px;
}

.ds-post-body .wp-block-post-title {
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -.03em;
}

.ds-post-body .wp-block-post-title a:hover {
    color: var(--ds-blue-dk);
}

.ds-post-body .wp-block-post-excerpt {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 10px;
}

.ds-post-body .wp-block-post-excerpt__excerpt {
    font-size: 14.5px;
    color: var(--ds-muted);
    font-weight: 300;
    margin: 0;
}

.ds-post-body .wp-block-post-excerpt__more-text {
    margin: auto 0 0;
    padding-top: 18px;
}

.ds-post-body .wp-block-post-excerpt__more-link {
    font-family: var(--ds-display);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--ds-blue);
    transition: .24s;
}

.ds-post-body .wp-block-post-excerpt__more-link::after {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: var(--ds-i-arrow) center / contain no-repeat;
    mask: var(--ds-i-arrow) center / contain no-repeat;
}

.ds-posts .wp-block-post:hover .wp-block-post-excerpt__more-link {
    gap: 14px;
}

.ds-posts .wp-block-query-no-results {
    grid-column: 1 / -1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ds-footer {
    background: var(--ds-g-navy);
    color: rgba(232, 241, 251, .68);
    padding-top: clamp(52px, 5vw, 88px);
    position: relative;
    overflow: hidden;
}

.ds-footer::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    left: -300px;
    top: -460px;
    background: radial-gradient(circle, rgba(43, 132, 230, .22), transparent 62%);
}

.ds-footer > * {
    position: relative;
    z-index: 2;
}

.ds-fmain {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.ds-fmain > * {
    margin: 0;
}

@media (max-width: 1000px) {
    .ds-fmain {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .ds-fmain {
        grid-template-columns: 1fr;
    }
}

.ds-fbrand > * {
    margin: 0;
}

.ds-footer .ds-fabout {
    font-size: 14.3px;
    font-weight: 300;
    margin-top: 16px;
    max-width: 38ch;
    color: inherit;
}

.ds-fcol > * {
    margin: 0;
}

.ds-fcol h4 {
    font-family: var(--ds-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ds-white);
    margin-bottom: 18px;
}

.ds-fcol ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 11px;
    font-size: 14.3px;
    color: inherit;
}

.ds-fcol li {
    line-height: 1.6;
}

.ds-fcol a {
    transition: .2s;
    display: inline-block;
}

.ds-fcol a:hover {
    color: #8FC4F7;
    transform: translateX(4px);
}

.ds-social.wp-block-social-links {
    gap: 9px;
    margin-top: 22px;
}

.ds-social .wp-block-social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: rgba(232, 241, 251, .75);
    background: none;
    transition: .24s;
}

.ds-social .wp-block-social-link:hover {
    background: var(--ds-g-blue);
    border-color: transparent;
    color: var(--ds-white);
    transform: translateY(-3px);
}

.ds-social .wp-block-social-link-anchor {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    color: inherit;
    line-height: 0;
}

.ds-social .wp-block-social-link svg {
    width: 16px;
    height: 16px;
}

.ds-fbar {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.ds-fbar > * {
    margin: 0;
}

.ds-fbar p {
    color: inherit;
}

.ds-fbar-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ds-fbar-links > * {
    margin: 0;
}

.ds-fbar-links a:hover {
    color: #8FC4F7;
}

/* back to top */
.ds-totop.wp-block-buttons {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 70;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: .3s;
}

.ds-totop.is-shown {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.ds-totop .wp-block-button__link {
    position: relative;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(43, 132, 230, .42);
    text-indent: -999px;
    overflow: hidden;
}

.ds-totop .wp-block-button__link::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: var(--ds-i-up) center / contain no-repeat;
    mask: var(--ds-i-up) center / contain no-repeat;
}

.ds-totop .wp-block-button__link:hover {
    transform: translateY(-3px);
}

/* ============================================================
   INNER PAGE BANNERS
   ============================================================ */
.ds-banner.wp-block-cover {
    color: var(--ds-white);
    min-height: 0;
    isolation: isolate;
}

.ds-banner .wp-block-cover__inner-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    z-index: 2;
}

.ds-banner .wp-block-cover__inner-container > * {
    margin: 0;
}

.ds-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .45;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 80%);
    mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 80%);
}

.ds-banner-inner > * {
    margin: 0;
}

.ds-banner .wp-block-post-title,
.ds-banner .wp-block-query-title {
    color: var(--ds-white);
    font-size: clamp(30px, 3.2vw, 48px);
    max-width: 20ch;
    text-shadow: 0 6px 34px rgba(4, 22, 44, .28);
}

.ds-banner .wp-block-query-title {
    max-width: none;
}

.ds-crumbs {
    color: rgba(232, 241, 251, .74);
    font-family: var(--ds-display);
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

.ds-crumbs a:hover {
    color: var(--ds-white);
}

.ds-crumbs strong {
    color: var(--ds-white);
    font-weight: 600;
}

.ds-banner-meta {
    margin-top: 18px;
    color: rgba(232, 241, 251, .74);
}

.ds-banner-meta .wp-block-post-terms,
.ds-banner-meta .wp-block-post-date {
    color: #9CCBFA;
}

.ds-banner-meta .wp-block-post-author-name {
    color: rgba(232, 241, 251, .74);
}

.ds-banner .ds-search-field {
    margin-top: 24px;
    max-width: 560px;
}

/* ============================================================
   ARTICLE BODY
   ============================================================ */
.ds-article {
    background: var(--ds-g-white);
}

.ds-article-hero.wp-block-post-featured-image {
    margin: 0 0 clamp(28px, 3vw, 44px);
    border-radius: var(--ds-r-xl);
    overflow: hidden;
    box-shadow: 0 34px 70px rgba(15, 27, 42, .14);
}

.ds-article-hero img {
    width: 100%;
    display: block;
}

.ds-article .wp-block-post-content > * {
    margin-top: 0;
    margin-bottom: 24px;
}

.ds-article .wp-block-post-content > *:last-child {
    margin-bottom: 0;
}

.ds-article .wp-block-post-content h2,
.ds-article .wp-block-post-content h3,
.ds-article .wp-block-post-content h4 {
    margin-top: 40px;
}

.ds-article .wp-block-post-content p,
.ds-article .wp-block-post-content li {
    font-size: 17px;
    line-height: 1.75;
    color: #22344A;
}

.ds-article .wp-block-post-content a:not(.wp-block-button__link) {
    color: var(--ds-blue-dk);
    text-decoration: underline;
    text-decoration-color: rgba(43, 132, 230, .4);
    text-underline-offset: 3px;
}

.ds-article .wp-block-post-content a:not(.wp-block-button__link):hover {
    text-decoration-color: currentColor;
}

.ds-article .wp-block-post-content img {
    border-radius: var(--ds-r-md);
}

.ds-article .wp-block-post-content ul,
.ds-article .wp-block-post-content ol {
    padding-left: 24px;
}

.ds-article .wp-block-post-content .alignwide,
.ds-article .wp-block-post-content .alignfull {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
}

.ds-article .wp-block-post-content blockquote {
    margin-left: 0;
    margin-right: 0;
}

.ds-article .wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}

.ds-article .wp-block-table td,
.ds-article .wp-block-table th {
    border: 1px solid var(--ds-line);
    padding: 12px 14px;
}

.ds-post-nav {
    font-family: var(--ds-display);
    font-weight: 600;
}

.ds-post-nav a {
    color: var(--ds-blue-dk);
}

.ds-post-nav .post-navigation-link__label {
    display: block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ds-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.ds-post-nav .wp-block-post-navigation-link {
    max-width: 48%;
}

.ds-post-nav .post-navigation-link-next {
    text-align: right;
    margin-left: auto;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.ds-comments .wp-block-comments-title {
    font-size: clamp(22px, 1.9vw, 30px);
    margin-bottom: 24px;
}

.ds-comments .wp-block-comment-template {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ds-comments .wp-block-comment-template > li {
    padding: 22px 0;
    border-top: 1px solid var(--ds-line);
}

.ds-comments .wp-block-comment-template .children {
    list-style: none;
    padding-left: clamp(24px, 4vw, 60px);
}

.ds-comments .wp-block-comment-author-name {
    font-family: var(--ds-display);
    font-weight: 700;
    color: var(--ds-ink);
}

.ds-comments .wp-block-comment-date,
.ds-comments .wp-block-comment-edit-link {
    color: var(--ds-muted);
}

.ds-comments .wp-block-comment-content p {
    color: #22344A;
}

.ds-comments .wp-block-comment-reply-link a {
    font-family: var(--ds-display);
    font-weight: 600;
    color: var(--ds-blue-dk);
    font-size: 13.5px;
}

.ds-comments .wp-block-avatar img {
    border-radius: 50%;
}

.ds-comments .comment-respond {
    margin-top: 34px;
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-r-xl);
    padding: clamp(24px, 2.6vw, 38px);
    box-shadow: 0 28px 60px rgba(15, 27, 42, .10);
}

.ds-comments .comment-reply-title {
    font-family: var(--ds-display);
    font-weight: 800;
    font-size: clamp(20px, 1.6vw, 24px);
    letter-spacing: -.03em;
    margin: 0 0 8px;
}

.ds-comments .comment-reply-title small {
    font-size: 13px;
    margin-left: 12px;
    font-family: var(--ds-body);
    font-weight: 500;
    color: var(--ds-blue-dk);
}

.ds-comments .comment-notes,
.ds-comments .logged-in-as {
    font-size: 13.5px;
    color: var(--ds-muted);
    margin: 0 0 18px;
}

.ds-comments .comment-form label {
    display: block;
    font-family: var(--ds-display);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ds-muted);
    margin-bottom: 7px;
}

.ds-comments .comment-form p {
    margin: 0 0 14px;
}

.ds-comments .comment-form-cookies-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.ds-comments .comment-form-cookies-consent label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-family: var(--ds-body);
    font-size: 14px;
    margin: 0;
}

.ds-comments .comment-form-cookies-consent input {
    margin-top: 4px;
    accent-color: var(--ds-blue);
}

.ds-comments .form-submit {
    margin: 6px 0 0;
}

.ds-comments .form-submit input[type="submit"] {
    border: 1px solid transparent;
}

/* ============================================================
   FORMS, SEARCH, PAGINATION
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="password"],
select,
textarea {
    background: #F5F9FF;
    border: 1px solid var(--ds-line);
    border-radius: 12px;
    padding: 13px 15px;
    font-family: var(--ds-body);
    font-size: 15px;
    color: var(--ds-ink);
    width: 100%;
    max-width: 100%;
    transition: .22s;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--ds-blue);
    background: var(--ds-white);
    box-shadow: 0 0 0 4px rgba(43, 132, 230, .14);
}

.ds-search-field .wp-block-search__inside-wrapper {
    background: var(--ds-white);
    border: 1px solid var(--ds-line);
    border-radius: 100px;
    padding: 5px;
    gap: 6px;
    box-shadow: var(--ds-shadow);
}

.ds-search-field .wp-block-search__input {
    border: 0;
    background: none;
    box-shadow: none;
    padding: 10px 16px;
    font-size: 15px;
    min-width: 0;
}

.ds-search-field .wp-block-search__input:focus {
    outline: none;
    box-shadow: none;
}

.ds-search-field .wp-block-search__button {
    margin: 0;
    padding: 11px 22px;
    font-size: 14px;
}

.ds-pagination {
    font-family: var(--ds-display);
    font-weight: 600;
    font-size: 14px;
}

.ds-pagination .wp-block-query-pagination-numbers,
.ds-pagination .wp-block-comments-pagination-numbers {
    display: flex;
    gap: 8px;
}

.ds-pagination .page-numbers,
.ds-pagination .wp-block-query-pagination-previous,
.ds-pagination .wp-block-query-pagination-next,
.ds-pagination .wp-block-comments-pagination-previous,
.ds-pagination .wp-block-comments-pagination-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 100px;
    border: 1px solid rgba(43, 132, 230, .2);
    background: rgba(43, 132, 230, .06);
    color: var(--ds-blue-dk);
    transition: .2s;
}

.ds-pagination .page-numbers.current,
.ds-pagination a:hover {
    background: var(--ds-g-blue);
    border-color: transparent;
    color: var(--ds-white);
}

.ds-pagination .page-numbers.dots {
    border: 0;
    background: none;
}

.ds-noresults > * {
    margin: 0 0 20px;
}

/* ============================================================
   404
   ============================================================ */
.ds-404 {
    background: var(--ds-g-white);
}

.ds-err-code {
    font-family: var(--ds-display);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.06em;
    background: var(--ds-g-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ds-err-code em {
    font-style: normal;
}

/* ============================================================
   MISC CORE BLOCKS
   ============================================================ */
.wp-block-separator {
    border: 0;
    border-top: 1px solid var(--ds-line);
    margin: 30px auto;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: 100px;
}

.wp-block-pullquote {
    border-top: 3px solid var(--ds-blue);
    border-bottom: 3px solid var(--ds-blue);
    padding: 28px 0;
}

.wp-block-pullquote p {
    font-family: var(--ds-display);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.3;
}

.wp-block-quote cite,
.wp-block-pullquote cite {
    font-family: var(--ds-body);
    font-size: 13.5px;
    font-style: normal;
    color: var(--ds-muted);
}

.wp-block-image figcaption,
.wp-block-embed figcaption {
    text-align: center;
    margin-top: 10px;
}

.wp-block-calendar table,
.wp-block-calendar th,
.wp-block-calendar td {
    border-color: var(--ds-line);
}

.wp-block-tag-cloud a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 6px 6px 0;
    border-radius: 100px;
    background: rgba(43, 132, 230, .08);
    color: var(--ds-blue-dk);
    font-size: 13px !important;
    font-family: var(--ds-display);
    font-weight: 600;
}

.sticky .wp-block-post-title::before {
    content: "\2605";
    color: var(--ds-leaf);
    margin-right: 6px;
    font-size: .8em;
}

.wp-block-post-content .wp-block-file .wp-block-file__button {
    margin-left: 12px;
}

/* ============================================================
   RTL
   ============================================================ */
[dir="rtl"] .ds-menu .wp-block-navigation-item__content::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .ds-rail {
    left: auto;
    right: calc(var(--ds-gutter) - 52px);
}

[dir="rtl"] .ds-rail-label {
    transform: rotate(0deg);
}

[dir="rtl"] .ds-chip-a,
[dir="rtl"] .ds-chip-c {
    left: auto;
    right: calc(2vw - var(--ds-gutter));
}

[dir="rtl"] .ds-chip-c {
    right: calc(7vw - var(--ds-gutter));
}

[dir="rtl"] .ds-chip-b {
    right: auto;
    left: calc(2vw - var(--ds-gutter));
}

[dir="rtl"] .ds-hero::after {
    right: auto;
    left: -5%;
    transform: scaleX(-1);
}

[dir="rtl"] .ds-hcard-go.wp-block-buttons {
    right: auto;
    left: 15px;
}

[dir="rtl"] .ds-hcard h3 {
    padding-right: 0;
    padding-left: 46px;
}

[dir="rtl"] .ds-htrust {
    text-align: left;
}

[dir="rtl"] .ds-htrust-title {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .ds-htrust-row {
    justify-content: flex-start;
}

[dir="rtl"] .ds-faces .wp-block-image {
    margin: 0 -12px 0 0;
}

[dir="rtl"] .ds-faces .wp-block-image:first-child {
    margin-right: 0;
}

[dir="rtl"] .ds-card::before {
    transform-origin: right;
}

[dir="rtl"] .ds-fcol a:hover {
    transform: translateX(-4px);
}

[dir="rtl"] .ds-acc-item > :not(summary) {
    padding: 0 24px 22px 60px;
}

[dir="rtl"] .ds-totop.wp-block-buttons {
    right: auto;
    left: 26px;
}

[dir="rtl"] .ds-bg-glow::after {
    right: auto;
    left: -220px;
}

[dir="rtl"] .ds-bg-glow-l::after {
    left: auto;
    right: -240px;
}

[dir="rtl"] .ds-footer::before {
    left: auto;
    right: -300px;
}

[dir="rtl"] .ds-post-nav .post-navigation-link-next {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .ds-js .ds-rv {
        opacity: 1;
        transform: none;
    }
}
