/*
Theme Name:		Chainpress Child
Theme URI:		http://chainpress.ancorathemes.com/
Description:	Chainpress Child: design "A · Kompaktinis portalas" for teisinespaslaugos.info (stage 1: global look)
Author:			AxiomThemes
Author URI:		http://axiomthemes.com
Version:		1.1.0
Template:		chainpress
*/

/* ==========================================================================
   STAGE 1 — global look. Reversible: remove this block / deactivate child theme.
   Scope: every rule starts with body.tg-a.tg-a (body.tg-a.tg-a) to beat the parent theme's
   .scheme_default ... selectors without using !important.
   Tokens come from the approved design (see D:\Sites\sites\_design-teisinespaslaugos).
   ========================================================================== */
:root{
  --c-primary:#1F5A94; --c-primary-dark:#174A7C; --c-accent:#F27A0A; --c-accent-ink:#10263F; --c-accent-text:#8A4300;
  --c-ink:#1D2733; --c-muted:#4F5D6D; --c-panel:#EEF3F8; --c-line:#C9D6E3; --c-cream:#FFFDF7; --c-cream-line:#EBE2C8;
  --f-sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; --f-serif:"Source Serif 4",Georgia,serif;
  --radius:10px; --radius-sm:6px;
}

/* Base typography */
body.tg-a.tg-a{font-family:var(--f-sans);color:var(--c-ink);font-size:15px;line-height:1.55;background:#fff}
body.tg-a.tg-a h1,body.tg-a.tg-a h2,body.tg-a.tg-a h3,body.tg-a.tg-a h4,body.tg-a.tg-a h5,body.tg-a.tg-a h6{font-family:var(--f-sans);color:var(--c-ink);line-height:1.25}
body.tg-a.tg-a h1{font-family:var(--f-serif);font-weight:700;font-size:32px}
body.tg-a.tg-a h2{font-weight:700;font-size:24px}
body.tg-a.tg-a h3{font-weight:700;font-size:19px}
body.tg-a.tg-a h4{font-weight:600;font-size:16.5px}
body.tg-a.tg-a p,body.tg-a.tg-a li{font-family:var(--f-sans)}
body.tg-a.tg-a a{color:var(--c-primary)}
body.tg-a.tg-a a:hover,body.tg-a.tg-a a:focus{color:var(--c-primary-dark)}
body.tg-a.tg-a :focus-visible{outline:3px solid var(--c-primary-dark);outline-offset:2px}

/* Buttons (theme buttons, Elementor buttons, CF7 submit, search submit) */
body.tg-a.tg-a .theme_button,body.tg-a.tg-a .sc_button,body.tg-a.tg-a .sc_button_default,body.tg-a.tg-a .elementor-button,body.tg-a.tg-a .wpcf7-submit,body.tg-a.tg-a input[type="submit"],body.tg-a.tg-a button[type="submit"],body.tg-a.tg-a .more-link{
  font-family:var(--f-sans);font-weight:600;font-size:14px;letter-spacing:0;text-transform:none;background:var(--c-primary);color:#fff;border:0;border-radius:var(--radius-sm);padding:11px 20px;box-shadow:none}
body.tg-a.tg-a .theme_button:hover,body.tg-a.tg-a .sc_button:hover,body.tg-a.tg-a .elementor-button:hover,body.tg-a.tg-a .wpcf7-submit:hover,body.tg-a.tg-a input[type="submit"]:hover,body.tg-a.tg-a button[type="submit"]:hover,body.tg-a.tg-a .more-link:hover{background:var(--c-primary-dark);color:#fff}
body.tg-a.tg-a .menu-item--cta>a,body.tg-a.tg-a .tg-cta{background:var(--c-accent);color:var(--c-accent-ink);font-weight:700;border-radius:var(--radius-sm)}

/* Form fields */
body.tg-a.tg-a input[type="text"],body.tg-a.tg-a input[type="email"],body.tg-a.tg-a input[type="tel"],body.tg-a.tg-a input[type="search"],body.tg-a.tg-a input[type="url"],body.tg-a.tg-a textarea,body.tg-a.tg-a select{
  font-family:var(--f-sans);font-size:15px;color:var(--c-ink);background:#fff;border:1px solid var(--c-line);border-radius:var(--radius-sm);padding:10px 12px}
body.tg-a.tg-a input[type="text"]:focus,body.tg-a.tg-a input[type="email"]:focus,body.tg-a.tg-a input[type="tel"]:focus,body.tg-a.tg-a input[type="search"]:focus,body.tg-a.tg-a textarea:focus{border-color:var(--c-primary);outline:0;box-shadow:0 0 0 3px rgba(31,90,148,.18)}

/* Top contact bar (existing .top-header / .tga-header markup) */
body.tg-a.tg-a .top-header{background:var(--c-primary-dark);color:#fff}
body.tg-a.tg-a .tga-header,body.tg-a.tg-a .tga-header a{color:#fff;font-size:12.5px}
body.tg-a.tg-a .tga-header .sep{color:#B9CCE0}

/* Main menu */
body.tg-a.tg-a .menu_main_nav>li>a,body.tg-a.tg-a .top_panel .sc_layouts_row:not(.sc_layouts_row_type_narrow) .sc_layouts_menu_nav>li>a{font-family:var(--f-sans);font-size:13.5px;font-weight:600;text-transform:none;letter-spacing:0}
body.tg-a.tg-a .menu_main_nav>li:hover>a,body.tg-a.tg-a .menu_main_nav>li.current-menu-item>a,body.tg-a.tg-a .menu_main_nav>li.current-menu-ancestor>a,body.tg-a.tg-a .sc_layouts_menu_nav>li:hover>a,body.tg-a.tg-a .sc_layouts_menu_nav>li.current-menu-item>a{color:var(--c-primary)}
body.tg-a.tg-a .menu_main_nav .sub-menu,body.tg-a.tg-a .sc_layouts_menu_nav .sub-menu{background:#fff;border:1px solid var(--c-line);border-top:3px solid var(--c-primary);border-radius:0 0 var(--radius) var(--radius);box-shadow:0 12px 28px rgba(16,38,63,.14)}
body.tg-a.tg-a .menu_main_nav .sub-menu a,body.tg-a.tg-a .sc_layouts_menu_nav .sub-menu a{font-size:13.5px;font-weight:500;color:var(--c-ink)}
body.tg-a.tg-a .menu_main_nav .sub-menu li:hover>a,body.tg-a.tg-a .sc_layouts_menu_nav .sub-menu li:hover>a{background:var(--c-panel);color:var(--c-primary)}
body.tg-a.tg-a header.top_panel{border-bottom:1px solid var(--c-line);background:#fff}

/* Page title bar + breadcrumbs */
body.tg-a.tg-a .top_panel_title,body.tg-a.tg-a .sc_layouts_title{background:var(--c-cream);border-bottom:1px solid var(--c-cream-line)}
body.tg-a.tg-a .sc_layouts_title_caption{font-family:var(--f-serif);font-weight:700;font-size:30px;color:var(--c-ink)}
body.tg-a.tg-a .sc_layouts_title_breadcrumbs,body.tg-a.tg-a .breadcrumbs_wrap{font-size:13px;color:var(--c-muted)}
body.tg-a.tg-a .breadcrumbs_wrap a:hover{color:var(--c-primary)}

/* Elementor service tiles on the home page: palette + AA contrast (white on orange fails) */
body.tg-a.tg-a .ser_vid_2 .sc_icons_item,body.tg-a.tg-a .ser_vid_6 .sc_icons_item,body.tg-a.tg-a .ser_vid_1 .sc_icons_item,body.tg-a.tg-a .ser_vid_5 .sc_icons_item{background:var(--c-primary);border-radius:var(--radius)}
body.tg-a.tg-a .ser_vid_3 .sc_icons_item,body.tg-a.tg-a .ser_vid_4 .sc_icons_item{background:var(--c-accent);border-radius:var(--radius)}
body.tg-a.tg-a .ser_vid_3 .sc_icons_item_title,body.tg-a.tg-a .ser_vid_4 .sc_icons_item_title,body.tg-a.tg-a .ser_vid_3 .sc_icons_item_description,body.tg-a.tg-a .ser_vid_4 .sc_icons_item_description,body.tg-a.tg-a .ser_vid_3 .sc_icons_item a,body.tg-a.tg-a .ser_vid_4 .sc_icons_item a{color:var(--c-accent-ink)}
body.tg-a.tg-a .sc_icons_item_title{font-family:var(--f-sans);font-weight:700}

/* Post lists (archives, blog) */
body.tg-a.tg-a .post_layout_excerpt,body.tg-a.tg-a .post_item.post_format_standard.post_layout_excerpt{background:var(--c-cream);border:1px solid var(--c-cream-line);border-radius:var(--radius);padding:14px;overflow:hidden}
body.tg-a.tg-a .post_layout_excerpt:hover{border-color:var(--c-primary)}
body.tg-a.tg-a .post_layout_excerpt .post_title,body.tg-a.tg-a .post_layout_excerpt .post_title a{font-family:var(--f-sans);font-weight:700;font-size:17px;line-height:1.3;color:var(--c-ink)}
body.tg-a.tg-a .post_layout_excerpt .post_title a:hover{color:var(--c-primary)}
body.tg-a.tg-a .post_meta,body.tg-a.tg-a .post_meta a,body.tg-a.tg-a .post_meta_item{font-size:12px;color:var(--c-accent-text);font-weight:600;letter-spacing:.04em;text-transform:uppercase}
body.tg-a.tg-a .post_layout_excerpt .post_content,body.tg-a.tg-a .post_layout_excerpt .post_content p{font-size:13.5px;color:var(--c-muted)}
body.tg-a.tg-a .post_featured img{border-radius:var(--radius-sm)}

/* Single post / page content typography */
body.tg-a.tg-a .post_item_single .post_content,body.tg-a.tg-a .entry-content,body.tg-a.tg-a .page_content_wrap .post_content{font-size:16px;line-height:1.7}
body.tg-a.tg-a .post_content h2{font-size:24px;margin:1.4em 0 .5em}
body.tg-a.tg-a .post_content h3{font-size:19px;margin:1.4em 0 .5em;color:var(--c-primary)}
body.tg-a.tg-a .post_content h4{font-size:16.5px;margin:1.3em 0 .5em}
body.tg-a.tg-a .post_content h5{font-size:14px;margin:1.2em 0 .5em;text-transform:uppercase;letter-spacing:.04em;color:var(--c-muted)}
body.tg-a.tg-a .post_content a{color:var(--c-primary);text-decoration:underline}
body.tg-a.tg-a .post_content blockquote{border-left:4px solid var(--c-accent);background:var(--c-cream);padding:12px 18px;color:var(--c-muted)}
body.tg-a.tg-a .post_content table th{background:var(--c-panel)}
body.tg-a.tg-a .post_content table th,body.tg-a.tg-a .post_content table td{border:1px solid var(--c-line);padding:8px 10px}

/* Sidebar widgets */
body.tg-a.tg-a .sidebar .widget,body.tg-a.tg-a .widget_area .widget{background:var(--c-panel);border:1px solid var(--c-line);border-radius:var(--radius);padding:14px;margin-bottom:14px}
body.tg-a.tg-a .sidebar .widget_title,body.tg-a.tg-a .widget_area .widget_title{font-family:var(--f-sans);font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--c-muted);margin:0 0 6px}
body.tg-a.tg-a .sidebar .widget li a{font-size:14px;color:var(--c-ink)}
body.tg-a.tg-a .sidebar .widget li a:hover{color:var(--c-primary)}

/* Footer */
body.tg-a.tg-a .footer_wrap{background:var(--c-primary-dark);color:#fff}
body.tg-a.tg-a .footer_wrap a,body.tg-a.tg-a .footer_wrap p,body.tg-a.tg-a .footer_wrap li,body.tg-a.tg-a .footer_wrap .copyright_text{color:#fff}
body.tg-a.tg-a .footer_wrap a:hover{text-decoration:underline;color:#fff}

/* Contact Form 7 */
body.tg-a.tg-a .wpcf7 label{font-size:13px;font-weight:600}
body.tg-a.tg-a .wpcf7-not-valid-tip{color:#B3261E;font-size:13px}
body.tg-a.tg-a .wpcf7-response-output{border-radius:var(--radius-sm)}

/* Mobile */
@media(max-width:768px){
  body.tg-a.tg-a h1{font-size:26px}body.tg-a.tg-a h2{font-size:21px}body.tg-a.tg-a .sc_layouts_title_caption{font-size:24px}
}


/* ==========================================================================
   STAGE 2 — header / footer (design A). New classes tg-*.
   ========================================================================== */
.tg-container{max-width:1240px;margin:0 auto;padding:0 20px}
body.tg-a.tg-a .tg-topbar{background:var(--c-primary-dark);color:#fff;font-size:12.5px}
body.tg-a.tg-a .tg-topbar .tg-container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 16px;padding-top:6px;padding-bottom:6px}
body.tg-a.tg-a .tg-contacts{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;list-style:none}
body.tg-a.tg-a .tg-contacts li{margin:0;padding:0}
body.tg-a.tg-a .tg-topbar a,body.tg-a.tg-a .tg-topbar .my-lang-switcher__name{color:#fff}
body.tg-a.tg-a .tg-topbar a:hover{text-decoration:underline;color:#fff}
body.tg-a.tg-a .tg-lang .my-lang-switcher__menu .my-lang-switcher__name{color:#252525}
body.tg-a.tg-a .tg-header{background:#fff;border-bottom:1px solid var(--c-line);position:relative;z-index:50}
body.tg-a.tg-a .tg-header .tg-container{display:flex;align-items:center;gap:20px;padding-top:12px;padding-bottom:12px}
body.tg-a.tg-a .tg-logo{display:flex;align-items:center;flex:0 0 auto}
body.tg-a.tg-a .tg-logo img{max-height:46px;width:auto;display:block}
body.tg-a.tg-a .tg-nav{margin-left:auto;display:flex;align-items:center;gap:6px}
body.tg-a.tg-a .tg-menu,body.tg-a.tg-a .tg-menu ul{list-style:none;margin:0;padding:0}
body.tg-a.tg-a .tg-menu{display:flex;align-items:center;gap:2px}
body.tg-a.tg-a .tg-menu a{display:block;padding:8px 11px;font-weight:600;font-size:13.5px;line-height:1.3;color:var(--c-ink);border-radius:var(--radius-sm);text-decoration:none}
body.tg-a.tg-a .tg-menu a:hover,body.tg-a.tg-a .tg-menu .current-menu-item>a,body.tg-a.tg-a .tg-menu .current-menu-ancestor>a{background:var(--c-panel);color:var(--c-primary)}
body.tg-a.tg-a .tg-menu .menu-item-has-children{position:relative}
body.tg-a.tg-a .tg-menu>.menu-item-has-children>a::after{content:"▾";font-size:10px;margin-left:5px}
body.tg-a.tg-a .tg-menu>li>.sub-menu{display:none;position:absolute;left:0;top:100%;min-width:250px;background:#fff;border:1px solid var(--c-line);border-top:3px solid var(--c-primary);border-radius:0 0 var(--radius) var(--radius);box-shadow:0 12px 28px rgba(16,38,63,.14);padding:12px}
body.tg-a.tg-a .tg-menu>li:hover>.sub-menu,body.tg-a.tg-a .tg-menu>li:focus-within>.sub-menu,body.tg-a.tg-a .tg-menu>li.is-open>.sub-menu{display:block}
body.tg-a.tg-a .tg-menu>li.mega{position:static}
body.tg-a.tg-a .tg-header .tg-container{position:relative}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu{left:20px;right:20px;width:auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 16px;align-items:start}
body.tg-a.tg-a .tg-menu>li.mega:hover>.sub-menu,body.tg-a.tg-a .tg-menu>li.mega:focus-within>.sub-menu,body.tg-a.tg-a .tg-menu>li.mega.is-open>.sub-menu{display:grid}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu>li.menu-item-has-children>a{font-weight:700;color:var(--c-primary);border-bottom:2px solid var(--c-accent);border-radius:0;margin-bottom:4px}
body.tg-a.tg-a .tg-menu .sub-menu .sub-menu{position:static;display:block;border:0;box-shadow:none;padding:0;min-width:0}
body.tg-a.tg-a .tg-menu .sub-menu .sub-menu a{font-weight:500;font-size:13.5px;padding:5px 8px}
body.tg-a.tg-a .tg-menu .sub-menu .menu-item-has-children>a::after{content:none}
body.tg-a.tg-a .tg-cta{display:inline-block;background:var(--c-accent);color:var(--c-accent-ink);font-weight:700;font-size:14px;padding:10px 16px;border-radius:var(--radius-sm);text-decoration:none;white-space:nowrap;margin-left:6px}
body.tg-a.tg-a .tg-cta:hover{background:#DB6C05;color:var(--c-accent-ink)}
body.tg-a.tg-a .tg-nav-toggle{display:none;margin-left:auto;background:var(--c-primary);color:#fff;border:0;border-radius:var(--radius-sm);padding:10px 14px;font:600 14px var(--f-sans);cursor:pointer}
body.tg-a.tg-a .tg-footer{background:var(--c-primary-dark);color:#fff;font-size:13px;padding:22px 0}
body.tg-a.tg-a .tg-footer p{margin:0;color:#fff}

/* Legacy rules migrated from the parent header.php inline <style> (behaviour kept) */
body.tg-a.tg-a .page_content_wrap{padding-top:0}
body.tg-a.tg-a .related_wrap{margin-top:1.25em}
body.tg-a.tg-a .home .main-title{display:none}
body.tg-a.tg-a .single-post .post_date{display:none!important}
body.tg-a.tg-a .sc_services_colored .sc_services_item_number{display:inline-block;text-align:center;font-size:6em;line-height:1em;font-weight:900;margin-top:.3em}
body.tg-a.tg-a .sc_services_colored .trx_addons_column-1_2:nth-child(1) .sc_services_item_number{color:#86e5db!important}
body.tg-a.tg-a .sc_services_colored .trx_addons_column-1_2:nth-child(2) .sc_services_item_number{color:#ffbd49!important}
body.tg-a.tg-a .sc_icons_title_size_large .sc_icons_item_title{font-size:1.35em;text-wrap:balance}
body.tg-a.tg-a .sc_icons_item_description{min-height:80px}
body.tg-a.tg-a .archive.blog_style_excerpt .posts_container{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
body.tg-a.tg-a .archive.blog_style_excerpt .more-link{display:none}
body.tg-a.tg-a .post_layout_excerpt+.post_layout_excerpt{margin-top:0}
body.tg-a.tg-a .post_layout_excerpt .post_header+.post_content{margin-top:.55rem}
body.tg-a.tg-a .wpcf7-submit{margin-top:30px}
body.tg-a.tg-a .sc_layouts_title_description{font-size:13px;line-height:19px;margin:2em auto 0!important;max-width:100%}
body.tg-a.tg-a .my-lang-switcher__toggle{border:none!important}
body.tg-a.tg-a .my-lang-switcher__name{font-family:var(--f-sans);font-size:.875em;font-weight:700;line-height:1.5em;text-transform:uppercase}
body.tg-a.tg-a .my-lang-switcher__item.is-current{opacity:1}
body.tg-a.tg-a .my-lang-switcher__item.is-current .my-lang-switcher__name{text-decoration:underline}
body.tg-a.tg-a .icon-whatsapp,body.tg-a.tg-a .icon-viber{font-size:13px}

@media(max-width:860px){
  body.tg-a.tg-a .tg-nav-toggle{display:block}
  body.tg-a.tg-a .tg-header .tg-container{flex-wrap:wrap;position:static}
  body.tg-a.tg-a .tg-nav{display:none;width:100%;margin-left:0;flex-direction:column;align-items:stretch}
  body.tg-a.tg-a .tg-nav.is-open{display:flex}
  body.tg-a.tg-a .tg-menu{flex-direction:column;align-items:stretch}
  body.tg-a.tg-a .tg-menu>li>.sub-menu,body.tg-a.tg-a .tg-menu>li.mega>.sub-menu{display:block;position:static;box-shadow:none;border:0;border-left:3px solid var(--c-line);border-radius:0;padding:0 0 0 10px;min-width:0}
  body.tg-a.tg-a .tg-cta{text-align:center;margin:8px 0 0}
  body.tg-a.tg-a .archive.blog_style_excerpt .posts_container{grid-template-columns:1fr}
  body.tg-a.tg-a .content_wrap{width:auto!important;padding-left:15px!important;padding-right:15px!important}
}
@media print{body.tg-a.tg-a .tg-topbar,body.tg-a.tg-a .tg-header,body.tg-a.tg-a .tg-footer{display:none}}

/* ==== Stage 3: single post / sidebar fixes (contrast, AA) ==== */
body.tg-a.tg-a .sc_layouts_title .post_meta_item.post_date{background:#fff;color:var(--c-accent-text);border:1px solid var(--c-line);border-radius:999px;padding:2px 12px;font-size:13px;font-weight:600}
body.tg-a.tg-a .sidebar .post_item .post_title,body.tg-a.tg-a .sidebar .post_item .post_title a{color:var(--c-ink)!important;font-size:14px;font-weight:600;line-height:1.35}
body.tg-a.tg-a .sidebar .post_item .post_title a:hover{color:var(--c-primary)!important}
body.tg-a.tg-a .sidebar .post_item{border-bottom:1px solid var(--c-line);padding:8px 0}
body.tg-a.tg-a .sidebar .post_item:last-child{border-bottom:0}
body.tg-a.tg-a .sidebar .post_meta,body.tg-a.tg-a .sidebar .post_meta a{color:var(--c-muted)}

/* ==== Stage 3b: tile description contrast (AA) + mobile slider caption ==== */
body.tg-a.tg-a .ser_vid_1 .sc_icons_item_description,body.tg-a.tg-a .ser_vid_2 .sc_icons_item_description,body.tg-a.tg-a .ser_vid_5 .sc_icons_item_description,body.tg-a.tg-a .ser_vid_6 .sc_icons_item_description,
body.tg-a.tg-a .ser_vid_1 .sc_icons_item_description span,body.tg-a.tg-a .ser_vid_2 .sc_icons_item_description span,body.tg-a.tg-a .ser_vid_5 .sc_icons_item_description span,body.tg-a.tg-a .ser_vid_6 .sc_icons_item_description span{color:rgba(255,255,255,.92)!important}
@media (max-width:860px){
  body.tg-a.tg-a .slide_info.slide_info_small{bottom:30px}
  body.tg-a.tg-a .slide_info .slide_title{font-size:17px;line-height:1.2}
  body.tg-a.tg-a .slide_info > *:not(.slide_title){font-size:13px;line-height:1.35}
}

/* ==== Stage 3c: Design A components (ported from tg-templates style.css) ==== */
:root{--c-ph:#C9D6E5;--sidebar:260px;--gap:20px;--container:1240px}
body.tg-a.tg-a .site-layout{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);gap:var(--gap);padding:20px 0 32px}
body.tg-a.tg-a .site-layout--full{grid-template-columns:minmax(0,1fr)}
body.tg-a.tg-a .site-main{min-width:0}
body.tg-a.tg-a .grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.tg-a.tg-a .grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.tg-a.tg-a .section-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:20px;margin:26px 0 12px}
body.tg-a.tg-a .section-title a{font-size:13.5px;color:var(--c-primary);font-weight:600}
body.tg-a.tg-a .section-title a:hover{text-decoration:underline}
body.tg-a.tg-a .widget{background:var(--c-panel);border:1px solid var(--c-line);border-radius:var(--radius);padding:14px;margin-bottom:14px}
body.tg-a.tg-a .widget-title{margin:0 0 6px;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--c-muted);font-weight:700}
body.tg-a.tg-a .widget ul{list-style:none;margin:0;padding:0}
body.tg-a.tg-a .widget li a{display:block;padding:5px 8px;border-radius:var(--radius-sm);font-size:14px}
body.tg-a.tg-a .widget li a:hover,body.tg-a.tg-a .widget .current-menu-item>a,body.tg-a.tg-a .widget .current-cat>a{background:#fff;color:var(--c-primary)}
body.tg-a.tg-a .widget--latest li a{font-size:13px;line-height:1.35}
body.tg-a.tg-a .search-form{display:flex;flex-direction:column;gap:8px}
body.tg-a.tg-a .search-field{width:100%;border:1px solid var(--c-line);border-radius:var(--radius-sm);padding:9px 10px;font:inherit;background:#fff}
body.tg-a.tg-a .btn{display:inline-block;border:0;border-radius:var(--radius-sm);padding:10px 18px;font:600 14px var(--f-sans);text-align:center;cursor:pointer;background:var(--c-primary);color:#fff}
body.tg-a.tg-a .btn:hover{background:var(--c-primary-dark)}
body.tg-a.tg-a .btn--accent{background:var(--c-accent);color:var(--c-accent-ink);font-weight:700}body.tg-a.tg-a .btn--accent:hover{background:#DB6C05}
body.tg-a.tg-a .btn--block{display:block;width:100%}
body.tg-a.tg-a .btn--viber{background:#665CAC}body.tg-a.tg-a .btn--viber:hover{background:#524A8C}
body.tg-a.tg-a .banner{background:var(--c-cream);border:1px solid var(--c-cream-line);border-bottom:4px solid var(--c-accent);border-radius:var(--radius);padding:16px 22px;display:flex;gap:16px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
body.tg-a.tg-a .banner__eyebrow{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--c-accent-text)}
body.tg-a.tg-a .banner h1,body.tg-a.tg-a .banner h2{font:700 27px/1.15 var(--f-serif);color:var(--c-primary);margin:2px 0 5px}
body.tg-a.tg-a .banner p{margin:0;font-size:14px;max-width:520px;color:var(--c-muted)}
body.tg-a.tg-a .banner__media{width:300px;aspect-ratio:16/9;border-radius:var(--radius-sm);overflow:hidden;background:var(--c-ph)}
body.tg-a.tg-a .banner__media img,body.tg-a.tg-a .banner__media iframe{width:100%;height:100%;object-fit:cover;border:0}
body.tg-a.tg-a .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}
body.tg-a.tg-a .stats__item{background:var(--c-cream);border:1px solid var(--c-cream-line);border-radius:var(--radius);padding:7px 12px;font-size:12.5px;line-height:1.3;color:var(--c-muted)}
body.tg-a.tg-a .stats__item b{display:block;font-size:16px;line-height:1.25;color:var(--c-primary)}
body.tg-a.tg-a .service-card{background:var(--c-cream);border:1px solid var(--c-cream-line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;padding-bottom:14px}
body.tg-a.tg-a .service-card:hover{border-color:var(--c-primary)}
body.tg-a.tg-a .service-card__title{margin:0;font-size:16.5px;background:var(--c-primary);color:#fff;padding:11px 14px;line-height:1.3}
body.tg-a.tg-a .service-card__text{margin:10px 14px 4px;font-size:13px;color:var(--c-muted)}
body.tg-a.tg-a .service-card ul{list-style:none;margin:4px 14px 6px;padding:0}
body.tg-a.tg-a .service-card li{padding:5px 0;border-top:1px solid var(--c-cream-line);font-size:13.5px}
body.tg-a.tg-a .service-card li a:hover{color:var(--c-primary);text-decoration:underline}
body.tg-a.tg-a .service-card__more{margin:auto 14px 0;font-weight:600;color:var(--c-primary);font-size:13.5px}
body.tg-a.tg-a .chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
body.tg-a.tg-a .chips a{display:block;background:var(--c-cream);border:1px solid var(--c-cream-line);border-radius:999px;padding:7px 14px;font-size:13.5px;font-weight:500}
body.tg-a.tg-a .chips a:hover{border-color:var(--c-primary);color:var(--c-primary)}
body.tg-a.tg-a .chips .is-active a,body.tg-a.tg-a .chips a[aria-current]{background:var(--c-primary);border-color:var(--c-primary);color:#fff}
body.tg-a.tg-a .post-card{background:var(--c-cream);border:1px solid var(--c-cream-line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
body.tg-a.tg-a .post-card:hover{border-color:var(--c-primary)}
body.tg-a.tg-a .post-card__thumb{aspect-ratio:16/7;background:var(--c-ph);display:flex;align-items:center;justify-content:center;font-size:12px;color:#44566B;overflow:hidden}
body.tg-a.tg-a .post-card__thumb img{width:100%;height:100%;object-fit:cover;display:block}
body.tg-a.tg-a .post-card__body{padding:12px 14px 14px}
body.tg-a.tg-a .post-card__cat,body.tg-a.tg-a .post-row__cat{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--c-accent-text)}
body.tg-a.tg-a .post-card__title{font-size:14.5px;line-height:1.35;margin:4px 0 0}
body.tg-a.tg-a.home .content_wrap{width:100%!important;max-width:1240px;margin:0 auto;padding:0 20px}
body.tg-a.tg-a.home .content{width:100%}
body.tg-a.tg-a .tg-layout{margin-top:0}
body.tg-a.tg-a .search-form .btn{display:block;width:100%}
body.tg-a.tg-a .service-card a,body.tg-a.tg-a .post-card a,body.tg-a.tg-a .chips a{color:var(--c-ink)}
body.tg-a.tg-a .service-card__title a{color:#fff}
body.tg-a.tg-a .service-card__more{color:var(--c-primary)}
body.tg-a.tg-a .btn--accent{color:var(--c-accent-ink)}
@media(max-width:860px){
  body.tg-a.tg-a .site-layout{grid-template-columns:1fr}
  body.tg-a.tg-a .site-layout .sidebar{order:2}
  body.tg-a.tg-a .grid-3,body.tg-a.tg-a .stats{grid-template-columns:1fr}
  body.tg-a.tg-a .banner h1,body.tg-a.tg-a .banner h2{font-size:27px}
  body.tg-a.tg-a .banner__media{width:100%}
  body.tg-a.tg-a .sidebar .widget--services,body.tg-a.tg-a .sidebar .widget--info{display:none}
}

/* ==== Stage 3e: sidebar list reset, buttons ==== */
body.tg-a.tg-a .widget li,body.tg-a.tg-a .service-card li,body.tg-a.tg-a .chips li{list-style:none;margin:0}
body.tg-a.tg-a .widget li::before,body.tg-a.tg-a .service-card li::before{content:none;display:none}
body.tg-a.tg-a .widget ul,body.tg-a.tg-a .service-card ul{list-style:none;padding-left:0}
body.tg-a.tg-a .btn{box-sizing:border-box;color:#fff;max-width:100%}
body.tg-a.tg-a .btn--accent{color:var(--c-accent-ink)}
body.tg-a.tg-a .btn--block{display:block;width:100%}

/* ==== Stage 3f ==== */
body.tg-a.tg-a .widget li a::before,body.tg-a.tg-a .widget li a::after{content:none!important;display:none!important}
body.tg-a.tg-a .widget .btn,body.tg-a.tg-a .widget .btn:hover{color:#fff!important}

/* ==== Stage 3g: archive / single / page components (ported) + layout ==== */
body.tg-a.tg-a .post-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;background:var(--c-cream);border:1px solid var(--c-cream-line);border-radius:var(--radius);padding:12px;margin-bottom:10px}
body.tg-a.tg-a .post-row:hover{border-color:var(--c-primary)}
body.tg-a.tg-a .post-row__thumb{height:96px;border-radius:var(--radius-sm);background:var(--c-ph);display:flex;align-items:center;justify-content:center;font-size:12px;color:#44566B;overflow:hidden}
body.tg-a.tg-a .post-row__thumb img{width:100%;height:100%;object-fit:cover}
body.tg-a.tg-a .post-row__title{font-size:17px;margin:2px 0 4px}body.tg-a.tg-a .post-row__excerpt{margin:0 0 6px;font-size:13.5px;color:var(--c-muted)}
body.tg-a.tg-a .read-more{font-weight:600;color:var(--c-primary);font-size:13.5px}
body.tg-a.tg-a .breadcrumbs{font-size:13px;color:var(--c-muted);margin-bottom:10px}body.tg-a.tg-a .breadcrumbs a:hover{color:var(--c-primary);text-decoration:underline}
body.tg-a.tg-a .page-title{font:700 32px/1.2 var(--f-serif);margin:0 0 14px}
body.tg-a.tg-a .pagination,body.tg-a.tg-a .nav-links{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:20px 0}
body.tg-a.tg-a .page-numbers{min-width:40px;padding:9px 12px;border:1px solid var(--c-line);border-radius:var(--radius-sm);text-align:center;font-weight:600;background:#fff}
body.tg-a.tg-a a.page-numbers:hover{border-color:var(--c-primary);color:var(--c-primary)}body.tg-a.tg-a .page-numbers.current{background:var(--c-primary);border-color:var(--c-primary);color:#fff}
body.tg-a.tg-a .load-more{text-align:center;margin-top:16px}
body.tg-a.tg-a .cta-box{background:var(--c-primary);color:#fff;border-radius:var(--radius);border-bottom:4px solid var(--c-accent);padding:20px}
body.tg-a.tg-a .cta-box__title{display:block;font-size:18px;font-weight:700;margin-bottom:6px}body.tg-a.tg-a .cta-box p{margin:0 0 12px;font-size:13.5px;color:#E3ECF6}
body.tg-a.tg-a .reasons{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;counter-reset:r}
body.tg-a.tg-a .reasons li{counter-increment:r;background:var(--c-cream);border:1px solid var(--c-cream-line);border-radius:var(--radius);padding:14px;font-weight:600;font-size:14.5px}
body.tg-a.tg-a .reasons li::before{content:counter(r,decimal-leading-zero);display:block;font:700 26px var(--f-serif);color:var(--c-accent-text)}
body.tg-a.tg-a .toc a{display:block;font-size:13px;line-height:1.35;padding:5px 8px}
body.tg-a.tg-a .ph{background:var(--c-ph);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;font-size:12px;color:#44566B}
body.tg-a.tg-a .entry{background:#fff;border:1px solid var(--c-line);border-radius:12px;padding:28px 34px}
body.tg-a.tg-a .entry__meta{font-size:13px;color:var(--c-muted);margin-bottom:14px}
body.tg-a.tg-a .entry__title{font:700 36px/1.2 var(--f-serif);margin:0 0 14px}
body.tg-a.tg-a .entry__thumb{margin:0 0 16px;border-radius:var(--radius);overflow:hidden}body.tg-a.tg-a .entry__thumb img{display:block;width:100%}
body.tg-a.tg-a .info-card{background:var(--c-panel);border:1px solid var(--c-line);border-radius:var(--radius);padding:20px}
body.tg-a.tg-a .info-card dt{font-weight:700;margin-top:10px}body.tg-a.tg-a .info-card dd{margin:0}
body.tg-a.tg-a .map-embed{aspect-ratio:16/6;min-height:240px;border-radius:var(--radius);overflow:hidden;background:#D5E0EC;margin-top:14px}body.tg-a.tg-a .map-embed iframe{width:100%;height:100%;border:0}
body.tg-a.tg-a .video-embed{aspect-ratio:16/9;background:#000;border-radius:var(--radius-sm);overflow:hidden}body.tg-a.tg-a .video-embed iframe{width:100%;height:100%;border:0}
body.tg-a.tg-a .entry-content{font-size:16px;line-height:1.7}
body.tg-a.tg-a .entry-content>*:first-child{margin-top:0}
body.tg-a.tg-a .entry-content h2{font-size:24px;margin:1.4em 0 .5em}body.tg-a.tg-a .entry-content h3{font-size:19px;margin:1.4em 0 .5em;color:var(--c-primary)}
body.tg-a.tg-a .entry-content h4{font-size:16.5px;margin:1.3em 0 .5em}body.tg-a.tg-a .entry-content h5{font-size:14px;margin:1.2em 0 .5em;text-transform:uppercase;letter-spacing:.04em;color:var(--c-muted)}
body.tg-a.tg-a .entry-content a{color:var(--c-primary);text-decoration:underline}body.tg-a.tg-a .entry-content a:hover{color:var(--c-primary-dark)}
body.tg-a.tg-a .entry-content ul,body.tg-a.tg-a .entry-content ol{padding-left:1.4em;margin:0 0 1em}body.tg-a.tg-a .entry-content li{margin-bottom:.35em}
body.tg-a.tg-a .entry-content blockquote,body.tg-a.tg-a .wp-block-quote{margin:1.2em 0;padding:12px 18px;border-left:4px solid var(--c-accent);background:var(--c-cream);color:var(--c-muted)}
body.tg-a.tg-a .entry-content table,body.tg-a.tg-a .wp-block-table table{width:100%;border-collapse:collapse;margin:1em 0;font-size:14.5px}
body.tg-a.tg-a .entry-content th,body.tg-a.tg-a .entry-content td{border:1px solid var(--c-line);padding:8px 10px;text-align:left}body.tg-a.tg-a .entry-content th{background:var(--c-panel)}
body.tg-a.tg-a .entry-content figure{margin:1em 0}body.tg-a.tg-a .entry-content figcaption,body.tg-a.tg-a .wp-caption-text{font-size:12.5px;color:var(--c-muted);margin-top:6px}
body.tg-a.tg-a .entry-content img{border-radius:var(--radius-sm)}
body.tg-a.tg-a .entry-content hr{border:0;border-top:1px solid var(--c-line);margin:1.6em 0}
body.tg-a.tg-a .entry-content .wp-block-button__link{display:inline-block;background:var(--c-accent);color:var(--c-accent-ink);font-weight:700;padding:10px 20px;border-radius:var(--radius-sm);text-decoration:none}
body.tg-a.tg-a .alignleft{float:left;margin:.3em 1.2em 1em 0}body.tg-a.tg-a .alignright{float:right;margin:.3em 0 1em 1.2em}body.tg-a.tg-a .aligncenter{display:block;margin:1em auto}
body.tg-a.tg-a .alignwide,body.tg-a.tg-a .alignfull{max-width:100%}body.tg-a.tg-a .wp-caption{max-width:100%}body.tg-a.tg-a .sticky{}body.tg-a.tg-a .bypostauthor{}body.tg-a.tg-a .gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}body.tg-a.tg-a .gallery-item{margin:0}
body.tg-a.tg-a .entry-content::after{content:"";display:table;clear:both}
body.tg-a.tg-a .grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.tg-a.tg-a .entry-content h3{color:var(--c-primary)}
body.tg-a.tg-a .post-row__title a,body.tg-a.tg-a .post-row__title{color:var(--c-ink)}
body.tg-a.tg-a .read-more{color:var(--c-primary);font-weight:600;font-size:13.5px}
body.tg-a.tg-a .entry .cta-box{margin-top:22px}
body.tg-a.tg-a .cta-box .btn--accent{color:var(--c-accent-ink)}
body.tg-a.tg-a .grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
/* own layout pages: neutralise parent wrappers, sidebar and title bar */
body.tg-a.tg-a .content_wrap:has(.tg-layout){width:100%!important;max-width:1240px;margin:0 auto;padding:0 20px}
body.tg-a.tg-a .content_wrap:has(.tg-layout) .content{width:100%;float:none}
body.tg-a.tg-a .content_wrap:has(.tg-layout)>.sidebar:not(.tg-sidebar){display:none}
body.tg-a.tg-a:has(.tg-layout) .sc_layouts_title,body.tg-a.tg-a:has(.tg-layout) .top_panel_title{display:none}
body.tg-a.tg-a .entry-content .elementor-section,body.tg-a.tg-a .entry--page .elementor{max-width:100%}
@media(max-width:860px){body.tg-a.tg-a .grid-2{grid-template-columns:1fr}body.tg-a.tg-a .post-row{grid-template-columns:1fr}body.tg-a.tg-a .entry{padding:18px}body.tg-a.tg-a .entry__title{font-size:28px}body.tg-a.tg-a .page-title{font-size:26px}}

/* ==== Stage 3h: Elementor pages inside the A layout (dark sections -> light) ==== */
body.tg-a.tg-a .entry--page .elementor-inner-section{background:#F2F5FA!important;border:1px solid var(--c-line);border-radius:10px;color:var(--c-ink)}
body.tg-a.tg-a .entry--page .scheme_dark,body.tg-a.tg-a .entry--page .elementor-inner-section{color:var(--c-ink)}
body.tg-a.tg-a .entry--page .elementor-inner-section :is(h1,h2,h3,h4,h5,h6,p,li,label,span,.elementor-heading-title,.elementor-icon-list-text,.sc_icons_item_title,.sc_icons_item_description):not(.elementor-button-text){color:var(--c-ink)!important}
body.tg-a.tg-a .entry--page .elementor-inner-section a:not(.elementor-button){color:var(--c-primary)}

/* ==== Stage 3i: contacts page ==== */
body.tg-a.tg-a .contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:14px;align-items:start}
body.tg-a.tg-a .contact-card{background:#fff;border:1px solid var(--c-line);border-radius:var(--radius);padding:20px}
body.tg-a.tg-a .contact-card__title{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--c-muted);font-weight:700;margin:0 0 12px}
body.tg-a.tg-a .contact-list{margin:0 0 14px}
body.tg-a.tg-a .contact-list dt{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--c-muted);font-weight:700;margin-top:10px}
body.tg-a.tg-a .contact-list dd{margin:2px 0 0;font:600 18px/1.3 var(--f-serif);color:var(--c-ink)}
body.tg-a.tg-a .contact-list dd a{color:var(--c-primary)}
body.tg-a.tg-a .contact-phone{background:var(--c-accent);color:var(--c-accent-ink);border-radius:var(--radius-sm);padding:12px 14px;margin:0 0 12px}
body.tg-a.tg-a .contact-phone span{display:block;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:700}
body.tg-a.tg-a .contact-phone a{color:var(--c-accent-ink);font:700 22px var(--f-sans);text-decoration:none}
body.tg-a.tg-a .contact-btns{display:flex;gap:8px;flex-wrap:wrap}
body.tg-a.tg-a .contact-btns .btn{flex:1 1 120px;color:#fff}
body.tg-a.tg-a .btn--whatsapp{background:#1F7A4A}
body.tg-a.tg-a .btn--viber{background:#665CAC}
body.tg-a.tg-a .contact-card .wpcf7 input[type=text],body.tg-a.tg-a .contact-card .wpcf7 input[type=email],body.tg-a.tg-a .contact-card .wpcf7 input[type=tel],body.tg-a.tg-a .contact-card .wpcf7 textarea{width:100%;border:1px solid var(--c-line);border-radius:var(--radius-sm);padding:10px;font:inherit;background:#fff;color:var(--c-ink)}
body.tg-a.tg-a .contact-card .wpcf7 label{display:block;font-size:13.5px;font-weight:600;margin-bottom:10px}
@media(max-width:860px){body.tg-a.tg-a .contact-grid{grid-template-columns:1fr}}

/* ==== Stage 3j: mobile overflow fixes ==== */
body.tg-a.tg-a .site-main,body.tg-a.tg-a .post-row>div,body.tg-a.tg-a .entry,body.tg-a.tg-a .contact-card{min-width:0}
body.tg-a.tg-a .post-row__excerpt,body.tg-a.tg-a .post-row__title,body.tg-a.tg-a .entry-content{overflow-wrap:anywhere}
@media(max-width:860px){
  body.tg-a.tg-a .site-layout{grid-template-columns:minmax(0,1fr)}
  body.tg-a.tg-a .post-row{grid-template-columns:minmax(0,1fr)}
  body.tg-a.tg-a .post-row__thumb{height:150px}
  body.tg-a.tg-a .entry-content img,body.tg-a.tg-a .entry-content iframe,body.tg-a.tg-a .entry-content table{max-width:100%}
}

/* ==== Stage 3k ==== */
body.tg-a.tg-a .content_wrap:has(.tg-layout),body.tg-a.tg-a.home .content_wrap{box-sizing:border-box;max-width:min(1240px,100%)}
body.tg-a.tg-a .content_wrap:has(.tg-layout) .content{box-sizing:border-box;margin:0;padding:0}
@media(max-width:860px){body.tg-a.tg-a .content_wrap:has(.tg-layout),body.tg-a.tg-a.home .content_wrap{padding:0 15px!important;width:100%!important}}

/* ==== Stage 3l: final palette = revised concept A (light): cream cards, blue title bars, cream banner ==== */
:root{--c-primary:#1F5A94;--c-primary-dark:#174A7C;--c-panel:#EEF3F8;--c-line:#C9D6E3}
body.tg-a.tg-a{background:#fff}
body.tg-a.tg-a .banner h1,body.tg-a.tg-a .banner h2{color:var(--c-primary)}
body.tg-a.tg-a .banner p{color:var(--c-muted)}
body.tg-a.tg-a .banner__eyebrow{color:var(--c-accent-text)}

/* ==== Stage 3m: language switcher = 4 languages in one line (as in concept A) ==== */
body.tg-a.tg-a .tg-lang{display:flex;gap:4px;list-style:none;margin:0;padding:0;align-items:center}
body.tg-a.tg-a .tg-lang li{margin:0;padding:0;list-style:none}
body.tg-a.tg-a .tg-lang a{display:block;color:rgba(255,255,255,.85);font-size:12.5px;font-weight:600;letter-spacing:.04em;padding:3px 8px;border-radius:4px;text-decoration:none}
body.tg-a.tg-a .tg-lang a:hover{color:#fff;background:rgba(255,255,255,.14)}
body.tg-a.tg-a .tg-lang .is-current a{color:#fff;background:rgba(255,255,255,.2)}

/* Stage 3o: search in the top bar */
body.tg-a.tg-a .tg-topbar .tg-search{position:relative;display:flex;align-items:center;margin-left:auto;margin-right:12px;flex:0 1 260px}
body.tg-a.tg-a .tg-topbar .tg-search input{width:100%;height:26px;margin:0;padding:0 30px 0 10px;border:1px solid rgba(255,255,255,.35);border-radius:4px;background:rgba(255,255,255,.12);color:#fff;font:inherit;font-size:12.5px;box-shadow:none}
body.tg-a.tg-a .tg-topbar .tg-search input::placeholder{color:rgba(255,255,255,.8);opacity:1}
body.tg-a.tg-a .tg-topbar .tg-search input:focus{background:#fff;color:var(--c-ink);outline:2px solid var(--c-accent);outline-offset:1px}
body.tg-a.tg-a .tg-topbar .tg-search input:focus::placeholder{color:var(--c-muted)}
body.tg-a.tg-a .tg-topbar .tg-search button{position:absolute;right:0;top:0;height:26px;width:28px;padding:0;border:0;background:transparent;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
body.tg-a.tg-a .tg-topbar .tg-search input:focus + button{color:var(--c-primary-dark)}
body.tg-a.tg-a .tg-topbar .tg-search input[type=search]::-webkit-search-cancel-button{display:none}
@media(max-width:860px){body.tg-a.tg-a .tg-topbar .tg-search{order:3;flex:1 1 100%;margin:0}}
/* Stage 3p: no search / contact block at the bottom of the sidebar (search lives in the top bar) */
body.tg-a.tg-a .tg-sidebar .widget--search,body.tg-a.tg-a .tg-sidebar .widget--contact{display:none!important}

/* Stage 3n: sticky top bar + header (logo, contacts, search, menu stay visible on scroll) */
body.tg-a.tg-a{--tg-topbar-h:38px}
body.tg-a.tg-a .tg-topbar{position:sticky;top:0;z-index:101}
body.tg-a.tg-a .tg-header{position:sticky;top:var(--tg-topbar-h);z-index:100}
body.tg-a.tg-a.admin-bar .tg-topbar{top:32px}
body.tg-a.tg-a.admin-bar .tg-header{top:calc(32px + var(--tg-topbar-h))}
/* sticky needs the page wrapper not to be a scroll container */
body.tg-a.tg-a .page_wrap{overflow:visible;overflow-x:clip}
body.tg-a.tg-a{overflow-x:clip}

/* Stage 3q: left sidebar stays in view under the sticky header while the content scrolls */
body.tg-a.tg-a{--tg-sticky-h:108px}
@media(min-width:861px){
body.tg-a.tg-a .tg-layout > .tg-sidebar{position:sticky;top:calc(var(--tg-sticky-h) + 20px);align-self:start;max-height:calc(100vh - var(--tg-sticky-h) - 40px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}

/* Home page: the hero block and the three stat cards stay pinned under the sticky header; "Veiklos sritys" and everything below scrolls up beneath them. Only on large screens (a pinned block this tall would not leave room on phones or short windows). */
@media(min-width:861px) and (min-height:760px){
body.tg-a.tg-a .tg-home-pin{position:sticky;top:var(--tg-sticky-h);z-index:40;background:#fff;margin-top:-20px;padding-top:20px;padding-bottom:8px;box-shadow:0 10px 10px -10px rgba(16,38,63,.25)}
}

/* Stage 3r: light top bar (variant 1) - menu becomes the strongest element */
body.tg-a.tg-a .tg-topbar{background:var(--c-panel);color:var(--c-ink);border-bottom:1px solid var(--c-line)}
body.tg-a.tg-a .tg-topbar a{color:var(--c-primary-dark)!important;font-weight:600}
body.tg-a.tg-a .tg-topbar a:hover{color:var(--c-primary)!important;text-decoration:underline}
body.tg-a.tg-a .tg-lang a{color:var(--c-ink)!important;font-weight:600}
body.tg-a.tg-a .tg-lang a:hover{background:#fff;text-decoration:none}
body.tg-a.tg-a .tg-lang .is-current a{color:#fff!important;background:var(--c-primary)}
body.tg-a.tg-a .tg-topbar .tg-search input{background:#fff;color:var(--c-ink);border:1px solid var(--c-line)}
body.tg-a.tg-a .tg-topbar .tg-search input::placeholder{color:var(--c-muted)}
body.tg-a.tg-a .tg-topbar .tg-search input:focus{background:#fff;color:var(--c-ink);border-color:var(--c-primary)}
body.tg-a.tg-a .tg-topbar .tg-search button{color:#10263F!important;background:var(--c-accent)!important;border-radius:0 4px 4px 0}
body.tg-a.tg-a .tg-topbar .tg-search input:focus + button{color:#10263F!important}
body.tg-a.tg-a .tg-header{border-bottom:1px solid var(--c-line)}

/* Home hero slider (text slides, same size as the former static banner) */
body.tg-a.tg-a .tg-hero{display:block;position:relative;padding:16px 46px}
body.tg-a.tg-a .tg-hero__slides{display:grid}
body.tg-a.tg-a .tg-hero__slide{grid-area:1/1;display:flex;gap:16px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s}
body.tg-a.tg-a .tg-hero__slide.is-active{opacity:1;visibility:visible}
body.tg-a.tg-a .tg-hero__arrow{position:absolute;top:50%;transform:translateY(-50%);width:28px;height:36px;padding:0;border:0;border-radius:3px;background:var(--c-accent);color:#fff;font:700 22px/1 var(--f-sans,inherit);cursor:pointer;opacity:.9}
body.tg-a.tg-a .tg-hero__arrow:hover,body.tg-a.tg-a .tg-hero__arrow:focus-visible{opacity:1;outline:2px solid var(--c-primary);outline-offset:1px}
body.tg-a.tg-a .tg-hero__arrow--prev{left:8px}
body.tg-a.tg-a .tg-hero__arrow--next{right:8px}
body.tg-a.tg-a .tg-hero__dots{position:absolute;left:0;right:0;bottom:4px;display:flex;justify-content:center;gap:7px;pointer-events:none}
body.tg-a.tg-a .tg-hero__dot{pointer-events:auto;width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(16,38,63,.25);cursor:pointer}
body.tg-a.tg-a .tg-hero__dot.is-active{background:var(--c-accent)}
@media(max-width:600px){body.tg-a.tg-a .tg-hero{padding:14px 36px 18px}}
@media(prefers-reduced-motion:reduce){body.tg-a.tg-a .tg-hero__slide{transition:none}}
body.tg-a.tg-a .tg-hero p{max-width:780px}
/* keep the sidebar exactly where it is when the page is scrolled to the very bottom (let it use the 20px padding below the content) */
body.tg-a.tg-a .tg-layout > .tg-sidebar{margin-bottom:-72px}

/* Article picture inside the text: cropped to about a third of the screen height (approved on post 2845) */
body.tg-a.tg-a .entry-content .entry__thumb{margin:16px 0}
body.tg-a.tg-a .entry-content .entry__thumb img{width:100%;height:clamp(180px,34vh,320px);object-fit:cover;object-position:center 40%}

/* Pictures in the text: wide pictures are cropped to ~1/3 screen height; small files (< 600 px) keep their own size, centred */
body.tg-a.tg-a .entry-content .entry__pic{margin:16px 0;clear:both}
body.tg-a.tg-a .entry-content .entry__pic .alignleft,body.tg-a.tg-a .entry-content .entry__pic .alignright,body.tg-a.tg-a .entry-content .entry__pic .aligncenter{float:none;display:block;margin:0 auto;max-width:100%}
body.tg-a.tg-a .entry-content .entry__pic img{display:block;width:100%;height:clamp(180px,34vh,320px);object-fit:cover;object-position:center 40%;border-radius:var(--radius)}
body.tg-a.tg-a .entry-content .entry__pic .wp-caption{width:100%!important}
body.tg-a.tg-a .entry-content .entry__thumb--small,body.tg-a.tg-a .entry-content .entry__pic--small{text-align:center}
body.tg-a.tg-a .entry-content .entry__thumb--small img,body.tg-a.tg-a .entry-content .entry__pic--small img{display:inline-block;width:auto;max-width:100%;height:auto;object-fit:initial}
body.tg-a.tg-a .entry-content .entry__pic--small .wp-caption{width:auto!important;display:inline-block}

/* left menu: the rubric you are in is marked */
body.tg-a.tg-a .tg-sidebar li.is-current > a{font-weight:700;color:var(--c-primary);position:relative}
body.tg-a.tg-a .tg-sidebar li.is-current > a::before{content:"";position:absolute;left:-10px;top:.2em;bottom:.2em;width:3px;border-radius:2px;background:var(--c-accent)}

/* Old texts were saved justified (wide gaps between words): show them left-aligned and easier to read */
body.tg-a.tg-a .entry-content p,body.tg-a.tg-a .entry-content li,body.tg-a.tg-a .entry-content blockquote{text-align:left!important;text-indent:0!important}
body.tg-a.tg-a .entry-content p{line-height:1.7}
body.tg-a.tg-a .entry-content h2{margin-top:1.6em;scroll-margin-top:calc(var(--tg-sticky-h,110px) + 16px)}
body.tg-a.tg-a .entry-content h3{margin-top:1.3em;scroll-margin-top:calc(var(--tg-sticky-h,110px) + 16px)}
body.tg-a.tg-a .entry-content iframe{max-width:100%}
/* contents box on long pages */
body.tg-a.tg-a .tg-toc{margin:0 0 1.5rem;padding:.8rem 1rem;background:var(--c-cream);border:1px solid var(--c-cream-line);border-radius:var(--radius)}
body.tg-a.tg-a .tg-toc__title{display:block;margin:0 0 .4rem;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--c-muted)}
body.tg-a.tg-a .tg-toc ol{margin:0;padding-left:1.2rem;columns:2;column-gap:2rem}
body.tg-a.tg-a .tg-toc li{margin:.15rem 0;break-inside:avoid}
@media(max-width:700px){body.tg-a.tg-a .tg-toc ol{columns:1}}

/* service card descriptions: at most two lines, then an ellipsis */
body.tg-a.tg-a .service-card__text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}

/* Footer line (name + address) stays at the bottom of the window on large screens, like the top menu stays on top */
body.tg-a.tg-a{--tg-footer-h:0px}
@media(min-width:861px) and (min-height:640px){
body.tg-a.tg-a{--tg-footer-h:46px}
body.tg-a.tg-a .tg-footer{position:sticky;bottom:0;z-index:90;padding:14px 0;box-shadow:0 -6px 12px -8px rgba(16,38,63,.35)}
body.tg-a.tg-a .tg-layout > .tg-sidebar{max-height:calc(100vh - var(--tg-sticky-h) - 40px - var(--tg-footer-h))}
}

/* Article title one third smaller (36px -> 24px) */
body.tg-a.tg-a .entry__title{font-size:24px;line-height:1.25;margin-bottom:12px}
@media(max-width:860px){body.tg-a.tg-a .entry__title{font-size:20px}}

/* "Klausyti" bar stays under the top menu while the article is read, so it can be pressed at any moment */
@media(min-width:861px) and (min-height:640px){
body.tg-a.tg-a .tp-listen{position:sticky;top:calc(var(--tg-sticky-h) + 8px);z-index:45;background:#eef2f6;box-shadow:0 6px 12px -8px rgba(16,38,63,.35)}
}

/* Article title and listen bar are pinned together under the top menu (only when the bar is shown) */
@media(min-width:861px) and (min-height:640px){
body.tg-a.tg-a .tg-readbar:has(.tp-listen:not([hidden])){position:sticky;top:calc(var(--tg-sticky-h) + 8px);z-index:46;background:#fff;padding:6px 0 0;margin:0 0 12px;box-shadow:0 8px 10px -10px rgba(16,38,63,.35)}
body.tg-a.tg-a .tg-readbar .entry__title{margin:0 0 8px}
body.tg-a.tg-a .tg-readbar .tp-listen{position:static;top:auto;margin:0 0 8px;box-shadow:none}
}

/* Text with an even right edge (justified) on wider screens; word breaks keep the gaps small */
@media(min-width:700px){body.tg-a.tg-a.single-post .entry-content p,body.tg-a.tg-a.single-post .entry-content li{text-align:justify!important;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word}}

/* the space under the content belongs to the content column (not to the layout padding), so the sticky left menu has room until the very end of the page */
@media(min-width:861px){
body.tg-a.tg-a .tg-layout{padding-bottom:0}
body.tg-a.tg-a .tg-layout > .site-main{padding-bottom:32px}
}

/* consultation button in the pinned row */
body.tg-a.tg-a .tg-ask{display:inline-flex;align-items:center;gap:10px;margin-left:12px;padding-left:14px;border-left:1px solid rgba(127,127,127,.4);font-size:.9rem;font-weight:600;color:var(--c-primary)}
body.tg-a.tg-a .tg-ask__btn{padding:.45rem .9rem;font-size:.9rem;white-space:nowrap}
body.tg-a.tg-a .tg-ask--solo{display:flex;justify-content:flex-end;margin:0 0 8px;padding:0;border:0}
@media(max-width:860px){body.tg-a.tg-a .tg-ask{display:none}}
body.tg-a.tg-a .tg-readbar--solo{position:sticky}
/* first heading in the text: no big gap under the listen bar */
body.tg-a.tg-a .entry-content > h2:first-child,body.tg-a.tg-a .entry-content > h3:first-child{margin-top:.4em}

/* short breadcrumb (no repeated title); categories stay in the page but are not shown */
body.tg-a.tg-a .breadcrumbs__cur,body.tg-a.tg-a .entry__cats{display:none}

/* Title + listen bar start exactly where they are pinned, so nothing moves when scrolling begins; date and path sit under the bar */
@media(min-width:861px) and (min-height:640px){
body.tg-a.tg-a.single-post .tg-layout{padding-top:0}
body.tg-a.tg-a.single-post .tg-layout > .tg-sidebar{margin-top:20px}
body.tg-a.tg-a.single-post .entry{padding-top:0}
body.tg-a.tg-a.single-post .tg-readbar:has(.tp-listen:not([hidden])){top:calc(var(--tg-sticky-h) + 1px);padding-top:21px}
}
body.tg-a.tg-a .entry__meta--below{margin:2px 0 10px;font-size:13px;color:var(--c-muted)}
body.tg-a.tg-a .entry__meta--below a{color:var(--c-muted)}

/* the first heading of a block (also inside old editor widgets) does not need the big top margin */
body.tg-a.tg-a .entry-content h2:first-child,body.tg-a.tg-a .entry-content h3:first-child{margin-top:.2em}
body.tg-a.tg-a .entry__meta--below{margin-bottom:4px}
@media(min-width:861px) and (min-height:640px){
body.tg-a.tg-a.single-post .tg-readbar--solo{top:calc(var(--tg-sticky-h) + 1px);padding-top:21px}
}

/* Share bar under the article text */
body.tg-a.tg-a .tg-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:22px 0 18px;padding-top:16px;border-top:1px solid var(--c-line)}
body.tg-a.tg-a .tg-share__label{margin-right:4px;font-weight:700;color:var(--c-primary)}
body.tg-a.tg-a .tg-share__btn{display:inline-block;margin:0;padding:.42rem .85rem;border:1px solid var(--c-line);border-radius:999px;background:#fff;color:var(--c-primary);font:inherit;font-size:.88rem;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer}
body.tg-a.tg-a .tg-share__btn:hover,body.tg-a.tg-a .tg-share__btn:focus-visible{border-color:var(--c-primary);background:var(--c-cream);outline:none}
body.tg-a.tg-a .tg-share__native[hidden]{display:none}
@media print{body.tg-a.tg-a .tg-share{display:none}}
html body.tg-a.tg-a button.tg-share__btn{background:#fff!important;color:var(--c-primary)!important;border:1px solid var(--c-line)!important;border-radius:999px!important;padding:.42rem .85rem!important;font:inherit!important;font-size:.88rem!important;font-weight:600!important;line-height:1.2!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;height:auto!important;min-height:0!important}
html body.tg-a.tg-a button.tg-share__btn:hover,html body.tg-a.tg-a button.tg-share__btn:focus-visible{background:var(--c-cream)!important;border-color:var(--c-primary)!important;outline:none!important}

/* Date line: path and date on the left, compact share row on the right (large screens only) */
body.tg-a.tg-a .entry__meta--below{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px}
body.tg-a.tg-a .tg-share--top{margin:0;padding:0;border:0;gap:6px;justify-content:flex-end}
body.tg-a.tg-a .tg-share--top .tg-share__btn{padding:.22rem .6rem;font-size:.78rem}
html body.tg-a.tg-a .tg-share--top button.tg-share__btn{padding:.22rem .6rem!important;font-size:.78rem!important}
@media(max-width:860px){body.tg-a.tg-a .tg-share--top{display:none}}

/* Share buttons: warm cream fill with an orange edge so they stand out from the white page */
body.tg-a.tg-a .tg-share__btn{background:#FFF4E4;border:1px solid var(--c-accent);color:var(--c-primary)}
body.tg-a.tg-a .tg-share__btn:hover,body.tg-a.tg-a .tg-share__btn:focus-visible{background:#FFE3BF;border-color:#DB6C05;color:var(--c-primary)}
html body.tg-a.tg-a button.tg-share__btn{background:#FFF4E4!important;border:1px solid var(--c-accent)!important;color:var(--c-primary)!important}
html body.tg-a.tg-a button.tg-share__btn:hover,html body.tg-a.tg-a button.tg-share__btn:focus-visible{background:#FFE3BF!important;border-color:#DB6C05!important}

/* the article that carries the rubric's own name is shown first and highlighted */
body.tg-a.tg-a .post-row--main{border-color:var(--c-accent);box-shadow:0 0 0 1px var(--c-accent) inset}
body.tg-a.tg-a .post-row--main .post-row__cat{color:var(--c-accent-text)}

/* Phones: only the logo row with the menu button stays pinned; the contact/search bar scrolls away (it took too much of a small screen) */
@media(max-width:860px){
body.tg-a.tg-a .tg-topbar{position:static}
body.tg-a.tg-a .tg-header{top:0}
}

/* "Dalintis" menu in the pinned row */
body.tg-a.tg-a .tg-dal{position:relative;display:inline-flex;margin-left:12px}
html body.tg-a.tg-a button.tg-dal__btn{margin:0!important;padding:.42rem .85rem!important;border:1px solid var(--c-accent)!important;border-radius:999px!important;background:#FFF4E4!important;color:var(--c-primary)!important;font:inherit!important;font-size:.88rem!important;font-weight:700!important;line-height:1.2!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;height:auto!important;min-height:0!important;cursor:pointer}
html body.tg-a.tg-a button.tg-dal__btn:hover,html body.tg-a.tg-a button.tg-dal__btn:focus-visible,html body.tg-a.tg-a button.tg-dal__btn[aria-expanded="true"]{background:#FFE3BF!important;border-color:#DB6C05!important;outline:none!important}
body.tg-a.tg-a .tg-dal__pop{position:absolute;right:0;top:calc(100% + 8px);z-index:70;display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:210px;margin:0;padding:10px;border:1px solid var(--c-line);border-radius:12px;background:#fff;box-shadow:0 10px 24px -8px rgba(16,38,63,.35)}
body.tg-a.tg-a .tg-dal__pop[hidden]{display:none}
body.tg-a.tg-a .tg-dal__pop .tg-share__btn{display:block;text-align:left;width:100%}
body.tg-a.tg-a .tg-dal__pop .tg-share__native[hidden]{display:none}
/* the old ask button sits next to Dalintis */
body.tg-a.tg-a .tg-ask{margin-left:12px}
body.tg-a.tg-a .tg-solo-row{display:flex;justify-content:flex-end;align-items:center;gap:0;margin:0 0 8px}
body.tg-a.tg-a .tg-solo-row .tg-ask--solo{margin:0 0 0 12px}
@media(max-width:860px){body.tg-a.tg-a .tg-dal{margin-left:0}}

/* back to top button */
body.tg-a.tg-a .tg-top{position:fixed;right:20px;bottom:calc(var(--tg-footer-h,0px) + 20px);z-index:80;width:43px;height:43px;border-radius:4px;background:var(--c-accent);box-shadow:0 4px 10px -4px rgba(16,38,63,.45);text-decoration:none}
body.tg-a.tg-a .tg-top[hidden]{display:none}
body.tg-a.tg-a .tg-top::before{content:"";position:absolute;left:50%;top:50%;width:11px;height:11px;margin:-3px 0 0 -6px;border-left:3px solid var(--c-accent-ink);border-top:3px solid var(--c-accent-ink);transform:rotate(45deg)}
body.tg-a.tg-a .tg-top:hover,body.tg-a.tg-a .tg-top:focus-visible{background:#DB6C05;outline:none}
@media print{body.tg-a.tg-a .tg-top{display:none}}
body.tg-a.tg-a .trx_addons_scroll_to_top{display:none!important}

/* two-column blocks of converted pages (FAQ) */
body.tg-a.tg-a .tg-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 36px;margin:0 0 22px}
body.tg-a.tg-a .tg-cols.tg-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
body.tg-a.tg-a .tg-cols .tg-col > :first-child{margin-top:0}
@media(max-width:760px){body.tg-a.tg-a .tg-cols,body.tg-a.tg-a .tg-cols.tg-cols-3{grid-template-columns:1fr}}

/* Rubric pages: title and sub-rubric buttons are pinned under the top menu while the article list scrolls (large screens) */
body.tg-a.tg-a .breadcrumbs--below{margin:6px 0 14px}
@media(min-width:861px) and (min-height:640px){
body.tg-a.tg-a .tg-layout:has(.tg-pinhead){padding-top:0}
body.tg-a.tg-a .tg-layout:has(.tg-pinhead) > .tg-sidebar{margin-top:20px}
body.tg-a.tg-a .tg-pinhead{position:sticky;top:var(--tg-sticky-h);z-index:40;background:#fff;padding:20px 0 10px;margin:0 0 4px;box-shadow:0 8px 10px -10px rgba(16,38,63,.3)}
body.tg-a.tg-a .tg-pinhead .page-title{font-size:26px;line-height:1.2;margin:0 0 10px}
body.tg-a.tg-a .tg-pinhead .chips{margin:0;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;-webkit-mask-image:linear-gradient(90deg,#000 94%,transparent);mask-image:linear-gradient(90deg,#000 94%,transparent)}
body.tg-a.tg-a .tg-pinhead .chips li{flex:none}
body.tg-a.tg-a .tg-pinhead .chips a{padding:.3rem .8rem;font-size:.85rem;white-space:nowrap}
}
@media(min-width:861px) and (min-height:640px){
body.tg-a.tg-a .tg-pinhead .chips{scrollbar-color:#C9D6E3 transparent}
body.tg-a.tg-a .tg-pinhead .chips::-webkit-scrollbar{height:5px}
body.tg-a.tg-a .tg-pinhead .chips::-webkit-scrollbar-thumb{background:#C9D6E3;border-radius:3px}
body.tg-a.tg-a .tg-pinhead .chips::-webkit-scrollbar-track{background:transparent}
}

/* Page numbers under the article lists: readable, all neighbouring numbers shown */
html body.tg-a.tg-a .nav-links .page-numbers{display:inline-block;min-width:42px;height:auto;padding:9px 13px;border:1px solid var(--c-line)!important;border-radius:var(--radius-sm);background:#fff!important;color:var(--c-primary)!important;font-size:15px!important;font-weight:600;line-height:1.2;text-align:center;text-indent:0!important;text-decoration:none}
html body.tg-a.tg-a .nav-links a.page-numbers:hover,html body.tg-a.tg-a .nav-links a.page-numbers:focus-visible{background:var(--c-cream)!important;border-color:var(--c-primary)!important}
html body.tg-a.tg-a .nav-links .page-numbers.current{background:var(--c-primary)!important;border-color:var(--c-primary)!important;color:#fff!important}
html body.tg-a.tg-a .nav-links .page-numbers.dots{border-color:transparent!important;background:transparent!important;color:var(--c-muted)!important;min-width:0;padding-left:4px;padding-right:4px}
html body.tg-a.tg-a .nav-links .page-numbers.next,html body.tg-a.tg-a .nav-links .page-numbers.prev{min-width:0;padding:9px 16px;width:auto}
html body.tg-a.tg-a .nav-links .page-numbers.next::before,html body.tg-a.tg-a .nav-links .page-numbers.prev::before,html body.tg-a.tg-a .nav-links .page-numbers.next::after,html body.tg-a.tg-a .nav-links .page-numbers.prev::after{content:none!important;display:none!important}

/* Always-visible contacts: big phone in the header, phone/e-mail in the footer line, floating WhatsApp / Viber */
body.tg-a.tg-a .tg-footer__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 24px}
body.tg-a.tg-a .tg-footer__in p{font-size:12.5px;line-height:1.35}
body.tg-a.tg-a .tg-footer__contacts{display:flex;gap:18px;white-space:nowrap}
body.tg-a.tg-a .tg-footer__contacts a{color:#fff;font-weight:700;font-size:15px;text-decoration:none}
body.tg-a.tg-a .tg-footer__contacts a:hover{text-decoration:underline;color:#fff}
body.tg-a.tg-a .tg-phone{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:17px;color:var(--c-primary-dark);text-decoration:none;white-space:nowrap;margin-left:10px}
body.tg-a.tg-a .tg-phone:hover{color:var(--c-primary);text-decoration:underline}
body.tg-a.tg-a .tg-phone svg{color:var(--c-accent)}
body.tg-a.tg-a .tg-fab{position:fixed;right:20px;bottom:calc(var(--tg-footer-h,0px) + 20px + 43px + 10px);z-index:80;display:flex;flex-direction:column;gap:10px}
body.tg-a.tg-a .tg-fab__btn{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;color:#fff;box-shadow:0 4px 10px -3px rgba(16,38,63,.5);text-decoration:none}
body.tg-a.tg-a .tg-fab__btn--wa{background:#25D366}
body.tg-a.tg-a .tg-fab__btn--vb{background:#7360F2}
body.tg-a.tg-a .tg-fab__btn:hover,body.tg-a.tg-a .tg-fab__btn:focus-visible{filter:brightness(.92);color:#fff}
@media(max-width:860px){body.tg-a.tg-a .tg-footer__contacts{width:100%}body.tg-a.tg-a .tg-phone{margin:8px 0 0;justify-content:center;font-size:18px}}
@media print{body.tg-a.tg-a .tg-fab{display:none}}

/* Quick request window */
body.tg-a.tg-a .tg-modal{border:0;border-radius:10px;padding:26px 28px;width:min(520px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;box-shadow:0 20px 50px -10px rgba(16,38,63,.55);color:var(--c-ink)}
body.tg-a.tg-a .tg-modal::backdrop{background:rgba(16,38,63,.55)}
body.tg-a.tg-a .tg-modal h2{margin:0 0 6px;font-size:24px;color:var(--c-primary-dark)}
body.tg-a.tg-a .tg-modal__lead{margin:0 0 14px;font-size:15px}
body.tg-a.tg-a .tg-modal__x{position:absolute;right:10px;top:8px;width:34px;height:34px;border:0;background:transparent;font-size:28px;line-height:1;color:var(--c-muted);cursor:pointer}
body.tg-a.tg-a .tg-modal__x:hover{color:var(--c-ink)}
body.tg-a.tg-a .tg-modal .wpcf7 input[type=text],body.tg-a.tg-a .tg-modal .wpcf7 input[type=email],body.tg-a.tg-a .tg-modal .wpcf7 input[type=tel],body.tg-a.tg-a .tg-modal .wpcf7 textarea{width:100%;box-sizing:border-box}
body.tg-a.tg-a .tg-modal .wpcf7 textarea{min-height:110px}
body.tg-a.tg-a .tg-modal .wpcf7 textarea{min-height:0!important;height:80px!important}
body.tg-a.tg-a .tg-fab__btn--call{display:none;background:var(--c-accent);color:var(--c-accent-ink)}
@media(max-width:860px){body.tg-a.tg-a .tg-fab__btn--call{display:flex;width:54px;height:54px}}
body.tg-a.tg-a .tg-viber-num{font-size:26px;margin:6px 0 14px;color:var(--c-primary-dark)}

/* Related articles live inside the article card, so the pinned title + listen bar stay pinned to the very end of the page */
body.tg-a.tg-a.single-post .entry > .section-title{margin-top:32px;padding-top:24px;border-top:1px solid var(--c-line)}

/* Hero slider: the text block and the button stay on one row (wide Cyrillic text used to push the button below and made the whole slider taller than in Lithuanian) */
body.tg-a.tg-a .tg-hero__slide{flex-wrap:nowrap}
body.tg-a.tg-a .tg-hero__slide > div:first-child{flex:1 1 auto;min-width:0}
body.tg-a.tg-a .tg-hero__slide > .btn{flex:none}
@media(max-width:600px){body.tg-a.tg-a .tg-hero__slide{flex-wrap:wrap}}

/* Mega menu "Veiklos sritys" - compact: the big groups sit side by side (long groups in two columns), the single services form one tidy row underneath */
@media(min-width:861px){
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu{grid-template-columns:repeat(6,minmax(0,1fr));gap:0 18px;padding:12px 18px 14px}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu>li.menu-item-has-children{order:1;grid-column:span 1}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu>li.menu-item-has-children:has(>.sub-menu>li:nth-child(7)){grid-column:span 2}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu>li.menu-item-has-children:has(>.sub-menu>li:nth-child(7))>.sub-menu{columns:2;column-gap:14px}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu>li.menu-item-has-children:has(>.sub-menu>li:nth-child(7))>.sub-menu>li{break-inside:avoid}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu>li:not(.menu-item-has-children){order:2;margin-top:10px;padding-top:6px;border-top:1px solid var(--c-line)}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu a{padding:4px 8px;line-height:1.3}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu>li.menu-item-has-children>a{margin-bottom:2px}
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu>li:not(.menu-item-has-children)>a{font-weight:600;color:var(--c-primary)}
body.tg-a.tg-a .tg-menu .sub-menu .sub-menu a{padding:4px 8px;font-size:13px}
}

/* Mega menu: an invisible bridge fills the gap between the menu bar and the opened panel, so the panel does not close while the mouse moves down to it */
@media(min-width:861px){
body.tg-a.tg-a .tg-menu>li.mega>.sub-menu::before{content:"";position:absolute;left:0;right:0;top:-24px;height:24px}
}
