.image-responsive{
    width: 100%;
}

.real-estate-page .sidebar-content {
  max-height: none !important;
}
h2.real-estate-title, .panel-real-estate h2{
    font-size: 40px !important;
}

/* ===== HERITAGE SECTION ===== */
.heritage-section {
  margin: 2rem 0;
  color: #333;
  font-family: "Open Sans", Arial, sans-serif;
}
/* Title and subtitles */
.section-title,
.sub-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3a3a3a;
  font-weight: 600;
}
.section-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.sub-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e5e5e5;
  padding-bottom: 0.3rem;
}
/* Icon for titles */
.icon-title {
  color: #b9974b;
  font-size: 1.3em;
}
/* Heritage text paragraph */
.heritage-text {
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: justify;
}
/* Grid layout for Assets & Challenges */
.heritage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
/* Individual columns */
.heritage-column {
  background: #faf8f5;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
/* Lists */
.heritage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.heritage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.7rem;
  line-height: 1.5;
}
/* Icons inside list */
.icon-item {
  color: #b9974b;
  font-size: 1.1em;
  width: 20px;
  flex-shrink: 0;
}
/* Hover effect (optional aesthetic touch) */
.heritage-column:hover {
  background: #f4f1ed;
  transition: background 0.3s ease;
}

/* ====== Bootstrap-style Pager ====== */

.pager {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pager__items {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin: 0;
  border-radius: 0.375rem; /* Bootstrap rounded */
}

.pager__item {
  margin: 0 2px;
}

.pager__item a {
  display: block;
  padding: 6px 12px;
  color: #0d6efd; /* Bootstrap blue */
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease-in-out;
}

.pager__item a:hover {
  background-color: #e9ecef;
  color: #0a58ca;
  border-color: #dee2e6;
  text-decoration: none;
}

.pager__item.is-active a,
.pager__item.is-active a:focus,
.pager__item.is-active a:hover {
  z-index: 3;
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.pager__item--next a,
.pager__item--last a {
  font-weight: 500;
}

.pager__item--next a span[aria-hidden="true"],
.pager__item--last a span[aria-hidden="true"] {
  font-size: 0.875rem;
}

/* For accessibility hidden text */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.bg-image {
  /*position: relative;*/
  background-size: cover;
  background-position: center;
}

.bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* Adjust darkness: 0.4 = 40% opacity */
  pointer-events: none; /* So overlay doesn’t block interactions */
}
/* Fix Like button icon for Font Awesome 5 */
.like-form i.fa-solid {
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  font-style: normal !important;
}

/* Fix Like button icon for Font Awesome 5 */
.like-form i.fas {
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  font-style: normal !important;
}
.like-form i.fa-solid.fa-heart:before {
  content: "\f004";
}

/* Social sharing and Like button row */
.social-like-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 15px;
}

.sharing-buttons-wrap {
  flex: 0;
}

.like-button-wrap {
  flex-shrink: 0;
  margin-left: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .social-like-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .like-button-wrap {
    margin-left: 0;
    width: 100%;
  }
}

/* Heritage attributes below title */
.heritage-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 15px;
  font-size: 14px;
}

.heritage-attributes .field {
  display: inline-block;
}

.heritage-attributes .field::after {
  content: "|";
  margin-left: 10px;
  color: #ccc;
}

.heritage-attributes .field:last-child::after {
  content: "";
  margin-left: 0;
}

/* Social sharing and Like buttons below image, aligned right */
.social-like-row-below-image {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 15px;
  margin: 0 0 -30px;
}

.social-like-row-below-image .like-button-wrap,
.social-like-row-below-image .sharing-buttons-wrap {
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .heritage-attributes {
    flex-direction: column;
    gap: 5px;
  }
  
  .heritage-attributes .field::after {
    content: "";
    margin-left: 0;
  }
  
  .social-like-row-below-image {
    display: block;
    margin: 0 !important;
  }
  .like--wrapper{
      text-decoration: none;
      text-align: center;
      margin: 0.5em;
  }
  .social-sharing-buttons{
      margin: 0.5em 0 !important;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .home .captcha-wrapper {
      padding: 0 20px !important;
  }
  .heritage-section{
      padding: 10px !important;
  }
  .paragraph--type--panel-blog-teaser .blog-post-tesaer-wrap .image-wrap img{
      width: 100% !important;
      height: auto !important;
  }
 .bottom-row.abs-bottom{
      position: relative !important;
  }
  .views-row{
    height:auto !important;
}
}

.social-sharing-buttons{
    margin: 1em 0;
}
.top-content-tag{
    padding: 10px;
    background: #ccc;
    margin-right: 6px;
    min-width: 110px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}
.top-content-tag a{
    text-decoration: none !important;
}
.panel-blog-teaser .blog-post-teaser-element .text-wrap {
    padding: 20px;
    margin-top: 70px !important;
}
.user-register-form{
    margin-top: 150px;
    padding: 30px;
}
.home .captcha-wrapper{
    padding: 0 120px;
}
.panel-services .element-services img{
    width:auto !important;
}
.table-striped tbody tr:nth-child(odd) {
  background-color: #f8f9fa; /* light gray */
}

.table-striped tbody tr:nth-child(even) {
  background-color: #ffffff; /* white */
}

.table-striped tbody tr:hover {
  background-color: #e9ecef; /* slightly darker on hover */
}

.table-striped th,
.table-striped td {
  padding: 8px 12px;
  border-bottom: 1px solid #dee2e6;
}

.news-table-wrapper{
   margin-top: 110px;
   padding: 30px; 
}

/* Base button */
.btn {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  user-select: none;
}

/* Small button */
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

/* Primary (blue) */
.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}
.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

/* Danger (red) */
.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
}
.btn-danger:hover {
  background-color: #bb2d3b;
  border-color: #b02a37;
}

/* Warning (yellow) */
.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #212529;
}
.btn-warning:hover {
  background-color: #ffca2c;
  border-color: #ffcd39;
}

/* Success (green) */
.btn-success {
  background-color: #198754;
  border-color: #198754;
  color: #fff;
}
.btn-success:hover {
  background-color: #157347;
  border-color: #146c43;
}

/* Secondary (gray) */
.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}
.btn-secondary:hover {
  background-color: #5c636a;
  border-color: #565e64;
}
/* Outline Primary */
.btn-outline-primary {
  color: #0d6efd;
  border: 1px solid #0d6efd;
}
.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

/* Outline Danger */
.btn-outline-danger {
  color: #dc3545;
  border: 1px solid #dc3545;
}
.btn-outline-danger:hover {
  background-color: #dc3545;
  color: #fff;
}

/* Outline Warning */
.btn-outline-warning {
  color: #ffc107;
  border: 1px solid #ffc107;
}
.btn-outline-warning:hover {
  background-color: #ffc107;
  color: #212529;
}

/* Outline Success */
.btn-outline-success {
  color: #198754;
  border: 1px solid #198754;
}
.btn-outline-success:hover {
  background-color: #198754;
  color: #fff;
}

/* Outline Secondary */
.btn-outline-secondary {
  color: #6c757d;
  border: 1px solid #6c757d;
}
.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: #fff;
}
.header-title{
    font-size:30px;
}

/* MARGIN ALL SIDES */
.m-0 { margin: 0 !important; }
.m-1 { margin: .25rem !important; }
.m-2 { margin: .5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.m-auto { margin: auto !important; }

/* MARGIN TOP */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }

/* MARGIN BOTTOM */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-auto { margin-bottom: auto !important; }

/* MARGIN START (LEFT) */
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: .25rem !important; }
.ms-2 { margin-left: .5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }
.ms-auto { margin-left: auto !important; }

/* MARGIN END (RIGHT) */
.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }
.me-auto { margin-right: auto !important; }

/* MARGIN X (LEFT & RIGHT) */
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* MARGIN Y (TOP & BOTTOM) */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

.real-estate-page .sidebar-content .visitor-photo-form .webform-submission-form .js-form-type-checkbox,
#edit-your-photo--description{
    font-size: 14px;
}
.real-estate-page .sidebar-content .contact-form label,
.real-estate-page .sidebar-content .visitor-photo-form label{
    font-size: 12px;
    line-height: 1;
}
.real-estate-page .sidebar-content .visitor-photo-form input[type=text] {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 2px;
    line-height: 32px;
}
.real-estate-page .sidebar-content .visitor-photo-form textarea {
    height: 100px;
    max-height: 100px;
    min-height: 100px;
}
.home #blog header h2{
   display : none;
}
.panel-blog-teaser .blog-post-teaser-element {
    width: calc(50% - 20px);
    margin-bottom: 50px !important;
    margin-top: 0 !important;
}

/* Custom css for view slide show */
.visitor-photo-slideshow-full-width .views_slideshow_cycle_main {
  width: 100% !important;
}

.visitor-photo-slideshow-full-width .views_slideshow_cycle_slide {
  width: 100% !important;
  height: auto !important;
}

.visitor-photo-slideshow-full-width img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

/* Position pager inside image at bottom */
.details-wrap.visitor-photos {
  position: relative;
}

.details-wrap.visitor-photos .views_slideshow_cycle_main {
  position: relative;
}

.details-wrap.visitor-photos .views-slideshow-controls-bottom {
  position: absolute;
  bottom: 30px; /* 20px from bottom - adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: auto;
  margin: 0;
}

/* Style the pager bullets list */
.details-wrap.visitor-photos .views-slideshow-pager-bullets {
  text-align: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.details-wrap.visitor-photos .views-slideshow-pager-bullets li {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--background_color_third);
  border: 1px solid var(--font_color_secondary);
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0;
  line-height: 0;
}

.details-wrap.visitor-photos .views-slideshow-pager-bullets li:hover,
.details-wrap.visitor-photos .views-slideshow-pager-bullets li.active {
  background-color: var(--font_color_secondary);
  transform: scale(1.2);
}
