/* BBI Consulting – drobné vizuální prvky, které jádro bloků neumí. */

/* Oranžový čtvereček (tečka z loga) */
.bbi-dot { width: 14px; height: 14px; min-height: 14px; background: var(--wp--preset--color--orange); border-radius: 2px; flex: none; }

/* Štítek nad nadpisem */
.bbi-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* Karty služeb */
.bbi-card { border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 32px; height: 100%; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.bbi-card:hover { border-color: #C9D5DA; box-shadow: 0 6px 24px rgba(31, 54, 64, .08); }
.bbi-card .bbi-more { margin-top: auto; font-weight: 700; }
.bbi-card .bbi-more a { text-decoration: none; }
.bbi-card--petrol { background: var(--wp--preset--color--petrol); border-color: var(--wp--preset--color--petrol); color: #fff; }
.bbi-card--petrol a { color: #fff; }
.bbi-card--white { background: #fff; border-color: #fff; }
.bbi-card--white:hover { box-shadow: none; }

/* Vrstvy SAP BI v hlavičce úvodní stránky */
.bbi-layer { border: 1px solid #3E5A66; border-radius: 10px; padding: 18px 20px; }
.bbi-layer--fill { background: var(--wp--preset--color--petrol); border-color: var(--wp--preset--color--petrol); }

/* Pruh technologií */
ul.bbi-techstrip { list-style: none; margin-inline: 0; margin-bottom: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; font-weight: 700; color: var(--wp--preset--color--muted); }

/* Seznam dodávek se čtverečky */
ul.bbi-checklist { list-style: none; margin-inline: 0; margin-bottom: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
ul.bbi-checklist li { border: 1px solid var(--wp--preset--color--line); border-radius: 10px; padding: 22px 24px 22px 48px; position: relative; font-size: 17px; font-weight: 600; line-height: 1.45; }
ul.bbi-checklist li::before { content: ""; position: absolute; left: 24px; top: 30px; width: 10px; height: 10px; border-radius: 2px; background: var(--wp--preset--color--orange); }

/* Číslované kroky */
ol.bbi-steps { list-style: none; margin-inline: 0; margin-bottom: 0; padding: 0; counter-reset: bbi-step; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
ol.bbi-steps li { counter-increment: bbi-step; border-top: 3px solid var(--wp--preset--color--muted); padding-top: 18px; font-size: 18px; font-weight: 700; line-height: 1.35; }
ol.bbi-steps li:first-child { border-top-color: var(--wp--preset--color--orange); }
ol.bbi-steps li::before { content: "0" counter(bbi-step); display: block; margin-bottom: 8px; font-size: 14px; color: var(--wp--preset--color--peach); }

/* Štítky (technologie, obory) */
ul.bbi-chips { list-style: none; margin-inline: 0; margin-bottom: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-weight: 600; }
ul.bbi-chips li { border: 1px solid #C9D5DA; border-radius: 999px; padding: 8px 16px; background: #fff; font-size: 15px; }
ul.bbi-chips.bbi-chips--l li { padding: 11px 20px; font-size: 17px; }

/* Dlaždice s logy klientů */
.bbi-logo-tile { border: 1px solid var(--wp--preset--color--line); border-radius: 8px; height: 112px; box-sizing: border-box; padding: 20px 28px; display: flex; align-items: center; justify-content: center; }
.bbi-logo-tile figure, .bbi-logo-tile .wp-block-image { margin: 0; display: flex; justify-content: center; }
.bbi-logo-tile img { max-height: 52px; width: auto !important; max-width: 100%; }
.bbi-logo-tile p { font-size: 18px; font-weight: 700; color: var(--wp--preset--color--slate); text-align: center; }

/* Řádek reference */
.bbi-ref-row { border-bottom: 1px solid #D7E1E5; padding: 40px 0; }
.bbi-ref-row .wp-block-image img { max-height: 52px; width: auto !important; }

/* Tlačítka */
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid #C9D5DA; color: var(--wp--preset--color--ink); background: #fff; }
.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.has-deep-background-color .wp-block-button.is-style-outline > .wp-block-button__link { border-color: var(--wp--preset--color--muted); color: #fff; background: transparent; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--wp--preset--color--petrol); }

/* Odkazy na tmavém pozadí */
.has-ink-background-color a:not(.wp-block-button__link),
.has-deep-background-color a:not(.wp-block-button__link),
.has-petrol-background-color a:not(.wp-block-button__link) { color: #fff; }
.bbi-crumbs a { color: #A9BCC4 !important; }

/* Hlavička */
.bbi-header .wp-block-navigation__submenu-container { background: var(--wp--preset--color--ink) !important; border: 1px solid #3E5A66 !important; border-radius: 8px; padding: 8px 0; min-width: 260px !important; }
.bbi-header .wp-block-navigation__submenu-container a { padding: 8px 18px !important; }
.bbi-header .current-menu-item > a, .bbi-header .current-menu-ancestor > a { color: var(--wp--preset--color--peach); }
.bbi-header .wp-block-site-logo img, .bbi-header .wp-block-image img { display: block; }

/* Kontaktní formulář */
.bbi-form { background: var(--wp--preset--color--mist); border-radius: 12px; padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.bbi-form label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.bbi-form input, .bbi-form textarea { font: inherit; font-weight: 400; padding: 14px 16px; border: 1px solid #C9D5DA; border-radius: 6px; background: #fff; color: var(--wp--preset--color--ink); }
.bbi-form input:focus, .bbi-form textarea:focus { outline: 2px solid var(--wp--preset--color--petrol); outline-offset: 1px; }
.bbi-form .bbi-form__full { grid-column: 1 / -1; }
.bbi-form .bbi-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.bbi-form .bbi-form__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--wp--preset--color--muted); max-width: 440px; }
.bbi-form button { font: inherit; font-weight: 700; font-size: 16px; background: var(--wp--preset--color--cta); color: #fff; border: 0; border-radius: 6px; padding: 16px 28px; cursor: pointer; }
.bbi-form button:hover { background: #B13A09; }
.bbi-form .bbi-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bbi-form-msg { grid-column: 1 / -1; padding: 16px 20px; border-radius: 8px; font-weight: 600; }
.bbi-form-msg--ok { background: #E3F1EA; color: #1E5A3A; }
.bbi-form-msg--err { background: #FBE6DE; color: #8A2E08; }

/* Patička */
.bbi-footer p { color: #A9BCC4; }
.bbi-footer a { color: #fff; }

@media (max-width: 781px) {
	.bbi-form { padding: 24px; }
	.bbi-card { padding: 24px; }
}

/* Sekce stránky na sebe navazují bez mezer */
.wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
mark.has-inline-color { background: transparent; }
.bbi-band-line { border-bottom: 1px solid var(--wp--preset--color--line); }
.bbi-footer a, .has-ink-background-color p > a[href^="tel:"] { text-decoration: none; }
.bbi-footer a:hover { text-decoration: underline; }
@media (max-width: 600px) {
	.bbi-header .wp-block-buttons { display: none; }
	ul.bbi-techstrip { justify-content: flex-start; gap: 10px 22px; }
}
