@charset "UTF-8";
/*
Theme Name: BlogPost 4 Дочерняя
Theme URI: https://goodwinpress.ru/wp-tema-blogpost-4
Author: GoodwinPress
Author URI: https://goodwinpress.ru/
Description: Используем дочернюю тему лишь в тех случаях, когда собрались менять стили, разметку или функции темы. Просто так ее ставить не требуется.
Text Domain: blogpost-4
Domain Path: /languages
Template: blogpost-4
*/


/* Размещайте ваши стили под этой строкой. */
.hotel-gallery img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.amenities-container {
    margin: 0 !important;
	position: relative;
	overflow: hidden;
	max-height: 200px;
	transition: max-height 0.4s ease;
}

.amenities-wrapper {
    display: flex;
    gap: 2.5rem;
    margin: 0 0 1.5rem 0;
}

.txt_gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: linear-gradient(
		to top,
		var(--mainBg),
		color-mix(in srgb, var(--mainBg) 95%, transparent) 10%,
        color-mix(in srgb, var(--mainBg) 85%, transparent) 25%,
        color-mix(in srgb, var(--mainBg) 65%, transparent) 40%,
        color-mix(in srgb, var(--mainBg) 35%, transparent) 60%,
        color-mix(in srgb, var(--mainBg) 15%, transparent) 80%,
        transparent 100%
	);
	pointer-events: none; 
	transition: opacity 0.3s ease;
}

.txt_btn {
    margin: 0 !important;
    width: 100%;
    color: var(--linkColor);
}
.txt_btn:hover {
    margin: 0 !important;
    width: 100%;
    color: var(--hoverColor);
}

.amenities-container.expanded .txt_gradient {
	opacity: 0;
}

.amenities-column {
    flex: 1;
    min-width: 0; /* важно для корректного переноса */
}

.amenities-group-title {
    font-weight: bold;
    margin: 1.4rem 0 0.6rem;
    font-size: 1.1rem;
}

.amenities-item {
    margin-bottom: 0.4rem;
    padding-left: 0.8rem;
    position: relative;
}

/* Опционально: маркер списка */
.amenities-item::before {
    content: "−";
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .amenities-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
}

#map {
    height: 200px;
    background: #f7f7f7;
    margin-top: 1.4rem;
}

.ymap-marker-wrapper {
  position: relative;
  width: 0;
  height: 0;
}

.ymap-custom-marker {
  position: absolute;
  left: 50%;
  bottom: 27px;
  transform: translateX(-50%) translateY(100%);
  min-width: 27px;
}

.ymap-custom-marker svg {
  width: 27px;
  height: 27px;
  display: block;
  color: var(--btnBg);
}

.ymap-custom-balloon {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  margin-bottom: 6px;
  padding: 6px 10px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  font-size: 13px;
  line-height: 1.4;
  width: 220px;
}

.features_bl span {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: .5rem .8rem;
    font-size: var(--small);
    line-height: 1;
    font-weight: var(--thin);
    border: 1px solid var(--borderColor);
    text-decoration: none;
    border-radius: calc(var(--bradius) / 2);
}

.features_bl span:hover {
    border-color: var(--hoverColor);
    text-decoration: none;
}

.features_bl span:not(:last-child) {
    margin-right: 1rem;
}

.hotel_a_img img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 2.5;
}

.coupon_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--borderColor);
    border-radius: var(--bradius);
    gap: 1rem;
    /* margin-bottom: 1rem !important; */
    margin: 0 0 1rem !important;
}

.coupon_img {
    max-width: 16% !important;
}

.coupon_img img {
    aspect-ratio: 4 / 3;
}

.coupon_cont {
    width: 84%;
    max-width: 84%;
}

.coupon_cont .c_title {
    font-weight: 600;
    font-size: 1rem;
}

.coupon_cont .affcoups-coupon__description {
    font-size: 0.8rem !important;
    margin-block-start: 0 !important;
    margin: 0 !important;
}

.coupon_cont>span {
    display: block;
    margin-bottom: 10px;
}

.coupon_f {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 !important;
}

.coupon_but {
    
}

.coupon_but a {
    min-width: 170px;
}




.home .single-page__wrap {
    max-width: 100% !important;
}




.offer {
    margin-block-start: 0.4rem !important;
    padding: 1rem;
    border: 1px solid var(--borderColor);
    border-radius: var(--bradius);
    display: flex;
	gap: 1rem;
}

.offer_image {
    max-width: 200px;
}

.offer_image img {
    object-fit: cover;
    aspect-ratio: 4 / 2.5;
}

.offer_title {
    font-weight: 600;
}

.offer_info p {
    font-size: 0.9rem;
    margin-block-start: 0.4rem !important;
}


.similar-hotels {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.similar-hotel-item {
    padding: 1rem;
    border: 1px solid var(--borderColor);
    border-radius: var(--bradius);
    display: flex;
    gap: 1rem;
    flex-direction: column;
    flex: 1;
}

.similar-hotel-item a {
    width: 100%;
    text-align: center;
}

.popular-item__img img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 2.3;
}

.hotel-gallery li {
    margin-bottom: 0px !important;
    padding-left: 0px !important;
}

.hotel-gallery li::before {
	display: none !important;
}

a.country__title {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.4rem;
    margin-bottom: 1.4rem;
}

a.country__title img {
    max-height: 30px;
    border-radius: 6px;
    border: 1px solid var(--borderColor);
}

a.country__title span {
    margin: 0 !important;
}



.countries-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hidden-item {
    display: none;
}

.show-more-btn {
    padding: 10px 25px;
    font-size: 0.8rem;
    display: block;
    margin: 1.4rem auto 0;
}

.country-item {
    /* margin-bottom: 1.4rem; */
    width: calc(25% - 10px);
    height: 100%;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--borderColor);
    border-radius: 10px;
}

.country-flag {
    width: 42px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-name {
    width: calc(100% - 50px);
}

.country-name a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.country-flag img {
    max-width: 42px;
    border: 1px solid var(--borderColor);
    width: 100%;
    height: auto;
    max-height: 32px;
    object-fit: contain;
}

.affcoups a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-text {
    max-height: 35px;
	border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
	display: flex;
    align-items: center;
    justify-content: center;
}

.affcoups a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-code {
    line-height: 35px;
	border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
	/* border-top-right-radius: 10px; */
	/* border-bottom-right-radius: 10px; */
}
.affcoups a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-text:after {
    border-top: 35px solid transparent !important;
}

.affcoups-modal .affcoups-coupon__image {
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.affcoups-modal .affcoups-coupon__description p, .affcoups-modal .affcoups-coupon__description br {
    display: none;
}

.affcoups-modal .affcoups-clipboard {
    margin: 10px 0;
}

.affcoups-modal .affcoups-clipboard__text {
    line-height: 35px;
}

/* mob */
/* mob */
/* mob */
@media (max-width: 576px) {
.coupon_item {
    flex-direction: column;
}

.coupon_img {
    width: 50%;
    max-width: 100% !important;
}

.coupon_img img {
    aspect-ratio: 21 / 5;
    object-fit: cover;
}

.coupon_cont {
    width: 100%;
    max-width: 100%;
}

.coupon_f {
    flex-direction: column;
}

.coupon_but {
    width: 100%;
}

.coupon_but a {
    width: 100%;
    min-width: 100%;
}

.similar-hotels {
    flex-direction: column;
}

.countries-list {
    flex-direction: column;
}

.country-item {
    width: 100%;
}

.affcoups-modal .affcoups-coupon__image {
    aspect-ratio: 21 / 5;
    width: 50%;
}

.offer {
    flex-direction: column;
}

.offer_image {
    max-width: 100%;
    width: 100%;
}

}

.mfp-bg {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mfp-wrap {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.affcoups .affcoups-modal-coupon .affcoups-coupon__description {
    color: #000;
}

.affcoups .affcoups-modal-coupon img.affcoups-coupon__image {
    filter: none;
}