img {
     margin: 15px 0 18px 0;
}

p{
  font-size:22px ;
  line-height:1.7 ;
}

li {
  font-size:20px;
  line-height:1.7;
}

h2 {
    margin: 23px 0 14px 0;
}

h1,h2{
font-size: 1.7rem;
margin: 20px 0 15px 0;
line-height: 1.4;
font-weight: normal;
color: #333;
padding: 10px 5px;
/*border-bottom: #000 1px groove;*/
}

.ccomment .pull-left {
    float: left;
    padding-left: 10px;
    margin-top: 9px;
}

.ccomment-add-new.btn.btn-mini {
    margin-top: 3px;
    padding: 10px;
    font-size: 18px;
}

.but {
box-shadow: 0 11px 12px rgba(0, 0, 0, 0.38);
padding: 10px;
margin-bottom: 10px;
font-weight: bold;
margin-right: 15px;  
background: #fff;
}

.but-block {
margin-bottom: 40px;
margin-top: 40px;
}

.page-header h2 {
    margin-top: 0;
}

.page-header a {
    color: #333;
}

.phone:after{content:"\f095";display:inline-block;font-family:FontAwesome;font-size:14px;color:#73b92e;}

.num,.phone {
    background: linear-gradient(to right,#eaececc4 0,#c7daec4d 100%);
    padding: 1px 5px;
    margin: 0 1px;
    border-radius: 3px;
    border: 1px solid #fff;
    color: #333;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.32);
}

.com-content-category-blog__item.blog-item img {
    margin-bottom: 0;
}

.extlink::after {
color: #333;
content: "\f08e";
display: inline-block;
font-family: FontAwesome;
font-size: 13px;
margin-left: 2px;
font-weight: normal;
position: relative;
bottom: 5px;
padding-left: 4px;
}

.extlink {
color: rgb(30, 115, 190);
}

.page-link {
 color: #333;
}

.page-item.active .page-link {  
    color: #fff;
    background: #333;
}

.ccomment-captcha img {
    margin-top: 0;
}

.mostread li:before {
    
  content: "";
  display: inline-block;
  margin-right: 8px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #224faa; /* color */
  position: relative;
  top: 1px;
}

ul.mostread.mod-list {
  display: block;
  border-radius: 5px;
  padding: 17px 18px 17px 18px;
  margin: 10px 10px 10px 0;
  list-style: none;
}

ul.mostread.mod-list li a {
  font-weight: normal;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  font-size: 18px;
  color: #333;
}
ul.mostread.mod-list li a:hover {
border-bottom-style: none;
}

.h3, h3 {
  font-size: calc(1.4rem + .2vw);
  padding: 25px 0 25px 0;
  font-weight: normal;
}


@media (min-width: 992px)  {
 .site-grid {
    grid-gap: 0 1em;
    grid-template-columns: [full-start] minmax(0,1fr) [main-start] repeat(3,minmax(0,13.875rem)) 333px [main-end] minmax(0,1fr) [full-end] !important;
  }}


.dj-megamenu-modern {
font-family: Arial, Helvetica, sans-serif;
}

.back-to-top-link.visible {
  position: fixed;
  bottom: 60px;
  right: 15px;
}



/* ===== Slider ===== */
.slider {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  overflow: hidden;
}

.slider-images {
  position: relative;
}

/* Всі зображення приховані одразу через CSS — без затримки JS */
.slider-images img {
  width: 100%;
  height: auto;
  display: none;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.25);
  object-fit: cover;
}

/* JS додає клас .active до потрібного слайду */
.slider-images img.active {
  display: block;
}

/* Бокові стрілки */
.slider-arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  color: #d3060a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease, color 0.3s ease;
  text-decoration: none;
  font-size: 0;
  animation: pulseColor 2s infinite ease-in-out, arrowFadeIn 1.2s ease-out forwards;
  animation-delay: 0.4s, 0s;
}

@keyframes arrowFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.7);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes pulseColor {
  0%, 100% { color: #d3060a; }
  50%      { color: #f8c220; }
}

.arrow-left  { left: 5px; }
.arrow-right { right: 10px; }

.slider-arrow:hover,
.slider-arrow:focus-visible,
.slider-arrow:active {
  color: #f8c220 !important;
  transform: translateY(-50%) scale(1.25);
}

.slider-arrow svg {
  width: 50px;
  height: 50px;
  stroke: currentColor;
  stroke-width: 5;
  fill: none;
}

.slider-arrow span {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Нижня навігація */
.slider-bottom-nav {
  margin-top: 35px;
  text-align: center;
}

.slider-counter {
  font-size: 1.0rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 18px;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 250px;
  flex-wrap: nowrap;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  min-width: 150px;
  background: #cc0000;
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  gap: 10px;
}

.nav-btn:hover {
  background: #e60000;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(204,0,0,0.45);
}

.nav-btn:active {
  transform: scale(0.96);
}

.chevron {
  width: 0;
  height: 0;
  border-style: solid;
  font-size: 0;
  line-height: 0;
}

.btn-prev .chevron {
  border-width: 6px 10px 6px 0;
  border-color: transparent white transparent transparent;
}

.btn-next .chevron {
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent white;
}

.slider-explanation {
  margin-top: 20px;
  font-size: 1.5rem;
  color: #cc0000;
  font-style: italic;
}

/* Адаптивність */
@media (max-width: 768px) {
  .slider {
    margin: 25px auto;
  }
  .slider-arrow {
    width: 44px;
    height: 44px;
  }
  .slider-arrow svg {
    width: 44px;
    height: 44px;
    stroke-width: 3.5;
  }
  .arrow-left  { left: 1px; }
  .arrow-right { right: 1px; }

  .nav-buttons {
    gap: 80px;
  }
  .nav-btn {
    padding: 10px 26px;
    min-width: 130px;
    font-size: 1.05rem;
  }
  .chevron {
    border-width: 5px 8px 5px 0;
  }
  .btn-next .chevron {
    border-width: 5px 0 5px 8px;
  }
}

@media (max-width: 480px) {
  .nav-buttons {
    gap: 50px;
    padding: 0 15px;
  }
  .nav-btn {
    padding: 10px 22px;
    min-width: 120px;
    font-size: 1rem;
  }
  .chevron {
    border-width: 5px 7px 5px 0;
  }
  .btn-next .chevron {
    border-width: 5px 0 5px 7px;
  }
  .slider-explanation {
    font-size: 1.2rem;
  }
}
