/* ID Imperial v0.3.44 — targeted polish (see inc/polish-0344.php). */

/* Contacts: the H1 is the hero's only heading (the yellow „КОНТАКТИ“ badge was removed from page-contacts.php);
   with the badge gone the heading starts at the hero's top padding, so the block sits evenly in the green band. */
.idi-contact-react-hero h1{margin:0 0 .8rem}
.idi-contact-react-hero p{margin:0}

/* Home „Топ продукти“: category tabs wider than the screen get edge fades and a small arrow (assets/js/home.js).
   On phones a tab is a little narrower, so part of the next category is always visible at the right edge. */
.idi-home-tabs-rail{position:relative;min-width:0;margin:0 0 clamp(1.3rem,3vw,1.9rem)}
.idi-home-tabs-rail>.idi-home-product-tabs{position:relative;margin-bottom:0}
.idi-home-tabs-rail__btn{display:none}
@media(max-width:860px){
	.idi-home-tabs-rail::before,.idi-home-tabs-rail::after{content:"";position:absolute;top:1px;bottom:1px;z-index:1;width:3.25rem;pointer-events:none;opacity:0;transition:opacity .2s ease}
	.idi-home-tabs-rail::before{left:1px;border-radius:1rem 0 0 1rem;background:linear-gradient(90deg,#fff 25%,rgba(255,255,255,0))}
	.idi-home-tabs-rail::after{right:1px;border-radius:0 1rem 1rem 0;background:linear-gradient(270deg,#fff 25%,rgba(255,255,255,0))}
	.idi-home-tabs-rail.has-prev::before,.idi-home-tabs-rail.has-next::after{opacity:1}
	.idi-home-tabs-rail__btn{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:2rem;height:2rem;margin-top:-1rem;padding:0;border:1px solid var(--home-line,#dde8dd);border-radius:50%;background:#fff;color:var(--home-green,#174a2c);box-shadow:0 .25rem .75rem rgba(13,51,33,.16);cursor:pointer}
	.idi-home-tabs-rail__btn[hidden]{display:none}
	.idi-home-tabs-rail__btn.is-prev{left:.4rem}
	.idi-home-tabs-rail__btn.is-next{right:.4rem}
	.idi-home-tabs-rail__btn svg{width:1rem;height:1rem}
}
@media(max-width:480px){
	.idi-home-product-tabs button{min-width:clamp(8.25rem,41vw,10.5rem)}
}
@media(prefers-reduced-motion:reduce){
	.idi-home-tabs-rail::before,.idi-home-tabs-rail::after{transition:none}
}

/* Home technology banner on phones (v0.3.45, the section's own 760px breakpoint): the „Технологии по култури“
   links list (four links with icons) is left out; eyebrow, heading, description and „Виж всички технологии“ stay.
   The banner is a single flex column there, so nothing else holds space; the panel's bottom padding matches its top
   (1.5rem) so the green block ends evenly below the CTA. Desktop and tablet unchanged. */
@media(max-width:760px){
	.idi-home-techbanner__links{display:none}
	.idi-home-techbanner__panel{padding-bottom:1.5rem}
}

/* Technology pages: the mobile „Съдържание“ summary keeps only its disclosure marker (the decorative arrow is
   hidden here and nowhere else). */
.idtech-mobile-toc>summary>svg{display:none}
