/* Listicle Engine — frontend styles ("Verdict" direction).
   Deliberately small and dependency-free: no framework, stays well
   under the size of adding a whole CSS toolkit. Source Serif 4 and
   Work Sans are loaded once, site-wide, by the paired theme's
   header.php — this file only references the font-family names, with
   real fallback stacks so it still reads correctly if that link is
   ever missing (e.g. plugin used with a different theme). */

:root {
	--le-bg: #ece3d0;
	--le-surface: #f6f1e6;
	--le-ink: #241d12;
	--le-muted: #6b5f47;
	--le-border: #d9cbab;
	--le-accent: #1f4d3a;
	--le-accent-dark: #16382a;
	--le-gold: #a67c2e;
	--le-success-bg: #e8f0ea;
	--le-success-ink: #1f4d3a;
	--le-warn-bg: #f6ecd2;
	--le-warn-ink: #8a5a00;
	--le-error-bg: #f6e4df;
	--le-error-ink: #9a3a26;
	--le-font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--le-font-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.le-listicle { max-width: 860px; margin: 0 auto; padding: 1.5rem 1rem 3rem; font-family: var(--le-font-sans); color: var(--le-ink); }
.le-listicle * { box-sizing: border-box; }

.le-breadcrumbs { font-size: .85rem; color: var(--le-muted); margin-bottom: 1rem; }
.le-breadcrumbs a { color: var(--le-muted); }

.le-listicle-header h1 { font-family: var(--le-font-serif); font-weight: 700; font-size: 2.1rem; line-height: 1.15; margin: 0 0 .5rem; text-wrap: balance; }
.le-updated-line { font-size: .85rem; color: var(--le-muted); margin: 0 0 1rem; }
.le-intro { font-size: 1.05rem; line-height: 1.6; }

.le-quick-facts { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.le-quick-facts th, .le-quick-facts td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--le-border); }
.le-quick-facts th { color: var(--le-muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.le-quick-facts a { color: var(--le-accent); text-decoration: none; font-weight: 600; }

.le-firm-list { list-style: none; margin: 2rem 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }

.le-firm-card {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 1.2rem;
	background: var(--le-surface);
	border: 1px solid var(--le-border);
	padding: 1.3rem 1.4rem;
	position: relative;
}
.le-firm-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--le-accent);
}
.le-single-firm .le-firm-card { grid-template-columns: 1fr; }

.le-firm-rank {
	font-family: var(--le-font-serif);
	font-weight: 700;
	font-size: 3rem;
	color: var(--le-gold);
	line-height: 1;
	text-align: center;
}

.le-firm-media img { width: 100%; max-width: 160px; height: auto; }

.le-firm-name { margin: 0 0 .5rem; font-family: var(--le-font-serif); font-weight: 700; font-size: 1.4rem; }
.le-firm-name a { text-decoration: none; color: inherit; }

.le-firm-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 .75rem; }
.le-badge {
	display: inline-block;
	font-size: .74rem;
	font-weight: 600;
	padding: .18rem .55rem;
	border: 1px solid var(--le-accent);
	color: var(--le-accent);
	background: transparent;
}
.le-badge-rating { border-color: var(--le-gold); color: var(--le-gold); }
.le-badge-bar { border-color: var(--le-accent); color: var(--le-accent); }
.le-badge-success { background: var(--le-success-bg); color: var(--le-success-ink); border-color: transparent; }
.le-badge-warn { background: var(--le-warn-bg); color: var(--le-warn-ink); border-color: transparent; }
.le-badge-muted { background: var(--le-border); color: var(--le-muted); border-color: transparent; }
.le-badge-error { background: var(--le-error-bg); color: var(--le-error-ink); border-color: transparent; }

.le-firm-summary p { line-height: 1.6; color: #40371f; }

.le-firm-awards { margin: .5rem 0; padding-left: 1.1rem; font-size: .9rem; color: var(--le-muted); }

.le-firm-credentials { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--le-border); }
.le-firm-credentials h4 { margin: 0 0 .4rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--le-muted); font-weight: 700; }

.le-profile-links, .le-social-links { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 0 0 .5rem; font-size: .88rem; }
.le-profile-links a, .le-social-links a { color: var(--le-accent); text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; }
.le-profile-links a:hover, .le-social-links a:hover { border-bottom-color: var(--le-gold); }

.le-firm-map { margin: 1rem 0; overflow: hidden; border: 1px solid var(--le-border); aspect-ratio: 16 / 9; max-height: 260px; }
.le-firm-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.le-firm-contact { margin-top: 1rem; }
.le-firm-address { font-size: .9rem; color: var(--le-muted); margin: 0 0 .6rem; }

/* Primary calls to action — real buttons, never bare underlined text. */
.le-firm-cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.le-btn {
	display: inline-block;
	padding: .6rem 1.15rem;
	font-family: var(--le-font-sans);
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid var(--le-accent);
	color: var(--le-accent);
	background: transparent;
	line-height: 1.2;
}
.le-btn:hover { background: rgba(31, 77, 58, .08); }
.le-btn-primary { background: var(--le-accent); border-color: var(--le-accent); color: #fdf9ef; }
.le-btn-primary:hover { background: var(--le-accent-dark); border-color: var(--le-accent-dark); }

.le-methodology { margin: 2rem 0; padding: 1.4rem 1.5rem; background: var(--le-surface); border: 1px solid var(--le-border); }
.le-methodology h2 { margin-top: 0; font-family: var(--le-font-serif); font-weight: 700; font-size: 1.25rem; }

.le-local-resources { margin: 2rem 0; }
.le-local-resources h2 { font-family: var(--le-font-serif); font-weight: 700; font-size: 1.2rem; }
.le-local-resources ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; }
.le-local-resources a { color: var(--le-accent); font-weight: 600; }

.le-faq { margin: 2rem 0; }
.le-faq h2 { font-family: var(--le-font-serif); font-weight: 700; font-size: 1.4rem; }
.le-faq-item { border-bottom: 1px solid var(--le-border); padding: .75rem 0; }
.le-faq-item summary { cursor: pointer; font-weight: 600; }
.le-faq-answer { padding-top: .5rem; line-height: 1.6; }

.le-related { margin: 2.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.le-related-group { background: var(--le-surface); border: 1px solid var(--le-border); padding: 1.3rem 1.4rem; }
.le-related-group h2 { font-family: var(--le-font-serif); font-weight: 700; font-size: 1.05rem; margin: 0 0 .8rem; }
.le-related-group ul { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.le-related-group a { color: var(--le-accent); font-weight: 600; text-decoration: none; }
.le-related-group a:hover { text-decoration: underline; }
.le-related-more { display: inline-block; font-size: .85rem; color: var(--le-gold); font-weight: 700; }

.le-disclaimer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--le-border); font-size: .8rem; color: var(--le-muted); }

.le-archive-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.le-archive-card { background: var(--le-surface); border: 1px solid var(--le-border); overflow: hidden; }
.le-archive-card a { text-decoration: none; color: inherit; display: block; }
.le-archive-card img { width: 100%; height: auto; display: block; }
.le-archive-card h2 { font-family: var(--le-font-serif); font-weight: 700; font-size: 1.05rem; margin: .75rem; }

.le-city-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 0; margin-bottom: 1.5rem; }
.le-city-list a { color: var(--le-accent); font-weight: 600; }

.le-appears-in { margin-top: 2rem; }
.le-appears-in h2 { font-family: var(--le-font-serif); font-weight: 700; }

@media (max-width: 480px) {
	.le-firm-card { grid-template-columns: 1fr; }
	.le-firm-rank { font-size: 1.6rem; text-align: left; }
}
