/*
 * Charlottesville Cares — Public Homepage V1 (Cut 1A + visual completion)
 * Visual authority: approved Homepage V1 PDF.
 * Scoped to :is(#body-home-main, #body-home):has(.ccp-hp-page). H0 navigation untouched.
 * Containment: portal/grid resets apply ONLY inside section[role="main"].
 */
:is(#body-home-main, #body-home):has(.ccp-hp-page) {
  background: #fff !important;
  color: #2c2b28;
  overflow-x: hidden;
}

/* Legacy logged-out home background image — suppress under Homepage V1. */
:is(#body-home-main, #body-home):has(.ccp-hp-page) {
  background-image: none !important;
  background-attachment: scroll !important;
}

/* Portal shell: collapse gap between H0 header and Homepage V1 hero. */
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-landing-portlet,
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-landing-portlet.portletWrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) #site-footer,
:is(#body-home-main, #body-home):has(.ccp-hp-page) footer#site-footer {
  display: none !important;
}

/* Portal shell resets — main content only (never #site-header). */
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .row,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .row .row {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .columns,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .column {
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .portletWrapper,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .ccp-portlet,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .portletWindow,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .project-wiki-content,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] .wiki-body {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #home-header,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #home-header-body,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #ccp-home-intro,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #ccp-home-info,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #ccp-home-value,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #ccp-home-benefits,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #ccp-home-row-2blocks,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #ccp-home-footer,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #home-header-top,
:is(#body-home-main, #body-home):has(.ccp-hp-page) section[role="main"] #home-header-bottom {
  display: none !important;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-page {
  font-family: "Source Sans 3", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #2c2b28;
  background: #fff;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-wrap {
  width: min(1140px, calc(100% - 64px));
  margin: 0 auto;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-page h1,
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-page h2,
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-page h3 {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #1a3d30;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-kicker {
  font-family: "Source Sans 3", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5853;
  margin: 0 0 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 13px 22px;
  font-family: "Source Sans 3", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-btn-primary {
  background: #1f5c45;
  color: #fff !important;
  border-color: #1f5c45;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-btn-secondary {
  background: #fff;
  color: #1a3d30 !important;
  border-color: #c8c4bc;
}

/* Hero — flush beneath H0 navigation */
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero {
  padding: 0 0 52px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-copy {
  padding-top: 24px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-line {
  display: block;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero h1 {
  font-size: clamp(34px, 3.4vw, 46px);
  margin: 0 0 18px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-em {
  font-style: italic;
  color: #1a3d30;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-body {
  font-size: 17px;
  line-height: 1.6;
  color: #5a5853;
  max-width: 34em;
  margin: 0 0 16px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-values {
  font-size: 17px;
  color: #2a7a56;
  margin: 0 0 24px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-media {
  position: relative;
  min-height: 420px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-kicker {
  position: absolute;
  top: 12px;
  right: 0;
  z-index: 2;
  max-width: 220px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: right;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  margin: 0;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 0 0 0 120px;
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 100%);
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-script {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

/* Products */
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-products {
  padding: 20px 0 52px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-section-title {
  text-align: center;
  font-size: clamp(28px, 2.6vw, 36px);
  margin: 0 0 32px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(26, 61, 48, 0.05);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1f5c45;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-title {
  font-size: 22px;
  margin: 0;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-tag {
  margin: 4px 0 0;
  font-size: 14px;
  color: #2a7a56;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-photo {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-kicker {
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 10px;
  color: #2c2b28;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-body {
  font-size: 15px;
  line-height: 1.55;
  color: #5a5853;
  margin: 0 0 16px;
  flex: 1;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-link {
  font-size: 15px;
  font-weight: 600;
  color: #2a7a56 !important;
  text-decoration: none !important;
}

/* Private AI */
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-ai {
  background: #f7f6f2;
  padding: 40px 0 28px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px 40px;
  align-items: center;
  margin-bottom: 18px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-ai h2 {
  font-size: clamp(28px, 2.5vw, 34px);
  margin: 0 0 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-ai-lead {
  font-size: 16px;
  color: #5a5853;
  max-width: 34em;
  margin: 0 0 14px;
  line-height: 1.55;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-control-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #e8f3ec;
  border-radius: 10px;
  padding: 12px 14px;
  max-width: 26em;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-control-icon {
  color: #1f5c45;
  flex: 0 0 auto;
  margin-top: 2px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-control-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #1a3d30;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-equation {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px 8px;
  width: 100%;
  min-height: 220px;
  padding: 8px 4px 4px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-item {
  text-align: center;
  width: 128px;
  flex: 0 0 auto;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-icon {
  display: inline-flex;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d8e8df;
  align-items: center;
  justify-content: center;
  color: #1f5c45;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(26, 61, 48, 0.06);
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-icon svg {
  width: 30px;
  height: 30px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-icon-ai {
  background: #1f5c45;
  color: #fff;
  border-color: #1f5c45;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #2c2b28;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-op {
  font-size: 30px;
  color: #9a968d;
  font-weight: 400;
  padding: 0 4px 34px;
  flex: 0 0 auto;
  line-height: 1;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-quote {
  text-align: center;
  margin: 4px 0 0;
  padding: 0;
  border: none;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-quote p {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-size: 21px;
  color: #1a3d30;
  margin: 0 0 6px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-quote footer {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #5a5853;
}

/* Chat shell (Cut 1 static) */
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat {
  padding: 44px 0 48px;
  background: #fff;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-copy {
  align-self: center;
  padding-right: 8px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat h2 {
  font-size: clamp(28px, 2.5vw, 34px);
  margin: 0 0 10px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-try {
  color: #2a7a56;
  font-size: 17px;
  margin: 0 0 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-body {
  font-size: 16px;
  color: #5a5853;
  max-width: 32em;
  margin: 0;
  line-height: 1.55;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-trust {
  margin: 14px 0 0;
  font-size: 14px;
  color: #5a5853;
  line-height: 1.45;
  max-width: 32em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-trust-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #2a7a56;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-trust-open:hover,
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-trust-open:focus-visible {
  text-decoration: underline;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-trust-shield {
  display: block;
  flex-shrink: 0;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-shell[data-hp-chat-shell="cut2-live"] {
  padding: 18px 18px 12px;
  overflow: hidden;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-embed {
  width: 100%;
  border: 0;
  min-height: 320px;
  height: 320px;
  display: block;
  background: transparent;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-shell {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(26, 61, 48, 0.07);
  min-height: 360px;
  max-height: 400px;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-thread {
  flex: 1;
  min-height: 220px;
  padding: 4px 2px 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f5c45;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-bubble {
  background: #f3f2ef;
  border-radius: 14px;
  padding: 14px 16px;
  max-width: calc(100% - 52px);
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-bubble p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #2c2b28;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-composer {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #ece9e2;
  padding-top: 14px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-input {
  flex: 1;
  border: 1px solid #d8d4cc;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  background: #fff;
  color: #9a968d;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #1f5c45;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #9a968d;
  text-align: center;
}

/* Community */
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-community {
  padding: 44px 0 48px;
  background: #fff;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 0.42fr);
  gap: 24px 28px;
  align-items: center;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-community-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-community h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  margin: 0 0 12px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-community-body {
  font-size: 16px;
  color: #5a5853;
  margin: 0 0 20px;
  max-width: 30em;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-community-aside {
  text-align: center;
  align-self: center;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-map-caption {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.65;
  color: #5a5853;
  margin: 0;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-map-caption span {
  display: block;
}

/* In-page footer */
:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer {
  background: #f7f6f2;
  border-top: 1px solid #ece9e2;
  padding: 28px 0 36px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-logo {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 20px;
  color: #1a3d30;
  margin: 0 0 10px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-logo span {
  font-weight: 700;
  letter-spacing: 0.04em;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-nav a {
  font-size: 14px;
  color: #2c2b28 !important;
  text-decoration: none !important;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-tag {
  margin: 0;
  font-size: 15px;
  color: #5a5853;
  max-width: 22em;
  text-align: right;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-leaf {
  color: #2a7a56;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-credit {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #8a877f;
}

:is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-credit a {
  color: #6a6862 !important;
  text-decoration: underline !important;
}

@media (max-width: 1024px) {
  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-grid,
  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-ai-grid,
  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-chat-grid,
  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-community-grid {
    grid-template-columns: 1fr;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-equation {
    flex-wrap: wrap;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-media {
    order: -1;
    min-height: 320px;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-hero-photo {
    min-height: 320px;
    mask-image: none;
    -webkit-mask-image: none;
    border-radius: 12px;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-footer-tag {
    text-align: left;
  }
}

@media (max-width: 1150px) and (min-width: 1025px) {
  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-wrap {
    width: min(1140px, calc(100% - 48px));
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-card-grid {
    gap: 18px;
  }
}

@media (max-width: 1280px) and (min-width: 1151px) {
  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-item {
    width: 118px;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-icon {
    width: 68px;
    height: 68px;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-icon svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 1150px) and (min-width: 1025px) {
  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-item {
    width: 108px;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-icon {
    width: 62px;
    height: 62px;
  }

  :is(#body-home-main, #body-home):has(.ccp-hp-page) .ccp-hp-eq-op {
    font-size: 26px;
    padding-bottom: 28px;
  }
}
