/* In Colour introduction: title plus one larger sentence. */
.ch-ic-layout .ch-ic-intro > .ch-ic-intro-description {
  margin: 24px 0 0 !important;
  max-width: 1000px;
  font-family: var(--font1, sans-serif) !important;
  font-size: clamp(18px, 2vw, 26px) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.035em !important;
  color: var(--ch-site-ink, #333333) !important;
  opacity: 1 !important;
}

/* Shared carousel spacing */
main.ch-ic-layout {
  --ch-carousel-gutter: 36px;
  --ch-carousel-bottom: 120px;
  --ch-arrow-width: 55px;
  --ch-arrow-gap: 26px;
}

/* News: leave room for controls above the scrollbar */
.ch-ic-layout .ch-ic-news {
  position: relative;
  padding-inline: var(--ch-carousel-gutter);
}

.ch-ic-layout .ch-ic-news-grid {
  padding-bottom: var(--ch-carousel-bottom);
}

/* Matching fine scrollbars */
.ch-ic-layout .ch-ic-news-grid,
.ch-ic-layout .ch-ic-forecasts .slider-inner {
  scrollbar-width: auto;
}

.ch-ic-layout .ch-ic-news-grid::-webkit-scrollbar {
  height: 1px;
}

.ch-ic-layout .ch-ic-news-grid::-webkit-scrollbar-thumb {
  background: var(--text-color);
}

.ch-ic-layout .ch-ic-news-grid::-webkit-scrollbar-track {
  background: var(--text-color-40);
}

@supports (-webkit-touch-callout: none) {
  .ch-ic-layout .ch-ic-news-grid {
    border-bottom: 1px solid var(--text-color-40);
  }
}

/* News controls: arrows left, More news right */
.ch-ic-layout .ch-ic-news-footer {
  position: absolute;
  left: var(--ch-carousel-gutter);
  right: var(--ch-carousel-gutter);
  bottom: calc(40px + var(--ch-carousel-bottom) / 2);
  transform: translateY(50%);
  margin: 0;
  gap: 20px;
}

.ch-ic-layout .ch-ic-news-controls {
  order: 0;
  gap: var(--ch-arrow-gap);
}

.ch-ic-layout .ch-ic-more {
  order: 1;
  margin: 0 0 0 auto;
  font-size: 18px;
}

/* Static carousel controls. Keep the existing disabled states and direction. */
.ch-ic-layout .ch-ic-news-controls button,
.ch-ic-layout .ch-ic-forecasts .slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--ch-arrow-width);
  height: 22px;
  min-width: 0;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  box-shadow: none;
  color: var(--text-color) !important;
  transition: none !important;
  animation: none !important;
}

.ch-ic-layout .ch-ic-news-controls button:disabled {
  opacity: 0.4;
}

.ch-ic-layout .ch-ic-news-controls button svg,
.ch-ic-layout .ch-ic-forecasts .slider-arrow svg {
  display: block;
  width: 100%;
  height: 22px;
  flex-shrink: 0;
  overflow: visible;
  transition: none !important;
  animation: none !important;
}

.ch-ic-news-controls button:first-child svg {
  transform: rotate(180deg);
}

.ch-ic-layout .ch-ic-forecasts .slider-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Forecast link: align with its existing arrows */
.ch-ic-layout .ch-ic-forecasts .ch-ic-forecast-more {
  position: absolute;
  right: var(--ch-carousel-gutter);
  bottom: calc(var(--ch-carousel-bottom) / 2);
  transform: translateY(50%);
  margin: 0;
  font-size: 18px;
}

@media (min-width: 1439px) {
  main.ch-ic-layout {
    --ch-carousel-gutter: 2.5vw;
    --ch-carousel-bottom: 8.3vw;
    --ch-arrow-width: calc(3.8vw * var(--scale, 1));
    --ch-arrow-gap: calc(1.8vw * var(--scale, 1));
  }
}

@media (max-width: 991px) {
  main.ch-ic-layout {
    --ch-carousel-gutter: 30px;
    --ch-carousel-bottom: 90px;
  }
}

@media (max-width: 479px) {
  main.ch-ic-layout {
    --ch-carousel-gutter: 18px;
    --ch-carousel-bottom: 80px;
  }

  .ch-ic-layout .ch-ic-more,
  .ch-ic-layout .ch-ic-forecasts .ch-ic-forecast-more {
    font-size: 16px;
  }
}

.ch-ic-forecasts .hide-left-part-scroller,
.ch-ic-forecasts .hide-right-part-scroller {
  display: none !important;
}

.ch-ic-layout .ch-ic-more a,
.ch-ic-layout a.ch-ic-forecast-more {
  font-family: var(--font2, monospace) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.035em !important;
  text-transform: uppercase !important;
}

.ch-ic-layout .ch-ic-news-controls button svg,
.ch-ic-layout .ch-ic-forecasts .slider-arrow svg {
  fill: none;
}

.ch-ic-layout .ch-ic-news-controls button svg path,
.ch-ic-layout .ch-ic-forecasts .slider-arrow svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  transition: none !important;
  animation: none !important;
}

/* Forecast banner button */

/* Remove the old underline treatment */

/* Hover and keyboard focus */


/* Keep the banner action from being squeezed */

/* Match the theme's larger-screen button sizing */

/* PERMANENT FOOTER INVITATION */
.footer .ch-join-footer {
  margin: 28px 0 20px;
  color: var(--ch-site-ink, #333333);
}

.footer .ch-join-footer h3 {
  margin: 0 0 12px;
  font-family: var(--font1, sans-serif);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ch-site-ink, #333333);
}

.footer .ch-join-footer p {
  margin: 0;
  max-width: 600px;
  font-family: var(--font1, sans-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ch-site-ink, #333333);
  opacity: 1;
}




/* NON-BLOCKING BOTTOM BANNER */
#ch-join-banner {
  --text-color: var(--ch-site-ink, #333333);
  --background-color: var(--ch-site-paper, #f4f4f2);

  position: fixed;
  z-index: 1000;
  inset: auto 0 0;
  border-top: 1px solid var(--ch-site-ink, #333333);
  background: var(--ch-site-paper, #f4f4f2);
  color: var(--ch-site-ink, #333333);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);

  visibility: hidden;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition:
    transform 350ms ease,
    opacity 350ms ease,
    visibility 350ms;
}

#ch-join-banner,
#ch-join-banner * {
  box-sizing: border-box;
}

#ch-join-banner.ch-join-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#ch-join-banner .ch-join-inner {
  display: flex;
  align-items: center;
  gap: 24px 36px;
  max-width: 1600px;
  margin: 0 auto;
  padding-right: 40px;
}

#ch-join-banner .ch-join-copy {
  flex: 1;
  min-width: 0;
}

#ch-join-banner h2 {
  margin: 0 0 6px;
  font-family: var(--font1, sans-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ch-site-ink, #333333);
}

#ch-join-banner p {
  margin: 0;
  max-width: 760px;
  font-family: var(--font1, sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ch-site-ink, #333333);
}

#ch-join-banner .ch-join-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  flex-shrink: 0;
}

#ch-join-banner a.button {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  font-family: var(--font2, monospace);
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 100px;
}

#ch-join-banner .ch-join-signin {
  font-family: var(--font1, sans-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ch-site-ink, #333333);
  text-decoration: underline;
  text-underline-offset: 4px;
}

#ch-join-banner .ch-join-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ch-site-ink, #333333);
  cursor: pointer;
}

#ch-join-banner .ch-join-close:hover {
  background: transparent;
  color: var(--ch-site-ink, #333333);
}

#ch-join-banner .ch-join-close svg {
  display: block;
  width: 18px;
  height: 18px;
}

#ch-join-banner a:focus-visible,
#ch-join-banner button:focus-visible {
  outline: 2px solid var(--ch-site-ink, #333333);
  outline-offset: 4px;
}

/* Space to keep the end of the page accessible */
#ch-join-spacer {
  height: 0;
  pointer-events: none;
}

@media (max-width: 1000px) {
  #ch-join-banner .ch-join-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 600px) {

  #ch-join-banner .ch-join-inner {
    padding-right: 0;
    gap: 14px;
  }

  #ch-join-banner .ch-join-copy {
    padding-right: 34px;
  }

  #ch-join-banner h2 {
    font-size: 22px;
  }

  #ch-join-banner p {
    font-size: 15px;
  }

  #ch-join-banner .ch-join-actions {
    gap: 12px 18px;
  }

  #ch-join-banner a.button {
    padding: 10px 18px;
    font-size: 14px;
  }

  #ch-join-banner .ch-join-signin {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ch-join-banner {
    transition: none;
  }
}
.footer .ch-join-footer-signin {
  margin: 12px 0 0;
  font-family: var(--font1, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ch-site-ink, #333333);
}

.footer .ch-join-footer-signin a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Keep both footer arrows as outlines, including on hover */
.footer .footer-submit-button .footer-arrow-icon svg,
.footer .footer-submit-button .footer-arrow-icon path,
.footer .to-top-button .footer-arrow-icon svg,
.footer .to-top-button .footer-arrow-icon path {
  fill: none !important;
}

.footer .footer-submit-button .footer-arrow-icon path,
.footer .to-top-button .footer-arrow-icon path {
  stroke-linecap: butt;
  stroke-linejoin: miter;
  transition: stroke 0.3s ease;
}

/* Keep the email arrow visible against its button */
.footer .footer-submit-button .footer-arrow-icon path {
  stroke: var(--ch-site-ink, #333333) !important;
}
  /* Email submit button: ink background and white arrow on hover */
.footer .footer-submit-button:hover,
.footer .footer-submit-button:focus-visible {
  background-color: var(--ch-site-ink, #333333) !important;
}

.footer .footer-submit-button:hover .footer-arrow-icon path,
.footer .footer-submit-button:focus-visible .footer-arrow-icon path {
  stroke: var(--ch-site-paper, #f4f4f2) !important;
  fill: none !important;
}

#ch-global-forecast {
  background: var(--ch-site-accent, #ed6d16);
}

#ch-global-forecast .ch-global-forecast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 14px 36px;
}

#ch-global-forecast p {
  margin: 0;
  font-family: var(--font1, sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

#ch-global-forecast strong {
  font-weight: 600;
}

#ch-global-forecast a {
  flex-shrink: 0;
  color: inherit;
  font-family: var(--font2, monospace);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

#ch-global-forecast a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

/* Replace the In Colour announcement with the global one */

@media (min-width: 1439px) {
  #ch-global-forecast .ch-global-forecast-inner {
    padding-inline: 2.5vw;
  }
}

@media (max-width: 991px) {
  #ch-global-forecast .ch-global-forecast-inner {
    padding-inline: 30px;
  }
}

@media (max-width: 600px) {
  #ch-global-forecast .ch-global-forecast-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 18px;
  }

  #ch-global-forecast p,
  #ch-global-forecast a {
    font-size: 14px;
  }
}

/* White copy and more space around the announcement */
#ch-global-forecast {
  --text-color: var(--ch-site-paper, #f4f4f2);
  --background-color: var(--ch-site-accent, #ed6d16);
  color: var(--ch-site-paper, #f4f4f2);
}

#ch-global-forecast .ch-global-forecast-inner {
  padding-block: 20px;
}

#ch-global-forecast p {
  color: var(--ch-site-paper, #f4f4f2);
}

/* Use the theme's rounded button styling */
#ch-global-forecast a.button {
  margin: 0;
  padding: 11px 30px;
  border: 1px solid var(--ch-site-paper, #f4f4f2);
  border-radius: 100px;
  background: transparent;
  color: var(--ch-site-paper, #f4f4f2);
  font-family: var(--font2, monospace);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#ch-global-forecast a.button:hover {
  background: var(--ch-site-paper, #f4f4f2);
  color: var(--ch-site-accent, #ed6d16);
}

@media (max-width: 600px) {
  #ch-global-forecast .ch-global-forecast-inner {
    gap: 14px;
    padding-block: 18px;
  }
}

#ch-join-banner {
  padding: 32px 48px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 600px) {
  #ch-join-banner {
    padding: 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}

/* Primary footer: brand on the left, signup on the right */
.footer .footer-outer .footer-inner {
  display: block;
}

.footer .footer-description.ch-footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 100px);
  width: 100%;
  max-width: none;
}

.footer .ch-footer-brand,
.footer .ch-footer-signup {
  min-width: 0;
  width: 100%;
}

/* Logo and tagline */
.footer .ch-footer-brand .footer-logo {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0;
}

.footer .ch-footer-brand .footer-logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.footer .ch-footer-brand .footer-paragraph-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 28px 0 0;
}

.footer .ch-footer-brand .footer-paragraph-wrapper p {
  margin: 0;
  color: var(--ch-site-ink, #333333);
}

/* Signup heading and explanation */
.footer .ch-footer-signup .ch-join-footer {
  margin: 0 0 24px;
  padding: 0;
}

.footer .ch-footer-signup .ch-join-footer h3 {
  margin: 0 0 16px;
}

.footer .ch-footer-signup #ch-footer-join-description {
  margin: 0;
}

/* Preserve the existing form and button styling */
.footer .ch-footer-signup .subscribe-form,
.footer .ch-footer-signup .subscribe-with-alerts,
.footer .ch-footer-signup .subscribe-wrapper {
  width: 100%;
  max-width: none;
}

.footer .ch-footer-signup .subscribe-form {
  margin: 0;
}

.footer .ch-footer-signup .subscribe-input {
  min-width: 0;
}

.footer .ch-footer-signup .footer-submit-button {
  flex-shrink: 0;
}

.footer .ch-footer-signup .ch-join-footer-signin {
  margin: 16px 0 0;
}

/* Stack on tablets and mobile */
@media (max-width: 991px) {
  .footer .footer-description.ch-footer-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.related-post-arrow svg.ch-post-navigation-arrow {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none !important;
}

.related-post-arrow svg.ch-post-navigation-arrow path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

/* Match the Contact page's line colour and width */
.ch-page-divider {
  box-sizing: border-box;
  width: 100%;
  pointer-events: none;
}

.ch-page-divider-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text-color-40);
}

/* Match Contact's spacing above its top line */
.ch-page-divider-top {
  padding-top: 48px;
}

/* Replace the existing title-top line on these two pages */
.ch-matching-page-dividers .post-hero-top-border {
  display: none !important;
}

@media (min-width: 1439px) {
  .ch-page-divider-top {
    padding-top: 3.3vw;
  }
}

@media (max-width: 479px) {
  .ch-page-divider-top {
    padding-top: 34px;
  }
}

/* Match Contact's left-to-right line animation */
@keyframes ch-divider-reveal {
  from { width: 0%; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .ch-page-divider-top .ch-page-divider-line {
    animation: ch-divider-reveal 1200ms
      cubic-bezier(0.215, 0.610, 0.355, 1.000) 200ms both;
  }
}

/* In Colour: breathing space after Browse by tags */
.ch-in-colour-page .ch-page-divider-bottom {
  padding-top: clamp(40px, 5vw, 72px);
}

/* Hide the divider on posts, except the forecast sales page */
body:has(.related-posts):not(:has(#ch-forecast-sales))
.ch-page-divider-bottom {
  display: none !important;
}

/* Contact form confirmation and errors */
.contact-form-container .ch-contact-status {
  margin: 24px 0 0;
  color: var(--ch-site-ink, #333333);
  font-family: var(--font1, sans-serif);
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.contact-form-container .ch-contact-status:empty {
  display: none;
}

.contact-form-container .ch-contact-status strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.25;
}

.contact-form-container .ch-contact-status span {
  color: var(--ch-site-copy, rgba(51,51,51,.8));
}

.contact-form-container .ch-contact-status:focus {
  outline: none;
}

#contactForm[hidden] {
  display: none !important;
}

#contactForm button:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Hide the count in the In Colour carousel only */
.ch-ic-layout .ch-ic-forecasts .section-header .section-number {
  display: none !important;
}

/* Clickable headings retain their existing typography */
.ch-ic-layout .ch-ic-heading-link {
  color: inherit !important;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
}

.ch-ic-layout .ch-ic-heading-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

article:has(.ch-services) .post-content > p {font-family:var(--font1,sans-serif);font-size:18px;font-weight:400;line-height:1.5;letter-spacing:normal;color:var(--ch-site-ink,#333333);opacity:1}
@media(max-width:600px){article:has(.ch-services) .post-content > p{font-size:16px}}
article.ch-services-page > header.hero{width:100%;max-width:none;padding-inline:36px}
.ch-services-page .ch-services-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:32px 64px;width:100%}
.ch-services-page .ch-services-intro h1{margin:0!important;font-family:var(--font1,sans-serif);font-size:calc(8.5vw * var(--scale,1))!important;font-weight:700!important;line-height:1!important;letter-spacing:-.035em!important;color:var(--ch-site-ink,#333333);text-align:left}
.ch-services-page .ch-services-intro p{width:100%;max-width:680px;margin:0!important;padding:0;font-family:var(--font1,sans-serif);font-size:18px!important;font-weight:400!important;line-height:1.5!important;letter-spacing:normal;color:var(--ch-site-ink,#333333);text-align:left}
@media(min-width:1439px){article.ch-services-page > header.hero{padding-inline:2.5vw}.ch-services-page .ch-services-intro p{font-size:calc(1.25vw * var(--scale,1))!important}}
@media(max-width:991px){article.ch-services-page > header.hero{padding-inline:30px}.ch-services-page .ch-services-intro{grid-template-columns:1fr;gap:24px}.ch-services-page .ch-services-intro h1{font-size:calc(10vw * var(--scale,1))!important;line-height:1.1!important}}
@media(max-width:479px){article.ch-services-page > header.hero{padding-inline:18px}.ch-services-page .ch-services-intro h1{font-size:calc(12.5vw * var(--scale,1))!important;line-height:1.2!important}}
body:has(article.ch-services-page) .ch-page-divider-top,article.ch-services-page .post-hero-top-border,article.ch-services-page .post-hero-bottom-border{display:none!important}
article.ch-services-page .ch-services-intro{padding-bottom:48px;border-bottom:1px solid var(--ch-site-divider,rgba(51,51,51,.4))}
@media(max-width:991px){article.ch-services-page .ch-services-intro{padding-bottom:40px}}
@media(max-width:479px){article.ch-services-page .ch-services-intro{padding-bottom:32px}}

/* Signup notice, including Portal's own paragraph markup. */
.footer .footer-outer .ch-signup-notice,.form-page .ch-signup-notice{margin:16px 0 0;color:var(--ch-site-copy,rgba(51,51,51,.8))!important;font-family:var(--font1,sans-serif);font-size:14px;font-weight:400;line-height:1.5;text-align:left}
.footer .footer-outer .ch-signup-notice p,.form-page .ch-signup-notice p{margin:0;font:inherit;color:inherit!important}
.footer .footer-outer .ch-signup-notice a,.form-page .ch-signup-notice a{color:var(--ch-site-ink,#333333)!important;text-decoration:underline;text-underline-offset:3px}
/* Default is pre-launch, including when settings have not loaded. */
html:not([data-ch-forecast-live="true"]) #ch-global-forecast,
html:not([data-ch-forecast-live="true"]) [data-ch-forecast-promo],
html:not([data-ch-forecast-live="true"]) .ch-round-bottom-forecast{display:none!important}
.ch-ic-layout .tags-pills > a[hidden]{display:none!important}

/* Contact confirmation replaces the introductory copy */
.contact-form-container[hidden] {
  display: none !important;
}

.form-page .ch-contact-confirmation {
  text-align: left;
}

.form-page .ch-contact-confirmation strong,
.form-page .ch-contact-confirmation span {
  display: block;
  font: inherit;
}

.form-page .ch-contact-confirmation strong {
  margin-bottom: 8px;
  color: var(--ch-site-ink, #333333);
  font-weight: 600;
}

.form-page .ch-contact-confirmation span {
  color: var(--ch-site-copy, rgba(51, 51, 51, 0.8));
}

.form-page .ch-contact-confirmation:focus {
  outline: none;
}
