/* ==========================================================================
   Mikrotechna Horizont – světlá varianta (doplňuje site.css hlavní šablony)
   ========================================================================== */

:root {
	--mkt-radius: 10px;
	--mkt-radius-lg: 18px;
	--mkt-shadow: 0 1px 2px rgba(14, 34, 56, .04), 0 10px 30px rgba(14, 34, 56, .06);
	--mkt-shadow-lg: 0 2px 6px rgba(14, 34, 56, .06), 0 24px 60px rgba(14, 34, 56, .12);
	--mkt-ink-dial: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800' fill='none' stroke='%2300689F'%3E%3Ccircle cx='400' cy='400' r='380' stroke-opacity='.14' stroke-width='2'/%3E%3Ccircle cx='400' cy='400' r='300' stroke-opacity='.09'/%3E%3Ccircle cx='400' cy='400' r='160' stroke-opacity='.08' stroke-dasharray='4 8'/%3E%3C/svg%3E");
}

/* ---------- Header: light, no uppercase ---------- */
.mkt-topbar { background: var(--wp--preset--color--mist) !important; color: var(--wp--preset--color--muted) !important; border-bottom: 1px solid var(--mkt-line); }
.mkt-topbar a:hover { color: var(--mkt-primary); }
.mkt-topbar__tagline { letter-spacing: .04em; text-transform: none; opacity: 1; }
.mkt-lang .current-lang a { background: var(--wp--preset--color--white); box-shadow: inset 0 0 0 1px var(--mkt-line); }
.mkt-header { border-bottom-color: transparent; }
.is-scrolled .mkt-header { box-shadow: 0 1px 0 var(--mkt-line), 0 10px 30px rgba(14,34,56,.06); }
.mkt-brand__name { letter-spacing: .06em; font-weight: 700; }
.mkt-brand__since { letter-spacing: .08em; text-transform: none; }
.mkt-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { bottom: .1rem; height: 2px; border-radius: 2px; }
.mkt-nav .wp-block-navigation__submenu-container { border-top: 1px solid var(--mkt-line) !important; border-radius: var(--mkt-radius); padding: .5rem !important; }
.mkt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { border-radius: 6px; }

.mkt-eyebrow { color: var(--mkt-primary); letter-spacing: .08em; font-weight: 600; font-size: .9rem; }
.mkt-eyebrow::before { width: .55rem; height: .55rem; border-radius: 50%; }

/* ---------- Light hero / page header ---------- */
.mkt-page-hero,
.mkt-hero {
	color: var(--wp--preset--color--ink);
	background:
		radial-gradient(900px 420px at 90% 0%, rgba(46,155,214,.14), transparent 65%),
		linear-gradient(180deg, var(--wp--preset--color--mist) 0%, #fff 100%);
	border-bottom: 1px solid var(--mkt-line);
}
.mkt-page-hero::before,
.mkt-hero::before {
	background-image: linear-gradient(90deg, rgba(0,104,159,.07) 1px, transparent 1px);
	background-size: 120px 100%;
	mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.mkt-page-hero::after,
.mkt-hero::after { background-image: var(--mkt-ink-dial); opacity: 1; }
:is(.mkt-page-hero, .mkt-hero) :where(h1, h2, h3, h4) { color: var(--wp--preset--color--navy-900); }
:is(.mkt-page-hero, .mkt-hero) :where(p, li) { color: var(--wp--preset--color--ink); }
:is(.mkt-page-hero, .mkt-hero) a:where(:not(.wp-element-button)) { color: var(--mkt-primary); }
.mkt-hero h1 em { color: var(--mkt-primary); }
.mkt-hero__lead { color: var(--wp--preset--color--muted) !important; }
.mkt-page-hero__lead { opacity: 1; color: var(--wp--preset--color--muted) !important; }
.mkt-breadcrumbs li { color: var(--wp--preset--color--muted); }
.mkt-breadcrumbs a { color: var(--mkt-primary) !important; }
.mkt-breadcrumbs a:hover { color: var(--wp--preset--color--primary-dark) !important; }
:is(.mkt-page-hero, .mkt-hero) .is-style-mkt-ghost .wp-block-button__link { color: var(--wp--preset--color--navy-900) !important; box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--navy-900); }
:is(.mkt-page-hero, .mkt-hero) .is-style-mkt-ghost .wp-block-button__link:hover { background: var(--wp--preset--color--navy-900) !important; color: #fff !important; }

.mkt-carousel.is-ready { border: 0; box-shadow: var(--mkt-shadow-lg); background: #fff; }
.mkt-carousel.is-ready .mkt-carousel__dots { background: #fff; }
.mkt-carousel__dot { background: var(--mkt-line); }
.mkt-carousel__dot[aria-current="true"] { background: var(--mkt-primary); }
.mkt-hero__visual .wp-block-image img { box-shadow: var(--mkt-shadow-lg); border: 0; }

/* Dark sections stay dark, but calmer: flat navy without the grid */
.is-style-mkt-dark { background: var(--wp--preset--color--navy-900); }
.is-style-mkt-dark::before { display: none; }

/* ---------- Cards and blocks: softer, rounder ---------- */
.mkt-card { border-color: var(--mkt-line); }
.mkt-card__media { background: var(--wp--preset--color--mist); }
.mkt-card__body { border-top: 0; padding: 1.25rem 1.4rem 1.4rem; }
.mkt-card__title { font-weight: 600; font-size: 1.15rem; letter-spacing: -.005em; }
.mkt-card__more { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.mkt-feature { background: var(--wp--preset--color--mist); border-color: transparent; }
.mkt-feature__num { letter-spacing: .08em; }
.mkt-feature a.mkt-feature__link,
.mkt-feature .mkt-feature__link a { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.mkt-stat__value { font-weight: 600; letter-spacing: -.02em; }
.mkt-stats { background: #fff; }
.mkt-cert { background: var(--wp--preset--color--mist); border-color: transparent; }
.mkt-cert__code { font-weight: 600; }
.mkt-subnav { border-radius: var(--mkt-radius-lg); }
.mkt-subnav__title { background: var(--wp--preset--color--mist); letter-spacing: .02em; text-transform: none; font-weight: 600; border-bottom: 1px solid var(--mkt-line); }
.mkt-subnav__title a { color: var(--wp--preset--color--navy-900); }
.mkt-subnav li a { border-left: 0; margin: 0 .5rem; border-radius: 8px; }
.mkt-content .wp-block-table thead :where(td, th),
.mkt-content .wp-block-table tbody tr:first-child:where(:has(td b:only-child)) td { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--navy-900); letter-spacing: .02em; text-transform: none; }
.mkt-content .wp-block-table thead :where(td, th) strong { color: var(--wp--preset--color--navy-900); }
.mkt-content .wp-block-table tbody tr:nth-child(even) td { background: transparent; }
.mkt-docs li a::before { background: var(--wp--preset--color--mist); color: var(--mkt-primary); }
.mkt-footer__title { letter-spacing: .04em; text-transform: none; }
.mkt-subnav__title,
.mkt-footer__title,
.mkt-card__title,
.mkt-brand__name { font-family: var(--wp--preset--font-family--body); }

/* CTA band: flat brand blue */
.mkt-cta { background: var(--wp--preset--color--primary); }
.mkt-cta::after { opacity: .35; }
