/* Press Mentions Manager — front-end styles
   Card layout mirrors the client's press-list reference: small outlet logo,
   publish date, bold title, a divider line, then the outlet name as the
   read-more link with a small arrow — sitting directly on the site's own
   cream section background (transparent card, no black box). */

.pmm-wrap {
	--pmm-bg: transparent;
	--pmm-title-color: #1a1a1a;
	--pmm-text-color: #5d5d5d;
	--pmm-muted: #8c8c8c;
	--pmm-divider: rgba(0, 0, 0, 0.15);
	--pmm-font: 'Bahnschrift', 'Segoe UI', sans-serif;

	background: var(--pmm-bg);
	padding: 48px 24px;
	box-sizing: border-box;
	font-family: var(--pmm-font);
}

.pmm-wrap * {
	box-sizing: border-box;
}

.pmm-heading {
	text-align: center;
	color: var(--pmm-title-color);
	margin: 0 0 32px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-family: var(--pmm-font);
}

/* ---------- Shared card ---------- */

.pmm-card {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	display: flex;
	flex-direction: column;
	box-shadow: none;
}

/* Small outlet logo/badge — not a full-bleed photo. Sits on the transparent
   card background, sized to a fixed height so mismatched source images
   (badges, wordmarks, screenshots) all read at the same visual weight. */
.pmm-card-photo {
	height: 40px !important;
	max-width: 100%;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden !important;
	flex: 0 0 auto;
}

.pmm-card-photo img {
	height: 100% !important;
	width: auto !important;
	max-width: 160px !important;
	object-fit: contain !important;
	display: block !important;
}

.pmm-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-align: left;
}

.pmm-card-date {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--pmm-muted);
	margin-bottom: 10px;
	font-family: var(--pmm-font);
}

.pmm-card-title {
	color: var(--pmm-title-color) !important;
	font-size: 21px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	margin: 0 0 24px !important;
	font-family: var(--pmm-font) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	text-align: left;
}

.pmm-card-footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--pmm-divider);
}

.pmm-card-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0;
	border: none;
	background: none;
	color: var(--pmm-title-color);
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	transition: color 0.2s ease;
}

.pmm-card-btn:hover {
	color: var(--pmm-muted);
}

.pmm-card-arrow {
	font-weight: 400;
}

/* ---------- Carousel layout (homepage) — continuous news-ticker strip ---------- */

.pmm-carousel-outer {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	overflow: hidden;
}

.pmm-carousel {
	display: flex;
	align-items: stretch;
	gap: 24px;
	width: max-content;
	padding: 4px 4px 6px;
}

.pmm-carousel.pmm-marquee {
	animation: pmm-marquee var(--pmm-marquee-duration, 30s) linear infinite;
}

.pmm-carousel-outer:hover .pmm-carousel.pmm-marquee {
	animation-play-state: paused;
}

@keyframes pmm-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.pmm-carousel .pmm-card {
	flex: 0 0 270px;
}

/* Manual prev/next arrows are redundant on a continuously-moving ticker strip. */
.pmm-nav {
	display: none;
}

@media (max-width: 640px) {
	.pmm-wrap {
		padding: 44px 16px;
	}
}

/* ---------- Grid layout (dedicated page) — stacked press-list rows, not
   side-by-side columns: logo left, title + date right, a divider line
   between rows, per the client's reference. ---------- */

.pmm-wrap-grid {
	padding: 64px 24px 88px;
}

.pmm-grid {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}

.pmm-wrap-grid .pmm-card {
	flex-direction: row;
	align-items: flex-start;
	gap: 32px;
	padding: 28px 0;
	border-bottom: 1px solid var(--pmm-divider);
	position: relative;
}

.pmm-wrap-grid .pmm-card:first-child {
	padding-top: 0;
}

.pmm-wrap-grid .pmm-card-photo {
	flex: 0 0 100px;
	width: 100px;
	height: 56px;
	margin-bottom: 0;
}

.pmm-wrap-grid .pmm-card-body {
	flex: 1;
}

/* Title reads first, date underneath — reversed from the homepage ticker's
   date-then-title order, to match this list reference. */
.pmm-wrap-grid .pmm-card-title {
	order: 1;
	margin: 0 0 6px !important;
}

.pmm-wrap-grid .pmm-card-date {
	order: 2;
	margin-bottom: 0;
}

/* The reference row has no visible "read more" link — the whole row is the
   click target instead, stretched invisibly over the card. */
.pmm-wrap-grid .pmm-card-footer {
	order: 3;
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	border: none;
}

.pmm-wrap-grid .pmm-card-btn {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 0;
	line-height: 0;
}

@media (max-width: 560px) {
	.pmm-wrap-grid .pmm-card {
		flex-direction: column;
		gap: 12px;
	}
	.pmm-wrap-grid .pmm-card-photo {
		width: auto;
		height: 36px;
	}
}

@media (max-width: 480px) {
	.pmm-wrap-grid {
		padding: 40px 16px 56px;
	}
}
