/* Plain borders: no coloured (green / gold / terracotta) edges on cards, filters and dropdowns.
   Cards and boxes get the same thin neutral border all round; hover, focus and selected states change
   the fill or a soft grey glow instead of a coloured border. Buttons keep their own look.
   Loaded last (priority 999), so it wins over the older per-page rules. */

/* ---------- cards and boxes: no coloured edge ---------- */
.ev-card, .ev-main .ev-card:nth-child(n), .art-card, .art-box, .art-box--accent, .filter-bar, .nl-bar, .nav-dropdown, .credit-card,
.yl-push, .pg-m-box, .pg-lead-photo, .hs-feedback, .fb-card { border-top: 1px solid var(--color-border) !important; }
.credit-card, .pg-lead-photo { border-bottom: 1px solid var(--color-border) !important; }
.stat-item, .pv-contact, .fb-stats div, .fb-stats a, .pg-stat, .yellanda-store-page .ys-card, .fb-results[data-view="list"] .fb-card,
.hm-tile, .hm-tile:nth-child(n), .ev-mc-ev, .ev-soon-c { border-left: 1px solid var(--color-border) !important; }
.hm-steps li, .hm-steps li:nth-child(n) { border-top: 1px solid var(--color-border) !important; }
.nt-panel { border-right: 1px solid var(--color-border) !important; border-top: 1px solid var(--color-border) !important; }
.nav-dropdown::after { border-bottom-color: var(--color-surface) !important; }
.yellanda-store-page .ys-card.is-open { border-color: var(--color-border) !important; box-shadow: 0 6px 22px rgba(26, 34, 30, .14); }
.ev-mc-d.has-ev, .ev-mc-d.has-ev:hover, .ev-mc-d.is-sel { border-color: var(--color-border) !important; }
.ev-mc-key { border-color: var(--color-border) !important; }

/* ---------- filters, dropdowns, chips and fields: no coloured border ---------- */
.filter-field:hover, .filter-field:focus-within, .cs-btn:hover, .cs-btn:focus-visible, .cs.is-open .cs-btn, .hero-form .cs-btn:hover,
.hero-form .cs-btn:focus-visible, .hero-form .cs.is-open .cs-btn, .hero-form input:focus, .hero-form select:focus, .hero-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus, .ys-form input:focus, .ys-form textarea:focus, .ys-form select:focus,
.nl-chips button:hover, .fb-chips a:hover, .pg-chips a:hover, .nl-clear:hover, .filter-bar .nl-clear:hover, .nl-bar .nl-clear:hover,
.ys-drop:hover, .ys-drop:focus-within, .fb-photo:hover, .fb-photo:focus-within, .hero-form .fb-photo:hover, .hero-form .fb-photo:focus-within,
.pagination .page-numbers:hover, .ev-cal:hover, .ys-open[aria-expanded="true"], .cs-btn.is-invalid { border-color: var(--color-border) !important; }
.filter-field:focus-within, .cs-btn:focus-visible, .cs.is-open .cs-btn, .hero-form input:focus, .hero-form select:focus, .hero-form textarea:focus,
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus, .ys-form input:focus, .ys-form textarea:focus, .ys-form select:focus { box-shadow: 0 0 0 3px rgba(26, 34, 30, .12) !important; }
.cs-list { border-top: 1px solid var(--color-border) !important; }
.cs.up .cs-list { border-bottom: 1px solid var(--color-border) !important; }
/* selected chips and tabs show with a filled background, no coloured edge */
.nl-chips button.is-on, .fb-chips a.is-on, .gallery-tabs button[aria-pressed="true"], .ys-filter button[aria-pressed="true"], .ys-type input:checked + span,
.pagination .page-numbers.current { border-color: transparent !important; }
/* events page: the quick buttons and the other filter-like buttons */
.ev-qk-b button, .ev-mc-print, .ev-st button { border: 1px solid var(--color-border) !important; }
.ev-qk-b button.is-on { border-color: transparent !important; }
/* inside a filter field the custom dropdown button has no box of its own; the field carries the focus glow */
html body .filter-field .cs-btn, html body .filter-field .cs-btn:hover, html body .filter-field .cs-btn:focus-visible, html body .filter-field .cs.is-open .cs-btn { border: 0 !important; border-color: transparent !important; box-shadow: none !important; background: transparent !important; outline: none !important; }
html body .filter-field:focus-within { box-shadow: 0 0 0 3px rgba(26, 34, 30, .08) !important; }

/* ---------- the little coloured tab on top of cards and filter boxes ---------- */
.filter-bar, .nl-bar, .news-card, .fb-card, .art-card, .art-box, .ev-card, .hm-steps li, .hm-dev-card, .hm-tile, .pg-card, .ct-map, .ys-sheet { background-image: none !important; }
.ct-map h2::after, .art-card .entry-content h2::after { display: none !important; }
