.h2-reset {font: bold 36px / 1.2 Roboto, sans-serif; font-weight: 400 !important;}

/*Сертификати от Супербрандс и ИТА в хедъра на сайта*/
.main-logo:after {background: url(/web/images/logo-superbrands-iso.png) no-repeat; width:160px!important;height: 71px;}


/*Дропдаун менюто да не е в две колони*/
.drop-down-nav li {display: block; padding:0 10px; width: 100%}
.drop-down-nav {width: 280px;}

.about-listing {margin-bottom: 50px;}

/*Заглавията H2 на някой секции да не са толкова огромни*/
.about-listing h2 {margin: 60px 0; font-family: akrobatregular,sans-serif; font-size: 30px; font-weight: 700;}

/*Текста в списък в две колони да не е толкова огромен*/
.about-listing__item p {margin-bottom: 40px; padding-left: 50px;
	font: normal 15px/1.5 open_sansregular,sans-serif;}
.about-listing__item p::before {width: 32px; height: 32px;}

/*Текстовете в списъците да не са по-малки от нормалния текст*/
.open_sansregular.text ul li {font-size: 15px;}

/*Галерия със снимки за стр. Кариери*/
.photogallery {display: flex; flex-wrap: wrap; list-style: none; margin: 0; overflow: hidden; padding: 0;}
.careers-item {flex-grow: 1; height: 220px;}
.careers-item:last-child {flex-grow: 2;}
.careers-item img {max-height: 100%; min-width: 100%; object-fit: cover; vertical-align: middle;}
.text ul.photogallery li:before {content: none;}
.text ul.photogallery li {padding: 2px;}
/* Portrait*/
@media (max-aspect-ratio: 1/1) {
  .careers-item {height: 30vh;}
}
/*Short screens*/
@media (max-height: 480px) {
  .careers-item {height: 80vh;}
}
/*Smaller screens in portrait*/
@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  .photogallery {flex-direction: row;}
  .careers-item {height: auto; width: 100%;}
  .careers-item img {max-height: 75vh; min-width: 0; width: 100%;}
}

.about-listing__item.less-padding {padding:0}
.about-listing__item.less-padding p {padding:0 20px 0 40px; font-size:15px; margin-top:20px;}
.about-listing__item.less-padding p::before {background-size:30px 30px; width: 30px; height: 30px; }

/* .main-nav li:nth-child(4) a {color:red;} */

/* Телефон и имейл над навигацията (desktop only) */
.main-header .site-menu {
    padding-top: 18px !important;
}

.main-header .header-quick-contacts {
    text-align: right;
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.main-header .header-quick-contacts a {
    color: #1e9fcc;
    text-decoration: none;
    font-family: open_sansregular, sans-serif;
    font-size: 14px;
    white-space: nowrap;
}

.main-header .header-quick-contacts__email {
    margin-left: 14px;
}

@media (max-width: 1200px) {
    .main-header .header-quick-contacts {
        display: none !important;
    }

    .main-header .site-menu {
        padding-top: 28px !important;
    }
}

/* Header "Офиси" select — като линковете Услуги/Кариери (без оранжев фон) */
.main-header .custom-select .select2-container {
    width: 130px !important;
    min-width: 130px !important;
}

.main-header .custom-select .select2-container--default .select2-selection--single {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.main-header .custom-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
    text-align: left !important;
    padding: 0 4px 0 5px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    flex: 0 0 auto !important;
    width: auto !important;
}

.main-header .custom-select .select2-container--default .select2-selection--single,
.main-header .custom-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: auto !important;
}

.main-header .custom-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    right: auto !important;
    flex: 0 0 auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: 2px !important;
}

.main-header .custom-select .select2-container--default .select2-selection--single .select2-selection__arrow b,
.custom-select .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
    margin-left: 0 !important;
    margin-top: -2px !important;
}

/* Select2 open state — keep visible arrow, flip direction */
.main-header .custom-select .select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #000 transparent !important;
    border-width: 0 4px 5px 4px !important;
    margin-top: -4px !important;
}

/* style.css li:nth-of-type(2) targetted Запитване/select; after menu reorder it hits "Услуги" */
.site-menu .main-nav ul li:nth-of-type(2) a:not(.btn) {
    padding: 0 5px !important;
    width: auto !important;
    height: auto !important;
    font-family: akrobatbold, sans-serif !important;
    text-transform: uppercase !important;
}

.site-menu .main-nav li.margin-right a.btn {
    padding: 5px !important;
    width: 150px !important;
    height: 50px !important;
    font-family: akrobatbold, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.site-menu .main-header .custom-select .select2-selection__rendered {
    font-family: akrobatsemibold !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
}

.open_sansregular {font-family:open_sansregular;}

.awards {display:flex; justify-content:center; }
.awards div {margin:0 20px; text-align: center}
.awards img {margin:0 auto;}

.text ul.person-list li {width: 180px; padding:0 10px; margin-top:30px; display: inline-block; vertical-align: top;}
.text ul.person-list li:before {display: none;}
.text ul.person-list h3 {padding:10px 0 5px}
.text .person-list img {margin: 0 auto 0px auto; width: 100px; height: 100px;}
.text .person-list span {font-size:14px; color:#a6a6a6; line-height: 1.2em;}
.text .person-list a {font-size:14px;color:#1e9fcc; text-decoration: none;}



/*Доклади за прозрачност*/
.pdf-list li:first-of-type a {padding: 20px 0;}
.pdf-list li:first-child {display: inline-block; border-top: 1px solid #eae1ce;}


.top-header .text p {line-height: 1.6em!important;}


/*Модула с хармоника за позициите за работа*/
.text a.tab-head {color:#1e9fcc!important;background:#ebebeb; border-top:1px solid #ccc; padding:20px;}
.tab-head:after {right:20px;}



/*Таблица в обявите за работа - с опит/без опит */
.positions .col-left, .positions .col-right {width:50%; padding:8px 0; border-left:5px solid white; border-right:5px solid white}
.positions .col-left {background:#fcf9f3;}
.positions .col-right {background: #f5fdff;}
.positions th {border-bottom:1px dotted #ccc; padding:15px 0 5px;} 

/*Страница Полиика за информационна сигурност */
.iso h2 {margin-top:30px}
.iso h2:first-child {margin-top:0}
.iso p {margin:0 0 10px; padding:0}
.iso td, th {
  border: 1px solid #ddd;
  padding: 8px;
}

.iso tr:nth-child(even){background-color: #f2f2f2;}

.iso tr:hover {background-color: #ddd;}

.iso th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #1e9fcc;
  color: white;
}




/*Кариери*/
.careers-heading {text-align: center; padding: 0; font-size:80px;}
.careers-heading-p {text-align: center; font-size: 2em; font-weight: 600;}

img.arrow {height: 75px; transform: scaleX(-1); position: relative; top: 10px; right: -40%;}
img.arrow-left {height: 75px; transform: scaleX(-1); }
img.arrow-left {height: 75px; transform: scaleX(-1); }

.text .gallery .person-list img {width:300px; height:200px; border-radius:2%}
.text .gallery ul.person-list li {width: 320px; padding:0 10px; margin-top:30px; display: inline-block; vertical-align: top;}
.text .gallery .person-list a {font-size:16px;color:#f28709;cursor:pointer}

/*Модал за Успешни истории*/
.modal {display: none; position: fixed; z-index: 10; padding-top: 60px;  left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.4); }
.modal-content {background-color: #fefefe; margin: auto; padding: 0px; border: 1px solid #888; width: 90%;}
.close {color: #aaa; float: right; font-size: 40px; font-weight: bold; margin:10px 50px 0}
.close:hover, .close:focus {color: #000; text-decoration: none; cursor: pointer;}
.modal-content img {width: 600px; float:left; margin:20px 40px 20px;}
.modal-content h2 {margin:20px 0 0 20px;}
.modal-content h4 {margin-left:20px;}
.modal-content .about {font-size:16px; margin: 0 50px 0 20px;}
.modal-content .quote {clear: left; position: relative; padding:30px 50px 30px 80px; font-size:18px; font-family: "Utopia-italic"; font-style:italic; color: #555555; border-top:2px dotted #ccc; background:#f7f7f7;}
.modal-content .quote ul li {font-size:18px; padding: 0;}
.modal-content .quote:before {position: absolute; top:0px; left: 10px; font-family:Arial; content: "\201C"; color:#f28709; font-size:7em;}


/*Страница Кариери - анимиран линк към отворените позиции*/
.blink {
  position:relative;
  animation-name: myAnimation;
  animation-duration: 4s;
  animation-iteration-count:infinite;
}

@keyframes myAnimation {
  0%   {left:0px;}
  2%  {left:10px; }
  4%  {left:-10px;}
  6%  {left:10px;}
  8%  {left:-10px;}
  10%  {left:10px;}
  12%  {left:-10px;}
  14%  {left:0px;}
  50% {left:0px; color: #f28709;}
  55% {left:0px; color: #000;}
  60% {left:0px; color: #f28709;}
  65% {left:0px; color: #000;}
  70% {left:0px; color: #f28709;}
  75% {left:0px; color: #000;}
  80% {left:0px; color: #f28709;}
}

.values-table {
  border-collapse: collapse;
  margin: 0 auto;
}

.values-table td {
  padding: 3px;
}

.tabs {
    margin: 20px 0;
    border-bottom: 1px solid #ccc;
}




/* Каре само с картата – центрирана, без абсолютното позициониране на стария .map-box */
.city-list-section {padding:30px 0; background-color: transparent !important;}

.city-list-section .map-box-2 {
  display: flex;
  align-items: center;      /* вертикално изравняване на картата с надписите */
  justify-content: center;
  gap: 40px;
  text-align: center;
}
.city-list-section .map-box-2 .box-img {
  flex: 0 0 auto;
  width: 434px;
}
.city-list-section .map-box-2 .box-img img {
  display: block;
  width: 100%;
  max-width: 434px;
  max-height: 270px;
  height: auto;
}
.city-list-section .map-box-2 .map-text {
  flex: 0 0 auto;
}

/* 4 човека равномерно по цялата ширина */
.text ul.person-list li.col-25 {
  width: 25%;
  margin-top: 0;
}

/* Снимки – пълен размер 130px (както в старото каре) */
.text ul.person-list li.col-25 img {
  width: 130px;
  height: 130px;
}

/* Имената – стилът на имената (h3) в старото каре: 22px, нормални, черни */
.text ul.person-list li.col-25 h3 {
  font: 22px/1.2 akrobatregular, sans-serif;
  font-weight: 400;
  color: #000;
}

/* Длъжността – стилът на "офис" реда в старото каре: 16px, черно */
.text ul.person-list li.col-25 span {
  font-size: 16px;
  color: #000;
}



/* ============================================================
   Ново каре „Услуги" — пълни стилове
   ============================================================ */

/* --- Въвеждащ текст --- */
.kb-services-intro {
  max-width: 1100px;
  margin: 0 auto 50px;
  text-align: center;
}
.kb-services-intro p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}

/* --- Грид: 2 реда х 3 колони --- */
.kb-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* --- Карта на услуга --- */
.kb-service {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 38px 32px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.kb-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  border-color: #f28709;
}

/* --- Икона като полупрозрачен воден знак (Вариант Б) --- */
.kb-service__icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 110px;
  height: 110px;
  margin: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 110px 110px;
  opacity: .12;
  pointer-events: none;
  border-radius: 0;
}
/* иконите (data URI); %23f28709 = акцентният оранжев */
.kb-ic-ledger  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23f28709' stroke-width='2.5' stroke-linecap='round'%3E%3Crect x='9' y='6' width='30' height='36' rx='3'/%3E%3Cpath d='M16 15h16M16 23h16M16 31h10'/%3E%3C/svg%3E"); }
.kb-ic-audit   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23f28709' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='21' cy='21' r='13'/%3E%3Cpath d='m31 31 8 8'/%3E%3Cpath d='m16 21 4 4 7-8'/%3E%3C/svg%3E"); }
.kb-ic-payroll { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23f28709' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Cpath d='M24 15v18M28.5 19.5c0-2-2-3-4.5-3s-4.5 1-4.5 3 2 2.7 4.5 3 4.5 1 4.5 3-2 3-4.5 3-4.5-1-4.5-3'/%3E%3C/svg%3E"); }
.kb-ic-tax     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23f28709' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M14 34 34 14'/%3E%3Ccircle cx='17' cy='17' r='4.5'/%3E%3Ccircle cx='31' cy='31' r='4.5'/%3E%3Crect x='7' y='7' width='34' height='34' rx='4'/%3E%3C/svg%3E"); }
.kb-ic-legal   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23f28709' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 8v32M14 40h20'/%3E%3Cpath d='M24 12 12 16l4 10a6 6 0 0 0 8 0l-4-10ZM24 12l12 4-4 10a6 6 0 0 1-8 0l4-10Z'/%3E%3C/svg%3E"); }
.kb-ic-corp    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23f28709' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M7 41h34'/%3E%3Crect x='11' y='20' width='7' height='17'/%3E%3Crect x='20.5' y='11' width='7' height='26'/%3E%3Crect x='30' y='25' width='7' height='12'/%3E%3C/svg%3E"); }

/* --- Заглавие --- */
.kb-service__title {
  font-size: 22px;
  font-weight: 700;
  color: #1f2d3d;
  margin: 0 0 18px;
  padding-right: 60px;        /* да не се застъпва с водния знак */
}
.kb-service__title a {
  position: relative;
  z-index: 3;
  color: inherit;
  text-decoration: none;
}
.kb-service__title a:hover {
  color: #f28709;
}

/* --- Списък (компактно междуредие) --- */
.kb-services-grid .kb-service__list {
  list-style: none !important;
  margin: 0 0 18px !important;
  padding-left: 0 !important;
}
.kb-services-grid .kb-service__list li {
  position: relative;
  padding-left: 22px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 6px !important;
  text-indent: 0 !important;
  font-size: 15px;
  color: #333;
  line-height: 1.4 !important;
  list-style: none !important;
}
.kb-services-grid .kb-service__list li:last-child {
  margin-bottom: 0 !important;
}
.kb-services-grid .kb-service__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f28709;
}
.kb-services-grid .kb-service__list li a {
  position: relative;
  z-index: 3;
  color: inherit;
  text-decoration: none;
}
.kb-services-grid .kb-service__list li a:hover {
  color: #f28709;
}

/* --- Описание --- */
.kb-service__desc {
  font-size: 15px;
  line-height: 1.65;
  color: #6a6a6a;
  flex-grow: 1;
}

/* --- Линк „Научи повече" --- */
.kb-service__link {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: #f28709;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.kb-service__link::after { content: " →"; }
.kb-service:hover .kb-service__link { border-color: #f28709; }

/* --- Респонсив --- */
@media (max-width: 1024px) {
  .kb-services-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .kb-services-grid { grid-template-columns: 1fr; gap: 20px; }
  .kb-services-intro p { font-size: 15px; }
  .kb-service { padding: 30px 24px; }
}



/* --- Мобилна редакция: каре 2x2 с управляващия екип --- */
@media (max-width: 767px) {
  .text ul.person-list.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .text ul.person-list li.col-25 {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
    box-sizing: border-box;
    padding: 0 12px 35px 0;
    vertical-align: top;
  }
  .text ul.person-list li.col-25 img {
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
  }
  .person-list h3 {
    font-size: 18px;
    overflow-wrap: break-word;
  }
}

/* --- Мобилна редакция: карта + надпис един над друг --- */
@media (max-width: 767px) {
  .city-list-section .map-box-2 {
    flex-direction: column;
    gap: 20px;
  }
  .city-list-section .map-box-2 .box-img {
    width: 100%;
    max-width: 300px;
  }
  .city-list-section .map-box-2 .map-text {
    width: 100%;
    margin-top: 0;
  }
}




/* Невидим линк върху цялото каре с услуга */
.kb-service__cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  z-index: 2;
  font-size: 0;        /* скрива евентуален текст без text-indent трика */
  overflow: hidden;
}

/* "Ръчичка" при ховър върху картето */
.kb-service { cursor: pointer; }


/* "Заглавие" и "Линк към формата за запитване */
.request {color: #1e9fcc!important; font-size: 30px; padding: 20px; text-decoration: none;text-align: center;}
.request a {text-decoration: none;}
html { scroll-behavior: smooth; }




/* === Често задавани въпроси (accordion) === */
.kb-faq { max-width: 900px; margin: 0 auto; }

.kb-faq__item {
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.kb-faq__item[open] {
  border-color: #1e9fcc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.kb-faq__q {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 24px;
  font-size: 19px;
  font-weight: 600;
  color: #1f2d3d;
  position: relative;
  user-select: none;
}
.kb-faq__q::-webkit-details-marker { display: none; }   /* маха стандартната стрелка в Safari/Chrome */
.kb-faq__q::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: #1e9fcc;
}
.kb-faq__item[open] .kb-faq__q::after { content: "\2212"; }  /* минус знак при отворено */

.kb-faq__a {
  padding: 0 24px 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .kb-faq__q { font-size: 17px; padding: 16px 46px 16px 18px; }
  .kb-faq__a { font-size: 15px; padding: 0 18px 18px; }
}

/* City SEO block on office pages – subtle, non-intrusive styling */
.city-content-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.city-content-text h2.city-content-title {
  font: 600 22px/1.35 Roboto, sans-serif;
  text-transform: none;
  padding: 0;
  margin: 0 0 14px;
  color: #444;
}

.city-content-text .has-video-content.fr-img,
.city-content-text .fr-img {
  float: right;
  width: 25%;
  max-width: 405px;
  margin: 0 0 16px 24px;
}

.city-content-text .has-video-content.fr-img img,
.city-content-text .fr-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .city-content-text .has-video-content.fr-img,
  .city-content-text .fr-img {
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 16px;
  }
}

/* Office page: prominent price request CTA */
.office-page-cta {
  margin: 36px auto 40px;
  padding: 32px 20px;
  text-align: center;
  background-color: #fcf9f3;
}

.office-page-cta__btn {
  max-width: 420px;
  width: 100%;
  padding: 20px 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(242, 135, 9, 0.35);
}

.no-touch .office-page-cta__btn:hover {
  opacity: 1;
  box-shadow: 0 6px 20px rgba(242, 135, 9, 0.45);
}

/* Office page: team member + working languages side by side */
.office-team-lang-row {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e8;
}

.office-team-lang-row__team,
.office-team-lang-row__langs {
  box-sizing: border-box;
  padding: 18px 24px;
  vertical-align: top;
}

.office-team-lang-row__team {
  padding-right: 12px;
}

.office-team-lang-row__langs {
  padding-left: 12px;
}

.office-team-lang-row__person {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.office-team-lang-row__person img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  margin: 0;
  display: block;
}

.office-team-lang-row__person-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
}

.office-team-lang-row__position {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.office-team-lang-row__langs .languages-nav {
  float: none;
  padding: 0;
}

.office-team-lang-row__langs .languages-nav li:first-of-type {
  display: block;
  font: bold 18px/1.2 Roboto, sans-serif;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 16px;
  padding-right: 0 !important;
}

@media (max-width: 768px) {
  .office-team-lang-row__team,
  .office-team-lang-row__langs {
    padding: 16px 0;
  }
}



  /* Стилове за телефон */
@media (max-width: 768px) {

.slogan-section h2.careers-heading {font-size:34px;}
.careers-heading-p {font-size: 1.2em; font-weight: 400;}

.modal-content img {width: auto; float:none ; margin:20px 0 20px;}

.mobile-hidden {display: none;}

.awards {display:block}
.footer-main__top, .footer-main__links {display: none;}
}

/* Премахва хоризонталния скрол в секция "Нашите признания" на мобилно */
@media (max-width: 768px) {
  .awards div {
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- Публикации --- */
.publication-page  {
  font-family: open_sansregular;
}
.publication-page p, .publication-page li  {font-size: 15px; line-height: 1.6;}
.publication-page .text h2,
.publication-page .publications-grid h2 {
  color: #f28709;
  text-transform: none;
}
.publication-list-page .publication-list h2 {
  color: #f28709;
}

.homepage-publications .top-header .title-section {
  text-align: left;
}
.publication-page .highlight-box {    background: #e5e5e5; padding: 20px; margin: 3px 0; color: #663905;}

/* ============================================================
   Breadcrumbs — секция "Услуги" (3 нива)
   ============================================================ */
.breadcrumbs {
  height: 44px;
  background: #F1F0EE;
  border-top: 1px solid #E6E3DF;
  border-bottom: 1px solid #E6E3DF;
}

.breadcrumbs .wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.breadcrumbs li {
  font: 400 15px/1 Roboto, sans-serif;
  text-transform: none;
}

.breadcrumbs li + li::before {
  content: "/";
  display: inline-block;
  margin-right: 10px;
  color: #B9B4AE;
}

.breadcrumbs a {
  color: #1B9BD1;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: #127296;
  text-decoration: underline;
}

.breadcrumbs a:focus-visible {
  outline: 2px solid #1B9BD1;
  outline-offset: 2px;
}

.breadcrumbs li[aria-current] {
  color: #6E6A66;
  max-width: 420px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

/* Разстояние от лентата до H1 — само на страници с breadcrumbs, без да пипаме базовите класове */
.breadcrumbs + .main-content .top-header,
.breadcrumbs + .main-content .top-header-section {
  padding-top: 40px;
}

@media (max-width: 767px) {
  .breadcrumbs {
    height: 40px;
  }

  .breadcrumbs ol {
    font-size: 14px;
  }

  .breadcrumbs li:not(:nth-last-child(2)) {
    display: none;
  }

  .breadcrumbs li[aria-current] {
    display: none;
  }

  .breadcrumbs li:nth-last-child(2)::before {
    content: "\2039 ";
    margin-right: 4px;
    color: #B9B4AE;
  }
}

/* ============================================================
   Категория услуга — карти с под-услуги + обръщение от съдружник
   ============================================================ */

.kb-category-services {
  padding-top: 10px;
  padding-bottom: 20px;
}
.kb-category-services__title {
  font: 600 20px/1.3 Roboto, sans-serif;
  text-transform: none;
  color: #6a6a6a;
  margin: 0 0 24px;
  padding: 0;
}
.kb-services-grid--category {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.kb-services-grid--category .kb-service__desc {
  margin: 0 0 18px;
}
.kb-services-grid--category .kb-service__title {
  margin-bottom: 14px;
}

.kb-letter-section {
  padding-top: 50px;
  padding-bottom: 50px;
}
.kb-letter {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 56px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.kb-letter__author {
  flex: 0 0 220px;
  position: sticky;
  top: 30px;
  text-align: center;
}
.kb-letter__photo {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f28709;
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
}
.kb-letter__name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #1f2d3d;
  line-height: 1.3;
}
.kb-letter__position {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.4;
  color: #6a6a6a;
}
.kb-letter__contacts {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #eee;
  font-size: 14px;
  line-height: 1.8;
}
.kb-letter__contacts li {
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}
.kb-letter__contacts li::before {
  content: none;
}
.kb-letter__contacts a {
  color: #1e9fcc;
  text-decoration: none;
}
.kb-letter__contacts a:hover {
  color: #f28709;
}
.kb-letter__body {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  line-height: 1.75;
}
.kb-letter--no-author .kb-letter__body {
  max-width: 860px;
  margin: 0 auto;
}

.kb-category-cta {
  padding-top: 40px;
  padding-bottom: 10px;
}
.kb-category-cta .btn-cont {
  margin: 0;
  text-align: center;
}
.kb-category-cta .btn {
  display: inline-block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 18px 40px;
  line-height: 1.4;
  white-space: normal;
  border-radius: 6px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .kb-letter {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 36px 28px;
  }
  .kb-letter__author {
    position: static;
    flex-basis: auto;
  }
}
@media (max-width: 640px) {
  .kb-letter-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .kb-letter {
    padding: 28px 20px;
  }
  .kb-letter__photo {
    width: 140px;
    height: 140px;
  }
  .kb-letter__body {
    font-size: 16px;
  }
}
