/*
Theme Name: БХСС
Description: Одобреният дизайн на БХСС с визуално редактиране през Elementor Free.
Version: 0.1.0
Text Domain: bhss
*/
.wp-admin-bar .site-header{top:0}
.wp-content{max-width:var(--max);margin:auto;padding:60px 40px}
.wp-content p{line-height:1.8;margin:20px 0;color:var(--ink-soft)}
.wp-content h2{margin:48px 0 24px;font-size:clamp(1.7rem,3vw,2.7rem)}
.wp-content .wp-block-image img{height:auto}
.wp-content .wp-block-gallery{margin-block:36px}
.wp-content .wp-block-button__link{background:var(--ink);color:var(--white);border-radius:5px;padding:14px 24px;font-weight:700}
.wp-content .wp-block-group{margin-block:32px}
.wp-content a:not(.wp-block-button__link){text-decoration:underline;text-underline-offset:4px}
.story-body .wp-block-gallery img{height:auto}
.bhss-group-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px}
.bhss-group-list article{border-top:1px solid var(--rule);padding-top:24px}
.bhss-group-list h3{font-size:1.4rem;margin-bottom:20px}
.bhss-group-list img{width:100%;height:auto;margin-bottom:20px}
.wp-content .wp-block-columns{gap:40px}
.bhss-featured-event .archive-hero-photo{aspect-ratio:auto}
.bhss-featured-event .archive-hero-photo img{object-fit:contain;height:auto;max-height:580px}
@media(max-width:620px){.wp-content{padding:40px 22px}.header-inner{gap:12px}}

/* Leave room for the privacy link on every page. */
.footer-bottom{flex-wrap:wrap;gap:16px 28px}

/* Compact language navigation stays visible beside the mobile menu. */
.header-languages{display:flex;align-items:center;gap:2px;flex-shrink:0}
.header-language{display:flex;align-items:center;justify-content:center;position:relative;width:40px;height:44px;flex-shrink:0;font-size:.8rem;font-weight:700;line-height:1;color:var(--ink)}
.header-language:hover,.header-language[aria-current="true"]{color:#9e4f0a}
.header-language::after{content:"";position:absolute;bottom:5px;left:8px;right:8px;height:2px;background:var(--orange);opacity:0}
.header-language:hover::after,.header-language[aria-current="true"]::after{opacity:1}
.header-language:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:3px}
@media(max-width:1200px) and (min-width:981px){.header-inner{gap:12px}.desktop-nav{gap:12px}.header-actions{gap:8px}}
@media(max-width:480px){.header-inner{gap:8px}.header-actions{gap:4px}.header-languages{gap:0}.site-header .brand-name{display:none}.header-language{width:36px}}
