.h1, .h2 {
  padding: clamp(12px, 3.5vw, 30px) 0;
}
#sp-section-1, #sp-section-2 {
  background: linear-gradient(to right,rgb(210,185,194),rgb(200,190,197) 9.96%,rgb(191,196,199) 19.92%,rgb(182,201,200) 29.88%,rgb(174,205,202) 39.84%,rgb(166,207,206) 49.8%,rgb(157,206,212) 59.77%,rgb(148,202,222) 69.73%,rgb(138,197,233) 79.69%,rgb(129,191,243) 89.65%,rgb(123,186,250) 99.61%);
  color: #000;
  padding: 8px 0;
}
#sp-footer {
  background: #000;
  color: #fff;
  padding: 8px 0;
}
#sp-section-2 a {
  color: #000;
}
#sp-footer a {
  color: #fff;
}
#sp-menu .sp-megamenu-wrapper {
  justify-content: flex-end;
}
#sp-main-body {
  padding: 15px 0 0 0;
}
@media (max-width: 992px) {
  .logo-image {
    height: 90px !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    }
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a, .sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge) {
  padding: 8px 10px;
}
/* Hover головних пунктів меню */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner, .sp-megamenu-parent > .sp-menu-item:hover {
    background: linear-gradient(
        to right,
        rgb(210,185,194),
        rgb(200,190,197) 9.96%,
        rgb(191,196,199) 19.92%,
        rgb(182,201,200) 29.88%,
        rgb(174,205,202) 39.84%,
        rgb(166,207,206) 49.8%,
        rgb(157,206,212) 59.77%,
        rgb(148,202,222) 69.73%,
        rgb(138,197,233) 79.69%,
        rgb(129,191,243) 89.65%,
        rgb(123,186,250) 99.61%
    );
}
/* Плавність для тексту всередині */
.sp-dropdown-items > .sp-menu-item > a {
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}
/* Hover усього пункту (li) */
.sp-dropdown-items > .sp-menu-item:hover {
    background-color: rgba(129, 191, 243, 0.22);
}
/* Вміст пункту при hover */
.sp-dropdown-items > .sp-menu-item:hover > a {
    border-left: 4px solid #81bff3;
    padding-left: calc(1rem - 4px);
    color: #0f172a;
}
.btn-primary {
  background-color: #000;
}
.btn-primary:hover {
  background:linear-gradient(69deg,#c3aab2 -4.77%,#9ec 46.72%,#80c0c8 90.23%,#4b8bfa 134.46%);
  color:#000;
  cursor:pointer
}
search {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 767.98px) {
  search {
    justify-content: center;
  }
}
.article-intro-image, .article-full-image {
  width: 350px;
  margin: 0 !important;
}
.article-intro-image.float-center,
.article-full-image.float-center {
  width: 100%;
  float: none;
  margin: 0 auto 1.5rem !important;
}
.article-details .article-full-image {
  margin-bottom: 7px;
}
img.float-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.float-left {
  float: left;
  margin: 7px 10px 10px 0 !important;
}
.breadcrumb {
  background-color: #f9f9f9;
}
.category.com-content-category__table > thead > tr > th {
  color: #273C8F;
  border-bottom: 2px solid #1C2B6A;
  background-color: #f1f8ff;
}
.com-content-category__table > thead > tr > th a {
  color: #000;
}
.com-content-category__table > thead > tr > th a:hover {
  color: #044cd0;
}
.thead-blue th {
  background-color: #212b62;
  color: #fff;
}
#sp-menu .sp-megamenu-parent > li > a,
#sp-menu .sp-megamenu-parent > li > span.sp-menu-separator {
  display: block;
  padding: 0 15px 6px;
}
.article-header a {
  color: #0345bf !important;
}
.burger-icon>span {
  background-color: #000;
}
#sp-footer .container-inner {
  border-top: none;
}
.mod-articleslatest.latestnews li a:hover {
  text-decoration: underline;
}
.latestnews {
  list-style: circle;
}
.mod-articleslatest.latestnews a {
  color: #062d76;
}
.scale {
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}
.scale:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}
.readmore a {
  color: #252525;
}
.readmore a:hover {
  color: #c62828;
  text-decoration: underline;
}
/*Щоб список не налазив на картинку*/
li {
  list-style-position: inside;
}
/*Лінія підкреслення в меню при наведенні*/
#sp-menu .sp-megamenu-parent > li {
  position: relative;
}
#sp-menu .sp-megamenu-parent > li > a::after,
#sp-menu .sp-megamenu-parent > li > span.sp-menu-separator::after {
  display: none;
}
#sp-menu .sp-megamenu-parent > li::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 0;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
#sp-menu .sp-megamenu-parent > li:hover::after,
#sp-menu .sp-megamenu-parent > li.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
/*Підкреслення посилань в меню на головній*/
.main-icons a {
  text-decoration: none;
  color: inherit;
}
.main-icons img {
  transition: filter 0.25s ease, transform 0.25s ease;
  will-change: transform, filter;
}
.main-icons:hover img {
  filter: brightness(0) saturate(100%) invert(38%) sepia(98%) saturate(620%) hue-rotate(185deg) brightness(96%) contrast(94%);
  transform: translateY(-4px);
}
.main-icons p {
  position: relative;
  display: inline-block;
  margin-bottom: 0;
  transition: color 0.25s ease;
}
.main-icons p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #0d6efd;transition: width 0.25s ease, left 0.25s ease;
}
.main-icons:hover p {
  color: #0d6efd;
}
.main-icons:hover p::after {
  width: 100%;
  left: 0;
}
/*Блоки на всю ширину сторінки*/
.section-wide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 20px;
}
.section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 15px;
}
.section-blue {
  background-color: #b5e2ff;
}
.section-bluer {
  background-color: #83ccff;
}
.section-grey {
  background-color: #f9f9f9;
}
/*Блок "Важлива інформація" для модуля "Статті. Короткі новини" на головній*/
.mod-articlesnews.newsflash {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.mod-articlesnews__item {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 15px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
}
.newsflash-title {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.newsflash-title a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
}
.newsflash-title a:hover {
  color: #c62828;
  text-decoration: underline;
}
.mod-articlesnews ol li a:hover, .article-details ol li a:hover {
  text-decoration: underline;
}
.newsflash-image {
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 10px;
}
.newsflash-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.mod-articlesnews__item:hover .newsflash-image img {
  transform: scale(1.05);
}
.mod-articlesnews__item p {
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  margin: 0 0 8px;
}
/* Анімаційне підкреслення посилання при наведенні */
.text-center.h4 a {
  position: relative;
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
/* Лінія підкреслення */
.text-center.h4 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.text-center.h4 a:hover {
  color: #0b5ed7;
}
.text-center.h4 a:hover::after {
  transform: scaleX(1);
}
/* Лікар на головній */
.hero-fullwidth {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background-image: url("/images/headers/cml-main.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 60vh;
  margin-top: -25px;
  margin-bottom: -20px;
}
@media (max-width: 768px) {
  .hero-fullwidth {
    background-position: top center;
    min-height: 70vh;
  }
}
/*Щоб блоки в статтях були по висоті картинки*/
.article-list .article::after {
    content: "";
    display: block;
    clear: both;
}
/*Випадаючий список результатів пошуку*/
.awesomplete {
    position: relative;
}
.awesomplete ul {
    position: absolute;
    z-index: 99999;
}
/*Інформаційні повідомлення*/
.content-note,
.content-attention {
  position: relative;
  margin: 30px 0;
  padding: 20px 25px 20px 68px;
  border: 1px solid #d7e5ec;
  border-left: 4px solid #2b83ad;
  border-radius: 8px;
  background: #f5f9fb;
  box-shadow: 0 2px 8px rgba(30, 80, 110, 0.06);
}
.content-note::before,
.content-attention::before {
  content: "!";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2b83ad;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}
.content-note > strong,
.content-attention > strong {
  display: block;
  margin-bottom: 8px;
  color: #245b78;
  font-size: 17px;
  font-weight: 700;
}
.content-note p,
.content-attention p {
  margin: 0;
  color: #4b5961;
  font-size: 16px;
  line-height: 1.65;
}