/*
 Theme Name: WMA Child Theme
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme created by Walker Media Agency
 Author: Walker Media Agency
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 2.0.0
*/

.plm-action-btn, .vb-action-btn { width: 100%; }
 
.quickprop-blurbs .et_pb_main_blurb_image img { margin-bottom: -10px; }

.gform-theme--framework *, .gform-theme--framework ::after, .gform-theme--framework ::before { line-height: 1.2em !important; }
.gform-theme--framework a, .gform-theme--framework button { color: #27387C; }
.gform-theme--framework a:hover { color:#a19faf; }


.service-card::after { font-family: 'ETmodules';  content: "\35";    color: #fff; position: absolute; bottom: 30px; right: 10px; font-size: 2.3rem; }

.dipl-hero-slide-title { display: none; }

.dipl_tabs .dipl_tabs_item { padding: 0 !important; }
.dipl_tabs .dipl_tab_wrapper .dipl_tabs_controls .dipl_tabs_item_title { margin-top: 20px; }

.et_pb_gutters3 .repeater-cont > :not(.no-results-layout) { grid-gap: 10px; }
.prop-attachment .dmach-acf-value:before { font-family: 'ETmodules';  content: "\35";  color: #000; position: absolute; left: -20px; }
.prop-attachment .dmach-acf-value:hover { color: #A19FAF; }

.prop-type a { color: #fff !important; }

.gform_required_legend { display: none; }

.propgrid h2 { font-size: 1rem !important; }

.propgrid .grid-item-cont { background: #f1f1f1; border-radius: 6px;  }
.propgrid .grid-item-cont .et_pb_image_container img { border-radius: 6px 6px 0 0;  }

.et_pb_gutters3.et-db #et-boc .et-l .et_pb_column_3_5 .et_pb_module { margin-bottom: 0; }
.divi-engine-grid-list-view-switcher { margin: 10px 0; }

ul.genlist li { line-height: 1.1em; margin-bottom: 0.5rem; }

.dipl_logo_slider_0 .swiper-slide img { border-radius: 10px; }

span.testi-name { color: #27387c; display: block; margin-top: 30px; }

#gform_wrapper_1{max-width:720px;margin:0 auto;}
#gform_wrapper_1 input[type="email"],#gform_wrapper_1 input[type="text"]{background:transparent;border:1px solid #fff;border-radius:4px;padding:25px;font-size:14px;color:#fff;width:100%;box-shadow:none;}
#gform_wrapper_1 ::placeholder{color:#fff;opacity:.8;}
#gform_wrapper_1 input:focus{outline:none;border-color:#fff;box-shadow:none;}
#gform_wrapper_1 .gform_footer input[type="submit"]{background:#27387C;color:#fff;border:0;border-radius:4px;padding:18px;font-size:16px;font-weight:600;width:100%;cursor:pointer;transition:background-color .2s ease,transform .1s ease;}
#gform_wrapper_1 .gform_footer input[type="submit"]:hover{background:#1f2e66;}
#gform_wrapper_1 .gform_footer input[type="submit"]:active{transform:translateY(1px);}
#gform_wrapper_1 .gfield_label{display:none;}
#gform_wrapper_1 .gfield{margin-bottom:5px;}
#gform_wrapper_1 .gform_body{margin-bottom:5px;}
#gform_wrapper_1 .gform_footer{margin-top:0!important;padding-top:0!important;gap:5px!important;}
#gform_wrapper_1 .gfield{margin-bottom:5px;}

.newsletter-white #gform_wrapper_1 input[type="email"],.newsletter-white #gform_wrapper_1 input[type="text"]{border:1px solid #27387C;color:#27387C;}
.newsletter-white #gform_wrapper_1 ::placeholder{color:#27387C;opacity:.6;}
.newsletter-white #gform_wrapper_1 .gform_footer input[type="submit"]{background:#27387C;color:#fff;}


.ptm-list{display:flex;flex-wrap:wrap;gap:32px;justify-content:flex-start}
.ptm-card{display:flex;align-items:center;gap:18px;flex:1 1 320px;max-width:320px;width:auto}
.ptm-avatar{width:74px;height:74px;flex:0 0 74px}
.ptm-avatar-img,.ptm-avatar-placeholder{width:74px;height:74px;border-radius:999px;object-fit:cover;display:block}
.ptm-avatar-placeholder{background:#e6e6e6}
.ptm-meta{display:flex;flex-direction:column;gap:6px;line-height:1.1}
.ptm-name{font-size:1.2rem;font-weight:800;color:#4a4a4a}
.ptm-phone{font-size:1rem;font-weight:500;color:#1f2f6b;text-decoration:none}
.ptm-phone:hover{text-decoration:underline}
.ptm-email{display:inline-flex;align-items:center;width:34px;height:28px}
.ptm-email svg{width:34px;height:28px;fill:#1f2f6b;display:block}

.property-card__details { padding: 0.2rem 0; gap: 0;  }
.property-card__location, .property-card__title { line-height: 1em; }
.property-card__location { margin-bottom: 0.8rem; }
.property-card__title { margin: 0 0 0.1rem !important; }
.property-card__meta { padding-top: 0.25rem; }


.footer-menu ul{list-style:none;margin:0;padding:0;}
.footer-menu li{margin:0 0 10px 0;}
.footer-menu a{font-size:.9rem;color:#fff;text-decoration:none;position:relative;transition:color .2s ease;}
.footer-menu a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:#27387C;transition:width .2s ease;}
.footer-menu a:hover{color:#27387C;}
.footer-menu a:hover::after{width:100%;}

@media (max-width:980px){.et-l--header .et_mobile_menu .sub-menu{display:none!important;}}
@media (max-width:980px){.et-l--header .et_mobile_menu li.menu-item-has-children.open>ul.sub-menu{display:block!important;}}
@media (max-width:980px){.et-l--header .et_mobile_menu li.menu-item-has-children>a{padding-right:54px;}}
@media (max-width:980px){.et-l--header .et_mobile_menu li.menu-item-has-children{position:relative;}}
@media (max-width:980px){.et-l--header .et_mobile_menu li.menu-item-has-children>.sub-menu-toggle{position:absolute;top:6px;right:8px;width:34px;height:34px;line-height:34px;text-align:center;z-index:5;cursor:pointer;}}
@media (max-width:980px){.et-l--header .et_mobile_menu li.menu-item-has-children>.sub-menu-toggle:before{font-family:"ETmodules"!important;content:"\33";font-size:22px;}}
@media (max-width:980px){.et-l--header .et_mobile_menu li.menu-item-has-children.open>.sub-menu-toggle:before{content:"\32";}}

/* blog grid formatting */
.et_grid_module .et_link_main_url {
	display: none;
}

.et_grid_module>.et_pb_post h2, .et_pb_blog_grid .et_pb_post h2 {
  text-wrap: pretty;
  padding-bottom: 0;
  text-align: left;
}

.et_grid_module>.et_pb_post .post-meta, .et_pb_blog_grid .et_pb_post .post-meta {
  text-wrap: pretty;
  padding-bottom: 1.15rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #d1d1d1;
}

.et_grid_module>.et_pb_post .more-link, .et_pb_blog_grid .et_pb_post .more-link {
  padding-top: 1rem;
}

.ptm-avatar-img, .ptm-avatar-placeholder { width: 75px; height: 96px; border-radius: 0; }

.icon-wrap {
	padding-left: 2.25rem;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 26px;
    display: flex;
    align-items: center;
    height: 50px;
	text-decoration: underline;
	color: #27387c;
}
.icon-wrap > br {
	display: none;
}

.icon-wrap:hover {
	text-decoration: none;
}

.icon-wrap.industrial-icon {
	background-image: url(/wp-content/uploads/industrial-icon.svg);
}

.icon-wrap.office-icon {
	background-image: url(/wp-content/uploads/office-icon.svg);
}

.single-post hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #ccc; /* Adjust this color to match your theme's grey */
    display: block;
}




.et_pb_post_content a {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-weight: 600;
  color: #27387c;
  text-decoration: none;
  transition: color 0.2s ease;
}
.et_pb_post_content a > br {
	display: none!important;
}

.et_pb_post_content a.icon-wrap::after {
  content: '→';
  transition: transform 0.2s ease;
}

.et_pb_post_content a:hover {
  color: #a19faf;
}

.et_pb_post_content a.icon-wrap:hover::after {
  transform: translateX(4px);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
  gap: 1rem;
}

.post-navigation .prev,
.post-navigation .next {
  flex: 1;
}

.post-navigation .prev {
  text-align: left;
}

.post-navigation .next {
  text-align: right;
}

.post-navigation a {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: #27387c; /* easy to tweak */
  transition: color 0.2s ease, transform 0.2s ease;
}

.post-navigation a:hover {
  color: #1f2e66;
  transform: translateX(2px);
}

.post-navigation .prev a:hover {
  transform: translateX(-2px);
}

.author.vcard a,
.et_pb_post_meta a[rel="author"] {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}
/* Targets ONLY the Newsletters, Quarterly Reports, and Recent Deals Category Archive */
.category-recent-deals.et_pb_post .post-meta,
.category-quarterly-reports.et_pb_post .post-meta,
.category-newsletters.et_pb_post .post-meta {
    visibility: hidden !important;
    font-size: 0 !important;
}

/* Forces the Date to stay visible and resets its size */
.category-recent-deals.et_pb_post .post-meta .published,
.category-quarterly-reports.et_pb_post .post-meta .published,
.category-newsletters.et_pb_post .post-meta .published {
    visibility: visible !important;
    font-size: 14px !important; /* Adjust to match your design */
    display: inline-block !important;
}


/* Re-adds the border-bottom to the date since the parent container is hidden */
.category-recent-deals.et_pb_post .post-meta .published,
.category-quarterly-reports.et_pb_post .post-meta .published,
.category-newsletters.et_pb_post .post-meta .published {
    border-bottom: 1px solid #e2e2e2 !important; /* Adjust color/thickness to match your old look */
    padding-bottom: 10px !important;
    display: inline-block !important;
    width: 100% !important; /* Ensures the border spans the full width of the column */
}

/* 1. Hide the entire meta container to kill the "by" and original pipes */
.single-post .et_pb_title_meta_container {
    visibility: hidden !important;
    font-size: 0 !important;
	padding-bottom: 0!important;
	margin-bottom: 0!important;
}

/* 2. Bring back the Date and Categories */
.single-post .et_pb_title_meta_container .published,
.single-post .et_pb_title_meta_container a[rel="category tag"] {
    visibility: visible !important;
    font-size: 14px !important; /* Match your site's meta font size */
    display: inline-block !important;
	pointer-events: none!important;
}
.single-post .et_pb_title_meta_container a[rel="category tag"] {
	margin-right: 2ch!important;
}

/* 3. Add the pseudo-pipe AFTER the date */
.single-post .et_pb_title_meta_container .published::after {
    content: "|";
    margin: 0 10px; /* Space it out nicely */
    color: #e2e2e2; /* Match your site's border/meta color */
    display: inline-block;
}

/* 4. Restore the bottom border to the whole row */
.single-post .et_pb_title_meta_container {
    height: auto !important; /* Ensures the container doesn't collapse */
}

.single-post .et_pb_section .et_pb_post_title_0_tb_body.et_pb_post_title {
    margin-bottom: 0 !important;
    padding-bottom: 1rem!important;
}


.testimonial_section_module .testimonial_section_module__content .plm-testimonial-quote-wrapper::before {    
    font-size: 78px;
    top: 0rem;
    left: -0.8rem;
    position: absolute;
}

.testimonial_section_module .plm-testimonial-read-more {
    display: block !important;
    width: 100% !important;
    align-items: center;
    color: #27387c;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    white-space: nowrap;
    transition: color 0.3s ease;
    position: relative;
    text-align: right;
}

.testimonial_section_module .plm-testimonial-read-more:hover {
    color: #1f2d66;
}

.testimonial_section_module .plm-testimonial-read-more::after {
    content: "→";
    display: inline-block;
    margin-left: 6px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.testimonial_section_module .plm-testimonial-read-more:hover::after {
    transform: translateX(3px);
}

.testimonial_section_module .plm-testimonial-attribution {
    font-weight: bold;
    color: #27387C;
}

.testimonial_section_module .plm-testimonial-name::before {
    content: "— ";
    display: inline;
    color: inherit;
    font-weight: normal;
}

.testimonial_section_module {
    position: relative;
}

.testimonial_section_module .plm-testimonial-section {
    position: relative;
}

.testimonial_section_module .plm-testimonial-carousel-wrapper .plm-testimonial-quote-wrapper .plm-testimonial-content {
    padding-left: 29px;
}
