/* Сатео 2.0 – WordPress-specific adjustments on top of site.css */
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
#wpadminbar { position: fixed; }
.wp-site-blocks > * { margin-block-start: 0; }
main.wp-block-post-content > * { margin-block-start: 0; }
.wp-block-group:empty { display: none; }

/* header: [sateo_nav] [sateo_cta] [sateo_brand] */
.top-in > .wp-block-html, .top-in > p { display: contents; }
/* the mobile drawer sits inside the header here: keep the logo card above it and show its order button */
.top .brand { z-index: 51; }
/* WordPress removes the top margin of a group's first child – the logo card is first now, keep it hanging */
.top .top-in > a.brand { margin-block-start: 14px; }
@media (max-width: 560px) { .top .top-in > a.brand { margin-block-start: 10px; } }
@media (max-width: 1080px) { .top .drawer .btn.cta { display: inline-flex; } }

/* hero built from blocks */
.hero-text > * { margin: 0; }
.hero-text p.sticker { max-width: none; }
.hero-art img { max-width: none; }

/* sections */
.band-sec { padding-top: 0; }
.prose > *, .head > *, .callout > *, .glass > * { margin: 0; }
.head .lead { max-width: 66ch; }
p.more { margin-top: 24px; font-weight: 700; }
.lang-sec { padding-block: 56px; }
.lang-sec .wrap { display: grid; gap: 22px; }
.lang-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; justify-content: space-between; }
.lang-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.lang-head p { font-weight: 700; }
.split.mid { align-items: center; }
.stack { display: grid; gap: 28px; }
.values .card p { margin-top: 10px; }

/* editable black & white photos (Image block with class „photo“) */
.wp-block-image.photo { margin: 0; }
.wp-block-image.photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.wp-block-image.photo figcaption { margin: 0; }

/* accordion (Details blocks) in the square look */
.acc { display: block; }
.acc details { border-top: 1.5px solid var(--ink); }
.acc details:first-child { border-top: 0; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 14px; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; background: var(--c); color: var(--on-c); border: var(--b) solid var(--ink); font-weight: 700; flex: none; transition: transform .25s, background-color .6s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); font-size: 15px; max-width: 80ch; }
p.warn { margin-top: 16px; }

/* contacts */
.mails .pin { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mails .muted { font-size: 14px; }
.brand svg, .tile svg.mini, .foot .fb svg { overflow: visible; }
.svc .ic svg, .office li svg, .links a svg { display: block; }
.groups .card h3 i { font-style: normal; }

/* pages from theme v0.1/v0.2 (old “Силата на думите” hero) – wp.js turns them into the new layout */
.hero .hero-text.wp-block-group { background: none; border: 0; box-shadow: none; padding: 0; max-width: none; }

/* Logo on the right, menu on the left (Външен вид → Настройки на Сатео) */
.logo-right .top-in .brand { order: 5; }
.logo-right .top .nav { margin-left: 0; margin-right: auto; }
@media (max-width: 1080px) { .logo-right .top-in .burger { margin-left: 0; margin-right: auto; } }

/* 2.1 – footer built from editable blocks (Външен вид → Редактор → Шаблонни части → Футър) */
.site-foot .wp-block-group > *, .site-foot .wrap > * { margin-block-start: 0; }
.site-foot p.foot-say { margin: 0 0 44px; max-width: none; font-size: clamp(40px, 6vw, 76px); color: #fff; }
.foot > .wp-block-group > * { margin: 0; }
.foot > .wp-block-group > h4 { margin: 0 0 14px; }
.foot ul.wp-block-list li { margin: 0; line-height: 1.45; }
.foot > .wp-block-group > p { margin-top: 16px; }
.foot > .wp-block-group > h4.gap { margin-top: 22px; }
.foot .fb span { display: block; font-size: 13px; line-height: 1.4; color: #B8B8B0; }
.foot ul.wp-block-list { list-style: none; padding: 0; }
.foot a { color: inherit; }
.foot .foot-social { margin-top: 18px; gap: 10px; }
.foot .foot-social .wp-social-link { color: #fff; }
.site-foot .legal > p { margin: 0; font-size: 13px; color: var(--grey); max-width: none; }
