/* ==========================================================================
   Francis Davis Millet Institute - Featured page
   Requires tokens.css, base.css and lists.css (the shared list rows), in
   that order. Template: page-featured-works.php. Figma: frame 249:626.

   The feature itself is one row of the shared list (fdm-listing__item
   --feature) and needs nothing from this file. The rules here are for the
   rows that can follow it: the Author section when it is switched on in the
   template, or a tab an editor has renamed. The approved frame draws neither,
   so they follow the feature's row: a 32px heading, the same muted 18px
   text, and the section's picture when it has one.
   ========================================================================== */

/* Drawn only on this page and missing from tokens.css. */
.fdm-featured__section {
  --fdm-featured-figure-portrait: 320px;   /* widest a portrait picture is shown */
  --fdm-featured-figure-landscape: 560px;  /* widest a landscape picture is shown */
}

/* The picture under a section's text: whole, at its own proportions. */
.fdm-featured__figure {
  width: 100%;
  max-width: var(--fdm-featured-figure-portrait);
  margin-top: var(--fdm-space-8);
}

.fdm-featured__figure--landscape {
  max-width: var(--fdm-featured-figure-landscape);
}

.fdm-featured__figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--fdm-radius-image);
}
