/* ============================================================
   O2Cyber theme overrides — neutralise Elementor defaults so
   our design system wins on font, colour, spacing.
   Loaded LAST in the cascade (after Elementor's own CSS).
   ============================================================ */

/* Restore our base typography over Elementor's "Roboto, Helvetica" defaults */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: inherit; /* let widget settings drive colour */
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
}

/* Button widget — when given the "btn-gradient" CSS class via Elementor's
   Advanced → CSS Classes field, render as our gradient button */
.elementor-widget-button .elementor-button.btn-gradient {
    background: linear-gradient(135deg, #FE5E04 0%, #FF8A3D 100%);
    color: #ffffff;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    box-shadow: 0 8px 24px -6px rgba(254, 94, 4, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.elementor-widget-button .elementor-button.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(254, 94, 4, 0.6);
}

.elementor-widget-button .elementor-button.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Section padding sanity — Elementor adds 10px column padding by default
   that conflicts with our grid spacing */
.elementor-section.o2-flush > .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 0;
}

/* Form widget — match our styled inputs */
.elementor-form .elementor-field-group input[type="text"],
.elementor-form .elementor-field-group input[type="email"],
.elementor-form .elementor-field-group input[type="tel"],
.elementor-form .elementor-field-group textarea,
.elementor-form .elementor-field-group select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.elementor-form .elementor-field-group input:focus,
.elementor-form .elementor-field-group textarea:focus {
    border-color: rgba(254, 94, 4, 0.7);
    box-shadow: 0 0 0 3px rgba(254, 94, 4, 0.18);
    outline: none;
}
.elementor-form .elementor-field-group label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-bottom: 6px;
    display: block;
}
.elementor-form .elementor-button[type="submit"] {
    /* Reuse btn-gradient styling */
    background: linear-gradient(135deg, #FE5E04 0%, #FF8A3D 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Image widget — when given .rounded-lg class, apply rounding */
.elementor-widget-image .rounded-lg img {
    border-radius: 12px;
}

/* Accordion (Elementor Pro) — match our card style */
.elementor-accordion .elementor-accordion-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(254, 94, 4, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
}
.elementor-accordion .elementor-tab-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #1E1E1E;
}

/* Counter widget — used in stats section on home */
.elementor-counter-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, #FE5E04 0%, #FF8A3D 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* HTML widget — make sure our partial content can break out of Elementor's
   default container constraints when needed */
.elementor-widget-html.o2-full-bleed {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

/* O2 custom widget category styling in the Elementor panel */
.elementor-element-wrapper .o2-partial-missing {
    background: #fef2f2;
    color: #991b1b;
    padding: 16px;
    border: 1px dashed #fca5a5;
    border-radius: 8px;
    font-family: monospace;
}

/* ============================================================
   Tailwind utilities missing from compiled subset.
   Added to match the static design at hashtagtechnologies.com/o2cybernew
   ============================================================ */

/* Header CTA: hidden on mobile, inline-flex on lg+ */
@media (min-width: 1024px) {
    .lg\:inline-flex { display: inline-flex; }
}
@media (min-width: 640px) {
    .sm\:inline-flex { display: inline-flex; }
}

/* Mobile drawer height/overflow */
.max-h-\[80vh\] { max-height: 80vh; }
.overflow-y-auto { overflow-y: auto; }

/* Mobile menu vertical spacing */
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

/* Dropdown chevron rotation when <details open> */
.group-open\:rotate-180 { /* sets initial state; below adds the rotate */ }
.group[open] .group-open\:rotate-180 { transform: rotate(180deg); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration:.15s; }

/* Surface tones used in dark dropdowns and light page sections */
.bg-dark-light { background-color: #2d2d2d; }
.bg-light-bg { background-color: #F5F5F5; }

/* Tailwind Typography (prose) — minimal subset for single-solution / single-service post bodies */
.prose { color: #374151; max-width: 65ch; line-height: 1.75; font-size: 1rem; }
.prose p { margin-top: 1.25em; margin-bottom: 1.25em; }
.prose h1, .prose h2, .prose h3, .prose h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #1E1E1E;
    font-weight: 700;
    line-height: 1.25;
}
.prose h2 { font-size: 1.875rem; margin-top: 2em; margin-bottom: .75em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.75em; margin-bottom: .6em; }
.prose h4 { font-size: 1.25rem; margin-top: 1.5em; margin-bottom: .5em; }
.prose ul, .prose ol { margin-top: 1.25em; margin-bottom: 1.25em; padding-left: 1.625em; }
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin-top: 0.5em; margin-bottom: 0.5em; }
.prose a { color: #FE5E04; text-decoration: underline; }
.prose a:hover { color: #e55504; }
.prose strong { color: #1E1E1E; font-weight: 700; }
.prose blockquote {
    border-left: 4px solid #FE5E04;
    padding-left: 1em;
    color: #4b5563;
    font-style: italic;
    margin: 1.5em 0;
}
.prose code {
    background: #f3f4f6;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: #1E1E1E;
}
.prose pre { background:#1E1E1E; color:#f5f5f5; padding:1em 1.25em; border-radius:8px; overflow-x:auto; }
.prose pre code { background:transparent; color:inherit; padding:0; }
.prose-lg { font-size: 1.125rem; line-height: 1.8; }
.prose-lg h2 { font-size: 2.25rem; }
.prose-lg h3 { font-size: 1.75rem; }

/* Small spacing utilities used by mobile menu */
.pt-2 { padding-top: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-12 { margin-top: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.p-2 { padding: 0.5rem; }

/* Service-page common styles — defined inline in static <head> of every
 * service-*.html design but never ported into a shared CSS file. Used by
 * all 7 cpt-body-service-*.php partials. Without these, the Deliverables
 * checklist icons stack above the text labels instead of sitting inline. */
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.checklist-item:last-child {
    border-bottom: none;
}
/* Timeline accents used on Pen Testing, Vuln Mgmt, etc */
.timeline-line {
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #FE5E04 0%, rgba(254, 94, 4, 0.2) 100%);
}
.timeline-step {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #FE5E04;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 0 6px rgba(254, 94, 4, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-step:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(254, 94, 4, 0.1);
}
.card-accent-left { border-left: 4px solid #FE5E04; }
.industry-card { transition: all 0.3s ease; }
.industry-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.industry-card:hover .industry-icon {
    color: #FE5E04;
    background: rgba(254, 94, 4, 0.1);
}
.img-placeholder-light {
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border-radius: 12px;
    border: 1px dashed #ccc;
}

/* Pull the homepage hero content closer to the left edge — by default Tailwind's
 * max-w-7xl (1280px) + mx-auto leaves ~360px of empty margin on each side at
 * wider viewports, which makes the text feel "pushed right". Override only the
 * hero section's inner container to use max-w-screen-2xl (1536px) and slim
 * horizontal padding so the content extends further. */
.hero-immersive .max-w-7xl {
    max-width: 1536px !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
@media (min-width: 1700px) {
    .hero-immersive .max-w-7xl {
        max-width: 1700px !important;
    }
}

/* Same widening for Solution + Service CPT body sections so the "Individual
 * Services Included" cards, the deploy timeline, and other content blocks
 * don't feel squeezed at wider viewports. */
.o2-single-solution .max-w-7xl,
.o2-single-service .max-w-7xl {
    max-width: 1536px !important;
}
@media (min-width: 1700px) {
    .o2-single-solution .max-w-7xl,
    .o2-single-service .max-w-7xl {
        max-width: 1700px !important;
    }
}

/* Hero shield + dashboard cards — sized up vs the default static values and
 * pulled leftward (higher `right` value = closer to the center) so the gap
 * between hero text and the shield is tightened. */
.hero-immersive .hero-shield-stage {
    width: 580px !important;
    height: 580px !important;
    right: 26% !important;        /* was 16% — shield now sits closer to center */
}
@media (max-width: 1500px) {
    .hero-immersive .hero-shield-stage {
        width: 480px !important;
        height: 480px !important;
        right: 28% !important;    /* was 18% */
    }
}
@media (max-width: 1280px) {
    .hero-immersive .hero-shield-stage {
        width: 400px !important;
        height: 400px !important;
        right: 30% !important;    /* was 20% */
    }
}
.hero-immersive .hero-dash {
    width: 280px !important;
    right: 10% !important;         /* was 4% — cards pulled toward center */
}
@media (max-width: 1500px) {
    .hero-immersive .hero-dash { width: 250px !important; right: 9% !important; }
}
@media (max-width: 1280px) {
    .hero-immersive .hero-dash { width: 220px !important; right: 8% !important; }
}

/* Equalize mega-menu row heights — without this, a 1-line title in one column
 * and a 2-line title in the other produce inconsistent vertical gaps between
 * rows (the "extra space" issue). align-items: stretch on the grid forces all
 * items in a row to the same height, which the design language expects. */
.mega-menu-grid { align-items: stretch; }
.mega-menu-grid .mega-menu-item { align-self: stretch; }

/* Mega-menu CTA footer strip — matches static designs/shared/styles.css:622 */
.mega-menu-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border-radius: 0;
}
.mega-menu-cta a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FE5E04;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.mega-menu-cta a:hover { gap: 0.75rem; }

/* White-with-alpha text colors used occasionally */
.text-white\/40 { color: rgba(255,255,255,0.4); }

/* Primary-with-alpha background tints used in about/contact/careers */
.bg-primary\/5 { background-color: rgba(254, 94, 4, 0.05); }
.bg-primary\/10 { background-color: rgba(254, 94, 4, 0.10); }
.bg-primary\/20 { background-color: rgba(254, 94, 4, 0.20); }

/* Global overflow-x guard — prevents the horizontal scrollbar / right-side
 * white strip caused by hero animated decorations (particles, glow orbs,
 * sweep beams) that extend past the viewport. Vertical scrolling stays normal.
 *
 * Setting overflow-x: hidden on body alone is enough; html stays unrestricted
 * so the admin bar / fixed nav positioning still works. Do NOT add
 * `max-width: 100%` here — it interacts badly with mx-auto containers
 * (Tailwind's max-w-7xl mx-auto) and pushes hero content visibly to the right.
 */
body { overflow-x: hidden; }

/* ============================================================================
 * Issue fixes 2026-05-19 (staging-site feedback)
 * ========================================================================== */

/* (1) Eliminate any white gap between adjacent home-page sections. Some hosts
 *     introduce browser-default margins on <section> elements. */
.o2-page-home > section,
.o2-page > section,
main.o2-page > section,
main.o2-page-home > section { margin: 0 !important; }
.o2-page-home > section + section { border-top: none; }

/* (2) Give the SIEM "Smarter SIEM — Stronger Defense" section more breathing
 *     room from the orange top-border line. */
.siem-diagram-section,
.vr-diagram-section,
[class*="-diagram-section"] {
    padding-top: 5rem !important;
}
@media (min-width: 1024px) {
    .siem-diagram-section,
    .vr-diagram-section,
    [class*="-diagram-section"] {
        padding-top: 6rem !important;
    }
}

/* (3) Author meta on blog cards + single. We render `the_author()` already
 *     in single.php; this rule ensures the styling doesn't hide it on hosts
 *     that override .text-gray-200. */
.blog-card-meta strong,
.article-hero-meta strong { color: #ffffff !important; }

/* Suppress the 2px orange top-border (::before) AND the 1px section border-top
 * that styles.css paints across all CPT diagram sections. Client feedback:
 * remove this accent line above section headers like "Smarter SIEM – Stronger Defense".
 *
 * NOTE: Each diagram section also contains an inner `<div class="diagram-section
 * absolute inset-0">` overlay that ALSO inherits the .diagram-section rule from
 * styles.css. The bare `.diagram-section` class is NOT matched by
 * [class*="-diagram-section"] (which requires a hyphen prefix), so we list it
 * explicitly below. */
.diagram-section::before,
.siem-diagram-section::before,
.vr-diagram-section::before,
.edr-diagram-section::before,
.dlp-diagram-section::before,
.iag-diagram-section::before,
.email-diagram-section::before,
.soc-diagram-section::before,
.ai-diagram-section::before,
.mss-diagram-section::before,
.vs-diagram-section::before,
.svc-diagram-section::before,
[class*="-diagram-section"]::before {
    display: none !important;
}
.diagram-section,
.siem-diagram-section,
.vr-diagram-section,
.edr-diagram-section,
.dlp-diagram-section,
.iag-diagram-section,
.email-diagram-section,
.soc-diagram-section,
.ai-diagram-section,
.mss-diagram-section,
.vs-diagram-section,
.svc-diagram-section,
[class*="-diagram-section"] {
    border-top: none !important;
}

/* WP admin bar compensation — push fixed nav below the toolbar when logged in
 * so the hero content + the negative-margin cutout image render with the same
 * visible area logged-out visitors see. */
body.admin-bar #main-nav { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar #main-nav { top: 46px; }
}

/* Fix iag-flow-rail position so the dashed line passes THROUGH the center of
 * the numbered step circles (was rendering above them). The static design's
 * top: 28px assumes circles start at top: 0 of .iag-deploy-flow, but in this
 * theme the .o2-deploy-grid has implicit row spacing. Center the rail using
 * absolute positioning anchored to the first row of the grid. */
.iag-deploy-flow .iag-flow-rail {
    top: 40px !important;     /* center of 80px-tall step circles (w-20 h-20) */
    height: 0 !important;     /* line is rendered by SVG strokes, no box needed */
}
.iag-deploy-flow .iag-flow-rail svg {
    overflow: visible !important;
    height: 24px !important;
    margin-top: -12px;        /* visual center of svg sits on top:40px */
}

/* "How We Deploy Your X" step grid — Tailwind responsive grid-cols utilities
 * aren't compiled in this theme so the grid columns are written explicitly.
 * Auto-fits 4 or 5 cols based on number of children; 24x7-soc has 5 steps,
 * all others have 4. */
.o2-deploy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 640px) {
    .o2-deploy-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .o2-deploy-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
    /* When 5 children (e.g. 24x7-soc) → 5 columns */
    .o2-deploy-grid:has(> .iag-step:nth-child(5)) {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* ============================================================================
 * About page cutout + quote layout
 * ----------------------------------------------------------------------------
 * 2026-05-18 — Tailwind compiled CSS in this theme has NO responsive (md:*/lg:*)
 * utilities, so the layout is written here with explicit media queries.
 *
 * Visual goal: cutout image overlapping into the hero section above, quote in
 * the right half of the section. Below 768px viewport: image renders inline
 * above the quote and there's no overlap.
 * ========================================================================== */

.o2-about-cutout-section {
    overflow: visible;
    z-index: 20;
    position: relative;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* Image wrapper — default (mobile) state: inline, centered, no overlap */
.o2-about-cutout-img-wrap {
    width: 100%;
    max-width: 24rem; /* 384px */
    margin: 0 auto 2rem;
    position: relative;
    z-index: 6;
}
.o2-about-cutout-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px -12px rgba(0,0,0,0.5));
}
.o2-about-cutout-quote {
    text-align: center;
}
.o2-about-cutout-quote blockquote {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* md+: image becomes absolute and overlaps the hero, quote shifts to right half */
@media (min-width: 768px) {
    .o2-about-cutout-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .o2-about-cutout-img-wrap {
        position: absolute;
        /* Anchor the image's BOTTOM to the bottom of the cutout section
         * (user feedback 2026-05-19 — base should sit at base of blue section).
         * The top of the image lands wherever its natural height places it,
         * usually just slightly above the section top edge. */
        bottom: 0;
        left: max(2rem, calc(50vw - 38rem)); /* container_left + 2rem padding */
        width: min(360px, 30vw);
        max-width: none;
        margin: 0;
        z-index: 60;
        pointer-events: none;
    }
    .o2-about-cutout-quote {
        margin-left: 55%;
        padding-left: 2.5rem;
        text-align: left;
    }
    .o2-about-cutout-quote blockquote {
        font-size: 1.5rem;
    }
}

/* lg+: image grows + quote takes 50% with less padding (more breathing room) */
@media (min-width: 1024px) {
    .o2-about-cutout-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .o2-about-cutout-img-wrap {
        width: min(384px, 28vw);
    }
    .o2-about-cutout-quote {
        margin-left: 50%;
        padding-left: 2rem;
    }
    .o2-about-cutout-quote blockquote {
        font-size: 1.75rem;
    }
}

/* xl+: bigger quote */
@media (min-width: 1280px) {
    .o2-about-cutout-quote blockquote {
        font-size: 1.875rem;
    }
}


/* ============================================================================
 * Go-live client feedback — 2026-06-11
 * ========================================================================== */

/* (5) About hero: smooth vertical gradient from greyish-black down into the
 * dark navy of the cutout section below (#080810 = top stop of the cutout
 * section's .bg-gradient-dark), replacing the abrupt grey→blue jump.
 * Grid-pattern lines are re-declared since background-image is overwritten. */
.o2-page-about > section.bg-dark.bg-grid-pattern {
    background-color: #1E1E1E;
    background-image:
        linear-gradient(rgba(254, 94, 4, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 94, 4, 0.03) 1px, transparent 1px),
        linear-gradient(180deg, #1E1E1E 0%, #17171f 45%, #0e0e19 75%, #080810 100%);
    background-size: 60px 60px, 60px 60px, 100% 100%;
}

/* (6) Solution pages "What's Included": client feedback — the tab-*.png
 * stock images cheapen the design. Remove the left visual column and center
 * the feature list. Applies to all cpt-body-solution-*.php partials (the
 * ACF shortcode variant doesn't use .wi-visual at all). */
.wi-split-grid .wi-visual {
    display: none !important;
}
.wi-split-grid {
    grid-template-columns: 1fr !important;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================================
 * Case Studies hub (archive-case_study.php) + cards
 * Responsive grid written with explicit @media queries (this theme's compiled
 * Tailwind has no md:/lg: utilities).
 * ========================================================================== */
.cs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 640px) {
    .cs-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .cs-grid { grid-template-columns: repeat(3, 1fr); }
}
.cs-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
}
.cs-card:hover {
    transform: translateY(-4px);
    border-color: rgba(254,94,4,0.25);
    box-shadow: 0 18px 40px -16px rgba(254,94,4,0.28);
}
.cs-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f0ec;
}
.cs-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-card-image--placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #fef0e6 100%);
}
.cs-card-image--placeholder i { width: 48px; height: 48px; color: rgba(254,94,4,0.55); }
.cs-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cs-card-industry {
    align-self: flex-start;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: #FE5E04; background: rgba(254,94,4,0.1);
    padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.cs-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 700; line-height: 1.3; color: #1E1E1E; margin-bottom: 12px;
}
.cs-card-metric { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.cs-card-metric-num {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px;
    background: linear-gradient(90deg, #FE5E04, #FF8A3D);
    -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
.cs-card-metric-lbl { font-size: 12px; color: rgba(30,30,30,0.55); }
.cs-card-excerpt { font-size: 14px; line-height: 1.6; color: rgba(30,30,30,0.62); margin-bottom: 16px; flex: 1; }
.cs-card-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 600; color: #FE5E04;
}
.cs-card-cta i { width: 16px; height: 16px; transition: transform 0.2s ease; }
.cs-card:hover .cs-card-cta i { transform: translateX(4px); }

/* Reusable "See it in Action" related case study block (per solution/service) */
.cs-related-card {
    display: grid; grid-template-columns: 1fr; gap: 0;
    background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 20px;
    overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
@media (min-width: 768px) { .cs-related-card { grid-template-columns: 1fr 1fr; } }
.cs-related-media { min-height: 240px; background: #f3f0ec; }
.cs-related-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-related-media--placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #fef0e6 100%);
}
.cs-related-media--placeholder i { width: 56px; height: 56px; color: rgba(254,94,4,0.5); }
.cs-related-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
