/**
 * Post showing by Murphy – base layout.
 * Tablet/PC: featured article + aside side by side.
 * Mobile: stacked (you can override in your theme).
 */
.murphy-posts.featured-area {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	width: 100%;
}

.murphy-posts .featured-area__article {
	flex: 1 1 100%;
	min-width: 0;
}

.murphy-posts .featured-area__aside {
	flex: 1 1 100%;
	min-width: 0;
}

/* Tablet/PC: big article takes ~60%, aside ~40% */
@media (min-width: 769px) {
	.murphy-posts.featured-area {
		flex-wrap: nowrap;
	}
	.murphy-posts .featured-area__article {
		flex: 1 1 58%;
	}
	.murphy-posts .featured-area__aside {
		flex: 1 1 40%;
	}
}

/* Image wrap: aspect ratio box (52.5% = 40/19 approx) */
.murphy-posts .image-wrap {
	display: block;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.murphy-posts .image-wrap img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* First post: title below the picture */
.murphy-posts .article--big .article__title--below {
	position: static;
	padding: 0.75rem 0 0;
	margin: 0;
}

.murphy-posts .article--big .article__title--below a {
	text-decoration: none;
	color: inherit;
}

.murphy-posts .article--big .article__title--below .hN {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

/* Thumb list – line break between posts (mobile and up) */
.murphy-posts .block-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.murphy-posts .block-list li {
	margin-bottom: 0;
	padding-bottom: 1.25rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid #e5e5e5;
}

.murphy-posts .block-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.murphy-posts .article--thumb.media {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.murphy-posts .media__img--rev {
	flex: 0 0 33.333%;
	min-width: 0;
}

.murphy-posts .media__body {
	flex: 1;
	min-width: 0;
}

/* Same row for category and date (mobile version) */
.murphy-posts .article__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-bottom: 0.25rem;
}

.murphy-posts .article__category {
	font-size: 0.875rem;
	margin: 0;
}

.murphy-posts .article__category .small-link {
	text-decoration: none;
}

.murphy-posts .article__meta-row .article__meta-links {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.8125rem;
	color: #666;
	display: inline;
}

.murphy-posts .article__meta-row .article__meta-links li {
	display: inline;
}

.murphy-posts .article--thumb__title .hN {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	line-height: 1.3;
}

/* Sticky post label – tell the customer it is a sticky post */
.murphy-posts .murphy-post-sticky {
	display: inline-block;
	padding: 0.2em 0.5em;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	background: #1e73be;
	color: #fff;
	border-radius: 3px;
	margin-bottom: 0.5rem;
}

.murphy-posts .murphy-post-sticky--big {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	margin-bottom: 0;
}

.murphy-posts .featured-area__article {
	position: relative;
}

.murphy-posts .article--thumb.media {
	position: relative;
}

.murphy-posts .murphy-post-sticky--thumb {
	position: absolute;
	top: 0.25rem;
	left: 0.25rem;
	z-index: 2;
	margin-bottom: 0;
}

.murphy-post-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.5rem;
}

.murphy-post-grid > .grid__item {
	width: 100%;
	min-width: 0;
}

.murphy-post-grid .article--grid {
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}

.murphy-post-grid .article--grid__header a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.murphy-post-grid .murphy-post-grid__title {
	position: relative;
	overflow: hidden;
	padding: 0.85rem 1rem;
	text-align: center;
	color: #fff;
	transition: background-color 0.2s ease;
}

.murphy-post-grid .murphy-post-grid__title::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	transition: background-color 0.2s ease;
}

.murphy-post-grid .murphy-post-grid__title .hN {
	position: relative;
	z-index: 1;
	margin: 0;
	text-align: center;
	color: #fff;
}

.murphy-post-grid .article--grid__header a:hover .murphy-post-grid__title::after,
.murphy-post-grid .article--grid__header a:focus .murphy-post-grid__title::after {
	background: rgba(0, 0, 0, 0.12);
}

.murphy-post-grid .article--grid__meta {
	padding-top: 0.75rem;
}

.murphy-post-grid .article--grid__meta .split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: nowrap;
}

.murphy-post-grid .article--grid__meta .article__category,
.murphy-post-grid .article--grid__meta .article__meta-links {
	margin: 0;
}

.murphy-post-grid .article--grid__meta .article__meta-links {
	list-style: none;
	padding: 0;
	display: flex;
	align-items: center;
}

.murphy-post-grid .article--grid__meta .article__meta-links li {
	margin: 0;
	padding: 0;
	border: 0;
}

.murphy-post-grid .murphy-post-sticky--thumb {
	top: 0.75rem;
	left: 0.75rem;
}

@media (min-width: 769px) {
	.murphy-post-grid > .grid__item {
		width: calc((100% - 2rem) / 3);
	}
}
