/**
 * Custom styles for theme customization
 * 
 * This file is intended for custom CSS modifications.
 * Styles defined here will override default theme styles.
 */

/* Add your custom styles below this line */ 

/* Стили для кнопки прокрутки наверх */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFAE00;
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #2A2A34;
    transform: translateY(-3px);
}

.scroll-to-top:focus {
    outline: none;
}

/* Стрелка внутри кнопки */
.arrow-up {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid white;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .arrow-up {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 10px solid white;
    }
}

@font-face {
  font-family: "Mont";
  src: url(../fonts/MontRegular.ttf) format("truetype");
}
@font-face {
  font-family: "Oswald-Regular";
  src: url(../fonts/Oswald-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Oswald-Stencil";
  src: url(../fonts/Oswald-Stencil.ttf) format("truetype");
}
body {
  background: #F7F9FA;
  color: #2A2A34;
  font-family: "Mont";
  font-size: 16px;
}

header {
  background: #EEF1F3;
  height: 100px;
  margin-bottom: 40px;
}
header button[aria-expanded=true] {
  background: #e5e5e5;
  border-color: transparent;
}

footer {
  background: #54565F;
  color: #fff;
}
footer a {
  color: #fff;
}

h1, h2, h3 {
  font-family: "Oswald-Regular";
}

a {
  color: #2A2A34;
  text-decoration: none;
}
a:hover {
  color: #FFAE00 !important;
}

.idf-btn-transparent {
  background-color: transparent;
  border-color: transparent;
  border-radius: 0%;
  color: #2A2A34;
}
.idf-btn-transparent:hover {
  background: #e5e5e5;
  border-color: transparent;
  color: #FFAE00;
}
.idf-btn-primary {
  background-color: #FFAE00;
  border-color: #FFAE00;
  color: #2A2A34;
}
.idf-btn-primary:hover {
  background: #2A2A34;
  border-color: #2A2A34;
}
.idf-btn-primary:active {
  background-color: #FFAE00 !important;
  border-color: #2A2A34 !important;
  color: #2A2A34 !important;
}
.idf-btn-secondary {
  background-color: transparent;
  border-color: #2A2A34;
  color: #2A2A34;
}
.idf-btn-secondary:hover {
  background-color: transparent;
  border-color: #FFAE00;
  color: #2A2A34;
}
.idf-btn-secondary:active, .idf-btn-secondary.show {
  background-color: transparent !important;
  border-color: #FFAE00 !important;
  color: #FFAE00 !important;
}
.idf-form-control {
  border-color: #2A2A34;
  border-width: 1px;
}
.idf-form-control:focus {
  border-color: #FFAE00;
  box-shadow: none;
}
.idf-form-check-input, .idf-form-select {
  border-color: #2A2A34;
}
.idf-form-check-input:checked, .idf-form-select:checked {
  background-color: #FFAE00;
  border-color: #FFAE00;
  box-shadow: none;
}
.idf-form-check-input:focus, .idf-form-select:focus {
  box-shadow: none;
}
.idf-form-select:focus {
  border-color: #FFAE00;
}
.idf-truncate {
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.idf-w-50 {
  width: 50%;
}

.idf-logo {
  text-decoration: none;
  margin-right: 20px;
  float: left;
}
.idf-logo img {
  height: 64px;
  margin-top: 15px;
  max-width: none;
}
.idf-header-search-and-filter-container {
  float: left;
}
.idf-fullheight-container {
  height: 100%;
}
.idf-collapse-overlay-area {
  background: #e5e5e5;
  position: absolute;
  left: 0;
  top: 100px;
  width: 100%;
  max-width: 100%;
  text-align: left;
  z-index: 9;
}
.idf-collapse-overlay-area > div {
  padding-top: 20px;
  padding-bottom: 20px;
}
.idf-header-social > .idf-btn-transparent:hover {
  background-color: transparent;
}
.idf-header-menu {
  margin-bottom: 15px;
}
.idf-header-menu-title {
  font-family: "Oswald-Regular";
  font-size: 20px;
  margin-bottom: 15px;
}
.idf-header-menu > .list-group-item {
  border: none;
  background: transparent;
  padding-left: 0;
}
.idf-header-menu > .list-group-item a {
  color: #2A2A34;
  text-decoration: none;
}
.idf-footer-info-title {
  font-family: "Oswald-Regular";
  font-size: 20px;
}
.idf-footer-info-block {
  padding-top: 40px;
  padding-bottom: 40px;
}
.idf-footer-info-block .list-group-item {
  background-color: transparent;
  border-color: transparent;
  padding-left: 0;
}
.idf-footer-info-block .list-group-item a {
  text-decoration: none;
}
.idf-copyright-area {
  padding-bottom: 15px;
  font-size: 13px;
}
.idf-copyright-area .nav-link {
  color: #fff;
  padding: 0;
}
.idf-footer-legal-menu {
  float: right;
  font-size: 13px;
}
.idf-footer-legal-menu .nav-link {
  color: #fff;
  padding: 0;
}
.idf-footer-legal-menu a {
  margin: 0 15px;
}
.idf-navi-area {
  text-align: right;
}
.idf-stay-connected:first-child a {
  margin-left: 0;
}
.idf-stay-connected a {
  margin: 0 15px;
}
.idf-stay-connected a i {
  font-size: 25px;
}

.idf-post-article-card {
  /* background: #fff; */
  margin-bottom: 15px;
}
.idf-post-article-card-title, .idf-post-article-card-description, .idf-post-article-card-info {
  padding: 0 15px;
}
.idf-post-article-card-title {
  font-size: 20px;
  padding-top: 15px;
}
.idf-post-article-card-description p {
  margin: 0;
}
.idf-post-article-card-info {
  color: #9090A5;
  margin-bottom: 7.5px;
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  font-size: 13px;
}
.idf-post-article-card-image {
  background: #fff;
  overflow: hidden;
  text-align: center;
  /* min-height: 320px;
  max-height: 320px;
  max-inline-size: 100%;
  block-size: auto;
  aspect-ratio: 2/1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center; */
}

.idf-post-article-card-horizontal {
  margin-bottom: 15px;
  background: #fff;
}
.idf-post-article-card-horizontal .idf-truncate {
  max-height: 290px;
}
.idf-post-article-card-horizontal .idf-post-article-card-image {
  min-height: 375px;
  max-height: 375px;
}
.idf-single-article {
  margin-bottom: 40px;
}
.idf-single-article-area {
  background: #fff;
  padding: 15px;
  margin: 40px 0;
}
.idf-single-article-area-content {
  overflow: hidden;
}
.idf-single-article-area-content-thumbnail {
  float: left;
  margin-right: 30px;
  margin-bottom: 15px;
}
.idf-single-article-area-content .wp-block-gallery {
  clear: both;
}
.idf-single-article-area-content-title {
  font-size: 28px;
  margin-top: 15px;
}
.idf-single-article-area-content-info {
  color: #9090A5;
  margin: 15px 0 30px;
  font-size: 13px;
}
.idf-infobox-title {
  font-size: 28px;
  font-family: "Oswald-Regular";
  margin: 40px 0;
  box-shadow: inset 0px -10px #FFAE00;
}
.idf-infobox-title span {
  display: inline-block;
  padding: 0px 10px;
  background-color: #F7F9FA;
}
.idf-single-article-social {
  text-align: right;
  margin-top: 15px;
}
.idf-single-article-social span {
  font-family: "Oswald-Regular";
}
.idf-single-article-social a {
  padding: 0 5px;
}
.idf-single-article-area-tags {
  margin-top: 15px;
}

.idf-videolink {
  margin: 15px 0;
  font-size: 25px;
}

.search-highlight {
  background: #FFFF00;
}

.searchandfilter ul {
  display: block;
  padding-left: 0;
}

.idf-search-filter-button-area {
  text-align: right;
  margin-top: 15px;
}
.idf-search-filter-daterange input {
  width: 45%;
  display: inline-block;
  margin: 0 2px;
}
.idf-search-filter-date input {
  width: 91%;
}
.idf-search-filter .idf-header-menu-title {
  display: block;
}

.idf-page-link {
  color: #2A2A34;
}
.idf-page-link:focus, .idf-page-link:checked {
  box-shadow: none;
}

.idf-page-link.idf-active, .idf-active > .idf-page-link, .pagination .page-item.active .page-link {
  background-color: #FFAE00;
  border-color: #FFAE00;
}

.pagination .page-link{
  color: #2a2a34;
}

.idf-breadcrumb {
  margin: 0;
}

.idf-ticker-label {
  background: #2A2A34;
  height: 40px;
  text-align: center;
  font-size: 30px;
  color: #fff;
  float: left;
  width: 100px;
}

.idf-ticker {
  height: 40px;
  overflow: hidden;
  margin-bottom: 40px;
  background-color: #FFAE00;
}
.idf-ticker-container {
  line-height: 40px;
  color: #2A2A34;
  animation: text 30s infinite linear;
  padding-left: 100%;
  white-space: nowrap;
  width: -moz-fit-content;
  width: fit-content;
}
.idf-ticker-container-date {
  color: #fff;
  font-size: 13px;
}
.idf-ticker-container-exc {
  margin-right: 20px;
  color: #2A2A34;
}
.idf-ticker-container-title {
  color: #2A2A34;
  margin: 0 5px;
}

@keyframes text {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}
.wp-block-comments {
  margin: 15px 0;
}

@media (max-width: 1200px) {
  .idf-logo {
    width: 65px;
    overflow: hidden;
  }
}
@media (max-width: 992px) {
  .idf-single-article-area-content {
    overflow: hidden;
  }
  .idf-mob-text-center {
    text-align: center;
  }
  .idf-footer-legal-menu, .idf-copyright-area {
    text-align: center;
    display: inline-block;
    float: none;
  }
  .idf-single-article-social {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .idf-md-w-100 {
    width: 100%;
  }
  .idf-mob-floating-left {
    float: left;
  }
  .idf-col-md-40 {
    width: 40%;
  }
  .idf-col-md-60 {
    width: 60%;
  }
  .idf-md-hide {
    display: none;
  }
  .idf-navi-area {
    float: right;
  }
}

.social-share-buttons {
      display: inline-block;
}

.social-share-buttons.size-medium .social-share-button {
    width: 25px;
    height: 25px;
}

.idf-post-articles-horizontal .idf-post-article-card-image{
  max-width: 375px;
}
@media (max-width: 767px) {
  .idf-post-articles-horizontal .idf-post-article-card-image{
        max-width: none;
  }
}
@media (min-width: 576px) {
  .idf-post-article-card-image{
    width: 100%;
  }
}

.comments-area{
  box-shadow: none;
}