/*
Theme Name: Operationally Speaking Code
Template: hello-elementor
Version: 0.1.0
Text Domain: osp-code
*/

@media (prefers-reduced-motion: reduce) {
    .osp-native-page .elementor-invisible {
        visibility: visible;
    }
}

.osp-native-page .elementor-nav-menu--dropdown.osp-menu-open {
    display: block;
    max-height: 100vh;
    transform: scaleY(1);
    overflow: auto;
}

.osp-native-page .menu-item-has-children > .sub-menu {
    display: none;
}

.osp-native-page .elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu,
.osp-native-page .elementor-nav-menu--main .menu-item-has-children:focus-within > .sub-menu,
.osp-native-page .osp-submenu-open > .sub-menu {
    display: block;
}

/* Popup video player (assets/interactions.js). Navy chrome, gold progress, same in every demo. */
html.osp-video-open { overflow: hidden; }
.osp-video-dialog {
    --osp-video-width: min(92vw, 1180px);
    width: min(var(--osp-video-width), calc((90dvh - var(--osp-controls-height, 112px)) * var(--osp-video-ratio, 1.777778)));
    max-width: var(--osp-video-width); height: fit-content; max-height: 90dvh;
    padding: 0; border: 1px solid rgb(255 255 255 / 10%); border-radius: 14px; overflow: hidden;
    background: #0b2136; color: #eef4f8; box-shadow: 0 30px 90px rgb(0 0 0 / 60%);
}
.osp-video-dialog::backdrop { background: rgb(4 14 24 / 82%); backdrop-filter: blur(3px); }
.osp-video-player { display: flex; flex-direction: column; }
.osp-video-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; }
.osp-video-title { margin: 0; flex: 1; min-width: 0; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osp-video-dialog .osp-video-close { width: 38px; height: 38px; flex: 0 0 38px; padding: 0 !important; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 8%); color: #fff !important; cursor: pointer; }
.osp-video-dialog .osp-video-close:hover { background: rgb(255 255 255 / 16%); }
.osp-video-close svg { width: 20px; height: 20px; }
.osp-video-stage { position: relative; background: #000; line-height: 0; cursor: pointer; }
.osp-video-dialog video { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.osp-video-bigplay { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%;
    background: #e0b449; color: #0b2136; box-shadow: 0 10px 30px rgb(0 0 0 / 45%); opacity: 0; transform: scale(.85); transition: opacity 160ms ease, transform 160ms ease; pointer-events: none; }
.osp-video-bigplay svg { width: 34px; height: 34px; margin-left: 5px; }
.osp-video-dialog.is-paused .osp-video-end[hidden] ~ .osp-video-bigplay, .osp-video-dialog.is-paused .osp-video-bigplay { opacity: 1; transform: none; pointer-events: auto; }
.osp-video-end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; line-height: 1.3; text-align: center; background: rgb(8 26 43 / 88%); cursor: default; }
.osp-video-end[hidden] { display: none !important; }
.osp-video-end-title { margin: 0; font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; color: #fff; }
.osp-video-replay, .osp-video-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px !important; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.osp-video-replay { border: 1px solid rgb(255 255 255 / 35%) !important; background: transparent !important; color: #fff !important; }
.osp-video-replay svg { width: 18px; height: 18px; }
.osp-video-cta { background: #e0b449; color: #0b2136 !important; }
.osp-video-cta:hover { background: #ecc565; }
.osp-video-controls { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.osp-video-controls button { width: 40px; height: 40px; flex: 0 0 40px; padding: 0 !important; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #fff !important; font: inherit; cursor: pointer; }
.osp-video-controls button:hover { background: rgb(255 255 255 / 10%); }
.osp-video-controls button svg { width: 22px; height: 22px; }
.osp-video-controls button:first-child { background: #e0b449; color: #0b2136 !important; }
.osp-video-controls button:first-child:hover { background: #ecc565; }
.osp-video-controls .osp-video-speed { width: auto; flex: 0 0 auto; min-width: 44px; padding: 0 8px !important; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.osp-video-dialog :focus-visible { outline: 2px solid #e0b449; outline-offset: 2px; }
.osp-video-controls input[type="range"] { -webkit-appearance: none; appearance: none; min-width: 0; height: 22px; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; cursor: pointer; }
.osp-video-controls input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 3px;
    background: linear-gradient(to right, #e0b449 var(--osp-progress, 0%), rgb(255 255 255 / 32%) var(--osp-progress, 0%), rgb(255 255 255 / 32%) var(--osp-loaded, 0%), rgb(255 255 255 / 14%) var(--osp-loaded, 0%)); }
.osp-video-controls input[type="range"]::-moz-range-track { height: 5px; border-radius: 3px;
    background: linear-gradient(to right, #e0b449 var(--osp-progress, 0%), rgb(255 255 255 / 32%) var(--osp-progress, 0%), rgb(255 255 255 / 32%) var(--osp-loaded, 0%), rgb(255 255 255 / 14%) var(--osp-loaded, 0%)); }
.osp-video-controls input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -4.5px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgb(224 180 73 / 45%); }
.osp-video-controls input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.osp-video-seek { flex: 1; }
.osp-video-controls .osp-video-volume { flex: 0 1 76px; }
.osp-video-spacer { display: none; }
.osp-video-time { font-size: 13px; color: #c9d6e2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.osp-video-dialog .osp-video-status { margin: 0; padding: 0 16px 12px; font-size: 14px; color: #f3cf7a; }
.osp-video-player:fullscreen { width: 100%; height: 100%; justify-content: center; background: #000; }
.osp-video-player:fullscreen .osp-video-stage { flex: 1; min-height: 0; display: grid; }
.osp-video-player:fullscreen video { height: 100%; }
@media (max-width: 640px) {
    .osp-video-dialog { --osp-video-width: 96vw; border-radius: 12px; }
    .osp-video-controls { flex-wrap: wrap; row-gap: 4px; padding: 6px 8px 10px; }
    .osp-video-seek { order: -1; flex: 1 0 100%; }
    .osp-video-spacer { display: block; flex: 1; }
    .osp-video-controls .osp-video-volume { display: none; }
    .osp-video-bigplay { width: 64px; height: 64px; }
    .osp-video-bigplay svg { width: 26px; height: 26px; }
}

.osp-return-link { display: flex !important; justify-content: center !important; width: 100%; }
.osp-return-link p { margin: 0; }
.osp-platform-hero > .e-con-inner { width: 100%; max-width: 768px; margin-inline: auto; }
.osp-platform-hero > .e-con-inner > .e-con { width: 100% !important; max-width: 100%; }
.osp-native-page main > .elementor > .e-parent:first-child > .e-con-inner > .e-con { width: 100% !important; max-width: 100%; }
.osp-site-header { position: sticky; top: var(--osp-admin-offset, 0px); z-index: 100; transition: transform 220ms ease, background-color 220ms ease; }
.osp-site-header.osp-header-scrolled { background: rgb(10 34 54 / 96%); box-shadow: 0 4px 18px #0002; }
.osp-site-header.osp-header-hidden { transform: translateY(calc(-100% - var(--osp-admin-offset, 0px))); pointer-events: none; }
.osp-site-header:focus-within { transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .osp-site-header { transition: none; } }
.osp-video-dialog[open]::backdrop { animation: osp-backdrop-in 220ms ease-out; }
@keyframes osp-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .osp-video-dialog[open]::backdrop { animation: none; } }

.osp-native-page .elementor-g-recaptcha {
    min-height: 78px;
}

.osp-native-page .elementor-form button[type="submit"] {
    padding-inline: 24px;
}

.osp-wordpress-content {
    max-width: 1170px;
    margin: 0 auto;
    /* Clear the sticky header, which overlaps the top of <main> by its height. */
    padding: calc(6rem + clamp(1rem, 4vw, 3rem)) 20px 5em;
}

.osp-wordpress-content > article > h1,
.osp-policy {
    max-width: 46rem;
    margin-inline: auto;
}

/* Plan names sit under "Available plans"; keep them below section-heading size. */
.osp-policy h3 {
    margin-top: 1.4em;
    font-size: 1.2rem;
}

.osp-wordpress-content article + article {
    margin-top: 3em;
}

.osp-policy {
    line-height: 1.7;
}

.osp-inline-video {
    width: min(900px, 100%);
    margin-inline: auto;
}

.osp-demo-section {
    max-width: 1170px;
    margin-inline: auto;
    padding: 2rem;
    text-align: center;
}

.osp-demo-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 1rem;
}

.osp-inline-video[hidden],
.ekit-video-popup[hidden] {
    display: none !important;
}

.osp-inline-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

.osp-video-status:empty {
    display: none;
}

.osp-video-preview {
    margin-top: 0.5rem;
    border: 0;
    padding: 0.35rem 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.osp-policy h2 {
    margin-top: 1.8em;
    font-size: 1.5rem;
}

.osp-policy-draft {
    padding: 1rem;
    border-left: 3px solid #d9a632;
    background: #102a43;
}

/* Footer: Mel's navy, Figtree headings and Inter text, laid out as brand, link columns and
   institutional inquiries. Navigation only; it never asks for the sale. */
.osp-footer {
    background: #0a1d31;
    border-top: 1px solid rgb(192 207 221 / 12%);
    color: #c0cfdd;
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.osp-footer a {
    color: #f5f1e8;
    text-decoration: none;
}

.osp-footer a:hover {
    color: #d6a33d;
}

.osp-footer a:focus-visible {
    outline: 2px solid #d9a632;
    outline-offset: 3px;
    border-radius: 3px;
}

.osp-footer-main,
.osp-footer-bottom {
    width: min(1180px, 100% - 40px);
    margin-inline: auto;
}

.osp-footer-main {
    display: grid;
    grid-template-columns: 1.15fr 2fr 1fr;
    gap: 40px;
    padding-block: 56px 48px;
}

.osp-footer-logo img {
    display: block;
    width: 140px;
    height: auto;
}

.osp-footer-tagline {
    max-width: 26ch;
    margin: 16px 0 4px;
    font-family: Figtree, Inter, sans-serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.4;
    color: #f5f1e8;
}

.osp-footer-byline {
    margin: 0 0 16px;
    font-size: 14px;
}

.osp-footer-social {
    display: flex;
    gap: 10px;
    margin: 0;
}

.osp-footer-social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgb(192 207 221 / 18%);
    border-radius: 50%;
}

.osp-footer-social svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.osp-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.osp-footer-heading {
    margin: 0 0 14px;
    font-family: Figtree, Inter, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #d6a33d;
}

.osp-footer-columns ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.osp-footer-inquiries {
    align-self: start;
    padding: 22px;
    border: 1px solid rgb(192 207 221 / 16%);
    border-radius: 12px;
    background: #0f2944;
}

.osp-footer-inquiries p:not(.osp-footer-heading) {
    margin: 0 0 14px;
}

.osp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px 24px;
    padding-block: 20px 28px;
    border-top: 1px solid rgb(192 207 221 / 12%);
    font-size: 13.5px;
}

.osp-footer-bottom p {
    margin: 0;
}

.osp-footer-policies a {
    color: #c0cfdd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1024px) {
    .osp-footer-main { grid-template-columns: 1fr 1fr; }
    .osp-footer-columns { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 700px) {
    .osp-footer-main { grid-template-columns: 1fr; gap: 32px; }
    .osp-footer-columns { grid-row: auto; grid-template-columns: 1fr 1fr; }
}

/* Plans & Pricing: Master Class is the standard plan card with a gold edge, gold heading and price
   and a small label, instead of a full gold box. */
.osp-native-page .elementor-759 .elementor-element-ec613f8 {
    position: relative;
    background: #0f2944 !important;
    border: 1.5px solid #d6a33d !important;
}

.osp-native-page .elementor-759 .elementor-element-ec613f8 > .osp-plan-label {
    position: absolute;
    top: 0;
    right: 24px;
    z-index: 2;
    transform: translateY(-50%);
    padding: 3px 12px;
    border: 1px solid #d6a33d;
    border-radius: 999px;
    background: #0f2944;
    font: 500 12px/1.3 Inter, system-ui, sans-serif;
    letter-spacing: 0.04em;
    color: #f0c867;
}

.osp-native-page .elementor-759 .elementor-element-ec613f8 :is(p, li, .copy, .elementor-icon-list-text) {
    color: #c0cfdd !important;
}

.osp-native-page .elementor-759 .elementor-element-ec613f8 :is(.elementskit-section-subtitle, .elementor-heading-title),
.osp-native-page .elementor-759 .elementor-element-ec613f8 h2.elementskit-section-title > span {
    color: #f0c867 !important;
    -webkit-text-fill-color: #f0c867 !important;
}

.osp-native-page .elementor-759 .elementor-element-ec613f8 * {
    border-color: rgb(192 207 221 / 18%) !important;
}

.osp-native-page .elementor-759 .elementor-element-ec613f8 .elementor-icon-list-icon :is(svg, i) {
    fill: #f0c867 !important;
    color: #f0c867 !important;
}

.osp-native-page .elementor-759 .elementor-element-ec613f8 .elementor-button {
    background: #f0c867 !important;
}

.osp-native-page .elementor-759 .elementor-element-ec613f8 .elementor-button :is(span, *) {
    color: #08213a !important;
    -webkit-text-fill-color: #08213a !important;
}

/* Brand refinements, applied to every code-owned page.
   The cyan-to-cream gradient belongs to page titles (h1) only;
   inside section headings the emphasised phrase reads in the heading's own colour. */
.osp-native-page h2.elementskit-section-title.text_fill > span {
    background: none !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    font-weight: inherit !important;
}

/* Section labels: sentence case in the source, set as small gold text instead of capitals. */
.osp-native-page h6.elementor-heading-title {
    text-transform: none;
    font-size: 15px;
    letter-spacing: 0.005em;
}

/* Colour system. Navy surfaces, cream headings, slate body text, one gold accent.
   Gold fills are reserved for buttons, so feature
   cards that alternated navy/gold now share their siblings' navy surface. */
.osp-native-page :is(.elementor-element-9ba0215, .elementor-element-ae3bb7f, .elementor-element-6e742442) {
    background: #0f2944 !important;
}

.osp-native-page :is(.elementor-element-9ba0215, .elementor-element-ae3bb7f, .elementor-element-6e742442) :is(h1, h2, h3, h4, h5, h6, strong, b, .elementor-icon-box-title, .elementor-icon-box-title *) {
    color: #f5f1e8 !important;
}

.osp-native-page :is(.elementor-element-9ba0215, .elementor-element-ae3bb7f, .elementor-element-6e742442) :is(p, li, span, em, .elementor-icon-box-description) {
    color: #c0cfdd !important;
}

/* The only cyan text on the site (About hero tagline and lead) reads cream, like other hero subtitles. */
.osp-native-page :is(.elementor-element-ba9305a, .elementor-element-447a35b) .elementskit-section-subtitle {
    color: #f5f1e8 !important;
    -webkit-text-fill-color: currentColor !important;
    background: none !important;
}

.osp-native-page .elementor-element-6e742442 .elementor-icon {
    background-color: rgb(255 255 255 / 10%) !important;
    color: #d6a33d !important;
    fill: #d6a33d !important;
}

.osp-native-page .elementor-element-6e742442 .elementor-icon :is(svg, i) {
    color: #d6a33d !important;
    fill: #d6a33d !important;
}

/* Plans & Pricing "What you get": one aligned two-column list instead of six boxes.
   The two accordion widgets dissolve into a single grid so rows line up across columns. */
#get .elementor-element-70e2d2f8 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: clamp(32px, 5vw, 72px);
    max-width: 1040px;
    margin: 8px auto 0;
}

#get .elementor-element-70e2d2f8 > .elementor-element,
#get .elementor-element-70e2d2f8 :is(.ekit-wid-con, .elementskit-accordion) {
    display: contents;
}

#get .elementskit-accordion .elementskit-card {
    margin: 0 !important;
    padding: 28px 0 22px;
    border-top: 1px solid rgb(192 207 221 / 16%) !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

#get .elementskit-card-header > .elementskit-btn-link {
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    pointer-events: none;
}

#get .ekit_accordion_icon_group {
    display: none;
}

#get .ekit-accordion-title {
    color: #f5f1e8;
    font-family: "Figtree", sans-serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.3;
}


#get .elementskit-card-body {
    padding: 10px 0 0 !important;
    background: none !important;
    color: #c0cfdd;
    font-size: 16.5px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    #get .elementor-element-70e2d2f8 {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }

    #get .elementor-element-70e2d2f8 {
        padding-inline: 20px !important;
    }

    #get .elementskit-accordion .elementskit-card {
        padding: 22px 0 16px;
    }

    #get .ekit-accordion-title {
        font-size: 19px;
    }
}

/* These widgets render with display: contents above, which leaves the entrance-animation
   observer nothing to watch; show them directly (the section heading still animates). */
#get .elementor-element-70e2d2f8 > .elementor-element {
    visibility: visible !important;
    animation: none !important;
}

/* Phones: body copy was mostly 14px (12px in places). Set reading text to 16px with
   matching leading; headings, labels, buttons and prices keep their own sizes. */
@media (max-width: 767px) {
    .osp-native-page main :is(p, li, .elementor-icon-box-description, .ekit-heading__description, .elementor-widget-text-editor, .elementskit-card-body, .metric):not(.elementor-heading-title):not(.ekit-heading--subtitle) {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* Small print stays smaller than body, but readable. */
    .osp-native-page main :is(.elementor-icon-list-text, .elementor-testimonial__title, .elementor-price-table__period) {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
}

/* Book "36 Operational Chapters": its description sat in an extra padded container with
   1.0 line height; match the two items below it. */
.osp-native-page .elementor-element-329279b {
    padding-inline: 0 !important;
}

.osp-native-page .elementor-element-329279b .elementor-heading-title {
    line-height: 1.6 !important;
}

@media (max-width: 767px) {
    .osp-native-page main .elementor-testimonial__text {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* Hero second lines (e.g. "A field guide to how major events…") were 13px. */
    .osp-native-page main .e-parent:first-child :is(h4, h5).elementor-heading-title {
        font-size: 19px !important;
        line-height: 1.4 !important;
    }

    .osp-native-page main .e-parent:first-child .elementor-widget-heading + .elementor-widget-heading :is(h4, h5).elementor-heading-title {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 767px) {
    /* Heading widgets rendered as <div> are used for body copy (card descriptions). */
    .osp-native-page main div.elementor-heading-title {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* Bordered cards on Event Solutions, ESBM and V LOGIC ran edge to edge on phones. */
    .osp-native-page :is(.elementor-element-cf7ecdf, .elementor-element-c643fe4, .elementor-element-2efae99, .elementor-element-2ce99d1) {
        padding-inline: 16px !important;
    }
}

@media (max-width: 767px) {
    .osp-about-credentials :is(p, dd) {
        font-size: 16px;
    }

    .osp-native-page .osp-vlogic-entrance-caption {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }
}

/* Frank's "What will your event cost?" lead-in above the hero subtitle. */
.osp-event-cost { text-align: center; }
.osp-event-cost h2.elementor-heading-title { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin: 0 0 .4rem; }
.osp-event-cost-text { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 40rem; margin: 0 auto; }

/* "Real-time guidance" column is 120% wide (Elementor setting) and overflowed to the right; centre the overflow. */
.elementor-140 .elementor-element.elementor-element-f514187 { align-self: center; }

/* "See how it works" preview card: photo with a gradient, gold play button matching the player, whole card opens the video. */
.elementor-140 .elementor-element.elementor-element-dd1a8f5[data-osp-video-card] { cursor: pointer; border-radius: 14px; box-shadow: 0 18px 50px rgb(0 0 0 / 30%); }
.elementor-140 .elementor-element.elementor-element-dd1a8f5[data-osp-video-card]::before { background: linear-gradient(180deg, rgb(8 26 43 / 30%) 0%, rgb(8 26 43 / 78%) 100%) !important; opacity: 1 !important; }
.elementor-140 .elementor-element.elementor-element-54ee50f { --overlay-opacity: 0; background: none !important; backdrop-filter: none !important; gap: 10px; }
.elementor-140 .elementor-element.elementor-element-54ee50f::before { display: none !important; }
.elementor-140 .elementor-element-855843a .ekit-video-popup-btn { display: grid !important; place-items: center; padding: 0 !important; width: 88px !important; height: 88px !important; line-height: 88px !important; border-radius: 50% !important; background: #e0b449 !important; color: #0b2136 !important; box-shadow: 0 12px 30px rgb(0 0 0 / 40%); transition: transform 180ms ease, background-color 180ms ease; }
.elementor-140 .elementor-element-855843a .ekit-video-popup-btn svg { display: block; width: 30px; height: 30px; fill: #0b2136 !important; margin: 0 0 0 5px !important; vertical-align: 0; }
.elementor-140 .elementor-element-855843a .ekit-video-popup-btn::before, .elementor-140 .elementor-element-855843a .ekit-video-popup-btn::after { display: none !important; }
[data-osp-video-card]:hover .ekit-video-popup-btn { transform: scale(1.07); background: #ecc565 !important; }
.osp-video-card-meta { margin: 0; text-align: center; font-size: 15px; letter-spacing: .02em; color: #d7e2ec; }
@media (prefers-reduced-motion: reduce) { .elementor-140 .elementor-element-855843a .ekit-video-popup-btn { transition: none; } }

/* Card rows line up: each card shares its parent's rows (subgrid), so titles, dividers and body
   text start at the same height in every card however their titles wrap. */
.elementor-140 .elementor-element-40cc847 > .e-con,
.elementor-140 .elementor-element-7091e77 > .e-con { display: grid !important; grid-template-rows: subgrid; align-content: start; }
.elementor-140 .elementor-element-40cc847 > .e-con { grid-row: span 3; row-gap: 22px; }
.elementor-140 .elementor-element-7091e77 > .e-con { grid-row: span 2; row-gap: 12px; }
.elementor-140 .elementor-element-40cc847 > .e-con > .elementor-element,
.elementor-140 .elementor-element-7091e77 > .e-con > .elementor-element { width: 100%; margin: 0 !important; }
/* "Why it helps": the step label reads first, above its title. */
.elementor-140 .elementor-element-40cc847 .elementor-icon-box-wrapper { align-items: flex-start; }
.elementor-140 .elementor-element-40cc847 .elementor-icon-box-content { display: flex; flex-direction: column; gap: 6px; }
.elementor-140 .elementor-element-40cc847 .elementor-icon-box-description { order: -1; margin: 0 !important; }
.elementor-140 .elementor-element-40cc847 .elementor-icon-box-title { margin: 0 !important; }
.elementor-140 .elementor-element-40cc847 .elementor-element-c44fa8d,
.elementor-140 .elementor-element-40cc847 .elementor-widget-divider { align-self: end; }
/* "Real-time guidance": title and description become the card's two rows; all titles share one colour. */
.elementor-140 .elementor-element-7091e77 .elementor-widget-icon-box,
.elementor-140 .elementor-element-7091e77 .elementor-widget-icon-box > .elementor-widget-container,
.elementor-140 .elementor-element-7091e77 .elementor-icon-box-wrapper,
.elementor-140 .elementor-element-7091e77 .elementor-icon-box-content { display: contents; }
.elementor-140 .elementor-element-7091e77 .elementor-icon-box-title { margin: 0 !important; align-self: start; }
.elementor-140 .elementor-element-7091e77 .elementor-icon-box-title,
.elementor-140 .elementor-element-7091e77 .elementor-icon-box-title span { color: #f5f1e8 !important; }
.elementor-140 .elementor-element-7091e77 .elementor-icon-box-description { margin: 0 !important; align-self: start; }
.elementor-140 .elementor-element-7091e77 > .e-con { padding-inline: clamp(18px, 2vw, 28px) !important; }
.elementor-140 .elementor-element-7091e77 .elementor-icon-box-title { text-wrap: balance; }

/* "See how it works" card: show the team's faces (photo anchored near the top) and keep the
   play button and title in a darker band at the bottom, clear of the people. */
.elementor-140 .elementor-element.elementor-element-dd1a8f5[data-osp-video-card] {
    background-position: center 12% !important; background-size: cover !important;
    min-height: clamp(320px, 34vw, 460px) !important; justify-content: flex-end !important;
}
.elementor-140 .elementor-element.elementor-element-dd1a8f5[data-osp-video-card]::before {
    background: linear-gradient(180deg, rgb(8 26 43 / 0%) 0%, rgb(8 26 43 / 8%) 40%, rgb(8 26 43 / 82%) 78%, rgb(8 26 43 / 94%) 100%) !important;
}
.elementor-140 .elementor-element.elementor-element-54ee50f { flex-direction: row !important; flex-wrap: wrap; align-items: center !important; justify-content: center; column-gap: 18px !important; padding-block: 0 1.4em !important; }
.elementor-140 .elementor-element-54ee50f > .elementor-element-855843a { flex: none; }
.elementor-140 .elementor-element-855843a .ekit-video-popup-btn { width: 64px !important; height: 64px !important; line-height: 64px !important; }
.elementor-140 .elementor-element-855843a .ekit-video-popup-btn svg { width: 22px; height: 22px; }
.elementor-140 .elementor-element-54ee50f > .elementor-element-a9a95e7 { flex: none; width: auto !important; }
.elementor-140 .elementor-element-54ee50f .elementskit-section-title-wraper { text-align: left !important; }
.elementor-140 .elementor-element-54ee50f .osp-video-card-meta { text-align: left; }
@media (max-width: 600px) {
    .elementor-140 .elementor-element.elementor-element-dd1a8f5[data-osp-video-card] { min-height: 300px !important; background-position: 30% 10% !important; }
}

/* Frank's field photography from the original site (his request: bring back what fits, used once each)
   in place of the stock laptop photo and the repeated planning-team photo. Overlays and layout unchanged. */
.elementor-146 .elementor-element.elementor-element-28c5df99:not(.elementor-motion-effects-element-type-background) { background-image: url('assets/photos/frank-us-open.jpg') !important; background-position: 70% 30% !important; }
.elementor-144 .elementor-element.elementor-element-337b25a4:not(.elementor-motion-effects-element-type-background) { background-image: url('assets/photos/ops-desk.jpg') !important; background-position: center 60% !important; }
.elementor-142 .elementor-element.elementor-element-339cc74:not(.elementor-motion-effects-element-type-background) { background-image: url('assets/photos/event-crew.jpg') !important; background-position: center 35% !important; }
.elementor-140 .elementor-element.elementor-element-0a0ea7d:not(.elementor-motion-effects-element-type-background) { background-image: url('assets/photos/event-crew.jpg') !important; background-position: center 30% !important; }
.elementor-146 .elementor-element.elementor-element-91b7bb3:not(.elementor-motion-effects-element-type-background) { background-image: url('assets/photos/ops-desk.jpg') !important; background-position: center !important; }
.elementor-144 .elementor-element.elementor-element-ac64ba3:not(.elementor-motion-effects-element-type-background) { background-image: url('assets/photos/frank-us-open.jpg') !important; background-position: center 30% !important; }
.elementor-1087 .elementor-element.elementor-element-85d2686:not(.elementor-motion-effects-element-type-background) { background-image: url('assets/photos/event-crew.jpg') !important; background-position: center 30% !important; }
.elementor-819 .elementor-element.elementor-element-6244cfb8:not(.elementor-motion-effects-element-type-background) { background-image: url('assets/photos/ops-desk.jpg') !important; background-position: center !important; }

/* Testimonials: every quote card shares the row's height, so the bubbles match and the names line up. */
.osp-native-page .elementor-widget-testimonial-carousel .swiper-wrapper { align-items: stretch; }
.osp-native-page .elementor-widget-testimonial-carousel .swiper-slide { height: auto !important; display: flex; }
.osp-native-page .elementor-widget-testimonial-carousel .elementor-testimonial { display: flex; flex-direction: column; width: 100%; }
.osp-native-page .elementor-widget-testimonial-carousel .elementor-testimonial__content { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.osp-native-page .elementor-widget-testimonial-carousel .elementor-testimonial__text { font-size: 16px !important; line-height: 1.65 !important; }
.osp-native-page .elementor-widget-testimonial-carousel .elementor-testimonial__footer { flex: none; }

/* Book: Frank's review (2026-10-12). Less dead space between the hero line and the book section,
   so the page moves straight into the cover and "Not a memoir". */
.elementor-144 .elementor-element.elementor-element-7941074f { padding-bottom: 56px !important; }
.elementor-144 .elementor-element.elementor-element-93ba413 > .e-con-inner { padding-top: 24px !important; }
@media (max-width: 767px) {
    .elementor-144 .elementor-element.elementor-element-7941074f { padding-bottom: 36px !important; }
    .elementor-144 .elementor-element.elementor-element-93ba413 > .e-con-inner { padding-top: 8px !important; }
}

/* Screenshot full view (interactions.js): a centred modal over a dimmed, blurred page. */
.osp-fullview-trigger {
    position: relative; display: block; width: 100%; padding: 0; border: 0; background: none !important;
    cursor: zoom-in; border-radius: inherit;
}
.osp-fullview-trigger img { display: block; }
.osp-fullview-trigger:focus-visible { outline: 2px solid #f0c867; outline-offset: 4px; }
.osp-fullview-hint {
    position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px; border-radius: 999px; background: rgb(8 33 58 / 86%); border: 1px solid rgb(240 200 103 / 45%);
    color: #f5f1e8; font: 500 13px/1 Figtree, Inter, sans-serif; opacity: .9; transition: opacity 160ms ease;
    pointer-events: none;
}
.osp-fullview-trigger:hover .osp-fullview-hint, .osp-fullview-trigger:focus-visible .osp-fullview-hint { opacity: 1; }
.osp-fullview svg, .osp-fullview-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.osp-fullview {
    width: min(1280px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px);
    margin: auto; padding: 0; overflow: hidden;
    border: 1px solid rgb(192 207 221 / 18%); border-radius: 16px;
    background: #0a1d31; color: #f5f1e8;
    box-shadow: 0 30px 80px rgb(0 0 0 / 55%), 0 0 0 1px rgb(0 0 0 / 20%);
}
.osp-fullview[open] { display: flex; flex-direction: column; animation: osp-fullview-in 220ms cubic-bezier(.2, .8, .2, 1); }
.osp-fullview::backdrop { background: rgb(3 10 18 / 84%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: osp-fullview-fade 220ms ease; }
.osp-fullview.is-closing { animation: osp-fullview-out 160ms ease forwards; }
.osp-fullview.is-closing::backdrop { animation: osp-fullview-fade 160ms ease reverse forwards; }
@keyframes osp-fullview-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes osp-fullview-out { to { opacity: 0; transform: scale(.97); } }
@keyframes osp-fullview-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .osp-fullview[open], .osp-fullview::backdrop, .osp-fullview.is-closing { animation: none; } }

.osp-fullview-bar {
    display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 20px;
    border-bottom: 1px solid rgb(192 207 221 / 12%);
}
.osp-fullview-title { flex: 1; min-width: 0; margin: 0; font: 500 15px/1.3 Figtree, Inter, sans-serif; color: #f5f1e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.osp-fullview-zoom {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
    border: 1px solid rgb(240 200 103 / 50%) !important; border-radius: 999px;
    background: none !important; color: #f5f1e8 !important; font: 500 14px/1 Figtree, Inter, sans-serif; cursor: pointer;
}
.osp-fullview-zoom[hidden] { display: none; }
.osp-fullview-zoom svg { flex: none; margin-right: 2px; }
.osp-fullview-close {
    display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
    background: rgb(192 207 221 / 10%) !important; color: #f5f1e8 !important; cursor: pointer;
}
.osp-fullview :is(.osp-fullview-zoom, .osp-fullview-close):hover { background: rgb(192 207 221 / 16%) !important; }
.osp-fullview :is(.osp-fullview-zoom, .osp-fullview-close):focus-visible { outline: 2px solid #f0c867; outline-offset: 2px; }
.osp-fullview-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; outline: none; background: #061626; }
/* Fitted: the image fills the window's width and scrolls when it is taller than the window. */
.osp-fullview-scroll img { display: block; height: auto; margin: 0 auto; }
.osp-fullview:not(.is-zoomed) .osp-fullview-scroll { overflow: hidden; }
.osp-fullview.is-zoomed .osp-fullview-scroll { cursor: auto; }
.osp-fullview.is-zoomed .osp-fullview-scroll img { width: auto; }
/* Previous / Next through the page's screenshots. */
.osp-fullview-nav {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px;
    border-top: 1px solid rgb(192 207 221 / 12%);
}
.osp-fullview-nav[hidden] { display: none; }
.osp-fullview-nav button {
    display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px;
    border: 1px solid rgb(192 207 221 / 22%) !important; border-radius: 999px;
    background: rgb(192 207 221 / 6%) !important; color: #f5f1e8 !important; font: 500 14px/1 Figtree, Inter, sans-serif; cursor: pointer;
}
.osp-fullview-nav button:hover { border-color: rgb(240 200 103 / 60%) !important; }
.osp-fullview-nav button:focus-visible { outline: 2px solid #f0c867; outline-offset: 2px; }
.osp-fullview-count { margin: 0; color: #c0cfdd; font: 500 14px/1 Figtree, Inter, sans-serif; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
    .osp-fullview { width: calc(100vw - 16px) !important; max-height: calc(100dvh - 24px); border-radius: 12px; }
    .osp-fullview-bar { padding: 8px 8px 8px 14px; }
    .osp-fullview-title { font-size: 13.5px; }
    .osp-fullview-zoom { padding: 0 11px; font-size: 13px; }
}
