/* Styles for Property Template */

.single-property article {
  float: left;
  width: 100%;
}

.property-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.property-header {
    margin-bottom: 30px;
    text-align: center;
    background: #f5f5f5;
}

.single-property .pg_title img {
  margin-right: 20px;
}

.single-property .pg_title h1 {
  float: unset;
  flex: 1;
  text-align: left;
}

.single-property .property-content p {
   margin-bottom: 15px;
}

.single-property .property-content p a {
   color: #aac002;
}

.property-featured-image {
    margin: 20px 0;
}

.property-featured-image img {
    max-width: 100%;
    height: auto;
}

.property-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.property-section {
    margin-bottom: 40px;
}

.cnt-immobillien {
   float: left;
   width: 100%;
}

.single-property section.cntct_cnctd {
  margin: 10px 0 30px 0;
}
.single-property .cnt_col p a {
  color: #fff;
}
.property-section .sec-icon-title {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sec-title-icon {
  margin-bottom: -15px;
  width: 60px;
  height: 60px;
}

.sec-icon-title h2 {
  display: inline-block;
}

.single-property .cntct_frm form {
  margin-bottom: 40px;
}

.parking-section {
    border-top: 2px solid #eee; 
    padding-top: 20px; 
    margin-top: 20px;
}


.single-property .price-details,
.single-property .property-details,
.single-property .energy-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.price-item,
.detail-item,
.energy-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.location-details {
    margin-top: 20px;
}

.address {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.document-list {
    margin: 20px 0;
}

.document-item {
    margin: 10px 0;
}

.document-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.document-item a:hover {
    background: #e5e5e5;
}

.pdf-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
}
.contact-section {
    margin-top: 40px;
}

.single-property .cntct_info .cnt_col ol {
  color: #fff;
  padding-left: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin: 5px 0;
}

.contact-hours h4,
.contact-address h4 {
    color: #788b18;
    margin: 15px 0 5px 0;
    font-size: 1.1em;
}

.contact-hours p,
.contact-address p {
    margin: 5px 0;
}

.sec-stand {
  border-top: 2px solid #eee;
  padding-top: 20px;
}

.amenities-list, .wbs-requirement {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.amenity-item {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.amenity-item:before {
    content: "✓";
    color: #788b18;
    margin-right: 10px;
    font-weight: bold;
}

.overview-icon {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto;
}

.property-card-imb {
  background: #f2f2f2;
  margin-bottom: 20px;
  padding: 0px;
  font-style: normal;
}
.property-card-imb .inr_row {
  display: flex;
  justify-content: space-between;
  padding: 30px;
}
.property-link {
  text-decoration: none;
}
.property-image {
  width: 40%;
}
.property-image img {
  height: 100% !important;
  object-fit: cover !important;
  width: 100% !important;
}
.property-card-imb .property-details {
  width: 56%;
  max-width: 100%;
  word-break: keep-all;
  white-space: normal;
}
.page-template-service-subpages-template .property-card-imb h3 {
  font-family: 'Roboto Condensed-l';
  font-size: 30px;
  color: #aac002;
}
.property-card-imb .lst_adrs {
  display: flex;
  align-items: center;
  border-top: 1px solid #dbdbdb;
  padding: 11px 30px;
  background: #e6e6e6 !important;
  font-size: 20px;
}
.property-card-imb .lst_adrs p, .property-card-imb .prop-price {
  font-size: 20px;
}
.property-card-imb .lst_adrs img {
  width: 28px;
  vertical-align: bottom;
}

.property-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    margin-bottom: 40px;
}

.gallery-main {
    width: 100%;
    margin-bottom: 20px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.gallery-thumb {
    cursor: pointer;
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.gallery-thumb:hover img {
    opacity: 0.8;
}

.no-immo {
  background: #f2f2f2;
  padding: 20px;
  font-size: 20px;
}
.single-property .sbmt_btn .wpcf7-submit {
  max-width: 220px;
}
.overview-item, .sec-icon-title h2, .price-item, .detail-item, .energy-item, .document-item a, .amenity-item, .parking-title {
  color: #6f6f6f;
}


/* Responsive design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .property-overview {
        grid-template-columns: 1fr;
    }
    
    .price-details,
    .property-details,
    .energy-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
.property-card-imb .inr_row {
  display: block;
}
.property-card-imb .property-details {
  width: 100%;
  display: block;
  margin-top: 25px;
}
.property-card-imb .property-image {
  width: 100%;
}
.single-property .gallery-thumb img {
  max-width: 75px;
  max-height: 75px;
}
.property-gallery {
  padding: 0;
}
.overview-icon {
  width: 40px;
  height: 40px;
}
.sec-title-icon {
  margin-bottom: -10px;
  width: 40px;
  height: 40px;
}
}
