/* ============================================================
   2027 Media Kit theme layer
   Loads after bootstrap 4.3 and combined-2026.css and restyles
   the site to match the 2027 print kits: white paper, generous
   whitespace, Guardian-style serif headings ("typed" look with a
   soft offset shadow), handwritten script accents, and the three
   category colors sampled from the kits.

   Category colors:
   Visibility #41bcef · Thought Leadership #ceba71 · Lead Gen #6acba4
   Headings/body serif: Bitter (stand-in for Guardian Text Egyptian)
   Script accents: Caveat (stand-in for Adobe Handwriting Ernie)
   ============================================================ */

:root {
    --mk-visibility: #41bcef;
    --mk-visibility-deep: #0f88c0;
    --mk-thought-leadership: #ceba71;
    --mk-thought-leadership-deep: #9c8434;
    --mk-lead-gen: #6acba4;
    --mk-lead-gen-deep: #2f9c72;

    --mk-cat: #41bcef;        /* default; overridden per page category below */
    --mk-cat-deep: #0f88c0;   /* darker partner for text/hover on white */

    --mk-ink: #1c1c1c;
    --mk-body: #3a3a3a;
    --mk-muted: #8a8a8a;
    --mk-hairline: #e9e9e9;
    --mk-footer-bg: #101820;

    --mk-serif: 'Bitter', 'Georgia', serif;
    --mk-sans: 'Montserrat', -apple-system, 'Helvetica Neue', sans-serif;
    --mk-script: 'Caveat', cursive;

    --mk-header-h: 152px;

    /* hand-drawn stroke used for underlines (kit style): a gently curved
       brush stroke, thick at the left and tapering to a point at the right */
    --mk-stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 4.2 C 40 2.6 80 2.4 118 4.4 C 80 6.4 40 8.6 2 9.8 Z' fill='black'/%3E%3C/svg%3E");
}

body.mk-cat-visibility          { --mk-cat: var(--mk-visibility);          --mk-cat-deep: var(--mk-visibility-deep); }
body.mk-cat-thought-leadership  { --mk-cat: var(--mk-thought-leadership);  --mk-cat-deep: var(--mk-thought-leadership-deep); }
body.mk-cat-lead-gen            { --mk-cat: var(--mk-lead-gen);            --mk-cat-deep: var(--mk-lead-gen-deep); }

/* MyNewMarkets draws its accents in the IJ Visibility blues */
html.mnm { --mk-cat: #41bcef; --mk-cat-deep: #0f88c0; }

html { scroll-padding-top: calc(var(--mk-header-h) + 24px); }

/* ============================================================
   Base
   ============================================================ */
body {
    background: #ffffff !important; /* retire the 2026 dark body gradient */
    font-family: var(--mk-sans);
    font-weight: 400;
    color: var(--mk-body);
}

::selection { background: color-mix(in srgb, var(--mk-cat) 35%, #ffffff); }

/* ---------- Kit typography ---------- */
h1, h2, h3, h4, h5,
.content-calendar h1 {
    font-family: var(--mk-serif);
    color: var(--mk-ink);
    font-weight: 700;
    font-style: normal;
    text-transform: none;
    letter-spacing: -0.01em;
}
.ij h1, .cj h1, .cm h1, .mnm h1,
.ij h3, .cj h3, .cm h3, .mnm h3 { color: var(--mk-ink); }

h1 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; }
h2 { font-size: clamp(25px, 2.6vw, 32px); line-height: 1.2; }
h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.25; }
h4 { font-size: 20px; line-height: 1.3; }
h5 { font-size: 18px; font-style: italic; } /* kit sub-labels ("Premium Positions") are italic serif */

/* year accents inside headings match the heading itself
   (html[class] outranks the 2026 brand .text-primary !important rules) */
html[class] main h1 .text-primary,
html[class] main h2 .text-primary,
html[class] main h3 .text-primary,
html[class] .content-calendar h1 .text-primary {
    color: var(--mk-ink) !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.mk-script {
    font-family: var(--mk-script);
    font-weight: 600;
}

/* serif body copy inside page content, like the kit pages */
main p, main li, main td, main dt, main dd, main blockquote {
    font-family: var(--mk-serif);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--mk-body);
}
main .lead, .content-advertise .lead {
    font-family: var(--mk-serif);
    font-size: 19px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--mk-body);
}
/* sources, fine print, and labels stay sans like the kit */
main small, main .small, main .mk-stat-source, main .text-muted,
main label, main input, main select, main textarea, main button {
    font-family: var(--mk-sans);
}
main small, main .small { font-size: 12.5px; }

main hr { border-top: 1px solid var(--mk-hairline); }

/* understated "Inquire for pricing." link shown where pricing is gated */
.mk-inquire {
    font-family: var(--mk-sans);
    font-size: 15px;
    font-style: italic;
}
main .mk-inquire a, .mk-inquire a {
    color: #777;
    text-decoration: underline;
    text-decoration-color: #bbb;
    text-underline-offset: 2px;
}
main .mk-inquire a:hover, .mk-inquire a:hover { color: var(--mk-ink); }

/* paragraph lead-ins keep the kit's book voice: regular serif, bold opener */
.list-header {
    font-style: normal;
    font-weight: 400;
    font-size: 16.5px;
}
.list-header strong { font-weight: 700; }

/* content links pick up the page category */
main p:not(.mk-inquire) a:not(.btn):not(.text-reset),
main li a:not(.btn):not(.text-reset) {
    color: var(--mk-cat-deep);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--mk-cat) 60%, transparent);
    text-underline-offset: 2px;
}
main p:not(.mk-inquire) a:not(.btn):not(.text-reset):hover,
main li a:not(.btn):not(.text-reset):hover {
    color: var(--mk-ink);
    text-decoration-color: var(--mk-cat);
}

/* jump-to rows: quiet gray links that color up on hover */
main p.mk-jumpto a:not(.btn):not(.text-reset) {
    color: #777;
    text-decoration-color: #bbb;
}
main p.mk-jumpto a:not(.btn):not(.text-reset):hover {
    color: var(--mk-cat-deep);
    text-decoration-color: var(--mk-cat);
}

/* Small action eyebrow above product page titles (kit category-pill voice) */
.mk-action-eyebrow {
    font-family: var(--mk-sans);
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--mk-cat-deep);
    filter: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.mk-action-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mk-cat);
}

/* ---------- Category theming of page furniture ---------- */
/* the 2026 colored bar under the header is retired — the header's own
   shadow separates it from the page (the element stays for its margins) */
.navbar-background-stripe {
    background: transparent !important;
    height: 0 !important;
}

/* the little square bullets from 2026 become category-colored */
.ij ul:not(.nav):not(.navbar-nav) li:before,
.cj ul:not(.nav):not(.navbar-nav) li:before,
.cm ul:not(.nav):not(.navbar-nav) li:before,
.mnm ul:not(.nav):not(.navbar-nav) li:before {
    background: var(--mk-cat);
    width: 6px;
    height: 6px;
    border-radius: 1px;
}
.square-bullet { background-color: var(--mk-cat); }

.ij .check, .cj .check, .cm .check, .mnm .check { color: var(--mk-cat-deep); }

/* Letter circles (pricing position markers) */
.letter-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #810000;
    background-color: #af231c;
    background-image: none;
    color: #ffffff;
    font-family: var(--mk-sans);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}
/* Claims Journal marks its letters in brand blue */
html.cj .letter-circle {
    border-color: #007cae;
    background-color: #00a6e9;
}
/* Carrier Management in navy with black border */
html.cm .letter-circle {
    border-color: #000000;
    background-color: #1f2a44;
}
/* MyNewMarkets in brand red */
html.mnm .letter-circle {
    border-color: #810000;
    background-color: #c23b39;
}

/* ============================================================
   Header / navigation
   ============================================================ */
.fixed-header {
    z-index: 1030;
    height: var(--mk-header-h);
}
.fixed-header .navbar-background {
    overflow: visible;
    min-height: var(--mk-header-h);
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: none;
    transition: box-shadow 0.25s ease;
}
/* shadow appears only once the page is scrolled (class set by footer script) */
.fixed-header .navbar-background.mk-scrolled {
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.09);
}
.header, .header .navbar { min-height: var(--mk-header-h); }
.content { margin-top: var(--mk-header-h); }

.header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}
.navbar-brand {
    position: static;
    min-height: 0;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}
.ij .header .navbar-brand img,
.cj .header .navbar-brand img,
.cm .header .navbar-brand img,
.mnm .header .navbar-brand img { border: none; }
html.mnm .header .navbar .nav-link,
html.mnm .header .navbar .nav-link:hover,
html.mnm .header .navbar .nav-link.active,
html.mnm .header .navbar .nav-link.show,
html.mnm .navbar-light .navbar-nav .show > .nav-link { font-size: 14px !important; }
/* MNM: paint the category dot white (invisible on the white bar) — keeps
   the exact geometry of the other brands so nothing shifts between states */
html.mnm .header .navbar .nav-link { --mk-dot: #ffffff; }
.navbar-brand img.mk-logo {
    max-height: 115px;
    width: auto;
    max-width: 360px !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* nav links: uppercase, letterspaced, with a category dot (kit pill voice) */
.header .navbar .navbar-nav .nav-link,
.header .navbar .nav-link,
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link,
.ij .header .navbar .nav-link,
.cj .header .navbar .nav-link,
.cm .header .navbar .nav-link,
.mnm .header .navbar .nav-link,
.ij .header .navbar .nav-link:hover,
.cj .header .navbar .nav-link:hover,
.cm .header .navbar .nav-link:hover,
.mnm .header .navbar .nav-link:hover,
.ij .header .navbar .nav-link.active,
.cj .header .navbar .nav-link.active,
.cm .header .navbar .nav-link.active,
.mnm .header .navbar .nav-link.active,
.nav-link.active:hover {
    font-family: var(--mk-sans);
    color: var(--mk-ink) !important;
    font-size: 17.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none !important;
    padding: 0.5em 0 14px 23px !important;
}
.navbar-nav .nav-link {
    --mk-dot: var(--mk-cat); /* uncategorized links (MNM) follow the page hue */
    display: inline-block;
    margin: 0 1.6rem;
    position: relative;
    /* category dot before the label */
    background-image: radial-gradient(circle 5.5px at center, var(--mk-dot) 5.1px, transparent 5.6px);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: 0 15px;
    padding-left: 23px !important;
}
.navbar-nav .nav-link:hover { color: #000000 !important; text-decoration: none; }
.navbar-nav .nav-link.nav-cat-visibility          { --mk-dot: var(--mk-visibility); }
.navbar-nav .nav-link.nav-cat-thought-leadership  { --mk-dot: var(--mk-thought-leadership); }
.navbar-nav .nav-link.nav-cat-lead-gen            { --mk-dot: var(--mk-lead-gen); }

/* retire the 2026 underline bars/glow and the bootstrap caret on ::after */
.header .navbar .nav-link::after,
.navbar-nav .dropdown-toggle::after,
.ij .header .navbar .nav-link:hover::after, .cj .header .navbar .nav-link:hover::after,
.cm .header .navbar .nav-link:hover::after, .mnm .header .navbar .nav-link:hover::after,
.ij .header .navbar .nav-link.active::after, .cj .header .navbar .nav-link.active::after,
.cm .header .navbar .nav-link.active::after, .mnm .header .navbar .nav-link.active::after {
    display: none !important;
    content: none !important;
}

/* hand-drawn underline, drawn in left-to-right — only under the section
   the visitor is currently in (hover feedback comes from the dropdown) */
.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 23px;
    right: 2px;
    bottom: 3px;
    height: 9px;
    pointer-events: none;
    background-color: var(--mk-cat); /* MNM and uncategorized links follow the page hue */
    -webkit-mask: var(--mk-stroke) no-repeat center / 100% 100%;
    mask: var(--mk-stroke) no-repeat center / 100% 100%;
    clip-path: inset(-2px 100% -2px 0);
}
.navbar-nav .nav-link.nav-cat-visibility::before          { background-color: var(--mk-visibility); }
.navbar-nav .nav-link.nav-cat-thought-leadership::before  { background-color: var(--mk-thought-leadership); }
.navbar-nav .nav-link.nav-cat-lead-gen::before            { background-color: var(--mk-lead-gen); }

.navbar-nav .nav-link.active::before {
    animation: mk-draw 0.55s ease-out 0.3s forwards;
}
@keyframes mk-draw {
    from { clip-path: inset(-2px 100% -2px 0); }
    to   { clip-path: inset(-2px 0 -2px 0); }
}

/* ---------- Dropdowns ---------- */
.fixed-header .dropdown-menu {
    z-index: 1031;
    text-align: left;
    margin-top: 0;
    min-width: 310px;
    border: none;
    border-top: 3px solid var(--mk-visibility);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 40px rgba(10, 20, 30, 0.18);
    padding: 10px 0;
}
.nav-item.dropdown:nth-child(1) .dropdown-menu { border-top-color: var(--mk-visibility); }
.nav-item.dropdown:nth-child(2) .dropdown-menu { border-top-color: var(--mk-thought-leadership); }
.nav-item.dropdown:nth-child(3) .dropdown-menu { border-top-color: var(--mk-lead-gen); }

@media (min-width: 992px) {
    /* keep the menu in the layout so it can fade/slide open on hover */
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
        pointer-events: none;
    }
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
    .navbar-nav .nav-item.dropdown .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
}

.dropdown-item {
    padding: 8px 24px;
    white-space: normal;
}
.dropdown-item .mk-action {
    display: block;
    font-size: 11px;
    font-style: italic;
    color: #8f8f8f;
    line-height: 1.2;
}
.dropdown-item .mk-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #212529;
    line-height: 1.35;
}
.dropdown-item:hover,
.dropdown-item:focus { background-color: color-mix(in srgb, var(--mk-cat) 10%, #ffffff); }

/* menu hides while a chosen page slides in (cleared on mouseleave) */
.fixed-header .dropdown-menu.mk-closed {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: none !important;
}
.dropdown-item:hover .mk-name { color: #000; }

/* "you are here" dot on the dropdown item for the current page */
.dropdown-item { position: relative; }
.dropdown-item.mk-current::before {
    content: "";
    position: absolute;
    left: 10px;
    top: auto;
    bottom: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mk-cat);
}

/* ============================================================
   Landing pages
   ============================================================ */
.ij .landing-message, .cj .landing-message,
.cm .landing-message, .mnm .landing-message {
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.18;
    font-weight: 700;
}
.landing-message strong { font-weight: 800; }

/* MNM listing package cards: rounded corners clip the dark header + price bar */
.mnm .listings .card-silver, .mnm .listings .card-gold, .mnm .listings .card-platinum {
    border-radius: 16px;
    overflow: hidden;
}

/* big loose stats (kit numerals are serif) */
.big-stat {
    font-family: var(--mk-serif);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--mk-ink);
}
.inline-stat { font-family: var(--mk-serif); }

/* ============================================================
   Stat cards (kit-style rounded tinted panels)
   ============================================================ */
.mk-stat-card {
    background: color-mix(in srgb, var(--mk-cat) 5%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--mk-cat) 26%, #ffffff);
    border-radius: 18px;
    padding: 1.8rem 1.9rem 1.6rem;
    height: 100%;
}
.mk-stat-big {
    font-family: var(--mk-serif);
    font-weight: 800;
    font-size: clamp(42px, 4.4vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--mk-ink);
}
.mk-stat-med {
    font-family: var(--mk-serif);
    font-weight: 800;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--mk-ink);
}
.mk-stat-label {
    font-family: var(--mk-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: #4a4a4a;
    line-height: 1.45;
    margin-top: 4px;
}
.mk-stat-source {
    font-size: 11.5px;
    color: #9d9d9d;
    font-style: italic;
    font-weight: 400;
    display: block;
    margin-top: 7px;
}

/* ============================================================
   Tables
   ============================================================ */
.table-mediakit {
    box-shadow: none;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid color-mix(in srgb, var(--mk-cat) 22%, #ffffff);
    border-radius: 14px;
}
.table-mediakit td,
.table-mediakit th {
    border-top: 1px solid color-mix(in srgb, var(--mk-cat) 16%, #ffffff);
    padding: 0.85rem 1rem;
}
.table-mediakit tr:first-child td { border-top: none; }
.table-mediakit thead th {
    background-color: var(--mk-ink);
    color: #ffffff;
    border: none;
    font-family: var(--mk-sans);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 1rem 1.1rem;
    vertical-align: middle;
}
.table-mediakit thead th small { text-transform: none; letter-spacing: 0.3px; color: #cfcfcf; }
.table-mediakit thead th:first-child { border-top-left-radius: 13px; }
.table-mediakit thead th:last-child  { border-top-right-radius: 13px; }
.table-mediakit thead + tbody tr:first-child td { border-top: none; }
.table-mediakit tr:last-child td:first-child { border-bottom-left-radius: 13px; }
.table-mediakit tr:last-child td:last-child  { border-bottom-right-radius: 13px; }
/* tables with no thead still get rounded top corners */
.table-mediakit tr:first-child th:first-child, .table-mediakit tr:first-child td:first-child { border-top-left-radius: 13px; }
.table-mediakit tr:first-child th:last-child,  .table-mediakit tr:first-child td:last-child  { border-top-right-radius: 13px; }

.table-mediakit tr:nth-of-type(even),
.table-mediakit.table-striped tbody tr:nth-of-type(even) {
    background-color: color-mix(in srgb, var(--mk-cat) 7%, #ffffff);
}
.table-mediakit.table-striped tbody tr:nth-of-type(odd) { background-color: #ffffff; }

/* ---------- Kit-style editorial calendar ---------- */
.content-calendar .table td,
.content-calendar .table th {
    border-top: 1px solid color-mix(in srgb, var(--mk-cat) 16%, #ffffff);
}
.content-calendar .table-striped tbody tr:nth-of-type(even) {
    background: color-mix(in srgb, var(--mk-cat) 7%, #ffffff);
}
.content-calendar .table-striped tbody tr:nth-of-type(odd) { background: #ffffff; }

.mk-calendar { border: none; }
.mk-calendar thead th {
    background-color: var(--mk-ink);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-family: var(--mk-sans);
    font-size: 12.5px;
    font-weight: 700;
    padding: 1.1rem 1.25rem;
    border: none;
}
.mk-calendar thead th:first-child { border-top-left-radius: 16px; }
.mk-calendar thead th:last-child  { border-top-right-radius: 16px; }
.mk-calendar tr:last-child td:first-child { border-bottom-left-radius: 16px; }
.mk-calendar tr:last-child td:last-child  { border-bottom-right-radius: 16px; }
.mk-calendar td { vertical-align: top; padding: 1.05rem 1.25rem; }
.mk-calendar td:first-child, .mk-calendar thead th:first-child { text-align: center; }
.mk-table-left-first td:first-child, .mk-table-left-first thead th:first-child { text-align: left; }
.mk-calendar .mk-issue-month {
    font-family: var(--mk-serif);
    font-weight: 700;
    font-size: 19px;
    color: var(--mk-ink);
    white-space: nowrap;
}
.mk-calendar .mk-issue-deadline {
    display: block;
    font-family: var(--mk-sans);
    font-size: 12px;
    color: #8f8f8f;
    font-style: italic;
}
.mk-calendar ul { margin-bottom: 0; padding-left: 0; }

/* keep the sticky calendar header visible below the fixed site header */
.sticky-header thead { top: var(--mk-header-h); }
.sticky-header th { background-color: var(--mk-ink); border-color: var(--mk-ink); }

/* ============================================================
   Cards, alerts, panels
   ============================================================ */
.card, .card-highlight {
    border-radius: 18px;
    border: 1px solid #ececec;
    box-shadow: 0 14px 40px rgba(16, 24, 32, 0.07);
}
.ij .card-highlight, .cj .card-highlight,
.cm .card-highlight, .mnm .card-highlight {
    border-top: 4px solid var(--mk-cat);
}
#footer-lead-form .card-highlight { box-shadow: 0 22px 48px rgba(16, 24, 32, 0.12); }

/* form card title: plain serif — no underline stroke and no 2026 arrows */
.card-highlight .card-title {
    font-weight: 700;
    font-size: 27px;
}
.card-highlight .card-title.with-arrows { display: block; }
.card-highlight .card-title.with-arrows::before { display: none; content: none; }
.ij .card-highlight .card-title.with-arrows::before,
.cj .card-highlight .card-title.with-arrows::before,
.cm .card-highlight .card-title.with-arrows::before,
.mnm .card-highlight .card-title.with-arrows::before { display: none; border: none; }
.card-highlight .card-title.with-arrows::after,
.ij .card-highlight .card-title.with-arrows::after,
.cj .card-highlight .card-title.with-arrows::after,
.cm .card-highlight .card-title.with-arrows::after,
.mnm .card-highlight .card-title.with-arrows::after {
    display: none;
    content: none;
    border: none;
}

/* alerts (e.g. "Quick Facts") become soft tinted kit panels */
.alert-info, .alert-plain {
    background: color-mix(in srgb, var(--mk-cat) 6%, #ffffff);
    border: none;
    border-left: 4px solid var(--mk-cat);
    border-radius: 16px;
    box-shadow: none;
    color: var(--mk-body);
}
.alert-with-icon .alert-icon i,
.alert-with-icon .alert-icon .text-secondary { color: var(--mk-cat-deep) !important; }

/* testimonial quote card */
.mk-quote {
    background: color-mix(in srgb, var(--mk-cat) 6%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--mk-cat) 24%, #ffffff);
    border-radius: 18px;
    padding: 1.6rem 1.9rem 1.4rem;
    color: var(--mk-body);
}
.mk-quote blockquote {
    font-family: var(--mk-serif);
    color: var(--mk-body);
}
.mk-quote figcaption {
    font-family: var(--mk-sans);
    font-size: 12.5px;
    color: #8a8a8a;
}

/* ---------- "Top Purchases" kit-style dark panel ---------- */
.mk-purchases {
    background: #232323;
    color: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 3rem;
    box-shadow: 0 16px 40px rgba(10, 10, 10, 0.18);
}
.mk-purchases h3 {
    color: #ffffff;
    text-align: center;
    font-family: var(--mk-sans);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
}
.mk-purchases .mk-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mk-cat), transparent);
    margin: 1.25rem 0 1.5rem;
}
.mk-purchases ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.mk-purchases li::before { display: none !important; content: none !important; }
.mk-purchases li { padding-left: 0 !important; }
.mk-purchases li {
    font-family: var(--mk-sans);
    padding: 3px 0;
    font-size: 14.5px;
    font-weight: 400;
    color: #e9e7e3;
}
.mk-purchases li b { color: var(--mk-cat); margin-right: 6px; }
html.mnm .mk-purchases li b,
body.mk-cat-thought-leadership .mk-purchases li b { color: color-mix(in srgb, var(--mk-cat) 70%, #ffffff); }

/* ============================================================
   Buttons & forms
   ============================================================ */
.btn {
    font-family: var(--mk-sans);
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 10px;
}
.ij .btn-primary, .cj .btn-primary, .cm .btn-primary, .mnm .btn-primary {
    background: var(--mk-ink);
    border-color: var(--mk-ink);
    color: #ffffff;
}
.ij .btn-primary:hover, .cj .btn-primary:hover, .cm .btn-primary:hover, .mnm .btn-primary:hover,
.ij .btn-primary:focus, .cj .btn-primary:focus, .cm .btn-primary:focus, .mnm .btn-primary:focus {
    background: var(--mk-cat-deep);
    border-color: var(--mk-cat-deep);
    color: #ffffff;
}
.btn-primary.btn-lg { padding: 13px 22px; font-size: 15.5px; }
.btn-plain {
    background: #ffffff;
    color: var(--mk-ink);
    border: 1.5px solid #d9d9d9;
    border-radius: 10px;
    padding: 10px 22px;
}
.ij .btn-plain:hover, .cj .btn-plain:hover, .cm .btn-plain:hover, .mnm .btn-plain:hover {
    background: #ffffff;
    color: var(--mk-cat-deep);
    border-color: var(--mk-cat-deep);
}
.btn:focus, .btn.focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mk-cat) 30%, transparent) !important;
}

.form-control, .custom-select {
    font-family: var(--mk-sans);
    border-radius: 10px;
    border: 1.5px solid #dcdcdc;
    color: #262626;
}
.form-control-lg, .custom-select-lg {
    font-size: 15.5px;
    padding: 11px 15px;
    height: auto;
}
.custom-select-lg { padding-right: 32px; }
.form-control::placeholder { color: #9d9d9d; }
.form-control:focus, .custom-select:focus {
    border-color: var(--mk-cat);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mk-cat) 22%, transparent);
}
label.lead { font-size: 16px; font-weight: 600; color: var(--mk-ink); }

/* ============================================================
   Footer lead form / CTA strip
   ============================================================ */
#footer-lead-form .lead-intro {
    font-family: var(--mk-serif);
    font-size: 19px;
    line-height: 1.7;
    color: var(--mk-body);
    margin-bottom: 1rem;
}
#footer-lead-form h1 { margin-bottom: 1.5rem; }

.cta-strip.bg-primary,
.cta-strip.bg-toned-8 {
    background: color-mix(in srgb, var(--mk-cat) 9%, #ffffff) !important;
    border-top: 3px solid var(--mk-cat); /* the category bar, relocated from the header */
}
.cta-strip h2 { color: var(--mk-ink); }
.cta-strip .lead {
    font-family: var(--mk-serif);
    font-size: 19px;
    color: var(--mk-body);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.cta-strip .btn-plain {
    background: var(--mk-ink);
    color: #ffffff;
    border-color: var(--mk-ink);
    padding: 12px 30px;
}
.ij .cta-strip .btn-plain:hover, .cj .cta-strip .btn-plain:hover,
.cm .cta-strip .btn-plain:hover, .mnm .cta-strip .btn-plain:hover {
    background: var(--mk-cat-deep);
    border-color: var(--mk-cat-deep);
    color: #ffffff;
}

/* ============================================================
   Footer
   ============================================================ */
.footer-nav {
    background-color: var(--mk-footer-bg);
}
.footer-nav h6 {
    font-family: var(--mk-sans);
    font-size: 18px;
    letter-spacing: 2px;
}
.footer-nav h6::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 10px;
    vertical-align: 1px;
}
/* each footer column's bullets take that column's category color */
.footer-nav .row > div:nth-child(1) ul li::before { background: var(--mk-visibility); }
.footer-nav .row > div:nth-child(2) ul li::before { background: var(--mk-thought-leadership); }
.footer-nav .row > div:nth-child(3) ul li::before { background: var(--mk-lead-gen); }
.footer-nav h6.mk-foot-visibility          { color: var(--mk-visibility) !important; }
.footer-nav h6.mk-foot-thought-leadership  { color: var(--mk-thought-leadership) !important; }
.footer-nav h6.mk-foot-lead-gen            { color: var(--mk-lead-gen) !important; }
.footer-nav .mk-foot-link {
    color: #9eb0c2;
    font-size: 14px;
}
.footer-nav a:hover { color: #ffffff !important; text-decoration: underline !important; }

.footer, .copyright { background: var(--mk-footer-bg); }
.copyright {
    font-size: 13px;
    color: #7f8896;
    padding: 26px 16px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.copyright a { color: #c3cdd8; }
.copyright a:hover { color: #ffffff; }

/* ============================================================
   Misc
   ============================================================ */
.back-to-top {
    width: 44px;
    height: 44px;
    padding: 0;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--mk-ink);
    font-size: 20px;
    opacity: 0.85;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.back-to-top:hover { opacity: 1; }

.content-specs .nav-tabs .nav-link { font-family: var(--mk-sans); }
.ij .content-specs .nav-tabs .nav-link.active,
.cj .content-specs .nav-tabs .nav-link.active,
.cm .content-specs .nav-tabs .nav-link.active,
.mnm .content-specs .nav-tabs .nav-link.active { border-top: 2px solid var(--mk-cat); }
.ij .nav-tabs .nav-link:hover, .cj .nav-tabs .nav-link:hover,
.cm .nav-tabs .nav-link:hover, .mnm .nav-tabs .nav-link:hover { color: var(--mk-cat-deep); }

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--mk-cat-deep);
    outline-offset: 2px;
}

/* MNM's plain links are long product names — keep them on one line */
@media (min-width: 992px) {
    html.mnm .navbar-nav .nav-link { white-space: nowrap; margin: 0 0.75rem; }
    html.mnm .navbar-brand img.mk-logo { max-width: 312px !important; }
}

/* ============================================================
   Product pager: side arrows that slide the next product page
   in like a sheet of paper laid on top of the stack
   ============================================================ */
.mk-pager-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e2e2;
    box-shadow: 0 6px 20px rgba(16, 24, 32, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    z-index: 1025;
    color: var(--mk-ink);
    transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.mk-pager-arrow:hover {
    color: var(--mk-cat-deep);
    border-color: var(--mk-cat);
    box-shadow: 0 8px 26px rgba(16, 24, 32, 0.2);
}
.mk-pager-arrow svg { width: 20px; height: 20px; display: block; }
.mk-pager-prev { left: 16px; }
.mk-pager-next { right: 16px; }
@media (max-width: 991.98px) { .mk-pager-arrow { display: none; } }

/* the incoming "sheet of paper": carries the next page's content and
   slides in beneath the static header, covering the current content */
.mk-page-sheet {
    position: fixed;
    top: 0; /* set to the header's bottom edge by the pager script */
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    z-index: 1026; /* above content + pager arrows, below the fixed header */
    pointer-events: none;
    transition: transform 0.34s cubic-bezier(0.25, 0.6, 0.3, 1);
    will-change: transform;
}
.mk-page-sheet-inner {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}
/* the leading-edge shadow: full strength at the bottom of the screen,
   tapering away to nothing at the top of the incoming page */
.mk-page-sheet::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 65%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 65%);
}
.mk-page-sheet.mk-from-right::before {
    left: -56px;
    background: linear-gradient(to left, rgba(10, 16, 22, 0.22), rgba(10, 16, 22, 0));
}
.mk-page-sheet.mk-from-left::before {
    right: -56px;
    background: linear-gradient(to right, rgba(10, 16, 22, 0.22), rgba(10, 16, 22, 0));
}
.mk-page-sheet.mk-from-right { transform: translateX(103%); }
.mk-page-sheet.mk-from-left  { transform: translateX(-103%); }
.mk-page-sheet.mk-in { transform: translateX(0); }

/* the sheet previews the incoming page in ITS category colors */
.mk-page-sheet.mk-cat-visibility          { --mk-cat: var(--mk-visibility);          --mk-cat-deep: var(--mk-visibility-deep); }
.mk-page-sheet.mk-cat-thought-leadership  { --mk-cat: var(--mk-thought-leadership);  --mk-cat-deep: var(--mk-thought-leadership-deep); }
.mk-page-sheet.mk-cat-lead-gen            { --mk-cat: var(--mk-lead-gen);            --mk-cat-deep: var(--mk-lead-gen-deep); }

/* MNM mobile pill nav */
.ij .mobile-nav a, .cj .mobile-nav a, .cm .mobile-nav a, .mnm .mobile-nav a {
    background-color: var(--mk-ink);
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================================
   Mobile / tablet (below the lg breakpoint the 2026 layer used
   to hide the nav entirely — restore a collapsible menu)
   ============================================================ */
@media (max-width: 991.98px) {
    html { scroll-padding-top: 24px; }
    .fixed-header { height: auto; }
    .header, .header .navbar, .fixed-header .navbar-background { min-height: 0; }
    .content { margin-top: 0; }
    .sticky-header thead { top: 0; }

    .header .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 14px 0;
    }
    .navbar-brand { position: static; margin: 0; }
    .navbar-brand img.mk-logo, .navbar-brand img { max-height: 94px; width: auto; }

    .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        border: 1.5px solid #e0e0e0;
        border-radius: 10px;
        padding: 8px 10px;
    }
    .navbar-collapse {
        flex-basis: 100%;
        border-top: 1px solid var(--mk-hairline);
        margin-top: 12px;
    }
    .navbar-nav {
        display: flex !important;
        flex-direction: column;
        width: 100%;
    }
    .navbar-nav .nav-link,
    .ij .header .navbar .nav-link, .cj .header .navbar .nav-link,
    .cm .header .navbar .nav-link, .mnm .header .navbar .nav-link,
    .ij .header .navbar .nav-link.active, .cj .header .navbar .nav-link.active,
    .cm .header .navbar .nav-link.active, .mnm .header .navbar .nav-link.active,
    .ij .header .navbar .nav-link:hover, .cj .header .navbar .nav-link:hover,
    .cm .header .navbar .nav-link:hover, .mnm .header .navbar .nav-link:hover {
        margin: 0;
        padding: 14px 0 14px 23px !important;
        background-position: 0 22px;
    }
    .navbar-nav .nav-link::before { display: none; } /* no hover underline on touch */
    .fixed-header .dropdown-menu {
        position: static;
        float: none;
        box-shadow: none;
        border: none;
        border-radius: 12px;
        background: #f7f8f9;
        margin: 0 0 12px;
        padding: 8px 0;
    }
    .fixed-header .dropdown-menu .dropdown-item { text-align: center; }

    /* MNM's pill nav replaces the collapse there */
    .mnm .navbar-toggler { display: none !important; }
}

/* ============================================================
   Image / icon placeholders awaiting final art
   (swap the element for an <img> with the filename in data-img)
   ============================================================ */
.mk-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 18px;
    background: color-mix(in srgb, var(--mk-cat) 4%, #ffffff);
    border: 2px dashed color-mix(in srgb, var(--mk-cat) 40%, #ffffff);
    border-radius: 16px;
    color: #9a9a9a;
    font-family: var(--mk-sans);
    font-size: 13px;
    font-style: italic;
    text-align: center;
    line-height: 1.5;
}
.mk-icon-ph {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    min-height: 0;
    padding: 4px;
    border-radius: 12px;
    font-size: 9px;
}

/* ============================================================
   Kit-style stat compositions (magazine / website hero blocks)
   ============================================================ */
/* tinted rounded panel holding icon stat rows, like the kit's left band */
.mk-stat-panel {
    background: color-mix(in srgb, var(--mk-cat) 5%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--mk-cat) 26%, #ffffff);
    border-radius: 18px;
    padding: 1.9rem 2rem;
    height: 100%;
    /* distribute the stat rows across the full panel height instead of
       leaving the leftover space pooled below the last row */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mk-statrow {
    display: flex;
    align-items: center;
    gap: 18px;
}
.mk-statrow + .mk-statrow { margin-top: 1.7rem; }
.mk-statrow .mk-stat-med { flex: 0 0 auto; min-width: 92px; text-align: right; }
.mk-stat-icon {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex: 0 0 auto;
}
.mk-statrow .mk-stat-label { margin-top: 0; }

/* solid kit-style up arrow beside a big number (colored by category) */
.mk-up-arrow {
    width: 28px;
    height: 32px;
    color: var(--mk-cat);
    flex: 0 0 auto;
}
.mk-stat-up {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
/* compact "▲ 7% YEAR OVER YEAR" badge for stat cards */
.mk-yoy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mk-serif);
    font-weight: 800;
    font-size: 25px;
    color: var(--mk-ink);
}
.mk-yoy .mk-up-arrow { width: 17px; height: 21px; }
.mk-yoy small {
    font-family: var(--mk-sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--mk-ink);
    line-height: 1.25;
    text-align: left;
    max-width: 60px;
}

/* centered small-caps title for light kit panels ("Enterprise Buying Cycles") */
.mk-panel-title {
    text-align: center;
    font-family: var(--mk-sans);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--mk-ink);
}

/* "Key Takeaway" row with a dark lightbulb circle, like the kit */
.mk-takeaway {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 1.5rem;
}
.mk-takeaway .mk-takeaway-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mk-ink);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.mk-takeaway p { margin-bottom: 0; }

/* ============================================================
   Motion: count-ups, chart reveals, looping arrows, floating art
   ============================================================ */
.mk-up-arrow { animation: mkArrowRise 2.4s ease-in-out infinite; }
@keyframes mkArrowRise {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* count-up numbers reserve their final width (via JS min-width) so
   surrounding text doesn't shift while the digits spin */
.mk-count { display: inline-block; }

/* ---------- animated bar charts ---------- */
.mk-chart h4 { margin-bottom: 14px; }
.mk-bars { display: flex; flex-direction: column; gap: 9px; margin-bottom: 10px; }
.mk-bar {
    display: grid;
    grid-template-columns: minmax(110px, 42%) 1fr 46px;
    gap: 10px;
    align-items: center;
    font-family: var(--mk-sans);
}
.mk-bar-label { font-size: 13px; line-height: 1.25; color: var(--mk-body); }
.mk-bar-track {
    height: 10px;
    border-radius: 6px;
    overflow: hidden;
}
.mk-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--mk-cat), var(--mk-cat-deep));
    transition: width 1.1s cubic-bezier(0.22, 0.61, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 60ms);
}
/* bars scale to the chart's LARGEST value (set as --barw by JS), showing
   proportion to each other rather than to 100% */
.mk-chart.mk-in .mk-bar-fill { width: var(--barw, var(--pct)); }
.mk-bar-val {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--mk-ink);
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.mk-chart-src { display: block; margin-top: 2px; }

/* ---------- donut (single share) ---------- */
.mk-donut { position: relative; width: 142px; margin: 4px 0 14px; }
.mk-donut svg { width: 100%; display: block; transform: rotate(-90deg); }
.mk-donut circle { fill: none; stroke-width: 14; }
.mk-donut-track { stroke: color-mix(in srgb, var(--mk-cat) 13%, #ffffff); }
.mk-donut-fill {
    stroke: var(--mk-cat-deep);
    stroke-linecap: round;
    stroke-dasharray: 314.16;
    stroke-dashoffset: 314.16;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.22, 0.61, 0.2, 1) 0.1s;
}
.mk-donut.mk-in .mk-donut-fill { stroke-dashoffset: calc(314.16 * (1 - var(--val) / 100)); }
.mk-donut-num {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mk-serif); font-weight: 800; font-size: 27px; color: var(--mk-ink);
}

/* ---------- 100% stacked bar ---------- */
.mk-stack {
    display: flex; height: 18px; border-radius: 9px; overflow: hidden;
    background: color-mix(in srgb, var(--mk-cat) 12%, #ffffff);
    margin: 10px 0 12px;
}
.mk-stack .seg { height: 100%; width: 0; transition: width 1.2s cubic-bezier(0.22, 0.61, 0.2, 1); }
.mk-stack .seg:nth-child(2) { transition-delay: 0.12s; }
.mk-stack .seg:nth-child(3) { transition-delay: 0.24s; }
.mk-stackwrap.mk-in .seg { width: var(--pct); }
.mk-stack-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mk-sans); font-size: 12.5px; margin-bottom: 10px; }
.mk-stack-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mk-stack-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; font-style: normal; flex: 0 0 auto; }

@media (prefers-reduced-motion: reduce) {
    .mk-up-arrow { animation: none; }
    .mk-bar-fill, .mk-donut-fill, .mk-stack .seg { transition: none; }
}

/* boxless hero number (website/magazine top stat) */
.mk-stat-giant {
    font-family: var(--mk-serif);
    font-weight: 800;
    font-size: clamp(54px, 5.6vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--mk-ink);
}
.mk-stat-giant-xl { font-size: clamp(64px, 8vw, 118px); }
/* number block that right-aligns its label/source to the number's edge */
.mk-stat-flush {
    display: inline-block;
    text-align: right;
}
/* tinted category box around a hero stat (fills wide open space) */
.mk-stat-box {
    background: color-mix(in srgb, var(--mk-cat) 10%, #ffffff);
    border-radius: 18px;
    padding: 30px 44px 26px;
}
/* magazine mid-page stats run 50% larger */
.mk-stats-lg .mk-stat-med { font-size: 51px; min-width: 132px; }
.mk-stats-lg .mk-statrow { gap: 22px; }

/* ============================================================
   In-place price lock: the real table keeps its layout — header
   row and label column readable — while the value cells render
   digit-masked behind a blur with an inquire button in front
   ============================================================ */
.mk-blur {
    display: inline-block;
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
}
.mk-pricelock { position: relative; }
main tr.bg-dark td { color: #ffffff; }
tr.bg-dark + tr.bg-dark td { border-top: 0 !important; }
/* single-row rate tables get extra headroom so the button floats clear */
.mk-pricelock tbody tr:only-child td { padding-top: 1.9rem; padding-bottom: 1.9rem; }

/* letter-marker tables: the letter column reads as outside the table,
   so the frame is redrawn starting at the second column */
.mk-table-letters { margin-left: 0; border: 0 !important; border-radius: 0; }
.mk-table-letters thead th:first-child,
.mk-table-letters tbody td:first-child {
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    width: 46px;
    min-width: 46px;
    padding-left: 0 !important;
    padding-right: 12px !important;
}
.mk-table-letters th:nth-child(2),
.mk-table-letters td:nth-child(2) { border-left: 1px solid color-mix(in srgb, var(--mk-cat) 22%, #ffffff); }
.mk-table-letters th:last-child,
.mk-table-letters td:last-child { border-right: 1px solid color-mix(in srgb, var(--mk-cat) 22%, #ffffff); }
.mk-table-letters tr:last-child td:not(:first-child) { border-bottom: 1px solid color-mix(in srgb, var(--mk-cat) 22%, #ffffff); }
.mk-table-letters thead th:nth-child(2) {
    border-top-left-radius: 13px;
    border-left-color: var(--mk-ink); /* blend into the dark header along its curve */
}
.mk-table-letters thead th:last-child { border-right-color: var(--mk-ink); }
.mk-table-letters tbody tr:first-child td:last-child { border-top-right-radius: 0; }
.mk-table-letters tbody tr:last-child td:nth-child(2) { border-bottom-left-radius: 13px; }

/* kit-style white card: soft shadow, curved corners, category accent on the left */
.mk-box-plain {
    background: transparent;
    border: 0;
    border-left: 4px solid var(--mk-cat);
    border-radius: 16px;
    box-shadow: none;
}

/* quiet italic-gray text links (example/demo links under images) */
.mk-subtle-link {
    font-family: var(--mk-sans);
    font-size: 15px;
    font-style: italic;
    color: #777 !important;
    text-decoration: underline !important;
    text-decoration-color: #bbb !important;
    text-underline-offset: 2px;
}
.mk-subtle-link:hover { color: var(--mk-ink) !important; text-decoration-color: var(--mk-cat) !important; }

/* framed content images (speaking stages) */
.mk-img-frame { border-radius: 14px; border: 1px solid #e3e3e3; }

/* print enhancements: image bottoms + text tops align per row */
.mk-enh-imgwrap {
    height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.mk-enh-imgwrap img { max-height: 100%; max-width: 100%; width: auto; }

/* sticky jump bar (eNewsletter): black strip fading in under the header */
.mk-jumpbar {
    position: fixed;
    top: var(--mk-header-h);
    left: 0;
    right: 0;
    z-index: 1020;
    background: #101820;
    padding: 9px 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    font-family: var(--mk-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.mk-jumpbar.mk-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 991.98px) { .mk-jumpbar { display: none; } }
.mk-jumpbar a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    margin: 0 9px;
}
.mk-jumpbar a:hover { color: var(--mk-cat) !important; text-decoration: underline; }
.mk-pricelock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* the table behind stays hoverable */
    z-index: 2;
}
.mk-pricelock-overlay .btn {
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(16, 24, 32, 0.28);
    background: var(--mk-cat);
    border: 2px solid var(--mk-cat-deep);
    color: #ffffff;
}
.mk-pricelock-overlay .btn:hover,
.mk-pricelock-overlay .btn:focus {
    background: var(--mk-cat-deep);
    border-color: var(--mk-cat-deep);
    color: #ffffff;
}

/* demo/example buttons under images take the category color */
.mk-btn-demo, .ij .mk-btn-demo, .cj .mk-btn-demo, .cm .mk-btn-demo, .mnm .mk-btn-demo {
    background: var(--mk-cat);
    color: #ffffff;
    border: 2px solid var(--mk-cat-deep);
    border-radius: 10px;
    padding: 10px 22px;
}
.mk-btn-demo:hover, .ij .mk-btn-demo:hover, .cj .mk-btn-demo:hover,
.cm .mk-btn-demo:hover, .mnm .mk-btn-demo:hover {
    background: var(--mk-cat-deep);
    border-color: var(--mk-cat-deep);
    color: #ffffff;
}

/* ============================================================
   Locked pricing: the rates look present but sit behind a blur,
   with an inquire button in front (shown to unauthorized visitors)
   ============================================================ */
.mk-pricing-locked {
    position: relative;
    border: 1px solid color-mix(in srgb, var(--mk-cat) 22%, #ffffff);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 24, 32, 0.06);
}
.mk-pricing-locked-head {
    background: var(--mk-ink);
    color: #ffffff;
    font-family: var(--mk-sans);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
    padding: 1rem 1.1rem;
}
.mk-pricing-locked-body { position: relative; overflow: hidden; }
.mk-pricing-locked-grid {
    filter: blur(7px);
    user-select: none;
    pointer-events: none;
}
.mk-pricing-locked-grid table { width: 100%; border-collapse: collapse; }
.mk-pricing-locked-grid th,
.mk-pricing-locked-grid td {
    padding: 0.9rem 1rem;
    text-align: center;
    font-family: var(--mk-serif);
    font-size: 16.5px;
    color: var(--mk-body);
    border-top: 1px solid color-mix(in srgb, var(--mk-cat) 16%, #ffffff);
}
.mk-pricing-locked-grid tr:first-child th,
.mk-pricing-locked-grid tr:first-child td { border-top: none; font-family: var(--mk-sans); font-size: 13px; font-weight: 700; }
.mk-pricing-locked-grid tr:nth-child(even) { background: color-mix(in srgb, var(--mk-cat) 7%, #ffffff); }
.mk-pricing-locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
}

/* the request-info card floats up past the strip's top border/background;
   the strip's own top margin makes room so it never overlaps page content
   (py-5 gives the strip 48px top padding — the extra 148px lifts the card
   100px above the strip's top edge) */
#request-info { margin-top: 100px; scroll-margin-top: 116px; }
#request-info .card-highlight { margin-top: -148px; }
@media (max-width: 767.98px) {
    #request-info { margin-top: 70px; scroll-margin-top: 86px; }
    #request-info .card-highlight { margin-top: -118px; }
}

/* ============================================================
   CTA strip fades in on pages short enough to show it immediately
   ============================================================ */
.cta-strip.mk-fade-in, #footer-lead-form.mk-fade-in {
    animation: mk-strip-fade 0.55s ease-out both;
}
@keyframes mk-strip-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .cta-strip.mk-fade-in, #footer-lead-form.mk-fade-in { animation: none; }
}

/* ============================================================
   color-mix fallback for older browsers
   ============================================================ */
@supports not (background-color: color-mix(in srgb, red 10%, white)) {
    .mk-stat-card, .mk-stat-panel { background-color: #f4fafe; border-color: #cdeafa; }
    .mk-img-placeholder { background-color: #f4fafe; border-color: #a9def7; }
    .mk-pricing-locked { border-color: #cdeafa; }
    .mk-pricing-locked-grid th, .mk-pricing-locked-grid td { border-top-color: #ddeefa; }
    .mk-pricing-locked-grid tr:nth-child(even) { background-color: #f0f8fd; }
    .table-mediakit { border-color: #cdeafa; }
    .table-mediakit td, .table-mediakit th { border-top-color: #ddeefa; }
    .table-mediakit tr:nth-of-type(even),
    .table-mediakit.table-striped tbody tr:nth-of-type(even),
    .content-calendar .table-striped tbody tr:nth-of-type(even) { background-color: #f0f8fd; }
    .dropdown-item:hover { background-color: #f0f6fa; }
    .alert-info, .alert-plain { background: #f2f9fd; }
    .cta-strip.bg-primary, .cta-strip.bg-toned-8 { background: #eef7fc !important; }
    .form-control:focus, .custom-select:focus { box-shadow: 0 0 0 3px rgba(65, 188, 239, 0.25); }
}
