/*
 * Theme Name:  Platform Child
 * Theme URI:   https://platform.codesupply.co/
 * Description: Platform Child Theme
 * Author:      Code Supply Co.
 * Author URI:  https://codesupply.co/
 * Template:    platform
 * Version:     1.0.10
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

/* Portal-aligned light UI overrides for the Platform child theme. */

:root,
body.wp-theme-platform.wp-theme-platform,
body.wp-theme-platform.wp-theme-platform[data-scheme='dark'],
body.wp-theme-platform.wp-theme-platform[data-scheme='light'],
[data-scheme='light'],
[data-scheme='dark'] {
  --tr-bg: #f4f7fb;
  --tr-bg-elevated: #ffffff;
  --tr-surface: #f7f9fc;
  --tr-surface-strong: #eef3f9;
  --tr-surface-card: #ffffff;
  --tr-border: #dfe7f1;
  --tr-border-strong: #cfd9e6;
  --tr-text: #29384c;
  --tr-text-soft: #4f6178;
  --tr-text-faint: #77879b;
  --tr-heading: #0f172a;
  --tr-accent: #2563eb;
  --tr-accent-deep: #1d4ed8;
  --tr-accent-soft: rgba(37, 99, 235, 0.08);
  --tr-success: #059669;
  --tr-success-soft: rgba(5, 150, 105, 0.1);
  --tr-warm: #d97706;
  --tr-warm-soft: rgba(217, 119, 6, 0.1);
  --tr-shadow-sm: 0 16px 34px rgba(15, 23, 42, 0.07);
  --tr-shadow-md: 0 24px 60px rgba(15, 23, 42, 0.12);
  --tr-radius-sm: 12px;
  --tr-radius-md: 20px;
  --tr-radius-lg: 28px;
  --tr-radius-pill: 999px;

  --cs-light-primary-color: #29384c;
  --cs-dark-primary-color: #29384c;
  --cs-light-primary-color-rgb: 41, 56, 76;
  --cs-dark-primary-color-rgb: 41, 56, 76;
  --cs-light-secondary-color: #4f6178;
  --cs-dark-secondary-color: #4f6178;
  --cs-light-accent-color: #2563eb;
  --cs-dark-accent-color: #2563eb;
  --cs-light-accent-color-rgb: 37, 99, 235;
  --cs-dark-accent-color-rgb: 37, 99, 235;
  --cs-light-accent-secondary-color: #d97706;
  --cs-dark-accent-secondary-color: #d97706;
  --cs-light-site-background: #f4f7fb;
  --cs-dark-site-background: #f4f7fb;
  --cs-light-layout-background: #ffffff;
  --cs-dark-layout-background: #ffffff;
  --cs-light-offcanvas-background: #ffffff;
  --cs-dark-offcanvas-background: #ffffff;
  --cs-light-header-background: #ffffff;
  --cs-dark-header-background: #ffffff;
  --cs-light-header-submenu-background: #ffffff;
  --cs-dark-header-submenu-background: #ffffff;
  --cs-light-footer-background: #ffffff;
  --cs-dark-footer-background: #ffffff;
  --cs-light-tag-color: rgba(37, 99, 235, 0.06);
  --cs-dark-tag-color: rgba(37, 99, 235, 0.06);
  --cs-light-border-color: #dfe7f1;
  --cs-dark-border-color: #dfe7f1;
  --cs-light-overlay-background: #f4f7fb;
  --cs-dark-overlay-background: #f4f7fb;
  --cs-light-overlay-background-rgb: 244, 247, 251;
  --cs-dark-overlay-background-rgb: 244, 247, 251;
  --cs-light-input-color: #29384c;
  --cs-dark-input-color: #29384c;
  --cs-light-button-background: #2563eb;
  --cs-dark-button-background: #2563eb;
  --cs-light-button-color: #ffffff;
  --cs-dark-button-color: #ffffff;
  --cs-light-button-hover-background: #1d4ed8;
  --cs-dark-button-hover-background: #1d4ed8;
  --cs-light-button-hover-color: #ffffff;
  --cs-dark-button-hover-color: #ffffff;
  --cs-layout-elements-border-radius: 20px;
  --cs-thumbnail-border-radius: 16px;
  --cs-post-hover-border-radius: 20px;
  --cs-tag-border-radius: 999px;
  --cs-input-border-radius: 12px;
  --cs-button-border-radius: 999px;
  --cs-avatar-border-radius: 20px;
  --cs-entry-content-width: 860px;
  --cs-entry-content-large-width: 1040px;
  --cs-mobile-container: 720px;
  --cs-tablet-container: 1260px;
  --cs-desktop-container: 1260px;

  --cs-font-base-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cs-font-base-weight: 400;
  --cs-font-base-size: 1rem;
  --cs-font-base-line-height: 1.7;
  --cs-font-base-letter-spacing: 0;
  --cs-font-primary-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cs-font-primary-weight: 700;
  --cs-font-primary-letter-spacing: -0.04em;
  --cs-font-secondary-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cs-font-headings-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cs-font-headings-weight: 700;
  --cs-font-headings-line-height: 1.08;
  --cs-font-headings-letter-spacing: -0.04em;
  --cs-font-entry-title-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cs-font-entry-title-weight: 700;
  --cs-font-entry-title-line-height: 1.08;
  --cs-font-entry-title-letter-spacing: -0.04em;
  --cs-font-post-title-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cs-font-post-title-weight: 700;
  --cs-font-post-title-line-height: 1.08;
  --cs-font-post-title-letter-spacing: -0.04em;
  --cs-font-section-headings-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --cs-font-section-headings-weight: 600;
  --cs-font-section-headings-size: 0.75rem;
  --cs-font-section-headings-letter-spacing: 0.14em;
  --cs-font-section-headings-text-transform: uppercase;
  --cs-font-menu-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cs-font-menu-weight: 500;
  --cs-font-category-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --cs-font-category-size: 0.72rem;
  --cs-font-category-weight: 600;
  --cs-font-category-letter-spacing: 0.03em;
}

html body.wp-theme-platform.wp-theme-platform {
  color-scheme: light !important;
  background: linear-gradient(180deg, #fafcff 0%, #f4f7fb 18%, #edf2f8 100%) !important;
  color: var(--tr-text) !important;
  font-family: var(--cs-font-base-family) !important;
  line-height: 1.7 !important;
  overflow-x: hidden !important;
}

html body.wp-theme-platform.wp-theme-platform::before,
html body.wp-theme-platform.wp-theme-platform::after,
html body.wp-theme-platform.wp-theme-platform .cs-header-before,
html body.wp-theme-platform.wp-theme-platform .cs-header-overlay,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-desktop::before,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-desktop::after,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile::before,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile::after {
  content: none !important;
  display: none !important;
}

html body.wp-theme-platform.wp-theme-platform a {
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(37, 99, 235, 0.3);
}

html body.wp-theme-platform.wp-theme-platform a:hover {
  color: var(--tr-accent) !important;
  text-decoration-color: var(--tr-accent) !important;
}

html body.wp-theme-platform.wp-theme-platform h1,
html body.wp-theme-platform.wp-theme-platform h2,
html body.wp-theme-platform.wp-theme-platform h3,
html body.wp-theme-platform.wp-theme-platform h4,
html body.wp-theme-platform.wp-theme-platform h5,
html body.wp-theme-platform.wp-theme-platform h6,
html body.wp-theme-platform.wp-theme-platform .cs-page__title,
html body.wp-theme-platform.wp-theme-platform .cs-entry__title,
html body.wp-theme-platform.wp-theme-platform .widget-title,
html body.wp-theme-platform.wp-theme-platform .cs-widget__heading,
html body.wp-theme-platform.wp-theme-platform .wp-block-heading {
  color: var(--tr-heading) !important;
  font-family: var(--cs-font-headings-family) !important;
  letter-spacing: -0.04em !important;
}

html body.wp-theme-platform.wp-theme-platform p,
html body.wp-theme-platform.wp-theme-platform li,
html body.wp-theme-platform.wp-theme-platform .cs-entry__excerpt,
html body.wp-theme-platform.wp-theme-platform .cs-page__archive-description,
html body.wp-theme-platform.wp-theme-platform .cs-page__description,
html body.wp-theme-platform.wp-theme-platform .cs-page__subtitle,
html body.wp-theme-platform.wp-theme-platform .cs-entry__subtitle,
html body.wp-theme-platform.wp-theme-platform .cs-entry__post-meta,
html body.wp-theme-platform.wp-theme-platform .cs-footer__copyright,
html body.wp-theme-platform.wp-theme-platform .cs-breadcrumbs {
  color: var(--tr-text-soft) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-breadcrumbs {
  display: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-container {
  width: min(1260px, calc(100% - 2.5rem));
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-site-content {
  margin-top: 1.5rem !important;
  margin-bottom: 3rem !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-main-content {
  align-items: start;
  column-gap: 24px !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-content-area,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__area {
  min-width: 0;
}

html body.wp-theme-platform.wp-theme-platform .cs-header,
html body.wp-theme-platform.wp-theme-platform.cs-navbar-smart-enabled .cs-header,
html body.wp-theme-platform.wp-theme-platform.cs-navbar-sticky-enabled .cs-header,
html body.wp-theme-platform.wp-theme-platform.cs-navbar-smart-enabled.admin-bar .cs-header,
html body.wp-theme-platform.wp-theme-platform.cs-navbar-sticky-enabled.admin-bar .cs-header {
  position: relative !important;
  top: auto !important;
  transform: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__outer {
  border-bottom: 1px solid var(--tr-border) !important;
  background: #ffffff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__inner-desktop,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile {
  margin: 0 !important;
  padding: 0.85rem 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__inner-desktop {
  min-height: 78px;
  gap: 1rem;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__col {
  min-width: 0;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__col.cs-col-left {
  flex: 0 0 auto;
  padding-right: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__col.cs-col-center {
  flex: 1 1 auto;
  justify-content: flex-end;
  max-width: none !important;
  padding: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__col.cs-col-right {
  flex: 0 0 auto;
  justify-content: flex-end;
  padding-left: 0 !important;
  margin-left: 0.25rem;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__scheme-toggle,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__footer .cs-header__scheme-toggle {
  display: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header .cs-logo,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-logo,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__header .cs-logo {
  flex: 0 0 123px !important;
  width: 123px !important;
  min-width: 123px !important;
  margin: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header .cs-logo > .cs-header__logo,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-logo > .cs-header__logo,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__header .cs-logo > .cs-header__logo {
  width: 123px !important;
  max-width: 123px !important;
  min-width: 123px !important;
  height: auto !important;
  text-decoration: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header .cs-logo > .cs-header__logo.cs-logo-default,
html body.wp-theme-platform.wp-theme-platform .cs-header .cs-logo > .cs-header__logo.cs-logo-once,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-logo > .cs-header__logo.cs-logo-default,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-logo > .cs-header__logo.cs-logo-once,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__header .cs-logo > .cs-header__logo.cs-logo-default,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__header .cs-logo > .cs-header__logo.cs-logo-once {
  display: block !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header .cs-logo > .cs-header__logo.cs-logo-dark,
html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-logo > .cs-header__logo.cs-logo-dark,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__header .cs-logo > .cs-header__logo.cs-logo-dark {
  display: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__logo img,
html body.wp-theme-platform.wp-theme-platform .cs-header__logo-mobile img {
  display: block !important;
  width: 123px !important;
  max-width: 100% !important;
  height: auto !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__logo-mobile {
  width: 123px !important;
  max-width: 123px !important;
  min-width: 123px !important;
  height: auto !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-logo > .cs-header__logo,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__header .cs-logo > .cs-header__logo {
  height: auto !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav {
  margin-left: auto !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner {
  justify-content: flex-end;
  gap: 0.4rem;
  width: 100%;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner > li {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner > li.menu-item-has-children:not(.cs-featured-menu, .cs-categories-menu)::before,
html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner > li.menu-item-has-children:not(.cs-featured-menu, .cs-categories-menu)::after,
html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner > li > a > .expanded {
  display: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header .cs-header__inner .cs-header__nav-inner > li > a {
  min-height: 42px;
  height: auto !important;
  padding: 0.6rem 0.9rem !important;
  border-radius: 999px !important;
  color: var(--tr-text-soft) !important;
  font-family: var(--cs-font-menu-family) !important;
  font-size: 0.94rem !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner > li > a > span {
  border-radius: 999px !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner > li > a > span span {
  padding-bottom: 0 !important;
  background: none !important;
  color: currentColor !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner li:hover > a,
html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner a:focus-visible {
  color: var(--tr-heading) !important;
  background: var(--tr-surface-strong) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner li.current-menu-item > a,
html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner li.current-menu-ancestor > a {
  color: var(--tr-accent) !important;
  background: var(--tr-accent-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner a[href*='/contact/'] {
  border: 1px solid rgba(37, 99, 235, 0.16) !important;
  background: rgba(37, 99, 235, 0.07) !important;
  color: var(--tr-accent) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner a[href*='/contact/']:hover,
html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner li.current-menu-item a[href*='/contact/'],
html body.wp-theme-platform.wp-theme-platform .cs-header__nav-inner li.current-menu-ancestor a[href*='/contact/'] {
  border-color: transparent !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__toggles {
  gap: 0.65rem;
  margin-right: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__toggle,
html body.wp-theme-platform.wp-theme-platform .cs-header__offcanvas-toggle,
html body.wp-theme-platform.wp-theme-platform .cs-header__burger-toggle,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__close-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--tr-radius-pill);
  border: 1px solid var(--tr-border) !important;
  background: #ffffff !important;
  color: var(--tr-text-soft) !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__toggle:hover,
html body.wp-theme-platform.wp-theme-platform .cs-header__offcanvas-toggle:hover,
html body.wp-theme-platform.wp-theme-platform .cs-header__burger-toggle:hover,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__close-toggle:hover {
  background: var(--tr-surface-strong) !important;
  border-color: rgba(37, 99, 235, 0.24) !important;
  color: var(--tr-heading) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header__toggle-label {
  display: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header .cs-col-search {
  position: relative;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__form {
  position: relative;
  margin: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__form-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 3px 3px 3px 2.75rem;
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__form-group:has(.cs-search__input:focus) {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__form-group .cs-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--tr-text-faint) !important;
  pointer-events: none;
}

html body.wp-theme-platform.wp-theme-platform input.cs-search__input[type='search'],
html body.wp-theme-platform.wp-theme-platform .cs-search__input {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.78rem 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--tr-text) !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__input::placeholder {
  color: var(--tr-text-faint) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__form-group .cs-search__submit {
  min-height: 40px;
  padding: 0.72rem 1.1rem !important;
  margin-left: auto;
  flex: 0 0 auto;
  border: 0 !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__form-group .cs-search__submit:hover,
html body.wp-theme-platform.wp-theme-platform .cs-search__form-group .cs-search__submit:focus-visible {
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_search,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .wp-block-search {
  padding: 1.35rem 1.4rem !important;
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: var(--tr-radius-md) !important;
  box-shadow: var(--tr-shadow-sm) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_search .cs-search__form,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .wp-block-search .cs-search__form {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .search .cs-search__form,
html body.wp-theme-platform.wp-theme-platform .error404 .cs-search__form,
html body.wp-theme-platform.wp-theme-platform .cs-header-mobile-search__inner .cs-search__form,
html body.wp-theme-platform.wp-theme-platform .cs-header-search__inner .cs-search__form {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-header-search,
html body.wp-theme-platform.wp-theme-platform .cs-header-mobile-search {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html body.wp-theme-platform.wp-theme-platform .cs-header-search__inner,
html body.wp-theme-platform.wp-theme-platform .cs-header-mobile-search__inner,
html body.wp-theme-platform.wp-theme-platform .cs-search__inner,
html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__inner {
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: var(--tr-radius-md) !important;
  box-shadow: var(--tr-shadow-md) !important;
  backdrop-filter: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search-posts__header {
  color: var(--tr-accent) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html body.wp-theme-platform.wp-theme-platform .cs-posts-area__grid,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__author.cs-posts-area__grid,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__search.cs-posts-area__grid {
  --cs-posts-area-grid-column-gap: 24px;
  --cs-posts-area-grid-row-gap: 24px;
}

html body.wp-theme-platform.wp-theme-platform .cs-posts-area__list,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__author.cs-posts-area__list,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__search.cs-posts-area__list {
  --cs-posts-area-grid-row-gap: 24px;
}

html body.wp-theme-platform.wp-theme-platform .cs-posts-area__grid article,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__list article {
  height: 100%;
}

html body.wp-theme-platform.wp-theme-platform .cs-posts-area__grid .cs-entry__outer,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__list .cs-entry__outer,
html body.wp-theme-platform.wp-theme-platform .cs-search-posts__items .cs-entry__outer,
html body.wp-theme-platform.wp-theme-platform .cs-burger-menu__posts .cs-entry__outer,
html body.wp-theme-platform.wp-theme-platform .cs-entry-prev-next .cs-entry__outer,
html body.wp-theme-platform.wp-theme-platform .cs-read-next .cs-entry__outer {
  height: 100%;
  padding: 16px;
  overflow: hidden;
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: var(--tr-radius-md) !important;
  box-shadow: var(--tr-shadow-sm) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__outer:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.24) !important;
  box-shadow: var(--tr-shadow-md) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .cs-widget-post-list__grid {
  gap: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .cs-widget-post-list__grid article {
  height: auto !important;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(223, 231, 241, 0.82);
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .cs-widget-post-list__grid article + article {
  padding-top: 1rem;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .cs-widget-post-list__grid article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .cs-widget-post-list__grid .cs-entry__outer {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .cs-widget-post-list__grid .cs-entry__outer:hover {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-posts-area__grid .cs-entry__thumbnail,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__list .cs-entry__thumbnail,
html body.wp-theme-platform.wp-theme-platform .cs-search-posts__items .cs-entry__thumbnail {
  margin: 0 0 1rem !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-posts-area__grid .cs-overlay-background,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__list .cs-overlay-background,
html body.wp-theme-platform.wp-theme-platform .cs-search-posts__items .cs-overlay-background {
  border-radius: 16px !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-posts-area__grid .cs-entry__content,
html body.wp-theme-platform.wp-theme-platform .cs-posts-area__list .cs-entry__content,
html body.wp-theme-platform.wp-theme-platform .cs-search-posts__items .cs-entry__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 !important;
}

/* Card titles on listing/archive pages — excludes single post headers */
html body.wp-theme-platform.wp-theme-platform:not(.single) .cs-entry__title {
  margin: 0 !important;
  font-size: clamp(1.22rem, 1vw + 0.95rem, 1.5rem) !important;
  line-height: 1.18 !important;
}

/* Keep margin reset for single post title but do NOT set font-size here */
html body.wp-theme-platform.wp-theme-platform.single .cs-entry__title {
  margin: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search-posts__items .cs-entry__title {
  font-size: 1rem !important;
  line-height: 1.28 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__excerpt {
  margin-top: 0.75rem;
  color: var(--tr-text) !important;
  line-height: 1.75 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  align-items: center;
  margin-top: 0.9rem;
  color: var(--tr-text-faint) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__post-meta > * {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__post-meta .post-categories a,
html body.wp-theme-platform.wp-theme-platform .cs-page__tags ul a,
html body.wp-theme-platform.wp-theme-platform .tagcloud a,
html body.wp-theme-platform.wp-theme-platform .wp-block-tag-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: var(--tr-radius-pill);
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  background: rgba(37, 99, 235, 0.06) !important;
  color: var(--tr-accent) !important;
  text-decoration: none !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry-prev-next .cs-entry__outer:has(.cs-entry__thumbnail) {
  column-gap: 1rem !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry-prev-next .cs-entry__thumbnail,
html body.wp-theme-platform.wp-theme-platform .cs-read-next .cs-entry__thumbnail {
  margin-right: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry-prev-next .cs-entry__content,
html body.wp-theme-platform.wp-theme-platform .cs-read-next .cs-entry__content {
  padding-left: 0 !important;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  html body.wp-theme-platform.wp-theme-platform .cs-read-next .cs-entry__outer:has(.cs-entry__thumbnail) {
    column-gap: 1rem !important;
  }
}

html body.wp-theme-platform.wp-theme-platform .cs-page__header,
html body.wp-theme-platform.wp-theme-platform .cs-entry__header-standard,
html body.wp-theme-platform.wp-theme-platform .cs-entry__header-title-only {
  position: relative;
  overflow: visible;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__header.cs-entry__header-standard {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__header.cs-entry__header-standard .cs-entry__media {
  order: 2 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__header.cs-entry__header-standard .cs-entry__header-content {
  order: 1 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-page__header:not(:last-child),
html body.wp-theme-platform.wp-theme-platform .cs-entry__header-standard:not(:last-child) {
  margin-bottom: 1.25rem !important;
  padding-bottom: 1.5rem !important;
  border-bottom: 1px solid rgba(223, 231, 241, 0.82) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-page__title,
html body.wp-theme-platform.wp-theme-platform .single .cs-entry__header .cs-entry__title {
  max-width: 15ch;
  margin-bottom: 1rem !important;
  font-size: var(--cs-font-post-title-size) !important;
  line-height: var(--cs-font-post-title-line-height) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-page__archive-description,
html body.wp-theme-platform.wp-theme-platform .cs-page__description,
html body.wp-theme-platform.wp-theme-platform .single .cs-entry__header .cs-entry__subtitle {
  max-width: 70ch;
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--tr-text) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__header-standard .cs-entry__thumbnail,
html body.wp-theme-platform.wp-theme-platform .cs-entry__header .cs-entry__media img,
html body.wp-theme-platform.wp-theme-platform .entry-content img,
html body.wp-theme-platform.wp-theme-platform .entry-content .wp-block-image img {
  border-radius: 20px !important;
  overflow: hidden !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__header-infobar {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__author {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  width: fit-content;
  padding: 0.95rem 1rem;
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--tr-shadow-sm) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__author-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
  color: var(--tr-text-faint) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__content-wrap {
  margin-top: 1.25rem !important;
  padding: clamp(1.35rem, 2vw, 1.6rem) !important;
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: var(--tr-radius-md) !important;
  box-shadow: var(--tr-shadow-sm) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-entry__content-wrap .entry-content {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

html body.wp-theme-platform.wp-theme-platform .entry-content,
html body.wp-theme-platform.wp-theme-platform .entry-content p,
html body.wp-theme-platform.wp-theme-platform .entry-content li {
  color: var(--tr-text) !important;
  font-size: var(--cs-font-primary-size, 1rem);
  line-height: var(--cs-font-primary-line-height, 1.7);
}

@media (max-width: 767.98px) {
  html body.wp-theme-platform.wp-theme-platform .entry-content h1 {
    font-size: var(--cs-heading-2-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h2 {
    font-size: var(--cs-heading-3-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h3 {
    font-size: var(--cs-heading-4-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h4 {
    font-size: var(--cs-heading-5-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h5 {
    font-size: var(--cs-heading-6-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h6 {
    font-size: 0.875em !important;
  }
}

@media (min-width: 768px) {
  html body.wp-theme-platform.wp-theme-platform .entry-content h1 {
    font-size: var(--cs-heading-1-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h2 {
    font-size: var(--cs-heading-2-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h3 {
    font-size: var(--cs-heading-3-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h4 {
    font-size: var(--cs-heading-4-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h5 {
    font-size: var(--cs-heading-5-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .entry-content h6 {
    font-size: var(--cs-heading-6-font-size) !important;
  }
}

html body.wp-theme-platform.wp-theme-platform .entry-content h2,
html body.wp-theme-platform.wp-theme-platform .entry-content h3,
html body.wp-theme-platform.wp-theme-platform .entry-content h4 {
  margin-top: 2rem;
  color: var(--tr-heading) !important;
}

html body.wp-theme-platform.wp-theme-platform .entry-content a {
  color: var(--tr-accent) !important;
}

html body.wp-theme-platform.wp-theme-platform .entry-content blockquote {
  margin: 1.75rem 0;
  padding: 1.15rem 1.25rem 1.15rem 1.5rem;
  background: rgba(37, 99, 235, 0.06) !important;
  border: 1px solid rgba(37, 99, 235, 0.1) !important;
  border-left: 3px solid var(--tr-accent) !important;
  border-radius: 18px !important;
  color: var(--tr-text) !important;
}

html body.wp-theme-platform.wp-theme-platform .entry-content pre,
html body.wp-theme-platform.wp-theme-platform pre {
  padding: 1rem 1.1rem;
  background: #f7f9fc !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: 18px !important;
  overflow: auto;
  color: var(--tr-text) !important;
}

html body.wp-theme-platform.wp-theme-platform .entry-content :not(pre) > code,
html body.wp-theme-platform.wp-theme-platform .widget :not(pre) > code {
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08) !important;
  color: var(--tr-accent) !important;
}

html body.wp-theme-platform.wp-theme-platform .entry-content table,
html body.wp-theme-platform.wp-theme-platform table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--tr-border) !important;
  border-radius: 18px;
  background: #ffffff !important;
  overflow: hidden;
}

html body.wp-theme-platform.wp-theme-platform .entry-content th,
html body.wp-theme-platform.wp-theme-platform .entry-content td,
html body.wp-theme-platform.wp-theme-platform table th,
html body.wp-theme-platform.wp-theme-platform table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(223, 231, 241, 0.82) !important;
}

html body.wp-theme-platform.wp-theme-platform .entry-content th,
html body.wp-theme-platform.wp-theme-platform table th {
  background: #f7f9fc !important;
  color: var(--tr-heading) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget {
  padding: 1.35rem 1.4rem !important;
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: var(--tr-radius-md) !important;
  box-shadow: var(--tr-shadow-sm) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget > * + * {
  margin-top: 1rem;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_categories ul li,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_pages ul li,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_archive ul li,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_meta ul li {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(223, 231, 241, 0.82);
}

html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_categories ul li:first-child,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_pages ul li:first-child,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_archive ul li:first-child,
html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_meta ul li:first-child {
  padding-top: 0;
  border-top: 0;
}

html body.wp-theme-platform.wp-theme-platform button,
html body.wp-theme-platform.wp-theme-platform input[type='button'],
html body.wp-theme-platform.wp-theme-platform input[type='reset'],
html body.wp-theme-platform.wp-theme-platform input[type='submit'],
html body.wp-theme-platform.wp-theme-platform .cs-button,
html body.wp-theme-platform.wp-theme-platform .wp-element-button,
html body.wp-theme-platform.wp-theme-platform .wp-block-button__link {
  min-height: 50px;
  padding: 0.86rem 1.5rem;
  border: 1px solid transparent !important;
  border-radius: var(--tr-radius-pill) !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18) !important;
}

html body.wp-theme-platform.wp-theme-platform button:hover,
html body.wp-theme-platform.wp-theme-platform input[type='button']:hover,
html body.wp-theme-platform.wp-theme-platform input[type='reset']:hover,
html body.wp-theme-platform.wp-theme-platform input[type='submit']:hover,
html body.wp-theme-platform.wp-theme-platform .cs-button:hover,
html body.wp-theme-platform.wp-theme-platform .wp-element-button:hover,
html body.wp-theme-platform.wp-theme-platform .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22) !important;
}

html body.wp-theme-platform.wp-theme-platform input:not([type='submit']):not([type='button']):not([type='reset']):not([type='checkbox']):not([type='radio']):not([type='search']),
html body.wp-theme-platform.wp-theme-platform textarea,
html body.wp-theme-platform.wp-theme-platform select {
  border: 1px solid var(--tr-border) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--tr-text) !important;
  box-shadow: none !important;
}

html body.wp-theme-platform.wp-theme-platform textarea {
  border-radius: 18px !important;
}

html body.wp-theme-platform.wp-theme-platform input:not([type='submit']):not([type='button']):not([type='reset']):not([type='checkbox']):not([type='radio']):not([type='search']):focus,
html body.wp-theme-platform.wp-theme-platform textarea:focus,
html body.wp-theme-platform.wp-theme-platform select:focus {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
  outline: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__form-group input.cs-search__input[type='search'],
html body.wp-theme-platform.wp-theme-platform .cs-search__form-group .cs-search__input,
html body.wp-theme-platform.wp-theme-platform .widget_search .cs-search__input,
html body.wp-theme-platform.wp-theme-platform .wp-block-search .cs-search__input {
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-search__form-group input.cs-search__input[type='search']:focus,
html body.wp-theme-platform.wp-theme-platform .cs-search__form-group .cs-search__input:focus,
html body.wp-theme-platform.wp-theme-platform .widget_search .cs-search__input:focus,
html body.wp-theme-platform.wp-theme-platform .wp-block-search .cs-search__input:focus {
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

html body.wp-theme-platform.wp-theme-platform .comment-form > *:not(:last-child) {
  margin-bottom: 1rem;
}

html body.wp-theme-platform.wp-theme-platform .comment-form .form-submit {
  margin-top: 1rem;
}

html body.wp-theme-platform.wp-theme-platform .navigation.pagination .nav-links {
  gap: 0.55rem;
}

html body.wp-theme-platform.wp-theme-platform .navigation.pagination .nav-links > span,
html body.wp-theme-platform.wp-theme-platform .navigation.pagination .nav-links > a {
  min-width: 44px;
  height: 44px;
  padding: 0 0.9rem;
  border-radius: var(--tr-radius-pill);
  border: 1px solid var(--tr-border) !important;
  background: #ffffff !important;
  color: var(--tr-text-soft) !important;
}

html body.wp-theme-platform.wp-theme-platform .navigation.pagination .nav-links > .current {
  background: rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
  color: var(--tr-accent) !important;
}

html body.wp-theme-platform.wp-theme-platform .navigation.pagination .nav-links > .dots {
  background: transparent !important;
  border-color: transparent !important;
}

html body.wp-theme-platform.wp-theme-platform .navigation.pagination .nav-links a:hover {
  background: var(--tr-surface-strong) !important;
  border-color: rgba(37, 99, 235, 0.24) !important;
  color: var(--tr-heading) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--tr-border) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 252, 0.96)) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-footer__inner {
  padding: 3rem 0 2rem !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-footer a,
html body.wp-theme-platform.wp-theme-platform .cs-footer__logo {
  color: var(--tr-heading) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-scroll-top {
  overflow: hidden;
  border: 1px solid var(--tr-border) !important;
  background: #ffffff !important;
  color: var(--tr-text-soft) !important;
  box-shadow: var(--tr-shadow-sm) !important;
  border-radius: 18px !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-scroll-top::before,
html body.wp-theme-platform.wp-theme-platform .cs-scroll-top::after,
html body.wp-theme-platform.wp-theme-platform .cs-scroll-top-border,
html body.wp-theme-platform.wp-theme-platform .cs-scroll-top-progress {
  display: none !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-scroll-top:hover {
  background: #ffffff !important;
  border-color: rgba(37, 99, 235, 0.24) !important;
  color: var(--tr-heading) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-scroll-top:hover .cs-icon {
  color: rgb(37, 99, 235) !important;
}

@media (min-width: 768px) {
  html body.wp-theme-platform.wp-theme-platform .cs-header:not(.cs-search-visible) .cs-col-search {
    display: none !important;
    flex: 5 1 auto !important;
    max-width: 0 !important;
    width: auto !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header:not(.cs-search-visible) .cs-col-search .cs-search__form-group {
    max-width: 0 !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header.cs-search-visible .cs-col-search {
    display: flex !important;
    flex: 0 1 420px !important;
    max-width: min(420px, calc(100vw - 520px)) !important;
    width: auto !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header.cs-search-visible .cs-col-search .cs-search__form-group {
    max-width: 100% !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header.cs-search-visible .cs-col-center {
    display: none !important;
    max-width: 0 !important;
  }

  html body.wp-theme-platform.wp-theme-platform.cs-search-active .cs-header-search,
  html body.wp-theme-platform.wp-theme-platform .cs-header.cs-search-visible .cs-header-search {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 991.98px) {
  html body.wp-theme-platform.wp-theme-platform .cs-site-content {
    margin-top: 1.1rem !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-main-content {
    column-gap: 20px !important;
  }
}

@media (max-width: 767.98px) {
  html body.wp-theme-platform.wp-theme-platform .cs-container {
    width: calc(100% - 1.5rem);
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 0.75rem;
    min-height: 64px !important;
    padding: 0.7rem 0 !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-header__col {
    width: auto !important;
    padding: 0 !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-col-left {
    justify-content: flex-start;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-col-center {
    justify-content: center !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-col-right {
    justify-content: flex-end !important;
    margin-left: 0 !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header__inner-mobile .cs-col-search {
    display: none !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-page__title,
  html body.wp-theme-platform.wp-theme-platform .single .cs-entry__header .cs-entry__title {
    max-width: 100%;
    font-size: var(--cs-heading-2-font-size) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-entry__content-wrap,
  html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget,
  html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .widget_search,
  html body.wp-theme-platform.wp-theme-platform .cs-sidebar__inner .wp-block-search {
    padding: 1.05rem !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas {
    top: calc(var(--cs-header-initial-height) + 0.25rem) !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100vh - var(--cs-header-initial-height) - 1rem) !important;
    background: transparent !important;
    overflow: visible !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header-search {
    display: none !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-header-mobile-search {
    position: absolute !important;
    top: calc(100% + 0.5rem);
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    z-index: 130;
  }

  html body.wp-theme-platform.wp-theme-platform.cs-search-active .cs-header-mobile-search {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-site-overlay {
    background: transparent !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__header .cs-logo {
    margin: 0 auto !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas__inner {
    border-radius: 28px !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas .widget_nav_menu .menu {
    display: grid;
    gap: 0.4rem;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas .widget_nav_menu .menu li {
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas .widget_nav_menu .menu li a {
    min-height: 42px;
    padding: 0.75rem 0.9rem !important;
    color: var(--tr-text-soft) !important;
    font-family: var(--cs-font-menu-family) !important;
    font-size: 0.98rem;
    font-weight: 500;
    border-radius: 999px;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas .widget_nav_menu .menu li:hover a,
  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas .widget_nav_menu .menu li a:focus-visible {
    color: var(--tr-heading) !important;
    background: var(--tr-surface-strong) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas .widget_nav_menu .menu li.current-menu-item a,
  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas .widget_nav_menu .menu li.current-menu-ancestor a {
    color: var(--tr-accent) !important;
    background: var(--tr-accent-soft) !important;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08) !important;
  }

  html body.wp-theme-platform.wp-theme-platform .cs-offcanvas .widget_nav_menu .menu li a[href*='/contact/'] {
    border: 1px solid rgba(37, 99, 235, 0.16) !important;
    background: rgba(37, 99, 235, 0.07) !important;
    color: var(--tr-accent) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PORTAL BRIDGE — Additional alignment pass (June 2025)
   Targets: archive header, section headings, category pill,
            blog home header, comment area, read-more links.
   CSS-only, no HTML changes. Scoped to wp-theme-platform body.
   ═══════════════════════════════════════════════════════════════ */

/* ── Archive / Category page header ── */
html body.wp-theme-platform.wp-theme-platform .cs-page__header {
  padding: 2rem 0 1.75rem !important;
  border-bottom: 1px solid var(--tr-border) !important;
  margin-bottom: 2rem !important;
  background: transparent !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-page__header:not(:last-child) {
  margin-bottom: 2rem !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-page__title {
  font-family: var(--cs-font-headings-family) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  color: var(--tr-heading) !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-page__archive-description,
html body.wp-theme-platform.wp-theme-platform .cs-page__description,
html body.wp-theme-platform.wp-theme-platform .cs-page__subtitle {
  margin-top: 0.65rem !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
  color: var(--tr-text-soft) !important;
}

/* ── Category label pill above archive title ── */
html body.wp-theme-platform.wp-theme-platform .cs-page__header-category {
  margin-bottom: 0.6rem !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-page__header-category a,
html body.wp-theme-platform.wp-theme-platform .cs-page__header-category span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.25rem 0.85rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(37, 99, 235, 0.14) !important;
  background: rgba(37, 99, 235, 0.07) !important;
  color: var(--tr-accent) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

/* ── Section headings (e.g. "Latest Posts", category titles in sidebar) ── */
html body.wp-theme-platform.wp-theme-platform .cs-section-heading {
  margin-bottom: 1.25rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid var(--tr-border) !important;
  background: transparent !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-section-heading-title,
html body.wp-theme-platform.wp-theme-platform .cs-section-heading .widget-title {
  font-family: var(--cs-font-headings-family) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--tr-text-faint) !important;
}

/* ── Blog home page header area ── */
html body.wp-theme-platform.wp-theme-platform.home .cs-page__header,
html body.wp-theme-platform.wp-theme-platform.blog .cs-page__header {
  padding: 1.5rem 0 1.5rem !important;
  border-bottom: 1px solid var(--tr-border) !important;
  margin-bottom: 1.75rem !important;
}

/* ── "Read more" / "Continue reading" links ── */
html body.wp-theme-platform.wp-theme-platform .more-link,
html body.wp-theme-platform.wp-theme-platform .cs-more-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(37, 99, 235, 0.16) !important;
  background: rgba(37, 99, 235, 0.06) !important;
  color: var(--tr-accent) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.18s ease, border-color 0.18s ease !important;
}

html body.wp-theme-platform.wp-theme-platform .more-link:hover,
html body.wp-theme-platform.wp-theme-platform .cs-more-link:hover {
  background: rgba(37, 99, 235, 0.12) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
  color: var(--tr-accent-deep) !important;
}

/* ── Comment area ── */
html body.wp-theme-platform.wp-theme-platform .cs-comments,
html body.wp-theme-platform.wp-theme-platform #comments {
  margin-top: 1.5rem !important;
  padding: clamp(1.35rem, 2vw, 1.6rem) !important;
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: var(--tr-radius-md) !important;
  box-shadow: var(--tr-shadow-sm) !important;
}

html body.wp-theme-platform.wp-theme-platform .comment-reply-title,
html body.wp-theme-platform.wp-theme-platform #reply-title {
  font-family: var(--cs-font-headings-family) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  color: var(--tr-heading) !important;
}

html body.wp-theme-platform.wp-theme-platform .comment-body {
  padding: 1rem 0 !important;
  border-bottom: 1px solid rgba(223, 231, 241, 0.7) !important;
}

html body.wp-theme-platform.wp-theme-platform .comment-author .fn {
  font-weight: 600 !important;
  color: var(--tr-heading) !important;
}

html body.wp-theme-platform.wp-theme-platform .comment-metadata,
html body.wp-theme-platform.wp-theme-platform .comment-meta {
  font-size: 0.8rem !important;
  color: var(--tr-text-faint) !important;
}

html body.wp-theme-platform.wp-theme-platform a.comment-reply-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(37, 99, 235, 0.14) !important;
  background: rgba(37, 99, 235, 0.06) !important;
  color: var(--tr-accent) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html body.wp-theme-platform.wp-theme-platform a.comment-reply-link:hover {
  background: rgba(37, 99, 235, 0.12) !important;
  border-color: rgba(37, 99, 235, 0.28) !important;
}

/* ── Author bio box (single post) ── */
html body.wp-theme-platform.wp-theme-platform .cs-entry__author-box,
html body.wp-theme-platform.wp-theme-platform .author-box {
  margin-top: 1.5rem !important;
  padding: 1.35rem 1.4rem !important;
  background: #ffffff !important;
  border: 1px solid var(--tr-border) !important;
  border-radius: var(--tr-radius-md) !important;
  box-shadow: var(--tr-shadow-sm) !important;
}

/* ── Related posts / read next section heading ── */
html body.wp-theme-platform.wp-theme-platform .cs-entry-prev-next,
html body.wp-theme-platform.wp-theme-platform .cs-read-next {
  margin-top: 1.5rem !important;
}

html body.wp-theme-platform.wp-theme-platform .cs-read-next__heading,
html body.wp-theme-platform.wp-theme-platform .cs-entry-prev-next__heading {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--tr-text-faint) !important;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.65rem !important;
  border-bottom: 1px solid var(--tr-border) !important;
}

/* ── Search page ── */
html body.wp-theme-platform.wp-theme-platform.search .cs-page__header {
  text-align: left !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ── 404 page ── */
html body.wp-theme-platform.wp-theme-platform.error404 .cs-page__header {
  border-bottom: none !important;
  text-align: left !important;
  padding-top: 3rem !important;
  padding-bottom: 1.5rem !important;
}

html body.wp-theme-platform.wp-theme-platform.error404 .cs-page__description {
  font-size: 1rem !important;
  line-height: 1.75 !important;
  color: var(--tr-text-soft) !important;
  margin-top: 0.75rem !important;
  max-width: 60ch !important;
}
