/* Shared public-page treatments derived from the approved homepage. */
.careme-design {
    --font-sans: var(--font-main);
    --text-secondary: var(--text-muted);
    --accent: #d8ac73;
    --bg-white: #fcfcf9;
}
.careme-design :is(.page-title, .product-hero h1, .cs-hero-title, .blog-hero h1, .archive-hero h1, .directory-hero h1) {
    font-size: clamp(35px, 3.6vw, 51px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}
.careme-design :is(.page-header, .blog-hero, .contact-page-header--pro) { background: #fcfcf9; }
.careme-design :is(.product-hero, .directory-hero) { padding: 143px 0 64px; background: #fcfcf9; color: var(--text-main); border-bottom: 1px solid var(--border); }
.careme-design :is(.product-hero h1, .directory-hero h1) { color: var(--text-dark); }
.careme-design :is(.product-hero-content p, .directory-lead, .page-excerpt) { font-size: 17px; line-height: 1.75; color: var(--text-muted); opacity: 1; }
.careme-design :is(.product-hero .breadcrumbs-item, .product-hero .breadcrumbs-item a, .directory-breadcrumbs) { color: var(--text-muted); }
.careme-design :is(.product-hero .breadcrumbs-current, .directory-breadcrumbs a:hover, .product-hero .page-category, .directory-eyebrow) { color: var(--primary); }
.careme-design :is(.product-hero .btn-invert, .product-hero .btn-outline-invert) { background: var(--primary); color: #fff; box-shadow: none; border: 1px solid var(--primary); backdrop-filter: none; }
.careme-design .product-hero .btn-outline-invert { background: transparent; color: var(--primary); }
.careme-design .product-hero :is(.btn-invert, .btn-outline-invert):hover { background: var(--primary-dark); color: #fff; }
.careme-design :is(.industry-hero-video, .product-hero-thumb) { border: 1px solid #bdcdc3; border-radius: 0; background: #e5ece5; box-shadow: 0 16px 34px -24px #23413580; }
.careme-design .industry-hero-highlight { border: 0; border-left: 2px solid var(--accent); border-radius: 0; background: #edf0e9; color: var(--primary); backdrop-filter: none; }
.careme-design .industry-hero-highlight svg { color: var(--primary); }
.careme-design :is(.product-feature-card, .industry-proof-card, .cs-feature-card, .directory-card, .directory-context-card) { border-radius: 0; background: #fcfcf9; box-shadow: none; border-color: var(--border); border-left: 3px solid var(--primary); }
.careme-design :is(.product-feature-card, .industry-proof-card, .cs-feature-card, .directory-card):hover { transform: none; box-shadow: none; background: #edf0e9; border-left-color: var(--accent); }
.careme-design .product-feature-card::before { content: none; }
.careme-design :is(.product-feature-icon, .industry-proof-icon, .cs-feature-icon, .testimonial-quote-mark) { background: transparent; border-radius: 0; box-shadow: none; color: var(--primary); }
.careme-design :is(.testimonial-card, .featured-card, .blog-card, .case-archive-card, .summary-box, .toc, .author-box, .sidebar-widget, .article-faq, .article-faq--compact, .article-cta, .related-wall, .related-wall-link, .legal-version, .info-box, .internal-links, .internal-link, .contact-conversation, .contact-form-card, .contact-entity-block, .contact-depts-block, .contact-logo-item, .cs-client-card, .cs-sidebar-stats, .cs-quote) { border-radius: 0; box-shadow: none; }
.careme-design :is(.featured-card, .blog-card, .case-archive-card):hover { transform: none; box-shadow: none; border-color: var(--primary); }
.careme-design :is(.filter-btn, .taxonomy-pill, .article-tag, .featured-badge, .cs-badge, .legal-updated, .legal-action-btn, .archive-pagination .page-numbers, .toc-list a, .contact-response-badge) { border-radius: 0; }
.careme-design :is(.newsletter-box, .newsletter-input, .contact-form-col .form-input, .contact-form-col .form-select, .contact-form-col .contact-submit, .contact-lightbox-img, .article-content img, .article-content blockquote, .article-content table) { border-radius: 0; }
.careme-design .featured-image, .careme-design .featured-image img { border-radius: 0; }
.careme-design :is(.filter-btn.active, .archive-pagination .page-numbers.current) { background: var(--primary); color: #fff; }
.careme-design :is(.filter-btn, .taxonomy-pill, .article-tag):hover { color: #fff; background: var(--primary-dark); }
.careme-design :is(.article-content h2, .cs-section-header h2, .contact-section-intro h2) { font-size: clamp(27px, 2.5vw, 35px); line-height: 1.2; letter-spacing: -.7px; }
.careme-design :is(.article-content h3, .product-feature-card h3, .featured-title, .blog-card-title) { font-weight: 500; letter-spacing: -.3px; }
.careme-design :is(.article-content blockquote, .cs-quote, .testimonial-card) { background: #edf0e9; border-left: 3px solid var(--accent); }
.careme-design :is(.cs-hero, .archive-hero, .newsletter-box, .sidebar-cta, .cs-sidebar-stats, .case-archive-placeholder) { background: var(--bg-dark); color: #fff; }
.careme-design :is(.cs-stat-value, .cs-sidebar-stat-value, .case-archive-stat-value) { color: var(--accent); font-weight: 400; }
.careme-design .cs-stat-value { font-size: clamp(42px, 5vw, 68px); letter-spacing: -2px; }
.careme-design .cs-hero-content { max-width: 940px; text-align: left; margin-left: 0; }
.careme-design .cs-hero-excerpt { margin-left: 0; }
.careme-design .cs-stats { justify-content: flex-start; flex-wrap: wrap; gap: 40px; }
.careme-design .cs-stat-item { text-align: left; }
.careme-design :is(.cs-badge, .featured-badge) { color: var(--primary); background: #edf0e9; border-left: 3px solid var(--accent); }
.careme-design .cs-badge { color: #f0f4ec; background: transparent; }
.careme-design :is(.contact-conversation, .contact-form-card, .contact-entity-block, .contact-depts-block) { border-color: var(--border); }
.careme-design .contact-conversation { background: var(--bg-dark); color: #fff; border-left: 3px solid var(--accent); }
.careme-design .contact-form-col :is(.form-input, .form-select) { font-family: var(--font-main); }
.careme-design :is(.page-sidebar-left, .page-sidebar-right, .cs-sidebar) { top: 112px; }
.careme-design .btn:is(:hover, :focus-visible) { transform: none; }
.careme-design .btn-primary:is(:hover, :focus-visible) { color: #fff; background: var(--primary-dark); }
.careme-design .btn-invert:is(:hover, :focus-visible) { color: var(--primary-dark); }
.careme-design .product-hero .btn-invert:is(:hover, :focus-visible) { color: #fff; }
@media (max-width: 900px) {
    .careme-design :is(.product-hero, .directory-hero) { padding: 115px 0 48px; }
    .careme-design :is(.page-sidebar-left, .page-sidebar-right, .cs-sidebar) { top: auto; }
}
@media (max-width: 600px) {
    .careme-design :is(.page-title, .product-hero h1, .cs-hero-title, .blog-hero h1, .archive-hero h1, .directory-hero h1) { font-size: 35px; letter-spacing: -1px; }
    .careme-design :is(.product-hero-content p, .directory-lead, .page-excerpt) { font-size: 16px; }
    .careme-design .cs-stats { gap: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    .careme-design :is(.product-feature-card, .industry-proof-card, .blog-card-image img, .directory-card, .contact-logo-thumb) { transition: none; transform: none; }
}
