/*
 * Klasni Core: layout pieces the theme's own CSS does not provide.
 * Brand tokens: ink #39352D, green #114732, gold #D2B57E, cream #FCFBFA.
 */

/* ---- Column grid used by the icons widget (and any other columned block) ---- */
.trx_addons_columns_wrap{display:flex;flex-wrap:wrap;margin-left:-15px;margin-right:-15px}
.trx_addons_columns_wrap>[class*="trx_addons_column-"]{box-sizing:border-box;padding-left:15px;padding-right:15px;min-width:0}
.trx_addons_columns_wrap.columns_padding_bottom>[class*="trx_addons_column-"]{padding-bottom:30px}
.trx_addons_column-1_1{width:100%}
.trx_addons_column-1_2{width:50%}
.trx_addons_column-1_3{width:33.3333%}
.trx_addons_column-1_4{width:25%}
.trx_addons_column-1_5{width:20%}
.trx_addons_column-1_6{width:16.6667%}
@media (max-width:1023px){
	.trx_addons_column-1_1-tablet{width:100%}
	.trx_addons_column-1_2-tablet{width:50%}
	.trx_addons_column-1_3-tablet{width:33.3333%}
	.trx_addons_column-1_4-tablet{width:25%}
	.trx_addons_column-1_5-tablet{width:20%}
	.trx_addons_column-1_6-tablet{width:16.6667%}
}
@media (max-width:767px){
	.trx_addons_columns_wrap>[class*="trx_addons_column-"]{width:100%}
}

/* ---- Icons: one glyph (the markup carries it twice), brand colours ---- */
.sc_icons_icon>span{display:none!important}
.sc_icons_creative .sc_icons_icon,
.sc_icons_creative .sc_icons_icon:before{color:#114732}
.sc_icons_creative .sc_icons_item{flex-direction:column;align-items:center;text-align:center}
.sc_icons_creative .sc_icons_item_details{text-align:center}
.sc_icons_decoration_bg .decor-svg{fill:rgba(210,181,126,.32)}

/* ---- Scroll-to-top: a fixed, quiet circle (without this it renders as a stray glyph under the footer) ---- */
.trx_addons_scroll_to_top{
	position:fixed;left:28px;bottom:28px;z-index:7999;width:44px;height:44px;border-radius:50%;
	background:#39352D;color:#fff;display:flex!important;align-items:center;justify-content:center;
	opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease,visibility .2s,background .2s;
	text-decoration:none;box-shadow:0 6px 16px rgba(57,53,45,.25);
}
.trx_addons_scroll_to_top.show{opacity:1;visibility:visible;transform:none}
.trx_addons_scroll_to_top:hover{background:#114732}
.trx_addons_scroll_to_top{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;background-size:20px}
.trx_addons_scroll_to_top:before,.trx_addons_scroll_to_top:after{content:none!important;display:none!important}
@media (max-width:767px){.trx_addons_scroll_to_top{left:16px;bottom:16px;width:40px;height:40px}}
@media (prefers-reduced-motion:reduce){.trx_addons_scroll_to_top{transition:none}}

/* ---- Header menu: keep it on one line (items overflowed the column by a few pixels) ---- */
@media (min-width:1280px){
	.top_panel_custom .sc_layouts_menu_nav>li>a{padding-left:13px;padding-right:13px}
}
@media (min-width:1024px) and (max-width:1279px){
	.top_panel_custom .sc_layouts_menu_nav>li>a{padding-left:7px;padding-right:7px;font-size:14.5px}
}

/* ---- Footer: no dropdown arrows, one-line menu, tighter vertical rhythm ---- */
.footer_custom .elementor-nav-menu .sub-arrow{display:none!important}
.footer_custom .elementor-nav-menu--main .elementor-item{padding-left:14px!important;padding-right:14px!important}
.footer_custom .sc_height_huge .elementor-spacer-inner{height:56px!important}

/* The shop has a single category and no tags, so the filter panel filters nothing. */
.legacy_woocommerce_filters_button_wrap .legacy_woocommerce_filters_button{display:none}
.sc_layouts_item_icon svg{width:1em;height:1em;fill:currentColor}
/* ---- Headings: never break words with hyphens ("ТВО-ЕТО"), wrap on word boundaries ---- */
.sc_item_title,.sc_item_title_text,.page_content_wrap h1,.page_content_wrap h2,.page_content_wrap h3,.page_content_wrap h4{
	-webkit-hyphens:none!important;hyphens:none!important;overflow-wrap:normal!important;word-break:normal!important;
}

/* ---- Homepage hero: legible tagline over the photo, title sized to the screen ---- */
.elementor-element-38d022d3 .sc_item_subtitle{
	color:#fff!important;opacity:1!important;mix-blend-mode:normal!important;font-size:14px;
	text-shadow:0 1px 10px rgba(0,0,0,.6);
}
@media (max-width:767px){
	.elementor-element-38d022d3 .sc_item_title_text{font-size:clamp(30px,9.2vw,42px)!important;line-height:1.1!important}
	/* Chat widget: keep the button, drop the permanent text label that covers content */
	.chaty-widget .on-hover-text,.chaty-tooltip .on-hover-text{display:none!important}
	/* Room at the bottom so the chat button never covers the last footer line */
	.footer_custom .elementor>.elementor-section:last-child{padding-bottom:50px}
}
/* ---- No sideways page scroll: wide tables scroll inside their own box ---- */
.sc_table_wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.page_content_wrap{overflow-x:clip}
/* ---- Menus on laptop widths: scale the items so they stay on one line ---- */
@media (min-width:1280px) and (max-width:1439px){
	.top_panel_custom .sc_layouts_menu_nav>li>a,.top_panel_custom .sc_layouts_menu_nav>li>a:hover{padding-left:8px!important;padding-right:8px!important;font-size:16px!important}
}
@media (max-width:1439px){
	.footer_custom .elementor-nav-menu--main .elementor-item{padding-left:9px!important;padding-right:9px!important;font-size:15.5px!important}
}
@media (max-width:1199px){
	.footer_custom .elementor-nav-menu--main .elementor-item{padding-left:7px!important;padding-right:7px!important;font-size:14.5px!important}
}
/* ---- Headings retagged for a proper document outline; each keeps its original look ---- */
.elementor-element-413d67be h1.sc_item_title,.elementor-element-bf528e0 h1.sc_item_title{
	font-size:clamp(28px,7vw,42.5px);line-height:1.2;font-weight:800;letter-spacing:normal;text-transform:none;margin:39.95px 0 26.35px;
}
.elementor-element-ea50569 h2.sc_item_title{
	font-size:clamp(30px,7vw,42.5px);line-height:1.2;font-weight:800;letter-spacing:-1.8px;text-transform:uppercase;margin:64.26px 0 23.8px;
}
.elementor-element-e6ab1e7 h2{
	font-size:clamp(32px,8.2vw,59.5px);line-height:1.2;font-weight:800;letter-spacing:-1.8px;text-transform:uppercase;margin:64.26px 0 23.8px;
}
.elementor-element-413d67be h1 .sc_item_title_text,.elementor-element-bf528e0 h1 .sc_item_title_text,.elementor-element-ea50569 h2 .sc_item_title_text{
	font-size:inherit;line-height:inherit;letter-spacing:inherit;text-transform:inherit;font-weight:inherit;
}
.elementor-element-4124d19 h1.elementor-heading-title{
	font-size:clamp(28px,6.5vw,42.5px);line-height:1.2;font-weight:800;letter-spacing:-.1px;text-transform:uppercase;margin:0;
}
/* Partner schools heading: same voice as the other left-hand section titles ("Нашата мисия") */
.elementor-element-7b751144 .sc_item_title,.elementor-element-7b751144 .sc_item_title_text{
	font-size:25.5px;line-height:30.6px;font-weight:700;text-transform:uppercase;letter-spacing:-.1px;
}

/* Visually hidden H1 for pages that have no visible H1 (screen readers and search engines still get the page title) */
.klasni-h1{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Hero tagline: paint above the photo overlay, like the headline does */
.elementor-element-38d022d3 .sc_item_subtitle{position:relative!important;z-index:3!important}

/* ---- Homepage: hero headline is the page's H1, the bottom banner an H2; both keep their measured look ---- */
.elementor-element-2b315f71 h1.sc_item_title{
	font-size:clamp(30px,9.2vw,52.725px);line-height:1;font-weight:800;letter-spacing:-1.0545px;text-transform:uppercase;margin:37.74px 0 25.5px;
}
.elementor-element-2b315f71 h1 .sc_item_title_text{font-size:inherit;line-height:inherit;letter-spacing:inherit;text-transform:inherit;font-weight:inherit}
.elementor-element-2b315f71 .sc_item_subtitle{color:#fff!important;text-shadow:0 1px 10px rgba(0,0,0,.55);position:relative;z-index:3}
.elementor-element-38d022d3 h2.sc_item_title{
	font-size:clamp(30px,8vw,59.5px)!important;line-height:1.03!important;font-weight:800;letter-spacing:-1.8px;text-transform:uppercase;margin:64.26px 0 23.8px;
}
.elementor-element-38d022d3 h2 .sc_item_title_text{font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit;text-transform:inherit;font-weight:inherit}