/* ============================================================
   Neo Cuisine — content styles
   Loaded on the front end AND in the block editor canvas, so the
   owner sees block styles, the recipe card and sections as they
   will look live. Site chrome lives in theme.css.
   ============================================================ */

/* ---------- Content typography ---------- */
.entry-content,
.editor-styles-wrapper {
  /* Astra pads every top-level group/columns block in .entry-content via
     these vars, which insets the recipe card and the home sections. Groups
     with a background colour still get core's .has-background padding. */
  --wp--custom--ast-default-block-top-padding: 0;
  --wp--custom--ast-default-block-right-padding: 0;
  --wp--custom--ast-default-block-bottom-padding: 0;
  --wp--custom--ast-default-block-left-padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink);
}
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6,
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3,
.editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 1.6em 0 0.55em;
}
.entry-content h1, .editor-styles-wrapper h1 { font-size: var(--fs-2xl); }
.entry-content h2, .editor-styles-wrapper h2 { font-size: var(--fs-xl); }
.entry-content h3, .editor-styles-wrapper h3 { font-size: var(--fs-lg); }
.entry-content h4, .editor-styles-wrapper h4 { font-size: var(--fs-md); }
.entry-content > :first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1.1em; }
.entry-content a:not(.wp-block-button__link):not(.nc-btn):not(.nc-card__cat):not(.nc-more__link),
.editor-styles-wrapper a:not(.wp-block-button__link) {
  color: var(--primary-700);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--primary) 45%, transparent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}
.entry-content a:not(.wp-block-button__link):hover { text-decoration-color: currentColor; }
.entry-content img { border-radius: var(--radius); }
.entry-content figcaption { font-size: var(--fs-sm); color: var(--ink-muted); text-align: center; }

.nc-eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-xs) !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: 0.4em !important;
}

/* ---------- Buttons ---------- */
.nc-btn,
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8em 1.45em;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.nc-btn:hover, .nc-btn:focus-visible,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus-visible {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: var(--on-primary);
}
.nc-btn:active, .wp-block-button .wp-block-button__link:active { transform: translateY(1px); }
.nc-btn--small { padding: 0.55em 1.1em; font-size: var(--fs-xs); }
.nc-btn--outline,
.wp-block-button.is-style-nc-outline .wp-block-button__link {
  background: transparent;
  color: var(--primary-700);
}
.nc-btn--outline:hover, .nc-btn--outline:focus-visible,
.wp-block-button.is-style-nc-outline .wp-block-button__link:hover,
.wp-block-button.is-style-nc-outline .wp-block-button__link:focus-visible {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-700);
}
.wp-block-button.is-style-nc-accent .wp-block-button__link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.wp-block-button.is-style-nc-accent .wp-block-button__link:hover,
.wp-block-button.is-style-nc-accent .wp-block-button__link:focus-visible {
  background: var(--accent-700);
  border-color: var(--accent-700);
}

/* ---------- Group styles ---------- */
.wp-block-group.is-style-nc-card {
  background: var(--page-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.wp-block-group.is-style-nc-tip {
  position: relative;
  background: color-mix(in srgb, var(--butter) 18%, var(--page-bg));
  border: 1px solid color-mix(in srgb, var(--butter) 55%, var(--page-bg));
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  margin: 1.75rem 0;
}
.wp-block-group.is-style-nc-tip > :last-child { margin-bottom: 0; }
.nc-tip__label {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.25em !important;
}
.nc-tip__label::before { content: "💡 "; }
.wp-block-group.is-style-nc-band {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
}
.wp-block-group.is-style-nc-band h2 { margin-top: 0; }

/* ---------- List styles ---------- */
.is-style-nc-checklist {
  list-style: none;
  padding-left: 0 !important;
}
.is-style-nc-checklist > li {
  position: relative;
  padding: 0.55em 0 0.55em 2.1em;
  border-bottom: 1px dashed var(--line);
  cursor: pointer;
  transition: color .15s ease;
}
.is-style-nc-checklist > li:last-child { border-bottom: 0; }
.is-style-nc-checklist > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 1.15em;
  height: 1.15em;
  border: 2px solid var(--line-strong);
  border-radius: 6px;
  background: var(--page-bg);
  transition: background-color .15s ease, border-color .15s ease;
}
.is-style-nc-checklist > li.is-checked { color: var(--ink-muted); text-decoration: line-through; }
.is-style-nc-checklist > li.is-checked::before {
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 75% no-repeat;
  border-color: var(--primary);
}
.is-style-nc-checklist > li:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.is-style-nc-steps {
  list-style: none;
  counter-reset: nc-step;
  padding-left: 0 !important;
}
.is-style-nc-steps > li {
  counter-increment: nc-step;
  position: relative;
  padding: 0 0 1.15em 3.1em;
  min-height: 2.2em;
}
.is-style-nc-steps > li::before {
  content: counter(nc-step);
  position: absolute;
  left: 0;
  top: -0.1em;
  width: 2.1em;
  height: 2.1em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
}

/* ---------- Image + quote styles ---------- */
.wp-block-image.is-style-nc-rounded img { border-radius: var(--radius-lg); }
.wp-block-quote.is-style-nc-highlight {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--accent-50);
  padding: 1.5rem 1.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-md);
}
.wp-block-quote.is-style-nc-highlight cite { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--ink-muted); font-style: normal; }

/* ============================================================
   Sections (patterns)
   ============================================================ */
.nc-section { margin: 0 0 clamp(2.5rem, 6vw, 4rem); }
.nc-section:last-child { margin-bottom: 0; }
.entry-content .nc-section__title,
.nc-section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin: 0 0 1.25rem;
}
.nc-section__title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.nc-section__title.has-text-align-center { justify-content: center; }
.nc-section__title.has-text-align-center::after { display: none; }

/* ============================================================
   Cards + grids ([nc_featured], [nc_category_grid], related)
   ============================================================ */
.nc-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.nc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.nc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nc-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.nc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.nc-card:hover .nc-card__media img { transform: scale(1.04); }
.nc-card__body { padding: 0.8rem 0.1rem 0; display: flex; flex-direction: column; gap: 0.3rem; }
.nc-card__cat {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-700);
  text-decoration: none;
}
a.nc-card__cat:hover { color: var(--accent); }
.nc-card .nc-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
.nc-card__title a { color: var(--ink); text-decoration: none; }
/* Whole card clickable, keeping a single link in the a11y tree. */
.nc-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nc-card__cat { position: relative; z-index: 2; }
.nc-card:hover .nc-card__title a { color: var(--primary-700); }
.nc-card__title a:focus-visible { outline: none; }
.nc-card:has(.nc-card__title a:focus-visible) { box-shadow: var(--focus); border-radius: var(--radius); }
.nc-card .nc-card__meta,
.nc-list .nc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 0.15rem 0 0;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}
.nc-card__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }

.nc-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-50);
}

/* Featured: magazine = 1 large left + 4 small (2×2) right */
.nc-featured { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.nc-featured--magazine { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nc-featured--magazine .nc-card--large { grid-column: span 2; grid-row: span 2; }
.nc-featured--magazine .nc-card--large .nc-card__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.nc-featured--magazine .nc-card--large .nc-card__title,
.nc-featured--magazine .nc-card.nc-card--large .nc-card__title { font-size: var(--fs-lg); }
.nc-featured--row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* "Alle ansehen" link */
.nc-more { margin: 1.1rem 0 0; text-align: right; }
.nc-more__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary-700);
  text-decoration: none;
}
.nc-more__link .nc-icon { transition: transform .2s ease; }
.nc-more__link:hover .nc-icon { transform: translateX(3px); }

/* ---------- [nc_recipes_list] ---------- */
.nc-list { display: flex; flex-direction: column; gap: 1.5rem; }
.nc-list__item {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.nc-list__item:last-child { border-bottom: 0; padding-bottom: 0; }
.nc-list__media {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.nc-list__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.nc-list__item:hover .nc-list__media img { transform: scale(1.04); }
.nc-list__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.nc-list .nc-list__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; line-height: 1.25; margin: 0; }
.nc-list__title a { color: var(--ink); text-decoration: none !important; }
.nc-list__title a:hover { color: var(--primary-700); }
.nc-list .nc-list__excerpt { margin: 0.2rem 0 0.6rem; color: var(--ink-soft); font-size: var(--fs-sm); }

/* ---------- [nc_categories] round tiles ---------- */
.nc-cats {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 1.25rem 1rem;
}
.nc-cats__item a, .nc-cats__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  color: var(--ink);
  text-decoration: none !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.nc-cats__img {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--page-bg), 0 0 0 5px var(--primary-100);
  transition: box-shadow .2s ease;
}
.nc-cats__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.nc-cats__item a:hover .nc-cats__img { box-shadow: 0 0 0 3px var(--page-bg), 0 0 0 5px var(--primary); }
.nc-cats__item a:hover { color: var(--primary-700); }

/* ---------- [nc_popular] ---------- */
.nc-popular { list-style: none; margin: 0 !important; padding: 0 !important; counter-reset: nc-pop; }
.nc-popular__item { counter-increment: nc-pop; }
.nc-popular__item + .nc-popular__item { border-top: 1px solid var(--line); }
/* Linked (real posts: li > a > media + title) or plain (demo: li > media + title). */
.nc-popular__item,
.nc-popular__item > a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  color: var(--ink);
  text-decoration: none !important;
}
.nc-popular__item { padding: 0.6rem 0; }
.nc-popular__item:has(> a) { display: block; }
.nc-popular__media {
  position: relative;
  width: 64px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--primary-50);
  color: var(--primary);
}
.nc-popular__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.nc-popular__media::after {
  content: counter(nc-pop);
  position: absolute;
  left: 4px;
  top: 4px;
  min-width: 1.4em;
  height: 1.4em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--page-bg);
  color: var(--ink);
  font: 700 0.7rem/1 var(--font-display);
}
.nc-popular__title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.nc-popular__item a:hover .nc-popular__title { color: var(--primary-700); }

/* ---------- Author + newsletter boxes ---------- */
.nc-author {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
}
.nc-author__photo {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 0.9rem;
  border-radius: 50% !important;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--page-bg);
}
.nc-author__photo--placeholder { display: grid; place-items: center; background: var(--primary-100); color: var(--primary-700); }
.nc-author .nc-author__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; margin: 0 0 0.4rem; }
.nc-author__bio { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0 0 0.75rem; }

.nc-newsletter {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--on-primary);
  overflow: hidden;
}
.nc-newsletter::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: color-mix(in srgb, white 10%, transparent);
  pointer-events: none;
}
.nc-newsletter__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: color-mix(in srgb, white 16%, transparent);
}
.nc-newsletter .nc-newsletter__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; color: inherit; margin: 0 0 0.35rem; }
.nc-newsletter__text { font-size: var(--fs-sm); margin: 0 0 1rem; opacity: 0.92; }
.nc-newsletter .nc-btn { background: #fff; border-color: #fff; color: var(--primary-700); position: relative; z-index: 1; }
.nc-newsletter .nc-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.nc-newsletter .nc-editor-note { background: color-mix(in srgb, white 14%, transparent); color: inherit; border-color: transparent; }

/* ============================================================
   Recipe card (pattern "Rezeptkarte")
   ============================================================ */
.nc-recipe {
  margin: 2.5rem 0;
  border: 2px solid var(--primary-100);
  border-radius: var(--radius-lg);
  background: var(--page-bg);
  overflow: hidden;
  scroll-margin-top: 96px;
}
.nc-recipe:focus { outline: none; }
.nc-recipe__head {
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) 1.25rem;
  background: var(--surface);
}
.entry-content .nc-recipe__title,
.nc-recipe__title { margin: 0 0 0.4rem !important; font-size: var(--fs-xl); }
.nc-recipe__summary { color: var(--ink-soft); margin-bottom: 1rem !important; max-width: 60ch; }
.nc-recipe__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: 0 !important; }
.nc-recipe__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nc-recipe__facts > .nc-recipe__fact {
  margin: 0 !important;
  padding: 0.9rem 1rem;
  text-align: center;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.nc-recipe__facts > .nc-recipe__fact + .nc-recipe__fact { border-left: 1px solid var(--line); }
.nc-recipe__fact strong {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.nc-recipe__body { gap: clamp(1.25rem, 4vw, 2.5rem) !important; padding: clamp(1.25rem, 3vw, 2rem); margin: 0 !important; }
.nc-recipe__body h3 { margin-top: 0 !important; font-size: var(--fs-md) !important; }
.nc-recipe > .wp-block-group.is-style-nc-tip { margin: 0 clamp(1.25rem, 3vw, 2rem) 1.25rem; }
.nc-recipe__nutrition {
  margin: 0 !important;
  padding: 0.9rem clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* Cooking mode switch (added by theme.js where the Wake Lock API exists) */
.nc-cookmode { display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; user-select: none; }
.nc-cookmode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nc-cookmode__switch {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--line-strong);
  transition: background-color .2s ease;
  flex: none;
}
.nc-cookmode__switch::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.nc-cookmode input:checked + .nc-cookmode__switch { background: var(--primary); }
.nc-cookmode input:checked + .nc-cookmode__switch::after { transform: translateX(18px); }
.nc-cookmode input:focus-visible + .nc-cookmode__switch { box-shadow: var(--focus); }
.nc-cookmode__text { display: flex; flex-direction: column; line-height: 1.15; }
.nc-cookmode__text strong { font-family: var(--font-display); font-size: var(--fs-sm); }
.nc-cookmode__text small { font-size: var(--fs-xs); color: var(--ink-muted); }

/* ---------- Editor-only hints ---------- */
.nc-editor-note {
  padding: 0.75rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--accent-50);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nc-featured--magazine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nc-featured--magazine .nc-card--large .nc-card__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .nc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nc-recipe__facts > .nc-recipe__fact:nth-child(odd) { border-left: 0; }
  .nc-recipe__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nc-recipe__facts > .nc-recipe__fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .nc-list__item { grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 0.9rem; }
  .nc-list .nc-list__excerpt { display: none; }
  .nc-list .nc-list__title { font-size: 1.05rem; }
  .nc-grid--2, .nc-grid--3 { grid-template-columns: 1fr; }
  /* Phones: one large highlight, the rest as a compact 2×2 grid. */
  .nc-featured--magazine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 0.85rem; }
  .nc-featured--magazine .nc-card--large { grid-column: span 2; grid-row: auto; }
  .nc-featured .nc-card:not(.nc-card--large) .nc-card__title { font-size: 0.98rem; }
  .nc-featured .nc-card:not(.nc-card--large) .nc-card__meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-card__media img, .nc-list__media img, .nc-more__link .nc-icon { transition: none; }
  .nc-card:hover .nc-card__media img, .nc-list__item:hover .nc-list__media img { transform: none; }
}
