/*
Theme Name: CMP-Soft Bold
Theme URI: https://cmpsoft.com/
Author: CMP-Soft
Description: A native Gutenberg block theme for PhotoGuru, documentation, and consulting. Page copy lives in normal WordPress pages.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cmpsoft-bold
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.cmp-main { margin: 0; }
.cmp-container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.cmp-section { padding-block: 88px; margin-block-start: 0; }
.cmp-section .wp-block-columns { gap: 48px; margin-block-end: 0; }
.cmp-section h1 { font-size: clamp(2.7rem, 5.4vw, 5.25rem); }
.cmp-section h2 { font-size: clamp(2rem, 3.1vw, 3.1rem); }
.cmp-section h3 { font-size: 1.45rem; }
.cmp-section p { color: #536177; }
.cmp-section .cmp-lead { font-size: 1.18rem; line-height: 1.7; }
.cmp-section .cmp-eyebrow { color: #224ea3; font-size: .76rem; font-weight: 750; letter-spacing: .14em; margin-bottom: 24px; }
.cmp-header { background: #fff; border-bottom: 1px solid #e6eaf0; }
.cmp-header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 18px; }
.cmp-brand { display: flex; gap: 12px; align-items: center; }
.cmp-brand .wp-block-site-title { font-size: 1.55rem; letter-spacing: -.055em; font-weight: 800; margin: 0; }
.cmp-brand .wp-block-site-title a { text-decoration: none; color: #101d35; }
.cmp-brand .wp-block-site-logo img { max-height: 52px; width: auto; }
.cmp-header .wp-block-navigation { font-size: .9rem; font-weight: 650; gap: 30px; }
.cmp-header .wp-block-navigation a { color: #243148; }
.cmp-nav-download > a { background: #101d35; color: #fff !important; padding: 12px 18px; border-radius: 6px; }
.cmp-hero { background: #101d35; color: white; padding-block: 86px 74px; overflow: hidden; }
.cmp-hero .wp-block-columns { align-items: center; gap: 64px; }
.cmp-hero .cmp-eyebrow { color: #ffad52; }
.cmp-hero p { color: #c4cfdf; }
.cmp-hero h1 { margin-bottom: 28px; }
.cmp-hero .wp-block-buttons { margin-top: 28px; gap: 12px; }
.cmp-hero .cmp-platforms { font-size: .78rem; margin-top: 22px; color: #b8c3d5; }
.cmp-hero .cmp-caption { font-size: .8rem; text-align: center; color: #a5b6cf; margin-top: 18px; }
.cmp-tv { margin: 0; filter: drop-shadow(0 22px 35px #02071488); }
.cmp-tv img { width: 100%; height: auto; display: block; }
.wp-block-image img { height: auto; max-width: 100%; }
.wp-block-button__link { transition: background .15s ease, transform .15s ease; text-decoration: none; }
.wp-block-button__link:hover { background: #ffbf7a; transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link { color: #101d35; background: transparent; border: 1px solid #8592a5; padding: calc(1rem - 1px) calc(1.45rem - 1px); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: #e9eef6; }
.cmp-hero .wp-block-button.is-style-outline .wp-block-button__link,
.cmp-cta .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #7e8da5; }
.cmp-hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.cmp-cta .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #243a58; }
.cmp-intro-strip { padding-block: 52px; border-bottom: 1px solid #e3e8f0; }
.cmp-intro-strip h2 { font-size: 2rem; }
.cmp-intro-strip .wp-block-columns { align-items: center; }
.cmp-intro-strip p:last-child { margin: 0; }
.cmp-features { background: #f3f5f8; }
.cmp-features > .cmp-container > h2 { margin-bottom: 42px; }
.cmp-card { background: #fff; border: 1px solid #e2e7ef; border-radius: 10px; padding: 32px; height: 100%; }
.cmp-card p:last-child { margin-bottom: 0; }
.cmp-card .cmp-card-number { color: #224ea3; font-size: .78rem; font-weight: 750; letter-spacing: .08em; margin-bottom: 30px; }
.cmp-card a { font-weight: 700; text-decoration: none; }
.cmp-features .wp-block-columns { gap: 20px; }
.cmp-showcase .wp-block-columns { align-items: center; }
.cmp-tablet { margin: 0; background: #eef2f8; border-radius: 12px; padding: 22px; }
.cmp-tablet img { display: block; width: 100%; }
.cmp-showcase h2 { margin-top: 0; }
.cmp-connections { padding-top: 0; }
.cmp-connections ul { list-style: none; padding: 0; margin-top: 32px; }
.cmp-connections li { padding: 18px 0; border-bottom: 1px solid #e3e8f0; font-weight: 600; }
.cmp-cta { color: #fff; background: #142541; }
.cmp-cta .wp-block-columns { align-items: center; }
.cmp-cta p { color: #c4cfdf; }
.cmp-cta .wp-block-buttons { gap: 12px; }
.cmp-bottom { background: #f3f5f8; padding-block: 58px; }
.cmp-bottom-card { padding: 18px 0; }
.cmp-bottom-card .cmp-eyebrow { margin-bottom: 18px; }
.cmp-bottom-card a { font-weight: 700; text-decoration: none; }
.cmp-footer { background: #0b1527; color: #a8b6cb; padding-block: 56px 30px; }
.cmp-footer p { font-size: .875rem; color: #a8b6cb; }
.cmp-footer a { color: #dce4f0; text-decoration: none; }
.cmp-footer .wp-block-columns { gap: 40px; }
.cmp-footer .cmp-footer-brand { color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: -.05em; }
.cmp-footer .cmp-footer-label { color: #fff; font-weight: 700; }
.cmp-footer .cmp-copyright { border-top: 1px solid #263348; padding-top: 24px; margin-top: 30px; font-size: .75rem; }
.cmp-page-intro { background: #f3f5f8; padding-block: 74px 66px; }
.cmp-page-intro .cmp-lead { max-width: 690px; }
.cmp-page-intro p:last-child { margin-bottom: 0; }
.cmp-soft-section { background: #f3f5f8; }
.cmp-product-logo { max-width: 290px; margin: 0 auto; }
.cmp-notice { padding: 22px 26px; border-left: 4px solid #c77112; background: #fff7ed; border-radius: 0 8px 8px 0; margin-bottom: 28px; }
.cmp-notice p { color: #624a31; margin-bottom: 0; }
.cmp-manual-section { padding-block: 35px; }
.cmp-manual-section .cmp-container { max-width: 850px; }
.cmp-manual-section + .cmp-manual-section { border-top: 1px solid #e3e8f0; }
.cmp-manual-section h2 { font-size: 1.65rem; color: #536177; }
.cmp-manual-section h3 { font-size: 1.5rem; margin-top: 30px; }
.cmp-manual-image { margin: 30px auto; }
.cmp-manual-image img { display: block; max-width: 100%; max-height: 700px; width: auto; margin-inline: auto; }
.cmp-manual-toc { padding-block: 25px; }
.cmp-manual-toc ul { columns: 3; list-style: none; padding: 0; }
.cmp-manual-toc li { padding: 4px 0; }
.wp-block-preformatted { overflow-x: auto; padding: 22px; background: #f3f5f8; font-size: .875rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.wp-block-details { border-bottom: 1px solid #dbe2ec; padding-block: 22px; }
.wp-block-details summary { cursor: pointer; font-weight: 700; line-height: 1.5; }
.wp-block-details[open] summary { margin-bottom: 20px; }
.wp-block-details p { max-width: 950px; }
.cmp-section:has(> .cmp-container > .wp-block-details) { padding-block: 18px; }
.cmp-legal { padding-block: 48px; }
.cmp-legal .cmp-container { max-width: 850px; }
.cmp-legal p,.cmp-legal li { font-size: 1rem !important; }
.cmp-legal figure { margin-inline: 0; }
.wp-block-search { margin-bottom: 42px; }
.wp-block-search__label { display: block; font-weight: 700; margin-bottom: 10px; }
.wp-block-search__input { border: 1px solid #8592a5; border-radius: 6px; padding: 15px; font: inherit; min-width: 0; }
.wp-block-search__button { border: none; border-radius: 6px; background: #101d35; color: #fff; font: inherit; padding: 15px 24px; }
.cmp-search-result { padding-block: 28px; border-bottom: 1px solid #dbe2ec; }
.cmp-search-result h2 { font-size: 1.6rem; }
.cmp-search-result a { text-decoration: none; }
.wp-block-query-pagination { margin-top: 35px; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #3277db; outline-offset: 4px; }
[id] { scroll-margin-top: 30px; }
.editor-styles-wrapper .cmp-container { width: min(1240px, calc(100% - 48px)); }
.editor-styles-wrapper .cmp-card { height: auto; }
@media (max-width: 1000px) {
 .cmp-container { width: calc(100% - 56px); }
 .cmp-header .wp-block-navigation { gap: 18px; }
 .cmp-header-inner { gap: 18px; }
 .cmp-section { padding-block: 62px; }
 .cmp-section .wp-block-columns { gap: 28px; }
 .cmp-card { padding: 24px; }
 .cmp-hero-columns > .wp-block-column:first-child { flex-basis: 52% !important; }
}
@media (max-width: 781px) {
 .cmp-container { width: calc(100% - 40px); }
 .cmp-header-inner { min-height: 78px; }
 .cmp-hero { padding-block: 56px 42px; }
 .cmp-hero h1 { font-size: clamp(2.8rem, 9vw, 4.7rem); }
 .cmp-hero-columns { gap: 42px !important; }
 .cmp-hero .cmp-lead { max-width: 550px; }
 .cmp-card { height: auto; }
 .cmp-section .wp-block-columns { gap: 28px; }
 .cmp-footer .wp-block-columns { gap: 30px; }
 .cmp-manual-toc ul { columns: 2; }
 .cmp-connections { padding-block: 36px; }
 .cmp-bottom { padding-block: 30px; }
 .cmp-showcase .wp-block-column:first-child { order: 2; }
 .cmp-section:has(> .cmp-container > .wp-block-details) { padding-block: 10px; }
}
@media (max-width: 420px) {
 .cmp-container { width: calc(100% - 32px); }
 .cmp-section { padding-block: 44px; }
 .cmp-section h1 { font-size: 2.65rem; }
 .cmp-section h2 { font-size: 2rem; }
 .cmp-hero h1 { font-size: 3.15rem; }
 .cmp-section .cmp-lead { font-size: 1.06rem; }
 .cmp-hero .wp-block-buttons > .wp-block-button,.cmp-cta .wp-block-buttons > .wp-block-button { width: 100%; }
 .cmp-hero .wp-block-button__link,.cmp-cta .wp-block-button__link { width: 100%; text-align: center; }
 .cmp-manual-toc ul { columns: 1; }
 .wp-block-search__button { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .wp-block-button__link { transition: none; } }
