/*
Theme Name: Verity Leadlights
Theme URI: https://verityleadlights.com.au/
Author: Andrew
Author URI: https://establishedagency.com.au/
Description: Custom WPBakery-ready theme for Verity Leadlights (Kew, Melbourne). Replaces Avada. Every section is a WPBakery element; contact details, hours and footer are managed under Appearance > Verity Settings.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: Proprietary
Text Domain: verity
*/

/* ---- Fixes on top of the Lovable stylesheet ---- */
/* Only one H1 per page: secondary headings that were H1 keep the same look. */
.h1-look{font-size:2.4rem;font-weight:700;line-height:1.25}
.gallery .h1-look{margin-bottom:28px}
.services .h1-look{margin-bottom:22px}
@media (max-width:700px){.h1-look{font-size:1.9rem}}
/* Link contrast on the light-green panels (was 4.4:1, needs 4.5:1). */
:is(.visit-note,.stock-highlight,.sv-highlight,.hobby-map,.visit,.ab-visit,.ct-card,.shop-visit,.hobby-patina,.news-pagination,.article-tip,.article-side-card) a:not(.btn){color:var(--green-dark)}
.news-pagination [aria-current=page]{color:var(--green-dark)}
/* Bigger tap targets on phones. */
@media (max-width:700px){
	footer h4 a,.footer-visit a,.news-filters a,.news-pagination a{display:inline-block;padding:8px 4px;min-height:32px}
	.visit-note a,.hours-note a{display:inline-block;padding:4px 0}
}
/* Native filters/pagination rendered as links look like the original buttons. */
.news-filters a,.news-pagination a{text-decoration:none}

/* ---- Contact Form 7 inside the design ---- */
.form .wpcf7-form-control-wrap{display:block;width:100%}
.form .wpcf7-form-control-wrap input:not([type=file]):not([type=submit]),.form .wpcf7-form-control-wrap textarea,.form .wpcf7-form-control-wrap select{width:100%}
.form .wpcf7-submit{cursor:pointer}
.form .wpcf7-spinner{margin:0 0 0 12px;vertical-align:middle}
.form .wpcf7-not-valid-tip{color:#b3261e;font-size:.85rem;margin-top:4px;display:block}
.form .wpcf7-not-valid{border-color:#b3261e}
.form .wpcf7-response-output{margin:18px 0 0!important;padding:12px 14px!important;border-width:1px!important;border-radius:4px;font-size:.95rem}
.form.sent .wpcf7-response-output{background:#e6f1e6;border-color:#2f7d32!important;color:#1f5a22}
.form.invalid .wpcf7-response-output,.form.failed .wpcf7-response-output,.form.spam .wpcf7-response-output{background:#fdecea;border-color:#b3261e!important;color:#8a1c16}
.wpcf7 form.init .wpcf7-response-output{display:none}
.news-search{position:relative}
.form-notice{border-radius:4px}
/* Footer menu: separators without dangling pipes when the menu wraps on phones. */
.footer-nav{display:flex;flex-wrap:wrap;justify-content:center}
.footer-nav span+span::before{content:" | ";white-space:pre}
@media (max-width:700px){.footer-nav{gap:4px 20px}.footer-nav span+span::before{content:none}.footer-nav a{display:inline-block;padding:6px 2px}.logo img{height: 56px;}}
.dots button{position:relative}
.dots button::before{content:"";position:absolute;inset:-10px}

/* ---- News page: filters, search, pagination, featured ---- */
/* Spacing fixes (also present in the Lovable design): text boxes and headings that touched their neighbours. */
.news-search input,.news-search input[type=search]{padding:0 14px;height:44px;border-radius:6px}
.news-search input::placeholder{color:#767676}
.form input:not([type=file]):not([type=submit]):not([type=checkbox]),.form textarea,.form select{padding:10px 14px}
.form textarea{min-height:140px;line-height:1.5}
.form input[type=file]{padding:9px 12px}
.form .field{margin-bottom:18px}
.form .field label{display:block;margin-bottom:6px}
.ab-visit h2,.ct-main h2,.contact h2,.shop-visit h2,.ct-card h2,.visit h2{margin-bottom:10px}
.ct-main .lead,.contact .lead,.visit .lead{margin-bottom:22px}
:is(.ab-visit,.ct-main,.contact,.shop-visit,.hobby-map,.visit) :is(h2,h3)+p{margin-top:.5rem}
.form .hint{margin-top:14px}
.form button[type=submit],.form .wpcf7-submit{margin-top:6px}
.form input.wpcf7-submit.btn{width:auto;height:auto;min-height:48px;padding:14px 26px;font-size:1.05rem;font-weight:600;line-height:1;border-radius:6px;font-family:inherit}
.form input.wpcf7-submit.btn-solid{background:var(--green);border:1px solid var(--green);color:#fff}
.form input.wpcf7-submit.btn-solid:hover{background:var(--green-dark)}
.news-wrap{padding-top:8px}
.news-featured{margin:8px 0 44px}
.news-search{margin:0 auto 28px}
.news-filters{flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 40px}
.news-chip{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 20px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--green-dark);font-size:.95rem;font-weight:600;line-height:1.2;text-decoration:none;transition:background .15s,border-color .15s,color .15s}
.news-chip:hover{border-color:var(--green);background:var(--green-light);color:var(--green-dark)}
.news-chip[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}
.news-wrap .sv-grid{margin-bottom:8px}
.news-promo{margin-top:48px}
.news-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:48px 0 8px}
.news-page{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--green-dark);font-size:1rem;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s}
a.news-page:hover{background:var(--green-light);border-color:var(--green)}
.news-page.is-current{background:var(--green);border-color:var(--green);color:#fff}
.news-page-arrow{font-size:1.4rem;line-height:1}
.news-page.is-disabled{opacity:.4}
.news-page-gap{min-width:24px;text-align:center;color:var(--vl-muted)}
@media (max-width:520px){.news-chip{padding:8px 14px;font-size:.9rem}.news-page{min-width:40px;height:40px}}
