.sgk-main {
  overflow-x: hidden;
}
.sgk-header-sticky {
  position: sticky;
}
.sgk-hero .sgk-hero-inner .sgk-hero-subtitle,
.sgk-hero .sgk-hero-inner .sgk-hero-quote .sgk-hero-quote-text {
  font-family: 'Adventure', sans-serif;
  font-style: italic;
}
.sgk-hero .sgk-hero-inner .sgk-hero-subtitle {
  font-size: 32px;
}
.sgk-memorial .sgk-memorial-inner .sgk-memorial-more a {
  position: relative;
}
.sgk-popup:not(.sgk-active) .wpforms-container .wpforms-recaptcha-container {
  display: none;
}
/********************* BEGIN ANKETA *****************************/
.anketa-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.anketa-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  margin: 0 0 32px;
  color: #3c3c3c;
}
.anketa-form {
  display: block;
}
.anketa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.anketa-field {
  border: 1px solid #c9c5c1;
  padding: 10px 14px;
  position: relative;
  background: #fff;
}
.anketa-field input[type='text'],
.anketa-field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  resize: none;
  font: inherit;
  font-size: 14px;
  background: transparent;
  color: #3c3c3c;
}
.anketa-field textarea {
  min-height: 70px;
}
.anketa-field-file {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.anketa-field-file label {
  font-size: 14px;
  margin-bottom: 4px;
  color: #757575;
}
.anketa-field-file input[type='file'] {
  font-size: 14px;
  opacity: 0;
}
.anketa-counter {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 11px;
  color: #8f8a84;
}
.anketa-file-name {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #8f8a84;
}
.anketa-submit {
  display: block;
  margin: 0 auto;
  padding: 14px 44px;
  border: 0;
  background: #3f3f3f;
  color: #f9f8f5;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.anketa-submit:hover {
  background: #2f2f2f;
}
.anketa-success {
  text-align: center;
  padding: 40px 20px 60px;
}
.anketa-success-text {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
}
.anketa-success-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.anketa-success-link {
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  color: #000;
}
.anketa-success-btn {
  display: inline-block;
  padding: 14px 44px;
  background: #3f3f3f;
  color: #f9f8f5;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.anketa-success-btn:hover {
  background: #2f2f2f;
}
.anketa-success-text {
  color: #3c3c3c;
}
@media (max-width: 768px) {
  .anketa-grid {
    grid-template-columns: 1fr;
  }
  .anketa-field {
    max-width: 280px;
  }
}
/********************* END ANKETA *************************/
.sgk-region-filter {
  position: relative;
  display: block;
  color: #3c3c3c;
  margin-bottom: -40px;
  max-width: 250px;
}
.sgk-region-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 4px 0;
  color: #3c3c3c;
}
.sgk-region-filter-icon {
  display: inline-block;
  color: #3c3c3c;
}
.sgk-region-filter-label {
  color: #000;
}
.sgk-region-filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fbf3e7;
  border: 1px solid #3c3c3c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0;
  margin-top: 6px;
  display: none;
  z-index: 50;
  max-height: 500px;
  overflow-y: auto;
  color: #3c3c3c;
  transition: 0.3s;
  scrollbar-width: thin;
  scrollbar-color: #fbf3e7 #000;
}
.sgk-region-filter-dropdown.is-open {
  display: block;
}
.sgk-region-filter-dropdown::-webkit-scrollbar {
  width: 12px;
}
.sgk-region-filter-dropdown::-webkit-scrollbar-track {
  background: #fbf3e7;
}
.sgk-region-filter-dropdown::-webkit-scrollbar-thumb {
  background-color: #000;
  border-radius: 6px;
  border: 3px solid #fbf3e7;
}
.sgk-region-filter-option {
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 6px 12px;
  font: inherit;
  cursor: pointer;
  color: #3c3c3c;
  transition: 0.3s;
}
.sgk-region-filter-option:hover,
.sgk-region-filter-option.is-active {
  background: url('../../lawyersmemory/img/full.png');
  color: #fff;
}
.sgk-memorial .sgk-memorial-inner .sgk-memorial-grid .sgk-memorial-item .sgk-memorial-name {
  font-size: 19px;
}
.sgk-memorial .sgk-memorial-inner .sgk-memorial-grid .sgk-memorial-item .sgk-memorial-age {
  font-size: 14px;
}
.sgk-memorial .sgk-memorial-inner .sgk-memorial-grid .sgk-memorial-item .sgk-memorial-photo {
  width: 270px;
  height: 380px;
}
.sgk-teamWrapper .sgk-team-item .sgk-team-photo {
  border-radius: 0;
}
body.sgk-team-template::after {
  height: 1130px;
  height: 650px;
}
.sgk-hero .sgk-hero-inner .sgk-hero-quote {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 10px;
}
.sgk-hero .sgk-hero-inner .sgk-hero-title {
  font-size: 32px;
}
.sgk-hero .sgk-hero-inner .sgk-hero-subtitle {
  font-size: 28px;
}
.sgk-hero .sgk-hero-inner .sgk-hero-quote .sgk-hero-quote-text {
  max-width: 800px;
  margin: 0 auto 20px;
}
.sgk-partnersWrapper {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 240px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sgk-partnerRow {
  display: flex;
  align-items: center;
  gap: 30px;
}
.sgk-partnerRow__logo {
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sgk-partnerRow__logo a {
  display: inline-flex;
  align-items: center;
}
.sgk-partnerRow__logo img {
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.sgk-partnerRow__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sgk-partnerRow__title {
  font-size: 18px;
  font-weight: 800;
  color: #000;
}
.sgk-partnerRow__desc {
  font-size: 14px;
  font-weight: 400;
  color: #000;
}
.sgk-partnerLong {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.sgk-partnerLong__logo {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.sgk-partnerLong__logo a {
  display: inline-flex;
}
.sgk-partnerLong__logo img {
  max-width: 520px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.sgk-partnerLong__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: #000;
}
body.page-template-sgk-projects::before {
  height: 760px;
}
body.page-template-sgk-projects::after {
  background-image: url(../../lawyersmemory/img/bottom_project.png);
  z-index: 2;
  height: 480px;
}
.sgk-projectsWrapper {
  margin: 0 auto;
  padding: 0;
}
.sgk-projectsWrapper h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 35px;
  color: #3c3c3c;
  text-align: left;
  margin-bottom: 10px;
}
.sgk-projects {
  margin-bottom: 70px;
}
.sgk-project {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
  background-color: #fbf3e7;
  gap: 0;
}
.sgk-project__media {
  flex: 0 0 45%;
  display: flex;
}
.sgk-project__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
}
.sgk-project__grid > div {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sgk-project__content {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  padding: 50px 35px;
}
.sgk-project__text {
  flex: 1 1 auto;
}
.sgk-project__text p {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #3c3c3c;
}
@media (max-width: 1440px) {
  .sgk-team-template::before {
    height: 390px;
  }
}
@media (max-width: 992px) {
  .sgk-project {
    flex-direction: column;
  }
  .sgk-project__media {
    order: 1;
  }
  .sgk-project__media,
  .sgk-project__content {
    flex: 0 0 100%;
  }
  .sgk-project__grid {
    grid-template-rows: repeat(3, 300px);
    height: auto;
  }
}
@media (max-width: 767px) {
  .sgk-memorial-header {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding-bottom: 80px;
  }
  .sgk-region-filter-toggle {
    padding: 8px 16px;
    background: #f9f8f5;
  }
  .sgk-partnerRow {
    flex-direction: column;
  }
  .sgk-hero .sgk-hero-inner .sgk-hero-innerWrapper {
    background-color: #fbf3e7;
    padding: 10px 10px 30px;
  }
  .sgk-hero .sgk-hero-inner .sgk-hero-innerWrapper .sgk-hero-subtitle {
    margin-bottom: 0;
  }
  .sgk-hero .sgk-hero-inner .sgk-hero-innerWrapper * {
    color: #000;
  }
  .sgk-memorial .sgk-memorial-inner .sgk-memorial-grid .sgk-memorial-item .sgk-memorial-photo {
    margin: 0 auto 10px;
  }
  .sgk-hero .sgk-hero-inner .sgk-hero-quote {
    margin: 0 auto 20px;
  }
  .sgk-region-filter-toggle {
    background-color: #000;
    border: 1px solid #f9f8f5;
  }
  .sgk-region-filter-toggle .sgk-region-filter-label {
    color: #f9f8f5;
  }
  .sgk-region-filter-toggle svg path {
    stroke: #000;
    fill: #f9f8f5;
  }
  .sgk-memorial-template .sgk-region-filter-toggle {
    background-color: #f9f8f5;
  }
  .sgk-memorial-template .sgk-region-filter-toggle .sgk-region-filter-label {
    color: #000;
  }
  .sgk-memorial-template .sgk-region-filter-toggle svg path {
    stroke: #f9f8f5;
    fill: #000;
  }
  body.sgk-home-template::before {
    height: 900px;
  }
  body.sgk-team-template::after {
    height: 480px;
  }
  .sgk-teamWrapper {
    margin-bottom: 50px;
  }
  .sgk-memorial .sgk-memorial-inner .sgk-memorial-grid {
    gap: 30px;
  }
  body.sgk-home-template::after {
    height: 830px;
  }
}
@media (min-width: 576px) {
  .sgk-memorial {
    padding-top: 60px;
    padding-bottom: 200px;
  }
  .sgk-home-template .sgk-memorial {
    padding-bottom: 90px;
  }
}
@media (max-width: 575px) {
  body::before {
    height: 400px;
  }
  .sgk-hero .sgk-hero-inner .sgk-hero-subtitle {
    font-size: 20px;
  }
  .sgk-hero .sgk-hero-inner .sgk-hero-quote .sgk-hero-quote-text {
    font-size: 28px;
  }
  body.sgk-home-template::before {
    height: 990px;
  }
  body.sgk-home-template::after {
    height: 1280px;
  }
  .sgk-partnersWrapper {
    padding-bottom: 90px;
  }
  .sgk-partners-head {
    margin-bottom: 80px;
  }
}
@media (min-width: 1024px) and (max-width: 1599px) {
  .sgk-hero .sgk-hero-inner::after {
    right: -260px;
    bottom: 0;
  }
}
@media (min-width: 1600px) {
  .sgk-hero .sgk-hero-inner::after {
    right: -260px;
  }
}
