
/*==================================================
  1. THEME INFO & GLOBAL STYLES
==================================================*/

/*----------------------------------
  Theme Information
----------------------------------*/
/*
Theme Name: CA Estates Marbella
Author: Esther Gloria
Author URI: https://www.esthergloria.com
Description: A custom HTML5 theme
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

/*----------------------------------
  Global Reset & Base Styles
----------------------------------*/

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  -webkit-font-smoothing: unset;
  -moz-osx-font-smoothing: unset;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  color: #444545;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  background-color: #ffffff;
}

/*----------------------------------
  Typography
----------------------------------*/

/* Custom Fonts */
.baskervville-regular {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-style: normal;
}

.baskervville-regular-italic {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-style: italic;
}

/* Headings */
h1 {
  font-family: "Baskervville", Times, serif;
  font-size: 1.8em;
  font-weight: normal !important;
  color: #2C3E50;
  text-transform: capitalize;
}

h2 {
  font-family: "Baskervville", Times, serif;
  font-size: 1.6em;
  font-weight: normal !important;
  color: #002e40;
  margin-block-start: 0.83em;
  margin-block-end: 0.43em !important;
}

h3 {
  font-family: "Baskervville", Times, serif;
  font-size: 1.2em;
  font-weight: normal !important;
  color: #002e40;
}

h4 {
  font-size: 1em;
  font-weight: normal;
  font-style: italic;
  color: #5D6062;
  line-height: 1.5em !important;
}


h5 {
  font-family: "Baskervville", Times, serif;
  font-size: 16px;
  margin-bottom: 0!important;
  font-weight: normal !important;
  color: #002e40;
}


/* Paragraphs and Text */
p,
span,
li, a {
  font-size: 1em;
  line-height: 1.75em;
}

/* Blockquotes */
blockquote {
  font-size: 1em;
  line-height: 1.75em;
  font-weight: 300;
}

/* Links */
a {
  color: #000000;
  text-decoration: none;
}

p a {
  color: #2C3E50;
}

.hide-desktop {
  display: none!important;
  visibility: hidden!important;
}

.grecaptcha-badge {
  display: none !important;
}

b { font-weight: bold!important;}

/*----------------------------------
  Images & Media
----------------------------------*/
.featured-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}


/*==================================================
  2. LAYOUT & CONTAINER STYLES
==================================================*/

.flickity-enabled{position:relative}.flickity-enabled:focus{outline:0}.flickity-viewport{overflow:hidden;position:relative;height:100%}.flickity-slider{position:absolute;width:100%;height:100%}.flickity-enabled.is-draggable{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.flickity-enabled.is-draggable .flickity-viewport{cursor:move;cursor:-webkit-grab;cursor:grab}.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down{cursor:-webkit-grabbing;cursor:grabbing}.flickity-button{position:absolute;background:hsla(0,0%,100%,.75);border:none;color:#333}.flickity-button:hover{background:#fff;cursor:pointer}.flickity-button:focus{outline:0;box-shadow:0 0 0 5px #19f}.flickity-button:active{opacity:.6}.flickity-button:disabled{opacity:.3;cursor:auto;pointer-events:none}.flickity-button-icon{fill:currentColor}.flickity-prev-next-button{top:50%;width:44px;height:44px;border-radius:50%;transform:translateY(-50%)}.flickity-prev-next-button.previous{left:10px}.flickity-prev-next-button.next{right:10px}.flickity-rtl .flickity-prev-next-button.previous{left:auto;right:10px}.flickity-rtl .flickity-prev-next-button.next{right:auto;left:10px}.flickity-prev-next-button .flickity-button-icon{position:absolute;left:20%;top:20%;width:60%;height:60%}.flickity-page-dots{position:absolute;width:100%;bottom:-25px;padding:0;margin:0;list-style:none;text-align:center;line-height:1}.flickity-rtl .flickity-page-dots{direction:rtl}.flickity-page-dots .dot{display:inline-block;width:10px;height:10px;margin:0 8px;background:#333;border-radius:50%;opacity:.25;cursor:pointer}.flickity-page-dots .dot.is-selected{opacity:1}

.baskervville-regular {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-style: normal;
}

.baskervville-regular-italic {
  font-family: "Baskervville", serif;
  font-weight: 400;
  font-style: italic;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  -webkit-font-smoothing: unset;
  -moz-osx-font-smoothing: unset;
}

body, html {
  margin: 0;
  padding: 0;
  color: #444545;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  width: 100%;
  height: 100%;
}

body {
    background-color: #ffffff;  
}

p a {
  color: #2C3E50;
}

.wrap {
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-content: stretch;
  gap: 0!important;
}

footer {
  background-color: #2d3d50;
  color: #ffffff;
  text-align: center;
  margin: 0;
  padding: 2%;
}

footer p, footer a {
  font-size: 10px!important;
  color: #eee;
}

.top-bar {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  margin: 0;
  padding: 10px;
}

.top-bar div {
  flex-basis: 33%;
  text-align: center;
}

.top-bar div.span {
  display: block;
}

.top-bar span, .top-bar a, .glink span {
  font-weight: normal;
  font-size: 11px!important;
  text-decoration: none;
  }

.top-bar a {
  color: #5d6062;
}


.gt_languages a {
  color: #000000;
}

.main-nav {
  display: block;
  margin: 0;
  padding: 0;
  padding: 2% 1%;
}


.sub-nav-list {
  margin: 0 auto;
  padding: 3.5% 0;
  width: 80%;
}

.sub-nav-list h2 {
  font-size: 1em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 0;
}

.sub-nav-list .wpb_content_element {
  margin-bottom: 0!important;
}

.sub-nav-list .wpb_column:nth-child(1) .wpb_text_column {
  -webkit-animation-delay: .1s!important; 
 }

 .sub-nav-list .wpb_column:nth-child(2) .wpb_text_column { 
 -webkit-animation-delay: .4s!important; 
}

.sub-nav-list .wpb_column:nth-child(3) .wpb_text_column { 
 -webkit-animation-delay: .7s!important; 
}

.sub-nav-list .wpb_column:nth-child(4) .wpb_text_column { 
 -webkit-animation-delay: 1s!important; 
}

.sub-nav-list .wpb_column:nth-child(5) .wpb_text_column { 
 -webkit-animation-delay: 1.3s!important; 
}

.site-name {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%!important;
}


.nav-wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
}

.nav-child:nth-child(1) {
  flex-basis: 30%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: space-around;
}

.nav-child:nth-child(3) {
  flex-basis: 50%;
}

.nav-child:nth-child(3) {
  flex-basis: 20%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: space-around;
}

#menu-main-menu {
  display: flex;
  list-style-type: none;
  align-items: center;
  align-content: center;
  justify-content: space-around;
  padding-inline-start: 0!important;
  height: 100%!important;
  margin-block-start:0!important;
  margin-block-end:0!important;
}

/* Top-level links */
#menu-main-menu .menu-item > a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 10px;
  font-weight: 600;
  color: #5D6062;
  display: block;
}

#menu-main-menu .menu-item > a:hover {
  color: #72869B;
}

/* Add chevron arrow for parent menu items */
#menu-main-menu li.menu-item-has-children > a::after {
  content: "▾"; /* downward chevron */
  font-size: 12px;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Rotate arrow when submenu is visible */
#menu-main-menu li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg); /* points up */
}

/* Submenu container */
#menu-main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 150px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

/* Submenu items */
#menu-main-menu .sub-menu li a {
  display: block;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 10px;
  font-weight: 600;
  color: #5D6062;
}

#menu-main-menu .sub-menu li a:hover {
  background: #f5f5f5;
  color: #72869B;
}

/* Show submenu on hover */
#menu-main-menu li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* Ensure parent item is positioned correctly */
#menu-main-menu li.menu-item-has-children {
  position: relative;
}


.parallax {
  background-attachment: fixed;
  background-position: center;
}

.menu-main-menu-container {
  display: block;
  text-align: center;
  margin: 0 auto;
  height: 100%!important;
}

.header-social {
  display: block;
  text-align: center;
  margin: 0 auto;
  height: 100%!important;
}

.mobile-menu-toggle, .mobile-menu {
  display: none;
}

.content-area {
  background-color: transparent;
  width: 100%;
}

.search-wrap {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.search-wrap .search-results {
  list-style-type: none!important;
}

.search-wrap .search-results li {
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  margin: 50px 0;
  padding: 30px;
  border-bottom: 1px solid #eee;
}

.search-wrap .search-results li:last-child {
  border-bottom: 0!important;
}

.search-item-content {
  flex-basis: 70%;
}

.search-post-type {
  display: block;
  color: #A99975;
  font-size: .8em;
  text-transform: uppercase;
  letter-spacing: 2px;
}


.post-content {
  width: 90%;
  margin: 0 auto;
  padding: 0 0 5% 0;
}

.article-full {
  margin: 0;
  padding: 0;
}

.article-full header {
  width: 100%;
  margin: 0;
  padding: 0;
}

.article-full h1 {
  text-align: center;
  margin: 0;
}

.article-full hr {
  margin: 50px 0;
}

.article-full .featured-image-wrap {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 500px;
  background-attachment: fixed !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative !important;
}

.article-sources {
  text-align: center;
  background-color: #f8f8f8;
  padding: 15px;
  margin: 0 auto;
}

.article-sources h4, .article-sources ul, .article-sources li, .article-sources a {
 display:inline-block;
 margin: 0 20px 0 auto;
 font-size: 12px!important;
 color: #5D6062!important;
}


.header-details {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1300px;
}

.blog-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 30px;
  max-width: 1300px;
  margin: 30px auto;
  text-align: center;
}

.blog-wrapper .blog-article {
  border: 1px solid #eee;
}

.blog-wrapper .blog-article a {
  text-decoration: none;
}

.blog .header-details h1 {
  color: #ffffff;
}

.blog h2 {
  text-align: center;
  margin: 40px auto!important;
  }

.blog h3 {
  text-transform: none!important;
  letter-spacing: 0!important;
  margin: 30px auto;
  }

.blog-author-info {
  display: block;
  text-align: center!important;
  font-size: .7em!important;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600!important;
}

.header-details .blog-author-info {
  color: #ffffff!important;
}

.article-full .post-content {
  max-width: 1000px;
  margin: 3% auto 0 auto;
}

.listing-cell {
  text-align: center;
}

.prop-details, .post-details {
  background-color: #e7e7e7;
  display: block;
  padding: 10px 0;
  margin: 0;
  text-align: center;
}

.prop-details ul, .post-details ul {
  list-style-type: none;
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  justify-content: center;
  justify-items: center;
  margin: 0;
  padding: 0;
}

.prop-details ul li, .post-details ul li {
  flex-basis: 30%;
  font-size: .8em;
  color: #5D6062;
}

.prop-details ul li:first-child {
  flex-basis: 40%;
}

.post-details ul li:first-child {
  flex-basis: 100%;
}


.listings-terms-list {
  display: block;
  color: #A99975;
  font-size: .8em;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin: 30px auto 30px auto;
}

.post-terms-list {
  display: block;
  color: #A99975;
  font-size: .8em;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin: 30px auto 30px auto;
}


/* Listings */

.listings-template-default .featured-image-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10%;
}

.featured-image-wrap .listing-hero-details {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 0;
  margin: 0;
}

.featured-image-wrap .listing-hero-details ul {
  margin-block-start: 0em;
  margin-block-end: 0em!important;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
  width: 300px;
  margin: 0;
  padding: 0;
}

.featured-image-wrap .listing-hero-details ul li {
  list-style-type: none;
  margin: 0!important;
  padding: 5px 20px;
}

.featured-image-wrap .listing-hero-details ul li:nth-child(even) {
  background: #ffffff;
}

/* featured hero */ 
.featured-hero-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10%;
  min-height: 500px;
  background-attachment: fixed !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative !important;
}

.featured-hero-wrap .listing-hero-details {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 0;
  margin: 0;
}

.featured-hero-wrap .listing-hero-details ul {
  margin-block-start: 0em;
  margin-block-end: 0em!important;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
  width: 300px;
  margin: 0;
  padding: 0;
}

.featured-hero-wrap .listing-hero-details ul li {
  list-style-type: none;
  margin: 0!important;
  padding: 5px 20px;
}

.featured-hero-wrap .listing-hero-details ul li:nth-child(even) {
  background: #ffffff;
}


.guides-hero {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10%;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  position: relative !important;
  height: 65vh!important;
}

.guides-template-default h1 {
  font-size: 3.8em; 
  text-align: center;
}


.guides-template-default h2:first-of-type {
  font-size: 2.5em;
  text-align: center;
}


/* end */

.listings-template-default h1 {
  font-size: 3em;
}

.listings-template-default h2 {
  font-size: 1em;
  color: #5D6062;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.bre-hero-video-wrapper {
  display: block;
  width: 100%;
  padding: 0 0 0 0;
  margin: 11% auto 10% auto!important;
  text-align: center;
}

.bre-videos-list {
 display: flex;
 flex-direction: row;
 justify-content: center;
 align-items: flex-start;
 gap: 30px;
 margin: 30px auto;
}

.bre-video-item {
  flex-basis: 46%;
}


.bre-hero-video-wrapper .video-js, .bre-videos-list .video-js {
  padding: 0;
  margin: 0 auto;
}

.bre-hero-video-wrapper video[poster], .bre-videos-list video[poster] { 
  object-fit:cover;
}

.bre-hero-video-wrapper .vjs-poster, .bre-videos-list .vjs-poster {
  display: none!important
}

.bre-gallery {
  display: flex;
  flex-flow: row wrap;
  align-content: space-between;
  justify-content: center;
  width: 100%;
  margin: 30px auto 50px auto;
  padding: 0;
  list-style-type: none;
  gap: 20px;
}

.bre-gallery a {
  flex-basis: 20%;
  height: 200px;

  overflow: hidden;
  text-align: center;
}

.bre-gallery a img {
  height: 100% !important;
  width: auto!important;
}


/* Style the tab */
.bre-tabs {
  overflow: hidden;
  background-color: transparent;
  text-align: center;
  margin: 30px 0 30px 0;
  padding: 0;
}

/* Style the buttons that are used to open the tab content */
.bre-tabs button {
 background-color: transparent;
 display: inline-block;
 border: none;
 outline: none;
 cursor: pointer;
 padding: 8px 16px;
 transition: 0.3s;
 border: 0;
 text-align: center;
 color: #5D6062;
 font-size: .9em;
 font-weight: normal;
 padding: 20px 30px;
}


.bre-tabs button.active {
  font-weight: bold;
  background-color: transparent!important;
  border-bottom: 3px solid #A99975;
}

.bre-tabs button:hover {
  background-color: transparent!important;
  border-bottom: 3px solid #eee;
}

/* Style the tab content */
.bre-tabcontent {
  display: none;
  padding: 0;
  background-color: transparent;
  border-top: none;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-color: #A99975 #eee;
  scrollbar-width: thin;
}

.tabs-wrapper {
  margin: 0;
  padding: 0;
}

.tabs-wrapper p {
  display: block;
  margin: 0 auto 30px auto;
  padding: 0;
}

.tabs-wrapper h5 {
  margin: 10px auto 30px auto!important;
}

.animate-box {
  animation: zoom-in-zoom-out 1s ease;
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(0, 0);
  }
  100% {
    transform: scale(1, 1);
  }
}
/* ============ FAQ Accordion (robust + responsive) ============ */
.faq-wrapper {
  max-width: 1200px;
  width: 80%;
  margin: 50px auto;
  --faq-gap: 12px;
  --q-font: 1.05rem;
  --a-font: 0.975rem;
  --border: 1px solid #e6e6e6;
  --q-bg: #fff;
  --a-bg: #fafafa;
  --q-radius: 10px;
}

/* Each item */
.faq-item {
  border: var(--border);
  border-radius: var(--q-radius);
  background: var(--q-bg);
  margin-bottom: var(--faq-gap);
  /* Avoid clipping question content; we only hide overflow on the answer panel */
  overflow: visible;
}

/* Question button / header */
.faq-item .faq-q {
  all: unset;                    /* reset browser defaults */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  cursor: pointer;
  padding: 16px 48px 16px 18px;  /* extra right padding for chevron */
  font-size: var(--q-font);
  line-height: 1.35;
  font-weight: 600;
  color: #222 !important;
  position: relative;            /* anchor for chevron */
  white-space: normal;           /* allow wrapping */
}

/* Ensure inner elements can shrink/wrap instead of pushing the chevron off-screen */
.faq-item .faq-q > * {
  min-width: 0;                  /* critical for flex wrapping */
}

.faq-item .faq-q h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95em;
  margin: 0;
  padding: 0;
  line-height: 1.35;
  color: inherit;
  flex: 1;                       /* take remaining space */
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.faq-item .faq-q:focus-visible {
  outline: 2px solid #0a66c2;
  outline-offset: 2px;
  border-radius: 8px;
}

/* Chevron — forced render and absolute so layout can’t hide it */
.faq-item .faq-q::after {
  content: "" !important;        /* guard against global resets */
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  display: block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 200ms ease;
  pointer-events: none;          /* keep clicks on the button */
  opacity: 1;
  /* If your theme sets color to transparent somewhere, force it here: */
  /* border-color: #222 !important; */
}

/* Answer panel (animated) */
.faq-item .faq-a {
  height: 0;
  overflow: hidden;              /* only the panel hides overflow */
  background: var(--a-bg);
  border-top: var(--border);
  font-size: var(--a-font);
  line-height: 1.6;
  transition: height 250ms ease;
}

/* Inner padding to allow clean height animation */
.faq-item .faq-a > .faq-a__inner {
  padding: 14px 18px;
  box-sizing: border-box;
}

/* Open state */
.faq-item.is-open .faq-q::after {
  transform: translateY(-50%) rotate(-135deg);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .faq-item .faq-a {
    transition: none;
  }
}

/* Small screens: slightly smaller type & tighter padding */
@media (max-width: 600px) {
  .faq-wrapper {
    width: 94%;
  }
  .faq-item .faq-q {
    font-size: 1rem;
    padding: 14px 44px 14px 16px;
  }
  .faq-item .faq-a > .faq-a__inner {
    padding: 12px 16px;
  }
}

.faq-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.faq-controls button {
  background: #002e40;
  display: block!important;
  padding: 10px 30px!important;
  color: #ffffff!important;
  font-size: 12px!important;
  text-transform: uppercase!important;
  letter-spacing: 2px!important;
  font-weight: 600!important;
  text-decoration: none!important;
  transition: all 0.3s ease-in-out;
  width: fit-content!important;
  line-height: 1.5em!important;
  border: 0;
  border-radius: 5px;
  -webkit-appearance: none!important;
  cursor: pointer;
}

.faq-controls button:hover {
    transform: scale(1.05);
}

.faq-breadcrumb {
  display: block;
  text-align: center;
  margin: 4% auto 3% auto;
  font-size: .92em;
  color:#72869B;
}

.faq-breadcrumb:hover {
  text-decoration: underline;
}

/* Brochure */
.bre-brochures {
  display: flex;
  flex-flow: row wrap;
  align-content:center;
  justify-content: center;
  width: 100%;
  margin: 30px auto 50px auto;
  padding: 0;
  list-style-type: none;
  gap: 20px;
}

.bre-brochures a {
  flex-basis: 30%;
  text-decoration: none;
}

.bre-brochure-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto;
  width: 100%;
  min-width: 300px;
  height: auto;
}

.bre-brochure-cover .bre-brochure-title {
  display: flex;
  width: 100%;
  height: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 20% 0 50% 0;
  flex-flow: row wrap;
  align-content:center;
  justify-content: center;
  background: linear-gradient(to right, rgb(60, 13, 20, 0.4) 3px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.25) 7px, rgba(255, 255, 255, 0.25) 10px, transparent 12px, transparent 16px, rgba(255, 255, 255, 0.25) 17px, transparent 22px);
  box-shadow: 0 0 5px -1px black, inset -1px 1px 2px rgba(255, 255, 255, 0.5);
}

.bre-brochure-cover .bre-brochure-title-wrapper {
  width: 65%;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 50px 20px;
}

.bre-brochure-cover img {
  display: block;
  margin: 0 auto 30px auto;
  width: 80%;
}

.bre-brochure-title-text {
  font-size: 20px;
  text-align: center;
  color: #000000;
}
/* End listings */

.js-flickity {
  margin: 0px auto 0px auto!important;
  width: 100%;
  cursor: grab;
}

.flickity-page-dots {
  position: relative!important;
  bottom: 0!important;
  margin: 30px 0!important;
}

.flickity-viewport {
  margin: 0 auto!important;
}

.flickity-button {
  position: absolute;
  background: transparent!important;
  border: none;
  color: #313131!important;
}

.flickity-prev-next-button.previous {
  top: 50%!important;
  left: -3%!important;
}

.flickity-prev-next-button.next {
  top: 50%!important;
  right: -3%!important;
}

.gallery-cell {
  width: 30%;
  height: 70vh;
  margin: 0;
  padding: 0 0;
  background: transparent;
  counter-increment: gallery-cell;
  text-align: center;
}

.full-screen {
  width: 100%!important;
}

.gallery-cell .list-img-wrapper {
  display: flex!important;
  justify-content: center;
  align-items: center!important;
  flex-flow: row nowrap;
  padding: 0;
  margin: 0 auto;
  height: 100%;
  position: relative;
  z-index: 1;
  transition: transform .2s; /* Animation */
}

.gallery-cell {
  border: 1px solid #eee;
}

.gallery-cell .list-img-wrapper:hover {
  transform: scale(1.05);
}

.gallery-cell .list-img-wrapper:hover:after {
content:'';
display:block;
height:100%;
width: 100%;
background: #192537;
opacity:0.8;
filter: alpha(opacity=80);
position: absolute;
top: 0;
left: 0;
z-index: 2;
}

.list-img-wrapper a {
  color: #ffffff!important;
  text-align: center!important;
  font-size: 30px!important;
  padding: 30px!important;
  font-family: "Cinzel";
  text-shadow: 0px 0px 20px #000000!important;
  z-index: 3;
}

.carousel-wrapper {
  display: block;
  margin: 0 auto;
  padding: 10% 0 0 0;
}

.image-carousel a {
  text-decoration: none!important;
}

.nivo-lightbox-overlay {
  background: #1a2734d3!important;
}

.post-gallery {
  display: block;
  width: 80%;
  padding: 0;
  margin: 50px auto;
}

.post-gallery img {
  display: block;
  width: 100%;
  max-width: 1700px;
  height: auto;
  padding: 0;
  margin: 0 auto;
}

.primary-sidebar {
  flex-basis: 25%;
  padding: 2%;
  background-color: #ccc;
}

.article-container {
  display: flex;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  flex-flow: wrap;
}

.article-loop {
  flex-basis: 50%;
  padding: 15% 5%;
  flex-grow: 1;
}

.article-loop .button {
  margin-top: 30px;
}

.blog .article-loop-page-title {
  font-size: 0px;
}

.article-loop h2 {
  text-transform: none!important;
  font-size: 1.2em;
  letter-spacing: 0;
}

.article-loop .article-loop-title {
  text-decoration: none;
  cursor: pointer!important;
  color: #ffffff!important;
  text-transform: uppercase;
}

.article-loop .featured-image-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 50px;
  position: relative;
}

.article-loop .featured-image-wrap img {
  position: absolute;
  left: 0;
  top: 0;
  height: auto;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  transform: translateX(50%), translateY(50%);
  transition: all 0.3s ease-in-out;
  }


.gallery-viewport {
  height: 50vh;
  overflow: hidden;
}

.article-loop .excerpt p {
    text-align: center;
    color: #ffffff;
  }

.article-loop .featured-image-wrap img:hover {
  transform: scale(1.05);
}

.vc_column-inner {
  padding-top: 0!important;
  margin-left: auto;
  margin-right: auto;
}


.vc_row {
  margin-left: auto!important;
  margin-right: auto!important;
}

p, span, li {
  font-size: 1em;
  line-height: 1.75em;
  font-weight: 300;
}

a {
color: #000000;
}

blockquote {
  font-size: 1em;
  line-height: 1.75em;
  font-weight: 300;
}


.featured-image-wrap img {
display: block;
width: 100%;
height: auto;
margin: 0;
}

.post-nav {
display: block;
position: relative;
background-color: #72869B;
padding: 3%;
margin: 0;
}

.nav-single {
width: 100%;
display: flex;
flex-wrap: nowrap;
flex-flow: row;
align-items: center;
}

.nav-single div {
flex-basis: 33%;
}

.nav-single div a {
  text-decoration: none;
  color: #ffffff;
}

.nav-previous {
text-align: left;
}

.nav-next {
text-align: right;
}

.nav-archive {
text-align: center;
}

.mobile-section{ 
display: none!important;
}

.archive-title {
  display: block;
  padding: 2% 1%;
  background-color: #72869B;
  color: #ffffff;
  margin: 0 0;
}

.contact-methods a {
  text-decoration: none;
}

/* Shortcuts */

.secondary {
  background-color:#2C3E50;
}

.attention {
  color: #8B6F56;
  font-weight: bold;
}

.red {
  color: #fc2828;
}

.white {
  color: #ffffff;
}

.off-white {
  color: #E3DACF;
}

.center {
  text-align: center!important;
  margin-left: auto!important;
  margin-right: auto!important;
}

.right {
  text-align: right!important;
  margin-left: auto!important;
  margin-right: 0!important;
}


.wide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.thin {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#totop {
  display: none;
  position: fixed;
  bottom: 15px; 
  right: 15px;
  z-index: 999; 
  border: none; 
  outline: none; 
  background-color: #72869B;
  color: white; 
  cursor: pointer;
  padding: 10px 12px; 
  border-radius: 50%; 
  font-size: 1.5em;
  transition: all 0.3s ease-in-out!important;
}

#totop:hover {
  transform: scale(1.05);
}

.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  margin: 6% 0 0 0;
  padding: 30px;
  gap: 30px;
  background-color: #eee;
  color: #5D6062;
}

.contact-wrapper p, .contact-wrapper h3, .contact-wrapper h4  {
  text-align: left;
}

.contact-wrapper h3 {
  margin-top: 0!important
}

.contact-wrapper h4 {
  font-size: .9em;
}

.contact-wrapper p {
  font-size: .9em;
  color: #5D6062;
}

.contact-wrapper a {
  text-decoration: none;
  color: #5D6062;
}

.contact-wrapper ul {
  text-align: left;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
  gap: 30px;
  margin-block-start: 0em!important;
  margin-block-end: 0em!important;
  margin-inline-start: 0px!important;
  margin-inline-end: 0px!important;
  padding-inline-start: 0px!important;
}

.contact-wrapper li {
  list-style-type: none;
  font-size: .9em;
}

.headshot {
  flex-basis: 30%;
}

.headshot img {
  height: 300px!important;
  width: auto!important;
}

.blocked {
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Tables */
/* CA Estates Table Styling */
table {
  width: 70%;
  margin: 2rem auto;
  border-collapse: collapse;
  font-family: 'Arial', sans-serif;
  table-layout: fixed;
  color: #1e1e1e; /* Neutral dark text for readability */
}

/* Header styling using brand teal */
table th {
  background-color: #2d3d50; /* Deep teal brand color */
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 14px;
  border-bottom: 2px solid #ffffff;
}

/* Table data cells */
table td {
  padding: 14px;
  border: 1px solid #e5e5e5;
  word-wrap: break-word;
}

/* Alternating row background colors */
table tr:nth-child(even) {
  background-color: #eee; /* Soft brand-inspired mint */
}

table tr:nth-child(odd) {
  background-color: #ffffff; /* Clean white for contrast */
}

/* Responsive handling */
@media screen and (max-width: 768px) {
  table {
    width: 100%;
    font-size: 14px;
  }
}

/* Elements */

.extra-large {
  font-size: 14em;
  margin-bottom: 0!important;
  margin-top: 40px!important;
  line-height: 1em!important;
}

.button, .gform_button, .primary, .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
  display: block!important;
  padding: 10px 30px!important;
  color: #ffffff!important;
  font-size: 12px!important;
  text-transform: uppercase!important;
  letter-spacing: 2px!important;
  font-weight: 600!important;
  text-decoration: none!important;
  transition: all 0.3s ease-in-out;
  width: fit-content!important;
  line-height: 1.5em!important;
  border: 0;
  border-radius: 5px;
  -webkit-appearance: none!important;
}

.gform_button, .primary, .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
  background-color:#72869B!important;
}

.cell-wrapper .button {
  color: #ffffff!important;
  background-color: #2d3d50!important;
}

.gform_button {
  margin-left: auto!important;
  margin-right: auto!important;
  -webkit-appearance: none!important;
}

.button:hover {
  transform: scale(1.05);
}

.gform_title {
  text-align: center;
}

/* Components */

.listings-filter {
  display: block;
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 1300px;
  text-align: center;
}

/* Centered Pagination */
.archive-pagination {
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center;
    flex-wrap: wrap;           /* responsive on small screens */
    gap: 10px;                 /* spacing between buttons */
    margin: 60px auto 40px;
    width: 100%;
}

/* All pagination items (links + current span) */
.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    height: 44px;
    padding: 0 16px;

    text-decoration: none;
}


/* popup */
.popup-window {
display: block;
position: fixed;
top: 0;
left: 0;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
z-index: 999999;
background-color: rgba(0, 0, 0, 0.70);
}

.popup {
display: block;
position: relative;
top: 15vh;
left: 20%;
width: 60%;
height: 70vh;
padding: 30px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
background-color: #f2f2f2;
text-align: center;
overflow-y: scroll;
}

.hideform {
display: none;
}

.popup-close {
float: right;
background-color: #000000;
color: #ffffff;
border: 0;
padding: 10px 15px;
font-weight: 600;
font-size: 1.1em;
text-align: center;
height: 100%;
}

/* Product Names */

.product-names .wpb_column:after {
  content: "•";
  color: #A99975;
}

.product-names .wpb_column:last-child::after {
  content: "";
}

.product-names .wpb_column .wpb_text_column { 
  margin-bottom: 0!important; 
}

.product-names .wpb_column .wpb_text_column h3 { 
  margin-top: 0!important; 
}

.product-names .wpb_column:nth-child(1) .wpb_text_column {
   -webkit-animation-delay: .1s!important; 
  }

.product-names .wpb_column:nth-child(2) .wpb_text_column { 
  -webkit-animation-delay: .4s!important; 
}


.product-names .wpb_column:nth-child(3) .wpb_text_column { 
  -webkit-animation-delay: .7s!important; 
}


.product-names .wpb_column:nth-child(4) .wpb_text_column { 
  -webkit-animation-delay: 1s!important; 
}


.product-names .wpb_column:nth-child(5) .wpb_text_column { 
  -webkit-animation-delay: 1.3s!important; 
}


/* Social */

.author-social {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  height: 100%;
}

.author-social a, .author-social .fa, .author-social .fa-brands {
font-size: 1.1em;
color: #ffffff;
}

.hero-headline {
width: 80%;
max-width: 1300px;
}

.hero-logo {
width: 13%;
min-width: 100px;
height: auto;
}

.hero-scroll-icon {
width: 4%;
min-width: 30px;
height: auto;
}

/* Post Carousel */ 
.post-carousel {
  background: transparent;
}

.post-carousel-cell {
  width: 30%;
  counter-increment: gallery-cell;
  border: 1px solid #eee;
}

.post-carousel-cell p {
  color: #5D6062;
}

.post-carousel-cell a {
  text-decoration: none;
}

.cell-image {
  display: block;
  width: 100%;
  height: 300px;
  overflow: hidden;
  text-align: center;
}

.cell-image img {
  display: block;
  width: 110%;
  height: auto;
  min-height: 100%;
}

.single-post-carousel {
  margin-top: 8%;
  margin-bottom: 8%;
}

.cell-wrapper {
  position: relative;
  display: block;
  font-size: 1em;
  padding: 10px 30px 30px 30px;
  margin: 0 auto;
  }

  .cell-wrapper p {
    font-size: .9em;
    margin-bottom: 30px;
  }

  /* flickety */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 30px 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }


/* Slider */

.slider-section .wpb_wrapper {
  position: relative;
}

.slider-section .wpb_content_element {
  margin-bottom: 0!important;
}

.slider-section .vc_column_container .vc_column-inner {
  padding-left: 0!important;
  padding-right: 0!important;
}

slider-text

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
  padding: 0;
  width: 100%;
}

/* Hide the images by default */
.mySlides {
  display: none;
  background-attachment: fixed;
  background-position: center center;
  min-height: 700px;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-content: flex-end;
  justify-content: center;
}

.slide-content-wrapper {
  width: 100%;
  min-width: 300px;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  background: #ffffffe1;
}

.slider-text {
  display: block;
  width: 70%;
  max-width: 1300px;
  padding: 1%;
  margin: 0 auto;
}

.slide-content-wrapper .button {
  margin-top: 40px!important;
}

.slide-content-wrapper a {
  text-decoration: none;
}

.slide-content-wrapper h3 {
  font-size: .9em;
  font-weight: normal;
  margin-block-start: 0em;
  margin-block-end: 0em;
  color: #444545;
}


/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 40%;
width: auto;
padding: 0;
color: #ffffffca;
font-size: 2em;
transition: 0.6s ease;
border-radius: 0;
cursor: pointer;
}

/* Position the "next button" to the right */
.next {
right: 50px;
}

.prev {
  left: 50px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  color: #ffffff;
}

/* thumbnail */
.image {
  display: block;
  position: relative;
  width: 50%;
  min-width: 300px;
  height: 500px;
  overflow: hidden;
  border-radius: 50px;
  padding: 0;
  margin: 0 auto;
}

.image img {
  display: block;
  position: absolute;
  left: 50%;
  height: 120%;
  width: auto!important;
  min-width: 100%;
  padding: 0;
  margin: 0;
  transform: translateX(-50%);
}

/* The dots/bullets/indicators */

.dot-nav {
  position: absolute;
  left: 0;
  bottom: 30px;
  text-align: center;
  width: 100%;
}

.dot {
cursor: pointer;
height: 5px!important;
width: 5px!important;
margin: 0 5px 0 5px!important;
background-color: #bbb!important;
border-radius: 50%!important;
display: inline-block!important;
transition: background-color 0.6s ease!important;
}

.active, .dot:hover {
  background-color: #2C3E50!important;
}

.carousel-nav .carousel-cell {
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.carousel-nav .carousel-cell img {
  display: block;
  width: auto;
  height: 150%;
  margin: 0 auto;
}

/* Animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

.slide {
  -webkit-animation: slide 0.5s forwards;
  -webkit-animation-delay: 2s;
  animation: slide 0.5s forwards;
  animation-delay: 2s;
}

@-webkit-keyframes slide {
  100% { left: 0; }
}

@keyframes slide {
  100% { left: 0; }
}
 /* Animated counter */

 .counter-wrapper {
  background-color: #2d3d50;
  border-radius: 15px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 15px 15px 30px 15px;
 }

 .counter-wrapper p {
  margin: 0!important;
}

 .counter-wrapper .wpb_content_element {
  margin-bottom: 0!important;
}

 .guide-counter {
   text-align: center;
   font-size: 60px!important;
   color: #ffffff;
   padding: 0;
 }

 .guide-marketing-icons img {
  max-width: 200px;
 }

 .steps-counter #value-d {
   font-size: 100px!important;
 }



/* Footer Form */
.gform_wrapper input[type=color], 
.gform_wrapper input[type=date], 
.gform_wrapper input[type=datetime-local], 
.gform_wrapper input[type=datetime], 
.gform_wrapper input[type=email], 
.gform_wrapper input[type=month], 
.gform_wrapper input[type=number], 
.gform_wrapper input[type=password], 
.gform_wrapper input[type=search],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=text], 
.gform_wrapper input[type=time], 
.gform_wrapper input[type=url], 
.gform_wrapper input[type=week], 
.gform_wrapper select, 
.gform_wrapper textarea {
border: 0!important;
text-align: center;
font-family: "Inter", Arial, Helvetica, sans-serif;
color: #000000;
padding: 25px 20px!important;
}

input[type=search] {
border: 0!important;
text-align: center;
font-family: "Inter", Arial, Helvetica, sans-serif;
color: #000000;
padding: 12px 20px!important;
width: 80%;
}

/* Filter Container */
.listings-filter {
    display: flex;
    align-items: center;     /* vertical centering */
    justify-content: center;
    flex-wrap: wrap;         /* responsive */
    gap: 15px;               /* spacing between inputs */
    margin: 30px auto;
}

/* Select Inputs */
.listings-filter select {
    padding: 12px 20px !important;
    height: auto;
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 5px;
}

.gfield_label, .gform-field-label, .gform-field-label--type-sub, .popup-window .gfield_label, .popup-window .gform-field-label--type-sub{
  display: none!important;
  visibility: hidden!important;
  margin: 0!important;
}

.gform_confirmation_message {
  color: #E3DACF!important;
  text-align: center!important;
}

.gform_footer {
  margin-top: 50px!important;
}

.gform_wrapper.gravity-theme input[type=color]::placeholder, 
.gform_wrapper.gravity-theme input[type=date]::placeholder, 
.gform_wrapper.gravity-theme input[type=datetime-local]::placeholder, 
.gform_wrapper.gravity-theme input[type=datetime]::placeholder, 
.gform_wrapper.gravity-theme input[type=email]::placeholder, 
.gform_wrapper.gravity-theme input[type=month]::placeholder, 
.gform_wrapper.gravity-theme input[type=number]::placeholder, 
.gform_wrapper.gravity-theme input[type=password]::placeholder, 
.gform_wrapper.gravity-theme input[type=search]::placeholder, 
.gform_wrapper.gravity-theme input[type=tel]::placeholder,
.gform_wrapper.gravity-theme input[type=text]::placeholder, 
.gform_wrapper.gravity-theme input[type=time]::placeholder, 
.gform_wrapper.gravity-theme input[type=url]::placeholder, 
.gform_wrapper.gravity-theme input[type=week]::placeholder, 
.gform_wrapper.gravity-theme select::placeholder, 
.gform_wrapper.gravity-theme textarea::placeholder {
color: #5D6062;
}

.gform_wrapper input::placeholder {
  color: #5D6062;
}

.footer-form .gfield_checkbox {
display: flex!important;
flex-flow: row wrap;
align-items: stretch;
justify-content: flex-start;
align-content: stretch;
margin: 10px auto;
}

.gform_wrapper .gfield-choice-input, .gform_wrapper .gform-field-label {
vertical-align: top!important;
}

.gform_wrapper .gfield-choice-input {
width: 20px;
height: 20px;
}

.gform_wrapper .gchoice {
width: 33%;
}


/* footer cta banner */
.footer-cta-wrapper {
flex-flow: wrap;
align-items: stretch;
justify-content: center;
align-content: center;
padding: 10% 8% 12% 8%;
background-position: center;
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
}

.footer-cta-wrapper div {
flex-basis: 50%;
}

.footer-cta-wrapper p {
  margin: 40px 0;
}

.cta-banner-logo {
  display: block;
  margin: 0 auto 30px auto;
  width: 10%;
  height: auto;
  min-width: 100px;
}

/* end footer banner */

.social-share-wrapper {
display: none;
}

.post-template-default .social-share-wrapper {
display: block;
}

.social-share-buttons {
display: flex;
align-content: stretch;
flex-flow: row wrap;
align-items: baseline;
justify-content: center;
margin: 2% 0;
}

.social-share-buttons .button {
margin: 0 5px;
font-size: 1.2em;
}

.deco-bullet {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.deco-bullet li {
  padding-left: 1em;
  text-indent: -1em;
  font-weight: bold;
}

.deco-bullet li:before {
  content: url('https://route66marbella.com/wp-content/uploads/2024/11/deco-bullet.png');
  padding-right: 10px;
  margin-top: 30px;
}


.map-section .vc_column-inner {
  max-width: 100%!important;
}

.map-section iframe {
  display: block;
  width: 100%!important;
  height: 500px!important;
}

.map-section .wpb_content_element {
  margin-bottom: 0!important;
}

.long-description {
  text-align: left;
}

.listing-cta {
  display: block;
  margin: 50px auto;
}

.gtranslate_wrapper {
  margin: auto auto;
}

.popmake-content {
  padding: 30px;
}

.listing-tags ul, .post-tags ul {
  font-size: 13px;
  list-style: disc;
  padding-left: 1.5rem;
  margin: 40px 0;
  display: flex;
  flex-wrap: wrap;
  text-transform: capitalize;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  text-align: left;
  gap: 2% 3%;
}

.listing-tags li, .post-tags li {
    flex-basis: 30%; /* 3 columns */
    text-align: left;
    padding: 5px 10px;
  }

.listing-tags a, .post-tags li {
    text-decoration: none;
    color: inherit;
}

/* Tablet */
@media (max-width: 900px) {
    .listing-tags li, .post-tags li {
        flex: 1 1 calc(50% - 1rem); /* 2 columns */
    }
}

/* Mobile */
@media (max-width: 600px) {
    .listing-tags li, .post-tags li {
        flex: 1 1 100%; /* 1 column */
    }
}


/* Responsive */

@media only screen and (max-width: 1200px) {
  .post-carousel-cell {
    width: 50%;
    height: auto!important;
    border: 1px solid #eee;
    padding: 0!important;
  }
}

@media only screen and (max-width: 1000px) {

  .search-wrap .search-results li {
    display: block!important;
    text-align: center;
    margin: 50px 0;
    padding: 30px;
    border-bottom: 1px solid #eee;
    justify-content: center!important;
  }

  .search-results li div {
    flex-basis: 100%;
  }

  .search-results li .button {
    margin: 30px auto;
    text-align: center;
  }

  .article-sources h4, .article-sources ul, .article-sources li, .article-sources a {
    display: block!important;
    margin: 0 auto 0 auto!important;
    text-align: center!important;
    padding: 5px 10px!important;
  }

  p {
    font-size: .8rem;
  }

  .counter-wrapper {
    width: 100%!important;
    margin: 0 auto;
    padding: 30px 15px 30px 15px;
   }
  

  .guide-counter p {
    font-size: 40px!important;
  }


 h4, h3 {
    font-size: 1rem;
    text-align: center;
  }

.long-description {
  text-align: center;
}

  .listings-template-default h1 {
    margin-top: 50px;
    font-size: 2em;
  }

  .button, .gform_footer input[type=submit], 
 .gform_button {
    font-size: .55rem!important;
    padding: 10px 20px!important;
  }

  .mySlides {
    background-attachment: scroll;
    min-height: 85vh;
  }

  .slide-content-wrapper {
    flex-wrap: wrap;
    gap: 0;
  }

  .slide-content-wrapper .image {
    width: 175px;
    height: 350px;
  }

  .slide-content-wrapper h3, .slide-content-wrapper h4 {
    text-align: center;
  }

  .slide-content-wrapper .button {
    text-align: center;
    margin: 30px auto!important;
  }
  
  .nav-child:first-child{
    flex-basis: 75%;
    padding: 0 0 0 30px;
  }

  .nav-child:last-child{
    flex-basis: 25%;
    padding: 0 30px 0 0;
  }

  .article-loop {
    flex-basis: 100%;
    border-right: 0;
  }

  p {
    text-align: center;
  }

  .header-details {
    width: 90%!important;
    padding: 1%;
  }

  .article-full {
    text-align: center;
  }

  .article-full h3 {
    text-align: center;
    font-size: 1.4em!important;
  }

  .article-full li {
    text-align: left;
  }

  .mobile-section{ 
    display: block!important;
  }

  .desktop-section { 
    display: none!important;
  }

  .nav-child:nth-child(2), .hide-mobile {
    display: none!important;
  }

  .hide-desktop {
    display: block!important;
    visibility: visible!important;
  }

  .mobile-menu-toggle {
    display: block;
    float: right;
    background-color: transparent;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 1.5em;
    margin: 0;
    border: 0;
    height: 100%;
  }

  #mobile-menu-close {
    float: right;
    background-color: transparent;
    color: #ffffff;
    margin: 0 0 0 auto;
    padding: 25px 25px;
    font-weight: 600;
    font-size: 1.5em;
    border: 0;
  }

  .menu-main-menu-container {
    height: auto!important;
    clear: both;
  }

  .author-social {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 20vh;
  }
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  background-color: #2d3d50;
  padding: 0;
  z-index: 999999;
  width: 100vw;
  height: 100vh;
  overflow-y: auto; /* scroll if needed */
}

.mobile-menu ul {
  list-style-type: none;
  padding-inline-start: 0 !important;
  margin: 0;
}

/* All links */
.mobile-menu ul li a {
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85em !important;
  letter-spacing: 2px;
  font-weight: 600 !important;
  display: block;
  padding: 15px 20px; /* more clickable area */
}

/* All items have top and bottom border */
.mobile-menu ul li {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Remove double borders between siblings */
.mobile-menu ul li + li {
  border-top: none;
}

/* Submenu styling */
.mobile-menu .sub-menu {
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: #2d3d50; /* same background */
}

/* Child items: indent left */
.mobile-menu .sub-menu li a {
  padding-left: 40px; /* indent child links */
  font-size: 0.75em !important;
  font-weight: 600 !important;
}

.mobile-menu .sub-menu li a::before { 
  content: "- ";
}


  .author-social {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

.article-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .popup {
    top: 10vh;
    left: 0;
    width: 90%;
    height: 70vh;
    margin-left: auto!important;
    margin-right: auto!important;
  }

  .text {
    width: 98%;
  }

  .footer-cta-wrapper {
    background-attachment: scroll;
  }

  .featured-image-wrap {
    background-attachment: scroll !important; 
    background-size: cover !important; 
  }

  .featured-hero-wrap {
    background-attachment: scroll !important; 
    background-size: cover !important; 
  }

    
  .featured-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    margin: auto auto;
    }

  .product-names .wpb_column:after {
    content: ""!important;
  }

  .blog-wrapper {
    grid-template-columns: repeat(1, 1fr);
    column-gap: 0px;
    row-gap: 30px;
    max-width: 100%;
    margin: 30px auto;
    text-align: center;
  }

  .listings-template-default .featured-image-wrap {
    justify-content: center;
  }

  .featured-hero-wrap {
    justify-content: center;
  }

  .contact-wrapper {
    flex-flow: row wrap;
    margin: 6% 0 0 0;
    padding: 30px;
    gap: 30px;
  }

  .contact-wrapper p {
    text-align: center;
  }

  .contact-wrapper ul {
    text-align: center;
    align-items: center;
    align-content: center;
    justify-content: center;
  }

  .blog-wrapper {
    margin: 30px 30px;
  }

  .seller-guide-docs-list {
    flex-wrap: nowrap!important;
}

  .seller-guide-docs-list .wpb_column:first-of-type{
    width: 20%!important;
  }
  
  .vc_icon_element .vc_icon_element-size-lg {
    width: 4em!important;
  }

  .compact {
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }

  .compact .wpb_column:first-child {
    flex-basis: 10%;
  }

  .broker-profile h3 {
    text-align: center !important;
  }

  .bre-gallery a {
    flex-basis: 100px !important;
    height: 100px !important;
  }

  .sellers-guide-marketing-icons img {
    max-width: 50%!important;
  }

  .guides-template-default h1 {
    font-size: 3em!important; 
    text-align: center;
  }

  .guides-template-default h2 {
    font-size: 2em!important;
    text-align: center;
  }

}


@media only screen and (max-width: 800px) {
  .post-carousel-cell {
    width: 100%;
  }
}