/* ------------------------ Hotel Page ------------------------ */
.pbx-shli-htl {
    height: 100%;
    justify-content: end;
}
.htl-tltl{
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom : 0;
}
.htl-add-sec {
    margin-top: .5rem;
}
.htl-tltl-en{
    font-family: sans-serif;
    font-weight: 500;
    margin-bottom : 0;
    font-size: 1.5rem;
}
.htl-add-lc h6 {
    margin-bottom : 0;
    font-size: .9rem;
    padding-top: .25rem;
    text-align: left;
    font-weight: 300;
}
.htl-sec-hdr
,.htl-ces-pics
,.htl-sec-dis
,.htl-sec-commenst
,.htl-sec-hdr-add
{
    display: flex;
    gap: 30px;
}
.htl-sec-hdr {
    flex-direction: row;
}
.htl-sec-hdr .section-128070 {
    flex: 1;
    margin-left: -9px;
}

/* --------------- Hotel Gallery --------------- */
.hotels-pic-show{
    padding-bottom: 20px;
}
.booking-gallery-style {
    display: grid;
    grid-template-areas:
        "left-big right-mini"
        "bottom bottom";
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    max-width: 1000px;
    margin: auto;
}
.left-big {
    grid-area: left-big;
    height: 350px;
}

.left-big img,
.bottom-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.right-mini img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.right-mini {
    grid-area: right-mini;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}
.right-mini .gallery-item{
    height: 170px;
}
.bottom-gallery {
    grid-area: bottom;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}
.img-thumb {
    position: relative;
    display: block;
}
.photo-count {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.bottom-gallery .gallery-item{
    height: 100px;
}
/* --------------- Modal Gallery --------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 110;
    left: 0; top: 0;
    width: 100%; 
    height: 100%;
    background: #4b4b4b99;
    overflow-y: auto;
}
.modal-content-htl {
    max-width: 95%;
    width: 100%;
    height: 90vh; /* ارتفاع ثابت برای مودال */
    margin: 35px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.modal-gallery-gl {
    flex: 1;
    overflow-y: auto;
    border-radius: 0px 0px 15px 15px;
    padding: 25px 10px 50px 10px;
    background: #fff;
}
.modal-gallery-wrapper {
    column-count: 2; /* تعداد ستون‌ها در دسکتاپ */
    column-gap: 15px;
    background: #fff;
  }
  
.modal-gallery-image {
    transition: 0.3s;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 8px;
    display: block;
    break-inside: avoid; /* مانع از شکسته شدن تصویر در وسط ستون */  
}
@media (min-width: 768px) {
    .modal-gallery-wrapper {
      column-count: 3;
    }
  }
  
  @media (min-width: 1200px) {
    .modal-gallery-wrapper {
        column-count: 6;
    }
}
.modal-gallery-image:hover {
    transform: scale(1.05);
}
.modal-close {
    position: absolute;
    top: 30px;
    right: 60px;
    font-size: 40px;
    color: #1a1a1a;
    cursor: pointer;
}
.gallery-item {
    cursor: pointer;
    height: 100%;
}
.modal-gallery-header {
    width: 100%;
    background: #fff;
    height: 50px;
    border-radius: 15px 15px 0px 0px;
    border-bottom: solid 1px #444444;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}



/* --------------- Hotel map --------------- */

#hotel-map-preview {
    position: relative;
    width: 100%;
    height: 230px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 1px rgba(200, 200, 200, 0.4);
    margin-bottom: 12px;
    z-index: 90;
}
#hotel-map-preview #open-map-modal {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    padding: 6px 14px;
    font-size: 14px;
    background-color: #387ADF;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: IranSansReg;
}
#map-modal {
    position: fixed !important;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 180; /* خیلی بالا تا از هر چیزی بالاتر باشه */
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}
#map-modal.active {
    display: flex;
    opacity: 1;
    align-content: center;
    justify-items: center;
    z-index: 180;
}
#map-modal .modal-content {
    position: relative;
    width: 90%;
    height: 85%;
    background: #fff;
    position: relative;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
}

#close-map-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    z-index: 500;
    color: #333;
    padding: 5px 15px 2px;
    border-radius: 10px;
}
#hotel-map-full {
    width: 100%;
    height: 100%;
}
.mphtlpc {
    width: 40%;
}
.leaflet-popup.leaflet-zoom-animated {
    width: 320px;
}
.leaflet-popup-content {
    height: 100%;
    width: 100%;
    margin: 0 !important;
}
.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 0;
    display: grid;
    gap: 5px;
}
.leaflet-touch .leaflet-bar a {
    width: 35px;
    height: 35px;
    line-height: 40px;
    align-content: center;
    background: #ffffff;
    border: none;
    cursor: pointer;
    color: #333;
}
.mphtldts {
    display: grid;
    justify-items: flex-start;
}
.leaflet-popup-content-wrapper {
    padding: 10px !important;
    display: flex;
    justify-content: center;
}
.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive svg {
    border-radius: 15px;
}
.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* --------------- Hotel Weather --------------- */
.hotel-weather-widget.simple {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 10px 1px rgba(200, 200, 200, 0.4);
}
.hotel-weather-widget.simple .weather-icon img {
    width: 80px;
    height: 80px;
}
.hotel-weather-widget {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 0px 10px 1px rgba(200, 200, 200, 0.4);
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}
.weather-current {
    width: 25%;
}
.weather-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.weather-current .df{
    margin-top: 10px;
}
.weather-info {
    margin-right: 20px;
    width: 100%;
}
.weather-city {
    align-content: center;
}
.weather-city {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.weather-temp {
    font-size: 28px;
    color: #50C4ED;
    margin-bottom: 5px;
}
.weather-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}
.weather-details {
    font-size: 14px;
    color: #777;
}
.weather-forecast h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}
.forecast-days {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.forecast-item {
    width: 150px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    flex: 1;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.forecast-item img {
    width: 40px;
    height: 40px;
    margin: 5px auto;
}
.forecast-day {
    font-weight: bold;
    color: #444;
    margin-bottom: 5px;
}
.forecast-temp {
    font-size: 16px;
    color: #387ADF;
}
.forecast-desc {
    font-size: 13px;
    color: #666;
}
/* --------------- Hotel details --------------- */
.hotel-details-sec{
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px;
    border-radius: 10px;
}
.hotes-facilities-sec.borderbws {
    display: grid;
    gap: 20px;
}
.hotes-facilities-sec{
    width: 100%;
}
.htl-spcn-svg {
    color: #50C4ED;
}
.htl-spcn-svg-str {
    color: #FFD700;
    transition: 0.3s ease !important;
}
.htl-spcn-str {
    color: #FFD700;
    transition: 0.3s ease !important;
}
.htl-spcn-str:hover {
    color: #50C4ED;
    transition: 0.3s ease !important;
}
.htl-spcn {
    align-items: center;
}
.htl-dtls-bxsex {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    row-gap: 20px;
}
.thl-dtls-box{
    width: 100%;
    height: fit-content;
    padding: 5px 10px;
}
.thl-dtls-box-ttl{
    margin-bottom: 10px;
}
.thl-chbx-optr {
    display: flex;
    gap: 5px;
    padding: 5px;
    align-items: center;
}
.thl-chbx-optr span{
    font-size: 16px;
    font-weight: 300;
}
.thl-chbx-optr svg{
    width: 30px;
    font-size: 16px;
    font-weight: 300;
}
/* --------------- Hotel details Sidebar --------------- */
.progress-bar-spn ,.pntof-progress ,.rls-tm-sc span ,.rls-tm-sc-2 span{
    font-size: 16px !important;
    font-weight: 300;
    margin-top: 10px;
}
.progress-bar {
    height: .6rem !important;
    background:#50C4ED;
}
.progress{
    height: .6rem !important;
    width: 90%;
}
.pntrgrs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    margin-top: -5px;
}
span.pntof-progress{
    margin-top: 0;
}
.htl-dts-pntprgrs{
    margin-bottom: 15px;
}
.rls-tm-sc{
    margin-top: -8px;
}
.rls-tm-scspn{
    letter-spacing: 1px;
}
.nearby-locations {
    padding: 0px 15px 20px 10px;
    font-weight: 300;
    text-align: justify;
}

/* --------------- post content ----------------- */
.phmc p, .phmc span, .phmc li{
    font-weight: 300;
    line-height: 1.6;
}
.phmc p{
    text-align: justify;
}
.phmc h1 {
    font-size: 20px;
    font-weight: 500;
}
.phmc h2 ,.phmc h2 span{ 
    padding: 10px 0 0 0;
    font-size: 1.25rem;
    font-weight: 500;
}
.phmc h3, .phmc h4, .phmc h5, .phmc h6{
    font-weight: 500;
    font-size: 1.25rem;
}
.phmc p a {
    font-size: .9rem;
    color: #50C4ED;
    transition: 0.3s ease !important;
}
.phmc p a:hover {
    color: #387ADF;
    transition: 0.3s ease !important;
}



@media (max-width: 480px) {
.htl-sec-hdr-add {
    padding: 5px;
}
.htl-sec-hdr-add .section-128030 {
    display: none;
}
.htl-add-lc {
    width: 100%;
    align-items: flex-start;
}
.htl-add-lc-h6 {
    padding-top: 0rem !important;
}
/* --------------- post content ----------------- */
.phmc p, .phmc span, .phmc li{
    font-weight: 300;
    line-height: 1.6;
}
.phmc p{
    text-align: justify;
}
.phmc h2 ,.phmc h2 span{ 
    padding: 10px 0 0 0 ;
}
.phmc h2, .phmc h2 span , .phmc h3, .phmc h4, .phmc h5, .phmc h6{
    font-size: 1.125rem;
    font-weight: 500;
}
.phmc p a {
    font-size: 15px;
    color: #50C4ED;
    transition: 0.3s ease !important;
}
.phmc p a:hover {
    color: #387ADF;
    transition: 0.3s ease !important;
}




#hotel-map-preview {
    height: 180px;
}
}