/* Mobile reading layer. Desktop layout keeps the original design. */
.ctj-blog-toolbar,.ctj-mobile-contact,.ctj-section-jumps,.ctj-province-picker { display: none; }
.ctj-mobile-shortcuts:empty { display: none; }
.ctj-mobile-shortcuts { display: none; }
.ctj-guide-index { display: none; }
.ctj-article-toc { display: contents; }
.ctj-article-toc > summary { display: none; }
.ctj-mobile-ready .entry-hero .archive-page-indicator { color: #c5e4e9; }
.ctj-mobile-ready.single .entry-taxonomies a { color: #526775; }
@media (max-width: 767px) {
  .ctj-mobile-ready { --ctj-ink: #0f2a43; --ctj-teal: #5eabb6; --ctj-paper: #eff7f8; --ctj-muted: #526775; }
  .ctj-mobile-ready #mobile-header .site-main-header-inner-wrap { min-height: 76px !important; }
  .ctj-mobile-ready #mobile-header .site-title { font-size: 22px !important; line-height: 1.2 !important; }
  .ctj-mobile-ready #mobile-header .site-container { padding-inline: 20px; }
  .ctj-mobile-ready #mobile-toggle { min-width: 44px; min-height: 44px; padding: 10px; }
  .ctj-mobile-ready .menu-toggle-close { min-width: 44px; min-height: 44px; }
  .ctj-mobile-ready #inner-wrap p,
  .ctj-mobile-ready #inner-wrap .entry-content li { font-size: 17.5px !important; line-height: 1.7 !important; }
  .ctj-mobile-ready #inner-wrap p span { font-size: inherit; line-height: inherit; }
  .ctj-mobile-ready #inner-wrap h1 { font-size: 28px !important; line-height: 1.25 !important; letter-spacing: -.025em; text-transform: none !important; }
  .ctj-mobile-ready #inner-wrap h2 { font-size: 24px !important; line-height: 1.3 !important; text-transform: none !important; letter-spacing: -.02em; }
  .ctj-mobile-ready #inner-wrap h3 { font-size: 20px !important; line-height: 1.4 !important; text-transform: none !important; }
  .ctj-mobile-ready .entry-content h2[id],.ctj-mobile-ready [id^="ctj-ui-"] { scroll-margin-top: 20px; }
  .ctj-mobile-ready.single .entry-taxonomies a { font-size: 13px !important; letter-spacing: .01em; }
  .ctj-mobile-ready.single .entry-content-wrap { padding: 24px; }
  .ctj-mobile-ready .entry-hero .entry-hero-container-inner { min-height: 0 !important; }
  .ctj-mobile-ready .entry-hero .hero-container { padding: 24px 20px !important; min-height: 0 !important; text-align: left; }
  .ctj-mobile-ready .entry-hero .entry-header { padding: 0 !important; min-height: 0 !important; display: block; text-align: left; }
  .ctj-mobile-ready .entry-hero .kadence-breadcrumbs { font-size: 12px; line-height: 1.5; margin: 0 0 9px; text-align: left; }
  .ctj-mobile-ready .entry-hero .kadence-breadcrumbs,.ctj-mobile-ready .entry-hero .kadence-breadcrumbs a { color: #c5e4e9; }
  .ctj-mobile-ready.ctj-archive #inner-wrap .entry-hero h1 { font-size: 34px !important; line-height: 1.15 !important; text-align: left; margin: 0; }
  .ctj-mobile-ready #inner-wrap .archive-page-indicator { font-size: 14px !important; line-height: 1.5 !important; text-align: left; margin: 8px 0 0; color: #c5e4e9; }
  .ctj-mobile-ready.ctj-archive #inner-wrap { background: var(--ctj-paper); }
  .ctj-mobile-ready.ctj-archive #primary { margin-block: 20px 32px; }
  .ctj-mobile-ready.ctj-archive .content-container.site-container { padding-inline: 20px; }
  .ctj-mobile-ready.ctj-archive .archive-category-navigation { display: none; }
  .ctj-blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; margin-bottom: 20px; z-index: 5; }
  .ctj-blog-toolbar,.ctj-blog-toolbar *,.ctj-mobile-contact,.ctj-mobile-contact *,.ctj-article-toc,.ctj-article-toc *,.ctj-province-picker,.ctj-section-jumps,.ctj-section-jumps a { box-sizing: border-box; }
  .ctj-all-stories { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 14px; border-radius: 30px; background: #d9edf0; color: #154c5b; text-decoration: none; font-size: 14px; font-weight: 700; }
  .ctj-story-count { display: inline-grid; place-items: center; min-width: 23px; min-height: 23px; border-radius: 20px; background: #fff; font-size: 12px; }
  .ctj-topic-picker { position: relative; }
  .ctj-topic-picker > summary { min-height: 44px; padding: 9px 14px; border: 1px solid #c5dadd; border-radius: 30px; background: white; color: var(--ctj-ink); cursor: pointer; font-size: 14px; line-height: 24px; font-weight: 600; list-style-position: inside; }
  .ctj-topic-picker > nav { position: absolute; z-index: 15; top: calc(100% + 10px); right: 0; display: flex; flex-wrap: wrap; gap: 8px; width: min(340px, calc(100vw - 40px)); max-height: 60vh; overflow-y: auto; background: white; padding: 14px; border: 1px solid #c5dadd; border-radius: 14px; box-shadow: 0 12px 32px rgba(15,42,67,.14); }
  .ctj-topic-picker nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px solid #dce8ea; border-radius: 8px; text-decoration: none; color: #244d5d; font-size: 14px; line-height: 1.5; }
  .ctj-mobile-ready #archive-container { gap: 24px; margin: 0; }
  .ctj-mobile-ready #archive-container .entry { overflow: hidden; border-radius: 14px; border: 1px solid #dce8eb; box-shadow: 0 3px 12px rgba(15,42,67,.035); }
  .ctj-mobile-ready #archive-container .entry-content-wrap { padding: 18px 20px; }
  .ctj-mobile-ready #archive-container .entry-taxonomies { margin: 0 0 10px; }
  .ctj-mobile-ready #archive-container .category-label { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; background: #e7f3f4; color: #245a67; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-decoration: none; }
  .ctj-mobile-ready #archive-container .entry-title { font-size: 22px !important; line-height: 1.3 !important; letter-spacing: -.025em; text-transform: none !important; margin: 0; }
  .ctj-mobile-ready #archive-container .entry-title a { color: var(--ctj-ink); text-decoration: none; }
  .ctj-mobile-ready #archive-container .entry-summary { margin-top: 12px; font-size: 16px; line-height: 1.65; max-height: 4.95em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .ctj-mobile-ready #archive-container .entry-summary p { font-size: 16px !important; line-height: 1.65 !important; margin: 0; color: var(--ctj-muted); }
  .ctj-mobile-ready #archive-container .entry-footer { margin-top: 16px; border-top: 1px solid #e4edef; padding-top: 10px; }
  .ctj-mobile-ready #archive-container .entry-footer p { margin: 0; }
  .ctj-mobile-ready #archive-container .post-more-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.4; text-transform: none; color: #185c6a; }
  .ctj-mobile-ready .pagination { margin-top: 28px; }
  .ctj-mobile-ready .pagination a,.ctj-mobile-ready .pagination .current { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
  .ctj-mobile-ready .pagination .mobile-page-status { font-size: 14px; }
  .ctj-article-toc { display: block; margin: 24px 0; border: 1px solid #bcd4da; border-radius: 10px; background: #f1f8f9; overflow: hidden; }
  .ctj-article-toc > summary { display: list-item; padding: 14px 16px; min-height: 52px; color: #153c4b; font-size: 16px; font-weight: 700; cursor: pointer; }
  .ctj-article-toc .kb-table-of-content-wrap { padding: 4px 16px 16px !important; background: transparent !important; border: 0 !important; }
  .ctj-article-toc .kb-table-of-contents-title-wrap { display: none; }
  .ctj-mobile-ready .ctj-article-toc li { font-size: 16px !important; line-height: 1.6 !important; }
  .ctj-article-toc a { display: inline-block; padding-block: 4px; }
  .ctj-mobile-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
  .ctj-mobile-contact a { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; min-height: 68px; padding: 12px 8px; text-align: center; border-radius: 9px; background: #fff; color: #123e50; text-decoration: none; }
  .ctj-mobile-contact a:last-child { background: #d5eef0; }
  .ctj-mobile-contact span { font-size: 16px; font-weight: 700; }
  .ctj-mobile-contact small { font-size: 12px; overflow-wrap: anywhere; }
  .ctj-contact-hero > .kt-row-column-wrap { min-height: 0 !important; padding-block: 32px !important; }
  .ctj-contact-hero h2 { margin-top: 0; }
  .ctj-topic-hero > .kt-row-column-wrap { min-height: 0 !important; padding: 32px 20px !important; row-gap: 20px !important; }
  .ctj-mobile-ready .ctj-topic-hero h1 { margin-top: 0; }
  .ctj-mobile-ready .ctj-topic-hero h1,.ctj-mobile-ready .ctj-topic-hero p { text-align: left !important; }
  .ctj-home-hero .kt-inside-inner-col > .kt-adv-heading { margin-top: 0; }
  .ctj-home-about > .kt-row-column-wrap { padding-block: 32px !important; }
  .ctj-mobile-ready.home .ctj-home-about p { text-align: left !important; }
  .ctj-section-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .ctj-section-jumps a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px; background: #fff; color: #174e60; border: 1px solid #adcbd0; border-radius: 7px; font-size: 14px; font-weight: 600; text-decoration: none; }
  .ctj-mobile-shortcuts .ctj-section-jumps { margin-bottom: 20px; }
  .ctj-mobile-shortcuts { display: block; }
  .ctj-guide-index { display: block; margin-top: 16px; border: 1px solid #adcbd0; border-radius: 8px; background: #fff; color: #123e50; text-align: left; }
  .ctj-guide-index,.ctj-guide-index * { box-sizing: border-box; }
  .ctj-guide-index > summary { padding: 12px 14px; min-height: 48px; font-size: 15px; line-height: 1.5; font-weight: 700; cursor: pointer; }
  .ctj-guide-index nav { max-height: 52vh; overflow-y: auto; padding: 0 14px 12px; }
  .ctj-guide-index ol { margin: 0; padding-left: 26px; }
  .ctj-mobile-ready #inner-wrap .ctj-guide-index li { font-size: 14px !important; line-height: 1.5 !important; color: #526775; }
  .ctj-guide-index a { display: block; padding: 11px 4px; min-height: 44px; color: #174e60; text-decoration: underline; text-underline-offset: 3px; }
  .ctj-province-picker { display: block; margin-block: 20px; color: #123e50; background: #fff; border-radius: 8px; }
  .ctj-province-picker summary { cursor: pointer; min-height: 48px; padding: 12px; font-size: 15px; font-weight: 700; }
  .ctj-province-picker nav { display: grid; grid-template-columns: 1fr 1fr; padding: 0 12px 12px; max-height: 48vh; overflow: auto; gap: 4px 8px; }
  .ctj-province-picker a { min-height: 44px; padding: 9px 4px; color: #174e60; text-decoration: underline; font-size: 14px; }
  .ctj-mobile-ready.page-id-1009 .ctj-section { padding: 28px 16px !important; }
  .ctj-mobile-ready .ctj-faq details { padding: 14px 16px; }
  .ctj-mobile-ready .service-panel { padding: 22px 18px; }
  .ctj-mobile-ready .search-input-row { flex-wrap: nowrap; gap: 8px; }
  .ctj-mobile-ready .search-input-row input { flex: 1 1 0; width: 0; padding: 11px; }
  .ctj-mobile-ready .search-input-row button { flex: 0 0 auto; padding: 11px 14px; font-size: 14px; min-height: 48px; }
  .ctj-mobile-ready #search-status { font-size: 15px !important; line-height: 1.6 !important; }
  .ctj-mobile-ready .search-result h2 { font-size: 20px !important; }
  .ctj-mobile-ready .site-middle-footer-inner-wrap { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 28px 16px !important; padding: 32px 20px !important; text-align: left !important; }
  .ctj-mobile-ready .site-middle-footer-inner-wrap > :first-child,.ctj-mobile-ready .site-middle-footer-inner-wrap > :last-child { grid-column: 1 / -1; }
  .ctj-mobile-ready #colophon .widget { margin: 0; }
  .ctj-mobile-ready #colophon h2,.ctj-mobile-ready #colophon h5 { font-size: 15px; line-height: 1.5; text-align: left; margin-top: 0; }
  .ctj-mobile-ready #colophon p { font-size: 16px; line-height: 1.65; text-align: left; }
  .ctj-mobile-ready #colophon .menu a { min-height: 44px; padding: 10px 0; font-size: 15px; line-height: 1.6; text-align: left; }
  .ctj-mobile-ready #colophon .widget_nav_menu { text-align: left; }
  .ctj-mobile-ready .site-bottom-footer-inner-wrap { padding: 20px !important; min-height: 0; }
  .ctj-mobile-ready #colophon .site-subscription-link { margin: 0; padding: 0 20px 24px; text-align: center; font-size: 14px; }
  .ctj-mobile-ready .entry-related .splide__arrow { min-width: 44px; min-height: 44px; }
  .ctj-mobile-ready :is(a,button,summary,input):focus-visible { outline: 3px solid #287f90; outline-offset: 3px; }
  .ctj-mobile-ready #mobile-drawer :focus-visible { outline-color: #bde3e8; }
}
@media (max-width: 359px) {
  .ctj-mobile-ready #mobile-header .site-title { font-size: 20px !important; }
  .ctj-mobile-contact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ctj-mobile-ready { scroll-behavior: auto; }
}
