b, strong {
  font-weight: 700;
}

/* =========================================================
   A.S. LEONIDIO - RESPONSIVE SOCIAL ICONS
   Keeps all header social icons on one line on mobile.
   Desktop layout remains unchanged.
   ========================================================= */

@media screen and (max-width: 767px) {
  .cr-top-bar .social-list,
  .cr-top-bar .social-list ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    white-space: nowrap !important;
  }

  .cr-top-bar .social-list > li,
  .cr-top-bar .social-list ul > li {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cr-top-bar .social-list a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 21px !important;
    line-height: 1 !important;
  }
}

@media screen and (max-width: 390px) {
  .cr-top-bar .social-list,
  .cr-top-bar .social-list ul {
    gap: 6px !important;
  }

  .cr-top-bar .social-list a {
    width: 20px !important;
    min-width: 20px !important;
    height: 24px !important;
    font-size: 19px !important;
  }
}

/* =========================================================
   A.S. LEONIDIO - JOOMLA ARTICLE LAYOUT - SAFE RESPONSIVE
   Only the article itself is constrained. The Joomla/Helix
   grid (#sp-component) is left untouched.
   ========================================================= */

body.com-content.view-article #sp-main-body .com-content-article,
body.com-content.view-article #sp-main-body .item-page {
  width: 100%;
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}

/* Keep normal article text alignment. */
body.com-content.view-article #sp-main-body .com-content-article__body,
body.com-content.view-article #sp-main-body .item-page .articleBody,
body.com-content.view-article #sp-main-body .item-page [itemprop="articleBody"] {
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: left;
  box-sizing: border-box;
}

/* Responsive images. */
body.com-content.view-article #sp-main-body .com-content-article img,
body.com-content.view-article #sp-main-body .item-page img {
  max-width: 100%;
  height: auto;
}

/* Keep the previous large-article-image limitation. */
body.com-content.view-article #sp-main-body .com-content-article__body > img,
body.com-content.view-article #sp-main-body .item-page [itemprop="articleBody"] > img,
body.com-content.view-article #sp-main-body .item-page .articleBody > img {
  display: block;
  width: auto;
  max-width: 520px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991.98px) {
  body.com-content.view-article #sp-main-body .com-content-article,
  body.com-content.view-article #sp-main-body .item-page {
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 767.98px) {
  body.com-content.view-article #sp-main-body .com-content-article,
  body.com-content.view-article #sp-main-body .item-page {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  body.com-content.view-article #sp-main-body .com-content-article__body,
  body.com-content.view-article #sp-main-body .item-page .articleBody,
  body.com-content.view-article #sp-main-body .item-page [itemprop="articleBody"] {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body.com-content.view-article #sp-main-body .com-content-article table,
  body.com-content.view-article #sp-main-body .item-page table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 575.98px) {
  body.com-content.view-article #sp-main-body .com-content-article,
  body.com-content.view-article #sp-main-body .item-page {
    padding-left: 12px;
    padding-right: 12px;
  }
}
