.shp-homepage,
.shp-magazine-page {
	--shp-navy: #16263a;
	--shp-blue: #7993b8;
	--shp-yellow: #f2d38b;
	--shp-text: #484540;
	--shp-border: #ded8cf;
	--shp-powder: #e7edf2;
	--shp-porcelain: #fff9ef;
	width: 100%;
	max-width: 100%;
	color: var(--shp-text);
}

.shp-homepage, .shp-homepage *, .shp-magazine-page, .shp-magazine-page * { box-sizing: border-box; }
.shp-homepage > * { margin-block: 0; }
body.shp-homepage-active .content-area { margin-top: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.shp-section { margin-top: clamp(3.5rem, 7vw, 6.5rem); }
.shp-homepage .shp-eyebrow { margin: 0 0 .35rem !important; color: var(--shp-blue); font-size: .78rem; font-weight: 700; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.shp-section h2 { margin: 0 !important; color: var(--shp-navy); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
.shp-section h3 { margin: 0 !important; color: var(--shp-navy); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.18; }
.shp-section h3 a { color: inherit; text-decoration: none; }
.shp-section h3 a:hover { color: var(--shp-blue); }

.wp-block-media-text.shp-hero {
	grid-template-columns: minmax(0, 40%) minmax(0, 60%) !important;
	margin: 0;
	overflow: hidden;
	background: transparent;
	border: 1px solid var(--shp-border);
	border-radius: 20px;
}
.shp-hero .wp-block-media-text__content { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(1.75rem, 3.6vw, 3.25rem); text-align: left; }
.shp-hero .wp-block-media-text__media { align-self: stretch; min-height: clamp(380px, 46vw, 600px); }
.shp-hero .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; }
.shp-hero .shp-eyebrow { align-self: flex-start; margin: 0 0 .6rem !important; text-align: left; }
.shp-hero h1 { align-self: flex-start; margin: 0 0 1rem !important; color: var(--shp-navy); font-size: clamp(2.2rem, 3.8vw, 3.75rem); line-height: 1.04; text-align: left; hyphens: none; overflow-wrap: normal; word-break: normal; }
.shp-hero p:not(.shp-eyebrow) { align-self: flex-start; max-width: 34rem; margin: 0 0 1.55rem !important; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; text-align: left; }
.shp-hero .wp-block-buttons { align-items: flex-start; flex-direction: column; gap: .75rem; }
.shp-hero .wp-block-button { display: flex; flex: 0 0 auto; width: 235px; }
.shp-hero .wp-block-button__link { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 48px; padding: .8rem 1.25rem; color: var(--shp-porcelain) !important; background: var(--shp-navy) !important; border: 1px solid var(--shp-navy) !important; border-radius: 999px; box-shadow: none !important; font-size: .94rem; font-weight: 700; line-height: 1.2; }
.shp-hero .is-style-outline .wp-block-button__link { color: var(--shp-navy) !important; background: transparent !important; border-width: 1px !important; box-shadow: none !important; }
.shp-hero .is-style-fill .wp-block-button__link:hover { color: var(--shp-navy) !important; background: transparent !important; border-color: var(--shp-navy) !important; }
.shp-hero .is-style-outline .wp-block-button__link:hover { color: var(--shp-porcelain) !important; background: var(--shp-navy) !important; border-color: var(--shp-navy) !important; }

.wp-block-group.shp-quick-links { margin-top: 2rem; padding: 1rem 1.2rem; background: transparent; border: 1px solid var(--shp-border); border-radius: 14px; }
.shp-quick-links h2 { margin: 0; color: var(--shp-navy); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.shp-quick-links .wp-block-buttons { gap: .55rem; }
.shp-quick-links .wp-block-button__link,
.shp-quick-links .wp-block-button__link:visited { padding: .48rem .9rem; color: var(--shp-navy) !important; background: var(--shp-yellow) !important; border: 1px solid var(--shp-yellow); border-radius: 999px; font-size: .9rem; font-weight: 700; }
.shp-quick-links .wp-block-button__link:hover { color: var(--shp-navy) !important; background: transparent !important; border-color: var(--shp-navy); }

.shp-section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.shp-section-header > div { display: grid; gap: 0; }
.shp-text-link { flex: 0 0 auto; color: var(--shp-navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.shp-text-link:hover { color: var(--shp-blue); }
.shp-recipe-grid, .shp-magazine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.4vw, 1.8rem); }
.shp-recipe-card, .shp-magazine-card { min-width: 0; background: transparent; }
.shp-card-image { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--shp-powder); border-radius: 15px; }
.shp-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.shp-card-image:hover img { transform: scale(1.018); }
.shp-card-meta { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin: .8rem 0 .3rem !important; color: var(--shp-blue); font-size: .76rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.shp-card-meta span + span::before { content: '·'; margin-right: .65rem; color: var(--shp-yellow); }
.shp-section .shp-recipe-card h3 { margin: 0 0 0.48rem !important; }
.shp-homepage .shp-card-time { display: flex; align-items: center; gap: 6px; margin: 0 !important; color: #77736c !important; font-size: 0.86rem; line-height: 1.4; }
.shp-card-time svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: var(--shp-navy); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.shp-weekmenu { display: grid; grid-template-columns: minmax(0, 45%) minmax(0, 55%); overflow: hidden; color: var(--shp-porcelain); background: var(--shp-navy) !important; border-radius: 20px; }
.shp-weekmenu-image { min-height: 430px; background: var(--shp-powder); }
.shp-weekmenu-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shp-weekmenu-image span { display: grid; height: 100%; padding: 2rem; color: var(--shp-navy); place-items: center; text-align: center; }
.shp-weekmenu-content { align-self: center; padding: clamp(2.2rem, 5vw, 4.5rem); }
.shp-weekmenu .shp-eyebrow { color: var(--shp-powder); }
.shp-weekmenu h2 { color: var(--shp-porcelain); }
.shp-weekmenu-content > p:not(.shp-eyebrow) { margin: 1.2rem 0 1.7rem; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.7; }
.shp-weekmenu-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.25rem; }
.shp-button { display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.2rem; border-radius: 999px; font-size: .94rem; font-weight: 700; text-decoration: none; }
.shp-button-yellow,
.shp-button-yellow:visited { color: var(--shp-navy) !important; background: var(--shp-porcelain) !important; }
.shp-button-yellow:hover { color: var(--shp-navy) !important; background: var(--shp-powder) !important; }

.shp-magazine { padding: clamp(1.5rem, 4vw, 3rem); background: var(--shp-powder) !important; border-radius: 20px; }
.shp-magazine-header > p { max-width: 34rem; margin: 0; line-height: 1.65; }
.shp-magazine-card .shp-card-image { border: 6px solid var(--shp-porcelain); }
.shp-magazine-card h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.2; }

.shp-newsletter { display: grid; grid-template-columns: minmax(0, 13fr) minmax(220px, 7fr); align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); background: transparent !important; border: 1px solid var(--shp-navy); border-radius: 20px; }
.shp-newsletter h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.shp-newsletter p:not(.shp-eyebrow) { max-width: 46rem; margin: 1rem 0 0; line-height: 1.65; }
.shp-newsletter-action { display: flex; justify-content: center; }
.shp-button-navy,
.shp-button-navy:visited { color: var(--shp-porcelain) !important; background: var(--shp-navy) !important; border: 1px solid var(--shp-navy); }
.shp-button-navy:hover { color: var(--shp-navy) !important; background: transparent !important; }
.shp-newsletter-action .wpforms-container { width: 100%; margin: 0; }

.shp-magazine-page { width: 100%; margin: 0; color: var(--shp-text); }
.shp-magazine-page-intro { max-width: 48rem; margin: 0 0 1.4rem !important; font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.7; }
.shp-magazine-filters { display: flex; flex-wrap: wrap; gap: .25rem clamp(1rem, 2.2vw, 1.6rem); margin: 0 0 clamp(1.5rem, 3vw, 2.2rem); padding: 0 0 .85rem; border-bottom: 1px solid var(--shp-border); }
.shp-magazine-filters a { margin: 0; padding: .45rem 0; color: var(--shp-text); background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none; font-size: clamp(1rem, 1.35vw, 1.1rem); font-weight: 600; line-height: 1.3; text-decoration: none; }
.shp-magazine-filters a:hover,
.shp-magazine-filters a:focus-visible,
.shp-magazine-filters a.is-active { color: var(--shp-navy); background: transparent; border-bottom-color: var(--shp-navy); }
.shp-magazine-featured { display: grid; grid-template-columns: minmax(0, 58%) minmax(0, 42%); overflow: hidden; margin-bottom: clamp(2.4rem, 5vw, 4.5rem); background: var(--shp-powder); border-radius: 20px; }
.shp-magazine-featured-image { display: block; min-height: 390px; overflow: hidden; }
.shp-magazine-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.shp-magazine-featured-image:hover img { transform: scale(1.012); }
.shp-magazine-featured-content { align-self: center; padding: clamp(1.75rem, 4vw, 3.5rem); }
.shp-magazine-kicker { margin: 0 0 .55rem !important; color: var(--shp-blue); font-size: .76rem; font-weight: 700; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.shp-magazine-featured h2, .shp-magazine-overview-card h2 { margin: 0 !important; color: var(--shp-navy); font-family: Marcellus, Georgia, serif; }
.shp-magazine-featured h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); line-height: 1.12; }
.shp-magazine-featured h2 a, .shp-magazine-overview-card h2 a { color: inherit; text-decoration: none; }
.shp-magazine-featured h2 a:hover, .shp-magazine-overview-card h2 a:hover { color: var(--shp-blue); }
.shp-magazine-featured-content > p:not(.shp-magazine-kicker) { margin: 1rem 0 1.35rem !important; line-height: 1.65; }
.shp-magazine-read { color: var(--shp-navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.shp-magazine-read:hover { color: var(--shp-blue); }
.shp-magazine-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.25rem) clamp(1.1rem, 2.4vw, 1.8rem); }
.shp-magazine-overview-card { min-width: 0; background: transparent; }
.shp-magazine-overview-image { display: block; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: .85rem; background: var(--shp-powder); border-radius: 15px; }
.shp-magazine-overview-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.shp-magazine-overview-image:hover img { transform: scale(1.018); }
.shp-magazine-overview-card h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.shp-magazine-card-excerpt { margin: .65rem 0 0 !important; line-height: 1.6; }
.shp-magazine-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; border-top: 1px solid var(--shp-border); text-align: center; }
.shp-magazine-pagination a { color: var(--shp-navy); font-weight: 700; text-decoration: none; }
.shp-magazine-pagination a:first-child { justify-self: start; }
.shp-magazine-pagination a:last-child { grid-column: 3; justify-self: end; }
.shp-magazine-pagination a:hover { color: var(--shp-blue); }
.shp-magazine-pagination span { grid-column: 2; color: var(--shp-text); font-size: .9rem; }

@media (max-width: 900px) {
	.shp-recipe-grid, .shp-magazine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shp-recipe-card:last-child:nth-child(odd), .shp-magazine-card:last-child:nth-child(odd) { display: none; }
	.shp-weekmenu { grid-template-columns: 45% minmax(0, 1fr); }
	.shp-weekmenu-image { min-height: 390px; }
	.shp-magazine-header { align-items: flex-start; }
	.shp-magazine-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shp-magazine-featured { grid-template-columns: 52% minmax(0, 1fr); }
}

@media (max-width: 700px) {
	.wp-block-media-text.shp-hero { display: flex; flex-direction: column-reverse; }
	.shp-hero .wp-block-media-text__media { width: 100%; min-height: 280px; }
	.shp-section-header, .shp-magazine-header { align-items: flex-start; flex-direction: column; gap: .8rem; }
	.shp-weekmenu { grid-template-columns: 1fr; }
	.shp-weekmenu-image { min-height: 0; aspect-ratio: 16 / 9; }
	.shp-newsletter { grid-template-columns: 1fr; }
	.shp-newsletter-action { justify-content: flex-start; }
	.shp-magazine-featured { grid-template-columns: 1fr; }
	.shp-magazine-featured-image { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 520px) {
	.shp-section { margin-top: 3.5rem; }
	.shp-recipe-grid, .shp-magazine-grid { grid-template-columns: 1fr; }
	.shp-recipe-card:last-child:nth-child(odd), .shp-magazine-card:last-child:nth-child(odd) { display: block; }
	.wp-block-group.shp-quick-links { align-items: flex-start; flex-direction: column; }
	.shp-hero .wp-block-button { width: 100%; }
	.shp-magazine-overview-grid { grid-template-columns: 1fr; }
	.shp-magazine-pagination { grid-template-columns: 1fr 1fr; }
	.shp-magazine-pagination span { grid-column: 1 / -1; grid-row: 1; }
	.shp-magazine-pagination a:first-child { grid-column: 1; grid-row: 2; }
	.shp-magazine-pagination a:last-child { grid-column: 2; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) { .shp-card-image img { transition: none; } }
