.pmst-gallery-layout {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 15px;
    margin-bottom: 20px;
}

.pmst-featured-block {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3/2.3;
    background: #111;
}

.pmst-featured-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.pmst-grid-thumbs a {
    display: block;
    aspect-ratio: 2 / 2;
    border-radius: 6px;
    overflow: hidden;
    background: var(--theme-palette-color-8);
    position: relative;
}
.pmst-grid-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pmst-grid-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pmst-grid-thumbs img:hover {
    transform: scale(1.03);
}
/*.pmst-chat-trigger {*/
/*    flex: 1 1 calc(33.33% - 10px);*/
/*    background: #f8f9fc;*/
/*    padding: 15px 20px;*/
/*    border-radius: 8px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 16px;*/
/*    font-weight: bold;*/
/*    color: #fff;*/
/*    background-color: #FE5252;*/
/*    cursor: pointer;*/
/*    transition: background 0.2s ease;*/
/*}*/

.pmst-chat-trigger {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 9999;
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  cursor: pointer;
  border-radius: 0;
  padding: 0;
}

.pmst-chat-trigger:hover {
  background: none;
  color: inherit;
}

.pmst-chat-trigger img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  /*border-radius: 50%;*/
}


.pmst-login-popup-overlay,
#pmst-chat-popup {
  z-index: 10000; /* ensure they appear above everything */
}

.pmst-see-all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    border-radius: 6px;
    color: #333;
    aspect-ratio: 4 / 3;
    transition: background 0.2s ease;
}
.pmst-see-all:hover {
    background: #ddd;
}
@media (max-width: 768px) {
    .pmst-gallery-layout {
        grid-template-columns: 1fr;
    }
    .pmst-grid-thumbs img {
        height: 100%;
    }
    .pmst-featured-block {
        aspect-ratio: 4 / 3;
    }
    .pmst-price {
    font-size: 24px;
    font-weight: bold;
    color: #FE5252;
    text-align: center;
}

.pmst-stats {
    justify-content: center;
    text-align: center;
  width: 100%;
  }
  .pmst-cat-label {
    justify-content: center;
    text-align: center;
  width: 100%;
  }

  .pmst-stats div {
    flex: 1;
    min-width: 80px;
  }

.pmst-address {
    font-size: 15px;
    margin-top: 5px;
    text-transform: uppercase;
    color: #1e1e1e;
    text-align: center;
}

}
.pmst-amenity-list {
        list-style-type: disc;
        margin-left: 20px;
        padding-left: 10px;
    }
    .pmst-amenity-list li {
        display: block !important;
        margin-bottom: 6px;
        /*color: #fff;*/
    }
.pmst-house-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    font-family: sans-serif;
    margin-bottom: 20px;
    color: #fff; /* Text color for dark theme */
}

.pmst-price-address {
    flex: 1 1 auto;
}

.pmst-price {
    font-size: 24px;
    font-weight: bold;
    color: #FE5252;
}

.pmst-address {
    font-size: 15px;
    margin-top: 5px;
    text-transform: uppercase;
    color: #1e1e1e;
}

.pmst-stats {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 14px;
}

.pmst-stats div {
    text-align: center;
}

.pmst-stats strong {
    display: block;
    font-size: 20px;
    color: #1e1e1e;
}

.pmst-stats span {
    color: #1e1e1e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    border-bottom: 1px dotted #666;
    padding-bottom: 2px;
}


.pmst-cat-label {
    display: inline-block;
    background-color: #444; /* softer than red */
    color: #FFDEDE; /* soft PMST pink tint */
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
}

/* Center alignment */
.pmst-cat-label {
    margin-left: auto;
    margin-right: auto;
}

.pmst-post-container {
    /*background: #1e1e1e;*/
    color: #1e1e1e;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
    border-radius: 10px;
}
.pmst-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 50px;
    
}
.pmst-meta {
    color: #aaa;
    margin-bottom: 20px;
}
.pmst-content {
    line-height: 1.8;
    margin-bottom: 30px;
}
.pmst-content-banner {
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow:
        -1px -1px 0 #f2f5f7,  
         1px -1px 0 #f2f5f7,
        -1px  1px 0 #f2f5f7,
         1px  1px 0 #f2f5f7;
}
.pmst-tags {
    margin-bottom: 30px;
}
.pmst-tag {
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    margin-right: 10px;
    display: inline-block;
    font-size: 13px;
    text-decoration: none;
}
.pmst-tag:hover {
    background: #FE5252;
    color: #fff;
}
.pmst-related-posts h3 {
    margin-bottom: 15px;
}
.pmst-related-posts ul {
    padding-left: 20px;
}
.pmst-related-posts li {
    margin-bottom: 8px;
}
.pmst-related-posts a {
    color: #FE5252;
    text-decoration: none;
}
.pmst-related-posts a:hover {
    text-decoration: underline;
}
.pmst-featured-wrapper {
    position: relative;
    width: 100%;
    height: 690px;
    overflow: hidden;
    margin-bottom: 40px;
}
.pmst-featured-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
}
.pmst-featured-center {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.pmst-featured-center img {
    max-height: 95%;
    max-width: 95%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
    .pmst-post-container {
        padding: 30px 20px;
    }
    .pmst-featured-wrapper {
        height: auto !important;
        padding: 20px 0;
        background: #111;
    }
    .pmst-featured-blur {
        display: none !important;
    }
    .pmst-featured-center {
        padding: 0 15px;
    }
    .pmst-featured-center img {
        max-width: 100%;
        max-height: 400px;
        height: auto;
        width: auto;
    }
}
.pmst-gallery-row {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    margin: 30px 0;
}
.pmst-gallery-row img {
    height: 120px;
    width: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pmst-gallery-row img:hover {
    transform: scale(1.05);
}
.pmst-logo-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 8px;
    border-radius: 8px;
}

.pmst-logo-overlay img {
    height: 35px;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.95;
}
.pmst-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin: 30px 0;
    max-width: 100%;
}

.pmst-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
    cursor: pointer;
}

.pmst-gallery-grid img:hover {
    transform: scale(1.03);
}
.pmst-video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.pmst-video-responsive iframe,
.pmst-video-responsive embed,
.pmst-video-responsive object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Social Embed Wrapper */
.pmst-social-embed-container {
    margin: 40px 0;
    text-align: center;
}

.pmst-social-embed-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio Fallback */
}

.pmst-social-embed-wrapper iframe,
.pmst-social-embed-wrapper blockquote,
.pmst-social-embed-wrapper embed,
.pmst-social-embed-wrapper object {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    margin: 0;
    padding: 0;
}
.pmst-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
}

.pmst-info-item {
    flex: 1 1 calc(33.33% - 10px);
    background: var(--theme-palette-color-8);
    /*color: #ffffff;*/
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 16px;
    box-shadow: 0 0 4px rgba(0,0,0,0.04);
}

/*.pmst-info-item strong {*/
/*    margin-left: 8px;*/
/*    font-weight: 500;*/
/*}*/
/*.pmst-info-item * {*/
/*  color: #ffffff !important;*/
/*}*/

/*.pmst-info-item a {*/
/*  color: #FE5252 !important;*/
/*}*/

@media screen and (max-width: 768px) {
    .pmst-info-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .pmst-social-embed-wrapper {
        padding-top: 75%; /* Taller on mobile if needed */
    }
}
.pmst-profile-cover-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1d1d1d;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.pmst-profile-cover-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.pmst-profile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #1e1e1e;
}

.pmst-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #2c2c2c;
    margin-top: -40px;
    background: #444;
    flex-shrink: 0;
}

.pmst-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pmst-profile-details {
    flex: 1;
    margin-left: 20px;
}

/*.pmst-profile-name {*/
/*    font-size: 20px;*/
/*    font-weight: 700;*/
/*    color: #fff;*/
/*}*/
.pmst-profile-tagline {
    font-size: 16px;
    margin-bottom:1px;
    color: #aaa;
    font-style: italic;
}

.pmst-profile-username {
    font-size: 32px;
    color: #322B2B;
    font-weight: 700;
    margin-top: 5px;
    text-shadow:
        -1px -1px 0 #f2f5f7,  
         1px -1px 0 #f2f5f7,
        -1px  1px 0 #f2f5f7,
         1px  1px 0 #f2f5f7;
}

.pmst-profile-follow {
    margin-left: auto;
}

.pmst-follow-btn {
    background-color: #FE5252;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pmst-follow-btn:hover {
    background-color: #e14646;
}

@media screen and (max-width: 768px) {
    .pmst-profile-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .pmst-profile-details {
        margin-left: 0;
        margin-top: 10px;
    }
    .pmst-profile-follow {
        margin-top: 10px;
    }
}
.pmst-profile-header {
    
    max-width: 1200px;
    border-radius: 12px;
    overflow: hidden;
    /*box-shadow: 0 0 12px rgba(0,0,0,0.2);*/
    background: #1e1e1e;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    margin: auto;
}
/*.pmst-post-container {*/
/*    background: #1e1e1e;*/
/*    color: #fff;*/
/*    padding: 40px;*/
/*    max-width: 1200px;*/
/*    margin: auto;*/
/*    border-radius: 10px;*/
/*}*/

.pmst-cover-photo {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.pmst-profile-content {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-top: -60px;
    position: relative;
}

.pmst-profile-pic img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #eee;
}
.pmst-profile-name {
    margin-left: 20px;
    flex-grow: 1;
}
/* Leaflet Zoom Button Visibility Fix for Dark Theme */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  background-color: #2e2e2e !important;
  color: #ffffff !important;
  border: 1px solid #444 !important;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
  background-color: #FE5252 !important;
  color: #fff !important;
}
/* Unique style for JSON-stored HTML fields */
.pmst-json-description-field {
  background: var(--theme-palette-color-8);
  padding: 20px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  /*color: #f2f2f2;*/
}

/* Paragraphs inside JSON fields */
.pmst-json-description-field p {
  margin-bottom: 10px;
}

/* Lists inside JSON fields */
.pmst-json-description-field ul {
  margin-left: 20px;
  list-style-type: disc;
  padding-left: 10px;
}

.pmst-json-description-field li {
  margin-bottom: 6px;
}

/* Optional: italic text */
.pmst-json-description-field em {
  font-style: italic;
  color: #c0c0c0;
}

