/**
 * Theme Name:  estheme
 * Description: Краткое описание темы...
 * Theme URI:   https://eurekasmile.net
 * Author:      Andrey
 * Author URI:  https://eurekasmile.net
 * Text Domain: eurekasmile
 * Version:     1.0
 */
.menu {
  text-align: right;
  color: #000;
}

@media (min-width: 992px) {
  .menu {
    text-align: right;
  }
}

@media (max-width: 991px) {
  .menu {
    text-align: right;
    width: 100%;
  }
}

.navbar {
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  font-size: 15px;
  color: black;
  margin: 0px;
}

.flex-cols {
  min-height: 10rem;
}

body {
  font-family: 'Montserrat', sans-serif;
  min-width: 320px;
}

section {
  padding: 100px 0;
}

h1 {
  color: black;
  font-size: 42px;
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}

h3 {
  color: black;
}

.hblack {
  color: #000;
}

.width-40-pct {
  width: 100%;
}

@media (min-width: 768px) {
  .width-40-pct {
    max-width: 40%;
    width: 40%;
    float: left;
    margin-right: 15px;
    margin-top: 10px;
    vertical-align: top;
  }
}

.headeur {
  background-color: #fff;
  padding: 10px 0px;
}

.soclink {
  background-color: #000;
  padding: 10px 10px;
}

.socicon > i {
  margin-right: 5px;
}

.socicon > i:last-child {
  margin-right: 0;
}

.present-video {
  background-image: url(../assets/img/present-bg.jpg);
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}

.video {
  max-width: 90%;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.present-video .overlay {
  background-color: rgba(0, 176, 0, 0.8);
  padding: 20px 0px;
}

.section-notch {
  position: relative;
}

.section-notch:before {
  content: '';
  position: absolute;
  background: url(../assets/img/section_notch_top.png);
  background-repeat: repeat-x;
  display: block;
  top: 0;
  width: 100%;
  height: 7px;
  z-index: 2;
}

.section-notch:after {
  content: '';
  position: absolute;
  background-image: url(../assets/img/section_notch_bottom.png);
  background-repeat: repeat-x;
  bottom: 0;
  width: 100%;
  height: 7px;
  z-index: 2;
}

.about {
  margin-bottom: 20px;
}

.videoles {
  background-image: url(../assets/img/present-bg.jpg);
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}

.videoles .overlay {
  background-color: rgba(0, 176, 0, 0.8);
  padding: 20px 10px;
}

.videoles .overlay img {
  padding: 10px 10px;
}

.block {
  border: 1px solid #000; /* линия */
  border-radius: 12px; /* круглые углы */
  margin: 0 0px;
}

.button-align {
  text-align: right;
  padding-right: 10px;
  padding-bottom: 10px;
}

.content-w {
  padding: 0px 0px;
}
.postcolumn {
  margin-bottom: 10px;
  padding-right: 0px;
}

.postcolumn:nth-child(3n) {
  padding-right: 10px;
}

.postcolumn p {
  padding-left: 10px;
}

.postcolumn h3 {
  padding-left: 10px;
}

.card-thumb {
  margin-top: 0px;
}

.video-ifr {
  display: block;
}

.videoad {
  height: 200px;
}

.post-cont {
  margin: 10px 10px;
}

.video-single {
  width: 100%;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pagin {
  text-align: center;
  margin: 0 auto;
  max-width: 1140px;
  width: 100%;
}

ul.page-numbers {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
  justify-content: center !important;
}

ul.page-numbers li:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

ul.page-numbers li:not(:disabled):not(.disabled) {
  cursor: pointer;
}

a.page-numbers,
span.current {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #000;
  background-color: #fff;
  border: 1px solid #dee2e6;
  text-decoration: none;
}

span.current {
  color: #fff;
  background-color: #fec812;
  border-color: #fec812;
  cursor: default;
}

span.dots {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #000;
  background-color: #fff;
  border: 1px solid #dee2e6;
  cursor: default;
}

nav.navigation {
  width: 100%;
}

.lesmarg {
  padding: 10px 10px;
}

.pagination {
  display: inline-block;
}

.but_header {
  padding: 10px 10px;
}

.social-icon {
  color: #ffc107; /* Bootstrap yellow */
  font-size: 1.5rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.social-icon:hover {
  color: #ffca2c; /* светлее при наведении */
  transform: scale(1.15);
}

.search-yellow .form-control {
  border-color: #ffc107; /* желтая рамка */
}

.search-yellow .form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.search-yellow .btn {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}

.search-yellow .btn:hover {
  background-color: #ffca2c;
  border-color: #ffca2c;
}

.lang-switcher-header {
  display: flex;
  gap: 10px;
  justify-content: flex-end; /* выравнивание справа, можно изменить */
  align-items: center;
  margin: 10px 0;
}

.lang-switcher-header .lang-item a {
  display: inline-flex;
  align-items: center;
  gap: 5px; /* расстояние между флагом и текстом */
  padding: 5px 10px;
  background-color: #ffca2c; /* желтая кнопка */
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.lang-switcher-header .lang-item a:hover {
  background-color: #ffb300; /* темнее при наведении */
}

/* ===== РОДИТЕЛЬСКИЕ КНОПКИ ===== */
.navbar-nav .menu-btn {
  background: #f4c400;
  color: #111 !important;
  padding: 10px 18px;
  margin: 10px 5px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.navbar-nav .menu-btn:hover {
  background: #ffd633;
  transform: translateY(-1px);
}

.navbar-nav .menu-btn.current-menu-item {
  background: #111;
  color: #fff !important;
}

/* ===== ПОДМЕНЮ — ПРОСТО ТЕКСТ ===== */
.dropdown-menu .dropdown-item {
  background: transparent;
  border-radius: 0;
  padding: 10px 20px;
  color: #111 !important;
}

.dropdown-menu .dropdown-item:hover {
  background: #fff6cc;
  color: #111 !important;
}

/* ===== Мобильная версия ===== */
@media (max-width: 991px) {
  .navbar-nav .menu-btn {
    width: 100%;
    margin: 6px 0;
    text-align: center;
  }

  .dropdown-menu {
    padding-left: 10px;
  }

  .navbar-toggler {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

.site-footer {
  background-color: #000; /* фон за контентом */
  color: #fff;
  padding: 30px 0;
  font-size: 14px;
}

/* Ссылки футера */
.footer-links a {
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* Соцсети */
.footer-socials a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition:
    transform 0.2s,
    color 0.2s;
}

.footer-socials a:hover {
  color: #ffca2c;
  transform: scale(1.2);
}

/* Копирайт */
.footer-copy p {
  margin: 0;
  font-size: 13px;
  color: #ccc;
}

.foot-bg {
  background-color: #000;
}

/* Делаем список меню футера горизонтальным */
.footer-links {
  list-style: none; /* убираем маркеры */
  padding: 0; /* убираем отступы */
  margin: 0; /* убираем внешние отступы */
  display: flex; /* горизонтальное расположение */
  justify-content: center; /* по центру */
  gap: 15px; /* расстояние между пунктами */
}

/* Стили для ссылок */
.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* Адаптив */
@media (max-width: 767px) {
  .footer-inner {
    text-align: center;
  }
  .footer-links,
  .footer-copy {
    text-align: center !important;
  }
  .footer-links a {
    display: inline-block;
    margin: 5px 10px;
  }
  .site-footer {
    background-color: #000; /* фон за контентом */
    color: #fff;
    padding: 30px 0;
    font-size: 14px;
  }
  .foot-bg {
    background-color: #000;
  }
  .postcolumn {
    margin-bottom: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 987px) {
  .postcolumn {
    margin-bottom: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 590px) {
  .postcolumn {
    margin-bottom: 10px;
    padding-right: 0px;
    padding-left: 0px;
  }

  .postcolumn:nth-child(3n) {
    padding-right: 0px;
  }

  .block {
    border: 1px solid #000; /* линия */
    border-radius: 12px; /* круглые углы */
    margin: 0 10px;
  }
}
.row.no-gutters {
  margin-left: 0;
  margin-right: 0;
}
/* random post*/
.random-posts-widget {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.random-post img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.random-post h4 {
  font-size: 16px;
  margin: 5px 0 5px;
  color: #000;
}

.random-post h4 a {
  font-weight: 700; /* жирный текст */
  color: #000; /* черный цвет */
  text-decoration: none; /* убирает подчеркивание ссылки, если нужно */
}

.random-post h4 a:hover {
  color: #ffca2c; /* можно сделать, чтобы при наведении тоже оставался черным */
}
