/* ============================================================
   DOGTREKKER ADDITIONAL CSS (Cleaned)
   Last updated: January 2025
   ============================================================ */

/* === FONT AWESOME FIXES === */
i {
  font-family: 'FontAwesome';
  font-style: inherit !important;
}

.inner-manu-bar ul.harmburger-menu li > em {
  font-style: inherit !important;
}

.inner-manu-bar ul.harmburger-menu i {
  font-family: 'FontAwesome';
  line-height: normal !important;
}

em#navigation_drop {
  font-style: inherit !important;
}

/* === ADMIN / EDITOR === */
body.wp-admin .wp-block-post-content p {
  margin-bottom: 15px !important;
}

body#tinymce {
  padding: 0 !important;
}

/* === LINKS === */
a:visited {
  text-decoration: none !important;
}

:root :where(a:where(:not(.wp-element-button))) {
  text-decoration: none !important;
}

h2 a,
h2 a:link,
h2 a:visited,
h2 a:hover,
h2 a:active {
  color: #667F8D;
}

h3 > a {
  color: #65808D !important;
  text-transform: uppercase !important;
}

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

/* === HEADINGS === */
/* NOTE: Scoped to post-59196 only. Remove if no longer needed. */
.post-id-59196 h2,
.post-id-59196 h3 {
  color: #66808D;
}

/* === LAYOUT === */
body > div.wrap.container {
  margin-top: 10px !important;
}

.moveup {
  margin: 0;
}

.slider-form-box {
  z-index: inherit;
}

.destinations-button.common-btn {
  position: relative;
  z-index: 100;
}

/* === HOME BANNER === */
.wp-block-column.home-banner {
  height: 100vh !important;
}

/* === PAGE TITLE STYLES === */
body > div.wrap.container > div > main > div > div > main > div:nth-child(1) > div > div > div > h1 {
  color: #fff;
  text-shadow: 2px 2px 4px #000 !important;
}

body > div.wp-block-columns.new-header.single > div > div > div > h1 {
  color: #fff;
  text-shadow: 2px 2px 4px #000 !important;
}

/* === BLOG / POSTS === */
.blogwrraper.details-page .related-post-box > .imgbox {
  min-height: auto !important;
}

/* === IMAGES === */
p > img {
  margin: 10px !important;
}

div.entry-content > figure > figcaption {
  text-align: left;
}

body > div.wrap.container > div > main > div.wp-block-columns.container.single > div > div.entry-content > div.wp-block-image > figure {
  max-width: 300px;
}

body > div.wrap.container > div > main > div.wp-block-columns.container.single > div > div.entry-content > div.wp-block-image.size-large > figure {
  width: 100% !important;
}

body > div.wrap.container > div > main > div.wp-block-columns.container.single > div > div.entry-content > div.wp-block-image > figure > img {
  width: 400px;
  height: 300px;
}

/* === LISTS === */
body > div.wrap.container > div > main > div.wp-block-columns.container.single > div > section > div.uagb-columns__inner-wrap.uagb-columns__columns-2 > div.wp-block-uagb-column.uagb-column__wrap.uagb-column__background-undefined.uagb-block-ac193aef > ul {
  list-style-type: disc !important;
}

body > div.wrap.container > div > main > div > div > main > div > div > div > div > ul {
  list-style-type: disc !important;
  margin-bottom: 10px !important;
}

div.wp-block-columns.container.single > div > div.entry-content > ul {
  list-style-type: disc;
  margin-left: 10px;
}

body.itineraries-template-default ul {
  padding: 20px 0;
}

/* === TRIBE EVENTS / COMMUNITY === */
body.tribe_community_edit div#search-header-1 {
  display: none !important;
}

body.tribe_community_edit div#tribe-community-events {
  border: 0;
  padding: 0;
}

.archive-tribe_events-data .event-arrow-d {
  bottom: 25%;
}

.edit_view-event-wrap a.tribe-button.tribe-button-secondary {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  background-color: #66808D;
  height: auto;
  padding: 10px 14px;
  line-height: 22px;
  display: block !important;
  margin: 20px 0 0;
  max-width: 360px !important;
  font-family: "gothammedium";
  text-align: center;
  border: 0;
}

/* === SEARCH FORM === */
.eq-search-loading #eq-loading-indicator {
  display: inline-block;
}

.wp-block-column.banner-cont-area .search-form-wrap form.search-form.eq_destination_search_form button.near-me-btn {
  padding: 20px 25px;
  margin-left: 11px;
}

button.near-me-btn-max {
  background: #66808d;
  padding: 20px 30px;
  border-radius: 40px;
  color: #fff;
  height: 80px;
  font-size: 20px;
  margin-left: 20px;
  border: 2px solid #fff;
  outline: none;
  text-transform: capitalize;
}

button.near-me-btn-max i.fa-solid.fa-location-dot {
  margin-right: 10px;
}

/* === EVENT SEARCH FORM === */
.new-search-event-form .one-tp #ecsa-search input#ecsa-search-box {
  box-shadow: none !important;
  border: 0 !important;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 50px;
  padding: 20px 36px 20px 75px;
  border-width: 0;
  height: 80px;
  font-weight: 700;
  margin-top: 0;
  font-size: 26px;
  color: #b2b2b2;
  outline: none !important;
  background: #fff !important;
  opacity: 1;
}

.new-search-event-form .inner-f-tp .second-tp button#search_eventss {
  background: #66808d;
  padding: 20px 30px;
  border-radius: 40px;
  color: #fff;
  height: 80px;
  font-size: 20px;
  margin-left: 20px;
  border: 2px solid #fff;
  outline: none;
  text-transform: capitalize;
}

.new-search-event-form button.near-me-btn-max i.fa-solid.fa-location-dot {
  margin-right: 10px;
}

/* === GTM AD GRID === */
.gtm-tags {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.gtm-tag {
  display: block;
}

.gtm-tag div {
  min-width: 300px;
  min-height: 250px;
}

/* === REGIONS GRID === */
.custom-grid {
  max-width: 70%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
  padding: 20px;
}

.grid-item {
  border: 1px solid #ddd;
  padding: 15px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.grid-item h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  height: 3em;
  line-height: 1.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.grid-item .img-responsive {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.grid-item p {
  font-size: 0.9em;
  line-height: 1.4;
  margin-bottom: 15px;
}

.grid-item .read-more {
  display: inline-block;
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

/* === GRAVITY FORMS === */
#ginput_full.gform-grid-col {
  display: block;
  width: 100%;
  margin-top: 15px;
}

/* === PAGE-SPECIFIC OVERRIDES === */
.postid-31072 div#search-header-1 {
  display: none;
}

.term-108 .wp-block-columns.hcategory-container.single,
.term-108 div#more-section {
  margin-bottom: 0 !important;
}

/* === MISC / UTILITIES === */
.GoogleActiveViewElement {
  display: none !important;
}

ul.nav > li:nth-of-type(9)::after {
  display: none !important;
  content: none !important;
}

/* ============================================================
   MEDIA QUERIES
   ============================================================ */

/* --- Tablet (max 1200px) --- */
@media only screen and (max-width: 1200px) {
  .wp-block-column.banner-cont-area .search-form-wrap form.search-form.eq_destination_search_form button.near-me-btn {
    margin-left: 0;
  }

  button.near-me-btn-max {
    padding: 15px 15px;
    margin: 10px 0 0 !important;
    height: 60px;
    font-size: 18px;
    margin-left: 4px;
  }

  .wp-block-column.home-banner {
    height: calc(100vh - 151px) !important;
  }
}

/* --- Tablet (max 1024px) --- */
@media screen and (max-width: 1024px) {
  h4 {
    font-size: 14px !important;
  }

  .rm-space p {
    margin-bottom: 0;
  }

  .dogtr-cities-counties-regions-above-related-300x250-mobile {
    margin: 0 !important;
  }
}

/* --- GTM grid: hide third ad (700-999px) --- */
@media (max-width: 999px) and (min-width: 700px) {
  .gtm-tags .gtm-tag:last-child {
    display: none;
  }
}

/* --- Small tablet (max 992px) --- */
@media only screen and (max-width: 992px) {
  .wp-block-column.home-banner {
    height: 400px !important;
  }
}

/* --- Regions grid: smaller columns (max 768px) --- */
@media (max-width: 768px) {
  .custom-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* --- GTM grid: show only first ad (max 699px) --- */
@media (max-width: 699px) {
  .gtm-tags .gtm-tag:not(:first-child) {
    display: none;
  }
}

/* --- Mobile (max 680px) --- */
@media only screen and (max-width: 680px) {
  .single .wp-block-column.single-peragraph-txt-2 .wp-block-image figure.alignleft {
    width: 100%;
    text-align: center;
    margin: 0 0 15px;
  }

  .wp-block-image.m-center-img figure.alignleft,
  .wp-block-image.center-m-img figure.alignleft {
    margin-left: auto !important;
    margin-right: auto !important;
    margin: 0 auto;
    float: none;
    width: 100%;
    text-align: center;
  }

  .wp-block-image.m-center-img figure.alignleft img,
  .wp-block-image.center-m-img figure.alignleft img {
    margin: 0 auto;
  }

  .wp-block-image.center-m-img figure.alignleft img {
    margin: 0 auto 0;
  }

  .search-form-wrap.landing-pages.full-fieldexpand p {
    display: none;
  }

  .new-search-event-form .one-tp #ecsa-search input#ecsa-search-box {
    padding: 11px 12px 20px 51px;
    height: 60px;
    font-size: 16px;
  }

  .new-search-event-form #ecsa-search.layout-medium .ecsa-search-icon {
    top: 10px !important;
  }

  .new-search-event-form .inner-f-tp .second-tp button#search_eventss {
    padding: 13px 30px;
    height: 60px;
    font-size: 18px;
    margin-left: 0;
  }
}

/* --- Small mobile (max 600px) --- */
@media only screen and (max-device-width: 600px) {
  figcaption {
    margin-bottom: 20px;
  }
}

/* --- Phone (max 767px) --- */
@media only screen and (max-device-width: 767px) {
  button.near-me-btn-max {
    height: 60px;
    font-size: 18px;
    margin: 10px auto 0;
    max-width: 100%;
    width: 100%;
  }
}

h1.large {margin-top:100px!important}
#1000,
#1000x124,
.gpt-topdesk-container {
  position: relative;
  z-index: 1;
  clear: both;
}

/* Push content below the absolute-positioned header - desktop only */
@media (min-width: 1024px) {
  .top-banner {
    padding-top: 184px;
  }
}



.tax-city [id*="div-gpt-ad"],
.tax-region [id*="div-gpt-ad"],
.tax-county [id*="div-gpt-ad"] {
  margin-top: 100px !important;
  margin-bottom: -50px !important;
}


body.tax-city > figcaption,
body.tax-region > figcaption,
body.tax-county > figcaption {
  margin-top: 50px !important;
  margin-bottom: -50px !important;
}


/* Global fix: Reduce horizontal banner whitespace on city/region/county pages */
body.tax-city [id*="div-gpt-ad"],
body.tax-region [id*="div-gpt-ad"],
body.tax-county [id*="div-gpt-ad"] {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}





.page-id-1097 .gpt-topdesk-container,
.page-id-1097 [id*="div-gpt-ad"] {
  margin-top: 100px !important;margin-bottom:-100px;
}

.tax-directory_category [id*="div-gpt-ad"] {
  margin-top: 50px !important;
}




body.tax-directory_category .gpt-topdesk-container[style] {
  margin-top: 45px !important;}
	
	@media (min-width: 768px) {
  #search-header-2,
  .show-smobile {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #search-header-1,
  .hide-for-small-mobile {
    display: none !important;
  }
}

figcaption.bannerr-caption {
  margin-top: 20px !important;
  position: relative;
  z-index: 1;
}


.event-content ul,
.event-content ol {
  list-style-position: outside;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.event-content ul {
  list-style-type: disc;
}

.event-content ol {
  list-style-type: decimal;
}

.event-content li {
  margin-bottom: 0.5em;
}

/* Fix 1: Remove white space above hero on event pages */
.single-sc_event .top-banner {
  padding-top: 0 !important;
}

/* Fix 2: Fix caption positioning so it doesn't overlap content below */
.single-sc_event .bannerr-caption {
  position: static;
  margin-top: 15px;
  margin-bottom: 15px;
}
	


/* Fix horizontal banner spacing - MUST BE AT ROOT LEVEL */
body.tax-city .wrap.container,
body.tax-region .wrap.container,
body.tax-county .wrap.container {
  margin-top: 0 !important;
}

body.tax-city .wp-block-columns.featured-story,
body.tax-region .wp-block-columns.featured-story,
body.tax-county .wp-block-columns.featured-story {
  padding-top: 20px !important;
}

body.tax-city .city-intro-wrap h2,
body.tax-region .city-intro-wrap h2,
body.tax-county .city-intro-wrap h2 {
  margin-top: 10px !important;
}	


body > div.wrap.container > div > main > div.wrap.container > div > main > div.wp-block-columns.featured-story.cascade-wrap.single > div > div > h2 {margin-top:20px!important}

figcaption {margin-bottom:20px!important;}


/* Fix admin bar gap */
body.admin-bar {
  padding-top: 32px !important;
}

@media only screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: 46px !important;
  }
}

body > div.wrap.container > div > main > div.wp-block-columns.featured-story.mremove-space.single > div > div > div.wp-block-column.featured-text > figure
{width:400px!important;text-align:center!important;}


h1.large{margin:0 0 0 0!important
}
	

.read-more-btn {
    background: #000 !important;
    color: #fff !important;
	
}


/* Rescue & Adoption page - topdesk banner spacing */
body.rescue-and-adoption .wp-block-columns.new-header {
    margin-bottom: 0 !important;
}

body.rescue-and-adoption div#1000 {
    min-height: 30px !important;
    height: 30px !important;
}

body.rescue-and-adoption .gpt-topdesk-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Hide the trailing 60px spacer after the ad */
body.rescue-and-adoption .gpt-topdesk-container + script + div[style*="min-height:60px"] {
    min-height: 30px !important;
    height: 30px !important;
}

#1000 {
  display: none;
}

/* Hide the first spacer after the hero */
.main .container > .wp-block-spacer:first-of-type {
  display: none;
}

@media (max-width: 767px) {
 #\31 000{
    display: none !important;
  }
}


div.search-btn-m {display:none!important}


body > header.mobile-header.show-mobile > div.container-fluid > div:nth-child(1) > div > div.show-mobile2 > div.m-form-s > form > button > i,
body > header.mobile-header.dtk-show-mobile > div.container-fluid > div:nth-child(1) > div > div.show-mobile2 > div.m-form-s > form > button > i {position:relative;left:10px;}

mark,
.mark {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
}