/* Property Page Styles - Airbnb-inspired design */
:root {
  --pha-primary-color: #FF385C; /* Airbnb red */
  --pha-secondary-color: #222222; /* Airbnb dark text */
  --pha-text-color: #222222;
  --pha-light-gray: #F7F7F7;
  --pha-border-color: #DDDDDD;
  --pha-success-color: #008A05;
  --pha-font-family: 'Circular', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  
  /* Related Posts Typography Variables */
  --related-posts-title-font-family: "Montserrat", sans-serif;
  --related-posts-title-font-size: 18px;
  --related-posts-title-font-weight: 600;
  --related-posts-title-color: #222222;
  
  --related-posts-header-font-family: "Montserrat", sans-serif;
  --related-posts-header-font-size: 16px;
  --related-posts-header-font-weight: 500;
  --related-posts-header-color: #333333;
  
  --related-posts-date-font-family: "Montserrat", sans-serif;
  --related-posts-date-font-size: 12px;
  --related-posts-date-font-weight: 400;
  --related-posts-date-color: #666666;
  
  --related-posts-excerpt-font-family: "Montserrat", sans-serif;
  --related-posts-excerpt-font-size: 14px;
  --related-posts-excerpt-font-weight: 400;
  --related-posts-excerpt-color: #555555;
}

/* Layout */
.pha-property-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: var(--pha-font-family);
  color: var(--pha-text-color);
  line-height: 1.5;
}

/* Main Content and Sidebar Layout */
.pha-content-wrapper {
  display: flex;
  gap: 48px;
}

.pha-main-content {
  flex: 1;
}

.pha-sidebar {
  width: 320px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  margin-top: 48px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--pha-font-family);
  font-weight: 600;
  margin-top: 0;
}

/* Property Title Section */
.pha-property-title-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pha-border-color);
}

.pha-title-left {
    flex: 1;
}

.pha-title-right {
    flex-shrink: 0;
}

.pha-property-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

:not(.awb-theme) .pha-property-title {
  color: var(--pha-text-color);
}

.pha-property-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pha-text-secondary);
    font-size: 1rem;
    margin-bottom: 8px;
}

.pha-view-all-btn-header {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: var(--pha-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.pha-view-all-btn-header:hover {
    background-color: var(--pha-background-hover-color, #0056b3);
    color: white;
    text-decoration: none;
}

.pha-property-address {
  font-size: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  color: #717171;
}

.pha-property-address svg {
  margin-right: 8px;
  height: 16px;
  width: 16px;
}

/* Gallery Grid */
.pha-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}

.pha-gallery-main {
  grid-row: span 2;
  height: 100%;
}

.pha-gallery-secondary {
  height: 100%;
}

.pha-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
  cursor: pointer;
}

.pha-gallery-image:hover {
  transform: scale(1.03);
}

/* Show All Photos Button - Updated to match reference */
.pha-show-all-photos {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--pha-gallery-button-bg-color, #FF385C);
  color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pha-show-all-photos:hover {
  background-color: var(--pha-gallery-button-hover-color, #E31C5F);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Gallery Button Hover - Matching screenshot selector with higher specificity */
.single-property .pha-btn:hover,
.single-property .pha-show-all-photos:hover,
.single-property .pha-primary-button:hover,
.single-property .pha-primary-link:hover {
  background-color: var(--pha-gallery-button-hover-color, #E31C5F) !important;
}

.pha-show-all-photos svg {
  width: 16px;
  height: 16px;
  fill: currentColor;: absolute;
  bottom: 24px;
  right: 24px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #222222;
}

.pha-show-all-photos:hover {
  background-color: var(--pha-gallery-button-hover-color, #E31C5F) !important;
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Additional hover targeting to override strong specificity rules */
.single-property .pha-show-all-photos:hover,
.pha-property-page .single-property .pha-show-all-photos:hover {
  background-color: var(--pha-gallery-button-hover-color, #E31C5F) !important;
}

.pha-show-all-photos svg {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

/* Property Meta */
.pha-property-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 24px 0 24px;
  padding: 0;
  border-bottom: 1px solid var(--pha-border-color);
  padding-bottom: 20px;
}

.pha-property-meta-item {
  display: flex;
  align-items: center;
  margin-right: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #717171;
}

/* WordPress Gallery Modal */
.pha-wp-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow-y: auto;
}

.pha-wp-gallery-content {
  background: white;
  margin: 40px auto;
  padding: 0;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
}

.pha-wp-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
}

.pha-wp-gallery-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.pha-wp-gallery-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pha-wp-gallery-close:hover {
  color: #000;
}

.pha-wp-gallery-tabs {
  display: flex;
  padding: 0 30px;
  border-bottom: 1px solid #eee;
}

.pha-wp-gallery-tab {
  background: none;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.pha-wp-gallery-tab:hover {
  color: #222;
}

.pha-wp-gallery-tab.active {
  color: #222;
  border-bottom-color: #222;
}

.pha-wp-gallery-sections {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.pha-wp-gallery-section {
  display: none;
}

.pha-wp-gallery-section.active {
  display: block;
}

.pha-gallery-category-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
}

/* Override WordPress gallery styles */
.pha-wp-gallery-section .gallery {
  margin: 0 !important;
}

.pha-wp-gallery-section .gallery-item {
  margin-bottom: 20px !important;
}

.pha-wp-gallery-section .gallery-item img {
  border-radius: 8px !important;
  transition: transform 0.2s !important;
}

.pha-wp-gallery-section .gallery-item img:hover {
  transform: scale(1.05) !important;
}

/* Image Lightbox */
.pha-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.pha-lightbox.pha-lightbox-active {
    display: flex;
}

.pha-lightbox-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

body.pha-lightbox-open {
    overflow: hidden;
}

.pha-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pha-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.pha-lightbox-prev,
.pha-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: background-color 0.2s;
    z-index: 1000001;
}

.pha-lightbox-prev:hover,
.pha-lightbox-next:hover {
    background: rgba(255, 255, 255, 1);
}

.pha-lightbox-prev {
    left: 20px;
}

.pha-lightbox-next {
    right: 20px;
}

.pha-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.pha-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1002;
}

.pha-property-meta-item img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Section Titles - Use header font settings instead of subheading */
.pha-section-title {
  margin-bottom: 16px;
  color: var(--pha-secondary-color);
}

/* About Section */
.pha-about-section {
  margin: 48px 0;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--pha-border-color);
}

.pha-property-description {
  font-size: 16px;
  line-height: 1.5;
  color: #222222;
}

.pha-property-description p {
  margin-bottom: 16px;
}

/* Property Videos Section */
.pha-videos-section {
  margin: 48px 0;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--pha-border-color);
}

/* Sidebar Videos Card */
.pha-sidebar-card {
  background-color: white;
  border: 1px solid var(--pha-border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pha-sidebar-card-header {
  padding: 24px;
  text-align: center;
  border-bottom: 1px solid var(--pha-border-color);
}

.pha-sidebar-card-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  color: var(--pha-secondary-color);
  font-family: var(--pha-font-family);
}

.pha-sidebar-card-content {
  padding: 16px;
}

.pha-video-item {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.pha-video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  /* Background color controlled by Single Property Page Color Palette */
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.pha-video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pha-video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.pha-video-play-button svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.pha-video-thumbnail:hover .pha-video-play-button {
  background-color: rgba(0, 0, 0, 0.8);
}

.pha-video-title {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.pha-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin: 16px 0;
  border-radius: 12px;
}

.pha-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* View All Properties Button */
.pha-view-all-btn {
  display: inline-block;
  background-color: #000066; /* Dark blue as in reference */
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s, background-color 0.2s;
  margin-top: 16px;
  width: 100%;
  text-align: center;
}

.pha-view-all-btn:hover {
  background-color: #000044;
  transform: scale(1.03);
}

.pha-footer-nav {
  margin: 16px 0;
}

/* Property Information */
.pha-property-information {
  margin: 32px 0;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--pha-border-color);
}

.pha-property-manager-phone {
  margin-top: 16px;
}

.pha-property-manager-phone h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pha-property-manager-phone a {
  display: flex;
  align-items: center;
  color: var(--pha-text-color);
  text-decoration: none;
  font-size: 16px;
}

.pha-property-manager-phone a:hover {
  text-decoration: underline;
}

.pha-property-manager-phone a::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url('../img/icons/phone.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

/* Location Section */
.pha-location-section {
  margin: 48px 0;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--pha-border-color);
}

.pha-google-map {
  height: 480px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
}

.pha-google-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Information */
.pha-contact-section {
  margin: 48px 0;
}

.pha-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Individual Section Fullwidth/Standard Layout Classes */
.pha-contact-grid .pha-contact-item.pha-section-fullwidth {
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1 !important;
  background-color: #f8f9fa;
  border-left: 4px solid #FF385C;
  margin-bottom: 20px;
}

.pha-contact-grid .pha-contact-item.pha-section-standard {
  max-width: 400px;
  background-color: #ffffff;
  border-left: 4px solid #e1e1e1;
}

/* Responsive behavior for individual section layouts */
@media (max-width: 768px) {
  .pha-contact-item.pha-section-fullwidth,
  .pha-contact-item.pha-section-standard {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .pha-contact-item.pha-section-fullwidth,
  .pha-contact-item.pha-section-standard {
    padding: 20px 16px;
  }
}

.pha-contact-card {
  background-color: white;
  border: 1px solid var(--pha-border-color);
  padding: 24px;
  border-radius: 12px;
}

.pha-contact-card-title {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 600;
}

.pha-contact-item {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
}

.pha-contact-item svg {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pha-contact-text {
  font-size: 14px;
  line-height: 1.4;
}

.pha-contact-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pha-contact-text a {
  color: var(--pha-text-color);
  text-decoration: none;
}

.pha-contact-text a:hover {
  text-decoration: underline;
}

/* Lightbox */
.pha-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.pha-lightbox.pha-lightbox-active {
    display: flex;
}

.pha-lightbox-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

body.pha-lightbox-open {
    overflow: hidden;
}

.pha-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pha-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.pha-lightbox-prev,
.pha-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: background-color 0.2s;
    z-index: 1000001;
}

.pha-lightbox-prev:hover,
.pha-lightbox-next:hover {
    background: rgba(255, 255, 255, 1);
}

.pha-lightbox-prev {
    left: 20px;
}

.pha-lightbox-next {
    right: 20px;
}

.pha-lightbox-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.pha-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Sidebar Element Styles */
.pha-sidebar-related-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pha-sidebar-related-item {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pha-border-color);
}

.pha-sidebar-related-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pha-sidebar-related-image {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.pha-sidebar-related-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pha-sidebar-related-placeholder {
  width: 100%;
  height: 100%;
  background: var(--pha-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.pha-sidebar-related-content {
  flex: 1;
  min-width: 0;
}

.pha-sidebar-related-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 4px 0;
}

.pha-sidebar-related-title a {
  color: var(--pha-text-color);
  text-decoration: none;
}

.pha-sidebar-related-title a:hover {
  text-decoration: underline;
}

.pha-sidebar-related-meta {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

.pha-sidebar-related-address {
  margin-bottom: 2px;
}

.pha-sidebar-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pha-sidebar-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.pha-sidebar-meta-item:last-child {
  border-bottom: none;
}

.pha-sidebar-meta-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.pha-sidebar-meta-value {
  font-size: 14px;
  color: var(--pha-text-color);
  font-weight: 600;
}

.pha-sidebar-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--pha-text-color);
}

.pha-sidebar-description p {
  margin: 0 0 12px 0;
}

.pha-sidebar-description p:last-child {
  margin-bottom: 0;
}

.pha-sidebar-map {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pha-sidebar-address {
  font-size: 14px;
  color: var(--pha-text-color);
}

.pha-sidebar-map-link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--pha-primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s;
}

.pha-sidebar-map-link:hover {
  background: #e31c5f;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pha-content-wrapper {
        flex-direction: column;
    }

    .pha-main-content {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .pha-sidebar {
        position: static;
        top: auto;
    }

    .pha-gallery-grid,
    .pha-gallery-grid[class*="pha-gallery-layout"] {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        height: auto !important;
        margin-bottom: 16px;
    }

    .pha-gallery-main {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    .pha-gallery-secondary {
        display: none !important;
    }

    .pha-show-all-photos {
        position: static;
        width: 100%;
        margin-top: 16px;
        justify-content: center;
    }

    .pha-property-page .pha-property-title-container {
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 16px !important;
    }

    .pha-property-page .pha-title-left {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .pha-property-page .pha-title-right {
        flex-shrink: 0 !important;
    }

    .pha-property-page .pha-view-all-btn-header {
        white-space: nowrap !important;
        min-width: fit-content !important;
    }

    .pha-property-page .pha-property-title {
        font-size: 1.5rem !important;
        margin-bottom: 4px !important;
    }

    .pha-property-page .pha-property-address {
        font-size: 14px !important;
        margin-bottom: 0 !important;
    }
}

/* Accessibility Enhancements */
.pha-property-page a:focus,
.pha-property-page button:focus {
  outline: 2px solid var(--pha-primary-color);
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Modal Styles */
.pha-modal {
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.pha-modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 1200px;
  max-height: 85vh;
  overflow: hidden;
  position: relative;
}

.pha-modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}

.pha-modal-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.pha-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.pha-modal-close:hover,
.pha-modal-close:focus {
  color: #000;
  text-decoration: none;
}

.pha-modal-body {
  padding: 20px 0 0 0; /* Added top padding to prevent header overlap */
  max-height: calc(85vh - 80px);
  overflow-y: auto;
}

/* Gallery Modal Tabs */
.pha-modal-gallery-tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 20px;
}

.pha-modal-tab-button {
  background: none;
  border: none;
  padding: 15px 20px;
  margin-right: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.pha-modal-tab-button.active {
  color: #FF5722;
  border-bottom-color: #FF5722;
}

.pha-modal-tab-button:hover {
  color: #FF5722;
}

/* Gallery Sections */
.pha-modal-gallery-section {
  display: none;
  padding: 30px;
}

.pha-modal-gallery-section.active {
  display: block;
}

.pha-modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.pha-modal-gallery-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.pha-modal-gallery-image:hover {
  transform: scale(1.05);
}

/* Video Modal Styles */
.pha-video-modal-content {
  max-width: 1000px;
}
.pha-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  padding-left: 20px; /* Added horizontal padding */
  padding-right: 20px; /* Added horizontal padding */
  height: 0;
  overflow: hidden;
}

.pha-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox,
.lightbox-overlay,
.lightbox-content {
  z-index: 21000 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pha-modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 80vh;
  }

  .pha-modal-header {
    padding: 15px 20px;
  }

  .pha-modal-header h3 {
    font-size: 20px;
  }

  .pha-modal-gallery-tabs {
    padding: 0 15px;
  }

  .pha-modal-tab-button {
    padding: 12px 15px;
    margin-right: 10px;
    font-size: 14px;
  }

  .pha-modal-gallery-section {
    padding: 20px 15px;
  }

  .pha-modal-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pha-modal-gallery-image {
    height: 120px;
  }
}

/* Related Posts Section Styles */
.pha-related-posts-section {
    margin-top: 60px;
    padding: 40px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.pha-related-posts-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.pha-related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pha-related-post-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.pha-related-post-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pha-related-post-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f7f7f7;
}

.pha-related-post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pha-related-post-item:hover .pha-related-post-thumb {
    transform: scale(1.02);
}

.pha-related-post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff5a5f 0%, #ff8e53 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.pha-related-post-content {
    padding: 16px;
}

.pha-related-post-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}

.pha-related-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pha-related-post-title a:hover {
    color: #ff5a5f;
}

.pha-related-post-excerpt {
    color: #717171;
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pha-related-post-meta {
    color: #717171;
    font-size: 0.8rem;
    font-weight: 400;
}

.pha-related-post-date {
    color: #717171;
}

/* Responsive adjustments for Related Posts */
@media (max-width: 1024px) {
    .pha-related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .pha-related-posts-section {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .pha-related-posts-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .pha-related-posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .pha-related-post-image {
        height: 200px;
    }
    
    .pha-related-post-content {
        padding: 14px;
    }
    
    .pha-related-post-title {
        font-size: 0.95rem;
    }
    
    .pha-related-post-excerpt {
        font-size: 0.85rem;
    }
}

/* Sidebar Gallery Styling */
.pha-sidebar-gallery {
    position: relative;
}

.pha-sidebar-gallery-preview {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.pha-sidebar-gallery-preview:hover {
    transform: scale(1.02);
}

.pha-sidebar-gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.pha-sidebar-gallery-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pha-sidebar-gallery-count {
    font-weight: 500;
}

.pha-sidebar-gallery-icon {
    font-size: 14px;
}

/* Contact Information Main Body Styling */
.pha-contact-section {
    margin-bottom: 48px;
}

.pha-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.pha-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.pha-contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Background color controlled by admin settings via dynamic CSS */
}

.pha-contact-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.pha-contact-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.pha-contact-content a {
    color: #FF385C;
    text-decoration: none;
    font-weight: 500;
}

.pha-contact-content a:hover {
    text-decoration: underline;
}

/* Unit Information Styling in Property Details Section */
.pha-unit-info .pha-contact-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pha-unit-type,
.pha-unit-count {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 10px;
}

.pha-unit-info .pha-contact-content h3 {
    margin-bottom: 8px;
    color: #222;
}

/* Sidebar Contact Section Styling */
.pha-sidebar-contact-section .pha-sidebar-meta-value {
    margin-top: 8px;
}

.pha-sidebar-contact-item {
    font-size: 14px;
    line-height: 1.4;
}

.pha-sidebar-contact-item strong {
    color: #222;
    font-weight: 600;
}

.pha-sidebar-contact-item a {
    color: #FF385C;
    text-decoration: none;
}

.pha-sidebar-contact-item a:hover {
    text-decoration: underline;
}

.pha-contact-phone,
.pha-contact-email {
    margin-top: 4px;
}

/* Sidebar Related Posts Improvements - Only target Related Posts section */
.pha-sidebar-related-posts .pha-sidebar-card-title {
    font-family: var(--related-posts-title-font-family) !important;
    font-size: var(--related-posts-title-font-size) !important;
    font-weight: var(--related-posts-title-font-weight) !important;
    color: var(--related-posts-title-color) !important;
}

.pha-sidebar-related-title {
    font-family: var(--related-posts-header-font-family) !important;
    font-size: var(--related-posts-header-font-size) !important;
    font-weight: var(--related-posts-header-font-weight) !important;
    color: var(--related-posts-header-color) !important;
    line-height: 1.3;
    margin-bottom: 4px;
}

/* Target the actual post titles in Related Posts */
.pha-sidebar-related-title a {
    font-family: var(--related-posts-header-font-family) !important;
    font-size: var(--related-posts-header-font-size) !important;
    font-weight: var(--related-posts-header-font-weight) !important;
    color: var(--related-posts-header-color) !important;
    text-decoration: none;
}

.pha-sidebar-related-date {
    font-family: var(--related-posts-date-font-family);
    font-size: var(--related-posts-date-font-size);
    font-weight: var(--related-posts-date-font-weight);
    color: var(--related-posts-date-color);
    line-height: 1.2;
    margin-bottom: 4px;
}

.pha-sidebar-related-excerpt {
    font-family: var(--related-posts-excerpt-font-family);
    font-size: var(--related-posts-excerpt-font-size);
    font-weight: var(--related-posts-excerpt-font-weight);
    color: var(--related-posts-excerpt-color);
    line-height: 1.4;
    margin-top: 4px;
}

/* Visibility Controls */
.pha-related-posts-header-hidden .pha-sidebar-related-title { 
    display: none; 
}

.pha-related-posts-date-hidden .pha-sidebar-related-date { 
    display: none; 
}

.pha-related-posts-excerpt-hidden .pha-sidebar-related-excerpt { 
    display: none; 
}

/* Fix unit information spacing and line height */
.pha-sidebar-meta-value > div {
    line-height: 1.4;
    margin-bottom: 4px;
}

.pha-sidebar-meta-value > div:last-child {
    margin-bottom: 0;
}

/* Remove extra spacing from unit text */
.pha-unit-breakdown {
    line-height: .8;
}

.pha-unit-breakdown:last-child {
    margin-bottom: 0;
}

/* Sidebar Map Improvements */
.pha-sidebar-map {
    position: relative;
}

#pha-property-map-sidebar {
    height: 200px !important;
    border-radius: 8px;
    overflow: hidden;
}

.pha-sidebar-address {
    margin-top: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #222;
}

.pha-sidebar-map-link {
    display: inline-block;
    margin-top: 8px;
    color: #FF385C;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.pha-sidebar-map-link:hover {
    text-decoration: underline;
}
/* Dynamic Gallery Layouts Based on Image Count */

/* Single Image Layout - Full Width */
.pha-gallery-grid[data-image-count="1"] {
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
}

.pha-gallery-grid[data-image-count="1"] .pha-gallery-main {
  grid-row: 1 !important;
  grid-column: 1 !important;
}

.pha-gallery-grid[data-image-count="1"] .pha-gallery-secondary {
  display: none !important;
}

/* Two Images Layout - Main image left, second image full height right */
.pha-gallery-grid[data-image-count="2"] {
  grid-template-columns: 2fr 1fr !important;
  grid-template-rows: 1fr !important;
}

.pha-gallery-grid[data-image-count="2"] .pha-gallery-main {
  grid-row: 1 !important;
  grid-column: 1 !important;
}

.pha-gallery-grid[data-image-count="2"] .pha-gallery-secondary {
  grid-row: 1 !important;
  grid-column: 2 !important;
  height: 100% !important;
}

/* Hide any extra secondary images for 1-2 image layouts */
.pha-gallery-grid[data-image-count="1"] .pha-gallery-secondary {
  display: none !important;
}

/* For two images, show the first secondary image but hide any additional ones */
.pha-gallery-grid[data-image-count="2"] .pha-gallery-secondary:first-of-type {
  display: block !important;
}

/* Note: Removed display: none for nth-of-type(n+2) to allow second image to show */

/* Three or More Images - Default Airbnb Grid Layout */
.pha-gallery-grid[data-image-count="3"],
.pha-gallery-grid[data-image-count="4"],
.pha-gallery-grid[data-image-count="5"],
.pha-gallery-grid[data-image-count="6"],
.pha-gallery-grid[data-image-count="7"],
.pha-gallery-grid[data-image-count="8"],
.pha-gallery-grid[data-image-count="9"],
.pha-gallery-grid:not([data-image-count="1"]):not([data-image-count="2"]) {
  grid-template-columns: 2fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
}

.pha-gallery-grid[data-image-count="3"] .pha-gallery-main,
.pha-gallery-grid[data-image-count="4"] .pha-gallery-main,
.pha-gallery-grid[data-image-count="5"] .pha-gallery-main,
.pha-gallery-grid[data-image-count="6"] .pha-gallery-main,
.pha-gallery-grid[data-image-count="7"] .pha-gallery-main,
.pha-gallery-grid[data-image-count="8"] .pha-gallery-main,
.pha-gallery-grid[data-image-count="9"] .pha-gallery-main,
.pha-gallery-grid:not([data-image-count="1"]):not([data-image-count="2"]) .pha-gallery-main {
  grid-row: span 2 !important;
  grid-column: 1 !important;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  .pha-gallery-grid[data-image-count="1"],
  .pha-gallery-grid[data-image-count="2"] {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    height: auto !important;
  }
  
  .pha-gallery-grid[data-image-count="2"] .pha-gallery-secondary {
    display: block !important;
    grid-column: 1 !important;
    margin-top: 8px !important;
  }
}


/* Property Data Typography - Use Body Typography */
.pha-property-meta-item {
  font-family: var(--body-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif) !important;
  font-size: var(--body-font-size, 16px) !important;
  font-weight: var(--body-font-weight, 400) !important;
  line-height: var(--body-line-height, 1.6) !important;
  color: var(--body-text-color, #333) !important;
}

.pha-property-meta-item img {
  width: 16px !important;
  height: 16px !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}

/* Property Address Typography - Match Body Text */
.pha-property-address {
  font-family: var(--pha-font-family) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #222222 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.pha-property-address svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

/* Ensure consistent spacing for property meta items */
.pha-property-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 20px 0 !important;
}

.pha-property-meta-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}


/* Property Data Layout System */
.pha-property-data-container {
  display: flex;
  margin: 20px 0;
  /* gap is set via inline styles from admin setting */
}

.pha-property-data-vertical {
  flex-direction: column;
}

.pha-property-data-horizontal {
  flex-direction: row;
  align-items: center;
}

.pha-property-data-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.pha-property-data-icon {
  margin-right: 8px;
  display: inline-block;
  flex-shrink: 0;
}

.pha-property-data-text {
  flex: 1;
}

/* Alignment Classes */
.pha-align-left {
  justify-content: flex-start;
}

.pha-align-center {
  justify-content: center;
}

.pha-align-right {
  justify-content: flex-end;
}

/* Items Per Row Classes for Horizontal Layout - Controlled Spacing */
.pha-property-data-horizontal.pha-items-per-row-1 .pha-property-data-item { 
  flex: 0 0 auto;
}

.pha-property-data-horizontal.pha-items-per-row-2 .pha-property-data-item { 
  flex: 0 0 auto;
}

.pha-property-data-horizontal.pha-items-per-row-3 .pha-property-data-item { 
  flex: 0 0 auto;
}

.pha-property-data-horizontal.pha-items-per-row-4 .pha-property-data-item { 
  flex: 0 0 auto;
}

.pha-property-data-horizontal.pha-items-per-row-5 .pha-property-data-item { 
  flex: 0 0 auto;
}

.pha-property-data-horizontal.pha-items-per-row-6 .pha-property-data-item { 
  flex: 0 0 auto;
}

/* Responsive Behavior */
@media (max-width: 768px) {
  .pha-property-data-horizontal {
    flex-direction: column;
  }
  
  .pha-property-data-horizontal .pha-property-data-item {
    flex: 0 0 100% !important;
  }
}

@media (max-width: 480px) {
  .pha-property-data-container {
    gap: 8px !important;
  }
  
  .pha-property-data-item {
    margin-bottom: 4px;
  }
}

/* Legacy Support - Hide old property meta if new system is active */
.pha-property-data-container + .pha-property-meta {
  display: none;
}



/* Full-Width Content Area Styles */
.pha-full-width-content {
  width: 100%;
  margin: 5px 0;
  padding: 0;
}

.pha-full-width-content > * {
  margin-bottom: 48px;
}

.pha-full-width-content > *:last-child {
  margin-bottom: 0;
}

/* Full-Width Property Data Section - Use same styling as Main Body */
/* .pha-full-width-content .pha-property-data-section styles removed to use Main Body styling */

/* Full-Width Property Data - Use same styling as Main Body */
.pha-full-width-content .pha-property-data-container {
  /* Remove custom grid styling - use default Main Body styling */
}

/* Remove custom Full-Width Property Data item styling */
/* .pha-full-width-content .pha-property-data-item styles removed to use Main Body styling */

/* Full-Width Description Section */
.pha-full-width-content .pha-description-section {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--pha-border-color);
}

.pha-full-width-content .pha-description-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-description-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pha-text-color);
}

/* Full-Width Contact Section */
.pha-full-width-content .pha-contact-section {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--pha-border-color);
}

.pha-full-width-content .pha-contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pha-full-width-content .pha-property-manager-phone,
.pha-full-width-content .pha-property-contact {
  padding: 20px;
  background: var(--pha-light-gray);
  border-radius: 8px;
}

.pha-full-width-content .pha-property-manager-phone h3,
.pha-full-width-content .pha-property-contact h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-contact-details a {
  color: var(--pha-primary-color);
  text-decoration: none;
}

.pha-full-width-content .pha-contact-details a:hover {
  text-decoration: underline;
}

/* Full-Width Map Section */
.pha-full-width-content .pha-map-section {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--pha-border-color);
}

.pha-full-width-content .pha-map-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-map-address {
  text-align: center;
  padding: 24px;
  background: var(--pha-light-gray);
  border-radius: 8px;
}

.pha-full-width-content .pha-map-link {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  background: var(--pha-primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.pha-full-width-content .pha-map-link:hover {
  background: #e31c5f;
  color: white;
  text-decoration: none;
}

/* Full-Width Videos Section */
.pha-full-width-content .pha-videos-section {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--pha-border-color);
}

.pha-full-width-content .pha-videos-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.pha-full-width-content .pha-video-item {
  background: var(--pha-light-gray);
  padding: 20px;
  border-radius: 8px;
}

.pha-full-width-content .pha-video-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
}

.pha-full-width-content .pha-video-wrapper iframe,
.pha-full-width-content .pha-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Full-Width Related Properties Section */
.pha-full-width-content .pha-related-section {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--pha-border-color);
}

.pha-full-width-content .pha-related-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.pha-full-width-content .pha-related-item {
  background: var(--pha-light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.pha-full-width-content .pha-related-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pha-full-width-content .pha-related-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pha-full-width-content .pha-related-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.pha-full-width-content .pha-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pha-full-width-content .pha-related-info {
  padding: 16px;
}

.pha-full-width-content .pha-related-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-related-address {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

/* Full-Width Redevelopment Section */
.pha-full-width-content .pha-redevelopment-section {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--pha-border-color);
}

.pha-full-width-content .pha-redevelopment-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--pha-text-color);
}

.pha-full-width-content .pha-redevelopment-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pha-text-color);
}

/* Responsive Design for Full-Width Content */
@media (max-width: 1024px) {
  .pha-full-width-content {
    margin: 32px 0;
  }
  
  .pha-full-width-content .pha-property-data-horizontal .pha-property-data-container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .pha-full-width-content .pha-videos-grid {
    grid-template-columns: 1fr;
  }
  
  .pha-full-width-content .pha-related-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .pha-full-width-content {
    margin: 24px 0;
  }
  
  .pha-full-width-content .pha-property-data-section,
  .pha-full-width-content .pha-description-section,
  .pha-full-width-content .pha-contact-section,
  .pha-full-width-content .pha-map-section,
  .pha-full-width-content .pha-videos-section,
  .pha-full-width-content .pha-related-section,
  .pha-full-width-content .pha-redevelopment-section {
    padding: 24px;
  }
  
  .pha-full-width-content .pha-property-data-horizontal .pha-property-data-container {
    grid-template-columns: 1fr;
  }
  
  .pha-full-width-content .pha-contact-details {
    grid-template-columns: 1fr;
  }
  
  .pha-full-width-content .pha-related-grid {
    grid-template-columns: 1fr;
  }
  
  .pha-full-width-content .pha-videos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .pha-full-width-content .pha-property-data-section,
  .pha-full-width-content .pha-description-section,
  .pha-full-width-content .pha-contact-section,
  .pha-full-width-content .pha-map-section,
  .pha-full-width-content .pha-videos-section,
  .pha-full-width-content .pha-related-section,
  .pha-full-width-content .pha-redevelopment-section {
    padding: 16px;
  }
  
  .pha-full-width-content .pha-property-data-item {
    padding: 12px;
  }
  
  .pha-full-width-content .pha-property-manager-phone,
  .pha-full-width-content .pha-property-contact {
    padding: 16px;
  }
  
  .pha-full-width-content .pha-video-item {
    padding: 16px;
  }
  
  .pha-full-width-content .pha-related-info {
    padding: 12px;
  }
}

