/*
Theme Name: RentalHive Child
Template: rentalhive
Version: 1.0.0
*/

/* Listing Tile Title */
.home .hp-listing__title {
	font-size: 18px !important;
}

/* Force listing tiles to be same height */
body.page-id-317 .hp-listing {
  min-height: 540px !important;
  display: flex !important;
  flex-direction: column !important;
}

body.page-id-317 .hp-listing__content {
  flex-grow: 1 !important;
}


/* Listing Page Title */
.hp-listing--view-page  .hp-listing__title {
	font-size: 30px !important;
}

/* Listing Rating Count */
.rating__count {
  color: white !important;
}


/* Listing Page Description */
.hp-listing__description {
  text-align: justify;
}

/* Listing Page Attributes Description */
.hp-listing__attributes--ternary {
  text-align: justify;
}

/* Listing Page Attributes Description */
.hp-listing__attributes--ternary {
  text-align: justify;
}

/* Listing Tile Location*/
.home .hp-listing__location {
  font-size: 12px !important;
  font-weight: bold !important;
}
.home .fa-map-marker-alt {
  display: none;
}


/* Hero Image Overlay */
.header-hero::before{
	background-color: rgba(0,0,0,0.1);
}

/* Categories Images Overlay */
.hp-listing-category--view-block .hp-listing-category__image::after{
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)) !important;
}

/* Ensure Package Tiles are same height */
.hp-listing-package {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important; 
    height: 100% !important;
}

.hp-listing-package__content {
    flex-grow: 1 !important; 
}

/*FAQ formatting*/
.faq-section summary {
  cursor: pointer; 
}

.faq-section details {
  margin-bottom: 12px; 
  padding: 8px 0; 
}


details p {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Founder Box Formatting */
.wp-block-group {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
}

/* Formatting listing form labels */
.hp-field__label span {
    font-weight: bold;
		font-size: 1.5em;
}

/* Center video on the listing page */
.hp-listing__attribute--video {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically if needed */
    text-align: center; /* Fallback for inline elements */
}

/* Round corners for video on the listing page */
.hp-listing__attribute--video video,
.hp-listing__attribute--video .mejs-container,
.hp-listing__attribute--video .mejs-mediaelement {
    border-radius: 15px; 
    overflow: hidden;
	 background-color: transparent; 
    border: none; 
}


/* Hide Buy Package buttons on the "List Your Property" page
.page-id-692 .hp-listing-package__footer {
  display: none !important;
}
*/

/* Set width for blog posts */
.single-post .site-header .container {
  max-width: 100% !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.single-post .site-content .container {
  max-width: 95% !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Hide List a Property button */
.hp-menu--site-header .hp-menu__item--listing-submit{
  display: none; !important
}

/* Hide testimonial images*/
.hp-testimonial:nth-of-type(1) .hp-testimonial__image {
  display: none !important;
}


/* Region tiles on the home page (North & South Islands) - Rounds corners */
.rounded-img,
.rounded-img img,
.rounded-img .wp-block-cover__image-background{
    border-radius:16px;
}
.rounded-img{
    overflow:hidden;
}
