/*
Theme Name: Blue Sky Real Estate PA 2025
*/

:root {
  --link-color: #3769B1;
  --link-hover-color: #2E7BD6;
  --transparent-blue: #3669b0e6;
  --sky-blue: #6BB6FF;
  --dark-blue: #394E75;
  --sign-orange: #f60;
  --heading-font: "Barlow Semi Condensed", sans-serif;
  --grey-background: #f5f7fa;
  --body-font: "Barlow", sans-serif;
  --border-grey: #C9C9C9;
  --border-light-grey: #eee;
  --text-color: #212529;
  --swiper-navigation-top-offset: -999px;
  --swiper-navigation-sides-offset: 1rem;
  --logo-width-mobile: 260px;
  --logo-width-desktop: 220px;
  --logo-height: 125px;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}

body {
  background: var(--sky-blue);
  background-image: 
    linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 60%, var(--sky-blue) 100%),
    url('images/bluesky-back.jpg');
  background-repeat: repeat-x;
  font-size: 16px;
  font-family: var(--body-font);
  color: var(--text-color);
  background-size: auto 500px;
  background-position: top;
  animation: skyDrift 120s linear infinite;
}

@keyframes skyDrift {
  0% {
    background-position-x: 0px;
  }
  100% {
    background-position-x: 1000px;
  }
}

p {
line-height: 145%;
margin-bottom: 15px;
}

strong, b {
font-weight: bold;
}

em {
font-style: italic;
}

a, a:visited {
  color: var(--link-color);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--sign-orange);
}

h1, h2, h3, h4, h5 {
  font-family: var(--heading-font);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--dark-blue);
}

h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: bold;
}

h3 a, h4 a, h5 a {
  color: #394E75;
  font-weight: bold;
  font-size: 19px;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
}

h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
  color: var(--link-hover-color);
  transition: color 0.15s ease;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
}

h3 a:visited, h4 a:visited, h5 a:visited {
  color: #394E75;
}

h4 {
font-size: 110%;
font-weight: bold;
margin-bottom: 5px;
}

h5 {
  font-weight: bold;
  margin-bottom: 5px;
}

iframe {
border: 1px solid #93A5B9;
}

/* General stylings
---------------------------------------------------------------*/

@media (max-width: 1000px) {
 .entry-content .alignleft, .entry-content .alignright {
    display: block;
    float: none;
    margin: 0 0 1rem;
  }
}

.content-container {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-content-wrapper {
  padding: 0;
}

/* Header Stylings
---------------------------------------------------------------*/

.contact-info-bar {
  background-color: var(--grey-background);
  color: var(--text-color);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-grey);
}

.contact-info-bar .content-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-contact-info {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.header-contact-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.4;
}

.header-contact-info a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  transition: color 0.3s ease;
  color: var(--heading-color);
}

.header-contact-info i {
  font-size: 1rem;
  color: var(--sign-orange);
}

header {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

header div.header-container {
  box-sizing: content-box;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  background: white;
  border-bottom: 6px solid var(--link-color);
  padding: 1rem 0;
}

header .content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

div#wrapper {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  padding: 0;
}

#logo-container {
  width: var(--logo-width-mobile);
  display: flex;
  justify-content: center;
}

#logo-container a.logo {
  display: block;
  height: var(--logo-height);
  width: var(--logo-width-mobile);
}

#logo-container a.logo img {
  height: var(--logo-height);
  width: var(--logo-width-mobile);
}

#search {
  width: 100%;
}

#search.desktop-search {
  display: none;
}

#search form {
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-inputs {
  display: flex;
  gap: 0.5rem;
  height: 38px;
  width: 100%;
  max-width: 340px;
}

#search-inputs input#s,
.search-field {
  border: 1px solid var(--border-grey);
  height: 100%;
  padding: 0;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 6px;
  flex-grow: 1;
}

#search-inputs input#s:focus,
.search-field:focus {
  outline: 1px solid #3769B1;
}

.search-field::placeholder {
  color: var(--text-color);
  font-style: initial;
}

#search-inputs input#searchsubmit,
.search-inputs button,
#menu-toggle {
  background-color: var(--link-color);
  color: white;
  border: 0;
  width: 38px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.search-inputs button:hover,
#search-inputs input#searchsubmit:hover {
  background-color: var(--link-hover-color);
  cursor: pointer;
}

.search-inputs button > svg {
  fill: white;
}

.nav-toggle-container.visible {
  display: block;
}

#mobile-nav-close-container {
  position: fixed;
  top: 1rem;
  right: calc(-1rem - 300px);
  z-index: 150;
  transition: right 0.3s ease-in-out;
}

.admin-bar #mobile-nav-close-container {
  top: calc(1rem + 50px);
}

#mobile-nav-close-container button {
  background-color: var(--link-color);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#mobile-nav-close-container button:hover {
  background-color: var(--link-hover-color);
}

.nav-toggle-container.visible #mobile-nav-close-container {
  right: 1rem;
}

#menu-toggle {
  height: 38px;
  cursor: pointer;
  width: auto;
  display: flex;
  gap: .25rem;
  align-items: center;
  padding: 0 1rem;
  background-color: var(--link-color);
}

#menu-toggle:hover {
  background-color: var(--link-hover-color);
}

nav#top-nav {
  width: 100%;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
  left: 0;
  top: 0;
  z-index: 50;
  pointer-events: none ;
  transition: .3s background-color ease-in-out;
}

.nav-toggle-container.visible > nav#top-nav {
  background-color: rgba(0,0,0,0.5);
  pointer-events: auto ;  
}

nav#top-nav ul.menu {
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: #ffffff;
  position: fixed;
  top: 0;
  right: -300px;
  height: 100%;
  background-color: var(--link-color);
  max-width: 300px;
  z-index: 100;
  transition: right 0.3s ease-in-out;
  background-color: #3561a2;
  padding-top: 1rem;
  width: 100%;
}

.nav-toggle-container.visible > nav#top-nav ul.menu {
  right: 0;
  pointer-events: auto ;
}


nav#top-nav ul li {
  padding: 0;
  position: relative;
  border-bottom: var(--sky-blue) 1px solid;
}

nav#top-nav ul li:first-child {
  border-top: var(--sky-blue) 1px solid;
}


nav#top-nav ul li a {
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  display: block;
  padding: 1rem;
  background-color: var(--link-color);
  transition: .3s background-color ease;
}

nav#top-nav ul li a:hover {
  background-color: var(--link-hover-color);
}

.sub-menu {
  display: none;
  position: absolute;
  background-color: var(--link-hover-color);
  top: 44px;
  left: 0;
}

footer .sub-menu {
  display: none;
}

nav#top-nav ul li .sub-menu > li {
min-width: 110px;
border: 0;
background-image: none;
margin: 0;
width: 100%;
padding: 0;
}

nav#top-nav ul li .sub-menu > li > a {
border-bottom: 1px solid #486d97;
float: left;
width: 215px;
padding: 4px 10px;
font-size: 100%;
font-weight: normal;
}

nav#top-nav ul li .sub-menu > li > a:hover {
background-color: #6E9ED5;
}

/* Main Content Stylings
---------------------------------------------------------------*/

#container {
  background-color: white;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 5px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    0px 0px 5px rgba(50, 50, 50, 0.75);
  box-shadow:         0px 0px 5px rgba(50, 50, 50, 0.75);
  padding: 1rem;
  margin: 1rem 0;
}

/* Featured Slider Home Page Stylings
---------------------------------------------------------------*/

.featured-slider-container {
  width: 100%;;
  margin: 0 auto 2rem auto;
  overflow: hidden;
}

.featured-slider-container .property-wrapper {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
}

.featured-slider-container h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--dark-blue);
  text-align: center;
  margin-top: 1rem;
}

.featured-slider-container .swiper {
  padding: 2px;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.swiper .property-image-wrapper img {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: border-color 0.1s ease;
}

.swiper .property-image-wrapper img:hover {
  border-color: var(--link-color);
}

.swiper .property-content-wrapper {
  padding: 1rem 0;
}

.swiper .swiper-slide {
  opacity: .5;
  transition: opacity 0.3s ease;
}

.swiper .swiper-slide-active {
  opacity: 1;
}

.swiper .property-content-wrapper .property-title {
  overflow-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--link-color);
  margin-bottom: 0.5rem;
}

.swiper .property-content-wrapper .property-title a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}

.swiper .property-content-wrapper .property-price {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.swiper .property-content-wrapper .property-meta {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.swiper .property-content-wrapper .property-meta i {
  color: var(--sign-orange);
  margin-top: 4px;
}

.swiper.featured-slider .swiper-slide {
  max-width: 450px;
}

.swiper .swiper-pagination {
  position: static;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.swiper .swiper-pagination-bullet {
  background-color: var(--border-grey);
  transition: all 0.3s ease;
  opacity: 1;
}

.swiper .swiper-pagination-bullet-active {
  background-color: var(--link-color);
  opacity: 1;
  height: 10px;
  width: 10px;
}

/* Dynamic bullets support */
.swiper .swiper-pagination-bullets-dynamic {
  transform: initial !important;
}

.swiper .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
  height: 8px;
  width: 8px;
  background-color: var(--border-grey);
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0 2px;
}

.swiper .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
  background-color: var(--link-color);
  opacity: 1;
  height: 10px;
  width: 10px;
}

.swiper-button-next, .swiper-button-prev {
  background-color: color(srgb 0.22 0.41 0.69 / 0.25);
  padding: 0.5rem .5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
  pointer-events: initial !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background-color: var(--link-color);
}

.swiper-button-next svg, .swiper-button-prev svg {
  color: #ffffff;
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1200px;
}

.lightbox-close {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-slider {
  width: 100%;
  height: 100%;
}

.lightbox-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-slider img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.lightbox-nav.swiper-button-prev,
.lightbox-nav.swiper-button-next {
  position: fixed;
  top: 50% !important;
  transform: translateY(-50%);
  background-color: color(srgb 0.22 0.41 0.69 / 0.25);
  padding: 1rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  z-index: 10001;
  width: auto;
  height: auto;
  opacity: 1;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.lightbox-nav.swiper-button-prev:hover,
.lightbox-nav.swiper-button-next:hover {
  background-color: var(--link-color);
}

.lightbox-nav.swiper-button-prev svg,
.lightbox-nav.swiper-button-next svg {
  color: #ffffff;
  width: 15px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav.swiper-button-disabled {
  opacity: 0.1 !important;
  cursor: not-allowed;
}

/* Single Property Details Styles */
.single-property-details {
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem -1rem;
}

.single-property-details > div {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 1.1rem;
  flex-direction: column;
  row-gap: 0.5rem;
}

.single-property-details > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.single-property-details > div:first-child {
  padding-top: 0;
}

.single-property-details strong {
  color: var(--heading-color, #333);
  margin-right: 1rem;
  flex-shrink: 0;
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.25rem;
}

.single-property-details .property-price {
  font-size: 1.5rem !important;
  color: var(--link-color, #2b5cb6);
  font-weight: bold;
}

.single-property-details .property-map {
  flex-direction: column;
  align-items: flex-start;
}

.google-map-wrapper {
  width: 100%;
  margin-top: 0.75rem;
  position: relative;
  aspect-ratio: 4/3;
}

.google-map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 6px;
}

/* Make listing page slider images clickable */
.listing-page-swiper img {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.listing-page-swiper img:hover {
  opacity: 0.9;
}

.featured-slider #wpv-view-layout-1 {	
height:130px;
}

.featured-slider div.slide-type {
  min-height: 80px;
}


.featured-slider ul.property-meta li {
  padding: 0;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}

.featured-slider ul.property-meta li a {
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
}

.featured-slider h3 {
font-size: 100%;
margin-bottom: 0;
line-height: 16px;
}

.featured-slider span {
font-size: 85%;
line-height: 1.4;
}

.featured-slider span.feat-type{
  font-weight: bold;
}

.featured-slider p.slide-city {
font-size: 85%;
}

.featured-slider a.slider-button {
  display: block;
  float: left;
  text-decoration: none;
  color: #ffffff;
  padding: 1px 20px;
  background: -moz-linear-gradient(
    top,
    #44658e 0%,
    #3c587a);
  background: -webkit-gradient(
    linear, left top, left bottom, 
    from(#44658e),
    to(#3c587a));
  border: 1px solid #44658e;
  -moz-box-shadow:
    0px 1px 3px rgba(000,000,000,0.5),
    inset 0px 0px 1px rgba(255,255,255,0.7);
  -webkit-box-shadow:
    0px 1px 3px rgba(000,000,000,0.5),
    inset 0px 0px 1px rgba(255,255,255,0.7);
  box-shadow:
    0px 1px 3px rgba(000,000,000,0.5),
    inset 0px 0px 1px rgba(255,255,255,0.7);
  text-shadow:
    0px -1px 0px rgba(000,000,000,0.4),
    0px 1px 0px rgba(255,255,255,0.3);
  background-color:#3C587A;
  margin-bottom: 0;
}

.featured-slider a.slider-button:hover {
  background: -moz-linear-gradient(
    top,
    #93a9c4 0%,
    #3c5573);
  background: -webkit-gradient(
    linear, left top, left bottom, 
    from(#93a9c4),
    to(#3c5573));
  background-color: #93a9c4;
}

/* Advanced Search Stylings 
------------------------------------------------------------*/

.views-template-hunting-properties .advancedsearch {
  display: none;
}

.advancedsearch {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-grey);
  border-image: linear-gradient(to right, transparent, var(--border-grey), transparent) 1;
}

.advancedsearch h3,
.advancedsearch h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-blue);
  font-weight: 800;
  text-transform: uppercase;
}

.advancedsearch h4 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.advancedsearch .search-inputs {
  max-width: 100%;
}

.advancedsearch .text-search-wrapper {
  margin-bottom: 1rem;
}

.advancedsearch .text-search-wrapper form {
  flex-grow: 1;
}

.advancedsearch .text-search-wrapper .search-inputs {
  gap: 0;
}

.advancedsearch .text-search-wrapper input.search-field {
  border-radius: 6px 0 0px 6px;
}

.advancedsearch .text-search-wrapper .search-inputs button {
  border-radius: 0px 6px 6px 0px;
}

.advancedsearch .filters-search-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-direction: column;
  align-items: stretch;
}

.advancedsearch .filters-search-wrapper .search-category {
  flex: 1 1 0;
  width: 100%;
}

.advancedsearch .select-inputs {
  gap: 0.5rem;
}

.advancedsearch .select-inputs .drop {
  flex-grow: 1;
}

.advancedsearch .select-inputs button {
  height: 40px;
  width: 40px;
}

.advancedsearch .drop > select {
  height: 40px;
  border-radius: 6px;
  border: 1px solid var(--border-grey);
  padding: 0 10px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .advancedsearch .filters-search-wrapper {
    flex-direction: row;
    align-items: center;
  }
}

/* Homepage Content Stylings */

.county-section {
  margin-bottom: 3rem;
}

.county-section:last-child {
  margin-bottom: 2rem;
}

.county-heading {
  font-size: 2rem;
}

.county-section h3,
.county-section h3 a {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--link-color);
}

.county-section h3 a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}

.county-section h3 a:hover {
  color: var(--link-hover-color);
}

.county-properties {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.homepage-links-container ul {
  margin-bottom: 2rem;
}

.homepage-links-container ul:last-child {
  margin-bottom: 0;
}

.homepage-links-container li {
  margin-bottom: .5rem;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.2;
}

/* Page/Post Article Stylings
---------------------------------------------------------------*/

/* Listing Slider */
.listing-page-swiper.swiper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light-grey);
}

.listing-page-swiper.swiper .swiper-wrapper {
  aspect-ratio: 4/3;
}

.listing-page-swiper.swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 6px;
}

.listing-page-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  border: none;
  padding: 0;
}

/* General Article Stylings */

span.edit-link {
  width: 100%;
}

#content article {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light-grey);
}

#content .post-display-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--link-color);
  font-weight: 800;
}

#content .post-display-image {
  margin-bottom: 1rem;
}

#content .post-display-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

#content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-blue);
}

#content .post-display-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#content .post-display-meta ul li {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.leased-status {
  background: #ffeb3b;
  color: var(--text-color);
  padding: 0.5rem 0.75rem;
  border-radius: 0;
  font-size: 1.5rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.leased-status i {
  margin-right: 0.5rem;
}

#content .post-display-meta ul li.leased-status {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#content .post-display-price {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}

#content .post-display-excerpt {
  margin-bottom: 0;
}

#content ul {
  list-style: disc;
  margin-left: 1rem;
  margin-bottom: 1.5rem;
  list-style-position: outside;
}

@media screen and (min-width: 768px) {
  #content .listing-wrapper {
    display: flex;
    gap: 1rem;
  }

  #content .post-display-image {
    flex: 1 0 30%;
    max-width: 30%;
    min-width: 300px;
    margin-bottom: 0;
    width: 100%;
  }

  #content .post-display-image img {
    height: auto;
    max-width: 100%;
  }
}

.entry-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.entry-content ol {
display: block;
list-style-type: decimal;
list-style-position: inside;
margin-bottom: 20px;
margin-left: 20px;
}

.entry-content ul {
  list-style: initial;
  margin-left: 10px;
  padding-left: 10px;
  text-indent: -3px;
}

/* Sidebar Stylings */

.widget-container {
  border: 1px solid var(--border-light-grey);
  padding: 1rem;
  border-radius: 6px;
  background-color: color(srgb 0.6 0.74 0.87 / 0.1);
}

aside#sidebar {
  width: 100%;
  max-width: 300px;
  flex: 1;
}

aside#sidebar h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--dark-blue);
  border-bottom: 1px solid var(--border-light-grey);
  padding-bottom: 0.5rem;
}

aside#sidebar ul.sidebar-widgets {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

aside#sidebar .widget-container > *:last-child {
  margin-bottom: 0;
}

aside#sidebar .wp-block-list:last-child {
  margin-bottom: 0;
}

aside#sidebar .textwidget ul,
aside#sidebar ul.wp-block-list,
aside#sidebar .widget_recent_entries ul{
  list-style: disc;
  margin-left: 1rem;
  margin-bottom: 1.5rem;
  list-style-position: outside;
}

aside#sidebar .textwidget ul:li:last-child,
aside#sidebar ul.wp-block-list li:last-child,
aside#sidebar .textwidget ul.contact-info li:last-child {
  margin-bottom: 0;
}


aside#sidebar .textwidget ul li,
aside#sidebar ul.wp-block-list li,
aside#sidebar .widget_recent_entries ul li {
  padding-left: 0px;
  margin-bottom: .5rem;
  line-height: 1.4;
}

aside#sidebar .textwidget ul li:last-child,
aside#sidebar ul.wp-block-list li:last-child,
aside#sidebar .widget_recent_entries ul li:last-child {
 margin-bottom: 0;
}

aside#sidebar ul.contact-info,
#content .entry-content ul.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

aside#sidebar ul.contact-info li,
#content .entry-content ul.contact-info li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: start;
  font-weight: 600;
  line-height: 1.4;
  font-size: 1.1rem;
}

aside#sidebar ul.contact-info li i,
#content .entry-content ul.contact-info li i {
  color: var(--sign-orange);
  padding-top: 4px;
  margin-right: 0.5rem;
}

aside#sidebar ul.contact-info li a,
#content .entry-content ul.contact-info li a {
  color: var(--dark-blue);
}

aside#sidebar img {
  margin-bottom: 1rem;
  border-radius: 6px;
}


aside#sidebar a.widget-button{
  

  text-decoration: none;
  color: #ffffff;
  padding: 5px 15px;
  background-color: #95b44a;
  background: -moz-linear-gradient(
    top,
    #94b44a 0%,
    #8aaa40);
  background: -webkit-gradient(
    linear, left top, left bottom, 
    from(#94b44a),
    to(#8aaa40));
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  border: 1px solid #a5bf69;
  -moz-box-shadow:
    2px 2px 8px rgba(000,000,000,0.2),
    inset -2px -2px 1px rgba(109,130,60,0.3);
  -webkit-box-shadow:
    2px 2px 8px rgba(000,000,000,0.2),
    inset -2px -2px 1px rgba(109,130,60,0.3);
  box-shadow:
    2px 2px 8px rgba(000,000,000,0.2),
    inset -2px -2px 1px rgba(109,130,60,0.3);
  text-shadow:
    1px 1px 5px rgba(000,000,000,0.2),
    0px 1px 0px rgba(255,255,255,0);
  font-size: 14px;
}

aside#sidebar a.widget-button:hover{
  
    background: -moz-linear-gradient(
    top,
    #bfdb78 0%,
    #8aaa40);
  background: -webkit-gradient(
    linear, left top, left bottom, 
    from(#bfdb78),
    to(#8aaa40));
  background-color: #bfdb78;
  
}

aside#sidebar ul li.widget-container:last {
margin-bottom: 0;
}




.all-listings ul li {
float:left;
width: 100%;
height: 230px;

}

/* Footer Styles
---------------------------------------------------------------*/

footer .footer-container {
  background-color: var(--link-color);
  color: white;
  padding: 1.5rem 0;
}

footer .footer-container .content-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

footer .footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  align-items: center;
}

footer .footer-nav {
  width: 100%;
}

footer .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .footer-nav ul li {
  display: flex;
  align-items: center;
}

footer .footer-nav ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

footer .footer-nav ul li a:hover {
  background-color: var(--link-hover-color);
  color: white;
  text-decoration: none;
}

footer .footer-nav ul li:not(:last-child):after {
  content: "|";
  color: var(--sky-blue);
  margin-left: 1rem;
  font-weight: 300;
}

footer .footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

footer .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

footer .footer-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

footer .footer-contact i {
  color: var(--sky-blue);
  font-size: 0.9rem;
}

footer .footer-contact a {
  color: white;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  transition: color 0.3s ease;
}

footer .footer-contact a:hover {
  color: var(--sky-blue);
}

footer .footer-bottom {
  background-color: var(--grey-background);
  color: var(--text-color);
  padding: 1rem 0;
  border-top: 1px solid var(--border-grey);
}

footer .footer-bottom .content-container {
  text-align: center;
}

footer .footer-bottom p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* Footer responsive design */
@media (min-width: 768px) {
  footer .footer-nav {
    flex: 1;
  }

  footer .footer-info {
    flex: 1;
    align-items: flex-end;
    text-align: right;
  }

  footer .footer-contact {
    justify-content: flex-end;
  }
}

/* Property Listings Archive 
---------------------------------------------------------------*/

#content .entry-content li.list-list {
float: left;
width: 100%;
text-indent: 0;
}

#content .entry-content li.list-list:before {
content: "";
}

li.list-list li:before {
content: "";
}

li.list-list .list-type span:after{
  
  content: ",";
}

li.list-list .list-type span:last-child:after {
  content: "";
}

.list-img {
width: 50%;
float: left;
min-height: 135px;
background-repeat: no-repeat;
background-position-x: 85px;
background-position-y: 25px;
}

.list-img img {
padding: 5px;
border: 1px solid #ccc;
webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
-moz-box-shadow:    2px 2px 5px rgba(0, 0, 0, 0.3);
box-shadow:         2px 2px 5px rgba(0, 0, 0, 0.3);
}

.list-properties {
float: left;
width: 50%;
}

.list-top {
  float: left;
  width: 100%;
  padding-bottom: 5px;
}

.list-properties h3 {
margin-bottom: 10px;
  
}

.list-price {
font-size: 115%;
color: black;
background-color: yellow;
height: 18px;
padding: 5px;
display: inline-block;
font-weight: bold;	
}

.list-properties p {
font-size: 85%;
line-height: 1.2;
}

p.list-address span {
  width: 100%;
  float: left;
}

.list-properties strong {
  font-weight: bold;
}

/* Search Page
--------------------------------------------------------------*/

.search-results h1.page-title span:before {
  content: '"';
}

.search-results h1.page-title span:after {
  content: '"';
}

/* =WordPress Core
-------------------------------------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 0px auto 20px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

#cboxNext, #cboxPrevious {
background-image: url('images/arrows.png') !important;
}

/* Post navigation stylings
---------------------------------------------------------*/

.wp-pagenavi span.pages {border: none;}
.wp-pagenavi { padding: 10px 0px 10px; display:block; clear:both; margin-bottom: 20px;}
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:visited, .wp-pagenavi a:active  { padding: 4px 8px !important; margin: 2px !important; text-decoration: none !important; border: 1px solid #ddd !important; background: #FFFFFF !important; color: #999 !important; }
.wp-pagenavi a:hover { border: 1px solid #3769B1 !important; color: #3769B1 !important; }
.wp-pagenavi span.pages { padding: 4px 8px 0 0 !important; margin: 2px !important; font-style: italic !important; color: #999 !important; font-size: 11px !important; }
.wp-pagenavi span.current { padding: 4px 8px !important; margin: 2px !important; font-weight: bold !important; border: 1px solid #3769B1 !important; background: #3769B1 !important; color: #fff !important; }
.wp-pagenavi span.extend { padding: 4px 8px !important; margin: 2px !important; border: 1px solid #ddd !important; background-color: #FFFFFF !important; }

/* Desktop Media Queries
--------------------------------------------------------------*/

@media only screen and (min-width: 600px) {
  .single-property-details {
    margin: 2rem 0;
  }

  .page-content-wrapper {
    padding: 1rem;
  }
}

@media only screen and (min-width: 768px) {
  .single-property-details strong {
    min-width: 200px;
  }

  .single-property-details > div {
    flex-direction: row;
    align-items: center;
  }

  header div.header-container {
    border-bottom: none;
    padding: 0;
  }

  header .content-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  #logo-container {
    justify-content: flex-start;
    padding: 1rem 0;
  }
  
  #search {
    width: auto;
  }

  #search.desktop-search {
    display: block;
  }

  .mobile-menu-button-container #menu-toggle,
  #mobile-nav-close-container {
    display: none;
  }

  .mobile-menu-button-container {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .nav-toggle-container {
    background-color: var(--link-color);
  }

  nav#top-nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    pointer-events: auto;
  }

  .nav-toggle-container.visible > nav#top-nav {
    background-color: transparent;
  }

  nav#top-nav ul.menu {
    position: static;
    height: auto;
    background-color: transparent;
    width: auto;
    display: flex;
    flex-direction: row;
    padding: 0 1rem;
    justify-content: flex-start;
    position: relative;
    left: 0;
    top: 0;
    max-width: 100%;
  }

  nav#top-nav ul.menu:after {
    content: "";
    height: 100%;
    width: 99999px;
    position: absolute;
    left: -5555px;
    top: 0;
    background-color: var(--link-color);
    z-index: -1;
  }

  nav#top-nav ul li {
    border: none;
    padding: 0;
  }

  nav#top-nav ul li:first-child {
    border: none;
  }

  nav#top-nav ul li a {
    background-color: transparent;
    color: white;
    border-right: 1px solid var(--sky-blue);
  }

  nav#top-nav ul li:first-child {
    border-left: 1px solid var(--sky-blue);
  }

  nav#top-nav ul li a:hover {
    color: white;
  }

  .featured-slider-container {
    max-width: 100%;
  }

  .swiper .swiper-slide {
    opacity: 1;
  }
  
  #container {
    /* size comes from the homepage image slider distance between slides, so the container padding matches */
    padding: 20px;
    margin: 2rem 0;
  }

  /* Sidebar Styles */

  .content-sidebar-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
  }

  .content-sidebar-wrapper #content {
    flex: 3;
    max-width: calc(100% - 300px);
  }

  aside#sidebar {
    min-width: 250px;
    max-width: 600px;
  }
}

@media only screen and (min-width: 1024px) {
  .advancedsearch {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .advancedsearch h4 {
    white-space: nowrap;
  }

  .advancedsearch .text-search-wrapper,
  .advancedsearch .filters-search-wrapper {
    margin-bottom: 0;
  }

  .advancedsearch .text-search-wrapper {
    flex: 2 1 0;
  }

  .advancedsearch .filters-search-wrapper {
    flex: 3 1 0;
  }
}

/* ==============================================
   SEARCH FILTERS & RESULTS
   ============================================== */

.active-filters {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
}

.active-filters h3 {
  font-family: var(--heading-font);
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

.filter-tag {
  display: inline-block;
  background: var(--link-color);
  color: white;
  padding: 5px 12px;
  margin: 3px 5px 3px 0;
  border-radius: 15px;
  font-size: 0.85em;
  font-weight: 500;
}

.clear-filters {
  display: inline-block;
  background: var(--sign-orange);
  color: white !important;
  padding: 6px 15px;
  margin-left: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.clear-filters:hover {
  background: #e55a00;
  text-decoration: none;
}

.search-category select,
.search-category input[type="text"] {
  font-family: var(--body-font);
}

.search-category .go input[type="submit"] {
  background: var(--link-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.search-category .go input[type="submit"]:hover {
  background: var(--link-hover-color);
}

/* Pagination Styles
---------------------------------------------------------------*/

.navigation.pagination {
  margin: 2rem 0;
  text-align: center;
  clear: both;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  background: white;
  color: var(--link-color);
  text-decoration: none;
  border: 2px solid var(--border-grey);
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--body-font);
  transition: all 0.3s ease;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers:focus {
  background: var(--link-color);
  color: white;
  border-color: var(--link-color);
  text-decoration: none;
}

.nav-links .page-numbers.current {
  background: var(--link-color);
  color: white;
  border-color: var(--link-color);
  cursor: default;
}

.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
  padding: 0 12px;
  font-size: 14px;
}

.nav-links .page-numbers.dots {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: default;
}

.nav-links .page-numbers.dots:hover {
  background: transparent;
  color: var(--text-color);
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

/* Header responsive layout - horizontal at 400px+ */
@media (min-width: 400px) {
  header .content-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }
}

/* Logo responsive sizing */
@media (min-width: 480px) {
  #logo-container {
    width: var(--logo-width-desktop);
  }
  
  #logo-container a.logo {
    width: var(--logo-width-desktop);
  }
  
  #logo-container a.logo img {
    width: var(--logo-width-desktop);
  }
}

/* Mobile responsive pagination */
@media (max-width: 768px) {
  .nav-links {
    gap: 0.25rem;
  }
  
  .nav-links .page-numbers {
    min-width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .nav-links .page-numbers.prev,
  .nav-links .page-numbers.next {
    padding: 0 8px;
    font-size: 12px;
  }
}

