/*
* Style Extends
*/

body {
    color: #333;
}

a { color: #08c; }
*:focus {
    outline: none;
}

.overlay::after {
    background: #000;
    opacity: 0.3;
}

span.ad{
    font-size:.85em;
    border:1px solid #666;
    padding:1px 3px 1px 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.linkfade {
    opacity:0.85;
}
.linkfade:hover {
    opacity:1;
}
#field_2_5 {display:flex}

#field_2_5 p {
    overflow:hidden;
    text-align:center;
      border-right: .15em solid orange; /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto;
    animation:
    typing 3.5s steps(30, end),
    blink-caret 1s step-end infinite;
    width:auto;
}

/*PLAY*/
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange }
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

input#location:placeholder-shown {
    animation: blinker 1s linear 4;
}

.fbl-button {align: left !important;}

.wtf-box {
    color: #333;
    border-bottom: 1px solid #ccc;
    display: block;
    margin-bottom: 1%
}

.wtf-ad-regional-sponsor {
    border-bottom: 3px dashed #ccc;
}

.wtf-summary {
    min-height: 1px;
}

h3.wtf-business-name {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wtf-searched-service {
    font-weight:bold;
}

.wtf-summary {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    padding: 1em 0;
}

span.thumbnail_placeholder {
    width: 200px;
    height: 110px;
    background: #333;
    display: block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.wtf-thumbnail img {
    margin-right: 10px;
    width: 200px;
}

.wtf-details {
    flex: 1 0 200px;
    min-height: 0;
}

.wtf-distance-data {
    flex: 0 1 auto;
    text-align: right;
    min-height: 1px;
}

.front-page-1 .widget {
    width: 90%;
    max-width: 900px;
}

.site-inner > .wrap {
    padding: 2% 2% 80px;
}

.clearfix {clear: both;}
.margin1em {margin-top: 1em;}
.m20, .margin20 { margin-top: 20px; }

.pseudolink {
    cursor: pointer;
    opacity: 0.85;
}
.pseudolink:hover {
    opacity: 1;
}

.home .nav-primary .current-menu-item > a, .home .nav-primary .sub-menu .current-menu-item > a:focus, .home .nav-primary .sub-menu .current-menu-item > a:hover, .home .nav-primary a:focus, .home .nav-primary a:hover {
    text-decoration: none;
    color: #0d459a;
    background: -webkit-linear-gradient(#0d459a,#08c);
    background: linear-gradient(#0d459a,#08c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.widget-area.header-widget-area {
    width: 100%;
    display: block;
    padding: 0;
}

span.ts-sort-button {
    background: #ddd;
    padding: 0.5% 2%;
    margin-right: 0.5%;
}

span.ts-sort-button.active-sort {
    background: #900;
    color:#fff
}

span.ts-sort-reset { display: none; }

p.ts-search-form-title {
    font-size: 125%;
    font-weight: bold;
    margin-bottom:0.5em;
    color: #fff;
    display: none;
}

.tax-region p.ts-search-form-title {
    color: #0d459a;
    text-align: center;
}

.hero-section .ts-search-form-title { display:none; }
.ts-search-form-container {
    margin: 0 auto;
}

.tax-region .ts-search-form-container {
    max-width:none;
}

#ts-search-form {
    display: flex;
}

#ts-search-form { border: 2px solid #08c; }

.home #ts-search-form {
    max-width: 720px;
    border: none;
    margin: 0 auto;
}

.front-page-1 {	overflow: visible; }

#ts-search-form-group-1 {
    flex: 1 0 100px;
    flex-direction: column;
}

#ts-search-form-group-1-top {
    background:#fff;
    flex: 1 0 100px;
    display: flex;
    align-items: baseline;
}

label.service-select {
    flex: 0 1 auto;
    font-weight: bold;
    padding: 0px 10px;
}

select#service {
    flex: 1;
    padding: 10px 0;
    -webkit-appearance: none;  /* for webkit (safari, chrome) compatibility */
    -moz-appearance: none; /* for firefox compatibility */
    appearance: none;
}

select#service:focus, input#location:focus {
    outline: none;
}

#ts-search-form-group-2 {
    flex: 1 0 100px;
    flex-direction: column;
    position: relative;
    background: #fff;
}

#ts-search-form-group-2-top {
    flex: 1 0 100px;
    display: flex;
    align-items: baseline;
}
#ts-search-form-group-2-bottom {
    position: absolute;
    width:100%;
    border-top: 1px solid #ccc;
    text-align: left;
    overflow: hidden;
}

#ts-search-my-location {
    background: #fff;
    display:block;
    padding:9px;
}

#ts-search-my-location i {
    color:#32cd32;
}

#ts-search-my-location:hover {
    background:#3399ff;
    color:#fff;
    cursor: pointer;
}

#ts-search-my-location:hover i {  }


label.location-select {
    flex: 0 1 auto;
    font-weight: bold;
    padding: 0px 10px;
}

input#location {
    flex: 1;
    padding: 10px 0;
}


#ts-search-form input, #ts-search-form select, #ts-search-form textarea{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: none;
}

.home #ts-search-form label { color: #000; }

#ts-search-form-group-3 {
    background: #08c;
    display: flex;
    flex-direction: column;
}

#ts-search-form-group-3-top {
    flex: 1;
    display: flex;
}

.ts-search-form-button {
    color: #fff;
    font-size: 120%;
    font-weight: bold;
    margin: 0;
    padding: 0 1em;
    flex-grow:1;
    height: 100%;
    border-radius: 0 !important;
    align-self: center;
}

/* Pagination: see .ts-pager (end of file) */

.hero-section button.ts-search-form-button.btn-search { margin: 0; }

.ts-search-form-button.btn-search{ background-color: #08c; }
.ts-search-form-button.btn-crosshairs{ background-color: #13b026; }
.ts-search-form-button.btn-search:hover { background-color: #036881; }
.ts-search-form-button.btn-crosshairs:hover { background-color: #10911f; }

button, html [type=button], [type=reset], [type=submit] {
    -webkit-appearance: button;
}

.home .hero-section * { color: #2a2b33; }
.home .hero-section h1, .home .hero-section p, .home .hero-section i { color: #fff; }
/*
<section="Adjust title to left edge">
*/
.wp-custom-logo .title-area { width: auto; }
.title-area { margin: 0 0; }

/*
<section="after-header-sub-menu-nav for small nav menu on search page">
*/

.after-header-sub-nav-menu {
    background: #0088cc;
    position: relative;
    width: 100%;
    z-index: 99;
}
.after-header-sub-nav-menu .wrap {
    position: relative;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
.after-header-sub-nav-menu .widget {
    text-align: center;
    width: 100%;
}

.after-header-sub-nav-menu .widget ul > li {
    margin:0 1% 0 0;
    padding:0;
    float:left;
}
.after-header-sub-nav-menu .widget ul li a {
    color:#fff;
}

li.sub-nav-menu-right {
    float: right !important;
}

.after-header-sub-nav-menu .widget-title,
.close-after-header-sub-nav-menu {
    background: 0 0!important;
    color: transparent;
    float: right;
    padding: 0;
    position: relative;
    width: 20px;
    width: 2rem;
    height: 20px;
    height: 2rem;
    font-size: 0;
    display: block
}
.close-after-header-sub-nav-menu:after,
.close-after-header-sub-nav-menu:before {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 15px;
    width: 2px;
    background-color: #fff;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin: auto
}
.close-after-header-sub-nav-menu:after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

/*
<section="after-header for Banner Ad">
*/

.after-header {
    background: #eee;
    position: relative;
    width: 100%;
    z-index: 99;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #e7e7e7;
}
.after-header .wrap {
    position: relative;
    padding: 3px 5%
}
.after-header .widget {
    text-align: center;
    margin: 2% auto 1.5% !important;
    max-width: 1000px;
}
.after-header .widget-title,
.after-header p {
    font-family: 'Ranchers', cursive;
    line-height: 1em;
    font-size: 30px;
    color: #333
}
.close-after-header {
    background: 0 0!important;
    color: transparent;
    float: right;
    padding: 0;
    position: relative;
    width: 20px;
    width: 2rem;
    height: 20px;
    height: 2rem;
    font-size: 0;
    display: block
}
.close-after-header:after,
.close-after-header:before {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 15px;
    width: 2px;
    background-color: #fff;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin: auto
}
.close-after-header:after {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.front-page-2 {
    background: #eee;
    padding:40px 0 !important;
}
.front-page-2 .wrap {
    position: relative;
    padding: 0
}

.front-page-2 .widget {
    text-align: center;
    margin: 0 auto !important;
    max-width: 1000px;
}

.front-page-2 .widget-title,
.front-page-2 {
    font-family: 'Ranchers', cursive;
    line-height: 1em;
    margin: 0;
    font-size: 30px;
    color: #333
}

/* PRIMARY ADVERTISEMENT */
.primary-advert {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.primary-advert p {
    font-family: 'Ranchers', cursive;
    line-height: 1em;
    margin: 0;
    padding: 0 0.5em 0.5em;
    font-size: 30px;
    color: #333;
    flex: 1 1 auto
}

.primary-advert img {
    border: 4px solid #fff;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    flex: 1 1 620px
}

#primary-advert-mobile { display:none }

.before-footer { display: none }

.footer-widgets .widget-area { padding: 0 1em }

/* REVIEW SYSTEM */
.fa-star, .fa-star-half-o, .fa-star-o {color: #e6c555 !important;}
.details_alert {
    background: #ff0;
    padding: 1em;
    display: block;
    font-weight: bold;
    margin: 1em 0;
    color: #000
}

span.ts_helpful_button, a.ts_helpful_button {
    border: 1px solid #ccc;
    padding: 5px 7px;
    display: inline-block
}

span.ts_review_button, a.ts_review_button {
    border: none;
    padding: 0.5em 2em;
    display: inline-block;
    background: #3165bb;
    color:#fff
}
a.ts_review_button.teal {
    color: #192e2e;
    background: #f9a720
}


.box-dash-border {
    padding: 1em;
    border: 2px dashed #ccc
}
.meter {
    display:inline-block;
    width: 100px;
    height:18px;
    background: #dddddd;
    vertical-align: middle;
    overflow: hidden
}
.meter > span {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    background: #e6c555
}

/* END REVIEW SYSTEM */

/* UTILITY */
.hidden { display: none; }
.loading {
    background-image: url("assets/images/loading-9.gif");
    background-size: 16px 16px;
    background-position:left center;
    background-repeat: no-repeat
}

/* Select Drop down arrow styling */

select.minimal {
  background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.5em;
  background-repeat: no-repeat
}

select.minimal:focus {
  background-image:
    linear-gradient(45deg, transparent 50%, #08c 50%),
    linear-gradient(135deg, #08c 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-repeat: no-repeat;
  border-color: green;
  outline: 0
}

select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000
}
/* End selectbox arrow styles */

.sub-nav-menu-toggle { display: none }
ul#menu-sub-nav-menu li { display: block }

/* MAIN MENU */
.genesis-nav-menu a {
    display: inline-block;
    text-transform: capitalize;
    padding: 1em;
    margin: 0;
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: inherit
}

.js .nav-primary .menu-item a:before {
  display: none
}
.home.js .nav-primary .menu-item a:before { background-color: #2a2b33 }
.js .nav-primary .menu-item a {
    position: relative;
    background: none
}
.js .nav-primary .menu-item a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1)
}

.nav-primary .current-menu-item > a, .nav-primary .sub-menu .current-menu-item > a:focus, .nav-primary .sub-menu .current-menu-item > a:hover, .nav-primary a:focus, .nav-primary a:hover,
.js .nav-primary .menu-item a:focus, .js .nav-primary .menu-item a:hover {
    text-decoration: none;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    text-fill-color: unset
}

.menu-toggle { color:#2a2b33 }

button.menu-toggle:hover, button.menu-toggle:focus { box-shadow: none }
.menu-toggle span { background-color: #2a2b33 }
.menu-toggle:active, .menu-toggle:focus, .menu-toggle:hover { color: #2a2b33 }
.home .menu-toggle { color:#2a2b33 }
.home .menu-toggle span { background-color: #2a2b33 }
.home .menu-toggle:active, .home .menu-toggle:focus, .home .menu-toggle:hover { color: #2a2b33 }

/* MEDIA QUERIES */
@media (min-width:1340px) {}
@media (min-width:1200px) {}
@media (min-width: 1023px) {
    .site-header > .wrap {
        padding: 0;
    }
}
@media (max-width:860px) {
    .js .nav-primary.genesis-responsive-menu .menu-item a:before { display: none }
    .js .nav-primary.genesis-responsive-menu .menu-item a:hover { color: #08c }
    .nav-primary .genesis-nav-menu .menu-item.current-menu-item { color: #ccc }
    .home.js .nav-primary .menu-item a { color: #fff }
    .home.js .nav-primary .menu-item a:focus, .home.js .nav-primary .menu-item a:hover { color: #08c }
    .primary-advert img { display: none }
    #primary-advert-mobile {display:block }
    .widget-area.header-widget-area { margin-bottom: 1em }
    /*#menu-sub-nav-menu .menu-item.sub-nav-menu-right { display: block; }*/
    .before-footer { display: block }
}
@media (max-width:600px) {
    /* Style sub-nav menu for mobile */
    .sub-nav-menu-toggle {
        width: 100%;
        display: block;
        text-align: center
    }
    .sub-nav-menu-toggle span {
        color: #fff;
        cursor: pointer;
        display: inline-block;
        margin: 0 auto
    }
    ul#menu-sub-nav-menu li { display: none }
    ul#menu-sub-nav-menu li.find-pet-services-menu-item { display:none !important }
    p.ts-search-form-title { display: block !important }
    .ts-search-form-container { background-color: transparent !important }
    #ts-search-form {
        border: none;
        flex-direction: column;
        background-color: transparent !important
    }
    .tax-region #ts-search-form { border: none }
    #ts-search-form-group-1, #ts-search-form-group-2 {
        flex-basis: auto;
        border: 1px solid #ccc
    }
    #ts-search-form-buttons .ts-search-form-button { flex-basis: 50% }
    #ts-search-form-group-2 { margin-top: 1em }
    #ts-search-form-group-2-bottom {
        background: transparent;
        position: static
    }
    #ts-search-form-group-3 { margin-top: 1em }
    #ts-search-form-group-3-top { background: transparent }
    .ts-search-form-button {
        margin: 0;
        padding: 10px
    }
    .hero-section button.ts-search-form-button.btn-search, .ts-search-form-button.btn-search {
        width:100%;
        margin:0
    }
    .after-header-sub-nav-menu .widget ul > li { float: none }
    li.sub-nav-menu-right { float: none !important }
}
/* ==========================================================================
   Listing cards (search results, state pages) - 2026-09-30
   Adapted from hayforsaleads.com's Buy Hay cards, in pooperoni's colors:
   brand blue #08c, dark blue #036881, text #2a2b33, soft blue #eaf6fc.
   Markup: ts_listing_card() in includes/functions-directory.php.
   ========================================================================== */
.ads .ts-card,
.content .ts-card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 0 20px;
    padding: 0;
    background: #fff;
    border: 2px solid #e3e8ee;
    border-radius: 14px;
    overflow: hidden;
    color: #2a2b33;
    box-shadow: 0 1px 2px rgba(42, 43, 51, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* hover (mouse only): just the border turns a soft blue, like hayforsaleads.com's cards (no shadow, no fill) */
@media (hover: hover) and (pointer: fine) {
    .ads .ts-card:hover,
    .content .ts-card:hover {
        border-color: #7cc8ef;
    }
}

.ts-card .ts-card__body {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 0;
    min-height: 0;
}

/* photo / logo fills the left side (paid tiers) */
.ts-card .ts-card__photo {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background: #f4f7fa;
    border-right: 1px solid #eef1f5;
    overflow: hidden;
}

.ts-card .ts-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 220px;
    margin: 0;
    object-fit: contain;
    padding: 10px;
    border-radius: 0;
}

.ts-card .ts-card__photo span.thumbnail_placeholder {
    width: 100%;
    height: 100%;
    min-height: 150px;
    border-radius: 0;
    background: #eaf6fc;
    position: relative;
}

.ts-card .ts-card__photo span.thumbnail_placeholder::after {
    content: "No photo";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 2px 10px;
    border-radius: 999px;
    background: #fff;
    color: #5b6170;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ts-card .ts-card__details {
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 18px 14px;
}

.ts-card h3.wtf-business-name {
    margin: 0 70px 6px 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.25;
}

.ts-card h3.wtf-business-name a {
    color: #2a2b33;
    text-decoration: none;
}

.ts-card h3.wtf-business-name a:hover,
.ts-card h3.wtf-business-name a:focus {
    color: #08c;
}

.ts-card .ts-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 6px;
    font-size: 15px;
    color: #5b6170;
}

.ts-card .ts-card__badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-transform: uppercase;
    background: #eaf6fc;
    color: #036881;
}

.ts-card .ts-card__badge--4 {
    background: #036881;
    color: #fff;
}

.ts-card .ts-card__reviews {
    margin: 0 0 4px;
    font-size: 14px;
}

.ts-card .ts-card__reviews br {
    display: none;
}

.ts-card .ts-card__services {
    margin: 0 0 6px;
    font-size: 14px;
    color: #5b6170;
    text-transform: capitalize;
}

.ts-card .ts-card__services .wtf-searched-service {
    color: #036881;
    font-weight: 700;
}

.ts-card .ts-card__desc {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #3d404b;
}

.ts-card .ts-card__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    font-size: 15px;
}

.ts-card .ts-card__contact a {
    color: #08c;
    text-decoration: none;
    font-weight: 700;
}

.ts-card .ts-card__contact a:hover {
    color: #036881;
    text-decoration: underline;
}

.ts-card .ts-card__tel::before {
    content: "\260E\FE0E";
    margin-right: 5px;
    font-weight: 400;
}

/* distance pill, top right */
.ts-card .ts-card__distance {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 2px 10px;
    border-radius: 999px;
    background: #f1f4f7;
    color: #3d404b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    min-height: 0;
}

/* footer strip */
.ts-card .ts-card__footer {
    display: block;
    padding: 9px 18px;
    background: #f4f8fb;
    border-top: 1px solid #e3e8ee;
    color: #036881;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ts-card .ts-card__footer:focus {
    background: #08c;
    color: #fff;
}

/* free listings: compact */
.ts-card--tier-1 .ts-card__details {
    padding-top: 14px;
    padding-bottom: 10px;
}

.ts-card--tier-1 h3.wtf-business-name {
    font-size: 18px;
}

/* phones: photo on top, full width */
@media only screen and (max-width: 599px) {
    .ads .ts-card,
    .content .ts-card {
        margin-bottom: 16px;
        border-radius: 12px;
    }
    .ts-card .ts-card__body {
        flex-direction: column;
    }
    .ts-card .ts-card__photo {
        flex: 0 0 auto;
        min-height: 0;
        height: 170px;
        border-right: 0;
        border-bottom: 1px solid #eef1f5;
    }
    .ts-card .ts-card__photo img {
        max-height: 170px;
    }
    .ts-card .ts-card__details {
        padding: 14px 14px 12px;
    }
    .ts-card h3.wtf-business-name {
        font-size: 18px;
    }
    .ts-card .ts-card__distance {
        top: 10px;
        right: 10px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
        background: #fff;
    }
    .ts-card--tier-1 h3.wtf-business-name,
    .ts-card:not(:has(.ts-card__photo)) h3.wtf-business-name {
        margin-right: 70px;
    }
    .ts-card:has(.ts-card__photo) h3.wtf-business-name {
        margin-right: 0;
    }
    .ts-card .ts-card__footer {
        padding: 11px 14px;
    }
}

/* ==========================================================================
   Search box as one rounded card/bar + page spacing (search, state pages, home) - 2026-09-30
   Adapted from hayforsaleads.com (2a4d3d5, 8eafbfc) in pooperoni's colors.
   ========================================================================== */
:root {
    --ts-blue: #08c;
    --ts-blue-dark: #036881;
    --ts-blue-soft: #eaf6fc;
    --ts-ink: #2a2b33;
    --ts-muted: #5b6170;
    --ts-line: #dbe3ea;
}

/* spacing rhythm on search and state pages: heading 12 -> search 16 -> count 16 -> cards 20 */
.ts-page-title {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.2;
    color: var(--ts-ink);
}

.ts-page-title .ts-page-title__place {
    color: var(--ts-blue-dark);
}

.ts-search-form-container {
    margin: 0 0 16px;
}

.ts-search-form-container + .clearfix + .margin1em,
.ts-search-form-container ~ .margin1em {
    display: none; /* old spacer; margins above handle it */
}

p.ts-results-count,
.content p.ts-results-count {
    margin: 0 0 16px;
    padding: 0;
    font-size: 15px;
    color: var(--ts-muted);
}

p.ts-results-count strong {
    color: var(--ts-ink);
}

body #ts-search-form {
    display: flex;
    gap: 0;
    margin: 0;
    font-family: Muli, Helvetica, sans-serif;
}

body #ts-search-form input#location::placeholder {
    color: #8b93a1;
    font-weight: 400;
}

body #ts-search-form select#service.minimal,
body #ts-search-form select#service.minimal:focus {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23036881%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 9l6 6 6-6%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    cursor: pointer;
}

body #ts-search-form #ts-search-my-location {
    display: block;
    padding: 12px 16px;
    color: var(--ts-blue-dark);
    font-weight: 700;
    cursor: pointer;
}

body #ts-search-form .ts-search-form-button.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    background: var(--ts-blue);
    color: #fff;
    font-family: Muli, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

body #ts-search-form .ts-search-form-button.btn-search::after {
    content: "Search";
}

body #ts-search-form .ts-search-form-button.btn-search:hover,
body #ts-search-form .ts-search-form-button.btn-search:focus-visible {
    background: var(--ts-blue-dark);
}

body #ts-search-form .ts-search-form-button.btn-search:focus-visible {
    outline: 3px solid #7cc8ef;
    outline-offset: 2px;
}

body #ts-search-form .ts-search-form-button.btn-search i {
    color: #fff;
}

/* wider screens: one rounded bar, small blue captions over the values, divider, button inside the end */
@media (min-width: 600px) {
    body #ts-search-form {
        align-items: stretch;
        min-height: 64px;
        padding: 6px;
        border: 1px solid var(--ts-line);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(3, 104, 129, 0.1);
    }
    body #ts-search-form-group-1 {
        flex: 0 1 42%;
        min-width: 0;
        border-right: 1px solid var(--ts-line);
        background: transparent;
    }
    body #ts-search-form-group-2 {
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        background: transparent;
    }
    body #ts-search-form-group-1-top {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        height: 100%;
        background: transparent;
    }
    body #ts-search-form-group-2-top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "label label" "input clear";
        align-content: center;
        height: 100%;
        background: transparent;
    }
    body #ts-search-form label.location-select {
        grid-area: label;
    }
    body #ts-search-form input#location {
        grid-area: input;
    }
    body #ts-search-form button.ts-search-clear {
        grid-area: clear;
    }
    body #ts-search-form label.service-select,
    body #ts-search-form label.location-select {
        display: block;
        margin: 0;
        text-align: left; /* the home hero centers its text */
        padding: 2px 14px 0;
        background: transparent;
        color: var(--ts-blue-dark);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        line-height: 1.2;
        text-transform: uppercase;
    }
    body #ts-search-form select#service,
    body #ts-search-form input#location {
        width: 100%;
        min-width: 0;
        height: 30px;
        margin: 0;
        padding: 0 14px;
        border: 0;
        box-shadow: none;
        background-color: transparent;
        color: var(--ts-ink);
        font-size: 16px;
        font-weight: 700;
        line-height: 30px;
    }
    body #ts-search-form select#service.minimal,
    body #ts-search-form select#service.minimal:focus {
        padding-right: 34px;
        background-position: right 12px center;
        background-size: 15px 15px;
    }
    body #ts-search-form-group-1:focus-within,
    body #ts-search-form-group-2:focus-within {
        border-radius: 12px;
        background: var(--ts-blue-soft);
    }
    body #ts-search-form #ts-search-form-group-2-bottom {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        z-index: 20;
        border: 1px solid var(--ts-line);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(3, 104, 129, 0.14);
        overflow: hidden;
    }
    body #ts-search-form-group-3 {
        flex: 0 0 auto;
        margin-left: 6px;
        background: transparent;
    }
    body #ts-search-form-group-3-top {
        height: 100%;
    }
    body #ts-search-form .ts-search-form-button.btn-search {
        height: 100%;
        min-height: 50px;
        padding: 0 22px;
        border-radius: 11px !important;
        font-size: 16px;
    }
}

/* phones: 16px side gutters; the search box as one card (two rows + full-width button) */
@media (max-width: 599px) {
    .site-inner > .wrap,
    .site-inner .content-sidebar-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }
    .ts-page-title {
        margin-top: 20px; /* the sponsor band ends right above */
        font-size: 24px;
    }
    body #ts-search-form {
        flex-direction: column;
        border: 0;
    }
    body #ts-search-form-group-1,
    body #ts-search-form-group-2 {
        width: 100%;
        border: 1px solid var(--ts-line);
        background: #fff;
        box-shadow: 0 6px 18px rgba(3, 104, 129, 0.08);
    }
    body #ts-search-form-group-1 {
        border-radius: 14px 14px 0 0;
    }
    body #ts-search-form-group-2 {
        margin-top: -1px; /* one shared divider */
        border-radius: 0 0 14px 14px;
    }
    body #ts-search-form-group-1-top,
    body #ts-search-form-group-2-top {
        display: flex;
        align-items: center;
        min-height: 56px;
        background: transparent;
    }
    body #ts-search-form label.service-select,
    body #ts-search-form label.location-select {
        flex: 0 0 62px;
        margin: 0;
        padding: 0 0 0 16px;
        background: transparent;
        color: var(--ts-blue-dark);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }
    /* 17px so iPhones don't zoom in when a box is tapped */
    body #ts-search-form select#service,
    body #ts-search-form input#location {
        flex: 1 1 auto;
        min-width: 0;
        height: 56px;
        margin: 0;
        padding: 0 16px 0 4px;
        border: 0;
        box-shadow: none;
        background-color: transparent;
        color: var(--ts-ink);
        font-size: 17px;
        font-weight: 700;
    }
    body #ts-search-form select#service.minimal,
    body #ts-search-form select#service.minimal:focus {
        padding-right: 40px;
        background-position: right 16px center;
        background-size: 16px 16px;
    }
    body #ts-search-form #ts-search-form-group-2-bottom {
        border-top: 1px solid var(--ts-line);
        border-radius: 0 0 14px 14px;
        overflow: hidden;
    }
    body #ts-search-form-group-3 {
        width: 100%;
        margin-top: 12px;
        background: transparent;
    }
    body #ts-search-form .ts-search-form-button.btn-search {
        width: 100%;
        height: 54px;
        padding: 0 16px;
        border-radius: 12px !important;
        box-shadow: 0 6px 16px rgba(0, 136, 204, 0.25);
        font-size: 18px;
    }
}

/* home hero: the bar sits on a photo, so a bit more shadow (wider screens; on phones the card's rows carry it) */
body.home #ts-search-form {
    text-align: left;
}

@media (min-width: 600px) {
    body.home #ts-search-form {
        border-color: transparent;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 599px) {
    body.home #ts-search-form-group-1,
    body.home #ts-search-form-group-2 {
        border-color: transparent;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    }
}

/* upright tablets (600-859px): 24px side gutters, room under the sponsor band */
@media (min-width: 600px) and (max-width: 859px) {
    .site-inner > .wrap,
    .site-inner .content-sidebar-wrap {
        padding-left: 24px;
        padding-right: 24px;
    }
    .ts-page-title {
        margin-top: 24px;
    }
}

/* state pages: no photo banner now; heading like the search page's, 24px under the sponsor band on computers */
@media (min-width: 860px) {
    .tax-region .ts-page-title,
    .page-template-page-directory .ts-page-title {
        margin-top: 0;
    }
}

/* Sponsor band on phones/tablets: the sponsor's wide banner, scaled to fit (about 50px tall on a phone), instead of
   the square ad that took ~300px before anything else; heading on one line above it. */
@media (max-width: 860px) {
    .primary-advert {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .primary-advert p {
        padding: 0;
        font-size: 18px;
        text-align: center;
    }
    .primary-advert p br {
        display: none;
    }
    .primary-advert img {
        display: block;
        width: 100%;
        max-width: 620px;
        height: auto;
        margin: 0 auto;
        border-width: 2px;
        flex: 0 0 auto;
    }
    #primary-advert-mobile {
        display: none;
    }
    .widget-area.header-widget-area,
    .after-header .widget {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   Search / state page map: bigger, rounded like the listing cards, card-style pin popups - 2026-09-30
   (the map's 300px height is set inline in the sidebar widget, hence !important)
   ========================================================================== */
.textwidget #map {
    height: 480px !important;
    border: 2px solid #e3e8ee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(3, 104, 129, 0.08);
    background: #eef3f7 !important;
}

@media (min-width: 860px) and (max-height: 760px) {
    .textwidget #map {
        height: 400px !important; /* short laptop screens: the whole map stays in view while it sticks */
    }
}

@media (max-width: 859px) {
    .textwidget #map {
        height: 360px !important;
        margin-top: 8px;
    }
}

.ts-map-card {
    width: 220px;
    font-family: Muli, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #2a2b33;
}

.ts-map-card__photo {
    display: block;
    height: 110px;
    margin: 0 0 10px;
    border-radius: 8px;
    background: #f4f7fa;
    overflow: hidden;
}

.ts-map-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.ts-map-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

a.ts-map-card__name {
    color: #2a2b33;
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

a.ts-map-card__name:hover {
    color: #08c;
}

.ts-map-card__badge {
    padding: 1px 8px;
    border-radius: 999px;
    background: #eaf6fc;
    color: #036881;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ts-map-card__badge--4 {
    background: #036881;
    color: #fff;
}

.ts-map-card__place {
    color: #5b6170;
}

a.ts-map-card__link {
    margin-top: 4px;
    color: #08c;
    font-weight: 700;
    text-decoration: none;
}

a.ts-map-card__link:hover {
    color: #036881;
    text-decoration: underline;
}

/* Google's popup: no empty header strip; the close button floats over the top right */
.textwidget #map .gm-style-iw-c {
    padding: 12px !important;
    border-radius: 12px !important;
    max-width: none !important;
}

.textwidget #map .gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
}

.textwidget #map .gm-style-iw-chr {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.textwidget #map .gm-style-iw-chr .gm-ui-hover-effect {
    width: 32px !important;
    height: 32px !important;
    margin: 2px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.textwidget #map .gm-style-iw-chr .gm-ui-hover-effect > span {
    margin: 7px !important;
    width: 18px !important;
    height: 18px !important;
}

/* Near box: x to clear the saved location (only when the box has a town in it) */
body #ts-search-form button.ts-search-clear {
    flex: 0 0 auto;
    align-self: center;
    width: 28px;
    height: 28px;
    min-height: 0;
    margin: 0 8px 0 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef2f5;
    box-shadow: none;
    color: #5b6170;
    font-family: Muli, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    text-transform: none;
    cursor: pointer;
}

body #ts-search-form button.ts-search-clear:hover,
body #ts-search-form button.ts-search-clear:focus-visible {
    background: #08c;
    color: #fff;
}

body #ts-search-form button.ts-search-clear[hidden] {
    display: none;
}

/* the browser's own clear button on search inputs would sit next to ours */
body #ts-search-form input#location::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

/* Search and state pages on computers/iPad landscape: results take the room, the map column is a fixed 380px,
   32px between them (was 61.8% / 31.8% with a ~70px gap and ~90px page margins at 1280px) */
@media (min-width: 860px) {
    .page-template-page-directory .site-inner > .wrap,
    .tax-region .site-inner > .wrap {
        display: flex;
        align-items: flex-start;
        gap: 32px;
        box-sizing: border-box;
        width: auto; /* the theme fixes .wrap at 1152px and centers it; fill the page up to 1240px instead */
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 32px;
        padding-right: 32px;
    }
    .page-template-page-directory .site-inner > .wrap > .content,
    .tax-region .site-inner > .wrap > .content {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        float: none;
    }
    .page-template-page-directory .site-inner > .wrap > .sidebar-primary,
    .tax-region .site-inner > .wrap > .sidebar-primary {
        flex: 0 0 380px;
        width: 380px;
        float: none;
    }
}

@media (min-width: 860px) and (max-width: 1199px) {
    .page-template-page-directory .site-inner > .wrap,
    .tax-region .site-inner > .wrap {
        gap: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }
    .page-template-page-directory .site-inner > .wrap > .sidebar-primary,
    .tax-region .site-inner > .wrap > .sidebar-primary {
        flex-basis: 300px;
        width: 300px;
    }
}

/* no location searched: nothing to map, so no empty map box; the listings take the full width */
.textwidget #map:empty {
    display: none;
}

.sidebar-primary:has(#map:empty) {
    display: none;
}

/* marker after the last listing card: its top is level with the card's bottom edge (cards have a 20px margin) */
.ts-results-end {
    height: 0;
    margin-top: -20px;
    margin-bottom: 20px;
}

/* The selected listing (its pin's popup is open on the map; pooperoni-page-search.js), side-by-side layouts only:
   dark blue border and a "Selected" bubble on the top edge, from hayforsaleads.com. The bubble sits outside the
   card, so the card stops clipping and the photo and footer strip round their own corners. */
@media (min-width: 860px) {
    .ads .ts-card {
        cursor: pointer;
    }
    .ads .ts-card.is-selected,
    .ads .ts-card.is-selected:hover {
        overflow: visible;
        border-color: #036881;
        box-shadow: 0 6px 18px rgba(3, 104, 129, 0.16);
    }
    .ts-card.is-selected::before {
        content: "Selected";
        position: absolute;
        top: -12px;
        right: 16px; /* on the right, as on HFSA */
        z-index: 2;
        padding: 2px 10px;
        border-radius: 999px;
        background: #036881;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        line-height: 1.5;
        text-transform: uppercase;
    }
    .ts-card.is-selected .ts-card__photo {
        border-top-left-radius: 12px;
    }
    .ts-card.is-selected .ts-card__footer {
        border-radius: 0 0 12px 12px;
    }
}

/* ==========================================================================
   Listing (details) pages - 2026-09-30. Markup: ts_listing_page() in includes/functions-listing-page.php
   ========================================================================== */
@media (min-width: 860px) {
    .single-listings .site-inner > .wrap {
        display: flex;
        align-items: flex-start;
        gap: 32px;
        box-sizing: border-box;
        width: auto;
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        padding: 24px 32px 0;
    }
    .single-listings .site-inner > .wrap > .content {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        float: none;
    }
    .single-listings .site-inner > .wrap > .sidebar-primary {
        flex: 0 0 340px;
        width: 340px;
        float: none;
    }
}

@media (min-width: 860px) and (max-width: 1199px) {
    .single-listings .site-inner > .wrap {
        gap: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }
    .single-listings .site-inner > .wrap > .sidebar-primary {
        flex-basis: 290px;
        width: 290px;
    }
}

@media (max-width: 859px) {
    .single-listings .site-inner > .wrap {
        padding-top: 20px;
    }
}

.single-listings .entry {
    margin: 0;
    padding: 0;
    background: transparent;
}

.single-listings .entry-header {
    margin: 0;
    padding: 0;
}

a.ts-detail__back {
    display: inline-block;
    margin: 0 0 8px;
    color: #036881;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

a.ts-detail__back:hover {
    color: #08c;
    text-decoration: underline;
}

.single-listings h1.entry-title {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
    color: #2a2b33;
}

.ts-detail__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 0 0 20px;
    font-size: 15px;
    color: #5b6170;
}

.ts-detail__stars {
    color: #2a2b33;
    text-decoration: none;
}

.ts-detail__stars--none {
    color: #8b93a1;
    font-style: italic;
}

/* photo + contact card */
.ts-detail__top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 1fr);
    gap: 20px;
    margin: 0 0 28px;
}

.ts-detail__top--no-photo {
    grid-template-columns: minmax(0, 1fr);
}

.ts-detail__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    border: 2px solid #e3e8ee;
    border-radius: 14px;
    background: #f4f7fa;
    overflow: hidden;
}

.ts-detail__photo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    padding: 16px;
    object-fit: contain;
}

.ts-detail__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

button.ts-detail__thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid #e3e8ee;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

button.ts-detail__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.15s ease;
}

button.ts-detail__thumb:hover img {
    transform: scale(1.06);
}

button.ts-detail__thumb.is-current {
    border-color: #08c;
}

.ts-detail__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border: 2px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(3, 104, 129, 0.08);
    align-self: start;
}

.ts-detail__contact-title {
    margin: 0 0 4px;
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #2a2b33;
}

a.ts-detail__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

a.ts-detail__btn--call {
    background: #08c;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.25);
}

a.ts-detail__btn--call:hover,
a.ts-detail__btn--call:focus-visible {
    background: #036881;
    color: #fff;
}

a.ts-detail__btn--site {
    flex-wrap: wrap;
    border: 2px solid #08c;
    background: #fff;
    color: #036881;
}

a.ts-detail__btn--site:hover,
a.ts-detail__btn--site:focus-visible {
    background: #eaf6fc;
    color: #036881;
}

.ts-detail__site {
    font-size: 13px;
    font-weight: 400;
    color: #5b6170;
}

a.ts-detail__btn--inline {
    display: inline-flex;
    min-height: 42px;
}

.ts-detail__address {
    font-size: 15px;
    line-height: 1.5;
    color: #3d404b;
}

.ts-detail__address a {
    color: #036881;
}

a.ts-detail__review-link {
    color: #036881;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

a.ts-detail__review-link span {
    color: #e6a817;
}

a.ts-detail__review-link:hover {
    text-decoration: underline;
}

.ts-detail__owner {
    margin: 4px 0 0;
    padding-top: 10px;
    border-top: 1px solid #eef1f5;
    font-size: 14px;
    color: #5b6170;
}

.ts-detail__owner a {
    color: #08c;
    font-weight: 700;
}

/* sections */
.ts-detail__section {
    margin: 0 0 28px;
    color: #3d404b;
    font-size: 16px;
    line-height: 1.65;
}

.ts-detail__section h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    color: #2a2b33;
}

.ts-detail__section p {
    margin: 0 0 12px;
}

.ts-detail__lede {
    font-size: 18px;
}

ul.ts-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.ts-detail__chips li {
    margin: 0;
    padding: 6px 14px;
    border-radius: 999px;
    background: #eaf6fc;
    color: #036881;
    font-size: 15px;
    font-weight: 700;
}

.ts-detail__promos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.ts-detail__promos img {
    display: block;
    max-width: 100%;
    border-radius: 10px;
}

.ts-detail__offer {
    padding: 16px 20px;
    border: 2px solid #e3e8ee;
    border-left: 6px solid #08c;
    border-radius: 12px;
    background: #f4f8fb;
}

.ts-detail__offer p {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #2a2b33;
}

.ts-detail__reviews {
    padding-top: 24px;
    border-top: 1px solid #e3e8ee;
}

/* sidebar */
.ts-detail-side {
    margin-bottom: 24px;
}

#map.ts-detail-map {
    height: 300px;
    border: 2px solid #e3e8ee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(3, 104, 129, 0.08);
    background: #eef3f7;
}

.ts-detail-map__note {
    margin: 10px 0 0;
    font-size: 14px;
    color: #5b6170;
}

h3.ts-nearby__title {
    margin: 24px 0 10px;
    font-size: 18px;
    color: #2a2b33;
}

ul.ts-nearby {
    margin: 0;
    padding: 0;
    list-style: none;
}

li.ts-nearby__item {
    margin: 0 0 10px;
}

li.ts-nearby__item .ts-nearby__card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border: 2px solid #e3e8ee;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
    li.ts-nearby__item .ts-nearby__card:hover {
        border-color: #7cc8ef;
    }
}

a.ts-nearby__name {
    text-decoration: none;
}

a.ts-nearby__name:hover {
    color: #08c;
}

a.ts-nearby__tel {
    margin-top: 4px;
    color: #08c;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

a.ts-nearby__tel:hover {
    color: #036881;
    text-decoration: underline;
}

.ts-nearby__name {
    color: #2a2b33;
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.ts-nearby__meta,
.ts-nearby__svc {
    color: #5b6170;
    font-size: 13px;
}

/* phones and upright tablets: everything stacks; the contact card (Call first) right under the photo */
@media (max-width: 699px) {
    .ts-detail__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .ts-detail__photo {
        height: 220px;
    }
    .single-listings h1.entry-title {
        font-size: 26px;
    }
    a.ts-detail__btn--call {
        min-height: 54px;
        font-size: 18px;
    }
}

/* the tier badge outside the cards too (listing page summary) */
.ts-detail__summary .ts-card__badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: #eaf6fc;
    color: #036881;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ts-detail__summary .ts-card__badge--4 {
    background: #036881;
    color: #fff;
}

/* chips: no theme list bullets */
.entry-content ul.ts-detail__chips li,
.entry-content ul.ts-nearby li {
    list-style: none;
    margin-left: 0;
}

.entry-content ul.ts-detail__chips li::before,
.entry-content ul.ts-nearby li::before {
    content: none;
    display: none;
}

/* Cities and counties served (POOP 911 must list them all - contractual): a soft panel, county names in dark
   blue. Nothing is hidden or collapsed. (Two columns were tried: these lists don't balance, it came out taller.) */
.ts-detail__areas-list {
    padding: 16px 20px;
    border: 2px solid #e3e8ee;
    border-radius: 14px;
    background: #f8fafc;
    font-size: 15px;
    line-height: 1.7;
    color: #3d404b;
}

.ts-detail__areas-list p {
    margin: 0 0 10px;
}

.ts-detail__areas-list p:last-child {
    margin-bottom: 0;
}

.ts-detail__areas-list strong {
    color: #036881;
}

/* Card photos: one square frame for every card (the photo column used to stretch to the card's height, so logos
   floated in tall boxes of different sizes). 180px square on computers, an 88px thumbnail beside the name on phones.
   Logos are never cropped (contain) and never enlarged past their own size (max-* 100%). */
.ts-card .ts-card__body {
    align-items: flex-start;
}

.ts-card .ts-card__photo {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    min-height: 0;
    margin: 16px 0 16px 16px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    background: #fff;
}

.ts-card .ts-card__photo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
}

.ts-card .ts-card__photo span.thumbnail_placeholder {
    min-height: 0;
    border-radius: 8px;
}

.ts-card.is-selected .ts-card__photo {
    border-top-left-radius: 12px;
}

@media only screen and (max-width: 599px) {
    .ts-card .ts-card__body {
        flex-direction: row;
    }
    .ts-card .ts-card__photo {
        flex: 0 0 88px;
        width: 88px;
        height: 88px;
        margin: 14px 0 0 14px;
        padding: 6px;
        border: 1px solid #eef1f5;
        border-radius: 10px;
    }
    .ts-card .ts-card__photo img {
        max-height: 100%;
    }
    .ts-card .ts-card__photo span.thumbnail_placeholder::after {
        font-size: 10px;
        padding: 1px 6px;
    }
    .ts-card:has(.ts-card__photo) h3.wtf-business-name {
        margin-right: 56px; /* room for the distance pill */
    }
    .ts-card .ts-card__details {
        padding-left: 12px;
    }
}

/* the square filled edge to edge: a blurred, zoomed copy of the photo behind the whole (uncropped) image */
.ts-card .ts-card__photo.has-backdrop {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #f4f7fa;
}

.ts-card .ts-card__photo.has-backdrop::before {
    content: "";
    position: absolute;
    inset: -12px;
    z-index: -1;
    background: var(--ts-photo) center / cover no-repeat;
    filter: blur(14px) saturate(1.1);
    opacity: 0.55;
}

.ts-card .ts-card__photo.has-backdrop img {
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* map popup photo: same treatment as the card squares - a fixed frame, the whole image on a blurred copy of itself */
.ts-map-card__photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 8px;
    box-sizing: border-box;
    isolation: isolate;
    background: #f4f7fa;
}

.ts-map-card__photo::before {
    content: "";
    position: absolute;
    inset: -12px;
    z-index: -1;
    background: var(--ts-photo) center / cover no-repeat;
    filter: blur(14px) saturate(1.1);
    opacity: 0.55;
}

.ts-map-card__photo img {
    position: relative;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* listing page photo: the same treatment as the cards and map popups - the whole image on a blurred copy of itself */
.ts-detail__photo {
    position: relative;
    isolation: isolate;
}

.ts-detail__photo::before {
    content: "";
    position: absolute;
    inset: -16px;
    z-index: -1;
    background: var(--ts-photo) center / cover no-repeat;
    filter: blur(18px) saturate(1.1);
    opacity: 0.55;
}

.ts-detail__photo img {
    position: relative;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.ts-detail__photo {
    padding: 20px;
    box-sizing: border-box;
}

/* Customer reviews: room around the Write a review button (it sat 3px under the rating bars), the sort line set
   apart, each review in its own light card */
.ts-detail__ratings {
    font-size: 14px;
    line-height: 1.9;
    color: #5b6170;
}

.ts-detail__ratings .meter {
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px;
}

p.ts-detail__review-cta {
    margin: 16px 0 24px;
}

.ts-detail__reviews .ts-review-sort-options {
    margin: 0 0 12px;
    padding: 10px 0;
    border-top: 1px solid #eef1f5;
    border-bottom: 1px solid #eef1f5;
    font-size: 14px;
}

.ts-detail__reviews .ts-review-sort-options p {
    margin: 0;
}

.ts-detail__reviews .ts-review {
    margin: 0 0 12px;
    padding: 16px 18px;
    border: 2px solid #e3e8ee;
    border-radius: 12px;
    background: #fff;
}

.ts-detail__reviews .ts-review p {
    margin: 0 0 8px;
}

.ts-detail__reviews .ts-review p:last-child {
    margin-bottom: 0;
    font-size: 14px;
}

.ts-detail__reviews .ts-review .fa-star {
    color: #e6a817;
}

/* Header wordmark: "Pooperoni" in the original lettering (a mask image, so it takes the text color), logo blue #013399 */
.wp-custom-logo .title-area {
    width: auto;
}

.wp-custom-logo .custom-logo-link.ts-wordmark,
.ts-wordmark {
    display: flex;
    align-items: center;
    height: 100%;
    color: #013399;
    text-decoration: none;
}

.ts-wordmark__word {
    display: block;
    height: 40px;
    width: 113px; /* the image is 516x182 */
    background-color: currentColor;
    -webkit-mask: url("assets/images/pooperoni-wordmark.png") no-repeat left center / contain;
    mask: url("assets/images/pooperoni-wordmark.png") no-repeat left center / contain;
}

.ts-wordmark:hover,
.ts-wordmark:focus-visible {
    color: #08c;
}

@media (max-width: 599px) {
    .ts-wordmark__word {
        height: 36px;
        width: 102px;
    }
}

/* ==========================================================================
   Home page, 2026-09-30 (sections from includes/functions-home.php, placed by tools/home-widgets.php)
   ========================================================================== */

/* hero: about 560px on a laptop (was 25vw top and bottom, ~900px); a soft curve at the bottom into the page */
.home .front-page-1 {
    position: relative;
    padding: 110px 0 120px;
}

.home .front-page-1::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 48px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48h1440V0C1180 38 900 48 720 48S260 38 0 0z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
    pointer-events: none;
}

.home .front-page-1 h1 {
    margin-bottom: 12px;
    font-size: 48px;
    line-height: 1.12;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home .front-page-1 p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

@media (max-width: 599px) {
    .home .front-page-1 {
        padding: 56px 0 76px;
    }
    .home .front-page-1 h1 {
        font-size: 32px;
    }
    .home .front-page-1 p {
        font-size: 16px;
    }
}

/* sponsor band and the areas below: even 64px sections, content up to 1100px */
.home .front-page-3,
.home .front-page-4 {
    padding: 56px 0 64px;
    background: #fff;
}

.home .front-page-4 {
    background: #f6f9fc;
}

.home .front-page-3 .widget,
.home .front-page-4 .widget {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.ts-home-h2 {
    margin: 0 0 24px;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    color: #2a2b33;
}

/* trust strip */
ul.ts-home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 56px;
    padding: 0;
    list-style: none;
}

ul.ts-home-stats li {
    margin: 0;
    padding: 20px 16px;
    border: 2px solid #e3e8ee;
    border-radius: 14px;
    text-align: center;
    background: #fff;
}

ul.ts-home-stats strong {
    display: block;
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 1.1;
    color: #013399;
}

ul.ts-home-stats span {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    color: #5b6170;
}

/* how it works */
.ts-home-how {
    margin: 0 0 56px;
}

ol.ts-home-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

ol.ts-home-steps li {
    position: relative;
    margin: 0;
    list-style: none; /* the theme numbers widget lists; the step number is drawn in the corner */
    padding: 28px 24px 24px;
    border-radius: 16px;
    background: #f6f9fc;
    text-align: center;
}

.ts-home-steps__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #fff;
    color: #08c;
    box-shadow: 0 6px 18px rgba(3, 104, 129, 0.12);
}

.ts-home-steps__icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

ol.ts-home-steps h3 {
    margin: 0 0 6px;
    font-size: 19px;
    color: #2a2b33;
}

ol.ts-home-steps p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #5b6170;
}

/* featured businesses: the search cards, three across on computers */
.home .front-page-3 .ts-home-featured a:not(.ts-card__photo) {
    min-width: 0; /* the theme stretches every front-page-3 link and image */
    height: auto;
}

.home .front-page-3 .ts-home-featured img,
.home .front-page-3 .ts-home-featured .ts-card__photo {
    min-width: 0;
}

.ts-home-featured__cards.ads {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ts-home-featured__cards .ts-card {
    margin: 0;
}

.ts-home-featured__cards .ts-card .ts-card__body {
    flex: 1 0 auto;
    flex-direction: column;
    align-items: stretch;
}

.ts-home-featured__cards .ts-card .ts-card__details {
    flex: 0 0 auto;
}

.ts-home-featured__cards .ts-card .ts-card__photo {
    flex: 0 0 170px;
    width: calc(100% - 32px);
    height: 170px;
    margin: 16px 16px 0;
}

.ts-home-featured__cards .ts-card h3.wtf-business-name {
    margin-right: 0;
}

.ts-home-featured__cards .ts-card__contact {
    display: none; /* the card links to the listing; contact details are there */
}

p.ts-home-more {
    margin: 20px 0 0;
    text-align: center;
    font-weight: 700;
}

p.ts-home-more a {
    color: #08c;
    text-decoration: none;
}

/* browse by state (the theme lays front-page-4 out in columns, with white headings for its old dark band) */
.home .front-page-4 .textwidget {
    display: block;
}

.home .front-page-4 h2.ts-home-h2 {
    color: #2a2b33;
}


/* business call to action, with a light paw-print pattern */
.ts-home-business {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    border-radius: 18px;
    color: #fff;
    background-color: #036881;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cellipse cx='30' cy='38' rx='9' ry='7'/%3E%3Ccircle cx='19' cy='26' r='4'/%3E%3Ccircle cx='27' cy='20' r='4'/%3E%3Ccircle cx='36' cy='21' r='4'/%3E%3Ccircle cx='42' cy='29' r='4'/%3E%3Cg transform='translate(56 58) rotate(20)'%3E%3Cellipse cx='12' cy='18' rx='9' ry='7'/%3E%3Ccircle cx='1' cy='6' r='4'/%3E%3Ccircle cx='9' cy='0' r='4'/%3E%3Ccircle cx='18' cy='1' r='4'/%3E%3Ccircle cx='24' cy='9' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, #036881 0%, #08c 100%);
}

.ts-home-business h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #fff;
}

.ts-home-business p {
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
}

a.ts-home-business__btn {
    flex: 0 0 auto;
    padding: 14px 26px;
    border-radius: 12px;
    background: #fff;
    color: #036881;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

a.ts-home-business__btn:hover {
    background: #eaf6fc;
}

/* phones / tablets */
@media (max-width: 859px) {
    .ts-home-featured__cards.ads,
    ol.ts-home-steps {
        grid-template-columns: minmax(0, 1fr);
    }
    .ts-home-featured__cards .ts-card .ts-card__body {
        flex-direction: row;
        align-items: flex-start;
    }
    .ts-home-featured__cards .ts-card .ts-card__details {
        flex: 1 1 auto;
    }
    .ts-home-featured__cards .ts-card .ts-card__photo {
        flex: 0 0 88px;
        width: 88px;
        height: 88px;
        margin: 14px 0 0 14px;
    }
    .ts-home-business {
        flex-direction: column;
        align-items: center;
        padding: 28px 24px;
    }
}

/* ==========================================================================
   Home page round 2, 2026-10-01: why hire, reviews, tips, phone layout; site footer
   ========================================================================== */

.ts-home-sub {
    max-width: 640px;
    margin: -12px auto 28px;
    text-align: center;
    font-size: 17px;
    line-height: 1.5;
    color: #5b6170;
}

/* how it works: icon and text (no step numbers) */
ol.ts-home-steps li > div {
    min-width: 0;
}

/* lower sections: same width and rhythm as the ones above */
.home .front-page-5,
.home .front-page-6 {
    padding: 64px 0 72px;
    background: #fff;
}

.home .front-page-6 {
    background: #f6f9fc;
}

.home .front-page-5 .widget,
.home .front-page-6 .widget {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.home .front-page-5 .textwidget,
.home .front-page-6 .textwidget {
    font-size: 16px;
    line-height: 1.6;
    color: #3d404b;
}

/* rows of cards: a grid on computers, a sideways swipe on phones (below) */
ul.ts-swipe {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.ts-swipe > li {
    margin: 0;
    list-style: none;
}

.ts-home-why__cards > li,
.ts-home-tips__cards > li {
    padding: 24px 22px;
    border: 2px solid #e3e8ee;
    border-radius: 16px;
    background: #fff;
}

.ts-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: #eaf6fc;
    color: #08c;
}

.ts-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* a different tint per card */
ul.ts-swipe > li:nth-child(2) .ts-icon {
    background: #e7f6ef;
    color: #1f9d6b;
}

ul.ts-swipe > li:nth-child(3) .ts-icon {
    background: #fff4e0;
    color: #d98b00;
}

ul.ts-swipe > li:nth-child(4) .ts-icon {
    background: #fdecef;
    color: #e0475f;
}

.home ul.ts-swipe h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.3;
    text-align: left;
    color: #2a2b33;
}

.home ul.ts-swipe p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #5b6170;
}

ul.ts-swipe sup a {
    color: #08c;
    font-weight: 700;
    text-decoration: none;
}

/* why hire: other services as chips, and the EPA source */
p.ts-home-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 28px 0 0;
}

p.ts-home-chips span {
    font-weight: 700;
    color: #2a2b33;
}

p.ts-home-chips a {
    padding: 8px 16px;
    border-radius: 999px;
    background: #eaf6fc;
    color: #036881;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

p.ts-home-chips a:hover {
    background: #d4edf9;
}

p.ts-home-source {
    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    color: #8a90a0;
}

p.ts-home-source a {
    color: #8a90a0;
}

/* reviews: cards with a quote badge; long ones clamped with Read more */
.ts-home-reviews {
    margin-bottom: 80px;
}

.ts-home-reviews .ts-home-h2 {
    margin-bottom: 40px;
}

ul.ts-home-reviews__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.ts-home-reviews__list figure {
    position: relative;
    margin: 0;
    padding: 34px 24px 22px;
    border: 1px solid #e3e8ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(3, 104, 129, 0.08);
}

.ts-home-reviews__list figure::before {
    content: "\201C";
    position: absolute;
    top: -20px;
    left: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #08c;
    color: #fff;
    font: 700 42px/58px Georgia, serif;
    text-align: center;
}

.home .ts-home-reviews__list blockquote {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    color: #3d404b;
}

.home .ts-home-reviews__list blockquote::before {
    content: none;
}

.ts-home-reviews__list blockquote p {
    margin: 0 0 10px;
}

.ts-home-reviews__list blockquote p:last-child {
    margin-bottom: 0;
}

.ts-home-reviews__list blockquote.is-clamped:not(.is-open) {
    max-height: var(--ts-clamp, 6.4em); /* the first review's height (set by the script) */
    overflow: hidden;
}

.ts-home-reviews__list blockquote.is-clamped:not(.is-open)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.8em;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

.home button.ts-home-reviews__more {
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #08c;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.home button.ts-home-reviews__more:hover {
    background: none;
    color: #036881;
    text-decoration: underline;
}

.ts-home-reviews__list figcaption {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef1f5;
    font-size: 15px;
    font-weight: 700;
    color: #036881;
}

/* how to pick a provider: photo beside the intro, four tip cards */
.ts-home-tips__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: center;
    margin-bottom: 32px;
}

img.ts-home-tips__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.ts-home-tips__intro .ts-home-h2 {
    margin-bottom: 12px;
    text-align: left;
}

.ts-home-tips__intro p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #5b6170;
}

/* tablets */
@media (max-width: 859px) {
    ul.ts-swipe {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* reviews swipe from here down (three don't fit two columns) */
    ul.ts-home-reviews__list {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 46%;
        gap: 16px;
        margin: 0 -4.35vw;
        padding: 24px 4.35vw 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 4.35vw;
        scrollbar-width: none;
    }
    ul.ts-home-reviews__list::-webkit-scrollbar {
        display: none;
    }
    ul.ts-home-reviews__list > li {
        scroll-snap-align: start;
    }
    .ts-home-tips__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    img.ts-home-tips__img {
        aspect-ratio: 16 / 9;
        object-position: center 40%;
    }
    .ts-home-tips__intro .ts-home-h2 {
        text-align: center;
    }
    .ts-home-tips__intro p {
        text-align: center;
    }
}

/* phones: most visitors. Compact sections, cards swipe sideways, the long state list folds away */
@media (max-width: 599px) {
    .ts-home-h2 {
        margin-bottom: 18px;
        font-size: 25px;
    }
    .ts-home-sub {
        margin: -6px auto 20px;
        font-size: 16px;
    }
    .home .front-page-3,
    .home .front-page-4,
    .home .front-page-5,
    .home .front-page-6 {
        padding: 44px 0 48px;
    }

    /* trust strip: three small tiles in a row */
    ul.ts-home-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 44px;
    }
    ul.ts-home-stats li {
        padding: 14px 6px;
        border-width: 1px;
        border-radius: 12px;
    }
    ul.ts-home-stats strong {
        font-size: 17px;
        white-space: nowrap;
    }
    ul.ts-home-stats span {
        font-size: 12px;
        line-height: 1.3;
    }

    /* how it works: icon beside the text */
    .ts-home-how {
        margin-bottom: 44px;
    }
    ol.ts-home-steps {
        gap: 10px;
    }
    ol.ts-home-steps li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        border-radius: 14px;
        text-align: left;
    }
    .ts-home-steps__icon {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
        margin: 0;
    }
    .ts-home-steps__icon svg {
        width: 28px;
        height: 28px;
    }
    ol.ts-home-steps h3 {
        font-size: 17px;
        margin-bottom: 2px;
    }
    ol.ts-home-steps p {
        font-size: 15px;
        line-height: 1.5;
    }

    /* cards swipe sideways, the next one peeking in */
    ul.ts-swipe,
    ul.ts-home-reviews__list {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 80%;
        gap: 12px;
        margin: 0 -4.35vw;
        padding: 4px 4.35vw 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 4.35vw;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    ul.ts-swipe::-webkit-scrollbar {
        display: none;
    }
    ul.ts-swipe > li {
        scroll-snap-align: start;
    }
    ul.ts-home-reviews__list {
        padding-top: 24px; /* room for the quote badges */
    }
    .ts-home-why__cards > li {
        padding: 20px 18px;
    }

    /* tips: a compact list, icon beside the text */
    ul.ts-home-tips__cards {
        grid-auto-flow: row;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
    .ts-home-tips__cards > li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin: 0 0 10px;
        padding: 16px;
        border-width: 1px;
        border-radius: 14px;
    }
    .ts-home-tips__cards .ts-icon {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: 0;
        border-radius: 12px;
    }
    .ts-home-tips__cards .ts-icon svg {
        width: 24px;
        height: 24px;
    }
    .home .ts-home-tips__cards h3 {
        font-size: 17px;
    }
    .ts-home-tips__intro p {
        font-size: 16px;
    }
    .ts-home-reviews {
        margin-bottom: 56px;
    }

    .ts-home-business h2 {
        font-size: 24px;
    }
    .ts-home-business p {
        font-size: 16px;
    }
    a.ts-home-business__btn {
        align-self: stretch;
        text-align: center;
    }
}

/* ---------- site footer (every page): deep blue with the paw pattern, brand column, link columns ---------- */
.footer-widgets {
    background-color: #0b2a43;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cellipse cx='30' cy='38' rx='9' ry='7'/%3E%3Ccircle cx='19' cy='26' r='4'/%3E%3Ccircle cx='27' cy='20' r='4'/%3E%3Ccircle cx='36' cy='21' r='4'/%3E%3Ccircle cx='42' cy='29' r='4'/%3E%3Cg transform='translate(56 58) rotate(20)'%3E%3Cellipse cx='12' cy='18' rx='9' ry='7'/%3E%3Ccircle cx='1' cy='6' r='4'/%3E%3Ccircle cx='9' cy='0' r='4'/%3E%3Ccircle cx='18' cy='1' r='4'/%3E%3Ccircle cx='24' cy='9' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(160deg, #0e3657 0%, #081f33 100%);
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.footer-widgets > .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 5% 52px;
    gap: 48px;
}

.footer-widgets .widget-area.footer-widgets-1 {
    flex: 1.1 1 0;
}

.footer-widgets .widget-area.footer-widgets-2 {
    display: flex;
    gap: 32px;
    flex: 1.7 1 0;
}

.footer-widgets .widget-area.footer-widgets-2 > .widget {
    flex: 1 1 0;
}

.footer-widgets .widget {
    margin-bottom: 28px;
}

.footer-widgets .widget:last-child {
    margin-bottom: 0;
}

.footer-widgets .widget-title {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.footer-widgets .textwidget {
    text-align: left;
}

a.ts-footer-brand__logo {
    display: inline-flex;
    height: auto;
    margin-bottom: 14px;
    color: #fff;
}

a.ts-footer-brand__logo .ts-wordmark__word {
    width: 150px;
    height: 53px;
}

a.ts-footer-brand__logo:hover {
    color: #bfe6fa;
}

p.ts-footer-brand__text {
    max-width: 340px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.72);
}

p.ts-footer-brand__since {
    display: inline-block;
    margin: 0;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(124, 200, 239, 0.14);
    color: #bfe6fa;
    font-size: 13px;
    font-weight: 700;
}

.footer-widgets .menu,
ul.ts-footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    text-transform: none;
}

.footer-widgets .menu > .menu-item,
ul.ts-footer-list li {
    float: none;
    width: auto;
    margin: 0 0 9px;
    padding: 0;
    line-height: 1.4;
    font-weight: 400;
    list-style: none;
}

.footer-widgets .menu > .menu-item > a,
ul.ts-footer-list a {
    display: inline;
    padding: 0;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}

.footer-widgets .menu > .menu-item > a:hover,
ul.ts-footer-list a:hover {
    color: #fff;
    text-decoration: underline;
}

p.ts-footer-business {
    margin: 0 0 14px;
}

a.ts-footer-business__btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 10px;
    background: #08c;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.footer-widgets a.ts-footer-business__btn:hover {
    background: #0a9de0;
    color: #fff;
}

.site-footer {
    background: #061827;
    font-size: 14px;
}

.site-footer > .wrap > p {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

@media (max-width: 599px) {
    .footer-widgets > .wrap {
        padding: 48px 6% 40px;
    }
    .footer-widgets .widget-area,
    .footer-widgets .widget-area.footer-widgets-1 {
        margin-bottom: 32px;
    }
    .footer-widgets .widget-area.footer-widgets-2 {
        gap: 16px;
    }
    .site-footer > .wrap > p {
        padding: 20px 52px 20px 0;
        text-align: left;
        font-size: 13px;
    }
}

/* the theme hangs list text by 20px; not in these cards and lists */
ol.ts-home-steps li,
ul.ts-swipe > li,
ul.ts-footer-list li,
.footer-widgets .menu > .menu-item {
    text-indent: 0;
}

/* sponsor cards: the first three lines of the description */
.ts-home-featured .ts-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.home .ts-home-reviews__list blockquote p {
    margin: 0 0 12px;
}

.home .ts-home-reviews__list blockquote p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Home page round 3, 2026-10-01: shorter hero, tighter stats, state tile map (like HFSA's Hay Prices map)
   ========================================================================== */

.home .front-page-1 {
    padding: 64px 0 84px;
}

.home .front-page-3 {
    padding-top: 36px;
}

ul.ts-home-stats {
    margin-bottom: 44px;
}

ul.ts-home-stats li {
    padding: 14px 12px;
}

/* state tile map: shaded by listings, blues from light to deep */
.ts-home-states {
    --map-0: #eceff3;
    --map-1: #d7eef9;
    --map-2: #a9dcf3;
    --map-3: #5fb9e6;
    --map-4: #1e8fcc;
    --map-5: #035f8f;
    margin-bottom: 48px;
}

.ts-map-key {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0 0 22px;
    font-size: 14px;
    color: #5b6170;
}

.ts-map-key i {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.ts-map-key .lvl-1 { background: var(--map-1); }
.ts-map-key .lvl-2 { background: var(--map-2); }
.ts-map-key .lvl-3 { background: var(--map-3); }
.ts-map-key .lvl-4 { background: var(--map-4); }
.ts-map-key .lvl-5 { background: var(--map-5); }

.ts-map-key__none {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 14px;
}

.ts-map-key__none i {
    background: var(--map-0);
}

ul.ts-map {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
    max-width: 780px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

ul.ts-map > li.ts-map__tile {
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    list-style: none;
    text-indent: 0;
    border-radius: 9px;
    background: var(--map-0);
    color: #a3a9b5;
}

.ts-map__tile > span.ab,
.ts-map__tile > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    line-height: 1.1;
    text-decoration: none;
    color: inherit;
}

.ts-map__tile .ab {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ts-map__tile .n {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.85;
}

ul.ts-map > li.ts-map__tile.lvl-1 { background: var(--map-1); color: #1f4f66; }
ul.ts-map > li.ts-map__tile.lvl-2 { background: var(--map-2); color: #134459; }
ul.ts-map > li.ts-map__tile.lvl-3 { background: var(--map-3); color: #fff; }
ul.ts-map > li.ts-map__tile.lvl-4 { background: var(--map-4); color: #fff; }
ul.ts-map > li.ts-map__tile.lvl-5 { background: var(--map-5); color: #fff; }

.home .ts-home-states h2.ts-home-h2 {
    margin-bottom: 10px;
}

.ts-home-states .ts-home-sub {
    margin-top: 0;
    margin-bottom: 16px;
}

ul.ts-map > li.ts-map__tile:not(.lvl-0) {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

ul.ts-map > li.ts-map__tile:not(.lvl-0):hover,
ul.ts-map > li.ts-map__tile:not(.lvl-0):focus-within {
    z-index: 1;
    box-shadow: 0 0 0 3px #f2a33a;
    transform: scale(1.08);
}

.ts-map__tile > a:focus-visible {
    outline: none;
}

@media (max-width: 599px) {
    .home .front-page-1 {
        padding: 32px 0 56px;
    }
    .home .front-page-1 h1 {
        font-size: 30px;
    }
    .home .front-page-1 p {
        font-size: 15px;
        line-height: 1.5;
    }
    .home .front-page-3 {
        padding-top: 28px;
    }
    ul.ts-home-stats {
        margin-bottom: 36px;
    }
    ul.ts-home-stats li {
        padding: 10px 6px;
    }
    ul.ts-map {
        gap: 3px;
    }
    ul.ts-map > li.ts-map__tile {
        border-radius: 5px;
    }
    .ts-map__tile .ab {
        font-size: 10px;
    }
    .ts-map__tile .n {
        margin-top: 1px;
        font-size: 9px;
    }
    .ts-map-key {
        gap: 4px;
        font-size: 13px;
    }
    .ts-map-key i {
        width: 14px;
        height: 14px;
    }
    .ts-map-key__none {
        margin-left: 8px;
    }
}

/* sponsor band under the hero: less empty space around the banner */
.home .front-page-2 {
    padding: 24px 0;
}

@media (max-width: 599px) {
    .home .front-page-2 {
        padding: 16px 0;
    }
}

/* ==========================================================================
   Home page order, 2026-10-01 (tools/home-widgets-3.php): stats, map, sponsors / how it works, reviews /
   why hire, tips / business band
   ========================================================================== */

/* the last block in each section adds no space of its own */
.home .front-page-3 .textwidget > div:last-child,
.home .front-page-4 .textwidget > div:last-child,
.home .front-page-5 .textwidget > div:last-child {
    margin-bottom: 0;
}

.home .front-page-4 .textwidget {
    text-align: left;
}

.ts-home-why {
    margin-bottom: 72px;
}

/* the business band on its own: a shorter section */
.home .front-page-6 {
    padding: 48px 0 56px;
}

/* phones and tablets: the POOP 911 banner shows without its "Businesses that we recommend" heading (user,
   2026-10-01: only the text was meant to go) */
/* (the heading shows again on phones and tablets, 2026-10-01: the banner moved above the hero there, below) */

@media (max-width: 599px) {
    .ts-home-why {
        margin-bottom: 52px;
    }
    .home .front-page-6 {
        padding: 36px 0 44px;
    }
}

/* how it works now sits on the light section: white steps */
ol.ts-home-steps li {
    background: #fff;
    box-shadow: 0 4px 16px rgba(3, 104, 129, 0.06);
}

.ts-home-how {
    margin-bottom: 72px;
}

@media (max-width: 859px) {
    .ts-home-business {
        text-align: center;
    }
}

@media (max-width: 599px) {
    .ts-home-how {
        margin-bottom: 52px;
    }
}

/* ==========================================================================
   Phone and tablet menu, 2026-10-01 (includes/functions-mobile-menu.php, assets/scripts/pooperoni-menu.js)
   ========================================================================== */

button.ts-menu-button {
    display: none;
}

@media (max-width: 859px) {
    .site-header .menu-toggle,
    .site-header .nav-primary {
        display: none !important; /* the old drop-down; the drawer replaces it */
    }
    .site-header > .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    button.ts-menu-button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        height: 42px;
        margin: 0 0 0 auto;
        padding: 0 14px 0 11px;
        border: 1.5px solid #dfe5ec;
        border-radius: 999px;
        background: #fff;
        box-shadow: none;
        color: #2a2b33;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1;
        text-transform: none;
        cursor: pointer;
    }
    button.ts-menu-button:hover,
    button.ts-menu-button:focus-visible {
        border-color: #7cc8ef;
        background: #fff;
        color: #2a2b33;
    }
    button.ts-menu-button svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
    }
}

/* the drawer: slides in from the right over a dimmed page */
dialog.ts-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #2a2b33;
    box-shadow: -12px 0 40px rgba(8, 25, 40, 0.25);
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

dialog.ts-drawer.is-open {
    transform: none;
}

dialog.ts-drawer::backdrop {
    background: rgba(8, 25, 40, 0.55);
}

html:has(dialog.ts-drawer[open]) {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    dialog.ts-drawer {
        transition: none;
    }
}

.ts-drawer__panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 14px 20px 24px;
    box-sizing: border-box;
    overscroll-behavior: contain;
}

.ts-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.ts-drawer__head .ts-wordmark {
    height: auto;
}

.ts-drawer button.ts-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f4f8;
    box-shadow: none;
    color: #2a2b33;
    cursor: pointer;
}

.ts-drawer button.ts-drawer__close:hover {
    background: #e3e8ee;
}

.ts-drawer__close svg,
.ts-drawer__search svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
}

a.ts-drawer__search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #08c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

a.ts-drawer__search:hover {
    background: #0a9de0;
    color: #fff;
}

ul.ts-drawer__menu {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

ul.ts-drawer__menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    text-indent: 0;
    border-bottom: 1px solid #eef1f5;
}

ul.ts-drawer__menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2px;
    color: #2a2b33;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

ul.ts-drawer__menu a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #9aa3b2;
    border-right: 2px solid #9aa3b2;
    transform: rotate(45deg);
}

ul.ts-drawer__menu a:hover {
    color: #08c;
}

ul.ts-drawer__menu .current-menu-item > a {
    color: #08c;
}

p.ts-drawer__label {
    margin: 4px 0 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a90a0;
}

ul.ts-drawer__menu--small a {
    padding: 11px 2px;
    font-size: 15px;
    font-weight: 600;
    color: #3d404b;
}

.ts-drawer__biz {
    margin-top: auto;
    padding: 16px;
    border-radius: 14px;
    background: #f6f9fc;
    text-align: center;
}

.ts-drawer__biz p {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #2a2b33;
}

.ts-drawer__biz a {
    display: block;
    padding: 11px 14px;
    border: 2px solid #08c;
    border-radius: 10px;
    color: #08c;
    font-weight: 700;
    text-decoration: none;
}

.ts-drawer__biz a:hover {
    background: #08c;
    color: #fff;
}

@media (min-width: 860px) {
    dialog.ts-drawer {
        display: none;
    }
}

/* home hero: a navy shade over the bright beach photo so the white heading and text read clearly */
.home .front-page-1 .wp-custom-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 28, 48, 0.62) 0%, rgba(6, 28, 48, 0.5) 55%, rgba(6, 28, 48, 0.38) 100%);
    pointer-events: none;
    z-index: 2; /* above the photo (z-index 1), below the text (.wrap) */
}

.home .front-page-1 h1,
.home .front-page-1 p {
    color: #fff;
}

.home .front-page-1 p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ---------- hero extras, 2026-10-01: pill, highlighted "Near You", Popular links, paw trail ---------- */
.home .front-page-1 p.ts-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: none;
    margin: 0 auto 16px;
    padding: 7px 16px 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: none;
}

.ts-hero-badge svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: #ffc94d;
}

.home .front-page-1 h1 .ts-hl {
    position: relative;
    display: inline-block;
    color: #ffc94d;
}

/* a hand-drawn swoosh under "Near You" */
.home .front-page-1 h1 .ts-hl::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: -0.12em;
    height: 0.28em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14C50 5 120 3 197 9' fill='none' stroke='%23ffc94d' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.home .front-page-1 p.ts-hero-popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: 720px;
    margin: 18px auto 0;
    font-size: 14px;
    text-shadow: none;
}

.ts-hero-popular span {
    margin-right: 2px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.home .front-page-1 .ts-hero-popular a {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.home .front-page-1 .ts-hero-popular a:hover,
.home .front-page-1 .ts-hero-popular a:focus-visible {
    background: #fff;
    color: #036881;
}

/* paw prints walking across the bottom of the hero, one after another */
.home .front-page-1 .wrap {
    position: relative;
}

/* the paw strip runs the full width of the hero (cropped, not stretched) */
.home .front-page-1 {
    overflow: hidden;
    overflow: clip;
}

svg.ts-hero-paws {
    position: absolute;
    left: 50%;
    bottom: -84px;
    width: 100vw;
    height: 90px;
    transform: translateX(-50%);
    fill: #fff;
    pointer-events: none;
}

svg.ts-hero-paws use {
    opacity: 0;
    animation: ts-paw-step 9s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.4s);
}

@keyframes ts-paw-step {
    0% { opacity: 0; }
    6% { opacity: 0.4; }
    55% { opacity: 0.4; }
    70% { opacity: 0; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    svg.ts-hero-paws use {
        opacity: 0.3;
        animation: none;
    }
}

@media (max-width: 599px) {
    .home .front-page-1 p.ts-hero-badge {
        margin-bottom: 12px;
        padding: 6px 12px 6px 10px;
        font-size: 12px;
    }
    .ts-hero-badge svg {
        flex-basis: 15px;
        width: 15px;
        height: 15px;
    }
    .home .front-page-1 p.ts-hero-popular {
        gap: 6px;
        margin-top: 14px;
        font-size: 13px;
    }
    .home .front-page-1 .ts-hero-popular a {
        padding: 5px 11px;
    }
    .ts-hero-popular span {
        flex-basis: 100%; /* "Popular:" on its own line above the links */
        margin: 0;
        text-align: center;
    }
    svg.ts-hero-paws {
        bottom: -58px;
        height: 64px;
    }
}

/* cartoon poop beside "Why hire a pooper scooper service?"; a little wiggle now and then */
svg.ts-poop {
    display: inline-block;
    width: 1.3em;
    height: 1.3em;
    margin-left: 0.3em;
    vertical-align: -0.25em;
    transform-origin: 50% 90%;
    animation: ts-poop-wiggle 5s ease-in-out 1s infinite;
}

@keyframes ts-poop-wiggle {
    0%, 82%, 100% { transform: rotate(0); }
    86% { transform: rotate(-9deg); }
    90% { transform: rotate(8deg); }
    94% { transform: rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
    svg.ts-poop {
        animation: none;
    }
}

/* ---------- How to pick a provider: eyebrow, highlighter heading, photo badge and dots, tinted tip cards ---------- */
.home p.ts-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: #eaf6fc;
    color: #036881;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ts-eyebrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* a yellow highlighter stroke behind the words */
.ts-marker {
    padding: 0 0.12em;
    background: linear-gradient(100deg, rgba(255, 201, 77, 0) 0.5%, rgba(255, 201, 77, 0.75) 2%, rgba(255, 214, 110, 0.6) 96%, rgba(255, 201, 77, 0) 99%) no-repeat 0 88% / 100% 0.42em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.ts-home-tips__photo {
    position: relative;
    z-index: 0;
}

/* dotted pattern peeking out behind the photo */
.ts-home-tips__photo::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -18px;
    bottom: -18px;
    width: 55%;
    height: 60%;
    border-radius: 18px;
    background: radial-gradient(#7cc8ef 2px, transparent 2.5px) 0 0 / 14px 14px;
    opacity: 0.8;
}

.ts-home-tips__badge {
    position: absolute;
    right: -10px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px 9px 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(8, 25, 40, 0.16);
    color: #2a2b33;
    font-size: 14px;
    font-weight: 700;
    transform: rotate(2deg);
}

.ts-home-tips__badge b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1f9d6b;
    color: #fff;
    font-size: 13px;
}

/* tip cards: a colored top edge matching the icon, a small lift on hover */
.ts-home-tips__cards > li {
    border-top: 4px solid #08c;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ts-home-tips__cards > li:nth-child(2) { border-top-color: #1f9d6b; }
.ts-home-tips__cards > li:nth-child(3) { border-top-color: #d98b00; }
.ts-home-tips__cards > li:nth-child(4) { border-top-color: #e0475f; }

.ts-home-tips__cards > li:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(3, 104, 129, 0.1);
}

@media (max-width: 859px) {
    .ts-home-tips__intro {
        text-align: center;
    }
    .ts-home-tips__photo::before {
        left: -10px;
        bottom: -10px;
    }
    .ts-home-tips__badge {
        right: 10px;
        top: 12px;
    }
}

@media (max-width: 599px) {
    .ts-home-tips__badge {
        font-size: 13px;
        padding: 7px 12px 7px 8px;
    }
    /* phones: the colored edge down the left side of each tip row */
    .ts-home-tips__cards > li {
        border-top-width: 1px;
        border-left: 4px solid #08c;
    }
    .ts-home-tips__cards > li:nth-child(2) { border-left-color: #1f9d6b; border-top-color: #e3e8ee; }
    .ts-home-tips__cards > li:nth-child(3) { border-left-color: #d98b00; border-top-color: #e3e8ee; }
    .ts-home-tips__cards > li:nth-child(4) { border-left-color: #e0475f; border-top-color: #e3e8ee; }
    .ts-home-tips__cards > li:first-child { border-top-color: #e3e8ee; }
}

@media (prefers-reduced-motion: reduce) {
    .ts-home-tips__cards > li {
        transition: none;
    }
    .ts-home-tips__cards > li:hover {
        transform: none;
    }
}

/* ==========================================================================
   Regional Sponsor spotlight above the search results, 2026-10-01 (ts_sponsor_spotlight)
   ========================================================================== */
.ts-spotlight {
    position: relative;
    margin: 0 0 18px;
    padding: 18px 20px 16px;
    border: 2px solid #f2c45a;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff8e6 0%, #fffdf7 45%, #fff 100%);
    box-shadow: 0 10px 28px rgba(217, 139, 0, 0.14);
}

p.ts-spotlight__ribbon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    padding: 5px 14px 5px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5b52e, #ffd36b);
    color: #4a3200;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(217, 139, 0, 0.25);
}

p.ts-spotlight__ribbon span {
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    opacity: 0.85;
}

.ts-spotlight__ribbon svg {
    width: 17px;
    height: 17px;
    fill: #fff;
    filter: drop-shadow(0 1px 1px rgba(74, 50, 0, 0.35));
}

.ts-spotlight__body {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

a.ts-spotlight__photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #f1e2bd;
    border-radius: 14px;
    background: #fff;
}

a.ts-spotlight__photo.has-backdrop::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: var(--ts-photo) center / cover no-repeat;
    filter: blur(16px) saturate(1.1);
    opacity: 0.55;
}

a.ts-spotlight__photo img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.ts-spotlight__text {
    flex: 1 1 auto;
    min-width: 0;
}

h3.ts-spotlight__name {
    margin: 0 0 4px;
    padding: 0;
    font-size: 24px;
    line-height: 1.2;
}

h3.ts-spotlight__name a {
    color: #2a2b33;
    text-decoration: none;
}

h3.ts-spotlight__name a:hover {
    color: #08c;
}

.ts-spotlight__reviews {
    margin: 0 0 4px;
    font-size: 14px;
}

.ts-spotlight__reviews br {
    display: none;
}

p.ts-spotlight__place {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #5b6170;
}

.ts-spotlight__services .wtf-searched-service {
    color: #036881;
}

p.ts-spotlight__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #3d404b;
}

.ts-spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f1e2bd;
}

.ts-spotlight__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

a.ts-spotlight__call {
    background: #08c;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.28);
}

a.ts-spotlight__call:hover {
    background: #0a9de0;
    color: #fff;
}

a.ts-spotlight__call svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linejoin: round;
}

a.ts-spotlight__site {
    border: 2px solid #08c;
    background: #fff;
    color: #08c;
}

a.ts-spotlight__site:hover {
    background: #eaf6fc;
    color: #036881;
}

a.ts-spotlight__more {
    margin-left: auto;
    padding: 0 4px;
    color: #036881;
}

a.ts-spotlight__more:hover {
    text-decoration: underline;
}

/* between the spotlight and the regular results (was a dashed line) */
p.ts-spotlight-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 16px;
    color: #8a90a0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

p.ts-spotlight-divider::before,
p.ts-spotlight-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e3e8ee;
}

@media (max-width: 599px) {
    .ts-spotlight {
        padding: 14px 14px 14px;
        border-radius: 16px;
    }
    p.ts-spotlight__ribbon {
        margin-bottom: 12px;
        font-size: 12px;
    }
    .ts-spotlight__body {
        gap: 12px;
    }
    a.ts-spotlight__photo {
        flex-basis: 84px;
        width: 84px;
        height: 84px;
        padding: 6px;
        border-radius: 12px;
    }
    h3.ts-spotlight__name {
        font-size: 20px;
    }
    p.ts-spotlight__place,
    p.ts-spotlight__desc {
        font-size: 14px;
    }
    p.ts-spotlight__desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }
    .ts-spotlight__actions {
        gap: 8px;
        margin-top: 12px;
        padding-top: 12px;
    }
    a.ts-spotlight__call,
    a.ts-spotlight__site {
        flex: 1 1 0;
        padding: 0 10px;
        font-size: 15px;
    }
    a.ts-spotlight__call {
        flex-basis: 100%; /* the call button gets the full width on phones */
    }
    a.ts-spotlight__more {
        margin-left: 0;
        flex: 1 1 0;
        padding: 0 6px;
        gap: 6px;
        font-size: 15px;
        white-space: nowrap;
    }
}

/* phones, upright or sideways (a touch screen that's short): no results map (it sat below all the listings)
   and so no selected listing (pooperoni-page-search.js doesn't set either up there), as on hayforsaleads.com */
@media (max-width: 599px), (pointer: coarse) and (max-height: 500px) {
    .sidebar #map,
    .sidebar .widget:has(#map) {
        display: none;
    }
}

/* ==========================================================================
   Add Business (page 14, form 1), 2026-10-01: pitch, step bar, Listing options with previews, phone-friendly fields
   (includes/functions-add-business.php, assets/scripts/pooperoni-add-business-options.js)
   ========================================================================== */

/* the pitch above the form */
.ts-ab-pitch {
    margin: 0 0 28px;
    padding: 20px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eaf6fc 0%, #f6f9fc 100%);
}

p.ts-ab-pitch__lede {
    margin: 0 0 12px;
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #2a2b33;
}

ul.ts-ab-pitch__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.ts-ab-pitch__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #3d404b;
    list-style: none;
    text-indent: 0;
}

ul.ts-ab-pitch__list svg {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 7px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #fff;
    fill: none;
    stroke: #08c;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

ul.ts-ab-pitch__list b {
    color: #2a2b33;
}

/* step bar: numbered dots joined by a line, the current step's name under it */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_page_steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 0 26px;
    padding: 0 0 4px;
    border: 0;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_page_steps::before {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 17px;
    height: 3px;
    border-radius: 2px;
    background: #e3e8ee;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1 1 0;
    width: auto;
    height: auto;
    margin: 0;
    opacity: 1;
    font-size: 13px;
    line-height: 1.2;
    color: #8a90a0;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step span.gf_step_number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 3px solid #e3e8ee;
    border-radius: 50%;
    background: #fff;
    color: #8a90a0;
    font-size: 15px;
    font-weight: 700;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step span.gf_step_label {
    padding: 0;
    font-weight: 600;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step_completed span.gf_step_number {
    border-color: #1f9d6b;
    background: #1f9d6b;
    color: #fff;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step_active span.gf_step_number {
    border-color: #08c;
    background: #08c;
    color: #fff;
    box-shadow: 0 0 0 5px rgba(0, 136, 204, 0.15);
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step_active {
    color: #2a2b33;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step_active span.gf_step_label {
    font-weight: 800;
}

/* section headings */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gsection {
    margin: 0 0 8px;
    padding: 0 0 8px;
    border-bottom: 0;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gsection .gsection_title {
    margin: 0;
    font-size: 26px;
    color: #2a2b33;
}

/* fields: roomy, 16px text (no zoom on iPhones) */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="text"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="email"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="url"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="tel"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="password"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="number"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) select,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) textarea {
    min-height: 48px;
    padding: 10px 14px;
    border: 1.5px solid #cfd6df;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    box-shadow: none;
}

/* one height for text boxes and selects (they were 55px and 48px); selects get our own chevron so their text lines up */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="text"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="email"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="url"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="tel"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="password"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input[type="number"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) select {
    box-sizing: border-box;
    height: 52px;
    line-height: normal;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235b6170' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) textarea {
    min-height: 120px;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) input:focus,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) select:focus,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) textarea:focus {
    border-color: #08c;
    outline: 3px solid rgba(0, 136, 204, 0.18);
    outline-offset: 0;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_label {
    font-size: 16px;
    font-weight: 700;
    color: #2a2b33;
}

/* Next / Previous / Submit */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e3e8ee;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer .button,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer input[type="submit"],
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_footer .button,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_footer input[type="submit"] {
    min-height: 50px;
    margin: 0;
    padding: 0 28px;
    border: 0;
    border-radius: 12px;
    background: #08c;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.25);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer .button:hover,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer input[type="submit"]:hover,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_footer .button:hover,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_footer input[type="submit"]:hover {
    background: #0a9de0;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer .gform_previous_button {
    order: -1;
    border: 2px solid #cfd6df;
    background: #fff;
    box-shadow: none;
    color: #3d404b;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer .gform_previous_button:hover {
    border-color: #9aa3b2;
    background: #fff;
    color: #2a2b33;
}

/* ---------- Listing step: the option boxes pick the Listing Type radio, which stays for the form's own logic ---------- */
#gform_wrapper_1 .ts-tier-radio .ginput_container,
#gform_wrapper_1 .ts-tier-radio > .gfield_label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

#gform_wrapper_1 li.ts-tier-radio {
    margin: 0;
    padding: 0;
}

.ts-tier-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    margin: 6px 0 4px;
}

.ts-tier {
    position: relative;
    padding: 18px 16px 16px;
    border: 2px solid #e3e8ee;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ts-tier:hover {
    border-color: #7cc8ef;
}

.ts-tier:focus-visible {
    outline: 3px solid rgba(0, 136, 204, 0.35);
    outline-offset: 2px;
}

.ts-tier.is-selected {
    border-color: #08c;
    box-shadow: 0 10px 26px rgba(0, 136, 204, 0.18);
}

.ts-tier--4.is-selected {
    border-color: #e0a526;
    box-shadow: 0 10px 26px rgba(217, 139, 0, 0.2);
}

.ts-tier__head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
    margin-bottom: 10px;
}

.ts-tier__check {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid #cfd6df;
    border-radius: 50%;
    background: #fff;
}

.ts-tier__check svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ts-tier.is-selected .ts-tier__check {
    border-color: #08c;
    background: #08c;
}

.ts-tier--4.is-selected .ts-tier__check {
    border-color: #e0a526;
    background: #e0a526;
}

.ts-tier__name {
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #2a2b33;
}

.ts-tier__name em {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #eaf6fc;
    color: #036881;
    font-family: inherit;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.ts-tier__price {
    font-size: 14px;
    color: #5b6170;
}

.ts-tier__price b {
    font-size: 20px;
    color: #2a2b33;
}

ul.ts-tier__perks {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

ul.ts-tier__perks li {
    position: relative;
    margin: 0 0 6px;
    padding: 0 0 0 22px;
    font-size: 14px;
    line-height: 1.45;
    color: #3d404b;
    list-style: none;
    text-indent: 0;
}

ul.ts-tier__perks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    width: 10px;
    height: 6px;
    border-left: 2.5px solid #1f9d6b;
    border-bottom: 2.5px solid #1f9d6b;
    transform: rotate(-45deg);
}

p.ts-tier__note {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff8e6;
    font-size: 13px;
    line-height: 1.45;
    color: #4a3200;
}

/* the preview: a small slice of search results with the owner's listing in its spot */
.ts-tier__preview {
    margin-top: 12px;
    padding: 10px;
    border-radius: 12px;
    background: #f6f9fc;
    pointer-events: none;
}

p.ts-tier__preview-label {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a90a0;
}

.ts-tier__results {
    display: grid;
    gap: 8px;
    font-size: 16px;
    zoom: 0.72; /* the real card sizes, scaled down to fit the box */
}

.ts-tier__results .ts-card,
.ts-tier__results .ts-spotlight {
    margin: 0;
}

.ts-tier__results .ts-card__photo {
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    margin: 14px 0 14px 14px;
}

.ts-tier__results .ts-card__footer {
    padding-top: 8px;
    padding-bottom: 8px;
}

.ts-tier__results p.ts-spotlight-divider {
    margin: 2px 0;
}

.ts-preview-photo {
    position: relative;
    overflow: hidden;
}

.ts-preview-photo img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ts-preview-photo.has-backdrop::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: var(--ts-photo) center / cover no-repeat;
    filter: blur(14px);
    opacity: 0.5;
}

span.ts-preview-photo__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: repeating-linear-gradient(135deg, #eef1f5 0 8px, #f6f8fb 8px 16px);
    color: #8a90a0;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.ts-preview-ghost {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    opacity: 0.75;
}

.ts-preview-ghost__photo {
    flex: 0 0 56px;
    height: 56px;
    border-radius: 10px;
    background: #eef1f5;
}

.ts-preview-ghost__lines {
    display: grid;
    flex: 1 1 auto;
    align-content: center;
    gap: 7px;
}

.ts-preview-ghost__lines i {
    display: block;
    height: 9px;
    border-radius: 5px;
    background: #e8ecf1;
}

.ts-preview-ghost em {
    position: absolute;
    top: 8px;
    right: 12px;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    color: #c3c9d3;
}

/* tablets and phones: the boxes stack, the preview stays readable */
@media (max-width: 859px) {
    ul.ts-ab-pitch__list,
    .ts-tier-options {
        grid-template-columns: minmax(0, 1fr);
    }
    .ts-tier__results {
        zoom: 0.85;
    }
}

@media (max-width: 599px) {
    .ts-ab-pitch {
        margin-bottom: 22px;
        padding: 16px;
    }
    p.ts-ab-pitch__lede {
        font-size: 18px;
    }
    ul.ts-ab-pitch__list {
        gap: 10px;
    }
    /* the step bar: numbers only, and the current step's name */
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step span.gf_step_label {
        display: none;
    }
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step_active span.gf_step_label {
        display: block;
        position: absolute;
        top: 44px;
        white-space: nowrap;
    }
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_page_steps {
        margin-bottom: 40px;
    }
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_step span.gf_step_number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gf_page_steps::before {
        top: 15px;
    }
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gsection .gsection_title {
        font-size: 23px;
    }
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer .button,
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_page_footer input[type="submit"],
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_footer .button,
    :is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gform_footer input[type="submit"] {
        flex: 1 1 0;
        padding: 0 16px;
    }
    .ts-tier {
        padding: 16px 14px 14px;
    }
    .ts-tier__results {
        zoom: 0.8;
    }
}

/* phones and tablets: only the chosen box shows its preview; the others say "Tap to see how it looks" */
p.ts-tier__tap {
    display: none;
}

@media (max-width: 859px) {
    .ts-tier:not(.is-selected) .ts-tier__preview {
        display: none;
    }
    .ts-tier:not(.is-selected) p.ts-tier__tap {
        display: block;
        margin: 4px 0 0;
        color: #08c;
        font-size: 14px;
        font-weight: 700;
    }
}

.home .ts-home-reviews__list blockquote p:last-child,
#gform_wrapper_1 .ts-tier p:last-child {
    margin-bottom: 0;
}

/* the sponsor preview's photo square (the live one is a link) and hidden bits in the previews */
.ts-tier__results .ts-spotlight__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #f1e2bd;
    border-radius: 14px;
    background: #fff;
}

.ts-tier [hidden] {
    display: none !important;
}

@media (max-width: 599px) {
    .ts-tier__results .ts-spotlight__photo {
        flex-basis: 84px;
        width: 84px;
        height: 84px;
        padding: 6px;
        border-radius: 12px;
    }
}

/* Add Business: choices (services, share address, agreement) as big tappable rows */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_checkbox,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_radio {
    margin: 6px 0 0;
    padding: 0;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_checkbox li,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_radio li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 8px;
    padding: 12px 14px;
    border: 1.5px solid #e3e8ee;
    border-radius: 12px;
    background: #fff;
    list-style: none;
    text-indent: 0;
    cursor: pointer;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_checkbox li:has(input:checked),
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_radio li:has(input:checked) {
    border-color: #08c;
    background: #f2faff;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_checkbox li input,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_radio li input {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #08c;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_checkbox li label,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_radio li label {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.35;
    cursor: pointer;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) ul.gfield_checkbox li label .ginput_price,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_checkbox label span {
    font-weight: 700;
    color: #036881;
}

/* checkout: prices as plain text, the total stands out */
#gform_wrapper_1 .ginput_product_price,
#gform_wrapper_1 input.ginput_product_price {
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #2a2b33;
    font-size: 20px;
    font-weight: 700;
}

#gform_wrapper_1 .ginput_product_price_label {
    display: none;
}

#gform_wrapper_1 .gfield--type-total {
    padding: 14px 16px;
    border-radius: 12px;
    background: #eaf6fc;
}

#gform_wrapper_1 .ginput_total {
    color: #036881;
    font-size: 26px;
    font-weight: 800;
}

/* Gravity Forms' legacy styles force padding 0 !important on choice rows */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6).gform_legacy_markup_wrapper ul.gfield_checkbox li,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6).gform_legacy_markup_wrapper ul.gfield_radio li {
    padding: 12px 14px !important;
}

/* Regional Sponsor's base price is $0 (its services carry the price): only the total matters */
#gform_wrapper_1 #field_1_37 .ginput_container {
    display: none;
}

/* Listing step: the "Just a sec!" nudge toward Featured, while Standard is chosen */
.ts-tier-nudge {
    position: relative;
    margin: 16px 0 4px;
    padding: 18px 20px;
    border: 2px solid #f2c45a;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff8e6 0%, #fff 100%);
}

.ts-tier-nudge[hidden] {
    display: none;
}

#gform_wrapper_1 p.ts-tier-nudge__title {
    margin: 0 0 4px;
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #2a2b33;
}

.ts-tier-nudge > p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #3d404b;
}

.ts-tier-nudge p.ts-tier-nudge__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 12px 0 0;
}

.ts-tier-nudge__actions span {
    font-size: 14px;
    color: #5b6170;
}

#gform_wrapper_1 button.ts-tier-nudge__go {
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: #08c;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.25);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

#gform_wrapper_1 button.ts-tier-nudge__go:hover {
    background: #0a9de0;
}

@media (max-width: 599px) {
    #gform_wrapper_1 button.ts-tier-nudge__go {
        width: 100%;
    }
    .ts-tier-nudge__actions span {
        width: 100%;
        text-align: center;
    }
}

/* the nudge now sits inside the Standard box */
.ts-tier .ts-tier-nudge {
    margin: 12px 0 0;
    padding: 16px;
    cursor: default;
}

/* the preview now comes right after the price, then the perks */
.ts-tier .ts-tier__preview {
    margin: 0 0 14px;
}

@media (max-width: 859px) {
    .ts-tier:not(.is-selected) p.ts-tier__tap {
        margin: 0 0 10px;
    }
}

/* Listing previews: a green "promoted" tag on the top edge of Featured / Sponsor listings */
.ts-promoted-wrap {
    position: relative;
    padding-top: 12px;
}

span.ts-promoted {
    position: absolute;
    top: 0;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px 3px 8px;
    border-radius: 999px;
    background: #1f9d6b;
    box-shadow: 0 4px 10px rgba(31, 157, 107, 0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.4;
    white-space: nowrap;
}

span.ts-promoted svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: ts-promoted-bob 1.8s ease-in-out infinite;
}

@keyframes ts-promoted-bob {
    0%, 100% { transform: translateY(1px); }
    50% { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
    span.ts-promoted svg {
        animation: none;
    }
}

/* the nudge outside the boxes: after Standard on phones, a full row under the three on computers */
.ts-tier-options > .ts-tier--2 { order: 1; }
.ts-tier-options > .ts-tier-nudge { order: 2; }
.ts-tier-options > .ts-tier--3 { order: 3; }
.ts-tier-options > .ts-tier--4 { order: 4; }

.ts-tier-options > .ts-tier-nudge {
    margin: 0;
}

@media (min-width: 860px) {
    .ts-tier-options > .ts-tier-nudge {
        order: 5;
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
        align-items: center;
        gap: 6px 24px;
    }
    .ts-tier-options > .ts-tier-nudge[hidden] {
        display: none;
    }
    .ts-tier-options > .ts-tier-nudge > p:not(.ts-tier-nudge__actions) {
        grid-column: 1;
        margin: 0;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier__perks {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin: 0;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__actions {
        grid-column: 3;
        grid-row: 1 / span 2;
        flex-direction: column;
        margin: 0;
    }
}

/* the sponsor spotlight's services capitalized like the result cards' ("Pooper Scooper Service") */
.ts-spotlight__services {
    text-transform: capitalize;
}

/* Listing step: the Regional Sponsor box hovers in light gold (the others in light blue) */
.ts-tier--4:hover {
    border-color: #f2d27a;
}

.ts-tier--4.is-selected:hover {
    border-color: #e0a526;
}

/* ---------- the "Just a sec!" nudge, the fun version: mascot, pun, bounce-in ---------- */
.ts-tier-options > .ts-tier-nudge {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 16px;
    align-items: start;
    padding: 18px 18px 16px;
    border: 2px dashed #f2c45a;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 201, 77, 0.28) 0 60px, transparent 61px),
        linear-gradient(135deg, #fff8e6 0%, #fffdf8 100%);
    animation: ts-nudge-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ts-tier-options > .ts-tier-nudge[hidden] {
    display: none;
}

@keyframes ts-nudge-in {
    0% { opacity: 0; transform: translateY(12px) scale(0.96); }
    100% { opacity: 1; transform: none; }
}

.ts-tier-nudge__mascot {
    position: relative;
    grid-row: span 2;
    padding-top: 14px;
}

.ts-tier-nudge__mascot svg.ts-poop {
    width: 62px;
    height: 62px;
    margin: 0;
    vertical-align: top;
    animation: ts-poop-wiggle 2.6s ease-in-out 0.6s infinite;
}

.ts-tier-nudge__bubble {
    position: absolute;
    top: -2px;
    left: 34px;
    padding: 2px 8px;
    border-radius: 10px 10px 10px 2px;
    background: #2a2b33;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transform: rotate(-6deg);
}

#gform_wrapper_1 p.ts-tier-nudge__title {
    margin: 2px 0 4px;
    font-size: 21px;
    line-height: 1.2;
    color: #6b3f12;
}

.ts-tier-nudge__body > p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #3d404b;
}

ul.ts-tier-nudge__perks {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.ts-tier-nudge__perks li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 6px;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #3d404b;
    list-style: none;
    text-indent: 0;
}

ul.ts-tier-nudge__perks li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1f9d6b;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.ts-tier-nudge p.ts-tier-nudge__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 12px 0 0;
}

#gform_wrapper_1 button.ts-tier-nudge__go {
    background: linear-gradient(90deg, #08c, #1aa3e8);
    font-size: 17px;
    transition: transform 0.15s ease;
}

#gform_wrapper_1 button.ts-tier-nudge__go:hover {
    transform: translateY(-2px) rotate(-1deg);
}

.ts-tier-nudge__actions span {
    font-size: 14px;
    color: #6b7280;
}

/* computers: the nudge is a full-width row under the three boxes */
@media (min-width: 860px) {
    .ts-tier-options > .ts-tier-nudge {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px 24px;
        padding: 18px 24px;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__mascot {
        grid-row: auto;
        padding-top: 10px;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 4px 24px;
        align-items: center;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__body > p {
        grid-column: 1;
        margin: 0;
    }
    .ts-tier-options > .ts-tier-nudge ul.ts-tier-nudge__perks {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
    .ts-tier-options > .ts-tier-nudge p.ts-tier-nudge__actions {
        grid-column: auto;
        flex-direction: column;
        margin: 0;
        text-align: center;
    }
}

@media (max-width: 599px) {
    #gform_wrapper_1 p.ts-tier-nudge__title {
        font-size: 19px;
    }
    .ts-tier-nudge__mascot svg.ts-poop {
        width: 50px;
        height: 50px;
    }
    .ts-tier-nudge__actions span {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-tier-options > .ts-tier-nudge,
    .ts-tier-nudge__mascot svg.ts-poop {
        animation: none;
    }
}

/* nudge fixes: icon + one text span per perk; mascot | text | button on computers; the bubble sits over the mascot */
ul.ts-tier-nudge__perks li > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1f9d6b;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

ul.ts-tier-nudge__perks li > span {
    display: block;
    flex: 1 1 auto;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}

.ts-tier-nudge__bubble {
    top: -6px;
    left: 18px;
}

@media (min-width: 860px) {
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__mascot {
        grid-column: 1;
        grid-row: 1;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__body {
        grid-column: 2;
        grid-row: 1;
    }
    .ts-tier-options > .ts-tier-nudge p.ts-tier-nudge__actions {
        grid-column: 3;
        grid-row: 1;
        max-width: 240px;
    }
}

/* computers: the nudge's button on the left, lined up over Previous / Next (user, 2026-10-01) */
@media (min-width: 860px) {
    .ts-tier-options > .ts-tier-nudge {
        grid-template-columns: auto auto minmax(0, 1fr);
    }
    .ts-tier-options > .ts-tier-nudge p.ts-tier-nudge__actions {
        grid-column: 1;
        grid-row: 1;
        align-items: flex-start;
        text-align: left;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__mascot {
        grid-column: 2;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__body {
        grid-column: 3;
    }
}

/* nudge alignment (computers): headline and pitch sit together, centred beside the perks; the button column fits the
   button; the soft glow sits behind the mascot */
.ts-tier-options > .ts-tier-nudge {
    background: linear-gradient(135deg, #fff8e6 0%, #fffdf8 100%);
}

.ts-tier-nudge__mascot::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255, 201, 77, 0.3);
    transform: translate(-50%, -42%);
}

.ts-tier-nudge__mascot svg.ts-poop,
.ts-tier-nudge__bubble {
    position: relative;
    z-index: 1;
}

.ts-tier-nudge__bubble {
    position: absolute;
    z-index: 2;
}

@media (min-width: 860px) {
    .ts-tier-options > .ts-tier-nudge {
        grid-template-columns: max-content auto minmax(0, 1fr);
        align-items: center;
        column-gap: 28px;
    }
    .ts-tier-options > .ts-tier-nudge p.ts-tier-nudge__actions {
        max-width: none;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__actions span {
        max-width: 240px;
        font-size: 13px;
        line-height: 1.35;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__mascot {
        padding-top: 16px;
        align-self: center;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__body {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        column-gap: 28px;
        row-gap: 0;
        align-items: center;
    }
    /* the headline and pitch meet in the middle of the two rows the perks span */
    .ts-tier-options > .ts-tier-nudge #gform_wrapper_1 p.ts-tier-nudge__title,
    #gform_wrapper_1 .ts-tier-options > .ts-tier-nudge p.ts-tier-nudge__title {
        align-self: end;
        margin: 0 0 6px;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__body > p:not(.ts-tier-nudge__title) {
        align-self: start;
    }
    .ts-tier-options > .ts-tier-nudge ul.ts-tier-nudge__perks {
        align-self: center;
        padding-left: 24px;
        border-left: 1px solid #f1e2bd;
    }
    .ts-tier-options > .ts-tier-nudge ul.ts-tier-nudge__perks li:last-child {
        margin-bottom: 0;
    }
}

/* Gravity Forms indents lists: the nudge perks line up with the text above them */
#gform_wrapper_1 ul.ts-tier-nudge__perks {
    margin-left: 0 !important;
}

@media (max-width: 859px) {
    #gform_wrapper_1 ul.ts-tier-nudge__perks {
        padding-left: 0;
    }
}

/* computers, left to right (user, 2026-10-01): mascot, headline + pitch, the button, the perks */
@media (min-width: 860px) {
    .ts-tier-options > .ts-tier-nudge {
        grid-template-columns: auto minmax(0, 1.15fr) max-content minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 24px;
        row-gap: 0;
        align-items: center;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__body {
        display: contents;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__mascot {
        grid-column: 1;
        grid-row: 1 / span 2;
    }
    #gform_wrapper_1 .ts-tier-options > .ts-tier-nudge p.ts-tier-nudge__title {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
    }
    .ts-tier-options > .ts-tier-nudge .ts-tier-nudge__body > p:not(.ts-tier-nudge__title) {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        margin: 0;
    }
    .ts-tier-options > .ts-tier-nudge p.ts-tier-nudge__actions {
        grid-column: 3;
        grid-row: 1 / span 2;
    }
    .ts-tier-options > .ts-tier-nudge ul.ts-tier-nudge__perks {
        grid-column: 4;
        grid-row: 1 / span 2;
        padding-left: 24px;
        border-left: 1px solid #f1e2bd;
    }
}

/* nudge without the perks column (user, 2026-10-01): mascot, headline + pitch, button */
@media (min-width: 860px) {
    .ts-tier-options > .ts-tier-nudge {
        grid-template-columns: auto minmax(0, 1fr) max-content;
    }
}

span.ts-promoted--plain {
    padding-left: 12px;
}

/* Add Business: the message after signing up */
.entry-content:has(.ts-ab-done) .ts-ab-pitch {
    display: none;
}

.ts-ab-done {
    max-width: 640px;
    margin: 10px auto 30px;
    padding: 28px 26px 26px;
    border: 2px solid #bfe6fa;
    border-radius: 20px;
    background: linear-gradient(135deg, #eaf6fc 0%, #fff 100%);
    text-align: center;
}

.ts-ab-done__mascot svg.ts-poop {
    width: 76px;
    height: 76px;
    margin: 0;
    animation: ts-poop-wiggle 2.6s ease-in-out 0.4s infinite;
}

.ts-ab-done h2.ts-ab-done__title {
    margin: 6px 0 10px;
    font-size: 28px;
    line-height: 1.2;
    color: #2a2b33;
}

.ts-ab-done p {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.55;
    color: #3d404b;
}

.ts-ab-done p.ts-ab-done__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    margin: 20px 0 0;
}

a.ts-ab-done__go {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 12px;
    background: #08c;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.25);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

a.ts-ab-done__go:hover {
    background: #0a9de0;
    color: #fff;
}

.ts-ab-done__actions a:not(.ts-ab-done__go) {
    color: #036881;
    font-weight: 700;
}

@media (max-width: 599px) {
    .ts-ab-done {
        padding: 22px 18px;
    }
    .ts-ab-done h2.ts-ab-done__title {
        font-size: 24px;
    }
    .ts-ab-done p {
        font-size: 16px;
    }
    a.ts-ab-done__go {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-ab-done__mascot svg.ts-poop {
        animation: none;
    }
}

/* the POOP 911 band: an old ".front-page-2 { padding: 40px 0 !important }" rule overrode the 24px / 16px above */
.home .front-page-2.widget-area {
    padding: 20px 0 !important;
}

@media (max-width: 599px) {
    .home .front-page-2.widget-area {
        padding: 12px 0 !important;
    }
}

/* ==========================================================================
   User Dashboard (page 725), 2026-10-01 - includes/functions-dashboard.php
   ========================================================================== */
.ts-dash {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.ts-dash-hello {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 0 0 22px;
    padding: 20px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eaf6fc 0%, #f6f9fc 100%);
}

.ts-dash-hello h2 {
    margin: 0 0 2px;
    font-size: 26px;
    color: #2a2b33;
}

.ts-dash-hello p {
    margin: 0;
    color: #5b6170;
    font-size: 15px;
}

.ts-dash-hello p.ts-dash-hello__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

a.ts-dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 2px solid #08c;
    border-radius: 12px;
    background: #08c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

a.ts-dash-btn:hover {
    background: #0a9de0;
    border-color: #0a9de0;
    color: #fff;
}

a.ts-dash-btn--ghost {
    background: #fff;
    color: #08c;
}

a.ts-dash-btn--ghost:hover {
    background: #eaf6fc;
    color: #036881;
}

a.ts-dash-link {
    color: #036881;
    font-weight: 700;
    font-size: 15px;
}

/* one card per business */
.ts-dash-biz {
    margin: 0 0 20px;
    padding: 20px;
    border: 2px solid #e3e8ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(3, 104, 129, 0.06);
}

.ts-dash-biz__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ts-dash-biz__photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #f6f9fc;
}

.ts-dash-biz__photo.has-backdrop::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: var(--ts-photo) center / cover no-repeat;
    filter: blur(14px);
    opacity: 0.5;
}

.ts-dash-biz__photo img {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.ts-dash-biz__photo.is-empty svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #9aa3b2;
    stroke-width: 2;
    stroke-linecap: round;
}

.ts-dash-biz__info {
    flex: 1 1 auto;
    min-width: 0;
}

.ts-dash-biz h3 {
    margin: 0 0 4px;
    font-size: 21px;
    line-height: 1.25;
    color: #2a2b33;
}

p.ts-dash-biz__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 6px;
    font-size: 14px;
    color: #5b6170;
}

.ts-dash-plan {
    padding: 2px 10px;
    border-radius: 999px;
    background: #eef1f5;
    color: #3d404b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ts-dash-plan--2 { background: #eaf6fc; color: #036881; }
.ts-dash-plan--3 { background: #08c; color: #fff; }
.ts-dash-plan--4 { background: linear-gradient(90deg, #f5b52e, #ffd36b); color: #4a3200; }

p.ts-dash-status {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.ts-dash-status::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: #9aa3b2;
    vertical-align: 1px;
}

.ts-dash-status.is-ok { color: #1a6e4c; }
.ts-dash-status.is-ok::before { background: #1f9d6b; }
.ts-dash-status.is-warn { color: #8a5a00; }
.ts-dash-status.is-warn::before { background: #e0a526; }
.ts-dash-status.is-off { color: #5b6170; }

p.ts-dash-biz__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 18px;
}

p.ts-dash-biz__month {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8a90a0;
}

/* stat tiles */
ul.ts-dash-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

ul.ts-dash-tiles li.ts-dash-tile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 12px 12px 10px;
    border-radius: 14px;
    background: #f6f9fc;
    list-style: none;
    text-indent: 0;
}

.ts-dash-tile__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #08c;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ts-dash-tile__label {
    font-size: 13px;
    color: #5b6170;
}

strong.ts-dash-tile__num {
    font-family: Montserrat, Helvetica, sans-serif;
    font-size: 26px;
    line-height: 1.15;
    color: #2a2b33;
}

.ts-dash-tile__delta {
    font-size: 12px;
    color: #8a90a0;
}

.ts-dash-tile__delta.is-up { color: #1a6e4c; font-weight: 700; }
.ts-dash-tile__delta.is-down { color: #b3432f; font-weight: 700; }

.ts-dash-tile.is-locked strong.ts-dash-tile__num {
    font-size: 20px;
    opacity: 0.6;
}

/* 6-month chart */
.ts-dash-chart {
    padding: 14px 14px 10px;
    border: 1px solid #eef1f5;
    border-radius: 14px;
}

p.ts-dash-chart__title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #3d404b;
}

ol.ts-dash-chart__bars {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

ol.ts-dash-chart__bars li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    list-style: none;
    text-indent: 0;
}

.ts-dash-chart__pair {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    width: 100%;
    height: 90px;
}

.ts-dash-chart__pair i {
    display: block;
    width: 38%;
    max-width: 18px;
    border-radius: 4px 4px 0 0;
}

.ts-dash-chart i.is-search,
.ts-dash-chart__key span.is-search { background: #a9dcf3; }
.ts-dash-chart i.is-views,
.ts-dash-chart__key span.is-views { background: #08c; }

ol.ts-dash-chart__bars em {
    font-size: 12px;
    font-style: normal;
    color: #8a90a0;
}

p.ts-dash-chart__key {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 12px;
    color: #5b6170;
}

.ts-dash-chart__key span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.ts-dash-chart__key span.is-views {
    margin-left: 10px;
}

ol.ts-dash-chart__bars li.is-old i,
ol.ts-dash-chart__bars li.is-old b {
    opacity: .4;
}

p.ts-dash-chart__note {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #5b6170;
}

p.ts-dash-upgrade {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff8e6;
    font-size: 14px;
    color: #4a3200;
}

p.ts-dash-upgrade a {
    color: #036881;
    font-weight: 700;
}

.ts-dash-empty {
    padding: 28px 22px;
    border: 2px dashed #cfd6df;
    border-radius: 18px;
    text-align: center;
}

.ts-dash-empty h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.ts-dash-empty p {
    margin: 0 0 12px;
    color: #5b6170;
}

.ts-dash-empty p:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0;
}

p.ts-dash-help {
    margin: 8px 0 0;
    font-size: 14px;
    color: #5b6170;
}

@media (max-width: 599px) {
    .ts-dash-hello {
        padding: 16px;
    }
    .ts-dash-hello h2 {
        font-size: 22px;
    }
    .ts-dash-hello p.ts-dash-hello__actions {
        width: 100%;
        justify-content: space-between;
    }
    .ts-dash-biz {
        padding: 16px;
        border-width: 1px;
    }
    .ts-dash-biz__photo {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
        border-radius: 12px;
    }
    .ts-dash-biz h3 {
        font-size: 19px;
    }
    p.ts-dash-biz__actions a.ts-dash-btn {
        flex: 1 1 0;
    }
    ul.ts-dash-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    strong.ts-dash-tile__num {
        font-size: 24px;
    }
    .ts-dash-chart__pair {
        height: 70px;
    }
}

/* dashboard chart: page views only, the count above each bar */
.ts-dash-chart__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
    height: 96px;
}

.ts-dash-chart__col b {
    font-size: 12px;
    font-weight: 700;
    color: #5b6170;
}

.ts-dash-chart__col i {
    display: block;
    width: 60%;
    max-width: 34px;
    border-radius: 6px 6px 0 0;
    background: #a9dcf3;
}

ol.ts-dash-chart__bars li.is-now .ts-dash-chart__col i {
    background: #08c;
}

ol.ts-dash-chart__bars li.is-now .ts-dash-chart__col b,
ol.ts-dash-chart__bars li.is-now em {
    color: #036881;
    font-weight: 800;
}

@media (max-width: 599px) {
    .ts-dash-chart__col {
        height: 80px;
    }
}

/* ==========================================================================
   Add Business: fields with errors, the top note, the password strength pill (2026-10-01). Gravity Forms' legacy
   styles gave each error field a pink band with brown lines and extra padding.
   ========================================================================== */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6).gform_legacy_markup_wrapper li.gfield.gfield_error,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6).gform_legacy_markup_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    max-width: none !important;
}

/* ...and pushes an error field's label down 12px; keep the usual rhythm */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6).gform_legacy_markup_wrapper li.gfield_error .gfield_label {
    margin-top: 0;
}

/* Gravity Forms doubles the gap between two fields that both have errors (32px); keep the usual 16px */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6).gform_legacy_markup_wrapper li.gfield.gfield_error + li.gfield.gfield_error {
    margin-top: 16px;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error .gfield_label,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error .ginput_complex label,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error .gfield_label .gform-field-label__text {
    color: #2a2b33 !important;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_required {
    color: #d64545;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error select,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error textarea {
    border-color: #d64545 !important;
    background: #fff8f8;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error input:focus,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error select:focus,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error textarea:focus {
    outline-color: rgba(214, 69, 69, 0.2);
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error ul.gfield_checkbox li,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) li.gfield_error ul.gfield_radio li {
    border-color: #f0b4b4;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6).gform_legacy_markup_wrapper .gfield_error .validation_message,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_error .gfield_validation_message {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #c0392b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_error .validation_message::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: #d64545;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

/* the note at the top (Gravity Forms' box around our message) */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) :is(#gform_1_validation_container, #gform_2_validation_container, #gform_3_validation_container, #gform_4_validation_container, #gform_6_validation_container).gform_validation_errors {
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 0;
    border-left: 4px solid #d64545;
    border-radius: 12px;
    background: #fdecec;
    box-shadow: none;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) h2.gform_submission_error.ts-form-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: #8a1f1f;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.ts-form-alert b {
    font-weight: 800;
}

span.ts-form-alert__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d64545;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

/* password strength: a small pill that changes colour */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_password_strength {
    display: inline-block;
    width: auto;
    margin: 8px 0 0;
    padding: 5px 12px;
    border: 0;
    border-radius: 999px;
    background: #eef1f5;
    color: #5b6170;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_password_strength.short,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_password_strength.bad,
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_password_strength.mismatch {
    background: #fdecec;
    color: #b3432f;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_password_strength.good {
    background: #fff4e0;
    color: #8a5a00;
}

:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) .gfield_password_strength.strong {
    background: #e7f6ef;
    color: #1a6e4c;
}

/* Gravity Forms draws its own icon before the note's heading; ours is enough */
:is(#gform_wrapper_1, #gform_wrapper_2, #gform_wrapper_3, #gform_wrapper_4, #gform_wrapper_6) h2.gform_submission_error.ts-form-alert::before {
    content: none !important;
    display: none !important;
}

/* User Dashboard without the photo hero: the greeting is the page heading */
.page-template-page-user-dashboard .site-inner {
    padding-top: 28px;
}

p.ts-dash-hello__eyebrow {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #036881;
}

.ts-dash-hello h1,
.ts-dash-empty h1 {
    margin: 0 0 2px;
    font-size: 28px;
    line-height: 1.2;
    color: #2a2b33;
}

.ts-dash-empty h1 {
    margin-bottom: 8px;
    font-size: 24px;
}

@media (max-width: 599px) {
    .page-template-page-user-dashboard .site-inner {
        padding-top: 18px;
    }
    .ts-dash-hello h1 {
        font-size: 24px;
    }
}

/* ==========================================================================
   No photo hero but on the homepage (includes/functions-page-title.php): the page title is the heading, styled like
   the search / state page headings, with a short blue bar under it
   ========================================================================== */
body:not(.home) .site-inner {
    padding-top: 28px;
}

.page:not(.home) .entry-header .entry-title,
.single .entry-header .entry-title,
.error404 .entry-header .entry-title,
h1.ts-plain-title {
    margin: 0 0 16px;
    font-size: 32px;
    line-height: 1.2;
    text-align: left;
    color: #2a2b33;
}

.page:not(.home) .entry-header .entry-title::after,
.single .entry-header .entry-title::after,
.error404 .entry-header .entry-title::after,
h1.ts-plain-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 12px;
    border-radius: 2px;
    background: #08c;
}

/* the dashboard: full width, centred */
.page-template-page-user-dashboard .ts-dash {
    max-width: 900px;
}

@media (max-width: 599px) {
    body:not(.home) .site-inner {
        padding-top: 18px;
    }
    .page:not(.home) .entry-header .entry-title,
    .single .entry-header .entry-title,
    .error404 .entry-header .entry-title,
    h1.ts-plain-title {
        font-size: 26px;
    }
}

/* ==========================================================================
   About page (829), 2026-10-01: [ts_about]
   ========================================================================== */
.ts-about {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

p.ts-about__lede {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: 19px;
    line-height: 1.6;
    color: #3d404b;
}

.ts-about ul.ts-home-stats {
    margin-bottom: 48px;
}

.ts-about-svc {
    margin: 0 0 56px;
}

ul.ts-about-svc__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.ts-about-svc__list li {
    margin: 0;
    list-style: none;
    text-indent: 0;
}

ul.ts-about-svc__list a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 18px 16px 16px;
    box-sizing: border-box;
    border: 2px solid #e3e8ee;
    border-radius: 16px;
    background: #fff;
    color: #3d404b;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

ul.ts-about-svc__list a:hover {
    border-color: #7cc8ef;
    transform: translateY(-2px);
}

.ts-about-svc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    border-radius: 14px;
    background: #eaf6fc;
    color: #08c;
}

.ts-about-svc__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ts-about-svc__icon svg.ts-poop {
    width: 40px;
    height: 40px;
    margin: 0;
    stroke: none;
}

ul.ts-about-svc__list b {
    font-size: 17px;
    color: #2a2b33;
}

ul.ts-about-svc__list span:not(.ts-about-svc__icon) {
    font-size: 14px;
    line-height: 1.45;
    color: #5b6170;
}

ul.ts-about-svc__list em {
    margin-top: auto;
    padding-top: 8px;
    color: #08c;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

.ts-about .ts-home-how {
    margin-bottom: 40px;
}

.ts-about ol.ts-home-steps li {
    background: #f6f9fc;
    box-shadow: none;
}

p.ts-about__contact {
    margin: 0 0 28px;
    text-align: center;
    font-size: 16px;
    color: #5b6170;
}

p.ts-about__contact a {
    font-weight: 700;
}

@media (max-width: 859px) {
    ul.ts-about-svc__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ts-about .ts-home-business {
        text-align: center;
    }
}

@media (max-width: 599px) {
    p.ts-about__lede {
        font-size: 17px;
        margin-bottom: 22px;
    }
    .ts-about ul.ts-home-stats {
        margin-bottom: 36px;
    }
    .ts-about-svc {
        margin-bottom: 40px;
    }
    ul.ts-about-svc__list {
        gap: 10px;
    }
    ul.ts-about-svc__list a {
        padding: 14px 12px 12px;
        border-width: 1px;
    }
    ul.ts-about-svc__list em {
        font-size: 13px;
    }
}

/* About: page content adds bullets to lists and bold to links */
.entry-content .ts-about ul.ts-home-stats,
.entry-content .ts-about ul.ts-about-svc__list,
.entry-content .ts-about ol.ts-home-steps {
    margin-left: 0;
    padding-left: 0;
}

.entry-content .ts-about ul.ts-home-stats li,
.entry-content .ts-about ul.ts-about-svc__list li,
.entry-content .ts-about ol.ts-home-steps li {
    list-style: none;
}

.entry-content .ts-about ul.ts-about-svc__list a {
    font-weight: 400;
}

.entry-content .ts-about ul.ts-about-svc__list b,
.entry-content .ts-about ul.ts-about-svc__list em {
    font-weight: 700;
}

/* About: the content lines up with the page heading (it was centred in a narrower column) */
.entry-content .ts-about {
    max-width: none;
    margin: 0;
}

p.ts-dash-status a {
    color: #036881;
    font-weight: 700;
}


/* phones and tablets: the POOP 911 band sits right under the header, above the hero, with its "Businesses that we
   recommend" heading - as on the search, state and other pages (user, 2026-10-01) */
@media (max-width: 859px) {
    .home .site-inner {
        display: flex;
        flex-direction: column;
    }
    .home .site-inner > .front-page-2 {
        order: -1;
    }
}

@media (max-width: 859px) {
    /* the same band as on the other pages (.after-header): 96px, the banner inset by the page gutter */
    .home .front-page-2.widget-area {
        padding: 8px 0 !important;
    }
    .home .front-page-2 > .wrap {
        padding: 3px 5%;
    }
}

/* ==========================================================================
   Log in / lost password / reset password (Theme My Login .tml), 2026-10-01
   ========================================================================== */
.tml {
    max-width: 440px;
    padding: 24px 22px 20px;
    border: 2px solid #e3e8ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(3, 104, 129, 0.07);
}

.tml .tml-field-wrap {
    margin: 0 0 18px;
}

.tml .tml-label {
    display: block;
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #2a2b33;
}

.tml input.tml-field {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1.5px solid #cfd6df;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    color: #2a2b33;
    box-shadow: none;
}

.tml input.tml-field:focus {
    border-color: #08c;
    outline: 3px solid rgba(0, 136, 204, 0.18);
    outline-offset: 0;
}

/* the password box with its show/hide eye inside */
.tml .tml-pwd {
    position: relative;
}

.tml .tml-pwd input.tml-field {
    padding-right: 52px;
}

.tml button.tml-toggle-pwd {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: none;
    box-shadow: none;
    color: #5b6170;
    transform: translateY(-50%);
    cursor: pointer;
}

.tml button.tml-toggle-pwd:hover {
    background: #f1f4f8;
    color: #2a2b33;
}

.tml .tml-rememberme-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tml .tml-rememberme-wrap .tml-label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.tml input.tml-checkbox {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #08c;
}

.tml button.tml-button,
.tml input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 4px 0 0;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: #08c;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.25);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}

.tml button.tml-button:hover,
.tml input[type="submit"]:hover {
    background: #0a9de0;
}

.tml ul.tml-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.tml ul.tml-links li {
    margin: 0;
    list-style: none;
}

.tml ul.tml-links a {
    color: #036881;
    font-size: 15px;
    font-weight: 700;
}

.tml .tml-errors,
.tml .tml-messages {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 12px;
    list-style: none;
    font-size: 15px;
}

.tml .tml-errors {
    border-left: 4px solid #d64545;
    background: #fdecec;
    color: #8a1f1f;
}

.tml .tml-messages {
    border-left: 4px solid #1f9d6b;
    background: #e7f6ef;
    color: #1a6e4c;
}

.tml .tml-errors li,
.tml .tml-messages li {
    margin: 0;
    list-style: none;
}

@media (max-width: 599px) {
    .tml {
        padding: 20px 16px 18px;
        border-width: 1px;
    }
}

/* Listing step: the key perk (reputation management on Featured) stands out */
ul.ts-tier__perks li.is-key {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #fff4dc;
    box-shadow: inset 0 0 0 1px #f2d27a;
    color: #4a3200;
}

ul.ts-tier__perks li.is-key::before {
    content: none;
}

ul.ts-tier__perks li.is-key svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    fill: none;
    stroke: #d98b00;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

ul.ts-tier__perks li.is-key b {
    color: #2a2b33;
}

/* key perks, pixel-aligned: the boxes line up with the list's left edge (where the plain bullets' ticks sit), the
   icon is centred on the first line of text, even 6px between the boxes and 10px before the plain bullets */
ul.ts-tier__perks li.is-key {
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 6px;
    padding: 9px 12px 9px 10px;
    line-height: 20px;
}

ul.ts-tier__perks li.is-key + li:not(.is-key) {
    margin-top: 10px;
}

ul.ts-tier__perks li.is-key svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
}

ul.ts-tier__perks li.is-key span {
    flex: 1 1 auto;
    min-width: 0;
}

/* all Listing-step perks share one column (pixel pass, 2026-10-01): the list starts at the card's content edge (Gravity
   Forms indents lists 28px), every icon / tick is centred 20px in and every line of text starts 39px in */
#gform_wrapper_1 ul.ts-tier__perks {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

#gform_wrapper_1 ul.ts-tier__perks li {
    padding-left: 39px;
    list-style: none !important;
}

#gform_wrapper_1 ul.ts-tier__perks li::before {
    left: 14px;
    top: 5px;
}

#gform_wrapper_1 ul.ts-tier__perks li.is-key {
    padding: 9px 12px 9px 10px;
}

#gform_wrapper_1 ul.ts-tier__perks li.is-key::before {
    content: none;
}

/* Gravity Forms (".entry .gform_legacy_markup_wrapper.gf_browser_chrome ul li::before { content: none }") hid the ticks */
#gform_wrapper_1 ul.ts-tier__perks li:not(.is-key)::before {
    content: "" !important;
    left: 12.5px;
}

/* ---------- Write Review (form 6): its own CSS (an HTML field) made these bright yellow / red / blue ---------- */
#gform_wrapper_6 .checklogged,
#gform_wrapper_6 .ts-yellow-box {
    margin: 0;
    padding: 12px 16px;
    border-radius: 10px;
    background: #eef6fc;
    color: #2a2b33;
    font-weight: 400;
}

#gform_wrapper_6 li.reviews-confirm-leave-review {
    width: auto;
    padding: 16px !important;
    border: 1.5px solid #f1c48b;
    border-radius: 12px;
    background: #fff8ee;
}

#gform_wrapper_6 .confirm-critical-review {
    display: inline-block;
    padding: 0;
    background: none;
    color: #08c;
    font-weight: 700;
    text-decoration: underline;
}

/* star rating (Survey add-on stylesheet, loaded in functions-gravity-forms.php): big, easy-to-tap stars */
#gform_wrapper_6 .gsurvey-rating {
    display: inline-block;
    padding-bottom: 4px;
}

#gform_wrapper_6 .gsurvey-rating > label,
#gform_wrapper_6 .gsurvey-rating:not(:checked) > label {
    width: 44px !important;
    height: 44px;
    line-height: 44px !important;
    background-size: 36px 36px !important;
    font-size: 0 !important;
}

/* a field fixed after a failed submit (script in functions-add-business.php) drops its red; hide its message too */
.gform_wrapper li.ts-was-error:not(.gfield_error) .validation_message {
    display: none;
}

/* ---------- Pooper Scooper FAQ ([ts_faq], includes/functions-faq.php) ---------- */
.ts-faq {
    max-width: 820px;
    margin: 0; /* lines up with the page heading */
    text-align: left;
}

.ts-faq__intro {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 20px;
}

.ts-faq__mascot {
    position: relative;
    flex: 0 0 auto;
    width: 88px;
    height: 88px;
    padding: 12px;
    border-radius: 50%;
    background: #fff4dc;
    box-sizing: border-box;
}

.ts-faq__mascot svg,
.ts-faq__end-mascot svg {
    display: block;
    width: 100%;
    height: 100%;
    animation: ts-faq-bob 3s ease-in-out infinite;
}

@keyframes ts-faq-bob {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-3px) rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ts-faq__mascot svg,
    .ts-faq__end-mascot svg {
        animation: none;
    }
}

.ts-faq__bubble {
    position: absolute;
    top: -8px;
    right: -18px;
    padding: 4px 9px;
    border-radius: 10px 10px 10px 2px;
    background: #2a2b33;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transform: rotate(6deg);
}

p.ts-faq__eyebrow {
    display: inline-block;
    margin: 0 0 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #eaf6fc;
    color: #036881;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

p.ts-faq__lede {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    color: #3d404b;
}

/* topic chips: one swipeable row on phones */
.ts-faq__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 32px;
}

.ts-faq__chips a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid #e3e8ee;
    border-radius: 999px;
    background: #fff;
    color: #2a2b33;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ts-faq__chips a span {
    display: inline-flex;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.ts-faq__chips a img.emoji {
    width: 18px !important;
    max-width: none;
    height: 18px !important;
    margin: 0 !important;
}

.ts-faq__chips a:hover {
    border-color: #7cc8ef;
    color: #036881;
}

.ts-faq__topic {
    margin: 0 0 36px;
    scroll-margin-top: 16px;
}

.ts-faq__topic h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.25;
    color: #2a2b33;
}

.ts-faq__emoji {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff4dc;
    font-size: 22px;
    line-height: 1;
}

/* the questions: cards that open */
details.ts-faq__q {
    margin: 0 0 10px;
    border: 1.5px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    scroll-margin-top: 16px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

details.ts-faq__q:hover {
    border-color: #7cc8ef;
}

details.ts-faq__q[open] {
    border-color: #7cc8ef;
    box-shadow: 0 6px 18px rgba(0, 136, 204, 0.1);
}

details.ts-faq__q summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

details.ts-faq__q summary::-webkit-details-marker {
    display: none;
}

details.ts-faq__q summary h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    color: #2a2b33;
}

/* a + in a circle that turns into a - when open */
.ts-faq__plus {
    position: relative;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eaf6fc;
    transition: transform 0.2s, background 0.2s;
}

.ts-faq__plus::before,
.ts-faq__plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2.5px;
    margin: -1.25px 0 0 -6px;
    border-radius: 2px;
    background: #08c;
}

.ts-faq__plus::after {
    transform: rotate(90deg);
    transition: transform 0.2s, opacity 0.2s;
}

details.ts-faq__q[open] .ts-faq__plus {
    background: #08c;
}

details.ts-faq__q[open] .ts-faq__plus::after {
    transform: rotate(0);
    opacity: 0;
}

details.ts-faq__q[open] .ts-faq__plus::before,
details.ts-faq__q[open] .ts-faq__plus::after {
    background: #fff;
}

.ts-faq__a {
    padding: 0 18px 18px;
    font-size: 17px;
    line-height: 1.6;
    color: #3d404b;
}

.ts-faq__a p {
    margin: 0;
}

.ts-faq__a ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.entry-content .ts-faq__a ul > li {
    position: relative;
    list-style: none;
    margin: 0 0 6px;
    padding-left: 28px;
}

.ts-faq__a li::before {
    content: "\2713";
    position: absolute;
    top: 0;
    left: 4px;
    color: #2e9e5b;
    font-weight: 700;
}

.ts-faq__a sup a {
    text-decoration: none;
}

/* the end: still got questions */
.ts-faq__end {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 20px;
    margin: 12px 0 20px;
    padding: 22px 24px;
    border-radius: 18px;
    background: #eaf6fc;
}

.ts-faq__end-mascot {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
}

.ts-faq__end-text {
    flex: 1 1 260px;
}

.ts-faq__end-text h2 {
    margin: 0 0 4px;
    font-size: 22px;
    color: #2a2b33;
}

.ts-faq__end-text p {
    margin: 0;
    color: #3d404b;
}

p.ts-faq__end-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

a.ts-faq__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 2px solid #08c;
    border-radius: 12px;
    background: #08c;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.25);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

a.ts-faq__btn:hover {
    background: #0a9de0;
    color: #fff;
}

a.ts-faq__btn--plain {
    border-color: #cfd6df;
    background: #fff;
    box-shadow: none;
    color: #2a2b33;
}

a.ts-faq__btn--plain:hover {
    border-color: #9aa3b2;
    background: #fff;
    color: #2a2b33;
}

p.ts-faq__source {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 599px) {
    .ts-faq__intro {
        gap: 14px;
    }
    .ts-faq__mascot {
        width: 68px;
        height: 68px;
        padding: 9px;
    }
    .ts-faq__bubble {
        right: -14px;
        font-size: 11px;
    }
    p.ts-faq__lede {
        font-size: 17px;
    }
    .ts-faq__chips {
        flex-wrap: nowrap;
        margin: 0 -16px 28px;
        padding: 2px 16px 6px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .ts-faq__chips::-webkit-scrollbar {
        display: none;
    }
    .ts-faq__topic h2 {
        font-size: 21px;
    }
    .ts-faq__emoji {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }
    details.ts-faq__q summary {
        padding: 14px 14px 14px 16px;
    }
    details.ts-faq__q summary h3 {
        font-size: 17px;
    }
    .ts-faq__a {
        padding: 0 16px 16px;
        font-size: 16px;
    }
    .ts-faq__end {
        padding: 20px 18px;
    }
    p.ts-faq__end-actions,
    a.ts-faq__btn {
        flex: 1 1 auto;
    }
}

/* ==========================================================================
   Sponsor band ("Businesses that we recommend" + POOP 911 banner), 2026-10-01: lighter band, banner a little bigger
   (620 -> 700px on computers) with rounded corners and a soft shadow instead of the white frame, heading and banner
   centered together. Same band on the home page (.front-page-2) and every other page (.after-header).
   ========================================================================== */
.after-header,
.front-page-2 {
    border-top: 0;
    border-bottom: 1px solid #e3e8ee;
    background: #f3f6f9;
}

.after-header .widget,
.home .front-page-2 .widget {
    max-width: 1060px;
    margin: 0 auto !important;
}

.after-header .wrap {
    padding: 18px 16px;
}

.home .front-page-2.widget-area {
    padding: 18px 0 !important;
}

.home .front-page-2 > .wrap {
    padding: 0 16px;
}

.primary-advert {
    justify-content: center;
    gap: 28px;
}

.primary-advert p {
    flex: 0 0 auto;
    padding: 0;
    font-size: 27px;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-align: right;
    color: #2a2b33;
}

#ts-banner-ad {
    flex: 0 1 700px;
    min-width: 0;
}

#ts-banner-ad a {
    display: block;
}

.primary-advert #ts-banner-ad img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
}

/* phones and tablets: heading on one line above, banner across the page inside the 16px gutters */
@media (max-width: 859px) {
    .after-header .wrap,
    .home .front-page-2 > .wrap {
        padding: 0 16px;
    }
    .after-header .wrap {
        padding-top: 12px;
        padding-bottom: 14px;
    }
    .home .front-page-2.widget-area {
        padding: 12px 0 14px !important;
    }
    .primary-advert {
        gap: 8px;
    }
    .primary-advert p {
        font-size: 19px;
        text-align: center;
    }
    #ts-banner-ad {
        flex: 0 0 auto;
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }
    #ts-banner-ad a,
    .primary-advert #ts-banner-ad img {
        border-radius: 8px;
    }
}

/* "We Recommend" gets the hero's hand-drawn swoosh, in the heading's blue #0d459a (user) */
.primary-advert p span {
    position: relative;
    display: inline-block;
}

.primary-advert p span::after {
    content: "";
    position: absolute;
    left: 1%;
    right: 1%;
    bottom: -0.3em;
    height: 0.42em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14C50 5 120 3 196 9' fill='none' stroke='%230d459a' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* the heading keeps the site's original Ranchers font (user tried the hero's Montserrat and went back) */
.primary-advert p,
.home .front-page-2 .primary-advert p {
    font-family: 'Ranchers', cursive;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.01em;
}


@media (max-width: 859px) {
    .primary-advert p,
    .home .front-page-2 .primary-advert p {
        font-size: 20px;
    }
}

@media (max-width: 599px) {
    .primary-advert p {
        margin-bottom: 6px;
    }
}

/* macOS Live Text: Safari (and Chrome on Macs) find the words in the banner image and, after a moment's hover, swap the
   pointer for a text cursor. Not selectable = no Live Text; the whole banner stays a plain link. */
#ts-banner-ad a,
#ts-banner-ad img,
#primary-advert-mobile img {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    cursor: pointer;
}

/* banner frame: a white mat like a card (user picked it from six frames, 2026-10-01); no hover motion (user) */
#ts-banner-ad a {
    padding: 5px;
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.primary-advert #ts-banner-ad img {
    border-radius: 9px;
}

@media (max-width: 859px) {
    #ts-banner-ad a {
        padding: 4px;
        border-radius: 11px;
    }
    .primary-advert #ts-banner-ad img {
        border-radius: 7px;
    }
}

/* the banner image back at its original size, 620x90 (user); the white mat adds 6px a side */
#ts-banner-ad {
    flex: 0 1 632px;
}

@media (max-width: 859px) {
    #ts-banner-ad {
        flex: 0 0 auto;
        max-width: 630px; /* 4px mat here */
    }
}

/* heading: "BUSINESSES" over "WE RECOMMEND", centered, on every screen size (user) */
.primary-advert p,
.home .front-page-2 .primary-advert p {
    text-align: center;
}

.primary-advert p br {
    display: inline;
}

/* header wordmark bolder and bigger (user): close to the footer's size, hairline shadows in the same color all round
   to thicken every stroke (the lettering is a mask image, so there is no font weight), and a soft drop shadow under
   it. The filter sits on the link, around the masked word. */
/* (the extra stroke weight was removed: back to the original lettering, user 2026-10-01) */

/* 46px tall in the 60px bar, then nudged 2px down (user): 9px above, 5px below - the lettering looks centered there */
.site-header .ts-wordmark__word {
    width: 130px;
    height: 46px;
    transform: translateY(2px);
}

@media (max-width: 599px) {
    .site-header .ts-wordmark__word {
        width: 122px;
        height: 43px;
    }
}

/* menu font: Nunito extra-bold, rounded and friendly (user picked it from seven; loaded in functions.php) - the laptop
   menu, the phone Menu button and the links in the phone drawer */
.nav-primary .genesis-nav-menu a,
.ts-menu-button,
.ts-drawer__nav a,
.ts-drawer__menu a {
    font-family: Nunito, Muli, Helvetica, sans-serif;
    font-weight: 800;
}

.nav-primary .genesis-nav-menu > .menu-item > a {
    font-size: 16px;
}

/* business description: hint above, live character counter below (functions-add-business.php, 150 minimum) */
.gform_wrapper p.ts-desc-hint {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.45;
    color: #5b6170;
}

.gform_wrapper p.ts-desc-count {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: #8a909c;
}

.gform_wrapper p.ts-desc-count.is-ok {
    color: #2e9e5b;
}

/* Edit Business: the current listing photo above the "Photo or logo" upload (functions-add-business.php) */
.gform_wrapper .ts-current-photo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0 12px;
    padding: 10px 12px;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #f7f9fb;
}

.gform_wrapper .ts-current-photo__img {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    margin: 0;
    border-radius: 10px;
    object-fit: cover;
}

.gform_wrapper .ts-current-photo span {
    font-size: 14px;
    line-height: 1.4;
    color: #5b6170;
}

.gform_wrapper .ts-current-photo b {
    display: block;
    color: #2a2b33;
}

/* User Dashboard: "Changes saved" after Edit Business */
.ts-dash-saved {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #b7e2c6;
    border-radius: 12px;
    background: #ecf8f0;
}

.ts-dash-saved__tick {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2e9e5b;
    color: #fff;
    font-weight: 800;
}

.ts-dash-saved p {
    margin: 0;
    color: #23593a;
    line-height: 1.45;
}

.ts-dash-saved a {
    font-weight: 700;
}

/* State pages (2026-10-05, functions-state-pages.php): lead under the H1, "Pooper scooper service in X" tips below the listings */
p.ts-state-lead,
.content p.ts-state-lead {
    max-width: 760px;
    margin: -4px 0 16px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ts-muted);
}

.ts-state-more {
    clear: both;
    margin: 32px 0 8px;
    padding: 24px 20px;
    border: 1px solid var(--ts-line);
    border-radius: 18px;
    background: #f7fafc;
}

.ts-state-more h2 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.25;
    color: var(--ts-ink);
}

ul.ts-state-tips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

ul.ts-state-tips li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 40, 60, 0.06), 0 4px 14px rgba(20, 40, 60, 0.05);
    list-style: none;
}

.ts-state-tip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    border-radius: 12px;
    background: var(--ts-blue-soft);
    font-size: 22px;
    line-height: 1;
}

ul.ts-state-tips b {
    font-size: 16px;
    color: var(--ts-ink);
}

ul.ts-state-tips li > span:last-child {
    font-size: 14px;
    line-height: 1.45;
    color: var(--ts-muted);
}

.ts-state-more > p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ts-ink);
}

.ts-state-more p.ts-state-links {
    font-size: 15px;
}

.ts-state-more p.ts-state-list {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff8e6;
    font-size: 15px;
    color: #4a3200;
}

.ts-state-more--empty {
    padding: 0;
    border: 0;
    background: none;
}

.ts-state-more p.ts-state-list:only-child {
    margin: 0;
}

.ts-state-more a {
    color: var(--ts-blue-dark);
    font-weight: 700;
}

#how-to-pick {
    scroll-margin-top: 80px;
}

@media only screen and (max-width: 767px) {
    ul.ts-state-tips {
        grid-template-columns: 1fr;
    }
    ul.ts-state-tips li {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 12px;
        row-gap: 2px;
        padding: 14px;
    }
    .ts-state-tip__icon {
        grid-row: span 2;
        margin: 0;
    }
    .ts-state-more {
        padding: 20px 16px;
    }
    .ts-state-more h2 {
        font-size: 21px;
    }
    p.ts-state-lead,
    .content p.ts-state-lead {
        font-size: 15px;
    }
}

/* Nothing close by (functions-state-pages.php ts_nearby_note): searches with nothing within 100 miles, empty state pages */
.ts-nearby-note {
    margin: 0 0 20px;
    padding: 18px 18px 16px;
    border: 1px solid var(--ts-line);
    border-radius: 16px;
    background: #f7fafc;
}

.ts-nearby-note p {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ts-muted);
}

.ts-nearby-note p.ts-nearby-note__head {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ts-ink);
}

.ts-nearby-note p.ts-nearby-note__list {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff8e6;
    color: #4a3200;
}

.ts-nearby-note a {
    color: var(--ts-blue-dark);
    font-weight: 700;
}

/* Page links under search and state results (ts_pager, 2026-10-05) */
.ts-pager {
    clear: both;
    margin: 0 0 8px;
    padding-top: 36px;
}

.ts-pager__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ts-pager__nums {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ts-pager a.ts-pager__num,
.ts-pager .ts-pager__num,
.ts-pager a.ts-pager__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--ts-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ts-blue-dark);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}

.ts-pager a.ts-pager__step {
    gap: 6px;
    padding: 0 16px;
}

.ts-pager a.ts-pager__step span {
    font-size: 22px;
    line-height: 1;
    margin-top: -2px;
}

.ts-pager a.ts-pager__num:hover,
.ts-pager a.ts-pager__step:hover {
    border-color: #7cc8ef;
    background: var(--ts-blue-soft);
}

.ts-pager .ts-pager__num.is-current {
    border-color: var(--ts-blue);
    background: var(--ts-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.25);
}

.ts-pager__gap {
    padding: 0 2px;
    color: var(--ts-muted);
}

.ts-pager b.ts-pager__word {
    font-weight: 700;
}

/* phones: arrows only, so Previous / numbers / Next stay on one row */
@media only screen and (max-width: 479px) {
    .ts-pager b.ts-pager__word {
        display: none;
    }
    .ts-pager a.ts-pager__step {
        min-width: 44px;
        padding: 0 12px;
    }
}

.ts-pager p.ts-pager__label {
    margin: 10px 0 0;
    font-size: 14px;
    text-align: center;
    color: var(--ts-muted);
}

/* Service pages (/service/..., functions-service-pages.php, 2026-10-05) */
.tax-service .content h1.ts-page-title {
    margin-top: 8px;
}

h2.ts-service-h2 {
    margin: 32px 0 6px;
    font-size: 24px;
    line-height: 1.25;
    color: var(--ts-ink);
}

p.ts-service-sub,
.content p.ts-service-sub {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--ts-muted);
}

.ts-service-cards.ads {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 820px;
    margin-top: 14px;
}

.ts-service-cards .ts-card {
    margin: 0;
}

nav.ts-service-states {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px;
}

nav.ts-service-states a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--ts-line);
    border-radius: 999px;
    background: #fff;
    color: var(--ts-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}

nav.ts-service-states a:hover {
    border-color: #7cc8ef;
    background: var(--ts-blue-soft);
}

nav.ts-service-states a span {
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--ts-blue-soft);
    color: var(--ts-blue-dark);
    font-size: 13px;
    text-align: center;
}

.tax-service .ts-state-more {
    max-width: 820px;
}

@media only screen and (max-width: 767px) {
    h2.ts-service-h2 {
        font-size: 21px;
    }
    nav.ts-service-states a {
        min-height: 38px;
        padding: 0 12px;
        font-size: 14px;
    }
}

/* Service names link to their /service/ page (2026-10-05): same look as before, underline on hover */
.ts-card__services a.ts-service-link,
.ts-spotlight__services a.ts-service-link {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.ts-card__services a.ts-service-link:hover,
.ts-spotlight__services a.ts-service-link:hover {
    text-decoration: underline;
}

ul.ts-detail__chips li:has(> a.ts-service-link) {
    padding: 0;
}

ul.ts-detail__chips a.ts-service-link {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    color: #036881;
    text-decoration: none;
    transition: background-color .15s;
}

ul.ts-detail__chips a.ts-service-link:hover {
    background: #d6eefa;
}

/* ==========================================================================
   Main menu, 2026-10-06 (option A; includes/functions-main-menu.php, pooperoni-menu.js 1.1.0)
   ========================================================================== */
.ts-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

nav.ts-nav {
    display: none;
}

@media (min-width: 860px) {
    .site-header > .wrap {
        display: flex;
        align-items: center;
        gap: 28px;
    }
    .site-header .title-area {
        float: none;
        flex: 0 0 auto;
    }
    nav.ts-nav {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        font-family: Nunito, Muli, Helvetica, sans-serif;
    }
    ul.ts-nav__list {
        display: flex;
        align-items: center;
        gap: 4px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    ul.ts-nav__list > li {
        position: relative;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    ul.ts-nav__list > li > a,
    button.ts-nav__toggle {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        height: 40px;
        padding: 0 12px;
        border: 0;
        border-radius: 10px;
        background: none;
        box-shadow: none;
        color: #2a2b33;
        font-family: inherit;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1;
        text-decoration: none;
        text-transform: none;
        cursor: pointer;
        transition: background-color .15s, color .15s;
    }
    ul.ts-nav__list > li > a:hover,
    button.ts-nav__toggle:hover,
    .ts-nav__drop.is-open button.ts-nav__toggle {
        background: #eaf6fc;
        color: #036881;
    }
    ul.ts-nav__list > li > a[aria-current="page"] {
        color: #036881;
    }
    button.ts-nav__toggle .ts-ico {
        width: 16px;
        height: 16px;
        stroke-width: 2.6;
        transition: transform .15s;
    }
    .ts-nav__drop.is-open button.ts-nav__toggle .ts-ico {
        transform: rotate(180deg);
    }
    /* the drop-down: opens on hover (mouse) or when the button is clicked (is-open, the script) */
    .ts-nav__menu {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        z-index: 1000;
        display: none;
        flex-direction: column;
        min-width: 240px;
        padding: 8px;
        border: 1px solid #dbe3ea;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(20, 40, 60, 0.14);
    }
    .ts-nav__menu::before { /* bridges the 6px gap so the menu stays open while the mouse moves down to it */
        content: "";
        position: absolute;
        inset: -8px 0 auto;
        height: 8px;
    }
    .ts-nav__drop.is-open .ts-nav__menu {
        display: flex;
    }
    @media (hover: hover) {
        .ts-nav__drop:hover .ts-nav__menu {
            display: flex;
        }
    }
    .ts-nav__menu a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 10px;
        color: #2a2b33;
        font-size: 15px;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
    }
    .ts-nav__menu a:hover,
    .ts-nav__menu a:focus-visible {
        background: #eaf6fc;
        color: #036881;
    }
    .ts-nav__menu a[aria-current="page"] {
        color: #036881;
    }
    .ts-nav__menu a.ts-nav__menu-search {
        margin-top: 4px;
        border-top: 1px solid #eef1f5;
        border-radius: 0 0 10px 10px;
        padding-top: 12px;
        color: #036881;
    }
    .ts-nav__menu-search .ts-ico,
    .ts-nav__menu-cost .ts-ico {
        width: 18px;
        height: 18px;
    }
    .ts-nav__menu a.ts-nav__menu-search {
        border-radius: 10px;
    }
    .ts-nav__menu a.ts-nav__menu-cost {
        color: #036881;
    }
    .ts-nav__end {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 0 0 auto;
    }
    a.ts-nav__login {
        display: inline-flex;
        align-items: center;
        height: 40px;
        padding: 0 12px;
        border-radius: 10px;
        color: #2a2b33;
        font-size: 16px;
        font-weight: 800;
        text-decoration: none;
    }
    a.ts-nav__login:hover {
        background: #eaf6fc;
        color: #036881;
    }
    a.ts-nav__cta {
        display: inline-flex;
        align-items: center;
        height: 40px;
        padding: 0 18px;
        border-radius: 10px;
        background: #08c;
        box-shadow: 0 4px 12px rgba(0, 136, 204, 0.25);
        color: #fff;
        font-size: 15px;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color .15s;
    }
    a.ts-nav__cta:hover {
        background: #0a9de0;
        color: #fff;
    }
}

/* small laptops: About moves to the footer only, so everything fits on one line */
@media (min-width: 860px) and (max-width: 1023px) {
    .site-header > .wrap {
        gap: 16px;
    }
    ul.ts-nav__list > li:last-child {
        display: none;
    }
    ul.ts-nav__list > li > a,
    button.ts-nav__toggle,
    a.ts-nav__login {
        padding: 0 9px;
        font-size: 15px;
    }
    a.ts-nav__cta {
        padding: 0 14px;
    }
}

/* the phone drawer, regrouped: icons before each link, a little tighter, the button at the bottom */
.ts-drawer__nav p.ts-drawer__label {
    margin: 6px 0 2px;
}

.ts-drawer__nav ul.ts-drawer__menu {
    margin-bottom: 14px;
}

.ts-drawer__nav ul.ts-drawer__menu a {
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 2px;
    font-size: 16px;
}

.ts-drawer__nav ul.ts-drawer__menu a::after {
    margin-left: auto;
}

.ts-drawer__nav ul.ts-drawer__menu .ts-ico {
    color: #08c;
}

.ts-drawer__nav ul.ts-drawer__menu a[aria-current="page"] {
    color: #08c;
}

a.ts-drawer__cta {
    display: block;
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 12px;
    background: #08c;
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.25);
    color: #fff;
    font-family: Nunito, Muli, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

a.ts-drawer__cta:hover {
    background: #0a9de0;
    color: #fff;
}

/* the drawer's search button: white with a blue outline now that List your business is the blue button */
a.ts-drawer__search {
    border: 2px solid #08c;
    background: #fff;
    color: #036881;
}

a.ts-drawer__search:hover {
    background: #eaf6fc;
    color: #036881;
}

#states {
    scroll-margin-top: 24px;
}

/* listing whose location couldn't be confirmed (functions-listing-page.php, meta p_unconfirmed) */
p.ts-detail__unconfirmed {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff8e6;
    color: #4a3200;
    font-size: 15px;
    line-height: 1.5;
}

p.ts-detail__unconfirmed a {
    color: #036881;
    font-weight: 700;
}

/* POOP 911 listings: their logo fills the photo frame on white (no blurred backdrop) */
.ts-detail__photo.ts-detail__photo--logo {
    background: #fff;
}

.ts-detail__photo.ts-detail__photo--logo::before {
    display: none;
}

.ts-detail__photo.ts-detail__photo--logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 8px;
    box-shadow: none;
    border-radius: 0;
    object-fit: contain;
}

/* ==========================================================================
   Listing page tidy-up, 2026-10-08 (user: "unbalanced and messy"): contact card in the sidebar above the map
   (laptops), services card beside the photo, even spacing, smaller sidebar headings
   ========================================================================== */
.ts-detail__contact--side {
    margin: 0 0 20px;
}

@media (min-width: 860px) {
    .ts-detail__contact--inline {
        display: none;
    }
}

@media (max-width: 859px) {
    .ts-detail__contact--side {
        display: none;
    }
}

/* photo and services side by side, the same height */
.ts-detail__top {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
    margin: 0 0 24px;
}

.ts-detail__top--no-photo {
    grid-template-columns: minmax(0, 1fr);
}

.ts-detail__photo {
    height: 100%;
    min-height: 240px;
}

.ts-detail__services {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border: 2px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
}

.ts-detail__services h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    color: #2a2b33;
}

.ts-detail__services .ts-detail__promos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
}

.ts-detail__services .ts-detail__promos img {
    width: 100%;
    max-width: 260px;
    border-radius: 10px;
}

/* sections: one rhythm */
.ts-detail__section {
    margin: 0 0 24px;
}

.ts-detail__section h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.ts-detail__offer {
    padding: 14px 18px;
}

.ts-detail__offer h2 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #036881;
}

.ts-detail__offer p {
    font-size: 16px;
}

/* sidebar: smaller headings, even gaps */
.ts-detail-map__note {
    margin: 10px 0 20px;
}

.ts-detail-side .ts-detail__areas {
    margin: 0;
}

.ts-detail-side .ts-detail__areas h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
}

.ts-detail-side .ts-detail__areas-list {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.65;
}

h3.ts-nearby__title {
    margin: 0 0 10px;
}

@media (max-width: 859px) {
    .ts-detail__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .ts-detail__photo {
        height: 220px;
        min-height: 0;
    }
    .ts-detail__services {
        padding: 16px;
    }
    .ts-detail__services .ts-detail__promos {
        grid-template-columns: 1fr 1fr;
    }
    .ts-detail-side {
        margin-top: 8px;
    }
}

/* sidebar order: map, contact, list (2026-10-08) */
.ts-detail__contact--side {
    margin: 16px 0 24px;
}

/* inside the services card: where they serve, then the special offer */
p.ts-detail__serves {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #5b6170;
}

.ts-detail__services .ts-detail__offer {
    margin: 0;
    padding: 12px 14px;
    border: 0;
    border-left: 4px solid #08c;
    border-radius: 10px;
    background: #f4f8fb;
}

.ts-detail__services .ts-detail__offer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    color: #2a2b33;
}

.ts-detail__services .ts-detail__offer p.ts-detail__offer-title {
    margin: 0 0 2px;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #036881;
}

/* POOP 911 "we now offer" images in the sidebar, above the cities list */
.ts-detail-side .ts-detail__promos {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
}

.ts-detail-side .ts-detail__promos img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

/* the we-now-offer images are only ~300px wide: no wider than that, so they stay sharp on phones */
.ts-detail-side .ts-detail__promos img {
    max-width: 300px;
}

/* phones and tablets: the sidebar follows the reviews with the usual 24px gap (was ~66px of stacked margins) */
@media (max-width: 859px) {
    .single-listings .sidebar-primary,
    .single-listings .ts-detail-side {
        margin-top: 0;
    }
}

/* service page questions (litter box, 2026-10-13): the FAQ page's open/close cards */
.ts-state-more h2.ts-service-faq-h {
    margin-top: 28px;
}

.ts-service-faq {
    margin: 0 0 20px;
}

@media only screen and (max-width: 600px) {
    .ts-service-faq details.ts-faq__q summary h3 {
        font-size: 16px;
    }
}

/* cost guide page (/pooper-scooper-cost/, 2026-10-15) */
ul.ts-cost-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

ul.ts-cost-stats li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--ts-blue-soft);
    list-style: none;
}

ul.ts-cost-stats b {
    font-size: 26px;
    line-height: 1.15;
    color: #0d459a;
}

ul.ts-cost-stats span {
    font-size: 14px;
    line-height: 1.4;
    color: var(--ts-muted);
}

.ts-cost-sec {
    margin: 34px 0 0;
}

.ts-cost-sec h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    color: var(--ts-ink);
}

.ts-cost-sec > p,
.ts-cost-factor > p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ts-ink);
}

.ts-cost-table-wrap {
    overflow-x: auto;
    border: 1.5px solid #e3e8ee;
    border-radius: 14px;
}

table.ts-cost-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 16px;
}

table.ts-cost-table th,
table.ts-cost-table td {
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid #eef1f4;
    text-align: left;
}

table.ts-cost-table th,
table.ts-cost-table td:first-child {
    white-space: nowrap;
}

table.ts-cost-table th {
    background: #f3f6f9;
    font-size: 14px;
    color: var(--ts-muted);
}

table.ts-cost-table tbody tr:last-child td {
    border-bottom: 0;
}

table.ts-cost-table td:nth-child(2),
table.ts-cost-table th:nth-child(2) {
    text-align: center;
}

table.ts-cost-table td:last-child {
    font-weight: 700;
    white-space: nowrap;
}

.ts-cost-factor {
    margin: 0 0 22px;
}

.ts-cost-factor h3 {
    margin: 0 0 6px;
    font-size: 19px;
    color: var(--ts-ink);
}

ul.ts-cost-exs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

li.ts-cost-ex {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 14px 16px;
    border: 1.5px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    list-style: none;
}

a.ts-cost-ex__name {
    font-weight: 700;
    color: #0d459a;
    text-decoration: none;
}

a.ts-cost-ex__name:hover {
    text-decoration: underline;
}

.ts-cost-ex__place {
    font-size: 13px;
    color: var(--ts-muted);
}

.ts-cost-ex__price {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ts-ink);
}

ul.ts-cost-check {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.ts-cost-check li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.5;
    list-style: none;
}

ul.ts-cost-check li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ts-blue-soft);
    color: var(--ts-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.ts-cost .ts-state-more {
    margin-top: 30px;
}

@media only screen and (max-width: 600px) {
    ul.ts-cost-stats {
        grid-template-columns: 1fr;
    }

    ul.ts-cost-stats b {
        font-size: 22px;
    }

    table.ts-cost-table th,
    table.ts-cost-table td {
        padding: 9px 8px;
        font-size: 14px;
    }

    table.ts-cost-table th:first-child,
    table.ts-cost-table td:first-child {
        padding-left: 12px;
    }
}

/* State pages: local write-ups, questions and sources (functions-state-local.php, 2026-11-21) */
.ts-state-local {
    margin: 22px 0 6px;
}

.ts-state-local h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
    color: var(--ts-ink);
}

.ts-state-local p {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ts-ink);
}

.ts-state-local p b {
    color: var(--ts-ink);
}

.ts-state-sources {
    margin: 18px 0 4px;
    padding-top: 14px;
    border-top: 1px solid var(--ts-line);
}

.ts-state-sources h3 {
    margin: 0 0 6px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ts-muted);
}

.ts-state-sources ol {
    margin: 0;
    padding-left: 20px;
}

.ts-state-sources li {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ts-muted);
    overflow-wrap: anywhere;
}

.ts-state-more .ts-state-sources a {
    font-weight: 400;
    color: var(--ts-muted);
    text-decoration: underline;
}

/* Metro pages (functions-metro-pages.php) and the state page link to them */
.ts-metro-cards {
    margin: 20px 0 8px;
}

.ts-state-more p.ts-state-metro {
    margin: 4px 0 14px;
    font-size: 17px;
}

.ts-state-sources p.ts-state-note {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ts-muted);
}

/* Centered pages (2026-11-22, as HFSA's hfsa-narrow): city pages, cost guide, FAQ, service pages, About, legal pages
   (ts_is_narrow_page in functions-page-title.php). One 860px column centered on laptops; inner parts that had their own
   760/820px limit from the left-aligned days fill it. */
.ts-narrow .content { float: none; width: auto; max-width: 860px; margin-left: auto; margin-right: auto; }
.ts-narrow .content p.ts-state-lead,
.ts-narrow .ts-service-cards.ads,
.ts-narrow.tax-service .ts-state-more,
.ts-narrow .ts-faq,
.ts-narrow p.ts-about__lede { max-width: none; }

/* ==========================================================================
   Log in without a password (2026-11-25, TS Passwordless Login, as HFSA): "Log in without a password" box with
   "Email me a login code" above the password form, which is folded behind "Use a password instead"; after asking,
   "Enter the 6-digit code" box. "New here? Sign up" switches the same box to sign-up wording. Same field and button
   sizes as the login card (.tml); the code button is the solid one, the password form's Log In the outlined one.
   ========================================================================== */
.tml .ts-pwl-box { margin: 0 0 18px; }
.tml .ts-pwl-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 0;
    color: var(--ts-muted);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.tml .ts-pwl-or::before,
.tml .ts-pwl-or::after { content: ""; flex: 1; height: 1px; background: var(--ts-line); }
.tml .ts-pwl-label { display: block; margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--ts-ink); }
.tml .ts-pwl-row { display: flex; flex-direction: column; gap: 10px; }
.tml .ts-pwl-row input {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1.5px solid #cfd6df;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    color: var(--ts-ink);
    box-shadow: none;
}
.tml .ts-pwl-row input:focus { border-color: var(--ts-blue); outline: 3px solid rgba(0, 136, 204, 0.15); outline-offset: 0; }
.tml .ts-pwl-code .ts-pwl-row input { font-size: 20px; letter-spacing: .12em; text-align: center; }
.tml button.ts-pwl-send {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--ts-blue);
    box-shadow: 0 6px 16px rgba(0, 136, 204, 0.22);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}
.tml button.ts-pwl-send:hover,
.tml button.ts-pwl-send:focus-visible { background: #0a9de0; }
.tml .ts-pwl-hint { margin: 10px 0 0; color: var(--ts-muted); font-size: 14px; line-height: 1.45; }
.tml .ts-pwl-hint a { color: var(--ts-blue-dark); font-weight: 700; }
.tml .ts-pwl-sent {
    margin: 0 0 20px;
    padding: 14px 14px 16px;
    border: 1px solid #cde6f3;
    border-radius: 12px;
    background: var(--ts-blue-soft);
    color: var(--ts-ink);
    font-size: 15px;
    line-height: 1.5;
}
.tml .ts-pwl-sent > p.ts-pwl-flag { margin: 0 0 10px; }
.tml .ts-pwl-sent .ts-pwl-label { font-weight: 400; }
.tml .ts-pwl-sent .ts-pwl-label strong { font-weight: 700; overflow-wrap: anywhere; }
.tml .ts-pwl-sent.is-error { border-color: #f0cccc; background: #fdf2f2; }
.tml .ts-pwl-sent.is-error > p.ts-pwl-flag strong { color: #8a1f1f; }
/* "resend the code" (counts down first) looks like the links next to it */
.tml button.ts-pwl-again {
    display: inline;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--ts-blue-dark);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}
.tml button.ts-pwl-again:disabled { color: var(--ts-muted); text-decoration: none; cursor: default; }
.tml .ts-pwl-resend { margin: 0; }
/* the password form's Log In is the outlined button while the code login shows */
.tml-login:has(.ts-pwl-box, .ts-pwl-sent) button.tml-button { border: 2px solid var(--ts-blue); background: #fff; box-shadow: none; color: var(--ts-blue-dark); }
.tml-login:has(.ts-pwl-box, .ts-pwl-sent) button.tml-button:hover { background: var(--ts-blue-soft); }
/* Log in / Sign up switch: sign up hides the password form, its "or" line and "Lost your password?" */
.tml .ts-pwl-switch { margin: 12px 0 0; font-size: 15px; color: var(--ts-ink); }
.tml .ts-pwl-switch a { color: var(--ts-blue-dark); font-weight: 700; }
html.ts-pwl-signup .tml-login form[name="login"],
html.ts-pwl-signup .tml-login .tml-links,
html.ts-pwl-signup .tml-login .ts-pwl-or { display: none; }
html.ts-pwl-signup .tml-login .ts-pwl-box { margin-bottom: 0; }
/* the password form is folded away behind "Use a password instead" (phones' password AutoFill jumped to it, past the
   code box); html.ts-pwl-password opens it; html.ts-pwl-has = the code login is on the page */
html.ts-pwl-has:not(.ts-pwl-password) .tml-login form[name="login"],
html.ts-pwl-has:not(.ts-pwl-password) .tml-login .tml-links,
html.ts-pwl-has:not(.ts-pwl-password) .tml-login .ts-pwl-or,
html.ts-pwl-signup .tml-login .ts-pwl-pw { display: none; }
.tml .ts-pwl-pw { margin: 10px 0 0; font-size: 15px; }
.tml .ts-pwl-pw a { color: var(--ts-blue-dark); font-weight: 700; }
/* log in / sign up / lost and reset password pages: the heading and the 440px card centered together (2026-11-25, as HFSA) */
.ts-narrow.tml-action .content { max-width: 440px; }
