* {
  box-sizing: border-box;
}
.overflow {
  overflow: hidden;
}
body {
  position: relative;
}
.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ico-myaccount {
  margin: 4px 0 0;
}
.form-step-3 .form-inner-2 .text-forgot {
  text-align: center;
}
.btn {
    display: flex;
    gap: 24px;
    align-items: center;
    border-radius: 12px;
    background: var(--Main-red, #AE040B);
    border: 0;
    padding: 4px 4px 4px 24px;
    height: 62px;
    text-decoration: none;
}
.btn .text {
    display: inline-block;
    flex: 1;
    color: var(--White, #FFF);
    text-align: center;
    font-size: var(--Font-Size-Body-2, 14px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}
.btn .svg-wrapper {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 12px;
}
.header {
    position: relative;
}

.account-holder {
    display: flex;
    gap: 20px;
    padding: 40px clamp(20px, 3.13vw, 60px);
}

.review-success,
.account-error {
    display: flex;
    gap: 20px;
    margin: 40px 40px 0;
    padding: 20px;
    border-radius: 20px;
    background-color:aliceblue;
    text-align: center;
}

.review-success {
  font-size: 18px;
}

.account-error {
  background-color:antiquewhite;
}

.tours-holder-alt {
  display: flex !important;
  gap: 20px !important;
  align-items: center;
  justify-content: space-between;
  margin: 40px 40px 0 !important;
  padding: 20px !important;
  border-radius: 20px !important;
}

.tours-holder-alt button {
  margin: 0;
}

.tours-holder-alt p {
  font-size: 24px;
  margin: 0;
}

.review-success p,
.account-error p {
  margin: 0;
}

.account-holder .sidebar {
    width: clamp(250px, 18.23vw, 350px);
    display: flex;
    flex-direction: column;
}

.sidebar .user-info {
    background-color: #fcf5f5;
    border-radius: 12px;
    padding: 12px;
    margin: 0 0 10px;
}

.sidebar .user-holder {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0 20px;
}

.account-student .sidebar .user-holder {
  margin: 0;
}

.sidebar .user-holder img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 12px 0 0;
}

.sidebar .user-info .user-frame span {
    display: block;
    font-size: 12px;
    opacity: 0.5;
}

.sidebar .user-info h4 { 
    margin: 0 0 8px;
    font-size: 24px;
}

.sidebar .user-info p {
    margin: 0;
    font-size: 18px;
}

.sidebar .user-info .user-frame .user-logo {
    display: none;
    width: auto;
    max-width: 140px;
    height: auto;
    margin: 20px 0 0;
}

.sidebar .user-info .user-logo {
    display: block;
    width: auto;
    max-width: 140px;
    height: auto;
}

.sidebar .menu,
.modal-person .menu {
    background-color: #fcf5f5;
    border-radius: 12px;
    padding: 24px 12px;
    margin: 0 0 10px;
    font-size: 20px;
}

.sidebar .menu ul,
.modal-person .menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar .menu li,
.modal-person .menu li {
    display: block;
}

.sidebar .menu li a,
.modal-person .menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1D1D1D;
    text-decoration: none;
    border-radius: 12px;
    padding: 10px;
    transition: 0.2s;
}

.sidebar .menu li.active a,
.sidebar .menu li:hover a,
.modal-person .menu li.active a,
 .modal-person .menu li:hover a {
    background: #da8b8e;
    color: #fff;
}

.sidebar .menu li.logout-btn {
  display: none;
}

.sidebar .btn-logout {
    background-color: #fcf5f5;
    border-radius: 12px;
    padding: 12px;
    margin: 0 0 10px;
    font-size: 20px;
}

.sidebar .btn-logout a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1D1D1D;
    text-decoration: none;
    border-radius: 12px;
    padding: 10px;
    background-color: #fefbfb;
    transition: 0.2s;
}

.sidebar .btn-logout a:hover {
    background: #da8b8e;
    color: #fff;
}

.account-holder .main {
    flex: 1;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 20px;
}

.main-header .btn-calendar {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #1D1D1D;
    font-size: 20px;
    text-decoration: none;
    border-radius: 12px;
    padding: 20px 40px;
    background-color: #F6F6F6;
    transition: 0.2s;
}

.main-header .btn-calendar:hover {
    background: #da8b8e;
    color: #fff;
}

.main-header .account-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-header .btn-notifications,
.main-header .btn-settings {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 12px;
    padding: 20px;
    background-color: #F6F6F6;
    transition: 0.2s;
}

.main-header .btn-notifications span,
.main-header .btn-settings span {
    display: none;
}

.main-header .btn-notifications:hover,
.main-header .btn-settings:hover {
    background: #da8b8e;
}

.tours-holder-mobile {
    display: none;
}

.tours-holder,
.main-content  {
    padding: 32px 32px 12px;
    border-radius: 12px;
    background: #F6F6F6;
}

.main-content {
  margin: 0 0 20px;
}

.tours-holder h2,
.main-content h2 {
    margin: 0 0 20px;
    font-size: 38px;
}

.tours-holder > h3 {
  margin: 34px 0 0;
  color: var(--Black, #1D1D1D);
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

.main-content h3.subtitle {
  color: #AE040B;
  font-size: 26px;
  margin: 0 0 20px;
}

.main-content img {
    width: 100%;
    height: auto;
}

.main-content .wp-block-embed {
  margin: 0 0 20px; 
}

.main-content .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.main-content .wp-block-embed__wrapper iframe {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.main-content iframe {
    width: 100%;
    min-height: 400px;
}

.tour-items {
    margin: 0 0 12px;
}

.tour-items h3 {
    margin: 0 0 20px;
    font-size: 26px;
}

.tour-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    gap: 30px;
    margin: 0 0 20px;
}

.tour-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.tour-left img {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    object-fit: cover;
}

.tour-name {
    font-size: 16px;
}

.tour-center {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    gap: 60px;
}

.tour-info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.tour-info img {
    display: block;
}

.tour-info .text p {
    margin: 0 0 2px;
    font-size: 16px;
    opacity: 0.6;
}

.tour-info .text strong {
    display: block;
    font-size: 16px;
}

.tour-right {
    flex-shrink: 0;
}

.cancel-btn {
    background: #fff;
    border: 1px solid #AE040B;
    color: #1D1D1D;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.cancel-btn:hover {
    color: #fff;
    background: #da8b8e;
}

.tours-holder-mobile {
    display: none;
    padding: 32px 16px;
    font-size: 16px;
}

.tours-holder-header {
    width: 100%;
}

.tours-holder-header a {
    float: right;
    color: #A8A8A8;
    font-size: 14px;
    text-decoration: none;
}

.tours-holder-header a:hover {
    text-decoration: underline;
}

.tours-holder-mobile h2 {
    font-size: 18px;
    margin: 0 0 16px;
}

.tour-items-mobile {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.tour-card-mobile {
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #F6F6F6;
    border-radius: 10px;
    padding: 11px 16px;   
}

.tour-card-mobile li {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 5px 0;
}

.account-footer {
    display: none;
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85px;
    border-top: 1px solid #db9194;
    border-radius: 15px 15px 0 0;
    background-color: #fff;
    color: #AE040B;
    font-size: 12px;
}

.account-footer ul {
    padding: 20px 10px;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    gap: 5px;
}

.account-footer ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #AE040B;
    text-decoration: none;
}

.account-footer ul li img,
.account-footer ul li span {
    display: block;
}

.account-footer ul li.profile-link img {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    object-fit: cover;
}

.tours-header {
    display: grid;
    grid-template-columns: 1fr 408px;
    grid-template-rows: 1fr auto;
    margin: 0 0 40px;
}

.tours-header__title {
  grid-area: 1 / 1 / 2 / 2;
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.tours-header__title a {
  display: none;
}

.tours-header__title .svg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 21px;
  background: #F7F7F7;
}

.tours-header__title .svg-btn svg {
  width: 7px;
  height: 14px;
}

.tours-header h2 {
  margin: 0;
  color: var(--Black, #1D1D1D);
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

.tours-search {
  grid-area: 1 / 2 / 3 / 3;
  width: 100%;
}

.search-holder {
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 12px;
    padding: 3px 3px 3px 42px;
    display: flex;
    justify-content: space-between;
    background-image: url('../images/ico-search.svg');
    background-repeat: no-repeat;
    background-position: center left 15px;
}

.tours-search input {
    flex: 1;
    border: 0;
    outline: none;
    color: #8E8E8E;
    font-size: 18px;
    min-width: 0;
}

.tours-search button {
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    overflow: hidden;
    text-indent: -9999px;
    cursor: pointer;
    background-image: url('../images/ico-account-search.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px auto;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  padding: 20px;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.guide-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.guide-photo {
  width: 102px;
  height: 102px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.guide-header {
  display: flex;
  gap: 8px;
  flex-direction: column;
  justify-content: space-between;
}

.guide-header__text h3 {
  color: var(--Black, #1D1D1D);
  font-size: clamp(16px, 1.25vw, 24px);
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  margin: 0; 
}


.guide-header__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-header__text .subtitle {
  color: var(--Black, #1D1D1D);
  font-size: clamp(12px, 1.04vw, 20px);
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  margin: 0;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.rating .star {
  color: #f8b400;
}

.guide-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.bio {
  color: #444;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary {
  background: #b91616;
  color: #fff;
  border: none;
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #a01212;
}

.btn-outline {
  background: none;
  color: #b91616;
  border: 2px solid #b91616;
  padding: 10px 10px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #b91616;
  color: #fff;
}

.tour-sort {
  grid-area: 2 / 1 / 3 / 2;
  display: flex;
  gap: 12px;
  padding: 30px 0 0;
}

.tour-sort__label {
  margin: 0;
  color: #1D1D1D;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.tour-sort__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tour-sort__item {
  display: flex;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  gap: 2px;
  border-radius: 8px;
  background: var(--red, #C24248);
  color: #FFF;
  text-align: center;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.tour-locations {
  font-size: 18px;
  line-height: 1.4;
}

.tour-locations h5 {
  font-size: 18px;
  margin: 0 0 12px;
}

.tour-locations h6 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  padding: 12px 34px 12px 0;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.tour-locations h6::after {
  display: none;
  content: "";
  clear: both;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: url('../images/chevron-right.svg') no-repeat center;
  transform: rotate(-90deg);
  transition: transform 0.5s ease;
}

.tour-locations .tour-locations-item.active h6::after {
  transform: rotate(0deg);
}

.tour-locations h6 span {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 0 6px 0 0;
  padding: 6px 0;
  color: #fff;
  text-align: center;
  background-color: #db9194;
  border-radius: 50%;
}

.tour-locations-items {
  width: 100%;
}

.tour-locations-item {
  margin: 20px 0 10px;
  background-color: #fff;
  border-radius: 10px;
}

.tour-locations-content {
  display: block;
  margin: 6px 10px 10px 50px;
  padding: 0 0 30px;
  border-bottom: 1px solid #D9D9D9;
}

.tour-locations-holder.active {
  padding: 30px 30px 6px;
}

.tour-locations-holder.active .tour-locations-item:last-child .tour-locations-content {
  border-bottom: none;
}

.tour-locations-content p {
  margin: 0 0 10px;
  opacity: 0.6;
}

@media screen and (max-width: 1400px) {
  .tours-header {
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .tours-header__title {
    grid-area: 1 / 1 / 2 / 3;
  }
  .tours-search {
     grid-area: 2 / 1 / 3 / 3;
  }
  .tour-sort {
      padding: 0;
     grid-area: 3 / 1 / 4 / 3;
  }
}

@media (max-width: 1200px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .tours-holder {
    background-color: white;
    padding: 32px 20px 12px;
  }

  .tours-header {
    flex-direction: column;
    gap: 32px;
  }
  .tours-search {
    width: 100%;
  }
  .tours-header__title a {
    display: block;
  }
  .tours-header h2 {
    flex: 1;
    font-size: 22px;
    padding-right: 52px;
    text-align: center;
  }
  .guide-header {
    gap: unset;
    height: 100%;
    padding: 4px 0;
  }
  .guide-top {
    margin-bottom: 0;
  }
  .tour-sort {
    flex-direction: column;
  }
  
  .guide-header__text h3 {
    line-height: normal;
  }
  .tours-holder > h3 {
    margin-top: 32px;
    font-size: 18px;
    line-height: normal;
  }
  .guide-header__text .subtitle {
    line-height: normal;
  }
  .guides-grid {
    margin-top: 20px;
  }
  .guide-card {
    position: relative;
    background: rgba(174, 4, 11, 0.04);
    padding: 4px;
  }
  .guides-grid {
    grid-template-columns: 1fr;
  }

  .guide-top {
    gap: 12px;
    align-items: flex-start;
  }

  .guide-photo {
    width: 80px;
    height: 80px;
  }

  .guide-body .bio,
  .guide-body .buttons .btn-primary {
    display: none;
  }

  .guide-body .buttons .btn-outline {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
  }
}

.upcoming {
    width: 100%;
    padding: 20px 0;
}

.upcoming__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.upcoming__header h2 {
  font-size: 22px;
  margin: 0;
}

.upcoming__header a {
  color: #9b9b9b;
  text-decoration: none;
  font-size: 14px;
}

.upcoming-card:first-child {
  padding: 0;
}

.upcoming-card {
  background: #f7f7f7;
  border-radius: 20px;
  padding: 25px 0 0;
}

.guide-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.guide-avatar {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
}

.guide-info h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.star {
  color: #f4b400;
  font-size: 18px;
}

.tour-row {
  background: white;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 25px;
}

.tour-time {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.time-icon {
  width: 24px;
  height: 24px;
  background: #c72222;
  border-radius: 50%;
  color: white;
  display: grid;
  place-items: center;
}

.tour-location {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.location-info h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.address {
  display: flex;
  align-items: center;
  gap: 6px;
}

.manage-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 2px solid #c72222;
  background: white;
  color: #c72222;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: .2s;
}

.manage-btn:hover {
  background: #c72222;
  color: white;
}

.modal-person-backdrop {
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.modal-person {
  background: #fff;
  border-radius: 24px;
  display: flex;
  width: 100%;
  max-width: 1000px;
  min-height: 580px;
  overflow: hidden;
}

.modal-person__aside {
  width: 300px;
  padding: 30px 24px;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.modal-person-info .modal-person__aside {
  width: 370px;
  border: none;
}

.modal-person-avatar {
    display: none;
}

.modal-person__avatar {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.modal-person__avatar img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.modal-person__edit-photo {
    position: absolute;
    right: -16px;
    bottom: -14px;
    border: none;
    background: none;
    cursor: pointer;
}

.modal-person__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-person__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.modal-person__icon {
  width: 36px;
  height: 36px;
  background: #b30000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.modal-person__item--active .modal-person__link {
  background: #f3b1b1;
}

.modal-person__delete {
  border: none;
  background: none;
  color: #e26b6b;
  font-weight: 600;
  margin: 20px auto;
  cursor: pointer;
  align-self: flex-start;
}

.modal-person__content {
  flex: 1;
  padding: 40px;
  position: relative;
}

.modal-person-info .modal-person__content {
  padding: 30px;
}

.modal-person__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-person__title {
  margin-bottom: 30px;
}

.modal-person-info .modal-person__title {
  font-size: 38px;
  margin: 0 0 30px;
}

.modal-person__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 424px;
}

.modal-person__form .modal-person__delete {
    display: none;
}

.modal-person__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.modal-person__field input {
  width: 100%;
  padding: 22px 16px;
  border-radius: 12px; 
  border: 1.5px solid #ddd;
  font-size: 16px;
}

.modal-person__field input:focus {
  border-color: #b30000;
  outline: none;
}

.modal-person__save {
  margin-top: 20px;
  background: #b30000;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 18px 24px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-person__save span {
  background: #fff;
  color: #b30000;
  padding: 12px;
  border-radius: 12px;
}

.form-inputs .form-inputs-row div {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.title-4 {
  margin: 0;
  color: #C24248;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 22px;
}

.form-inputs .form-inputs-row .pay-upload {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  padding: 21px;
  margin: 0;
  background-color: #fcf5f5;
  border-radius: 12px;
  border: 1px solid #999;
  font-size: 14px;
  color: #292D32;
  transition: background 0.2s, border-color 0.2s;
}

.form-inputs .form-inputs-row .pay-upload.is-dragover {
    background: #ecc3c4;
    border-color: #AE040B;
}

.form-inputs .form-inputs-row .pay-upload div,
.form-inputs .form-inputs-row .pay-upload p {
  margin: 0;
}

.form-inputs .form-inputs-row .pay-upload-btn {
  cursor: pointer;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #C24248;
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 120px;
  color: #C24248;
  text-align: center;
  font-weight: 500;
}

.form-inputs .form-inputs-row .pay-upload.is-dragover .pay-upload-btn {
  background-color: #fcf5f5;
}

.form-step-5-1 .image-side {
  height: auto;
}

.form-wrapper .form-step.form-step-5-1 .image-side img {
  height: auto;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  -webkit-box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25); 
  box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.form-inputs .form-inputs-row .pay-upload .file-name {
  color: green;
}

@media (min-width: 1201px) {
    .form-wrapper .form-step.form-step-5-1 .create-wrapper {
      align-items: normal;
    }
}

@media (max-width: 900px) {
  .modal-person {
    flex-direction: column;
  }

  .modal-person__aside {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #eee;
  }

  .modal-person__menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .modal-person__item {
    flex: 1 1 45%;
  }
}

@media screen and (max-width: 1024px) {
    .title-4 {
      font-size: 18px;
    }
    .tours-holder-alt {
      flex-direction: column;
    }
    .tours-holder-alt p {
      text-align: center;
    }
    .account-holder {
        padding: 0;
        gap: 0;
        flex-direction: column;
        height: 100vh;
    }

    .account-holder .sidebar {
        width: 100%;
    }

    .sidebar .user-holder {
        margin: 0;
    }

    .sidebar .user-info {
        padding: 16px;
        border-radius: unset;
        margin: 0;
    }

    .sidebar .user-holder img {
        width: 130px;
        height: 130px;
    }

    .sidebar .user-info h4 {
        font-size: 18px;
    }

    .sidebar .user-info p {
        font-size: 12px;
    }

    .sidebar .user-info .user-logo {
        display: none;
    }

    .sidebar .user-info .user-frame .user-logo {
        display: block;
    }

    .sidebar .menu,
    .modal-person .menu {
        border-radius: unset;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        padding: 0 16px 16px;
        margin: 0;
        font-size: 12px;
        font-weight: bold;
    }

    .sidebar .menu ul,
    .modal-person .menu ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .sidebar .menu li:first-child {
        display: none;
    }

    .sidebar .menu li a,
    .modal-person .menu li a {
        background: #fff;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 12px;
        min-height: 73px;
        transition: all 0.25s ease;
    }

    .sidebar .menu li a {
      height: 100%;
    }

    .sidebar .menu li a img,
    .modal-person .menu li a img {
        width: 34px;
        height: 34px;
    }

    .main-header {
        display: none;
    }

    /*.sidebar .menu li.logout-btn {
      display: block;
    }*/

    .account-footer {
        display: block;
    }

    .modal-person-backdrop {
    padding: 0;
  }

  .modal-person {
    flex-direction: column;
    width: 100%;
    border-radius: 0;
  }

  .modal-person__aside {
    display: none; 
  } 

  .modal-person__content {
    flex: 1;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .modal-person-back {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f2f2f2;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }

  .modal-person__content h2 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 24px;
    font-size: 22px;
  }

  .modal-person__avatar {
    display: none;
  }

  .modal-person-avatar {
    display: block;
    margin: 0 auto 30px auto;
    width: 100px;
    position: relative;
  }

  .modal-person-info .modal-person__title {
    font-size: 22px;
    margin-top: 10px;
  }

  .modal-person-avatar .img-modal-person-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 26px;
    border: 2px solid #b30000;
  }

  .modal-person__edit-photo {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: none;
  }

  .modal-person__form {
    width: 100%;
    max-width: none;
  }

  .modal-person__field input {
    width: 100%;
    border-radius: 18px;
    padding: 16px;
    font-size: 16px;
  }

  .modal-person__delete {
    text-align: center;
    color: #d87a7a;
    margin-top: 16px;
  }

 .modal-person__form .modal-person__delete {
    display: block;
 }

  .modal-person-save span {
    width: 46px;
    height: 46px;
  }

  .modal-person__close {
    display: none;
  }
    
}


/* Dialog start */
dialog.filter-dialog {
  margin: auto 0 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: none;
  width: 100%;
  max-width: 100%;
  max-height: 812px;
  background: transparent;
}

dialog.filter-dialog::backdrop {
  background: rgba(0, 0, 0, 0.57);
}

.filter-panel {
  position: relative;
  /* height: 100%; */
  background: #fff;
  border-radius: 10px 10px 0 0;
  display: flex;
  gap: 16px;
  flex-direction: column;
}

/* HEADER */

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px;
}

.filter-header__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-header__close svg {
  width: 16px;
  height: 16px;
}

.filter-header__close {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  margin-right: 12px;
}

.filter-header__title {
  color: var(--Black, #1D1D1D);
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.filter-header__clear {
  color: var(--Black, #1D1D1D);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
}

/* CONTENT */

.filter-body {
  padding: 0 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.filter-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-card {
  padding: 24px 16px;
  border-radius: 12px;
  background: rgba(174, 4, 11, 0.04);
}

.filter-card__title {
  color: #1D1D1D;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 16px;
}

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.option-row label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  color: #000;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* кастомні радіо */

.radio {
  accent-color: #AE040B;
  width: 24px;
  height: 24px;
  margin: 0;
}

/* кастомні чекбокси */

.checkbox {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 2px solid #AE040B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.checkbox:checked {
  background: #AE040B;
}

.checkbox:checked::after {
  content: "";
  margin-top: -2px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg) translateY(-1px);
}

@media screen and (min-width: 768px) {
  dialog.filter-dialog {
    margin: auto;
    max-width: 600px;
  }
  .filter-panel {
    position: relative;
    border-radius: 10px;
  }
}

/* Language row */

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #f0f0f0;
}

.filter-row__label {
  font-size: 13px;
  font-weight: 600;
}

.filter-row__value {
  font-size: 13px;
  color: #999;
}


.filter-lang {
  margin-bottom: 16px;
  position: relative;
}

/* рядок як у макеті */
.lang-row {
  width: 100%;
  border: 1px solid #f0e8e8;
  border-radius: 18px;
  padding: 18px 22px;
  background: #fcf6f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.lang-row__label {
  font-size: 17px;
  font-weight: 600;
  color: #000;
}

.lang-row__value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #999;
}

.lang-row__icon {
  width: 17px;
  height: 17px;
  color: #999;
}

/* випадаючий список */
.lang-dropdown {
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid #f0e8e8;
  background: #fff;
  overflow: hidden;
}

.lang-option {
  width: 100%;
  text-align: left;
  padding: 10px 18px;
  border: none;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}

.lang-option + .lang-option {
  border-top: 1px solid #f4f4f4;
}

.lang-option:hover {
  background: #fcf6f6;
}

/* Dialog end */

/* about guide start */
.about-guide {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  width: 100%;
  padding: 0;
  border: none;
  background-color: white;
  border-radius: 12px;
}
.about-guide::backdrop {
  background: rgba(29, 29, 29, 0.62);
}

.about-guide-panel {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    display: flex;
    gap: 39px;
    flex-direction: column;
}

.guide-header__close {
  color: #1D1D1D;
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
  cursor: pointer;
}

.guide-header__close .mobile {
  display: none;
}

.about-guide-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-guide-info {
  position: relative;
  display: flex;
  gap: 25px;
}

.about-guide-info__img {
  position: relative;
  width:100%;
  border-radius: 8px;
}

.about-guide-photo {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

/*.college-logo {
  height: 42px;
  margin-top: 8px;
  width: fit-content;
}*/

.college-logo {
    margin-top: 8px;
    width: auto;
    max-width: 100%;
    display: inline-block;
}

.college-logo img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.about-guide-info__content {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.41);
  backdrop-filter: blur(13.25px);

  padding: 16px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.about-guide-header__text {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.about-guide-header__text h3 {
  color: white;
  font-size: clamp(20px, 1.46vw, 28px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0;
}

.about-guide-header__text .subtitle {
  color: var(--White, #FFF);
  opacity: 0.6;
  font-size: clamp(14px, 1.04vw, 20px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0;
}

.about-guide-text {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.about-guide-text__title {
  color: var(--Black, #1D1D1D);
  font-size: clamp(18px, 1.35vw, 26px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0 0 12px;
}

.about-guide-text__text {
  color: var(--Black, #1D1D1D);
  font-size: clamp(16px, 1.04vw, 20px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0 0 8px;
}

.about-guide-text__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.about-guide-text__tags span {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--Light-red, rgba(174, 4, 11, 0.44));
  color: var(--White, #FFF);
  text-align: center;
  font-size: clamp(12px, 0.94vw, 18px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.about-guide-btn {
  display: none;
}

.page-template-search-guide .about-guide-btn {
  display: block;
}

@media screen and (min-width: 768px) {

  .about-guide-panel {
    padding: 40px;
  }
  .about-guide-info__img {
    width: 160px;
    min-width: 160px;
  }
  .about-guide-info__content {
    background: none;
    backdrop-filter: unset;
    border-radius: 0;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .about-guide {
    margin: auto;
    max-width: 665px;
    height: max-content;
  }

  .about-guide-header__text h3 {
    color: var(--Black, #1D1D1D);
    font-weight: 700;
    line-height: 120%;
  }

  .about-guide-header__text .subtitle {
    color: var(--Black, #1D1D1D);
    line-height: 120%;
  }

  .about-guide-text__title {
    font-weight: 700;
    line-height: 120%;
  }

  .about-guide-text__text {
    font-weight: 500;
    line-height: 120%;
  }
}

@media screen and (max-width: 767px) {
    .filter-panel {
      height: 100%;
    }
  .about-guide {
    top: auto;
    height: 100%;
    border-radius: 0;
  }
  .college-logo {
    padding: 10px 20px;
    border-radius: 10px;
    background-color: white;
    margin-top: 15px;
  }
  .about-guide-text {
    padding: 4px 16px 36px;
  }
  .about-guide-info__content .rating {
    color: white;
    width: 50%;
    justify-content: end;
  }
  .about-guide-info__content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }
  .guide-header__close {
    top: 20px;
    left: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: white;
    display: inline-flex;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .guide-header__close .desktop {
    display: none;
  }
  .guide-header__close .mobile {
    display: block;
  }
  .about-guide-info__img {
    padding-top: 83%;
  }
  .about-guide-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .about-guide-btn {
    padding: 0 16px;
  }
}
/* about guide end */