/*
 * Small additions needed for the multi-page site structure the original
 * single-page static template never required (blog article typography,
 * pagination). Uses the same type/color system as style.min.css:
 * body font Josefin Sans, headings Raleway, accent #32a864, ink #11141b.
 */

/* Safety net: guarantees the header/side-nav logo can never render at its
   native upload size, regardless of custom-logo markup edge cases.
   !important is deliberate here - this must win over every other
   .brand-logo/.side-logo-button img rule in style.min.css. */
.brand-logo img,
.side-logo-button img {
	width: 140px !important;
	max-width: 140px !important;
	height: auto !important;
}

@media screen and (max-width: 991.98px) {
	.brand-logo img {
		width: 120px !important;
		max-width: 120px !important;
	}
}

/* Contact Form 7 - match the original template's Bootstrap form controls
   and the site's arrow-button style (.cityWall-btn), since CF7 wraps each
   field and renders its submit as a plain <input>, not the original <a>. */
.wpcf7-form-control-wrap {
	display: block;
}

.wpcf7-form .form-select,
.wpcf7-form .form-control {
	width: 100%;
}

.wpcf7-not-valid-tip {
	color: #ff8a8a;
	font-size: 13px;
	margin-top: 4px;
	display: block;
}

.wpcf7-response-output {
	max-width: 900px;
	margin: 0 auto 1.5rem;
	padding: 12px 20px;
	border-radius: 0;
	text-align: center;
}

.wpcf7-form.sent .wpcf7-response-output {
	background: rgba(50, 168, 100, 0.15);
	border-color: #32a864 !important;
	color: #fff;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
	background: rgba(220, 53, 69, 0.15);
	border-color: #dc3545 !important;
	color: #fff;
}

.cf7-submit-wrap input.wpcf7-submit {
	display: inline-block;
	background: #32a864;
	padding: 13px 30px;
	border: 0;
	border-radius: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	font-family: "Raleway", sans-serif;
	transition: all 0.5s ease 0s;
}

.cf7-submit-wrap input.wpcf7-submit:hover {
	background: #11141b;
}

.cf7-submit-wrap .wpcf7-spinner {
	vertical-align: middle;
}

/* Shared "quick query" modal (#quickContactModal) - dark theme to match the
   site's Contact section rather than Bootstrap's default white modal. */
.sampley-modal-content {
	background-color: #11141b;
	border-radius: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.sampley-modal-content .modal-title {
	font-family: "Raleway", sans-serif;
	font-weight: 700;
}

.entry-content {
	font-family: "Josefin Sans", sans-serif;
	font-size: 17px;
	line-height: 1.8;
	color: #33353b;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	font-family: "Raleway", sans-serif;
	color: #11141b;
	margin-top: 1.6em;
	margin-bottom: 0.6em;
	font-weight: 700;
}

.entry-content p {
	margin-bottom: 1.2em;
}

.entry-content a {
	color: #32a864;
	text-decoration: underline;
}

.entry-content ul,
.entry-content ol {
	margin-bottom: 1.2em;
	padding-left: 1.4em;
}

.entry-content blockquote {
	border-left: 4px solid #32a864;
	padding: 0.6em 1.2em;
	margin: 1.6em 0;
	background: #f7f7f7;
	font-style: italic;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	margin: 1em 0;
}

.entry-content table {
	width: 100%;
	margin-bottom: 1.2em;
	border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
	border: 1px solid #e3e3e3;
	padding: 10px 14px;
}

/* Pagination (Insights & Resources page, category/search archives) */
ul.page-numbers {
	display: flex;
	list-style: none;
	gap: 8px;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
	justify-content: center;
}

ul.page-numbers li {
	display: inline-block;
}

ul.page-numbers .page-numbers {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #e3e3e3;
	color: #11141b;
	text-decoration: none;
	font-family: "Raleway", sans-serif;
	font-weight: 600;
}

ul.page-numbers .page-numbers.current,
ul.page-numbers .page-numbers:hover {
	background-color: #32a864;
	border-color: #32a864;
	color: #fff;
}

/* Single article meta row */
.entry-meta {
	font-family: "Raleway", sans-serif;
	color: #6c757d;
	font-size: 14px;
	margin-bottom: 1.5em;
}

.entry-meta span + span::before {
	content: "\2022";
	margin: 0 8px;
}
