/* =================================================
   ОБЩИНСКИ СЪВЕТ – БУРГАС
   ЕДИННА ТИПОГРАФИЯ НА СРЕДНАТА КОЛОНА
   Drupal 10 / Bartik / Views
   ================================================= */

/* 1. ОСНОВНИ ЗАГЛАВИЯ НА СТРАНИЦИТЕ */

body .region-content h1.page-title,
body .region-content .block-page-title-block h1 {
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: #075ba1 !important;
  text-align: left !important;
  overflow-wrap: break-word !important;
}

/* 2. ЗАГЛАВИЯ НА ПУБЛИКАЦИИ В СПИСЪЦИ */

/* Drupal teaser */
body .region-content article.node--view-mode-teaser
.node__title,
body .region-content article.node--view-mode-teaser
.node__title a,

/* Views, които използват поле Title */
body .region-content .view-content
.views-field-title,
body .region-content .view-content
.views-field-title a,

/* Views, които извеждат стандартен teaser */
body .region-content .view-content
article.node--view-mode-teaser h2,
{
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: #075ba1 !important;
  text-transform: none !important;
  overflow-wrap: break-word !important;
}

/* 3. ПОДЗАГЛАВИЯ НА РАЗДЕЛИ В ПУБЛИКАЦИИТЕ */

body .region-content article.node--view-mode-full
.node__content h3,
body .region-content article.node--view-mode-full
.node__content h4 {
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

/* 4. МОБИЛНА ВЕРСИЯ */

@media (max-width: 767px) {

  body .region-content h1.page-title,
  body .region-content .block-page-title-block h1 {
    font-size: 18px !important;
  }

  body .region-content article.node--view-mode-teaser
  .node__title,
  body .region-content article.node--view-mode-teaser
  .node__title a,
  body .region-content .view-content
  .views-field-title,
  body .region-content .view-content
  .views-field-title a,
  body .region-content .view-content
  article.node--view-mode-teaser h2,
  body .region-content .view-content
  article.node--view-mode-teaser h2 a {
    font-size: 17px !important;
  }
}

/* ===============================================
   ПИТАНИЯ – ОФОРМЛЕНИЕ НА ОПИСАНИЕТО
   Drupal 10 / Bartik / Views
   =============================================== */

/* Описание под заглавието и датата */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > p.text-align-justify {
  margin: 12px 0 18px !important;
  padding: 0 !important;

  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;

  color: #334155 !important;

  text-align: left !important;
  text-align-last: left !important;
  hyphens: none !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  overflow-wrap: break-word !important;
}

/* Удебелен текст – само умерен акцент */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > p.text-align-justify strong {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  line-height: inherit !important;
  color: #334155 !important;
}

/* Думата "относно" остава курсив */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > p.text-align-justify em {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  color: #475569 !important;
}

/* Телефон */
@media (max-width: 767px) {
  body .region-content
  .views-field-title
  article.node--view-mode-teaser
  header > p.text-align-justify {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* ==========================================
   ФАЙЛОВЕ И РЕСУРСИ – КОМПАКТНО ЗАГЛАВИЕ
   Views / Drupal 10 / Bartik
   ========================================== */

/* Надпис над прикачените файлове */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > b {
  display: block !important;

  margin: 12px 0 8px !important;
  padding: 0 !important;

  font-family: Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  color: #075ba1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

/* Прикачените файлове остават с досегашния дизайн */

/* ==========================================
   ФАЙЛОВЕ И РЕСУРСИ – КОМПАКТНО ЗАГЛАВИЕ
   Views / Drupal 10 / Bartik
   ========================================== */

/* Надпис над прикачените файлове */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > b {
  display: block !important;

  margin: 12px 0 8px !important;
  padding: 0 !important;

  font-family: Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  color: #075ba1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
}

/* Прикачените файлове остават с досегашния дизайн */

/* Икона пред "ФАЙЛОВЕ И РЕСУРСИ" във Views */

body .region-content
.views-field-title
article.node--view-mode-teaser
header > b::before {
  content: "" !important;
  display: inline-block !important;
  width: 19px !important;
  height: 19px !important;
  margin-right: 10px !important;
  vertical-align: -4px !important;

  background-color: #075ba1 !important;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l5 5v15H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zM14 2v6h6M8 13h8M8 17h6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l5 5v15H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zM14 2v6h6M8 13h8M8 17h6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* ===============================================
   ПИТАНИЯ – КОМПАКТНИ ОТСТОЯНИЯ
   Drupal 10 / Bartik / Views
   =============================================== */

/* Описание */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > p.text-align-justify {
  margin: 10px 0 12px !important;
  padding: 0 !important;
}

/* Надпис "ФАЙЛОВЕ И РЕСУРСИ" */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > b {
  display: block !important;
  margin: 8px 0 8px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

/* Премахване на излишните празни редове */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > br {
  display: none !important;
}

/* Подреждане на PDF / DOCX файловете */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > .file {
  display: block !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}

/* Без излишно пространство след последния файл */
body .region-content
.views-field-title
article.node--view-mode-teaser
header > .file:last-child {
  margin-bottom: 0 !important;
}

