/* MC Guides — recommendation card styling
   Fonts inherit from the theme. Colors are set here as variables
   so a future site redesign only needs to touch this block. */

:root {
	--mc-navy: #13294B;
	--mc-ink: #22334E;
	--mc-gold: #C9A24B;
	--mc-gold-soft: #F7F0DF;
	--mc-line: #E3E7EE;
	--mc-tag-bg: #EEF2F8;
	--mc-caption: #55647D;
}

/* Guide context (single-guide body class): the guide template's container
   is too narrow for side-by-side columns, so stack each section with the
   image centered above full-width cards. */
.single-guide .mc-rec-columns {
	display: flex;
	flex-direction: column;
}

.single-guide .mc-rec-columns .wp-block-column {
	flex-basis: auto !important;
	width: 100%;
}

.single-guide .mc-rec-columns .mc-rec-figure {
	order: -1;
	margin-bottom: 1.5rem;
}

.single-guide .mc-rec-figure .mc-rec-image {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.single-guide .mc-rec-figure figcaption {
	text-align: center;
}

/* Section frame */
.mc-rec-section {
	margin-top: 2.5rem;
}

.mc-section-title {
	color: var(--mc-navy);
	border-top: 1px solid var(--mc-ink);
	padding-top: 1.5rem;
}

.mc-section-intro {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

/* Recommendations label */
.mc-recs-label {
	font-weight: 700;
	color: var(--mc-navy);
	display: inline-block;
	border-bottom: 2px solid var(--mc-gold);
	padding-bottom: 0.4rem;
	margin-bottom: 0.25rem;
}

/* Card */
.mc-rec {
	padding: 1rem 0;
	border-bottom: 1px solid var(--mc-line);
}

.mc-rec:last-child {
	border-bottom: none;
}

/* Name + tag row */
.mc-rec-top {
	gap: 0.5rem 0.75rem;
}

.mc-rec-top p {
	margin: 0;
}

.mc-rec-name {
	font-size: 1.16em;
	font-weight: 700;
}

.mc-rec-name a {
	color: var(--mc-navy);
	text-decoration: underline;
	text-decoration-color: var(--mc-gold);
	text-underline-offset: 3px;
}

.mc-rec-name a:hover {
	text-decoration-color: var(--mc-navy);
}

.mc-rec .mc-rec-tag {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-size: 0.72rem !important;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: none;
	color: #66738A;
	background: var(--mc-tag-bg);
	border-radius: 3px;
	padding: 0.2rem 0.55rem;
	white-space: nowrap;
}

/* Meals line */
.mc-rec-meals {
	margin: 0.4rem 0 0;
	font-size: 0.98em;
}

.mc-rec-meals strong {
	color: var(--mc-navy);
}

/* Counselor tip callout */
.mc-rec-tip {
	margin: 0.6rem 0 0;
	font-size: 0.95em;
	background: var(--mc-gold-soft);
	border-left: 3px solid var(--mc-gold);
	padding: 0.5rem 0.75rem;
}

.mc-rec-tip strong {
	color: var(--mc-navy);
}

/* Image column */
.mc-rec-image img {
	border-radius: 4px;
	height: auto;
}

.mc-rec-image figcaption {
	font-style: italic;
	color: var(--mc-caption);
	text-align: left;
}

/* Mobile: image moves above the recommendation list */
@media (max-width: 781px) {
	.mc-rec-columns {
		display: flex;
		flex-direction: column;
	}

	.mc-rec-columns .mc-rec-figure {
		order: -1;
		margin-bottom: 1.25rem;
	}
}
