header .region-branding {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

header .header-region {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

header .region-branding > * {
  width: auto;
  max-width: none;
  padding: 0;
}

header .region-branding .site-branding {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 1.25rem;
  min-width: 0;
}

header .site-branding a .logo {
  height: 96px;
}

header .site-branding .site-branding-title {
  max-width: none;
  min-width: 0;
  text-align: left;
  gap: .35rem;
}

header .site-branding .site-branding-title .site-name {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(1.3rem, .6rem + 1.2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--bs-template);
  text-decoration: none;
}

header .site-branding .site-branding-title .site-name:hover {

  color: var(--bs-gray-700);

}

header .site-branding .site-branding-title .site-slogan {
  font-family: inherit;
  font-weight: 100;
  font-size: clamp(.95rem, .6rem + .6vw, 1.35rem);
  line-height: 1.2;
  color: #212529;
  text-decoration: none;
}

/* Cautarea din antet */
header .region-branding #block-stisc-navigationother-2 {
  flex: 0 0 auto;
}

header .region-branding a.nav-link-search {
  min-width: 13rem;
  font-size: .9rem;
}

/* Meniul principal: banda albastra pe toata latimea (ecrane mari, unde meniul nu e in offcanvas). */
@media (min-width: 992px) {
  /* .page-header + .center-nav: bate ".navbar.transparent:not(.navbar-stick) { background: none }" din custom.css */
  header.page-header nav.navbar.center-nav {
    padding-top: 0;
    padding-bottom: 0;
    background: var(--bs-template);
  }

  header nav.navbar .tbm-link.level-1 {
    font-weight: 600;
    letter-spacing: .03em;
  }
}

/* Pe telefon cautarea ramane iconita din bara de sus. */
@media (max-width: 991px) {
  header .region-branding #block-stisc-navigationother-2 {
    display: none;
  }

  header .site-branding a .logo {
    height: 64px;
  }
}

/*
 * Titlul paginii + firimiturile: banda cu imaginea img/title-bg.jpg, aliniate la stanga, firimituri ca "pastile".
 * Pe pagini si categorii; stirile si galeriile au antetul lor, raman neschimbate.
 */
body:not(.path-frontpage, .page-node-type-news, .page-node-type-article, .page-node-type-galerie-foto, .page-node-type-galerie-video) .title-wrapper {
  margin-bottom: 2.5rem;
  padding: 2.75rem 0 2.25rem;
  background: #f2f4f6 url("../../img/title-bg.jpg") center / cover no-repeat;
}

body:not(.path-frontpage, .page-node-type-news, .page-node-type-article, .page-node-type-galerie-foto, .page-node-type-galerie-video) .title-wrapper > .container {
  padding-top: 0;
  padding-bottom: 0;
  text-align: left !important;
}

body:not(.path-frontpage, .page-node-type-news, .page-node-type-article, .page-node-type-galerie-foto, .page-node-type-galerie-video) .title-wrapper > .container > .row {
  margin-top: 0;
}

body:not(.path-frontpage, .page-node-type-news, .page-node-type-article, .page-node-type-galerie-foto, .page-node-type-galerie-video) .title-wrapper .col-lg-10 {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0;
  padding-top: 0;
}

body:not(.path-frontpage, .page-node-type-news, .page-node-type-article, .page-node-type-galerie-foto, .page-node-type-galerie-video) .title-wrapper h1.title {
  margin-bottom: 1.25rem !important;
  font-weight: 700;
  color: #0b0f19;
}

/* Firimituri ca "pastile"; toata pastila e link (a::after acopera pastila). */
body:not(.path-frontpage, .page-node-type-news, .page-node-type-article, .page-node-type-galerie-foto, .page-node-type-galerie-video) .title-wrapper ol.breadcrumb {
  justify-content: flex-start;
  gap: .6rem;
  margin-bottom: 0;
}

.title-wrapper ol.breadcrumb .breadcrumb-item {
  position: relative;
  padding: .45rem 1.2rem;
  border: 1px solid #ced4da;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: .85rem;
  line-height: 1.3;
  color: #495057;
  transition: border-color .15s, color .15s;
}

.title-wrapper ol.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: none;
}

.title-wrapper ol.breadcrumb li.breadcrumb-item > a {
  color: inherit;
  text-decoration: none;
}

.title-wrapper ol.breadcrumb .breadcrumb-item > a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.title-wrapper ol.breadcrumb .breadcrumb-item:has(> a:hover),
.title-wrapper ol.breadcrumb .breadcrumb-item:has(> a:focus-visible) {
  border-color: var(--bs-template);
  color: var(--bs-template);
}

/* Listele de stiri / statistica (news_lists, statistics_lists block_11): 2 coloane, fara descriere. */
.news-list-term .post-content {
  display: none;
}
