@import url('https://fonts.googleapis.com/css?family=Noto+Serif&display=swap');

body,
p {
  font-family: 'Noto Serif';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.entry-content,
.entry-content p,
#about p {
  font-family: 'Noto Serif';
  color: #424242;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Noto Serif', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.entry-content p em {
  color: #c8ac48;
  display: block;
  border-left: 3px solid #c8ac48;
  padding-left: 15px;
}

.slide_description p,
.section_header + p {
  font-family: 'Noto Serif';
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.with_background .entry-content {
  color: #656971;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding: 20px 0;
}

.pagination__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-family: 'Noto Serif', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2b272c;
  background-color: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination__button:hover {
  color: #2b272c;
  background-color: #f5f5f5;
  border-color: #c8ac48;
  text-decoration: none;
}

.pagination__button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 172, 72, 0.3);
}

.pagination__button--active,
.pagination__button[aria-current="page"] {
  color: #ffffff;
  background-color: #c8ac48;
  border-color: #c8ac48;
  font-weight: 700;
  cursor: default;
}

.pagination__button--active:hover,
.pagination__button[aria-current="page"]:hover {
  color: #ffffff;
  background-color: #c8ac48;
  border-color: #c8ac48;
}

.pagination__button--dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  color: #7e7d82;
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: default;
}

.pagination__button--dots:hover {
  background: transparent;
  border-color: transparent;
  color: #7e7d82;
}

@media (max-width: 575.98px) {
  .pagination {
    gap: 6px;
    margin-top: 30px;
  }

  .pagination__button {
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    font-size: 14px;
  }

  .pagination__button--dots {
    min-width: 38px;
    height: 38px;
    font-size: 14px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .pagination {
    gap: 7px;
  }

  .pagination__button {
    min-width: 42px;
    height: 42px;
    font-size: 15px;
  }
}

.entry-content {
  text-align: justify;
  line-height: 25px;
}

.entry-content p {
  margin-bottom: 15px !important;
}

footer {
  padding-top: 15px;
}

#tarify tr td {
  vertical-align: middle;
  padding: 10px;
  font-size: 90%;
}

#tarify tr:nth-child(2n) {
  background: #f0f0f0;
  /* Цвет фона */
}

h3.entry-title {
  line-height: 30px;
}

#modal_form {
  width: 450px;
  background-color: #2b272c;
  background-image: url(../img/dark_pattern.png);
  color: #7e7d82;
  border-radius: 3px;
  border: 1px solid #c8ac48;
  position: fixed;
  top: 45%;
  left: 50%;
  margin-top: -300px;
  margin-left: -255px;
  display: none;
  opacity: 0;
  z-index: 99999;
  padding: 20px 20px;
}

#modal_form #modal_close {
  width: 21px;
  height: 21px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  display: block;
}

#overlay_modal {
  z-index: 999;
  position: fixed;
  background-color: #000;
  opacity: 0.8;
  -moz-opacity: 0.8;
  filter: alpha(opacity=80);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  display: none;
}

.g-recaptcha {
  margin-left: 33px;
  margin-bottom: 20px;
  display: block;
}

.modal_submit {
  margin-left: 100px;
  display: block;
}

.m-t-30 {
  margin-top: 30px !important;
}

.widget-title2 {
  margin-top: 10px;
  color: #2b272c;
  font-family: 'Noto Serif';
  line-height: 1.3;
  font-weight: 400;
  word-break: break-word;
  font-size: 24px;
}

.sf-menu li {
  white-space: normal;
}

.sf-menu > li .mega-menu,
.sf-menu li > ul {
  min-width: 500px;
}

/*.justify{
  text-align: justify;
}*/

.hidden {
  font-size: 0.01px;
}

h1 {
  margin-bottom: 0px;
}

.container-left-half {
  text-align: justify;
}

p.phone {
  font-size: 130%;
}

@media screen and (max-width: 1000px) {
  .h1_main {
    margin-top: -60px;
    padding-left: 80px;
    margin-bottom: 50px;
  }

  #services .teaser {
    min-height: 590px;
  }

  .section_padding_bottom_75 > [class*='container'] {
    padding-top: 20px;
  }
}

.justify {
  text-align: justify;
}

.intro-layer,
.page_footer,
.page_footer a {
  color: #eeeeee !important;
}

.teaser h2 {
  font-size: 24px;
}

.teaser .media-body h2 {
  margin-bottom: 10px;
}

.text_white {
  color: #ffffff;
}

.page_footer h2 {
  font-family: 'Noto Serif', sans-serif;
  font-size: 16px;
  line-height: 27px;
  margin: 5px;
}

.page_footer li a {
  font-family: 'Noto Serif', sans-serif;
  font-size: 15px;
  line-height: 18px;
  margin: 0px;
}

.page_footer li {
  color: #7e7d82;
}

#LiveInternet {
  margin-top: 20px;
  margin-top: 10px;
}

.blockquote {
  width: 100%;
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 40px;
  margin-right: 40px;
}

.blockquote {
  padding: 60px 80px 40px;
  position: relative;
}

.blockquote p {
  font-family: 'Utopia-italic';
  font-size: 35px;
  font-weight: 700px;
  text-align: center;
}

/*blockquote p::before {
    content: "\f095";
    font-family: FontAwesome;
   display: inline-block;
   padding-right: 6px;
   vertical-align: middle;
  font-size: 180px;
 }*/

.blockquote:before {
  position: absolute;
  font-family: 'FontAwesome';
  top: 0;
  content: '\f10d';
  font-size: 200px;
  color: rgba(0, 0, 0, 0.1);
}

.blockquote::after {
  content: '';
  top: 20px;
  left: 50%;
  margin-left: -100px;
  position: absolute;
  border-bottom: 3px solid #bf0024;
  height: 3px;
  width: 200px;
}

.otro-blockquote {
  font-size: 120%;
  margin: 50px auto;
  color: #555555;
  padding: 1.2em 30px 1.2em 75px;
  border-left: 8px solid #c8ac48;
  line-height: 1.6;
  position: relative;
}

.otro-blockquote::before {
  font-family: Arial;
  content: '\201C';
  color: #c8ac48;
  font-size: 4em;
  position: absolute;
  left: 10px;
  top: -10px;
}

.otro-blockquote::after {
  content: '';
}

.otro-blockquote span {
  display: block;
  color: #333333;
  font-style: normal;
  font-weight: bold;
  margin-top: 1em;
}

img#lawyer {
  margin-left: 30px;
  margin-bottom: 10px;
  max-width: 400px;
}

.hidden,
#go {
  display: none;
}

p.new_20_let {
  font-size: 23px;
  margin-top: -20px;
}

.text-normal-page {
  background-image: url(../images/background.jpg) !important;
  background-size: cover;
}

.text-normal-page h2 {
  font-size: 20px;
}

.ls {
  color: black;
}

#services .teaser {
  min-height: 350px;
}

#why_us .teaser {
  min-height: 210px;
}

#why_us .teaser p {
  text-align: left;
}

.teaser p {
  text-align: justify;
}

.ls h1,
.ls h2,
.ls h3,
.ls h4,
.ls h5,
.ls h6 {
  color: #424242;
}

.navigation,
.navigation a {
  color: white;
}

.lawyer {
  float: right;
}

.lawyer .oleg {
  text-align: center;
  font-size: 20px;
}

.lawyer img {
  margin-left: 50px;
  margin-bottom: 30px;
}

/* Lawyer Card Styles */
.lawyer-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  margin-bottom: 30px;
}

.lawyer-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.lawyer-card__photo-wrapper {
  position: relative;
  overflow: hidden;
  background: #2b272c;
}

.lawyer-card__photo {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.lawyer-card:hover .lawyer-card__photo {
  filter: grayscale(0%);
}

.lawyer-card__badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: #c8ac48;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.lawyer-card__badge i {
  font-size: 24px;
  color: #ffffff;
}

.lawyer-card__content {
  padding: 25px;
}

.lawyer-card__name {
  font-family: 'Noto Serif', serif;
  font-size: 22px;
  font-weight: 400;
  color: #2b272c;
  line-height: 1.3;
  margin-bottom: 5px;
}

.lawyer-card__title {
  font-family: 'Noto Serif', serif;
  font-size: 16px;
  color: #c8ac48;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.lawyer-card__divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #c8ac48, transparent);
  margin: 15px 0;
}

.lawyer-card__description {
  font-family: 'Noto Serif', serif;
  font-size: 15px;
  line-height: 1.7;
  color: #656971;
  text-align: justify;
}

.lawyer-card__education,
.lawyer-card__specialization {
  margin-bottom: 15px;
}

.lawyer-card__education h4,
.lawyer-card__specialization h4 {
  font-family: 'Noto Serif', serif;
  font-size: 14px;
  font-weight: 600;
  color: #2b272c;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lawyer-card__education h4 i,
.lawyer-card__specialization h4 i {
  color: #c8ac48;
  font-size: 16px;
}

.lawyer-card__education p,
.lawyer-card__specialization p {
  font-family: 'Noto Serif', serif;
  font-size: 14px;
  line-height: 1.6;
  color: #656971;
  margin: 0;
}

.lawyer-card__stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.lawyer-card__stat {
  text-align: center;
}

.lawyer-card__stat-value {
  display: block;
  font-family: 'Noto Serif', serif;
  font-size: 28px;
  font-weight: 700;
  color: #c8ac48;
  line-height: 1;
}

.lawyer-card__stat-label {
  display: block;
  font-family: 'Noto Serif', serif;
  font-size: 12px;
  color: #7e7d82;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 991.98px) {
  .lawyer-card {
    max-width: 450px;
    margin: 0 auto 30px;
  }

  #sidebar {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .lawyer-card__content {
    padding: 20px;
  }

  .lawyer-card__name {
    font-size: 20px;
  }

  .lawyer-card__stat-value {
    font-size: 24px;
  }
}

@media (max-width: 575.98px) {
  .lawyer-card {
    margin: 0 15px 30px;
  }

  .lawyer-card__badge {
    width: 40px;
    height: 40px;
    bottom: 10px;
    right: 10px;
  }

  .lawyer-card__badge i {
    font-size: 18px;
  }
}
