/* Polish 2026-10-20: shell, listings, single articles, forms, tools. Builds on theme.css and routes.css. */
:root {
    --eb-bg: #000;
    --eb-stage: #0c0c0c;
    --eb-panel: #121518;
    --eb-panel-2: #181c21;
    --eb-line: #262a30;
    --eb-text: #c0c0c0;
    --eb-muted: #8d929a;
    --eb-white: #fff;
    --eb-accent: #c6e4ff;
    --eb-accent-dim: rgba(198, 228, 255, .12);
    --eb-error: #ffb4a8;
    --eb-ease: cubic-bezier(.22, 1, .36, 1);
    --eb-radius: 18px;
    /* Foundation 1.1.9 shared form dialog */
    --aomark-dialog-bg: #121518;
    --aomark-dialog-fg: #fff;
    --aomark-dialog-muted: #c0c0c0;
    --aomark-dialog-accent: #c6e4ff;
    --aomark-dialog-error: #ffb4a8;
    --aomark-dialog-radius: 18px;
    --aomark-dialog-button-bg: #c6e4ff;
    --aomark-dialog-button-fg: #000;
    --aomark-dialog-button-radius: 100px;
}

.eb-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.eb-site .wp-block-button__link, .eb-btn, .eb-form button { transition: background-color .25s, color .25s, transform .15s var(--eb-ease), box-shadow .25s; }
.eb-site .wp-block-button__link:active, .eb-btn:active, .eb-form button:active { transform: scale(.97); }
.eb-site .wp-block-button__link { gap: 10px; }
.eb-site .is-style-outline .wp-block-button__link { background: transparent; color: var(--eb-white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.eb-site .is-style-outline .wp-block-button__link:hover { background: var(--eb-white); color: #000; box-shadow: none; }
.eb-site .wp-block-buttons { gap: 14px; }

/* Header: vector logo, compact navigation, CTA, mobile drawer */
.eb-brand img, .eb-drawer-brand img, .eb-footer-logo img { height: auto; }
.eb-header-inner { gap: 32px; }
.eb-menu { display: flex; align-items: center; gap: 36px; }
.eb-navigation .wp-block-navigation__container { gap: 34px; padding-right: 0; }
.eb-navigation a { color: #b5b9bf; transition: color .2s; }
.eb-header-cta .wp-block-button__link { min-height: 44px; padding: 8px 22px; font-size: 13px; letter-spacing: 1px; }
.eb-drawer-head { display: contents; }
.eb-menu-toggle span { display: none; }
.eb-menu-toggle svg { color: #fff; }
.eb-menu-close { align-items: center; justify-content: center; }
@media (min-width: 1025px) {
    .eb-drawer-brand, .eb-menu-close { display: none !important; }
}
@media (max-width: 1100px) and (min-width: 1025px) {
    .eb-navigation .wp-block-navigation__container { gap: 22px; }
    .eb-menu { gap: 22px; }
}
@media (max-width: 1024px) {
    .eb-header, .eb-header-inner { height: 84px; }
    .eb-header-inner { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
    .eb-brand img { width: 120px !important; }
    .eb-menu-toggle { display: inline-flex !important; width: 46px !important; height: 46px !important; margin: 0 !important; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .06) !important; }
    .eb-js .eb-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; inset: 0 0 0 auto !important; width: min(88vw, 380px) !important; padding: 18px 24px 32px !important; background: var(--eb-panel) !important; box-shadow: -30px 0 60px rgba(0, 0, 0, .5); transform: translateX(101%) !important; transition: transform .45s var(--eb-ease), visibility 0s .45s !important; }
    .eb-js .eb-menu.is-open { transform: none !important; transition: transform .45s var(--eb-ease), visibility 0s !important; }
    .eb-js .eb-menu-backdrop.is-open { background: rgba(0, 0, 0, .6) !important; backdrop-filter: blur(3px); }
    .eb-drawer-head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 28px; }
    .eb-drawer-brand { display: block !important; margin: 0 !important; }
    .eb-drawer-brand img { width: 120px; }
    .eb-menu-close { display: inline-flex !important; position: static !important; width: 46px !important; height: 46px !important; border-radius: 12px !important; background: rgba(255, 255, 255, .06) !important; }
    .eb-navigation .wp-block-navigation__container { gap: 0 !important; width: 100%; }
    .eb-navigation .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--eb-line); }
    .eb-navigation a { display: block; width: 100%; padding: 14px 0; line-height: 1.5 !important; font-size: 16px !important; color: var(--eb-white) !important; }
    .eb-header-cta { margin-top: 28px; }
    .eb-header-cta .wp-block-button, .eb-header-cta .wp-block-button__link { width: 100%; }
    .eb-header-cta .wp-block-button__link { min-height: 52px; }
}

/* Openings (inner page heroes): compact, shared rail */
.eb-opening { height: auto !important; min-height: 360px; padding: 130px 0 70px; }
.eb-opening-compact { min-height: 300px; }
.eb-opening h1, .eb-opening .wp-block-query-title { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.12; letter-spacing: -1.5px; color: var(--eb-white); margin: 0; }
.eb-opening .eb-hero-image img { position: absolute; inset: 0; }
.eb-breadcrumb { align-items: center; flex-wrap: wrap; gap: 10px !important; font-size: 13px !important; letter-spacing: 1px; }
.eb-breadcrumb a { color: var(--eb-accent); }
.eb-breadcrumb > span:not(.eb-crumb-sep) { color: var(--eb-text); }
.eb-crumb-sep { display: inline-flex; color: var(--eb-muted) !important; }
nav.eb-breadcrumb { display: flex; justify-content: center; margin-top: 15px; text-transform: uppercase; }

/* Home */
.eb-hero { min-height: min(100vh, 900px); min-height: min(100dvh, 900px); }
.eb-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .25) 55%, transparent 100%); pointer-events: none; }
.eb-hero-copy { z-index: 1; padding-top: 0 !important; min-height: inherit; display: flex; flex-direction: column; justify-content: center; }
.eb-hero h1 { font-size: clamp(46px, 6.4vw, 88px); }
.eb-hero-copy > p:not(.eb-eyebrow) { color: #e2e4e7; font-size: 18px; margin-top: 22px; max-width: 520px; }
.eb-topic-card { position: relative; border-radius: var(--eb-radius); transition: background-color .35s, border-color .35s, transform .35s var(--eb-ease); }
.eb-topic-card:hover { border-color: var(--eb-line); transform: translateY(-3px); }
.eb-topic-card::before { content: ''; display: block; width: 30px; height: 30px; margin-bottom: 26px; background: var(--eb-accent); -webkit-mask: var(--eb-topic-icon) center / contain no-repeat; mask: var(--eb-topic-icon) center / contain no-repeat; }
.eb-topic-card:nth-child(1) { --eb-topic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18.5' cy='17.5' r='3.5'/%3E%3Ccircle cx='5.5' cy='17.5' r='3.5'/%3E%3Ccircle cx='15' cy='5' r='1'/%3E%3Cpath d='M12 17.5V14l-3-3 4-3 2 3h2'/%3E%3C/svg%3E"); }
.eb-topic-card:nth-child(2) { --eb-topic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 7h1a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 7H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1'/%3E%3Cpath d='m11 7-3 5h4l-3 5'/%3E%3Cline x1='22' x2='22' y1='11' y2='13'/%3E%3C/svg%3E"); }
.eb-topic-card:nth-child(3) { --eb-topic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.eb-topic-card:nth-child(4) { --eb-topic-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
.eb-topic-card .eb-eyebrow { position: absolute; top: 50px; right: 50px; margin: 0; color: var(--eb-muted); }
.eb-home-tools { background: var(--eb-bg); }
.eb-home-tools h2 { max-width: 760px; }
.eb-home-tools .eb-shell > p:not(.eb-eyebrow) { max-width: 640px; margin-top: 22px; }
.eb-home-tools .eb-tools-list { margin-top: 60px; }

/* Tool cards (Home, hub, sidebar, empty search) */
.eb-tools-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.eb-tools-list--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eb-tool-card a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 34px 32px 30px; border-radius: var(--eb-radius); background: var(--eb-panel); border: 1px solid var(--eb-line); color: var(--eb-text); transition: border-color .3s, transform .35s var(--eb-ease), background-color .3s; }
.eb-tool-card a:hover { border-color: rgba(198, 228, 255, .5); transform: translateY(-4px); background: var(--eb-panel-2); }
.eb-tool-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--eb-accent-dim); color: var(--eb-accent); margin-bottom: 26px; }
.eb-tool-card-title { color: var(--eb-white); font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.5px; }
.eb-tool-card-copy { margin-top: 12px; font-size: 15px; line-height: 1.7; }
.eb-tool-card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; color: var(--eb-accent); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.eb-tool-card a:hover .eb-tool-card-cta svg { transform: translateX(4px); }
.eb-tool-card-cta svg { transition: transform .25s var(--eb-ease); }
.eb-tools-list--compact { gap: 10px; }
.eb-tools-list--compact .eb-tool-card a { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; }
.eb-tools-list--compact .eb-tool-card-icon { width: 42px; height: 42px; margin: 0; border-radius: 10px; }
.eb-tools-list--compact .eb-tool-card-title { font-size: 16px; letter-spacing: 0; }
.eb-tools-list--compact .eb-tool-card-cta { margin: 0 0 0 auto; padding: 0; font-size: 0; }

/* Listings: Blog, search, archive share one layout */
.eb-blog-layout { padding-top: 90px; gap: 50px !important; grid-template-columns: minmax(0, 1fr) 340px !important; }
.eb-card-grid { width: auto !important; margin: 0 !important; }
.eb-card-grid .wp-block-post-template { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 30px; }
.eb-card-grid .wp-block-post { display: flex !important; flex-direction: column; margin: 0 !important; padding: 0 !important; height: 100%; }
.eb-card-grid .wp-block-post-featured-image { margin: 0 0 18px !important; overflow: hidden; border-radius: 14px; }
.eb-card-grid .wp-block-post-featured-image img { aspect-ratio: 3 / 2 !important; transition: transform .6s var(--eb-ease); }
.eb-card-grid .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.eb-card-grid .wp-block-post-date { margin-bottom: 6px; color: var(--eb-accent); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; }
.eb-site .eb-card-grid .wp-block-post-title { font-size: 23px !important; line-height: 1.35; margin: 0 0 10px !important; }
.eb-card-grid .wp-block-post-excerpt { font-size: 15px; line-height: 1.7; margin: 0; }
.eb-card-grid .wp-block-post-excerpt__excerpt { margin: 0; }
.eb-card-grid .wp-block-read-more { margin-top: auto !important; align-self: flex-start; }
.eb-card-grid .wp-block-post-excerpt { margin-bottom: 18px; }
.eb-site .wp-block-read-more { display: inline-flex !important; align-items: center; gap: 8px; border: 0 !important; padding: 0 !important; color: var(--eb-accent); font-size: 13px !important; line-height: 1.4 !important; }
.eb-site .wp-block-read-more svg { transition: transform .25s var(--eb-ease); }
.eb-site .wp-block-read-more:hover svg { transform: translateX(4px); }
.eb-empty { padding: 40px; border-radius: var(--eb-radius); background: var(--eb-panel); }
.eb-empty h2 { font-size: 34px; letter-spacing: -1px; margin-bottom: 12px; }
.eb-empty .eb-tools-list { margin-top: 24px; }

/* Numbered pagination */
.eb-pagination { gap: 8px; margin: 64px 0 0 !important; flex-wrap: wrap; }
.eb-pagination .page-numbers, .eb-pagination .wp-block-query-pagination-previous, .eb-pagination .wp-block-query-pagination-next { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 16px; border-radius: 100px; border: 1px solid var(--eb-line); color: var(--eb-white); font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.eb-pagination .wp-block-query-pagination-numbers { display: flex; gap: 8px; }
.eb-pagination a:hover { border-color: var(--eb-accent); color: var(--eb-accent); }
.eb-pagination .page-numbers.current { background: var(--eb-accent); border-color: var(--eb-accent); color: #000; }
.eb-pagination .page-numbers.dots { border: 0; min-width: 20px; padding: 0; }

/* Sidebar */
.eb-sidebar { margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 44px; }
.eb-sidebar h3 { font-size: 22px !important; letter-spacing: -.5px !important; margin: 0 0 18px !important; padding: 0 0 16px !important; border-bottom: 1px solid var(--eb-line); }
.eb-recent-cards .wp-block-post-template { display: grid; gap: 16px; }
.eb-recent-cards .wp-block-post { display: grid !important; grid-template-columns: 84px minmax(0, 1fr) !important; gap: 4px 16px !important; margin: 0 !important; align-items: start; }
.eb-recent-cards .wp-block-post-featured-image { grid-row: span 2; }
.eb-recent-cards img { width: 84px !important; aspect-ratio: 1 !important; border-radius: 10px; }
.eb-recent-cards .wp-block-post-date { font-size: 11px !important; letter-spacing: 1.2px !important; margin: 0 !important; line-height: 1.4 !important; }
.eb-site .eb-recent-cards .wp-block-post-title { font-size: 15px !important; line-height: 1.45 !important; margin: 0 !important; }
.eb-sidebar-contact { margin: 0 !important; padding: 26px 22px !important; border-radius: var(--eb-radius); background: var(--eb-panel); }
.eb-sidebar-contact::before { display: none; }
.eb-sidebar-contact h3 { border: 0 !important; padding: 0 !important; }

/* Search form */
.eb-search { position: relative; display: flex; width: 100%; max-width: 520px; }
.eb-search input { width: 100%; min-height: 52px; padding: 12px 58px 12px 22px; border: 1px solid var(--eb-line); border-radius: 100px; background: var(--eb-panel); color: var(--eb-white); font-size: 15px; }
.eb-search input::placeholder { color: var(--eb-muted); }
.eb-search input:focus { outline: none; border-color: var(--eb-accent); box-shadow: 0 0 0 4px var(--eb-accent-dim); }
.eb-search button { position: absolute; top: 5px; right: 5px; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--eb-accent); color: #000; }
.eb-not-found .eb-search { margin: 0 auto 30px; }
.eb-not-found .wp-block-buttons { gap: 14px; }

/* Single article */
.eb-article-banner { min-height: 480px; padding-top: 140px; }
.eb-article-banner .eb-opening-copy { max-width: 980px; }
.eb-article-banner h1 { margin: 18px auto 0 !important; max-width: 920px; }
.eb-article-banner nav.eb-breadcrumb { margin-top: 0; }
.eb-post-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; color: #e3e6ea; font-size: 14px; }
.eb-post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.eb-post-meta svg { color: var(--eb-accent); }
.eb-single .eb-content { padding-top: 70px; }
.eb-article-body { width: min(800px, calc(100% - 40px)) !important; font-size: 17px; line-height: 1.85; }
.eb-site .eb-article-body > h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -1px; margin: 48px 0 18px !important; }
.eb-site .eb-article-body > h3 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.3; letter-spacing: -.5px; margin: 32px 0 12px !important; }
.eb-article-body > p { margin-bottom: 18px !important; }
.eb-article-body li { margin-bottom: 8px; }
.eb-article-body .wp-block-table { border-radius: 14px; border: 1px solid var(--eb-line); }
.eb-article-body table { border-collapse: collapse; }
.eb-article-body th, .eb-article-body td { border: 0 !important; border-bottom: 1px solid var(--eb-line) !important; padding: 14px 16px !important; }
.eb-article-body thead th { background: var(--eb-panel); color: var(--eb-white); font-weight: 600; }
.eb-article-body tr:last-child td { border-bottom: 0 !important; }
.eb-article-body figure.wp-block-image img { border-radius: 14px; }
.eb-article-closing { width: min(800px, calc(100% - 40px)) !important; padding-top: 30px !important; }
.eb-site .eb-article-closing h2 { font-size: 30px !important; letter-spacing: -.5px; margin: 40px 0 22px !important; }
.eb-article-form { width: 100% !important; padding: 30px; border-radius: var(--eb-radius); background: var(--eb-panel); }
.eb-article-closing .wp-block-social-links { gap: 12px; }
.eb-article-closing .wp-social-link a { padding: 12px !important; border-radius: 50%; background: var(--eb-panel); }
.eb-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.eb-related-media { display: block; overflow: hidden; border-radius: 12px; margin-bottom: 14px; }
.eb-related-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--eb-ease); }
.eb-related-card:hover img { transform: scale(1.04); }
.eb-related-date { color: var(--eb-accent); font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px !important; }
.eb-related h3 { font-size: 18px; line-height: 1.4; letter-spacing: 0; }
.eb-related h3 a { color: var(--eb-white); }
.eb-related h3 a:hover { color: var(--eb-accent); }

/* Forms */
.eb-form { position: relative; }
.eb-field { margin-bottom: 18px; }
.eb-field label span { color: var(--eb-accent); }
.eb-form input, .eb-form textarea { transition: border-color .2s; }
.eb-form input:focus, .eb-form textarea:focus { outline: none; border-bottom-color: var(--eb-accent); }
.eb-form input:user-invalid, .eb-form textarea:user-invalid { border-bottom-color: var(--eb-error); }
.eb-form button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.eb-form-note { margin-top: 14px; font-size: 13px; color: var(--eb-muted); }
.eb-form [data-aomark-protection-status]:empty { display: none; }
.eb-form [data-aomark-protection-status] { margin-top: 12px; color: var(--eb-error); font-size: 14px; }
.eb-form .aomark-guard-note, .eb-form [class*="honeypot"] { position: absolute !important; left: -9999px !important; }

/* FAQ */
.eb-faq { display: grid; gap: 12px; }
.eb-faq details { border: 1px solid var(--eb-line); border-radius: 14px; background: var(--eb-panel); transition: border-color .25s; }
.eb-faq details[open] { border-color: rgba(198, 228, 255, .35); }
.eb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; color: var(--eb-white); font-size: 18px; font-weight: 500; line-height: 1.4; }
.eb-faq summary::-webkit-details-marker { display: none; }
.eb-faq summary::after { content: ''; flex: 0 0 18px; height: 18px; background: var(--eb-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--eb-ease); }
.eb-faq details[open] summary::after { transform: rotate(180deg); }
.eb-faq details > :not(summary) { padding: 0 24px 22px; margin: 0; }

/* Tool pages */
.eb-tool-page .eb-stage { padding-block: 70px; }
.eb-tool-section { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.eb-tool-section > h2, .eb-tool-copy > h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -1px; line-height: 1.2; margin: 0 0 18px; }
.eb-tool-copy { width: min(800px, calc(100% - 40px)); margin-inline: auto; padding-bottom: 30px; }
.eb-tool-copy > p, .eb-tool-copy > ul { margin-bottom: 18px; font-size: 17px; line-height: 1.85; }
.eb-tool-copy > h3 { font-size: 24px; letter-spacing: -.5px; margin: 30px 0 12px; }
.eb-tool-copy > .eb-faq { margin: 10px 0 40px; }
.eb-tool-copy table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.eb-tool-copy th, .eb-tool-copy td { padding: 12px 14px; border: 0 !important; border-bottom: 1px solid var(--eb-line) !important; text-align: left; }
.eb-tool-copy thead, .eb-article-body thead { border-bottom: 0 !important; }
.eb-tool-copy tr:last-child td { border-bottom: 0 !important; }
.eb-tool-copy thead th { color: var(--eb-white); background: var(--eb-panel); }
.eb-tool-copy .wp-block-table { border: 1px solid var(--eb-line); border-radius: 14px; overflow-x: auto; }
.eb-tool-intro { width: min(800px, calc(100% - 40px)); margin: 0 auto 36px; text-align: center; font-size: 18px; }
.eb-tool-shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.eb-tool { border-radius: 24px; background: var(--eb-panel); border: 1px solid var(--eb-line); padding: clamp(22px, 4vw, 44px); }
.eb-tool--domet, .eb-tool--velicina { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.eb-fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.eb-fieldset legend { padding: 0; margin-bottom: 14px; color: var(--eb-accent); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.eb-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eb-input label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--eb-white); font-size: 14px; font-weight: 500; }
.eb-input label svg { color: var(--eb-accent); }
.eb-input small { color: var(--eb-muted); font-weight: 400; }
.eb-select, .eb-number { position: relative; display: flex; align-items: center; }
.eb-select select, .eb-number input { width: 100%; min-height: 50px; padding: 10px 16px; border: 1px solid #2e333a; border-radius: 12px; background: #0b0d10; color: var(--eb-white); font: inherit; font-size: 16px; appearance: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s; }
.eb-select select { padding-right: 42px; cursor: pointer; }
.eb-select svg { position: absolute; right: 14px; pointer-events: none; color: var(--eb-muted); }
.eb-number input { padding-right: 86px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.eb-number input::-webkit-outer-spin-button, .eb-number input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.eb-number span { position: absolute; right: 14px; color: var(--eb-muted); font-size: 13px; pointer-events: none; }
.eb-select select:focus, .eb-number input:focus { outline: none; border-color: var(--eb-accent); box-shadow: 0 0 0 4px var(--eb-accent-dim); }
.eb-wh { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--eb-muted); }
.eb-wh strong { color: var(--eb-white); font-variant-numeric: tabular-nums; }
.eb-range, .eb-size { position: sticky; top: 110px; border-radius: 20px; background: linear-gradient(160deg, #1a2330 0%, #0e1116 70%); border: 1px solid rgba(198, 228, 255, .18); padding: 30px; }
.eb-range-label { color: var(--eb-accent); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.eb-range-value, .eb-size-value { margin: 8px 0 2px; color: var(--eb-white); font-size: clamp(54px, 7vw, 80px); font-weight: 500; line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.eb-range-value span { font-size: inherit; }
.eb-range-span, .eb-size-detail { color: #dfe3e8; font-size: 15px; }
.eb-meter { height: 8px; margin: 22px 0 24px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.eb-meter span { display: block; height: 100%; border-radius: inherit; background: var(--eb-accent); transform-origin: left; transform: scaleX(.3); transition: transform .5s var(--eb-ease); }
.eb-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.eb-stats div { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.eb-stats dt { font-size: 12px; color: var(--eb-muted); text-transform: uppercase; letter-spacing: 1px; }
.eb-stats dd { margin: 4px 0 0; color: var(--eb-white); font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.eb-range-note { margin-top: 18px; font-size: 14px; line-height: 1.7; color: #b8bdc4; }
.eb-segment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.eb-choice { position: relative; display: block; cursor: pointer; }
.eb-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.eb-choice span { display: flex; align-items: center; min-height: 52px; height: 100%; padding: 12px 16px; border: 1px solid #2e333a; border-radius: 12px; background: #0b0d10; color: #e3e6ea; font-size: 15px; line-height: 1.35; transition: border-color .2s, background-color .2s, color .2s; }
.eb-choice:hover span { border-color: #4a525c; }
.eb-choice input:checked + span { border-color: var(--eb-accent); background: var(--eb-accent-dim); color: var(--eb-white); box-shadow: inset 0 0 0 1px var(--eb-accent); }
.eb-choice input:focus-visible + span { outline: 2px solid var(--eb-accent); outline-offset: 3px; }
.eb-q-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.eb-q { border: 0; margin: 0; padding: 0; min-width: 0; border-radius: 14px; transition: box-shadow .3s; }
.eb-q legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; color: var(--eb-white); font-size: 17px; font-weight: 500; }
.eb-q legend svg { color: var(--eb-accent); }
.eb-q-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.eb-q.is-missing { box-shadow: 0 0 0 2px var(--eb-error), 0 0 0 10px rgba(255, 180, 168, .08); }
.eb-tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--eb-line); }
.eb-tool-progress { margin: 0 auto 0 0; color: var(--eb-muted); font-size: 14px; }
.eb-tool-progress span { color: var(--eb-white); font-weight: 600; }
.eb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 100px; background: var(--eb-accent); color: #000; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.eb-btn:hover { background: var(--eb-white); color: #000; }
.eb-btn--ghost { background: transparent; color: var(--eb-white); box-shadow: inset 0 0 0 1px #3a4048; }
.eb-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: var(--eb-white); }
.eb-tool-result { margin-top: 34px; padding: clamp(22px, 4vw, 38px); border-radius: 20px; background: linear-gradient(160deg, #1a2330 0%, #0e1116 70%); border: 1px solid rgba(198, 228, 255, .2); scroll-margin-top: 110px; }
.eb-tool-result:focus { outline: none; }
.eb-motion .eb-tool-result.is-in { animation: eb-rise .55s var(--eb-ease) both; }
@keyframes eb-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.eb-result-head h3 { margin: 6px 0 10px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -1px; line-height: 1.15; }
.eb-result-head p:last-child { max-width: 720px; color: #dfe3e8; }
.eb-result-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; }
.eb-result-specs div { padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.eb-result-specs div:last-child { grid-column: 1 / -1; }
.eb-result-specs dt { color: var(--eb-accent); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.eb-result-specs dd { margin: 6px 0 0; color: #eceef1; font-size: 15px; line-height: 1.6; }
.eb-result-warning { display: flex; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 180, 168, .08); border: 1px solid rgba(255, 180, 168, .3); color: #f5ddd8; }
.eb-result-warning svg { color: var(--eb-error); margin-top: 3px; }
.eb-result-warning a { color: var(--eb-white); text-decoration: underline; }
.eb-result-tips { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.eb-result-tips li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.eb-result-tips svg { color: var(--eb-accent); margin-top: 4px; }
.eb-result-next { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eb-result-read { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--eb-line); }
.eb-result-read > p { color: var(--eb-muted); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.eb-result-read ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.eb-result-read a { display: inline-flex; align-items: center; gap: 6px; }
.eb-size-value span { font-size: inherit; }

/* Footer: four columns on the shared grid */
.eb-footer-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr !important; gap: 40px !important; min-height: 0 !important; padding-bottom: 50px; }
.eb-footer-logo img { width: 300px !important; }
@media (max-width: 767px) { .eb-footer-logo img { width: 182px !important; } }
.eb-footer-description { margin-top: 22px; max-width: 320px; }
.eb-footer-cta { margin-top: 26px; }
.eb-footer-cta .wp-block-button__link { min-height: 44px; padding: 8px 24px; font-size: 13px; }
.eb-footer-links h4 { margin-bottom: 22px !important; color: var(--eb-white); }
.eb-footer-navigation .wp-block-navigation__container { gap: 12px !important; }
.eb-footer-navigation a { line-height: 1.5; transition: color .2s; }
.eb-footer-navigation a:hover { color: var(--eb-accent) !important; }
.eb-copyright { font-size: 14px; color: var(--eb-muted); }
.eb-site .eb-footer { margin-top: 0 !important; }
.eb-sidebar > *, .eb-sidebar .wp-block-query { margin-block: 0 !important; }

/* Responsive */
@media (max-width: 1024px) {
    .eb-blog-layout { grid-template-columns: 1fr !important; }
    .eb-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
    .eb-sidebar > .eb-search { grid-column: 1 / -1; max-width: none; }
    .eb-tools-list--cards { grid-template-columns: 1fr; }
    .eb-tool--domet, .eb-tool--velicina { grid-template-columns: 1fr; }
    .eb-range, .eb-size { position: static; }
    .eb-footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 767px) {
    .eb-hero h1 { font-size: 44px; letter-spacing: -1.5px; }
    .eb-hero::after { background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .2) 100%); }
    .eb-hero-copy { justify-content: flex-end; padding-bottom: 60px; }
    .eb-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
    .eb-hero .wp-block-button__link { width: 100%; }
    h2 { font-size: 38px !important; letter-spacing: -1px !important; }
    .eb-opening { min-height: 300px; padding: 110px 0 50px; }
    .eb-article-banner { min-height: 380px; padding-top: 110px; }
    .eb-topic-card { padding: 34px 28px !important; }
    .eb-topic-card .eb-eyebrow { top: 34px; right: 28px; }
    .eb-card-grid .wp-block-post-template { grid-template-columns: 1fr; gap: 36px; }
    .eb-sidebar { display: flex; margin-top: 64px !important; }
    .eb-article-banner nav.eb-breadcrumb > span:last-child, .eb-article-banner nav.eb-breadcrumb > .eb-crumb-sep:nth-last-child(2) { display: none; }
    .eb-related { grid-template-columns: 1fr; }
    .eb-article-body { font-size: 16px; }
    .eb-article-form { padding: 22px 18px; }
    .eb-q-grid, .eb-inputs, .eb-result-specs { grid-template-columns: 1fr; }
    .eb-tool-shell, .eb-tool-section { width: calc(100% - 24px); }
    .eb-tool { padding: 18px 14px; border-radius: 18px; }
    .eb-tool--domet .eb-range, .eb-tool--velicina .eb-size { order: -1; }
    .eb-tool-intro { font-size: 16px; text-align: left; }
    .eb-q-options { grid-template-columns: 1fr 1fr; }
    .eb-tool-actions .eb-btn { width: 100%; }
    .eb-tool-progress { width: 100%; }
    .eb-range, .eb-size { padding: 24px 20px; }
    .eb-stats dd { font-size: 17px; }
    .eb-stats dt { font-size: 11px; letter-spacing: .5px; }
    .eb-faq summary { padding: 18px; font-size: 16px; }
    .eb-faq details > :not(summary) { padding: 0 18px 18px; }
    .eb-footer-grid { grid-template-columns: 1fr !important; display: grid !important; min-height: 0 !important; gap: 34px !important; }
    .eb-footer-description, .eb-footer-links { width: auto !important; margin-top: 0 !important; }
    .eb-footer-brand .eb-footer-description { margin-top: 18px; }
    .eb-pagination .wp-block-query-pagination-previous span, .eb-pagination .wp-block-query-pagination-next span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .eb-topic-card:hover, .eb-tool-card a:hover { transform: none; }
    .eb-card-grid .wp-block-post:hover .wp-block-post-featured-image img, .eb-related-card:hover img { transform: none; }
}

/* Kontakt page (Alex 2026-10-20: "prazan"): copy + reasons on the left, form panel on the right, tools and FAQ below */
.eb-opening::after { background: linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .55) 35%, rgba(0, 0, 0, .6) 100%) !important; }
.eb-contact-v2 { padding-bottom: 110px !important; }
.eb-contact-v2 h2, .eb-contact-v2 .eb-eyebrow { text-align: left !important; }
.eb-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 70px; align-items: start; }
.eb-contact-lead { margin-top: 22px !important; max-width: 520px; font-size: 18px; color: #dfe3e8; }
.eb-contact-points { display: grid; gap: 14px; margin-top: 40px !important; }
.eb-contact-point { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; padding: 22px 24px; border-radius: var(--eb-radius); background: var(--eb-panel); border: 1px solid var(--eb-line); transition: border-color .3s; }
.eb-contact-point:hover { border-color: rgba(198, 228, 255, .35); }
.eb-contact-point > .eb-icon, .eb-contact-point > p:first-child { grid-row: span 2; }
.eb-contact-point .eb-icon { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--eb-accent-dim); color: var(--eb-accent); box-sizing: border-box; }
.eb-contact-point h3 { font-size: 19px !important; line-height: 1.35 !important; letter-spacing: -.2px !important; margin: 2px 0 0 !important; }
.eb-contact-point p { margin: 0 !important; font-size: 15px; line-height: 1.65; }
.eb-contact-panel { position: sticky; top: 120px; padding: 36px 34px 30px; border-radius: 24px; background: linear-gradient(160deg, #1a2330 0%, #0e1116 75%); border: 1px solid rgba(198, 228, 255, .18); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.eb-contact-panel h3 { font-size: 28px !important; letter-spacing: -.8px !important; margin: 0 0 8px !important; }
.eb-contact-panel-note { font-size: 14px; color: var(--eb-muted); margin-bottom: 26px !important; }
.eb-contact-panel .eb-form-note { display: none; }
.eb-contact-quick { background: var(--eb-stage); }
.eb-contact-quick-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.eb-contact-quick-copy h2 { font-size: clamp(32px, 3.8vw, 48px) !important; letter-spacing: -1.2px !important; line-height: 1.15; }
.eb-contact-quick-copy > p:not(.eb-eyebrow) { margin: 20px 0 30px !important; max-width: 480px; }
.eb-contact-quick-faq h3 { font-size: 24px !important; letter-spacing: -.5px !important; margin: 0 0 20px !important; }
@media (max-width: 1024px) {
    .eb-contact-grid, .eb-contact-quick-grid { grid-template-columns: 1fr; gap: 50px; }
    .eb-contact-panel { position: static; }
}
@media (max-width: 767px) {
    .eb-contact-v2 { padding-bottom: 70px !important; }
    .eb-contact-panel { padding: 26px 20px; border-radius: 18px; }
    .eb-contact-point { grid-template-columns: 42px minmax(0, 1fr); padding: 18px; }
    .eb-contact-point .eb-icon { width: 42px; height: 42px; padding: 10px; }
}
