/*
Theme Name: G-ravitacia
Theme URI: 
Author: G-ravitacia
Author URI: 
Description: 

Version: 1.7
License: GNU General Public License
License URI: license.txt
Text Domain: g-ravitacia

*/
* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

body {
  position: relative;
  color: #212529;
  font-family: 'Geometria', sans-serif;
  font-size: 15px;
  line-height: 1.3;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit
}

ul {
  list-style: none;
}

ol {
  padding-left: 40px;
}

h1 {
  font-size: 30px;
  line-height: 1.3;
  color: #212121;
  margin: 50px 0 30px;
}

h2 {
  font-size: 28px;
  line-height: 1.3;
  color: #212121;
  margin: 80px 0 40px;
}

h3 {
  font-size: 24px;
  line-height: 1.3;
  color: #212121;
  margin-bottom: 20px;
}

h4 {
  font-size: 20px;
  line-height: 1.3;
  color: #212121;
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

input::-moz-focus-inner {
  border: 0px !important;
}

input:hover,
input:active,
input:focus {
  outline: none !important;
}

input[type="file"],
input[type="radio"],
input[type="checkbox"] {
  display: none;
}

label {
  cursor: pointer;
}

.wp-block-image,
.wp-block-columns {
  margin-bottom: 0;
}

.container {
  width: 1160px;
  margin: 0 auto;
}

.main {
  padding-top: 79px;
}

.border-btn {
  display: inline-block;
  border: 2px solid #b6b1b1;
  border-radius: 5px;
  text-align: center;
  font-family: 'GeometriaMedium';
  padding: 10px 25px;
  cursor: pointer;
  transition: .3s;
}

.border-btn:hover {
  border-color: #ff5b16;
}

.btn {
  display: inline-block;
  font-family: 'GeometriaMedium';
  background: #ff5b16;
  border: 2px solid #ff5b16;
  color: #fff;
  outline: 0;
  border-radius: 5px;
  padding: 10px 25px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background: #fff;
  color: #212529;
}

.on-btn {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  width: max-content;
  height: 36px;
  line-height: 1;
  border: 0;
  outline: 0;
  border-radius: 50%;
  padding: 10px 25px 10px 46px;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2;
}

.on-btn:before {
  content: '';
  position: absolute;
  background: #212121;
  width: 36px;
  height: 100%;
  border-radius: 20px;
  left: 0;
  top: 0;
  transition: 0.3s;
  z-index: -1;
}

.on-btn:after {
  content: '';
  position: absolute;
  background: url(images/arrow-right.svg) no-repeat center;
  width: 38px;
  height: 36px;
  left: 0;
  top: 0;
  transition: 0.3s;
}

.on-btn:hover {
  color: #fff;
}

.on-btn:hover:before {
  width: 100%;
}

.on-btn:hover:after {
  background: url(images/arrow-right-1.svg) no-repeat center;
  width: 50px;
}

.center {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.js-call {
  cursor: pointer;
}

.mobile {
  display: none;
}

.grecaptcha-badge {
  right: -300px !important;
}

/* Шапка
--------------------*/
.header {
  position: fixed;
  width: 100%;
  background: #212121;
  top: 0;
  z-index: 20;
}

.head-row {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.head-row:before {
  content: '';
  position: absolute;
  background: #212121;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  left: 50%;
  bottom: -35px;
  transform: translateX(-50%);
}

.head-logo {
  width: 50px;
  padding-top: 35px;
  opacity: .1;
}

.head-col {
  width: calc((100% - 100px) / 2);
}

.head-col:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 50px;
  color: #fff;
}

.header .menu {
  display: flex;
  gap: 30px;
}

.header .menu li a {
  color: #ff5b16;
}

.head-col .contact {
  text-align: right;
}

.head-regim {
  font-size: 12px;
  margin-top: 5px;
}

.gradient-btn {
  display: block;
  width: max-content;
  color: #fff;
  background: #212121;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  border-radius: 5px;
  padding: 12px 30px;
}

.gradient-btn:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left:-2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(3px);
  width: calc(100% + 3px);
  height: calc(100% + 3px);
  animation: glowing 20s linear infinite;
  border-radius: 5px;
}

@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}
/* Главная
--------------------*/
.home-1 {
  margin: 0 calc((-100vw + 1160px) / 2);
  padding: 60px calc((100vw - 1160px) / 2) 160px;
}

.home-1 h1 {
  font-size: 36px;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0 0 60px;
}

#ajaxsearchlite1 .probox, div.asl_w .probox {
  height: 40px !important;
}

#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
  height: 40px !important;
  font-family: 'Geometria' !important;
  font-size: 15px !important;
}

div.asl_m .probox .proinput input.autocomplete {
  display: none !important;
}

div.asl_w .probox .proloading, 
div.asl_w .probox .proclose, 
div.asl_w .probox .promagnifier,
div.asl_w .probox .prosettings {
  width: 40px !important;
  height: 40px !important;
}

div.asl_m .probox .promagnifier {
  margin-bottom: -1px;
}

div.asl_r {
  margin: 0 !important;
}

div.asl_w {
  box-shadow: none !important;
}

.home-2 {
  position: relative;
  gap: 10px;
  margin: -50px 70px 80px;
  z-index: 5;
}

.home-2 .wp-block-column {
  border-radius: 5px;
  box-shadow: 0 5px 13px rgb(0 0 0 / 35%);
  transition: .3s;
}

.home-2 .wp-block-column:hover {
  background: #212121 !important;
}

.home-2 .wp-block-column .wp-block-image a {
  display: block;
  width: 100%;
  height: 100%;
  padding-top: 12px;
}

.home-2 .wp-block-column p a {
  display: block;
  font-size: 14px;
  padding: 5px 10px 7px;
}

.title-block {
  margin-bottom: 40px;
}

.title-block h2 {
  margin: 0;
}

.title-block .wp-block-column:last-child {
  display: flex;
  justify-content: flex-end;
}

.home-3 .wp-block-column {
  position: relative;
  background-color: #212121;
  color: #fff;
  border-radius: 10px;
  padding: 30px 30px 90px;
  box-shadow: 0 7px 15px rgb(0 0 0 / 40%);
}

.home-3 .wp-block-column .shild {
  position: absolute;
  background: #ff5b16;
  font-family: 'GeometriaMedium';
  border-radius: 4px 20px 20px 4px;
  padding: 7px 35px;
  top: 10px;
  left: -5px;
  box-shadow: 0 5px 10px rgb(0 0 0 / 60%);
}

.home-3 .wp-block-column .wp-block-image {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  margin: -30px -30px 0;
  height: 240px;
}

.home-3 .wp-block-column .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-3 .wp-block-column h3 {
  color: #ff5b16;
  border-bottom: 1px solid #ff5b16;
  margin: 20px 0;
  transition: .3s;
}

.home-3 .wp-block-column p {
  font-size: 14px;
  margin-top: 10px;
}

.home-3 .wp-block-column p strong {
  font-family: 'GeometriaMedium';
  font-weight: normal;
}

.home-3 .wp-block-column .btn {
  position: absolute;
  bottom: 30px;
}

.home-4 {
  margin-top: 80px;
}

.home-4 .wp-block-column p {
  font-size: 18px;
  margin-bottom: 18px;
}

.home-4 .wp-block-column p:last-child {
  margin-bottom: 0;
}

.home-4 .wp-block-column img {
  border-radius: 5px;
}

.home-4 .wp-block-image {
  padding-left: 1em;
}

.barber-top-block {
  background: #e6e6e6;
  margin-top: 80px;
}

.barber-top-block .container {
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.barber-top-block .col-1 {
  flex-shrink: 0;
}

.barber-top-block .col-1 p {
  font-size: 30px;
  font-family: 'GeometriaBold';
  color: #ff5b16;
  line-height: 1.6;
}

.barber-top-block .col-2 {
  position: relative;
  border-left: 2px solid #212121;
  margin-left: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 60px;
}

.barber-top-block .col-2:before {
  content: url(images/arrow-right-1.svg);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #212121;
  border: 1px solid #212121;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  left: -19px;
  top: 50%;
  transform: translateY(-50%);
}

.barber-top-block .col-2 h3 {
  font-size: 24px;
  text-align: right;
  margin-bottom: 10px;
}

.barber-top-block .col-2 p a {
  color: #ff5b16;
  text-decoration: underline;
}

.social {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 30px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff5b16;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: .3s;
}

.social a:hover {
  background: #212121;
}

.barber-top-block .col-3 {
  width: 200px;
  margin-left: 90px;
}

.barber-top-block .col-3 img {
  border-radius: 50%;
}

/* Салоны
--------------------*/
.content-row.single h1 {
  margin: 40px 0 10px;
}

.content-row {
  position: relative;
  display: flex;
}

.content-col.left {
  width: 45%;
  padding: 1px 20px;
}

.tabs-caption {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.tabs-caption p {
  width: 50%;
  border: 2px solid #b6b1b1;
  border-radius: 5px;
  text-align: center;
  padding: 10px 15px;
  cursor: pointer;
  transition: .3s;
}

.tabs-caption p.active {
  border-color: #ff5b16;
}

.tabs-content .tab {
  display: none;
}

.tabs-content .tab.active {
  display: block;
}

.content-col.left .category {
  text-transform: uppercase;
  color: #555;
  letter-spacing: 1.8px;
  font-size: 13px;
}

.wp-block-kadence-advancedgallery {
  margin-bottom: 20px;
}

.glsr-summary {
  margin-bottom: 20px;
}

.glsr-summary-rating {
  font-size: 16px !important;
}

.glsr-summary .glsr-star {
  height: 18px !important;
  width: 18px !important;
  background-size: cover !important;
}

.glsr-summary-stars {
  order: -1;
}

.glsr-summary-text {
  flex: 0 0 auto !important;
  font-size: 14px !important;
}

.uslugi-block {
  margin-bottom: 20px;
}

.menu-slider {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.view-container {
  position: relative;
  width: 100%;
  height: 30px;
  overflow: hidden;
}

.menu_category {
  position: absolute;
  display: flex;
  gap: 5px;
}

.menu_category li {
  flex-shrink: 0;
  background: #212121;
  border-radius: 3px;
  color: #fff;
  padding: 4px 10px;
}

.menu_category li.stop {
  background: transparent;
  width: 1px;
  height: 16px;
  padding: 0;
}

.scroll-arrows {
  width: 30px;
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding-top: 2px;
  padding-left: 5px;
}

.scroll-arrows .prev-arrow {
  visibility: hidden;
}

.uslugi-block .price {
  font-size: 14px;
  color: #555;
}

.adress-block {
  position: relative;
  font-size: 18px;
  font-family: 'GeometriaMedium';
  padding-left: 20px;
  margin-bottom: 15px;
}

.adress-block:before {
  content: '';
  position: absolute;
  background: url(images/map.svg) no-repeat center;
  background-size: cover;
  width: 15px;
  height: 20px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.rezhim-block {
  padding-left: 20px;
  margin-bottom: 20px;
}

.rezhim-block h3 {
  font-size: 16px;
  margin-bottom: 7px;
}

.rezhim-block h3 span {
  position: relative;
  display: inline-block;
  font-size: 14px;
  padding-left: 13px;
  margin-left: 5px;
}

.rezhim-block h3 span:before {
  content: '';
  position: absolute;
  background: red;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 55%;
  left: 0;
  transform: translateY(-50%);
}

.rezhim-block h3 span.open-time:before {
  background: green;
}

.rezhim li {
  font-size: 14px;
}

.rezhim li span {
  display: inline-block;
  font-family: 'GeometriaMedium';
  width: 100px;
}

.buttons-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.buttons-block p,
.buttons-block a {
  width: 50%;
}

.content-col.right {
  position: sticky;
  width: 55%;
  height: 100vh;
  top: 0;
}

#map {
  width: 100%;
  height: 100%;
  
}

.glsr-default .wp-block-button {
  margin-top: 10px !important;
}

.wp-block-button__link {
  background-color: #ff5b16 !important;
  border: 0 !important;
  border-radius: 5px !important;
  padding: 10px 15px !important;
  font-size: 16px !important;
}

.glsr-reviews-wrap {
  margin-top: 50px;
}

.glsr-reviews, .glsr-reviews-wrap {
  gap: 20px !important;
}

.glsr-default .glsr-review {
  justify-content: space-between;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
}

.glsr-default .glsr-review-title {
  width: auto !important;
}

.glsr-default .glsr-review-content p {
  font-size: 14px;
}

/* архивы
--------------------*/
.cont {
  font-size: 18px;
  font-family: 'GeometriaMedium';
  margin-bottom: 10px;
}

.content-col .item {
  display: flex;
  gap: 20px;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
}

.content-col .item .item-img {
  width: 150px;
}

.content-col .item .item-img img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.item-content {
  width: calc(100% - 150px);
}

.content-col .item h2 {
  font-size: 24px;
  margin: 0 0 5px;
  color: #ff5b16;
  text-decoration: underline;
}

.content-row.category .glsr-summary {
  margin: 10px 0;
}

.content-row.category .adress-block {
  font-size: 16px;
  margin-bottom: 10px;
}

.content-row.category .price {
  margin: 5px 0 15px;
  text-decoration: underline;
}

/* Вопрос-ответ
--------------------*/
.accordion {
  width: 900px;
  margin: 80px auto 0
}

.accordion .accordion_item {
  margin-bottom: 5px;
  position: relative
}

.accordion .title_block {
  font-family: 'GeometriaMedium';
  font-size: 18px;
  color: #212529;
  cursor: pointer;
  background: #fff;
  border: 2px solid #ff5b16;
  border-radius: 5px;
  padding: 10px 65px 10px 25px;
  transition: .3s;
}

.accordion .title_block:before {
  content: '';
  height: 8px;
  width: 8px;
  display: block;
  border: 2px solid #212121;
  border-left-width: 0;
  border-top-width: 0;
  transform: rotate(45deg);
  position: absolute;
  right: 25px;
  top: 17px;
  transition: .3s;
}

.accordion .active_block .title_block:before {
  border: 2px solid #fff;
  border-left-width: 0;
  border-top-width: 0;
  transform: rotate(-135deg);
  top: 21px;
}

.accordion .title_block:hover {
  color: #ff5b16;
}

.accordion .active_block .title_block {
  background: #212121;
  border: 2px solid #212121;
  color: #fff;
}

.accordion .info {
  display: none;
  padding: 25px;
  background: #f7f7f7;
}

/* footer
--------------------*/
.footer {
  position: relative;
  width: 100%;
  background: #212121;
  color: #fff;
  z-index: 5;
}

.footer .container {
  display: flex;
  padding: 50px 0;
}

.footer .container .col-20 {
  width: 20%;
}

.footer .container .col-30 {
  width: 30%;
}

.footer .container .col-50 {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 30px;
}

.footer .col-20 img {
  opacity: .1;
}

.footer .col-30 a {
  display: inline-block;
  margin-top: 5px;
  border-bottom: 1px solid #fff;
}

.footer .col-30 .social {
  justify-content: flex-start;
  margin-bottom: 0;
  margin-top: 20px;
}

.footer .col-30 .social a {
  display: flex;
  border-bottom: 0;
}

.footer .col-30 .social a:hover {
  background: #ff5b16;
}

.footer .col-50 a {
  color: #ff5b16;
}

.footer .col-50 p {
  font-size: 14px;
}

.footer .to-top {
  position: absolute;
  background: #212121;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  left: 50%;
  top: -35px;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
}

.footer .to-top:before {
  content: '';
  position: absolute;
  background: url(images/to-top.svg) no-repeat center;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: .2;
  transition: .3s;
}

.footer .to-top:hover:before {
  opacity: 1;
}

/* Модальные окна
--------------------*/
.popup_modal {
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  -webkit-overflow-scrolling: touch;
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
}

.win_modal {
  position: absolute;
  background: #f7f7f7;
  width: 370px;
  margin-top: -200px;
  border-radius: 10px;
  display: none;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
}

.form-title {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'GeometriaMedium';
  text-align: center;
}

.input_your {
  width: 100%;
  height: 40px;
  font-size: 15px;
  border: 1px solid #b6b1b1;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px 15px;
}

textarea.input_your {
  height: 100px;
}

.win_modal .btn {
  width: 100%;
}

.close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 10px;
  right: 15px;
  cursor: pointer;
}

.close:before,
.close:after {
  content: '';
  width: 100%;
  height: 1px;
  background: #ff5b16;
  position: absolute;
  top: 49%;
  left: 20%;
  transform: rotate(45deg);
}

.close:after {
  transform: rotate(-45deg);
}

.wpcf7-spinner,
.wpcf7 .ajax-loader,
.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7-not-valid {
  border: 1px solid #f62c2c !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 10px 0 0 !important;
  text-align: center;
}

/* 404
--------------------*/
.page-not-found {
  text-align: center;
  margin-top: 40px;
}

.page-not-found h2 {
  font-size: 30px;
  margin: 30px 0 10px;
}

.page-not-found p {
  margin-bottom: 40px;
}

/* Политика конфиденциальности
--------------------*/
.text-block h3 {
  margin-top: 30px;
}

.text-block p,
.text-block li {
  margin-bottom: 15px;
}

/* Вопрос-ответ
--------------------*/
.yoast-breadcrumbs {
  font-size: 14px;
  margin-top: 50px;
}

.kama_breadcrumbs a {
  transition: all .3s;
}

.is-form-style {
    margin-top: 30px;
}

.question-block {
  background: #fff;
  box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 50px;
}

.question {
  font-size: 20px;
  margin-bottom: 20px;
}

.answer-block {
  display: flex;
  gap: 30px;
  line-height: 1.5;
}

.answer-block .author {
  text-align: center;
  flex-shrink: 0;
}

.answer-block .author img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.answer-block .author p {
  color: #ff5b16;
  font-family: 'GeometriaMedium';
  margin: 5px 0 0;
}

.answer-block .answer {
  position: relative;
  background: #e6e6e6;
  border-radius: 5px;
  padding: 30px;
}

.answer-block .answer:before {
  content: "";
  position: absolute;
  top: 25px;
  left: -12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 12px 9px 0;
  border-color: transparent #e6e6e6 transparent transparent;
}

.answer-block .answer p,
.answer-block .answer li,
.answer-block .answer img {
  margin-bottom: 10px;
}

.faq-form {
  display: flex;
  gap: 100px;
  border-radius: 10px;
  border: 1px solid #ff5b16;
  padding: 40px;
}

.faq-form .col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 50%;
  text-align: center;
}

.faq-form .col-left p {
  font-size: 18px;
  font-family: 'GeometriaMedium';
}

.faq-form .col-left img {
  width: 120px;
}

.faq-form .col-right {
  width: 50%;
}

.faq-form textarea {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
}

.cat-select {
  position: relative;
  z-index: 10;
}

.cat-select .cat-input {
  position: relative;
  border: 1px solid #b6b1b1;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 0;
}

.cat-select .dropdown {
  position: absolute;
  display: none;
  background: #fff;
  width: 100%;
  box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
  padding: 5px 15px 15px;
  border-radius: 5px;
  top: 42px;
  left: 0;
}

.cat-select .dropdown li {
  list-style: none;
  font-size: 14px;
}

.cat-select .dropdown li span {
  display: block;
  padding-top: 5px;
  cursor: pointer;
}

.cat-select .dropdown li span:hover {
  color: #ff5b16;
}

.cat-select .dropdown ul {
  padding-left: 25px;
}

[name="faq_category"] {
  display: none !important;
}

.faq-section .entry-social {
  margin-top: 40px;
  text-align: center;
}

.faq-section .entry-bottom__header {
  font-size: 18px;
  font-family: 'GeometriaBold';
  margin-bottom: 15px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-item a {
  font-size: 22px;
  font-weight: 500;
  color: #ff5b16;
}

.faq-item .faq-date {
  font-size: 14px;
  margin-top: 5px;
}

.faq-cat-grid-title {
  font-size: 28px;
  font-family: 'GeometriaBold';
  margin: 80px 0 40px;
}

.faq-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.faq-cat-grid a {
  display: block;
  width: calc((100% - 60px) / 4);
  background: #212121;
  border-radius: 5px;
  box-shadow: 0 7px 15px rgb(0 0 0 / 40%);
  overflow: hidden;
}

.faq-cat-grid a:hover {
  color: #ffa500;
}

.faq-cat-grid a img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.faq-cat-grid a h3 {
  font-size: 18px;
  border-bottom: 1px solid #ff5b16;
  color: #ff5b16;
  margin: 25px 15px;
  padding-bottom: 3px;
  transition: .3s;
}

.faq-cat-grid a:hover h3 {
  color: #fff;
  border-color: #fff;
}

.child-cat {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 60px;
}

.child-cat a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ff5b16;
  width: calc((100% - 45px) / 4);
  border-radius: 5px;
  color: #fff;
  padding: 20px 10px;
}

.child-cat a:hover {
    background: #212121;
}

.faq-section .pagination {
  margin-bottom: 30px;
}

.faq-section .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.faq-section .nav-links .page-numbers {
  position: relative;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  z-index: 1;
  transition: all .3s;
}

.faq-section .nav-links .page-numbers:not(.current):before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: #ff5b16;
  transform: scaleY(0) translateZ(0);
  transform-origin: bottom center;
  transition: all .3s;
  z-index: -1;
}

.faq-section .nav-links .page-numbers:not(.current):hover:before {
  transform: scaleY(1) translateZ(0);
}

.faq-section .nav-links .page-numbers:not(.current):hover {
  color: #fff;
}

.faq-section .nav-links .page-numbers.current {
  box-shadow: inset 0 0 0 1px #212121;
  color: #ff5b16;
}