.bulletin-page {
    margin-left: 10%;
    margin-right: 10%;
    padding: 20px 0 40px;
}

/* ---------- Grid ---------- */

/* Row gap is deliberately larger than the column gap. Sections are marked
   off by a rule rather than a panel, so the space above each rule has to do
   the separating work a border used to do -- and has to be clearly bigger
   than the space between a section's label and its own content, or the
   label reads as floating between two sections instead of heading one. */
.bulletin-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 420px 120px 190px;
    gap: 32px 28px;
}

.bulletin-section--feature {
    grid-column: 1;
    grid-row: 1;
}

/* Side column beside Feature (currently Themecast) and the full-width band
   below it (currently Projects) are named for their position, not their
   content -- see buildLayout in js/index.js. */
.bulletin-section--side {
    grid-column: 2;
    grid-row: 1;
}

/* The band/Spotlight each get their own full-width row (instead of
   sharing one row side by side) for more horizontal space per card. */
.bulletin-section--band {
    grid-column: 1 / -1;
    grid-row: 2;
}

.bulletin-section--spotlight {
    grid-column: 1 / -1;
    grid-row: 3;
}

/* Sections are separated by a hairline rule with the section label sitting
   under it, not by a raised panel -- the same broadsheet treatment the
   Policy/Purpose pages already use for their headings. The cells inside
   (.content-cell) were always flush and square; the panel around them was
   the one thing fighting that.
   overflow/min-height are layout machinery, not decoration: the carousel
   clips against them, and min-height: 0 is what lets a grid child shrink. */
.bulletin-section {
    padding: 12px 0 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* A kicker over the rule, not a headline: smaller, wider-tracked and
   quieter than before, so the content below it carries the page. */
.bulletin-section__title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--default-font-color);
    opacity: 0.7;
    margin: 0 0 14px 0;
    flex-shrink: 0;
}

/* Repeating-group header row: title on the left, an optional control
   (e.g. a date-range filter) pinned to the upper right on the
   same row. */
.bulletin-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 14px 0;
    flex-shrink: 0;
}

.bulletin-section__header .bulletin-section__title {
    margin: 0;
}

/* A repeating group's "Last N months" filter -- styled to look like plain,
   clickable text (no border/background of its own) that sits flush with
   the card, but opens the same dropdown-panel look as the header's
   logged-in-user menu (.settings-dropdown__panel/__item, global.css). */
.section-filter {
    position: relative;
    flex-shrink: 0;
}

.section-filter__toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--default-font-color);
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.section-filter__toggle:hover,
.section-filter__toggle[aria-expanded="true"] {
    opacity: 1;
    color: var(--accent-color);
}

.section-filter__toggle[aria-expanded="true"] .settings-dropdown__caret {
    transform: rotate(180deg);
}

/* Positioned in the viewport (fixed) rather than relative to
   .section-filter, and appended to <body> in js/index.js -- top/right are
   computed and set there from the toggle's on-screen position, so the
   panel escapes the Bulletin card's overflow: hidden instead of being
   clipped by it. */
.section-filter__panel {
    position: fixed;
    min-width: 170px;
}

.bulletin-empty {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--default-font-color);
    opacity: 0.6;
    margin: auto;
}

@media (max-width: 900px) {
    .bulletin-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 300px);
    }
    .bulletin-section--feature {
        grid-column: 1;
        grid-row: 1;
    }
    .bulletin-section--side {
        grid-column: 1;
        grid-row: 2;
    }
    .bulletin-section--band {
        grid-column: 1;
        grid-row: 3;
    }
    .bulletin-section--spotlight {
        grid-column: 1;
        grid-row: 4;
    }
}

/* ---------- Resources page ---------- */

/* The left nav + content-pane layout (.side-nav-layout/.side-nav/
   .side-nav__item/.side-nav-content) lives in global.css -- it's shared
   with the Market page, not specific to Resources or the Bulletin look. */

/* Title/Subtitle is its own left-aligned group at double the width of a
   normal field; Content Type + Published Date are grouped together and
   pushed to the right. */
.resources-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.resources-filters__left {
    display: flex;
}

.resources-filters__right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: auto;
}

.resources-filters__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resources-filters__left .resources-filters__field input {
    min-width: 570px;
}

.resources-filters__field label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--default-font-color);
    opacity: 0.6;
}

.resources-filters__field input,
.resources-filters__field select {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--default-font-color);
    background: var(--input-bg);
    border-color: var(--border-color);
    border-style: solid;
    border-width: 1px;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    min-width: 190px;
}

.resources-filters__field input:focus,
.resources-filters__field select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Cards wrap in fixed-width tiles (roughly 4 to a row at typical desktop
   widths) instead of stretching to fill a strict 4-column grid.

   On the Bulletin page, a repeating-group cell's thumbnail only stays a
   sane square because the cell sits inside an ancestor with an explicit
   pixel height (the Bulletin grid's row track, or -- for the side
   column's vertical list -- min/max-height set directly on the cell itself, see
   .scroll-list--vertical .content-cell above). Resources has no such
   bounded ancestor (the grid's height is just whatever its cards need),
   so a cell here needs that same direct, explicit bound instead of
   relying on a parent's height: a fixed pixel thumbnail size (not
   aspect-ratio, which has nothing determinate to compute from here and
   otherwise lets the thumbnail balloon to the source image's native
   size) plus a matching min-height floor on the card. Unlike Projects,
   these cards keep the intro line, so height isn't capped -- a card
   with a lot of text simply grows taller than the thumbnail instead of
   clipping it. */
.resources-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.resources-card {
    flex: 1 1 216px;
    min-width: 216px;
    max-width: 216px;
    min-height: 96px;
}

.resources-card.theme-cell {
    justify-content: center;
    align-items: flex-start;
}

/* Resources cards pin their text to the top (the Bulletin's cells center
   it, see .content-cell__body below), so the type/date row and title sit
   at the same height on every card in a row however long the titles are. */
.resources-card .content-cell__body {
    justify-content: flex-start;
}

.resources-card .content-cell__thumb {
    width: 96px;
    height: 96px;
}

/* Feature/Projects/Spotlight (the three states with real Content thumbnails
   and no intro line, see STATES' hideIntro in js/resources.js): sized
   purely to the thumbnail (96px + the cell's 6px top/bottom padding =
   108px) instead of growing to fit text, and wide enough that the meta
   row's date never clips and the title only ever wraps to 2 lines. The
   shared .resources-grid gap above already adds spacing between cards on
   a row and between rows once there's more than one visible. Themecast
   is excluded -- its cell has no thumbnail and a different shape. */
.resources-grid[data-state="Feature"] .resources-card,
.resources-grid[data-state="Projects"] .resources-card,
.resources-grid[data-state="Spotlight"] .resources-card {
    width: 360px;
    min-width: 360px;
    max-width: 360px;
    height: 108px;
    max-height: 108px;
    overflow: hidden;
}

.resources-grid[data-state="Feature"] .resources-card .content-cell__title,
.resources-grid[data-state="Projects"] .resources-card .content-cell__title,
.resources-grid[data-state="Spotlight"] .resources-card .content-cell__title {
    -webkit-line-clamp: 2;
}

/* Themecast: no thumbnail to size against, so it gets its own explicit
   bound instead -- 50% wider than the default 216px card. min-height is
   just a floor (no max-height), so a 2-line wrapped subtitle still grows
   the card rather than clipping; tighter top/bottom padding keeps that
   floor -- and the hover highlight's height -- from reading as mostly
   empty space on the (more common) shorter cards. */
.resources-grid[data-state="Themecast"] .resources-card {
    width: 324px;
    min-width: 324px;
    max-width: 324px;
    min-height: 100px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.resources-grid__sentinel {
    flex-basis: 100%;
    height: 1px;
}

/* ---------- Shelf groups (unused since the old resources.html layout was retired; kept in case that page comes back) ---------- */

.bulletin-shelf-group {
    margin-bottom: 24px;
}

.bulletin-shelf__title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--default-font-color);
    margin: 0 0 10px 0;
}

/* Reuses .bulletin-section's rounded/bordered look, but the box itself
   hugs the width of its own cells instead of stretching to the page
   width — it only ever grows up to the page's width (max-width: 100%),
   at which point the list inside scrolls instead of the box growing
   further. Cells here are fixed-width (see override below) rather than
   growing to fill the row, since there's no fixed row width to fill. */
.bulletin-shelf {
    width: fit-content;
    max-width: 100%;
}

.bulletin-shelf .content-cell {
    flex: 0 0 216px;
}

/* ---------- Shared single-item carousel (used by all four sections) ---------- */

.section-carousel {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
}

/* The Feature cell reuses the exact thumbnail + type/title/description
   structure from the repeating-group cells (.content-cell) — this class
   just sizes that shared cell to fill the carousel area, with the
   thumbnail scaled up to occupy two-thirds of the width on the left and
   the text column taking the remaining third on the right. */
.section-carousel__cell {
    flex: 1;
    min-width: 0;
    min-height: 0;
}

.bulletin-section--feature .content-cell__thumb {
    flex: 0 0 66.6667%;
    border-radius: 0;
}

.bulletin-section--feature .content-cell__thumb--placeholder {
    background-color: #d8c93a;
}

.bulletin-section--feature .content-cell__type {
    font-size: 13px;
}

.bulletin-section--feature .content-cell__title {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.25;
}

.bulletin-section--feature .content-cell__subtitle {
    font-size: 16px;
    color: var(--accent-color);
    opacity: 1;
    -webkit-line-clamp: 3;
}

/* Extra breathing room below the subtitle before the intro line starts,
   since Feature is the only cell that shows both. */
.bulletin-section--feature .content-cell__intro {
    font-size: 14px;
    margin-top: 24px;
    -webkit-line-clamp: 4;
}

/* Feature is the one repeating-group cell that isn't part of a list of
   peers to pick between -- hovering it shouldn't invite a click the way
   Projects/Themecast/Spotlight cells do, so it skips the hover
   background/font-color swap those use (see .content-cell:hover rules
   above). */
.bulletin-section--feature .content-cell:hover {
    background-color: transparent;
}

.bulletin-section--feature .content-cell:hover .content-cell__title {
    color: #ffffff;
}

.bulletin-section--feature .content-cell:hover .content-cell__type,
.bulletin-section--feature .content-cell:hover .content-cell__date,
.bulletin-section--feature .content-cell:hover .content-cell__description,
.bulletin-section--feature .content-cell:hover .content-cell__intro {
    color: var(--default-font-color);
}

.bulletin-section--feature .content-cell:hover .content-cell__subtitle {
    color: var(--accent-color);
}

.section-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.55);
    color: var(--default-font-color);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, background-color 0.15s ease;
    z-index: 2;
}

.section-carousel:hover .section-carousel__arrow {
    opacity: 1;
    pointer-events: auto;
}

.section-carousel__arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.section-carousel__arrow--prev {
    left: 6px;
}

.section-carousel__arrow--next {
    right: 6px;
}

/* ---------- Repeating groups (Projects / Themecast / Spotlight) ---------- */

.scroll-list {
    display: flex;
    gap: 0;
    flex: 1;
    min-height: 0;
}

/* Scrollbars stay invisible until the section is hovered (or focused
   into). They're made transparent rather than removed, so their space
   stays reserved and nothing shifts when they appear. */
.scroll-list {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.bulletin-section:hover .scroll-list,
.bulletin-section:focus-within .scroll-list {
    scrollbar-color: #5a5a5a transparent;
}

.scroll-list--vertical {
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.scroll-list--horizontal {
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Every cell: thumbnail fixed on the left, a type/title/description
   column on the right — same format across all three repeating groups.
   Cells sit flush against each other (no gap, no rounding) and fill the
   full cross-size of their list, separated only by a single divider line.
   align-items: stretch makes the text column match the thumbnail's
   height; .content-cell__body then centers its rows within that height
   so any leftover space splits evenly above/below instead of collecting
   underneath the text as dead space. */
.content-cell {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    padding: 6px;
    flex-shrink: 0;
    text-decoration: none;
    border-radius: 0;
    /* Reset native <button> chrome -- without this the browser's default
       white background/border show through instead of the transparent
       look every other cell state assumes. */
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    margin: 0;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.content-cell:hover {
    background-color: var(--default-font-color);
}

.content-cell:hover .content-cell__type,
.content-cell:hover .content-cell__date,
.content-cell:hover .content-cell__subtitle,
.content-cell:hover .content-cell__description,
.content-cell:hover .content-cell__intro,
.content-cell:hover .theme-cell__updated {
    color: #2a2a2a;
}

.content-cell:hover .content-cell__title {
    color: #1a1a1a;
}

/* In Motion: cells stack vertically, each spanning the column's width,
   separated by a single divider line (none after the last cell). Each
   cell has a 112px floor (96px thumb + padding) but grows to evenly
   fill the column when fewer cells exist than fit — so a section with
   exactly 3 items has no leftover empty space below the last cell —
   and clamps back to the floor (triggering scroll) once more cells are
   added than comfortably fit. */
.scroll-list--vertical .content-cell {
    width: 100%;
    flex: 1 1 112px;
    max-height: 124px;
    min-height: 112px;
}

.scroll-list--vertical .content-cell:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.scroll-list--vertical .content-cell__thumb {
    width: 96px;
    height: 96px;
}

/* The side column pins its text to the top (as the Resources cards do) instead of
   the shared centering, so the type/date row and title start at the same
   height in every cell however long the titles are. */
.scroll-list--vertical .content-cell__body {
    justify-content: flex-start;
}

/* Resources / Workshop: cells sit side by side, separated by a single
   divider line (none after the last cell). Each cell has a 216px floor
   but grows to evenly fill the row when fewer cells exist than fit — so
   a section with exactly 3 (or 2) items has no leftover empty space —
   and clamps back to the floor (triggering scroll) once more cells are
   added than comfortably fit. */
.scroll-list--horizontal .content-cell {
    flex: 1 1 216px;
    min-width: 216px;
}

/* The band (currently Projects) shows exactly 6 cells per row: each is a
   fixed sixth of the row and never grows or shrinks, whatever its title's
   length, so a 7th item overflows into the list's horizontal scroll
   instead of squeezing the others (same principle as Spotlight below).
   The 160px floor only takes over on windows too narrow for six readable
   cells. */
.bulletin-section--band .content-cell {
    flex: 0 0 16.667%;
    max-width: 16.667%;
    min-width: 160px;
    padding-left: 16px;
    padding-right: 16px;
}

/* The band's title-only cells center their title. width: 100% because
   the body's align-items: flex-start would otherwise shrink the title to
   its text width, leaving nothing for text-align to center within. Scoped
   to the band so the Resources page's Themecast cards stay left-aligned.
   The title wraps, but is clamped to 2 lines (all the band's fixed row
   height has room for at 19px) with "..." after that, and long unbroken
   words break mid-word -- so a long title never grows the cell taller or
   wider. The cell's overflow: hidden is a backstop for the same. */
.bulletin-section--band .content-cell {
    overflow: hidden;
}

.bulletin-section--band .theme-cell__title {
    width: 100%;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* Compact cell (js/index.js buildCompactCell, also the Resources page's
   Themecast cards): no thumbnail -- just a title and an optional
   "Updated:" line beneath it. */
.theme-cell {
    align-items: center;
}

.theme-cell__body {
    width: 100%;
}

/* Single line, cut off with "..." at the cell's edge: max-width keeps a
   long title from sizing itself to its full text (the body's
   align-items: flex-start would otherwise let it) and spilling into the
   neighbouring cells. */
.theme-cell__title {
    font-size: 19px;
    display: block;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Color/opacity live on the label and date individually rather than on
   this shared wrapper -- CSS opacity applies to an element's whole
   rendered subtree, so setting it here would also fade the date's blue
   (even with its own opacity: 1) instead of only dimming the label. */
.theme-cell__updated {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--default-font-color);
    transition: color 0.15s ease;
}

.theme-cell__updated-label {
    opacity: 0.55;
    text-transform: uppercase;
}

.theme-cell__updated-date {
    color: var(--accent-color);
}

.content-cell:hover .theme-cell__updated-date {
    color: #2a5d82; /* darker blue for legibility against the light hover background */
}

/* Spotlight shows exactly 4 cells per row: each is a fixed quarter of the
   row and never shrinks, so a 5th item overflows into the list's
   horizontal scroll (the same principle as the side column's vertical one)
   instead of squeezing the others. The 190px floor only takes over on
   windows too narrow for four readable cells. */
.bulletin-section--spotlight .content-cell {
    flex: 0 0 25%;
    max-width: 25%;
    min-width: 190px;
}

/* Same blue as the Feature cell's subtitle. */
.bulletin-section--spotlight .content-cell__subtitle {
    color: var(--accent-color);
    opacity: 1;
}

.scroll-list--horizontal .content-cell:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

/* No fixed width/height here: the cell's align-items: stretch already
   makes it match the full cell height (so its bottom edge lines up with
   the bottom of the title/description text), and aspect-ratio derives
   the width from that same height so it stays square. */
.scroll-list--horizontal .content-cell__thumb {
    aspect-ratio: 1 / 1;
}

.content-cell__thumb {
    position: relative;
    background-color: var(--input-bg);
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.content-cell__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-cell__thumb--placeholder {
    background-color: var(--input-bg);
}

/* Audio items use the same thumbnail box as video/article, with a small
   play icon overlaid on top so it still reads as playable. */
.content-cell__thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: var(--default-font-color);
    font-size: 22px;
    pointer-events: none;
}

.scroll-list--horizontal .content-cell__thumb-play {
    font-size: 16px;
}

.content-cell__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    min-height: 0;
}

/* Top row of a cell's text column: content type on the left, publish
   date on the right, same row. */
.content-cell__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.content-cell__type {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--default-font-color);
    opacity: 0.55;
    transition: color 0.15s ease;
}

.content-cell__date {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--default-font-color);
    opacity: 0.55;
    white-space: nowrap;
    transition: color 0.15s ease;
}

/* Title in the meta row (Themecast's side-column cells, which have no type
   label -- see buildContentCell's hideType): it fills the left of the row
   and wraps within it, so the date stays pinned to the right corner. */
.content-cell__meta--titled {
    align-items: flex-start;
}

.content-cell__meta--titled .content-cell__title {
    flex: 1 1 auto;
    min-width: 0;
}

/* Top-aligns the date's capitals with the title's first line rather than
   their baselines. Both share the title's 1.3 line-height; the extra 2px
   is the gap between where Inter's cap height starts at 17px vs. 11px
   (roughly 4.9px vs. 3.2px down from each line box's top). */
.content-cell__meta--titled .content-cell__date {
    line-height: 1.3;
    margin-top: 2px;
}

.content-cell__title {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 17px;
    color: #ffffff;
    line-height: 1.3;
    transition: color 0.15s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Subtitle: same dimmed gray originally used for the intro/description
   text, just a step up in size from it. */
.content-cell__subtitle {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    color: var(--default-font-color);
    opacity: 0.65;
    line-height: 1.3;
    transition: color 0.15s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Intro: the opening of the Markdown document's "## Intro" section (see
   content-template.md), shown dimmed beneath the subtitle and clipped
   with an ellipsis once it hits the cell's remaining height. Shares its
   look with .content-cell__description (the Resources/Workshop shelf's
   secondary text, js/resources.js) since both are the same kind of
   dimmed, clamped preview text. */
.content-cell__description,
.content-cell__intro {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    color: var(--default-font-color);
    opacity: 0.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

/* ---------- Embedded media players (js/content-embed.js) ---------- */
/* These three class names predate the removed content-detail popup; the
   elements they style are now built by js/content-embed.js for the
   Article/Video/Audio page (js/content_page.js) and the themecast history
   page (js/theme_page.js), which layer their own sizing on top in
   css/article.css. */

.content-modal__player {
    width: 100%;
    display: block;
    margin-bottom: 16px;
}

.content-modal__embed {
    width: 100%;
    height: 360px;
    border: none;
    display: block;
    margin-bottom: 16px;
}

.content-modal__embed--pdf {
    height: 500px;
}
