/* fintechbox magazín 1.0.0 */
:root{--fb-ink:#1E1720;--fb-soft:#4A4150;--fb-muted:#6B6270;--fb-paper:#F4F2EE;--fb-line:#E4DED6;--fb-violet:#7014F4;--fb-tint:#EFE8FD;--fb-grad:linear-gradient(135deg,#F0509A 0%,#7014F4 52%,#3D7BF7 100%);--fb-r:20px}
body{-webkit-font-smoothing:antialiased}
:where(.wp-site-blocks)>*{margin-block-start:0}
a:focus-visible,button:focus-visible{outline:3px solid #F0509A;outline-offset:2px}

/* logo */
.fb-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#fff}
.fb-mark{flex:none;display:block}
.fb-wm{font-weight:700;font-size:1.6rem;letter-spacing:-.04em;line-height:1}
.fb-wm__box{background:linear-gradient(135deg,#FF8CC3,#B48CFF 55%,#8DB4FF);-webkit-background-clip:text;background-clip:text;color:transparent}

/* header */
.fb-header{background:var(--fb-ink);color:#fff;position:sticky;top:0;z-index:50}
.admin-bar .fb-header{top:32px}
.fb-header__in{max-width:1240px;margin:0 auto;padding:14px 24px;gap:16px;align-items:center}
.fb-header .wp-block-shortcode,.fb-header p{margin:0}
.fb-nav{font-weight:500;font-size:.95rem}
.fb-nav .wp-block-navigation-item__content{color:#E6DFF0;padding:9px 15px;border-radius:999px;transition:background .15s,color .15s}
.fb-nav .wp-block-navigation-item__content:hover,.fb-nav .current-menu-item>.wp-block-navigation-item__content{background:#fff;color:var(--fb-ink)}
.fb-nav .wp-block-navigation__submenu-container{background:var(--fb-ink)!important;border:1px solid #3A303C!important;border-radius:14px;padding:8px}
.fb-nav .wp-block-navigation__responsive-container.is-menu-open{background:var(--fb-ink)!important;color:#fff!important}
.fb-nav .wp-block-navigation__responsive-container-open svg,.fb-nav .wp-block-navigation__responsive-container-close svg{fill:#fff}
.fb-search .wp-block-search__button{background:transparent;border:1px solid #4A3F4C;color:#fff;border-radius:999px;width:44px;height:44px;padding:0;display:flex;align-items:center;justify-content:center}
.fb-search .wp-block-search__button svg{fill:currentColor}
.fb-search .wp-block-search__input{border-radius:999px;border:1px solid #4A3F4C;background:#2A222C;color:#fff}
.fb-ticker-wrap{border-top:1px solid #3A303C}
.fb-ticker{max-width:1240px;margin:0 auto;padding:9px 24px;display:flex;gap:26px;overflow-x:auto;white-space:nowrap;font-size:.85rem;color:#CFC6D6;scrollbar-width:none}
.fb-ticker::-webkit-scrollbar{display:none}
.fb-ticker b{color:#fff;font-weight:500}
.fb-ticker__label{color:#fff;font-weight:700}
.fb-ticker__date{color:#9C90A4}

/* layout */
.fb-main{padding-top:36px;padding-bottom:72px}
.fb-main>*+*{margin-top:44px}
.fb-section-title{font-size:var(--wp--preset--font-size--h2);margin:0}

/* pills */
.fb-pill{display:flex;flex-wrap:wrap;gap:6px;font-size:.8rem;font-weight:500;margin:0}
.fb-pill a{background:var(--fb-tint);color:var(--fb-violet);padding:5px 12px;border-radius:999px;text-decoration:none}
.fb-pill a:hover{background:var(--fb-violet);color:#fff}
.fb-pill .wp-block-post-terms__separator{display:none}
.fb-pill--light a{background:#fff;color:var(--fb-ink)}

/* hero bento */
.fb-hero-q,.fb-side-q{margin:0!important}
.fb-main>.fb-hero-q{float:none}
@media(min-width:900px){
 .fb-main{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:20px;row-gap:44px}
 .fb-main>*{grid-column:1/-1;margin-top:0!important}
 .fb-main>.fb-hero-q{grid-column:1/span 8}
 .fb-main>.fb-side-q{grid-column:9/span 4}
 .fb-article{display:block}
 .fb-article>*+*{margin-top:28px!important}
}
.fb-hero{list-style:none;margin:0;padding:0;height:100%}
.fb-hero>li{height:100%}
.fb-hero__card{position:relative;overflow:hidden;min-height:440px;height:100%;box-sizing:border-box;background:var(--fb-ink);color:#fff;border-radius:24px;padding:36px;display:flex;flex-direction:column;justify-content:flex-end;gap:14px}
.fb-hero__card::before{content:"";position:absolute;right:-70px;top:-70px;width:420px;height:420px;opacity:.55;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23F0509A'/%3E%3Cstop offset='.52' stop-color='%237014F4'/%3E%3Cstop offset='1' stop-color='%233D7BF7'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M17 26h24l-7-7M47 38H23l7 7' fill='none' stroke='url(%23g)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.fb-hero__card>*{position:relative;margin:0}
.fb-hero__title{font-size:clamp(1.9rem,1.2rem + 2.2vw,2.8rem);line-height:1.08;letter-spacing:-.03em;max-width:760px}
.fb-hero__title a{color:#fff;text-decoration:none}
.fb-hero__title a:hover{color:#C9B6FF}
.fb-hero__excerpt{color:#CFC6D6;font-size:var(--wp--preset--font-size--lead);max-width:640px}
.fb-hero__excerpt .wp-block-post-excerpt__more-text{display:none}
.fb-hero__date{color:#9C90A4}
.fb-side{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px;height:100%}
.fb-side>li{flex:1;display:flex}
.fb-tile{flex:1;background:#fff;border:1px solid var(--fb-line);border-radius:24px;padding:26px;display:flex;flex-direction:column;gap:12px}
.fb-tile h3{margin:0;font-size:1.3rem;line-height:1.25}
.fb-tile h3 a{color:var(--fb-ink);text-decoration:none}
.fb-tile h3 a:hover{color:var(--fb-violet)}

/* post cards */
.fb-grid{gap:20px!important}
.fb-post-card{background:#fff;border:1px solid var(--fb-line);border-radius:var(--fb-r);overflow:hidden;height:100%;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}
.fb-post-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(30,23,32,.10)}
.fb-post-card .wp-block-post-featured-image{margin:0}
.fb-post-card .wp-block-post-featured-image img{aspect-ratio:16/9;object-fit:cover;width:100%;display:block}
.fb-post-card__body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:10px}
.fb-post-card__body>*{margin:0}
.fb-post-card h2,.fb-post-card h3{font-size:1.15rem;line-height:1.3;margin:0}
.fb-post-card h2 a,.fb-post-card h3 a{color:var(--fb-ink);text-decoration:none}
.fb-post-card h2 a:hover,.fb-post-card h3 a:hover{color:var(--fb-violet)}

/* značková karta namiesto fotky */
.fb-figure{margin:0}
.fb-figure>a{display:block}
.fb-card{aspect-ratio:16/9;display:flex;align-items:flex-end;justify-content:space-between;padding:18px;box-sizing:border-box;position:relative;overflow:hidden}
.fb-card__label{position:relative;font-weight:700;font-size:1.25rem;letter-spacing:-.02em;line-height:1.1}
.fb-card__arrows{position:absolute;right:-18px;top:-18px;opacity:.95}
.fb-card__arrows .fb-mark{width:120px;height:120px}
.fb-card--ink{background:var(--fb-ink);color:#fff}
.fb-card--violet{background:var(--fb-violet);color:#fff}
.fb-card--violet .fb-mark rect{fill:#5A0FD0}
.fb-card--tint{background:var(--fb-tint);color:var(--fb-ink)}
.fb-card--tint .fb-mark rect{fill:#fff}
.fb-card--blue{background:#3D7BF7;color:#fff}
.fb-card--blue .fb-mark rect{fill:#2F63D6}
.fb-post-card:hover .fb-card__arrows{transform:translateX(-6px);transition:transform .25s ease}

/* sesterský web */
.fb-family{background:var(--fb-ink);color:#fff;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:14px}
.fb-family>*{margin:0}
.fb-kicker{font-size:.85rem;font-weight:700;color:#C9B6FF;margin:0}
.fb-family__title{font-size:clamp(1.3rem,1rem + 1vw,1.7rem);font-weight:700;line-height:1.25;max-width:760px}
.fb-btn-light .wp-block-button__link{background:#fff;color:var(--fb-ink)}
.fb-btn-light .wp-block-button__link:hover{background:#C9B6FF;color:var(--fb-ink)}

/* článok */
.fb-article__head{display:flex;flex-direction:column;gap:14px}
.fb-article__head>*{margin:0}
.fb-article h1{letter-spacing:-.03em}
.fb-meta{gap:6px 18px;color:var(--fb-muted);font-size:.9rem}
.fb-meta>*{margin:0}
.fb-content{font-size:var(--wp--preset--font-size--body)}
.fb-content h2{margin-top:2.2em}
.fb-content h3{margin-top:1.8em}
.fb-content img{border-radius:14px;height:auto}
.fb-content table{border-collapse:collapse;width:100%;font-size:.95rem}
.fb-content .wp-block-table{overflow-x:auto}
.fb-content th,.fb-content td{border-bottom:1px solid var(--fb-line);padding:10px 12px;text-align:left}
.fb-content th{background:#fff}
.fb-content blockquote{border:0;background:#fff;border-radius:16px;padding:20px 24px;margin-left:0;margin-right:0}
.fb-related{margin-top:64px!important}
.fb-archive-title{margin:0}

/* pätička */
.fb-footer{background:var(--fb-ink);color:#CFC6D6;font-size:.95rem}
.fb-footer a{color:#fff}
.fb-footer__in{max-width:1240px;margin:0 auto;padding:44px 24px 24px;gap:32px}
.fb-footer__about{max-width:440px;display:flex;flex-direction:column;gap:14px}
.fb-footer__about>*,.fb-footer__family>*{margin:0}
.fb-footer__family{max-width:420px;display:flex;flex-direction:column;gap:8px}
.fb-footer__legal{max-width:1240px;margin:0 auto;padding:20px 24px 40px;border-top:1px solid #3A303C;font-size:.85rem;color:#9C90A4}
.fb-footer__legal p{margin:0}

@media(max-width:781px){
 .fb-header{position:static}
 .fb-hero__card{min-height:380px;padding:26px}
 .fb-grid.is-layout-grid{grid-template-columns:1fr!important}
 .fb-family{padding:24px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
