body.page-id-19095 .site-main > .ct-container-full{padding-bottom:30px!important;}

/* Ask home: compact mobile opening */
@media (max-width:689px){
  body.page-id-17973 .site-main > .ct-container-full{padding-top:16px!important;}
}

/* Advisory home: compact mobile opening */
@media (max-width:689px){
  body.page-id-19095 .site-main > .ct-container-full{padding-top:16px!important;}
}

/* CM International: compact mobile hero */
@media (max-width:781px){
  body.page-id-17819 .cmi-hero{padding-top:46px!important;padding-bottom:54px!important}
  body.page-id-17819 .cmi-hero h1{font-size:38px!important;line-height:1.08!important;letter-spacing:-.025em!important;max-width:350px!important}
  body.page-id-17819 .cmi-hero .cmi-hero-copy{font-size:17px!important;line-height:1.58!important;max-width:350px!important}
  body.page-id-17819 .cmi-hero .cmi-hero-kicker{font-size:11px!important;letter-spacing:.13em!important}
}


/* === CM chromatic system · 2026-08-27 === */
body {
  --theme-palette-color-1: #405563 !important;
  --theme-palette-color-2: #17303B !important;
  --wp--preset--color--palette-color-1: #405563 !important;
  --wp--preset--color--palette-color-2: #17303B !important;
  --theme-link-initial-color: #405563 !important;
  --theme-link-hover-color: #17303B !important;
  --theme-button-background-initial-color: #405563 !important;
  --theme-button-background-hover-color: #17303B !important;
  --theme-form-field-border-focus-color: #405563 !important;
  --theme-form-selection-field-active-color: #405563 !important;
  --theme-selection-background-color: #17303B !important;
  --theme-selection-text-color: #FFFFFF !important;
}

::selection {
  background: #17303B;
  color: #FFFFFF;
}

/* Unified desktop and mobile navigation */
#header .ct-header [data-id^="menu"] > ul > li > a,
#offcanvas .ct-menu-link {
  --theme-link-hover-color: #405563 !important;
  --theme-link-active-color: #405563 !important;
}

#header .sub-menu .ct-menu-link {
  --theme-link-hover-color: #A9B6BA !important;
  --theme-link-active-color: #A9B6BA !important;
}

/* Footer interaction states */
#footer .ct-footer [data-id^="menu"] > ul > li > a {
  --theme-link-hover-color: #405563 !important;
  --theme-link-active-color: #405563 !important;
}

body.page-id-19095 #footer .ct-footer [data-id^="menu"] > ul > li > a,
body.parent-pageid-19095 #footer .ct-footer [data-id^="menu"] > ul > li > a,
body.page-id-17819 #footer .ct-footer [data-id^="menu"] > ul > li > a {
  --theme-link-hover-color: #A9B6BA !important;
  --theme-link-active-color: #A9B6BA !important;
}

/* Cookie banner */
:root,
.cmplz-cookiebanner {
  --cmplz_button_accept_background_color: #17303B !important;
  --cmplz_button_accept_border_color: #17303B !important;
  --cmplz_hyperlink_color: #405563 !important;
  --cmplz_slider_active_color: #405563 !important;
}

/* Journal: accessible editorial labels and search */
body.page-id-5033 {
  --theme-palette-color-1: #51697A !important;
  --wp--preset--color--palette-color-1: #51697A !important;
}

body.page-id-5033 .has-palette-color-1-color {
  color: #51697A !important;
}

body.page-id-5033 .wp-block-search__button {
  background: #405563 !important;
  border-color: #405563 !important;
  color: #FFFFFF !important;
}

body.page-id-5033 .wp-block-search__button:hover {
  background: #17303B !important;
  border-color: #17303B !important;
}

/* CM International: stronger contrast for small labels on light panels */
body.page-id-17819 .cmi-light .cmi-kicker {
  color: #51697A !important;
}

/* Ask: visible audio controls */
body.page-id-17893 .ask-voice-ui-test {
  color: #A9B6BA !important;
  opacity: 1 !important;
}

body.page-id-17893 .ask-voice-ui-test:hover,
body.page-id-17893 .ask-voice-ui-test:focus-visible {
  color: #E8ECEA !important;
}

body.page-id-17893 .ask-voice-ui-test__speaker,
body.page-id-17893 .ask-voice-ui-test__stop,
body.page-id-17893 .ask-voice-ui-test__label {
  color: inherit !important;
}

/* Books: preserve the intentional warm black and gold identity */
body.page-id-5410 .cm-book-card .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: #B99652 !important;
}

body.page-id-5410 .cm-book-card .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #B99652 !important;
  border-color: #B99652 !important;
  color: #151515 !important;
}

/* Italian page: align the opening with the international navy system */
body.page-id-1159 .entry-content > .wp-block-group:first-child {
  background: #17303B !important;
  color: #E8ECEA !important;
}

body.page-id-1159 .entry-content > .wp-block-group:first-child h1 {
  color: #F7F7F4 !important;
}

body.page-id-1159 .entry-content > .wp-block-group:first-child h2,
body.page-id-1159 .entry-content > .wp-block-group:first-child p {
  color: #CDD3D2 !important;
}

body.page-id-1159 .entry-content > .wp-block-group:first-child .wp-block-column:first-child > p.has-small-font-size:first-child,
body.page-id-1159 .entry-content > .wp-block-group:first-child .wp-element-caption {
  color: #A9B6BA !important;
}

body.page-id-1159 .entry-content > .wp-block-group:first-child .wp-block-button:first-child .wp-block-button__link {
  background: #F3F4F1 !important;
  color: #17303B !important;
  border-color: #F3F4F1 !important;
}

body.page-id-1159 .entry-content > .wp-block-group:first-child .wp-block-button:first-child .wp-block-button__link:hover {
  background: #CDD3D2 !important;
  border-color: #CDD3D2 !important;
}

body.page-id-1159 .entry-content > .wp-block-group:first-child .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #E8ECEA !important;
  border-color: #51697A !important;
}

body.page-id-1159 .entry-content > .wp-block-group:first-child .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #203641 !important;
  border-color: #A9B6BA !important;
}
/* === end CM chromatic system === */


/* Navigation specificity: keep active and hover states inside the navy system. */
#header .menu > li > .ct-menu-link {
  --theme-link-hover-color: #405563 !important;
  --theme-link-active-color: #405563 !important;
}
#header .menu > li.current-menu-item > .ct-menu-link,
#header .menu > li.current-menu-ancestor > .ct-menu-link,
#header .menu > li.current-menu-parent > .ct-menu-link,
#header .menu > li.current-menu-item > .ct-menu-link *,
#header .menu > li.current-menu-ancestor > .ct-menu-link * {
  color: #405563 !important;
  border-color: #405563 !important;
}
#header .sub-menu .ct-menu-link {
  --theme-link-hover-color: #A9B6BA !important;
  --theme-link-active-color: #A9B6BA !important;
}
#footer .ct-menu-link {
  --theme-link-hover-color: #405563 !important;
  --theme-link-active-color: #405563 !important;
}
body.page-id-19095 #footer .ct-menu-link,
body.parent-pageid-19095 #footer .ct-menu-link,
body.page-id-17819 #footer .ct-menu-link,
body.page-id-17893 #footer .ct-menu-link,
body.page-id-17973 #footer .ct-menu-link {
  --theme-link-hover-color: #A9B6BA !important;
  --theme-link-active-color: #A9B6BA !important;
}


/* Final specificity for page-level generated styles. */
body.page-id-5033 .entry-content .has-palette-color-1-color.has-text-color {
  color: #51697A !important;
}

body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child {
  background: #17303B !important;
  color: #E8ECEA !important;
}
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child::before {
  background: #A9B6BA !important;
}
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child h1 {
  color: #F7F7F4 !important;
}
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child h2,
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child p {
  color: #CDD3D2 !important;
}
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-column:first-child > p.has-small-font-size:first-child,
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-element-caption {
  color: #A9B6BA !important;
}
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-button:first-child .wp-block-button__link {
  background: #F3F4F1 !important;
  color: #17303B !important;
  border-color: #F3F4F1 !important;
}
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-button:first-child .wp-block-button__link:hover {
  background: #CDD3D2 !important;
  border-color: #CDD3D2 !important;
}
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #E8ECEA !important;
  border-color: #51697A !important;
}
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #203641 !important;
  border-color: #A9B6BA !important;
}


/* === CM button interaction system ===
   Clear hover, keyboard focus and touch press without changing authored base colours.
*/
body .entry-content .wp-block-button .wp-block-button__link,
body .entry-content [type="submit"] {
  -webkit-tap-highlight-color: rgba(64, 85, 99, 0.28);
  transition:
    filter 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease !important;
}

/* Filled buttons retain their authored palette and visibly react. */
body .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.is-style-outline):hover,
body .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.is-style-outline):focus-visible,
body .entry-content [type="submit"]:hover,
body .entry-content [type="submit"]:focus-visible {
  filter: brightness(0.84) saturate(1.08) !important;
  box-shadow: 0 0 0 2px #A9B6BA !important;
  transform: translateY(-1px) !important;
}

body .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.is-style-outline):active,
body .entry-content [type="submit"]:active {
  filter: brightness(0.70) saturate(1.10) !important;
  box-shadow: inset 0 0 0 3px #A9B6BA !important;
  transform: translateY(1px) scale(0.99) !important;
  transition-duration: 0.04s !important;
}

/* Outline buttons become a filled navy control on interaction. */
body.wp-singular .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.wp-singular .entry-content .wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
body.wp-singular .entry-content .wp-block-button .wp-block-button__link.is-style-outline:hover,
body.wp-singular .entry-content .wp-block-button .wp-block-button__link.is-style-outline:focus-visible {
  background: #405563 !important;
  color: #FFFFFF !important;
  border-color: #A9B6BA !important;
  filter: none !important;
  box-shadow: 0 0 0 2px rgba(169, 182, 186, 0.78) !important;
  transform: translateY(-1px) !important;
}

body.wp-singular .entry-content .wp-block-button.is-style-outline .wp-block-button__link:active,
body.wp-singular .entry-content .wp-block-button .wp-block-button__link.is-style-outline:active {
  background: #17303B !important;
  color: #FFFFFF !important;
  border-color: #A9B6BA !important;
  filter: none !important;
  box-shadow: inset 0 0 0 3px #A9B6BA !important;
  transform: translateY(1px) scale(0.99) !important;
  transition-duration: 0.04s !important;
}

/* Dual focus ring: visible on both light and dark surfaces. */
body .entry-content .wp-block-button .wp-block-button__link:focus-visible,
body .entry-content [type="submit"]:focus-visible {
  outline: 3px solid #405563 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #F7F7F4 !important;
}

/* Touch browsers can retain focus after a tap: keep the feedback explicit. */
@media (hover: none) {
  body.wp-singular .entry-content .wp-block-button.is-style-outline .wp-block-button__link:focus,
  body.wp-singular .entry-content .wp-block-button .wp-block-button__link.is-style-outline:focus {
    background: #405563 !important;
    color: #FFFFFF !important;
    border-color: #A9B6BA !important;
    filter: none !important;
    box-shadow: 0 0 0 2px rgba(169, 182, 186, 0.78) !important;
  }

  body .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.is-style-outline):focus,
  body .entry-content [type="submit"]:focus {
    filter: brightness(0.84) saturate(1.08) !important;
    box-shadow: 0 0 0 2px #A9B6BA !important;
  }
}

/* Books keeps its warm black and gold interaction language. */
body.page-id-5410.wp-singular .entry-content .cm-book-card .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.page-id-5410.wp-singular .entry-content .cm-book-card .wp-block-button.is-style-outline .wp-block-button__link:focus,
body.page-id-5410.wp-singular .entry-content .cm-book-card .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
  background: #B99652 !important;
  color: #151515 !important;
  border-color: #B99652 !important;
  filter: none !important;
  box-shadow: 0 0 0 2px #F4EFE6 !important;
}

body.page-id-5410.wp-singular .entry-content .cm-book-card .wp-block-button.is-style-outline .wp-block-button__link:active {
  background: #9E7D43 !important;
  color: #151515 !important;
  border-color: #F4EFE6 !important;
  filter: none !important;
  box-shadow: inset 0 0 0 2px #151515 !important;
}

/* Italian hero preserves its restrained inverted treatment. */
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-button.is-style-outline .wp-block-button__link:focus,
body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
  background: #203641 !important;
  color: #E8ECEA !important;
  border-color: #A9B6BA !important;
  filter: none !important;
  box-shadow: 0 0 0 2px #51697A !important;
}

body.page-id-1159.page-parent .entry-content > .wp-block-group:first-child .wp-block-button.is-style-outline .wp-block-button__link:active {
  background: #102630 !important;
  color: #FFFFFF !important;
  border-color: #A9B6BA !important;
  filter: none !important;
  box-shadow: inset 0 0 0 3px #A9B6BA !important;
}

@media (prefers-reduced-motion: reduce) {
  body .entry-content .wp-block-button .wp-block-button__link,
  body .entry-content [type="submit"] {
    transition: none !important;
  }

  body .entry-content .wp-block-button .wp-block-button__link:hover,
  body .entry-content .wp-block-button .wp-block-button__link:focus,
  body .entry-content .wp-block-button .wp-block-button__link:active,
  body .entry-content [type="submit"]:hover,
  body .entry-content [type="submit"]:focus,
  body .entry-content [type="submit"]:active {
    transform: none !important;
  }
}
/* === end CM button interaction system === */

/* === CM mobile advisory CTA hierarchy === */
@media (max-width: 781px) {
  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    background: #405563 !important;
    color: #FFFFFF !important;
    border: 1px solid #A9B6BA;
    text-decoration: none !important;
    line-height: 1.2;
    box-shadow: none;
    -webkit-tap-highlight-color: rgba(64, 85, 99, 0.28);
    transition:
      background-color 0.18s ease,
      border-color 0.18s ease,
      box-shadow 0.18s ease,
      transform 0.12s ease;
  }

  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"] strong {
    font-size: 0 !important;
    line-height: 0;
  }

  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"] strong::before {
    content: "Explore the Review";
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
  }

  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"]:hover,
  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"]:focus {
    background: #17303B !important;
    color: #FFFFFF !important;
    border-color: #A9B6BA;
    box-shadow: 0 0 0 2px rgba(169, 182, 186, 0.78);
    transform: translateY(-1px);
  }

  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"]:focus-visible {
    outline: 3px solid #405563;
    outline-offset: 3px;
  }

  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"]:active {
    background: #102630 !important;
    box-shadow: inset 0 0 0 3px #A9B6BA;
    transform: translateY(1px) scale(0.99);
  }

  body.page-id-3823 .cm-home-advisory > p.has-text-align-right {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
  }

  body.page-id-3823 .cm-home-advisory > p.has-text-align-right > a[href*="/cristian-marino-advisory/"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    color: #51697A !important;
    border-bottom: 1px solid transparent;
    text-decoration: none !important;
    line-height: 1.3;
    -webkit-tap-highlight-color: rgba(64, 85, 99, 0.20);
  }

  body.page-id-3823 .cm-home-advisory > p.has-text-align-right > a[href*="/cristian-marino-advisory/"] strong {
    font-size: 0 !important;
    line-height: 0;
  }

  body.page-id-3823 .cm-home-advisory > p.has-text-align-right > a[href*="/cristian-marino-advisory/"] strong::before {
    content: "Cristian Marino Advisory";
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
  }

  body.page-id-3823 .cm-home-advisory > p.has-text-align-right > a[href*="/cristian-marino-advisory/"]:hover,
  body.page-id-3823 .cm-home-advisory > p.has-text-align-right > a[href*="/cristian-marino-advisory/"]:focus {
    color: #17303B !important;
    border-bottom-color: currentColor;
  }

  body.page-id-3823 .cm-home-advisory > p.has-text-align-right > a[href*="/cristian-marino-advisory/"]:focus-visible {
    outline: 2px solid #405563;
    outline-offset: 3px;
  }

  body.page-id-3823 .cm-home-advisory > p.has-text-align-right > a[href*="/cristian-marino-advisory/"]:active {
    opacity: 0.72;
  }
}

@media (max-width: 781px) and (prefers-reduced-motion: reduce) {
  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"] {
    transition: none;
  }

  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"]:hover,
  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"]:focus,
  body.page-id-3823 .cm-home-service-grid .cm-home-service a[href*="/cristian-marino-advisory/cristian-marino-review/"]:active {
    transform: none;
  }
}
/* === end CM mobile advisory CTA hierarchy === */
