/*
Theme Name: SmartMag Child
Description: Child theme for the Accident News Now redesign.
Author: ITWOLF
Template: smart-mag
Version: 1.9.17
Requires PHP: 7.1
Text Domain: smart-mag-child
*/

/* Accident News Now: Highlights layouts */
.ann-hl {
	--c-a-hover: var(--ann-gold);
	--media-radius: 10px;
	--ann-gold: var(--c-main);
	--ann-ink: var(--c-headings);
	--ann-muted: var(--c-excerpts);
	--ann-panel: var(--c-contrast-50);
	--ann-line: var(--c-separator);
	--ann-gap: 24px;
	color: var(--ann-ink);
	font-family: "Outfit", sans-serif;
}

.ann-hl a {
	color: inherit;
	text-decoration: none;
}

.ann-hl a:hover {
	color: var(--c-a-hover);
}

.ann-hl--accent {
	--ann-gold: var(--c-main);
}

.cols-gap-sm .ann-hl {
	--ann-gap: 14px;
}

.cols-gap-lg .ann-hl {
	--ann-gap: 36px;
}

.cols-gap-xlg .ann-hl {
	--ann-gap: 50px;
}

/* Dark mode: colours come from SmartMag theme variables (--c-headings, --c-contrast-*, etc.) */

.ann-hl--separators .l-post {
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ann-line);
}

.ann-hl--separators-cols .l-post + .l-post {
	padding-left: 16px;
	border-left: 1px solid var(--ann-line);
}

.ann-hl--custom-meta .ann-hl__date-location,
.ann-hl--custom-meta .ann-hl__date-stack,
.ann-hl--custom-meta .ann-hl__date-tile,
.ann-hl--custom-meta .ann-hl__bigdate,
.ann-hl--custom-meta .ann-hl__bicycle-meta {
	display: none !important;
}

.ann-hl .ann-hl__media-link {
	display: block;
	height: 100%;
}

.ann-hl .ann-hl__media {
	align-self: center;
	width: 100%;
	min-width: 0;
}

.ann-hl .ann-hl__media--ratio {
	aspect-ratio: var(--ann-ratio) !important;
}

.ann-hl__head {
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ann-hl__header--center .ann-hl__head {
	justify-content: center;
}

.ann-hl .ann-hl__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ann-hl__media {
	display: block;
	overflow: hidden;
}

.ann-hl__eyebrow {
	display: none;
	margin: 0 0 8px;
	color: var(--ann-gold);
}

.ann-hl__header {
	margin-bottom: 28px;
}

.ann-hl__header--center {
	text-align: center;
}

.ann-hl__header--mobile-only {
	display: none;
}

.ann-hl .ann-hl__title {
	margin: 0;
	color: inherit;
}

.ann-hl .ann-hl__title span {
	color: var(--ann-gold);
}

.ann-hl .ann-hl__title--mobile,
.ann-hl .ann-hl__date .ann-hl__date-mobile,
.ann-hl__date-stack {
	display: none;
}

.ann-hl .ann-hl__date {
	display: block;
	margin-bottom: 6px;
	color: var(--ann-gold);
}

.ann-hl .ann-hl__post-title {
	margin: 0;
	color: var(--c-headings);
}

.ann-hl__cta {
	display: block;
	padding: 12px 20px;
	border-radius: 6px;
	background: var(--ann-gold);
	color: #fff !important;
	text-align: center;
}

.ann-hl__cta:hover {
	opacity: 0.9;
}

/* Recent Incidents */
.ann-hl__timeline {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px var(--ann-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ann-hl__timeline-item {
	margin: 0;
}

.ann-hl__timeline-item .ann-hl__media {
	aspect-ratio: 5 / 3;
	margin-bottom: 12px;
}

.ann-hl__timeline-item--lead {
	grid-column: 1 / -1;
}

.ann-hl__timeline-item--lead .ann-hl__media {
	aspect-ratio: 2 / 1;
}


.ann-hl--related {
	padding: 24px;
	border-radius: 8px;
	background: var(--ann-panel);
}

.ann-hl--related .ann-hl__header {
	margin-bottom: 18px;
}


.ann-hl__related-list {
	display: grid;
	gap: 16px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.ann-hl__related-item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin: 0;
}

.ann-hl__related-item .ann-hl__media {
	aspect-ratio: 3 / 2;
	border-radius: var(--media-radius);
}

.ann-hl__related-item .ann-hl__date {
	margin-bottom: 2px;
}


/* Category Spotlight */
.ann-hl--spotlight {
	padding: 48px 0 56px;
	background: var(--ann-ink);
	box-shadow: 0 0 0 100vmax var(--ann-ink);
	clip-path: inset(0 -100vmax);
	color: #fff;
	--c-headings: #fff;
}

.ann-hl--spotlight .ann-hl__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ann-gap);
	align-items: start;
}

.ann-hl__lead .ann-hl__media {
	aspect-ratio: 8 / 7;
	margin-bottom: 16px;
}


.ann-hl--spotlight .ann-hl__date {
	color: #fff;
}

.ann-hl__rows {
	display: grid;
	gap: 20px;
}

.ann-hl__row {
	display: grid;
	grid-template-columns: 34% minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

.ann-hl__row .ann-hl__media {
	aspect-ratio: 11 / 8;
}

.ann-hl--spotlight .ann-hl__cta {
	display: none;
}

/* Blog Cards */
.ann-hl--blog {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	row-gap: 24px;
}

.ann-hl--blog .ann-hl__header {
	margin-bottom: 0;
}

.ann-hl__cards {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(var(--ann-cols, 3), minmax(0, 1fr));
	gap: var(--ann-gap);
}

.ann-hl__card .ann-hl__media {
	aspect-ratio: 16 / 9;
	margin-bottom: 14px;
}

.ann-hl .ann-hl__excerpt {
	margin: 8px 0 12px;
	color: var(--ann-muted);
}

.ann-hl .ann-hl__read-more {
	color: var(--ann-gold);
	text-decoration: underline;
}


/* Shared additions */
.ann-hl__subtitle,
.ann-hl__date-location,
.ann-hl__bigdate,
.ann-hl__date-tile,
.ann-hl__bicycle-meta,
.ann-hl__quote,
.ann-hl__rows-title,
.ann-hl__badge {
	display: none;
}

.ann-hl__full-bleed-grey,
.ann-hl--pedestrian,
.ann-hl--dui,
.ann-hl--multimode {
	padding: 48px 0;
	background: var(--c-contrast-50);
	box-shadow: 0 0 0 100vmax var(--c-contrast-50);
	clip-path: inset(0 -100vmax);
}

/* Hero */
.ann-hl__hero-track {
	display: grid;
	grid-template-columns: minmax(0, 849fr) minmax(0, 577fr); /* Figma: 849 / 14 / 577 */
	grid-auto-rows: 1fr;
	gap: 14px;
}

@media (min-width: 768px) {
	.ann-hl__hero-track {
		aspect-ratio: 1440 / 672; /* Figma hero size */
	}
}

.ann-hl__hero-slide {
	position: relative;
	min-height: 228px;
	overflow: hidden;
	border-radius: 8px;
}

.ann-hl__hero-slide--lead {
	grid-row: span 2;
	min-height: 480px;
}

.ann-hl__hero-slide .ann-hl__media {
	position: absolute;
	inset: 0;
	border-radius: 0;
}

.ann-hl__hero-slide .ann-hl__hero-copy {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	padding: 60px 20px 18px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
	color: #fff;
	--c-headings: #fff;
}



.ann-hl__hero-meta,
.ann-hl__hero-progress {
	display: none;
}

/* Pedestrian */
.ann-hl__pedestrian-grid {
	display: grid;
	grid-template-columns: repeat(9, minmax(0, 1fr));
	gap: 28px var(--ann-gap);
}

.ann-hl__ped-lead {
	grid-column: 4 / -1;
	grid-row: 1;
}

.ann-hl__ped-lead .ann-hl__media {
	aspect-ratio: 2 / 1;
	margin-bottom: 12px;
}

.ann-hl__ped-card {
	grid-column: span 2;
	grid-row: 2;
}

.ann-hl__ped-card:nth-child(2) {
	grid-column: 4 / span 2;
}

.ann-hl__ped-card .ann-hl__media {
	aspect-ratio: 5 / 3;
	margin-bottom: 12px;
}

.ann-hl__ped-side-column {
	display: flex;
	flex-direction: column;
	grid-column: 1 / span 3;
	grid-row: 1 / span 2;
	gap: 28px;
}

.ann-hl__ped-side {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
}

.ann-hl__ped-side .ann-hl__media {
	position: relative;
	flex: 1 1 auto;
	min-height: 140px;
	margin-bottom: 12px;
}

.ann-hl .ann-hl__ped-side .ann-hl__image {
	position: absolute;
	inset: 0;
}

.ann-hl--pedestrian .ann-hl__cta,
.ann-hl--motorcycle .ann-hl__cta,
.ann-hl--multimode .ann-hl__cta {
	display: none;
}

/* Motorcycle */
.ann-hl__motorcycle-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ann-gap);
}

.ann-hl__motorcycle-card .ann-hl__media {
	aspect-ratio: 5 / 4;
	margin-bottom: 14px;
}

/* DUI */
.ann-hl__dui-grid {
	display: grid;
	grid-template-columns: repeat(var(--ann-cols, 3), minmax(0, 1fr));
	gap: 32px var(--ann-gap);
}

.ann-hl__dui-card .ann-hl__media {
	aspect-ratio: 16 / 9;
	margin-bottom: 12px;
}

.ann-hl--dui .ann-hl__cta {
	width: fit-content;
	min-width: 140px;
	margin: 32px auto 0;
}

/* Bicycle */
.ann-hl--bicycle {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	row-gap: 24px;
}

.ann-hl--bicycle .ann-hl__header {
	margin-bottom: 0;
}

.ann-hl__bicycle-grid {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--ann-gap);
}

.ann-hl__bicycle-lead .ann-hl__media {
	aspect-ratio: 16 / 9;
	margin-bottom: 14px;
}


.ann-hl__byline {
	margin: 0;
	color: var(--ann-gold);
}

.ann-hl__bicycle-rows {
	display: grid;
	gap: 18px;
	align-content: start;
}

.ann-hl__bicycle-row {
	display: grid;
	grid-template-columns: 34% minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

.ann-hl__bicycle-row .ann-hl__media {
	aspect-ratio: 11 / 8;
}

/* Multi-Mode */
.ann-hl__multimode-track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px var(--ann-gap);
}

.ann-hl__multimode-card {
	grid-column: span 1;
}

.ann-hl__multimode-card--large {
	grid-column: span 2;
}

.ann-hl__multimode-card .ann-hl__media {
	aspect-ratio: 4 / 3;
	margin-bottom: 12px;
}

.ann-hl__multimode-card--large .ann-hl__media {
	aspect-ratio: 16 / 10;
}

/* Spotlight split into two blocks */
.ann-car-section.e-con {
	--padding-top: 48px;
	--padding-bottom: 56px;
	background: #141414;
}

.ann-car-section .ann-hl {
	color: #fff;
	--c-headings: #fff;
}

.ann-car-section .ann-hl__date {
	color: #fff;
}

.ann-car-section .ann-hl__header {
	margin-bottom: 0;
}

.ann-hl--spotlight-rows .ann-hl__cta {
	display: none;
}

/* Mobile only sections */
.ann-since {
	padding: 48px 28px;
	background: var(--c-contrast-10);
	color: var(--c-headings);
	font-family: "Outfit", sans-serif;
	text-align: center;
}

.ann-since__label,
.ann-since__tag {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.ann-since__year {
	margin: 12px 0;
	background: linear-gradient(to bottom, #e0a44a, #f5e0c0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 110px;
	font-weight: 800;
	line-height: 1;
}

.ann-since__text {
	margin: 20px 0 0;
	font-size: 18px;
	line-height: 1.45;
}

/* Mobile layouts */
@media (max-width: 767px) {
	.ann-hl {
		--ann-gap: 20px;
	}

	.ann-hl__eyebrow,
	.ann-hl__header--mobile-only {
		display: block;
	}

	.ann-hl__header--center {
		text-align: left;
	}


	.ann-hl .ann-hl__title--desktop,
	.ann-hl .ann-hl__date .ann-hl__date-desktop {
		display: none;
	}

	.ann-hl .ann-hl__title--mobile,
	.ann-hl .ann-hl__date .ann-hl__date-mobile {
		display: block;
	}

	.ann-hl .ann-hl__date {
		text-transform: uppercase;
	}

	/* Recent Incidents: numbered timeline */
	.ann-hl__timeline {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		counter-reset: ann-timeline;
	}

	.ann-hl__timeline-item,
	.ann-hl__timeline-item--lead {
		position: relative;
		grid-column: auto;
		min-height: 90px;
		padding: 0 0 24px 52px;
		counter-increment: ann-timeline;
	}

	.ann-hl__timeline-item::before {
		content: counter(ann-timeline);
		position: absolute;
		top: 0;
		left: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		border: 1px solid var(--ann-line);
		border-radius: 50%;
		background: var(--c-contrast-0);
		color: var(--ann-muted);
		font-size: 14px;
		font-weight: 600;
	}

	.ann-hl__timeline-item--lead::before {
		border-color: var(--ann-gold);
		background: var(--ann-gold);
		color: #fff;
	}

	.ann-hl__timeline-item:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 32px;
		bottom: 0;
		left: 16px;
		width: 1px;
		background: var(--ann-line);
	}

	.ann-hl__timeline-item .ann-hl__media {
		display: none;
	}

	.ann-hl__timeline .ann-hl__date {
		color: var(--ann-ink);
	}


	/* Recent Incidents: Related Blogs */
	.ann-hl--related {
		padding: 36px 0;
		border-radius: 0;
		box-shadow: 0 0 0 100vmax var(--ann-panel);
		clip-path: inset(0 -100vmax);
	}


	.ann-hl--related .ann-hl__date,
	.ann-hl--related .ann-hl__cta,
	.ann-hl__related-item:nth-child(n+5) {
		display: none;
	}

	.ann-hl__related-list {
		gap: 0;
		margin-bottom: 0;
		border-top: 1px solid var(--ann-line);
	}

	.ann-hl__related-item {
		grid-template-columns: 44px minmax(0, 1fr) 86px;
		gap: 14px;
		padding: 18px 0;
		border-bottom: 1px solid var(--ann-line);
	}

	.ann-hl__date-stack {
		display: flex;
		flex-direction: column;
		color: var(--ann-gold);
		font-size: 11px;
		letter-spacing: 0.08em;
		line-height: 1.3;
		text-transform: uppercase;
	}

	.ann-hl__date-stack strong {
		color: var(--ann-ink);
		font-size: 22px;
		font-weight: 700;
		letter-spacing: 0;
		line-height: 1.1;
	}

	.ann-hl__related-item .ann-hl__media {
		order: 3;
		aspect-ratio: 4 / 3;
		border-radius: var(--media-radius);
	}


	/* Category Spotlight */
	.ann-hl--spotlight {
		padding: 0;
		background: transparent;
		box-shadow: none;
		clip-path: none;
		color: var(--ann-ink);
		--c-headings: var(--ann-ink);
	}

	.ann-hl--spotlight .ann-hl__columns {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.ann-hl--spotlight .ann-hl__date {
		color: var(--ann-gold);
	}

	.ann-hl__lead {
		padding-bottom: 8px;
		border-bottom: 1px solid var(--ann-line);
	}

	.ann-hl__lead .ann-hl__media {
		aspect-ratio: 8 / 5;
	}


	.ann-hl__rows {
		gap: 0;
	}

	.ann-hl__row {
		grid-template-columns: minmax(0, 1fr) 118px;
		padding: 18px 0;
		border-bottom: 1px solid var(--ann-line);
	}

	.ann-hl__row:last-child {
		border-bottom: 0;
	}

	.ann-hl__row .ann-hl__media {
		order: 2;
	}


	.ann-hl--spotlight .ann-hl__cta {
		display: block;
		margin-top: 12px;
	}

	/* Blog Cards */
	.ann-hl--blog {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 20px;
	}

	.ann-hl--blog .ann-hl__cta {
		order: 3;
	}

	.ann-hl__cards {
		grid-column: auto;
		grid-template-columns: repeat(var(--ann-cols, 1), minmax(0, 1fr));
		gap: 0;
	}

	.ann-hl__card {
		padding: 20px 0;
		border-bottom: 1px solid var(--ann-line);
	}

	.ann-hl__card:first-child {
		padding-top: 0;
	}

	.ann-hl__card:last-child {
		border-bottom: 0;
	}


	/* Shared additions */
	.ann-hl__subtitle {
		display: block;
		margin: 8px 0 0;
		color: var(--ann-muted);
	}

	.ann-hl__badge {
		display: inline-block;
		margin-bottom: 12px;
		padding: 6px 14px;
		border-radius: 20px;
		background: var(--c-main);
		color: #fff;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.ann-hl__badge--light {
		position: absolute;
		top: 14px;
		left: 14px;
		z-index: 1;
		margin: 0;
		background: #fff;
		color: var(--ann-ink);
	}

	.ann-hl__date-location {
		display: block;
		margin: 0 0 6px;
		color: var(--ann-muted);
		text-transform: uppercase;
	}

	.ann-hl__date-location .ann-hl__location {
		margin-left: 8px;
		color: var(--ann-gold);
	}

	.ann-hl--pedestrian,
	.ann-hl--dui,
	.ann-hl--multimode {
		padding: 36px 0;
	}

	/* Hero */
	.ann-hl__hero-track {
		display: flex;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ann-hl__hero-track::-webkit-scrollbar {
		display: none;
	}

	.ann-hl__hero-slide,
	.ann-hl__hero-slide--lead {
		flex: 0 0 100%;
		min-height: 0;
		overflow: visible;
		border-radius: 0;
		scroll-snap-align: start;
	}

	.ann-hl__hero-slide .ann-hl__hero-copy {
		position: static;
		padding: 0 0 16px;
		background: none;
		color: var(--ann-ink);
		--c-headings: var(--ann-ink);
	}


	.ann-hl__hero-meta {
		display: flex;
		gap: 16px;
		margin: 10px 0 0;
		font-size: 16px;
	}

	.ann-hl__hero-slide .ann-hl__media {
		position: static;
		aspect-ratio: 3 / 2;
		border-radius: 8px;
	}

	.ann-hl__hero-progress {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-top: 14px;
	}

	.ann-hl__hero-dots {
		display: flex;
		gap: 6px;
	}

	.ann-hl__hero-dots span {
		width: 10px;
		height: 6px;
		border-radius: 3px;
		background: #c9c9c5;
		transition: width 0.2s;
	}

	.ann-hl__hero-dots .is-active {
		width: 40px;
		background: var(--ann-gold);
	}

	.ann-hl__hero-count {
		margin: 0;
		font-size: 18px;
		font-weight: 700;
	}

	.ann-hl__hero-count em {
		color: var(--ann-gold);
		font-style: normal;
	}

	/* Pedestrian */
	.ann-hl--pedestrian {
		background: var(--c-contrast-50);
		box-shadow: 0 0 0 100vmax var(--c-contrast-50);
	}

	.ann-hl__pedestrian-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.ann-hl__ped-side-column {
		display: none;
	}

	.ann-hl__ped-lead,
	.ann-hl__ped-card,
	.ann-hl__ped-card:nth-child(2) {
		grid-column: auto;
		grid-row: auto;
	}

	.ann-hl--pedestrian .ann-hl__date {
		display: none;
	}

	.ann-hl__ped-lead {
		overflow: hidden;
		border: 1px solid var(--ann-line);
		border-radius: 8px;
		background: var(--c-contrast-0);
	}

	.ann-hl__ped-lead .ann-hl__media {
		aspect-ratio: 2 / 1;
		margin: 0;
		border-radius: 0;
	}

	.ann-hl__ped-lead .ann-hl__content {
		padding: 14px;
	}


	.ann-hl__ped-card {
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
		align-items: center;
		padding: 12px 14px 12px 12px;
		border: 1px solid var(--ann-line);
		border-left: 3px solid var(--c-main);
		border-radius: 4px;
		background: var(--c-contrast-0);
	}

	.ann-hl__ped-card .ann-hl__media {
		aspect-ratio: 1 / 1;
		margin: 0;
		border-radius: var(--media-radius);
	}


	.ann-hl--pedestrian .ann-hl__cta,
	.ann-hl--motorcycle .ann-hl__cta,
	.ann-hl--multimode .ann-hl__cta {
		display: block;
		margin-top: 24px;
	}

	/* Motorcycle */
	.ann-hl--motorcycle {
		padding: 36px 0;
		clip-path: inset(0 -100vmax);
		color: #fff;
		--c-headings: #fff;
	}

	.ann-hl--motorcycle .ann-hl__subtitle {
		color: #d7d7d7;
	}

	.ann-hl--motorcycle .ann-hl__header {
		padding-bottom: 20px;
		border-bottom: 1px solid #3a3a3a;
	}

	.ann-hl__motorcycle-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.ann-hl__motorcycle-card {
		padding: 0 0 22px;
		margin-bottom: 22px;
		border-bottom: 1px solid #3a3a3a;
	}

	.ann-hl__motorcycle-card .ann-hl__media {
		aspect-ratio: 16 / 9;
	}

	.ann-hl--motorcycle .ann-hl__date {
		display: none;
	}

	.ann-hl__bigdate {
		display: block;
		margin-bottom: 12px;
	}

	.ann-hl__bigdate strong {
		display: block;
		font-size: 34px;
		font-weight: 700;
		line-height: 1.1;
	}

	.ann-hl__bigdate i {
		color: var(--ann-gold);
		font-style: normal;
	}

	.ann-hl__bigdate span {
		color: #a9a9a9;
		font-size: 10px;
		letter-spacing: 0.14em;
		text-transform: uppercase;
	}


	/* DUI */
	.ann-hl--dui {
		background: var(--c-contrast-0);
		box-shadow: none;
	}

	.ann-hl__dui-grid {
		grid-template-columns: repeat(var(--ann-cols, 1), minmax(0, 1fr));
		gap: 0;
	}

	.ann-hl__dui-card {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 14px;
		align-items: center;
		padding: 16px 0;
		border-bottom: 1px solid var(--ann-line);
	}

	.ann-hl__dui-card:nth-child(n+5) {
		display: none;
	}

	.ann-hl__dui-card .ann-hl__media,
	.ann-hl__dui-card .ann-hl__date {
		display: none;
	}

	.ann-hl__date-tile {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 8px 4px;
		border: 1px solid var(--ann-line);
		border-radius: 4px;
		color: var(--ann-muted);
		font-size: 9px;
		letter-spacing: 0.1em;
		line-height: 1.5;
		text-transform: uppercase;
	}

	.ann-hl__date-tile strong {
		color: var(--ann-ink);
		font-size: 20px;
		letter-spacing: 0;
		line-height: 1.2;
	}

	.ann-hl__dui-card:first-child {
		display: block;
		border: 1px solid var(--ann-line);
		padding: 0 0 14px;
		border-radius: 4px;
	}

	.ann-hl__dui-card:first-child .ann-hl__date-tile {
		display: none;
	}

	.ann-hl__dui-card:first-child .ann-hl__media {
		display: block;
		margin-bottom: 10px;
		border-radius: 4px 4px 0 0;
	}

	.ann-hl__dui-card:first-child .ann-hl__date {
		display: block;
		padding: 0 14px;
	}

	.ann-hl__dui-card:first-child .ann-hl__post-title {
		padding: 0 14px;
	}


	.ann-hl--dui .ann-hl__cta {
		display: none;
	}

	/* Bicycle */
	.ann-hl--bicycle {
		grid-template-columns: minmax(0, 1fr);
		padding: 36px 0;
		background: var(--c-contrast-50);
		box-shadow: 0 0 0 100vmax var(--c-contrast-50);
		clip-path: inset(0 -100vmax);
		row-gap: 16px;
	}

	.ann-hl--bicycle .ann-hl__cta {
		order: 3;
	}

	.ann-hl__bicycle-grid {
		grid-column: auto;
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.ann-hl__bicycle-lead .ann-hl__date,
	.ann-hl__byline {
		display: none;
	}

	.ann-hl__bicycle-meta {
		display: flex;
		flex-wrap: wrap;
		gap: 14px;
		margin: 0 0 12px;
		color: var(--ann-muted);
		font-size: 11px;
	}

	.ann-hl__bicycle-meta b {
		color: var(--ann-gold);
	}

	.ann-hl__quote {
		display: block;
		height: 34px;
		color: var(--ann-gold);
		font-size: 64px;
		font-weight: 700;
		line-height: 1;
	}


	.ann-hl__rows-title {
		display: block;
		margin: 0;
		padding-top: 14px;
		border-top: 1px solid var(--ann-line);
		font-size: 14px;
		font-weight: 600;
	}

	.ann-hl__bicycle-rows {
		gap: 0;
	}

	.ann-hl__bicycle-row {
		grid-template-columns: minmax(0, 1fr) 62px;
		padding: 12px 0;
		border-bottom: 1px solid var(--ann-line);
	}

	.ann-hl__bicycle-row .ann-hl__media {
		order: 2;
		aspect-ratio: 1 / 1;
	}


	/* Multi-Mode */
	.ann-hl--multimode {
		background: var(--c-contrast-0);
		box-shadow: none;
	}

	.ann-hl__multimode-track {
		display: flex;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.ann-hl__multimode-track::-webkit-scrollbar {
		display: none;
	}

	.ann-hl__multimode-card,
	.ann-hl__multimode-card--large {
		flex: 0 0 84%;
		scroll-snap-align: start;
	}

	.ann-hl__multimode-media {
		position: relative;
	}

	.ann-hl__multimode-card .ann-hl__media,
	.ann-hl__multimode-card--large .ann-hl__media {
		aspect-ratio: 4 / 5;
	}


	/* Spotlight split into two blocks */
	.ann-car-section.e-con {
		--padding-top: 20px;
		--padding-bottom: 20px;
		background: #fff;
	}

	.ann-car-section .ann-hl {
		color: var(--ann-ink);
		--c-headings: inherit;
	}

	.ann-car-section .ann-hl__date {
		color: var(--ann-gold);
	}

	.ann-car-section .ann-hl__header {
		margin-bottom: 20px;
	}

	.ann-hl--spotlight-rows .ann-hl__cta {
		display: block;
		margin-top: 12px;
	}

	.ann-hl .ann-hl__media--ratio {
		aspect-ratio: var(--ann-ratio-mobile, var(--ann-ratio)) !important;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.ann-hl .ann-hl__media--ratio {
		aspect-ratio: var(--ann-ratio-tablet, var(--ann-ratio)) !important;
	}
}

.ann-hl__bicycle-row .ann-hl__excerpt,
.ann-hl__bicycle-row .ann-hl__read-more {
	display: none;
}

/* ==========================================================================
   Figma spec: fonts and spacing measured from the 1600px desktop and 440px mobile frames
   ========================================================================== */
.ann-hl {
}

.ann-bg-grey.e-con {
	background: var(--c-contrast-50);
}

/* Desktop */

@media(max-width: 1024px){
	.smart-head-row{
		padding: 0 20px;
	}
	.smart-head .smart-head-row > .inner.wrap,
	.breadcrumbs > .inner.ts-contain, 
	.main-wrap > .main.ts-contain,
	.main-footer .upper-footer, 
	.main-footer .lower-footer,
	.main-footer.footer-bold::after{
		width: 100% !important;
		max-width: min(95vw, 1440px) !important;
	}
}

@media (min-width: 768px) {
	.ann-hl .ann-hl__header {
		margin-bottom: calc(60 * var(--ann-u));
	}



	.ann-hl .ann-hl__date {
		margin-bottom: calc(12 * var(--ann-u));
	}

	.ann-hl .ann-hl__cta {
		padding: calc(15 * var(--ann-u)) calc(30 * var(--ann-u));
		border-radius: 8px;
	}

	.ann-hl .ann-hl__excerpt {
		margin: calc(8 * var(--ann-u)) 0 calc(12 * var(--ann-u));
		color: var(--ann-ink);
	}


	/* Hero */
	.ann-hl--hero .ann-hl__hero-track {
		gap: calc(14 * var(--ann-u));
	}

	.ann-hl__hero-slide--lead {
		min-height: calc(672 * var(--ann-u));
	}

	.ann-hl__hero-slide {
		min-height: calc(329 * var(--ann-u));
	}



	/* Recent Incidents */
	.ann-hl--recent .ann-hl__timeline {
		gap: calc(40 * var(--ann-u)) calc(38 * var(--ann-u));
	}

	.ann-hl__timeline-item .ann-hl__media {
		aspect-ratio: 5 / 3;
		margin-bottom: calc(20 * var(--ann-u));
	}

	.ann-hl__timeline-item--lead .ann-hl__media {
		aspect-ratio: 2 / 1;
	}



	/* Related Blogs */
	.ann-hl--related {
		padding: calc(30 * var(--ann-u));
		border-radius: 10px;
		background: var(--c-contrast-75);
	}

	.ann-hl--related .ann-hl__header {
		margin-bottom: calc(24 * var(--ann-u));
	}


	.ann-hl__related-list {
		gap: calc(24 * var(--ann-u));
		margin-bottom: calc(24 * var(--ann-u));
	}

	.ann-hl__related-item {
		grid-template-columns: calc(127 * var(--ann-u)) minmax(0, 1fr);
		gap: calc(10 * var(--ann-u));
	}

	.ann-hl__related-item .ann-hl__date {
		margin-bottom: calc(4 * var(--ann-u));
	}


	/* Car Accidents */
	.ann-car-section.e-con {
		--padding-top: calc(100 * var(--ann-u, 1px));
		--padding-bottom: calc(100 * var(--ann-u, 1px));
		background: #1c1c1c;
	}

	.ann-hl__lead .ann-hl__media {
		aspect-ratio: 760 / 670;
		margin-bottom: calc(20 * var(--ann-u));
	}


	.ann-hl__rows {
		gap: calc(30 * var(--ann-u));
	}

	.ann-hl__row {
		grid-template-columns: calc(245 * var(--ann-u)) minmax(0, 1fr);
		gap: calc(30 * var(--ann-u));
	}

	.ann-hl__row .ann-hl__media {
		aspect-ratio: 245 / 180;
	}


	/* Grey sections */
	.ann-hl--pedestrian,
	.ann-hl--dui,
	.ann-hl--multimode {
		padding: calc(100 * var(--ann-u)) 0;
	}

	.ann-hl--motorcycle,
	.ann-hl--bicycle,
	.ann-hl--blog {
		padding: calc(70 * var(--ann-u)) 0;
	}

	/* Pedestrian */
	.ann-hl__pedestrian-grid {
		grid-template-columns: 430fr repeat(3, 300fr);
		gap: calc(40 * var(--ann-u)) calc(38 * var(--ann-u));
	}

	.ann-hl__ped-lead {
		grid-column: 2 / -1;
	}

	.ann-hl__ped-lead .ann-hl__media {
		aspect-ratio: 2 / 1;
		margin-bottom: calc(20 * var(--ann-u));
	}

	.ann-hl__ped-card,
	.ann-hl__ped-card:nth-child(2) {
		grid-column: auto;
	}

	.ann-hl__ped-card:nth-child(2) {
		grid-column: 2;
	}

	.ann-hl__ped-card .ann-hl__media {
		aspect-ratio: 5 / 3;
		margin-bottom: calc(20 * var(--ann-u));
	}


	.ann-hl__ped-side-column {
		grid-column: 1;
		gap: calc(40 * var(--ann-u));
	}

	.ann-hl__ped-side {
		flex: none;
	}

	.ann-hl__ped-side .ann-hl__media {
		position: static;
		flex: none;
		aspect-ratio: 43 / 30;
		min-height: 0;
		margin-bottom: calc(20 * var(--ann-u));
	}

	.ann-hl .ann-hl__ped-side .ann-hl__image {
		position: static;
	}

	/* Motorcycle */
	.ann-hl__motorcycle-grid {
		gap: calc(40 * var(--ann-u));
	}

	.ann-hl__motorcycle-card .ann-hl__media {
		aspect-ratio: 14 / 11;
		margin-bottom: calc(20 * var(--ann-u));
	}

	/* DUI */
	.ann-hl__dui-grid {
		gap: calc(40 * var(--ann-u)) calc(30 * var(--ann-u));
	}

	.ann-hl__dui-card .ann-hl__media {
		aspect-ratio: 46 / 29;
		margin-bottom: calc(20 * var(--ann-u));
	}


	.ann-hl--dui .ann-hl__cta {
		min-width: calc(220 * var(--ann-u));
		margin-top: calc(60 * var(--ann-u));
	}

	/* Bicycle */
	.ann-hl--bicycle,
	.ann-hl--blog {
		row-gap: calc(30 * var(--ann-u));
	}

	.ann-hl--bicycle .ann-hl__cta,
	.ann-hl--blog .ann-hl__cta {
		min-width: calc(220 * var(--ann-u));
	}

	.ann-hl__bicycle-grid {
		grid-template-columns: 760fr 640fr;
		gap: calc(40 * var(--ann-u));
	}

	.ann-hl__bicycle-lead .ann-hl__media {
		aspect-ratio: 760 / 434;
		margin-bottom: calc(20 * var(--ann-u));
	}


	.ann-hl__bicycle-rows {
		gap: calc(30 * var(--ann-u));
	}

	.ann-hl__bicycle-row {
		grid-template-columns: calc(190 * var(--ann-u)) minmax(0, 1fr);
		gap: calc(20 * var(--ann-u));
	}

	.ann-hl__bicycle-row .ann-hl__media {
		aspect-ratio: 19 / 13;
	}


	/* Multi-Mode */
	.ann-hl__multimode-track {
		gap: calc(40 * var(--ann-u)) calc(30 * var(--ann-u));
	}

	.ann-hl__multimode-card .ann-hl__media {
		margin-bottom: calc(20 * var(--ann-u));
	}

	/* Blog */
	.ann-hl__cards {
		gap: calc(30 * var(--ann-u));
	}

	.ann-hl__card .ann-hl__media {
		aspect-ratio: 46 / 29;
		margin-bottom: calc(20 * var(--ann-u));
	}
}

/* Mobile */
@media (max-width: 767px) {
	.ann-bg-grey.e-con {
		background: #fff;
	}

	.ann-hl {
		padding-inline: 20px;
	}

	.ann-hl--hero {
		padding-inline: 10px;
	}

	.ann-hl .ann-hl__header {
		margin-bottom: 24px;
	}

	.ann-hl .ann-hl__eyebrow {
		margin-bottom: 8px;
	}



	.ann-hl .ann-hl__date,
	.ann-hl .ann-hl__date-location {
		margin-bottom: 8px;
	}

	.ann-hl .ann-hl__cta {
		padding: 15px 20px;
		border-radius: 8px;
	}

	.ann-hl__lead .ann-hl__media,
	.ann-hl__ped-lead .ann-hl__media,
	.ann-hl__bicycle-lead .ann-hl__media {
		aspect-ratio: 382 / 239;
		margin-bottom: 14px;
	}


	.ann-hl__row {
		grid-template-columns: minmax(0, 1fr) 125px;
		gap: 16px;
	}

	.ann-hl__row .ann-hl__media {
		aspect-ratio: 125 / 88;
	}





	.ann-hl__related-item {
		grid-template-columns: 44px minmax(0, 1fr) 86px;
	}


}

/* Keep the Figma heading font over the theme's block heading styles */
.ann-hl .ann-hl__title {
	flex: 0 1 auto;
	text-transform: none;
}

.ann-hl__cta-mobile {
	display: none;
}

@media (min-width: 768px) {
	.ann-hl--bicycle .ann-hl__header,
	.ann-hl--blog .ann-hl__header {
		margin-bottom: 0;
	}
}

@media (max-width: 767px) {
	.ann-hl__cta-desktop {
		display: none;
	}

	.ann-hl__cta-mobile {
		display: inline;
	}
}

/* Responsive section widths and spacing */
@media (min-width: 768px) {
	.e-con.e-parent.ann-bg-grey:has(.elementor-widget-heading) {
		--padding-top: calc(100 * var(--ann-u)) !important;
	}

	.e-con.e-parent.ann-bg-grey:has(.ann-hl) {
		--padding-top: calc(40 * var(--ann-u)) !important;
		--padding-bottom: calc(100 * var(--ann-u)) !important;
	}


	.ann-car-section .elementor-widget-heading {
		margin-bottom: calc(60 * var(--ann-u)) !important;
	}

	/* Hero */
	.ann-hl__hero-slide {
		border-radius: var(--media-radius);
	}

	.ann-hl__hero-slide .ann-hl__hero-copy {
		padding: calc(60 * var(--ann-u)) calc(24 * var(--ann-u)) calc(20 * var(--ann-u));
	}
}

/* The theme adds a dash before later meta items */
.ann-hl .ann-hl__date .meta-item::before,
.ann-hl .ann-hl__date-location .meta-item::before {
	content: none;
	display: none;
}

/* Elementor's font weight has no per-device setting, so these mobile weights stay here */
@media (max-width: 767px) {
	.ann-hl .ann-hl__head .ann-hl__title {
		font-weight: 700 !important;
	}

	.ann-hl .ann-hl__lead .ann-hl__post-title,
	.ann-hl .ann-hl__ped-lead .ann-hl__post-title,
	.ann-hl .ann-hl__dui-card:first-child .ann-hl__post-title,
	.ann-hl .ann-hl__bicycle-lead .ann-hl__post-title {
		font-weight: 700 !important;
	}

	.ann-hl .ann-hl__hero-slide .ann-hl__post-title,
	.ann-hl .ann-hl__multimode-card .ann-hl__post-title,
	.ann-hl .ann-hl__card .ann-hl__post-title {
		font-weight: 600 !important;
	}

	.ann-hl .ann-hl__date .meta-item,
	.ann-hl .ann-hl__date-location .meta-item,
	.ann-hl .ann-hl__cta {
		font-weight: 500 !important;
	}
}

/* Hero images fill their rounded frame */
@media (min-width: 768px) {
	.ann-hl .ann-hl__hero-slide .ann-hl__media {
		position: absolute;
		inset: 0;
		align-self: stretch;
		height: 100%;
		border-radius: 0;
	}

	.ann-hl .ann-hl__hero-slide .ann-hl__media-link {
		height: 100%;
	}
}

@media (max-width: 767px) {
	.ann-hl .ann-hl__hero-slide .ann-hl__media {
		border-radius: var(--media-radius);
	}
}

/* Everything scales with the viewport, so any desktop width matches the 1600px frame */
:root {
	--ann-u: clamp(0.6px, calc(100vw / 1600), 1px);
}

/* Header, breadcrumbs and page content share the Figma width (same as Elementor containers) */
.smart-head .smart-head-row > .inner.wrap,
.breadcrumbs > .inner.ts-contain,
.main-wrap > .main.ts-contain {
	width: 100%;
	max-width: min(90vw, 1440px);
}

.breadcrumbs > .inner.ts-contain,
.main-wrap > .main.ts-contain {
	padding-left: 0;
	padding-right: 0;
}

/* Category / archive title (Figma: Outfit SemiBold 48px, no bar). SmartMag has no setting for this heading. */
.archive-heading {
	padding-left: 0;
	border-left: 0;
	margin-bottom: 60px;
	font-size: 48px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-transform: none;
	color: var(--c-headings);
}

@media (max-width: 767px) {
	.archive-heading { margin-bottom: 30px; }
}

/* Header icons from Figma (search + hamburger), drawn with CSS masks so they follow theme colours in light/dark mode */
.smart-head .search-icon .tsi-search::before { content: none; }
.smart-head .search-icon .tsi-search {
	display: inline-block;
	width: 17px;
	height: 17px;
	vertical-align: middle;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='11.5 11.5 17 17'%3E%3Cpath d='M19.0286 11.5001C14.8791 11.5001 11.5 14.8792 11.5 19.0287C11.5 23.1781 14.8791 26.5572 19.0286 26.5572C20.8414 26.5572 22.5072 25.9121 23.8089 24.8392L27.2563 28.2865C27.5409 28.5711 28.0019 28.5711 28.2865 28.2865C28.5712 28.0019 28.5712 27.54 28.2865 27.2563L24.8392 23.809C25.9121 22.5074 26.5572 20.8415 26.5572 19.0286C26.5572 14.8791 23.178 11.5001 19.0286 11.5001ZM19.0286 12.9572C22.3907 12.9572 25.1 15.6665 25.1 19.0287C25.1 22.3908 22.3907 25.1001 19.0286 25.1001C15.6665 25.1001 12.9571 22.3908 12.9571 19.0287C12.9571 15.6665 15.6665 12.9572 19.0286 12.9572Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='11.5 11.5 17 17'%3E%3Cpath d='M19.0286 11.5001C14.8791 11.5001 11.5 14.8792 11.5 19.0287C11.5 23.1781 14.8791 26.5572 19.0286 26.5572C20.8414 26.5572 22.5072 25.9121 23.8089 24.8392L27.2563 28.2865C27.5409 28.5711 28.0019 28.5711 28.2865 28.2865C28.5712 28.0019 28.5712 27.54 28.2865 27.2563L24.8392 23.809C25.9121 22.5074 26.5572 20.8415 26.5572 19.0286C26.5572 14.8791 23.178 11.5001 19.0286 11.5001ZM19.0286 12.9572C22.3907 12.9572 25.1 15.6665 25.1 19.0287C25.1 22.3908 22.3907 25.1001 19.0286 25.1001C15.6665 25.1001 12.9571 22.3908 12.9571 19.0287C12.9571 15.6665 15.6665 12.9572 19.0286 12.9572Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.smart-head .hamburger-icon .inner { display: none; }
.smart-head .hamburger-icon {
	position: relative;
	width: 18px;
	height: 16px;
	background-color: var(--c-hamburger, var(--c-icons));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10.788 12 18.424 16'%3E%3Cpath d='M11.7578 12C11.2222 12 10.7881 12.4341 10.7881 12.9697C10.7881 13.5053 11.2222 13.9394 11.7578 13.9394H28.2426C28.7782 13.9394 29.2123 13.5053 29.2123 12.9697C29.2123 12.4341 28.7782 12 28.2426 12H11.7578ZM11.7578 19.0303C11.2222 19.0303 10.7881 19.4644 10.7881 20C10.7881 20.5356 11.2222 20.9697 11.7578 20.9697H28.2426C28.7782 20.9697 29.2123 20.5356 29.2123 20C29.2123 19.4644 28.7782 19.0303 28.2426 19.0303H11.7578ZM11.7578 26.0606C11.2222 26.0606 10.7881 26.4947 10.7881 27.0303C10.7881 27.5659 11.2222 28 11.7578 28H28.2426C28.7782 28 29.2123 27.5659 29.2123 27.0303C29.2123 26.4947 28.7782 26.0606 28.2426 26.0606H11.7578Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10.788 12 18.424 16'%3E%3Cpath d='M11.7578 12C11.2222 12 10.7881 12.4341 10.7881 12.9697C10.7881 13.5053 11.2222 13.9394 11.7578 13.9394H28.2426C28.7782 13.9394 29.2123 13.5053 29.2123 12.9697C29.2123 12.4341 28.7782 12 28.2426 12H11.7578ZM11.7578 19.0303C11.2222 19.0303 10.7881 19.4644 10.7881 20C10.7881 20.5356 11.2222 20.9697 11.7578 20.9697H28.2426C28.7782 20.9697 29.2123 20.5356 29.2123 20C29.2123 19.4644 28.7782 19.0303 28.2426 19.0303H11.7578ZM11.7578 26.0606C11.2222 26.0606 10.7881 26.4947 10.7881 27.0303C10.7881 27.5659 11.2222 28 11.7578 28H28.2426C28.7782 28 29.2123 27.5659 29.2123 27.0303C29.2123 26.4947 28.7782 26.0606 28.2426 26.0606H11.7578Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Header spacing from Figma */
/* Top bar: message | 19px | 1px divider | 19px | phone icon (16px) | 15px | number */
.smart-head-top .items-center > .h-text { margin-right: 0; }
.smart-head-top .items-center > .h-text::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 24px;
	margin-left: 19px;
	vertical-align: middle;
	background: rgba(255, 255, 255, 0.1);
}
.smart-head-top .ts-button1 {
	margin-left: 19px;
	padding: 0;
	height: auto;
	line-height: 22px;
	gap: 15px;
	align-items: center;
	border: 0;
}
.smart-head-top .ts-button1::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0.184157 1.41385C0.198219 1.35604 0.214624 1.30057 0.233374 1.24823C0.348215 0.93496 0.596644 0.720126 0.923975 0.652147L3.96769 0.0201244C4.41612 -0.0728412 4.85673 0.163088 5.02861 0.587289L6.30981 3.75441C6.46059 4.12628 6.36762 4.53251 6.06998 4.80204L4.91141 5.85123C4.58876 6.1434 4.53174 6.59027 4.7122 6.98636C5.49186 8.69725 7.30193 10.5097 9.01368 11.2878C9.40977 11.4683 9.85662 11.4113 10.148 11.0886L11.1972 9.93006C11.4668 9.63319 11.873 9.54023 12.2449 9.69023L15.412 10.9714C15.8362 11.1433 16.0721 11.5839 15.9791 12.0323L15.3471 15.0761C15.2791 15.4034 15.0651 15.6518 14.751 15.7667C14.6987 15.7854 14.644 15.8018 14.5854 15.8159C7.81839 17.4221 -1.422 8.18167 0.184157 1.41385Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M0.184157 1.41385C0.198219 1.35604 0.214624 1.30057 0.233374 1.24823C0.348215 0.93496 0.596644 0.720126 0.923975 0.652147L3.96769 0.0201244C4.41612 -0.0728412 4.85673 0.163088 5.02861 0.587289L6.30981 3.75441C6.46059 4.12628 6.36762 4.53251 6.06998 4.80204L4.91141 5.85123C4.58876 6.1434 4.53174 6.59027 4.7122 6.98636C5.49186 8.69725 7.30193 10.5097 9.01368 11.2878C9.40977 11.4683 9.85662 11.4113 10.148 11.0886L11.1972 9.93006C11.4668 9.63319 11.873 9.54023 12.2449 9.69023L15.412 10.9714C15.8362 11.1433 16.0721 11.5839 15.9791 12.0323L15.3471 15.0761C15.2791 15.4034 15.0651 15.6518 14.751 15.7667C14.6987 15.7854 14.644 15.8018 14.5854 15.8159C7.81839 17.4221 -1.422 8.18167 0.184157 1.41385Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Menu: 35px between items (theme setting), 10px text to dropdown arrow */
.smart-head-mid .navigation-main .menu > li.menu-item-has-children > a::after { margin-left: 10px; }

/* Right icons: 40px tap targets, 20px apart (Figma buttons) */
.smart-head .smart-head-mid .items-right { gap: 20px; }
.smart-head .smart-head-mid .items-right > * { margin: 0; flex: none; }
.smart-head .smart-head-mid .items-right .search-icon,
.smart-head .smart-head-mid .items-right .scheme-switcher .toggle,
.smart-head .smart-head-mid .items-right .offcanvas-toggle {
	width: 40px;
	height: 40px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.smart-head .hamburger-icon { flex: none; }

/* Mobile header icons (Figma mobile: 31px wide tap targets, 10px apart) */
.smart-head-mobile .smart-head-mid .items-right { gap: 10px; }
.smart-head-mobile .smart-head-mid .items-right .search-icon,
.smart-head-mobile .smart-head-mid .items-right .scheme-switcher .toggle,
.smart-head-mobile .smart-head-mid .items-right .offcanvas-toggle { width: 31px; }

/* Mobile header: icon-only tap-to-call phone (Figma mobile outline phone), 31x40 tap target like the other icons */
.smart-head-mobile .smart-head-mid .items-right .ts-button3 {
	--ann-phone-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='313 21 18 18'%3E%3Cpath fill-rule='evenodd' stroke='black' d='M313.697 23.1899C313.706 23.1542 313.715 23.1194 313.726 23.0853C313.735 23.0513 313.747 23.0173 313.759 22.9841C313.836 22.7732 313.96 22.5931 314.121 22.4544C314.282 22.3158 314.478 22.2187 314.699 22.173L317.812 21.5272H317.814C318.117 21.4641 318.419 21.5131 318.675 21.6501C318.932 21.787 319.141 22.012 319.257 22.3L320.567 25.5391C320.668 25.7906 320.688 26.0554 320.631 26.3037C320.575 26.551 320.442 26.781 320.239 26.9644L319.055 28.0378C318.949 28.1332 318.886 28.2544 318.863 28.3848C318.838 28.5284 318.86 28.6836 318.927 28.8305C319.309 29.669 319.95 30.5381 320.707 31.2961C321.463 32.0523 322.329 32.6907 323.168 33.0717C323.316 33.1389 323.473 33.1622 323.615 33.1364C323.746 33.114 323.867 33.0501 323.962 32.9447L325.036 31.7601C325.218 31.5584 325.449 31.4256 325.696 31.3683C325.945 31.311 326.209 31.3309 326.461 31.4322L329.7 32.7421H329.701C329.988 32.8584 330.213 33.0675 330.35 33.3241C330.487 33.5797 330.536 33.8827 330.473 34.1866L329.826 37.3011C329.78 37.5219 329.683 37.7178 329.545 37.8789C329.406 38.0399 329.226 38.1644 329.015 38.2416C328.986 38.2524 328.952 38.2632 328.914 38.2748C328.88 38.2848 328.845 38.2947 328.809 38.303C327.575 38.5961 326.267 38.5513 324.958 38.2408C322.469 37.6498 319.963 36.0934 317.935 34.0654C315.907 32.0374 314.35 29.5313 313.759 27.0417C313.448 25.7318 313.404 24.4244 313.697 23.1899ZM314.336 23.268C314.329 23.2895 314.323 23.3128 314.317 23.336V23.3377C314.048 24.4708 314.092 25.6787 314.38 26.8955C314.942 29.2671 316.437 31.6653 318.386 33.6153C320.335 35.5636 322.734 37.0577 325.106 37.6207C326.322 37.9095 327.53 37.9519 328.663 37.6829H328.665C328.688 37.6771 328.711 37.6713 328.733 37.6647H328.735C328.752 37.6597 328.773 37.6522 328.797 37.6439C328.907 37.6041 328.997 37.5418 329.065 37.4629C329.133 37.3841 329.181 37.2853 329.205 37.1716L329.85 34.0587C329.883 33.9043 329.858 33.7524 329.79 33.6246C329.722 33.4976 329.609 33.393 329.462 33.334V33.3332L326.224 32.0233C326.095 31.971 325.961 31.961 325.839 31.9892C325.715 32.0175 325.599 32.0847 325.506 32.1868L324.433 33.3714C324.236 33.5889 323.989 33.7184 323.725 33.7649C323.456 33.8122 323.171 33.7732 322.907 33.6528C321.995 33.2386 321.062 32.5529 320.256 31.7468C319.45 30.9408 318.764 30.0069 318.349 29.0947C318.228 28.8283 318.188 28.5435 318.235 28.2754C318.282 28.0106 318.411 27.7632 318.629 27.5665L319.814 26.4931C319.916 26.401 319.982 26.2848 320.011 26.1611C320.039 26.0374 320.029 25.9046 319.977 25.7759L318.667 22.5368C318.608 22.3916 318.504 22.2787 318.377 22.2106C318.249 22.1425 318.097 22.1185 317.942 22.15L314.83 22.7958C314.716 22.8191 314.617 22.8672 314.538 22.9353C314.459 23.0034 314.397 23.0939 314.357 23.2034C314.349 23.2242 314.342 23.2458 314.336 23.2682L314.336 23.268Z'/%3E%3C/svg%3E");
	width: 31px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font-size: 0; /* number stays as the link text for screen readers */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--c-hamburger, var(--c-icons));
}
.smart-head-mobile .smart-head-mid .items-right .ts-button3::before {
	content: "";
	width: 17px;
	height: 17px;
	background-color: currentColor;
	-webkit-mask: var(--ann-phone-icon) center / contain no-repeat;
	mask: var(--ann-phone-icon) center / contain no-repeat;
}

/* Off-canvas menu slides in from the right (the hamburger sits on the right in Figma). SmartMag has no setting for this. */
.off-canvas {
	left: auto;
	right: 0;
	transform: translate3d(100%, 0, 0);
}
.off-canvas-active .off-canvas {
	transform: translate3d(0, 0, 0);
	box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================================
   Off-canvas menu panel (Figma frame "Accidents Drop_Down")
   Colours come from the theme (--c-headings, --c-main), so light/dark switch automatically.
   Panel background, scheme and menu/heading fonts are set in Customize > Offcanvas.
   ========================================================== */
.off-canvas {
	width: 420px;
	max-width: 100vw;
	min-width: 0;
	--ann-oc-line: rgba(207, 207, 207, 0.7);
}
.s-dark .off-canvas { --ann-oc-line: rgba(255, 255, 255, 0.13); }
.off-canvas-backdrop { background: rgba(34, 34, 34, 0.5); }

/* Head: logo left (163 x 23), close icon 17px at the top right, 50px / 25px padding */
.off-canvas .off-canvas-head { padding: 50px 25px 0; }
.off-canvas .ts-logo { justify-content: flex-start; text-align: left; }
.off-canvas .ts-logo img { width: 163px; height: auto; }
.off-canvas .close,
.s-dark .off-canvas .close,
.off-canvas.s-dark .close {
	top: 53px;
	right: 25px;
	width: 17px;
	height: 17px;
	padding: 0;
	line-height: 1;
	background: none;
	color: var(--c-headings);
	display: flex;
}
.off-canvas .close .tsi-times::before { content: none; }
.off-canvas .close .tsi-times {
	width: 17px;
	height: 17px;
	background-color: currentColor;
	-webkit-mask: var(--ann-x-icon) center / contain no-repeat;
	mask: var(--ann-x-icon) center / contain no-repeat;
	--ann-x-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath d='M16.7238 0.276182C16.3556 -0.0920549 15.7585 -0.0920549 15.3902 0.276182L8.5 7.16642L1.60979 0.276202C1.24152 -0.0920672 0.644465 -0.0920672 0.276196 0.276202C-0.0920543 0.64447 -0.0920763 1.24152 0.276196 1.60982L7.16641 8.5L0.276218 15.3902C-0.0920422 15.7584 -0.0920296 16.3555 0.276218 16.7238C0.64449 17.092 1.24155 17.092 1.60981 16.7238L8.5 9.83358L15.3902 16.7238C15.7585 17.0921 16.3556 17.0921 16.7238 16.7238C17.0921 16.3555 17.0921 15.7585 16.7238 15.3902L9.83359 8.5L16.7238 1.60978C17.0921 1.24151 17.0921 0.644451 16.7238 0.276182Z'/%3E%3C/svg%3E");
}

/* Menu: starts 35px below the logo, 64px rows, 12px text inset, 1px divider */
.off-canvas .off-canvas-content { padding: 15px 25px 25px; } /* + theme 20px under the head = 35px */
.off-canvas .mobile-menu { margin-top: 0; }
.off-canvas .mobile-menu > li { border-bottom: 1px solid var(--ann-oc-line); }
.off-canvas .mobile-menu > li > a {
	min-height: 63px;
	padding: 0 12px;
	display: flex;
	align-items: center;
	padding-right: 40px;
	border: 0;
	color: var(--c-headings);
}
.off-canvas .mobile-menu > li > .chevron {
	width: 40px;
	height: 63px;
	margin: 0 0 0 auto;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--c-headings);
}
/* Theme rotates the whole button when a submenu opens; rotate only the icon so it stays in place */
.off-canvas .mobile-menu .item-active > .chevron { transform: none; }
.off-canvas .mobile-menu > li > .chevron .tsi { font-size: 12px; transition: transform 0.2s ease; }
.off-canvas .mobile-menu .item-active > .chevron .tsi { transform: rotate(180deg); }

/* Latest News: 60px below the menu, heading 32/34 SemiBold, 30px to the list */
.off-canvas .off-canvas-widgets { margin-top: 15px; } /* + theme 45px under the menu = 60px */
.off-canvas-widgets .block-head { margin-bottom: 30px; }
.off-canvas-widgets .block-head .heading {
	font-family: "Outfit", sans-serif;
	line-height: 34px;
	text-transform: none;
	color: var(--c-headings);
}

/* Posts: 144 x 106 image (5px radius), 10px gap, date above title, 15px between posts */
.off-canvas .loop-small { row-gap: 15px; font-family: "Outfit", sans-serif; }
.off-canvas .loop-small .l-post {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}
.off-canvas .loop-small .l-post .media {
	flex: 0 0 144px;
	width: 144px;
	margin: 0;
}
.off-canvas .loop-small .l-post .media-ratio {
	height: 106px;
	padding-bottom: 0;
	border-radius: 5px;
	overflow: hidden;
}
.off-canvas .loop-small .l-post .content { padding-top: 4px; }
.off-canvas .loop-small .post-meta {
	display: flex;
	flex-direction: column-reverse;
	gap: 5px;
}
.off-canvas .loop-small .post-title {
	margin: 0;
	font-family: "Outfit", sans-serif;
	font-size: 16px;
	line-height: 18px;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--c-headings);
}
.off-canvas .loop-small .post-meta-items,
.off-canvas .loop-small .meta-item.date {
	font-family: "Outfit", sans-serif;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: -0.02em;
	color: var(--c-main);
}

/* About Us page: only what the Elementor and SmartMag controls cannot do */
.ann-about__label .elementor-heading-title {
	margin-bottom: -0.26em;
	background: linear-gradient(180deg, #fff 0%, rgba(153, 153, 153, 0) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	white-space: nowrap;
}

html.s-dark .elementor .ann-about__title.elementor-element .elementor-heading-title {
	color: #fff;
}

.ann-about__text a {
	font-weight: 600;
}

.ann-about__text p:last-child,
.ann-about__breadcrumb p:last-child {
	margin-bottom: 0;
}

/* Blog page: only what the Grid widget has no control for */
.ann-blog-grid .post-meta-items {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.ann-blog-grid .post-meta-items .meta-item,
.ann-blog-grid .post-meta-items .meta-item a {
	color: #da901a;
	font-weight: 400;
}

.ann-blog-grid .post-meta-items .meta-item::before {
	content: none;
	display: none;
}

.ann-blog-grid .l-post {
	display: flex;
	flex-direction: column;
}

.ann-blog-grid .l-post .media {
	align-self: stretch;
	width: 100%;
}

.ann-blog-grid .l-post .content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.ann-blog-grid .l-post .post-meta {
	width: 100%;
}

.ann-blog-grid .l-post .read-more-link {
	margin-top: auto;
	font-family: Outfit, sans-serif;
	padding: 8px 30px;
	border-radius: 4px;
	font-size: clamp(15px, 1.25vw, 20px);
	font-weight: 400;
	line-height: 1.25;
	text-transform: none;
	letter-spacing: -0.02em;
}

.ann-blog-grid .l-post .excerpt {
	margin-bottom: 16px;
}

.ann-blog-grid .main-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 60px;
}

.ann-blog-grid .main-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 33px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid var(--c-separator);
	border-radius: 4px;
	background: transparent;
	font-size: 16px;
}

.ann-blog-grid .main-pagination .page-numbers.current,
.ann-blog-grid .main-pagination a.page-numbers:hover {
	border-color: #da901a;
	background: transparent;
	color: #da901a;
}

@media (max-width: 767px) {
	.ann-blog-grid .l-post .read-more-link {
		width: 100%;
		font-size: 20px;
		text-align: center;
	}

	.ann-blog-grid .main-pagination {
		margin-top: 40px;
	}
}

/* ==========================================================
   Sidebar (Figma "Pedestrian Accident Alerts" right column)
   Colours/fonts come from Customize > Newsletter and Block Headings (style A1);
   only layout that SmartMag has no setting for lives here.
   ========================================================== */
.main-sidebar { --ann-sb-box: #f6f6f6; --ann-sb-card: #fff; }
.s-dark .main-sidebar { --ann-sb-box: #1f1f1f; --ann-sb-card: #2a2a2a; }

/* CTA card: 40px padding, no outer frame, phone number underlined */
.main-sidebar .spc-newsletter-b { border: 0; }
.main-sidebar .spc-newsletter-b .inner { padding: 40px; border: 0; }
/* CTA heading: 40px on wide screens, scaling down with the window (Customize > Newsletter keeps 40 / 34 / 30 as fallback) */
.main-sidebar .spc-newsletter .heading { font-size: clamp(28px, 1.5vw + 16px, 40px); line-height: 1.15; }
.main-sidebar .spc-newsletter-b .message b { font-weight: 400; }
.main-sidebar .spc-newsletter-b .message a { color: var(--c-main); text-decoration: underline; }

/* Recent Incidents: grey box, arrows top-right, one white card per slide */
.main-sidebar .block-posts-small {
	position: relative;
	padding: 24px;
	border-radius: 10px;
	background: var(--ann-sb-box);
}
.main-sidebar .block-posts-small .block-head { border: 0; padding-right: 100px; }
.main-sidebar .block-posts-small .block-content,
.main-sidebar .block-posts-small .loop-carousel { position: static; }
.main-sidebar .block-posts-small .nav-dots { display: none !important; } /* slider adds an inline display */
.main-sidebar .block-posts-small .slick-arrow {
	top: 24px;
	left: auto;
	right: 24px;
	width: 40px;
	height: 40px;
	margin: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	visibility: visible;
	transform: none;
	font-size: 18px;
	background: var(--c-main);
	color: #fff;
	box-shadow: none;
	border: 0;
}
.main-sidebar .block-posts-small .slick-arrow.prev-arrow { right: 76px; background: var(--ann-sb-card); color: var(--c-headings); }
.main-sidebar .block-posts-small .l-post {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 22px;
	border-radius: 22px;
	background: var(--ann-sb-card);
}
.main-sidebar .block-posts-small .l-post .media { flex: 0 0 116px; width: 116px; margin: 0; }
.main-sidebar .block-posts-small .l-post .media-ratio { padding-bottom: 0; height: 131px; border-radius: 10px; overflow: hidden; }
.main-sidebar .block-posts-small .post-meta { display: flex; flex-direction: column-reverse; gap: 5px; margin: 0; }
.main-sidebar .block-posts-small .post-title { font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: -0.02em; }
.main-sidebar .block-posts-small .meta-item.date,
.main-sidebar .block-posts-small .post-meta-items { font-size: 16px; line-height: 20px; color: var(--c-main); }

/* ==========================================================
   Single post (Figma "Pedestrian Accident Alerts - Detail Page")
   Fonts, meta items, share buttons and image radius are set in
   Customize > Single Post; this only covers layout without a setting.
   ========================================================== */
/* Meta row above the title: author/date left, read time right */
.single .the-post-header .post-meta .post-meta-items { display: flex; flex-wrap: wrap; align-items: center; }
.single .the-post-header .post-meta .meta-item.read-time { margin-left: auto; }
.single .single-featured .image-link,
.single .single-featured img { border-radius: 15px; overflow: hidden; }

/* Full-width "Related Posts" row (added in functions.php with SmartMag blocks) */
.single .main-wrap > .main + .block-head,
.single .main-wrap > .main + .block-head + .block-grid {
	width: 100%;
	max-width: min(90vw, 1440px);
	margin-left: auto;
	margin-right: auto;
}
.single .main-wrap > .main + .block-head { margin-top: 60px; margin-bottom: 50px; border: 0; }
.single .main-wrap > .main + .block-head .heading { font-size: 48px; font-weight: 600; line-height: 1.2; }
.single .main-wrap > .main + .block-head + .block-grid { margin-bottom: 80px; }
.single .main-wrap > .main + .block-head + .block-grid .loop-grid { column-gap: 25px; }
.single .main-wrap > .main + .block-head + .block-grid .media-ratio { border-radius: 10px; overflow: hidden; }
@media (max-width: 767px) {
}

/* Bottom share row: "Share" label left, large brand buttons right */
.single .post-share-bot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 50px; }
.single .post-share-bot .info { flex: none; font-size: 0; }
.single .post-share-bot .info::before { content: "Share"; font-size: 18px; font-weight: 500; text-transform: none; color: var(--c-headings); }
.single .post-share-bot .share-links { display: flex; flex: 1; min-width: 0; justify-content: flex-end; gap: 8px; }
.single .post-share-bot .service { flex: 1 1 0; max-width: 105px; min-width: 0; height: 48px; line-height: 48px; margin: 0; border-radius: 5px; font-size: 22px; }
.single .post-share-bot .s-email { background: #000; }

/* Previous / Next article boxes (thumbnail added in functions.php) */
.single .navigate-posts {
	--ann-nav-box: #f6f6f6;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	margin: 70px 0 0;
	padding: 0;
	border: 0;
}
.s-dark .single .navigate-posts { --ann-nav-box: #1f1f1f; }
.single .navigate-posts .previous,
.single .navigate-posts .next {
	width: auto;
	margin: 0;
	padding: 22px;
	border: 0;
	border-radius: 10px;
	background: var(--ann-nav-box);
	text-align: left;
}
.single .navigate-posts .title { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 18px; font-weight: 400; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.single .navigate-posts .previous .title { justify-content: flex-end; }
.single .navigate-posts .link { display: flex; align-items: center; gap: 15px; }
.single .navigate-posts .ann-nav-thumb { flex: 0 0 120px; width: 120px; height: 80px; object-fit: cover; border-radius: 5px; }
.single .navigate-posts .link a { font-size: 20px; line-height: 1.6; font-weight: 400; color: var(--c-headings); }
@media (max-width: 767px) {
	.single .post-share-bot { flex-direction: column; align-items: flex-start; }
	.single .post-share-bot .share-links { width: 100%; justify-content: flex-start; }
	.single .navigate-posts { grid-template-columns: 1fr; gap: 20px; }
}

/* Featured Incidents (single posts only, set in the widget's visibility): stacked cards, 144 x 106 images */
.main-sidebar .block-posts-small .loop:not(.loop-carousel) { display: grid; gap: 16px; }
.main-sidebar .block-posts-small .loop:not(.loop-carousel) .l-post { margin: 0; align-items: center; }
.main-sidebar .block-posts-small .loop:not(.loop-carousel) .l-post .media { flex-basis: 144px; width: 144px; }
.main-sidebar .block-posts-small .loop:not(.loop-carousel) .l-post .media-ratio { height: 106px; }
.main-sidebar .block-posts-small .loop:not(.loop-carousel) .meta-item.date,
.main-sidebar .block-posts-small .loop:not(.loop-carousel) .post-meta-items { font-size: 12px; line-height: 20px; }
.main-sidebar .block-posts-small .block-head:has(+ .block-content .loop:not(.loop-carousel)) { padding-right: 0; }

/* Single post text details from Figma */
.breadcrumbs .current { color: var(--c-main); }
/* Always show the full breadcrumb: wrap long post titles instead of cutting them off with "…" */
.breadcrumbs .inner { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.6; }
.single .post-content strong,
.single .post-content b { font-weight: 500; }

/* Single post vertical rhythm (Figma): meta -> title 54px, title -> share 38px,
   share -> image 30px, image -> text 40px, paragraphs 30px, headings 10px above / 30px below */
.single .the-post-header .post-title { margin-top: 21px; }
.single .the-post-header .post-share { margin-top: 38px; }
.single .the-post-header { margin-bottom: 30px; }
.single .single-featured { margin-bottom: 40px; }
.single .post-content h2,
.single .post-content h3 { margin-bottom: 30px; }
.single .post-content p + h2,
.single .post-content p + h3 { margin-top: -20px; }

/* Fluid sizes for text sized in this file (Customizer sizes use its own tablet/mobile values) */
.archive-heading { font-size: clamp(32px, 2.4vw + 13px, 48px); }
.single .main-wrap > .main + .block-head .heading { font-size: clamp(32px, 2.4vw + 13px, 48px); }
.single .navigate-posts .link a { font-size: 15px; }
.single .navigate-posts .title { font-size: 14px; }

/* ==========================================================
   Footer (Figma): rounded #2d2d2d box on #222, faded wordmark below.
   Widgets: Appearance > Widgets > Footer Widgets (About + 3 menus).
   Columns, colours and heading font: Customize > Footer.
   ========================================================== */
.main-footer.footer-bold { padding-top: clamp(40px, 6vw, 93px); background: #222; }
.main-footer .upper-footer,
.main-footer .lower-footer { width: min(90vw, 1440px); margin-left: auto; margin-right: auto; }
.main-footer .upper-footer { border-radius: 20px 20px 0 0; }
.main-footer .upper-footer > .wrap { width: auto; max-width: none; margin: 0; padding: 50px 50px 0; }
.main-footer .upper-footer .widget { margin-bottom: 0; }
.main-footer .lower-footer { margin-top: -20px; border-radius: 0 0 20px 20px; }
.main-footer .lower-footer > .inner { width: auto; max-width: none; margin: 0; padding: 0 50px 50px; display: block; text-align: left; }
.main-footer .lower-footer .copyright { max-width: 45%; font-size: 13px; line-height: 20px; letter-spacing: -0.02em; }

/* About column: logo + 418px text */
.main-footer .widget-about .image-logo { margin-bottom: 31px; }
.main-footer .widget-about .image-logo img { width: 213px; height: auto; }
.main-footer .widget-about .about-text { max-width: 418px; font-size: 14px; font-weight: 300; line-height: 20px; letter-spacing: -0.02em; color: #fff; }

/* Menu columns: 24px heading, 14px Light links 10px apart */
.main-footer .widget_nav_menu .block-head { margin-bottom: 20px; }
.main-footer .widget_nav_menu .heading { letter-spacing: -0.02em; }
.main-footer .widget_nav_menu li { margin: 0 0 10px; padding: 0; border: 0; }
.main-footer .widget_nav_menu li a { font-size: 14px; font-weight: 300; line-height: 20px; letter-spacing: -0.02em; color: #fff; }
.main-footer .widget_nav_menu li a:hover { color: var(--c-main); }

/* Big faded "ACCIDENT NEWS NOW" wordmark under the box */
.main-footer.footer-bold::after {
	content: "Accident News Now";
	display: block;
	width: min(90vw, 1440px);
	margin: 14px auto 0;
	padding-bottom: 10px;
	font-family: "Outfit", sans-serif;
	font-weight: 700;
	font-size: min(8.4vw, 136px); /* scales with the 90vw container so it never overflows */
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	background: linear-gradient(180deg, #5a5a5a 15%, #2a2a2a 85%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	pointer-events: none;
}

/* Tablet: logo + text full width, the 3 menus side by side */
@media (max-width: 940px) {
	.main-footer .upper-footer .widgets {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 35px 30px;
		margin: 0;
	}
	.main-footer .upper-footer .widgets > .widget { width: auto; float: none; padding: 0; margin: 0; }
	.main-footer .upper-footer .widgets::before,
	.main-footer .upper-footer .widgets::after { display: none; } /* clearfix would add an empty grid row */
	.main-footer .upper-footer .widgets > .widget-about { grid-column: 1 / -1; }
	.main-footer .upper-footer > .wrap { padding-bottom: 35px; }
	.main-footer .lower-footer { margin-top: 0; }
	.main-footer .lower-footer .copyright { max-width: none; }
}
/* Mobile: one column, smaller padding */
@media (max-width: 540px) {
	.main-footer .upper-footer > .wrap { padding: 30px 25px; }
	.main-footer .upper-footer .widgets { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.main-footer .lower-footer > .inner { padding: 0 25px 30px; }
}

/* Post card titles (category grid + Related Posts): 24px on wide screens, shrinking with the window down to 18px.
   Customize > Post Listings > Grid keeps 24 / 21 / 18 as the fallback. */
.loop-grid .l-post .post-title { font-size: clamp(18px, 0.5vw + 16px, 24px); line-height: 1.3; }

/* Posts built with Elementor: spacing comes from the Elementor container gaps,
   so drop the theme's heading/paragraph margins inside them (otherwise gaps double). */
.single .post-content .elementor .elementor-heading-title,
.single .post-content .elementor .elementor-icon-box-title { margin-top: 0; margin-bottom: 0; }
.single .post-content .elementor .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.single .post-content .elementor .elementor-widget-text-editor p { margin-top: 0; }

/* ==========================================================
   Sidebar on mobile (Figma "Accident Alerts Detail" 440px frame).
   Same theme widgets as desktop, restyled under 768px — nothing duplicated.
   ========================================================== */
@media (max-width: 767px) {
	/* CTA card: dark, rounded, centred, soft orange glow top-right */
	.main-sidebar .spc-newsletter-b {
		border-radius: 20px;
		background: #161616 radial-gradient(180px 180px at calc(100% - 10px) 0, color-mix(in srgb, var(--c-main) 22%, transparent), transparent 70%);
	}
	.main-sidebar .spc-newsletter-b .inner { padding: 25px 30px 28px; text-align: center; }
	.main-sidebar .spc-newsletter .heading { font-size: 28px; font-weight: 800; line-height: 1.34; }
	.main-sidebar .spc-newsletter-b .message { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .8); }

	/* Featured + Recent Incidents: plain list — date over bold title, divider lines, no images */
	.main-sidebar .block-posts-small { padding: 0; border-radius: 0; background: none; }
	.main-sidebar .block-posts-small .block-head { padding-right: 0; margin-bottom: 18px; }
	.main-sidebar .block-posts-small .block-head .heading { font-size: 26px; font-weight: 800; line-height: 1.18; }
	.main-sidebar .block-posts-small .loop,
	.main-sidebar .block-posts-small .loop:not(.loop-carousel) { display: block; }
	.main-sidebar .block-posts-small .l-post {
		display: block;
		margin: 0;
		padding: 0 0 14px;
		border-radius: 0;
		border-bottom: 1px solid var(--c-separator, #eae7e1);
		background: none;
	}
	.main-sidebar .block-posts-small .l-post + .l-post { padding-top: 14px; }
	.main-sidebar .block-posts-small .l-post:last-child { border-bottom: 0; }
	.main-sidebar .block-posts-small .l-post .media { display: none; }
	.main-sidebar .block-posts-small .post-title { font-size: 20px; line-height: 1.28; font-weight: 500; }
	.main-sidebar .block-posts-small .loop .meta-item.date,
	.main-sidebar .block-posts-small .loop .post-meta-items,
	.main-sidebar .block-posts-small .loop:not(.loop-carousel) .meta-item.date,
	.main-sidebar .block-posts-small .loop:not(.loop-carousel) .post-meta-items { font-size: 16px; line-height: 20px; font-weight: 500; }
	.main-sidebar .block-posts-small .loop .post-title { font-size: 20px; line-height: 1.28; }

	/* Recent Incidents carousel shows as the same stacked list on mobile */
	.main-sidebar .block-posts-small .slick-arrow { display: none !important; }
	.main-sidebar .block-posts-small .slick-list { overflow: visible; height: auto !important; margin: 0 !important; padding: 0 !important; }
	.main-sidebar .block-posts-small .slick-track { display: block; width: auto !important; transform: none !important; }
	.main-sidebar .block-posts-small .slick-slide { float: none; width: auto !important; height: auto; padding-left: 0; padding-right: 0; }
}

/* Related Posts on mobile: same compact list as the mobile sidebar (Figma mobile has no image grid here) */
@media (max-width: 767px) {
	.single .main-wrap > .main + .block-head { margin-top: 40px; margin-bottom: 18px; text-align: left; justify-content: flex-start; }
	.single .main-wrap > .main + .block-head .heading { font-size: 26px; font-weight: 800; line-height: 1.18; }
	.single .main-wrap > .main + .block-head + .block-grid { margin-bottom: 50px; }
	.single .main-wrap > .main + .block-head + .block-grid .loop-grid { display: block; }
	.single .main-wrap > .main + .block-head + .block-grid .l-post { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--c-separator, #eae7e1); }
	.single .main-wrap > .main + .block-head + .block-grid .l-post:first-child { padding-top: 0; }
	.single .main-wrap > .main + .block-head + .block-grid .l-post:last-child { border-bottom: 0; }
	.single .main-wrap > .main + .block-head + .block-grid .media { display: none; }
	.single .main-wrap > .main + .block-head + .block-grid .content { padding: 0; }
	.single .main-wrap > .main + .block-head + .block-grid .post-meta { margin: 0; }
	.single .main-wrap > .main + .block-head + .block-grid .meta-item.date { font-size: 16px; line-height: 20px; font-weight: 500; }
	.single .main-wrap > .main + .block-head + .block-grid .post-title { font-size: 20px; line-height: 1.28; font-weight: 500; }
}

/* Previous / Next boxes: stack when the post column gets narrow (small laptops, tablets) */
@media (max-width: 1199px) {
	.single .navigate-posts { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* Timeline on mobile (Elementor container with CSS class "ann-timeline"): 2px line fading out,
   running behind the white circles (circles are Elementor framed icons) */
@media (max-width: 767px) {
	.ann-timeline { position: relative; }
	.ann-timeline::before {
		content: "";
		position: absolute;
		left: 10px;
		top: 12px;
		bottom: 0;
		width: 2px;
		height: 96%;
		background: linear-gradient(180deg, var(--c-main) 0%, color-mix(in srgb, var(--c-main) 20%, transparent) 100%);
	}
	.ann-timeline .elementor-widget-icon { position: relative; z-index: 1; }
	.ann-timeline .elementor-icon { display: block; width: 20px; height: 20px; padding: 0 !important; box-sizing: border-box; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-main) 12%, transparent); }
	.ann-timeline .elementor-icon svg,
	.ann-timeline .elementor-icon i { display: none; }
}

/* "Talk to an Expert" button inside the CTA card (added to the widget text) — mobile only, as in Figma */
.main-sidebar .spc-newsletter .ann-cta-btn-wrap { display: none; }
@media (max-width: 767px) {
	.main-sidebar .spc-newsletter-b .inner { padding: 25px 20px 28px; }
	.main-sidebar .spc-newsletter-b .message a:not(.ann-cta-btn) { text-decoration: none; font-weight: 600; }
	.main-sidebar .spc-newsletter .ann-cta-btn-wrap { display: block; margin: 27px 0 0; }
	.main-sidebar .spc-newsletter-b .message a.ann-cta-btn,
	.main-sidebar .spc-newsletter .ann-cta-btn {
		display: inline-block;
		padding: 15px 29px;
		border-radius: 13px;
		background: #fff;
		color: #1a1a1a !important; /* theme/old CSS colours all links in this card orange */
		font-size: 15px;
		font-weight: 600;
		line-height: 1.5;
		text-decoration: none;
	}
}
.block-wrap {
  margin-bottom: 0!important;
}

/* Homepage mobile: colors use the theme's variables; only what SmartMag has no control for */
@media (max-width: 767px) {
	/* Motorcycle: black band in light mode, dark mode uses the theme background */
	html.s-light .ann-dark-band.e-con {
		background: var(--c-headings);
	}

	/* Blog Posts: same grey band as Bicycle, spacing from the theme's block spacing */
	.ann-hl--blog {
		padding-top: var(--block-wrap-mb);
		padding-bottom: var(--block-wrap-mb);
		background: var(--c-contrast-50);
		box-shadow: 0 0 0 100vmax var(--c-contrast-50);
		clip-path: inset(0 -100vmax);
	}

	/* DUI: date box, thumbnail on the right */
	.ann-hl__dui-card:not(:first-child) {
		grid-template-columns: 60px minmax(0, 1fr) 90px;
	}

	.ann-hl__dui-card:not(:first-child) .ann-hl__media {
		display: block;
		grid-row: 1;
		grid-column: 3;
		aspect-ratio: 5 / 4;
		margin: 0;
		border-radius: 6px;
	}

	.ann-hl__date-tile {
		justify-content: center;
		min-height: 75px;
		background: transparent;
		font-size: 8px;
	}

	.ann-hl__date-tile strong {
		font-size: 22px;
		font-weight: 800;
		letter-spacing: -0.035em;
	}

	.ann-hl__date-tile span:nth-of-type(1) {
		font-weight: 700;
		letter-spacing: 0.22em;
	}

	.ann-hl__date-tile span:nth-of-type(2) {
		font-weight: 600;
		letter-spacing: 0.14em;
	}

	/* Light mode colors: Figma values, first box dark */
	html.s-light .ann-hl__date-tile {
		border-color: #e4e2da;
	}

	html.s-light .ann-hl__date-tile strong {
		color: #0f0f0f;
	}

	html.s-light .ann-hl__date-tile span:nth-of-type(1) {
		color: #62615d;
	}

	html.s-light .ann-hl__date-tile span:nth-of-type(2) {
		color: #a5a39d;
	}

	html.s-light .ann-hl__dui-card:nth-child(2) .ann-hl__date-tile {
		border-color: #222;
		background: #222;
	}

	html.s-light .ann-hl__dui-card:nth-child(2) .ann-hl__date-tile strong,
	html.s-light .ann-hl__dui-card:nth-child(2) .ann-hl__date-tile span:nth-of-type(1) {
		color: #fafaf7;
	}

	html.s-light .ann-hl__dui-card:nth-child(2) .ann-hl__date-tile span:nth-of-type(2) {
		color: #da901a;
	}

	/* Dark mode: first box white with black text, the others follow the theme */
	html.s-dark .ann-hl__dui-card:nth-child(2) .ann-hl__date-tile {
		border-color: #fff;
		background: #fff;
		color: #0f0f0f;
	}

	html.s-dark .ann-hl__dui-card:nth-child(2) .ann-hl__date-tile strong {
		color: #0f0f0f;
	}
}

/* CTA boxes on the homepage: SmartMag Newsletter widget, same look as the sidebar */
.elementor-widget-smartmag-newsletter .ann-hl__cta {
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.elementor-widget-smartmag-newsletter .spc-newsletter-b {
	border: 0;
}

.elementor-widget-smartmag-newsletter .spc-newsletter-b .message a {
	color: var(--c-main);
	text-decoration: underline;
	white-space: nowrap;
}

/* Accessibility */
.ann-skip-link {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 100000;
	padding: 12px 20px;
	border-radius: 8px;
	background: var(--c-contrast-0);
	color: var(--c-headings);
}

.ann-skip-link:focus {
	top: 16px;
}

#ann-main:focus {
	outline: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--c-main);
	outline-offset: 2px;
}

/* Mobile logo has no H1 in the theme, so the homepage carries a hidden one up to the theme's mobile header width */
.elementor-widget.ann-home-h1 {
	display: none;
}

@media (max-width: 940px) {
	.elementor-widget.ann-home-h1 {
		display: block;
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

/* Incident detail page (post 17753): mobile layout from Figma. Theme variables only; Elementor has no mobile background or color controls */
.ann-detail-status .eicon-warning {
	display: none;
}

@media (max-width: 767px) {
	.postid-17753 .the-post-header .read-time,
	.postid-17753 .post-share-bot,
	.postid-17753 .main-wrap > .block-head,
	.postid-17753 .main-wrap > .block-wrap,
	.postid-17753 .the-post-header .post-share .show-more,
	.postid-17753 .navigate-posts .ann-nav-thumb {
		display: none;
	}

	.postid-17753 .the-post-header .post-share {
		display: flex;
		gap: 8px;
	}

	.postid-17753 .the-post-header .post-share .service {
		display: inline-flex;
		flex: 1 1 0;
		align-items: center;
		justify-content: center;
		min-width: 0;
		max-width: 47px;
		height: 26px;
		margin: 0;
		padding: 0;
		border-radius: 2px;
	}

	.postid-17753 .the-post-header .post-share .service .label {
		display: none;
	}

	.postid-17753 .the-post-header .meta-item.date-modified::before {
		display: none;
	}

	.postid-17753 .the-post-header .meta-item.date::before {
		content: "\00B7";
	}

	.postid-17753 .the-post-header .meta-item.date::after {
		content: "\00B7";
		margin-left: 8px;
	}

	.ann-detail-accent {
		color: var(--c-main);
	}

	.ann-detail-bar.e-con {
		position: relative;
	}

	.ann-detail-bar.e-con::before {
		content: "";
		position: absolute;
		top: 15px;
		bottom: 15px;
		left: 0px;
		width: 4px;
		height: auto;
		border: 0;
		border-radius: 4px;
		background: var(--c-main);
	}

	/* !important: Elementor's generated background selector can't otherwise be beaten */
	.ann-detail-status.e-con {
		background: color-mix(in srgb, var(--c-main) 10%, transparent) !important;
	}

	.ann-detail-cta.e-con {
		background: color-mix(in srgb, var(--c-main) 5%, transparent) !important;
	}

	.ann-detail-status .elementor-heading-title {
		display: flex;
		align-items: center;
		gap: 8px;
		color: var(--c-main) !important;
		text-transform: uppercase !important;
	}

	.ann-detail-status .eicon-warning {
		display: inline-block;
	}

	.ann-detail-advice .elementor-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		border: 1px solid var(--c-main);
		border-radius: 12px;
		background: color-mix(in srgb, var(--c-main) 10%, transparent);
	}

	.postid-17753 .navigate-posts .previous,
	.postid-17753 .navigate-posts .next {
		padding: 16px 19px;
		border: 1px solid var(--c-separator);
		border-radius: 16px;
		background: var(--c-contrast-0);
	}

	.postid-17753 .navigate-posts {
		gap: 12px;
	}

	.postid-17753 .navigate-posts .previous .title {
		justify-content: flex-start;
	}

	.postid-17753 .navigate-posts .next,
	.postid-17753 .navigate-posts .next .link {
		justify-content: flex-end;
		text-align: right;
	}

	.postid-17753 .navigate-posts .next .title {
		justify-content: flex-end;
	}
	/* 	Blog Detail Page */
	.postid-17753 .main-wrap > .main{
		margin-top: 30px;
		margin-bottom: 30px !important;
		padding: 0px 10px !important;
	}
	.postid-17753 .breadcrumbs .inner{
		padding: 0px 10px !important;
	}
	.single.postid-17753 .block-wrap  {
	margin-bottom: 0px !important;
}
}

/* Dark mode: link hover and post meta (dates, author) use the main colour (#e63946).
   Matches the theme's .s-dark:not(i) specificity, which beats the Customizer output. */
.s-dark:not(i), .site-s-dark { --c-a-hover: var(--c-main); --c-post-meta: var(--c-main); }

/* Image placeholder (Recent Incidents): darker in dark mode */
.s-dark .img[data-bgsrc*="ann-placeholder-img"],
.s-dark img[src*="ann-placeholder-img"] { filter: invert(.86); }

/* Recent Incidents: empty state (category with no posts) */
.ann-empty-state { text-align: center; padding: 24px 18px; border: 1px dashed rgba(127,127,127,.35); border-radius: 8px; }
.ann-empty-state::before { content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%;
	background: rgba(230,57,70,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e63946' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 22px no-repeat; }
.ann-empty-state .ann-empty-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--c-headings); }
