/* THE EDGE COMPANY: newsroom, press kit and single-post styles.
   wp/mu-plugins/tec-newsroom/newsroom.css, enqueued by the tec-newsroom mu-plugin as
   tec-newsroom (dependency: tec-components) at wp_enqueue_scripts PHP_INT_MAX, only in the
   modes 'shortcodes' and 'on' and only when tokens.css and components.css exist. Built from
   tools/out/newsroom/newsroom.css with the changes of build-plan.md A.2. Markup: build-plan.md
   section B. Look: tools/out/newsroom/visual-spec.md.

   Rules of this file
   - Every colour, space, radius, shadow, size and ratio is a custom property of
     wp/tokens.css. No hex, no rgba, no new custom property.
   - Type sizes are not custom properties in tokens.css (they live in the tec-t-* classes),
     so where Divi-built content cannot carry a class, the values of the scale are restated
     (the scale is 12, 14, 16, 18, 22, 26 px; this file restates 14, 16, 18 and 22 with their
     line heights), nothing off the scale.
   - Motion timing is var(--t-fast), defined by components.css, this file's dependency.
     Reduced motion is handled there too: under prefers-reduced-motion every element with a
     tec- class and everything inside one gets transition and animation durations of 0s,
     which covers every transition below (the post body sits inside .tec-nr-body). The Divi
     entrance animations inside a post are switched off for every reader (4.2).
   - The other literals are the ones components.css also allows itself: the 3px arrow nudge,
     and one reading measure, 60ch (visual-spec.md 5.1: 68ch of Montserrat measured 80
     characters a line, 60ch measured 70 to 72, the design system's target).
   - Scope. .tec-nr is on every block the mu-plugin prints (hero, sections, the post header
     and end). The single post is #main-content.tec-nr-post > article.tec-nr-article >
     .entry-content.tec-nr-body, printed by the plugin's template (template_include 97, no
     Theme Builder), with the post's own content inside .tec-nr-body. Nothing else is
     touched: the file is inert until those classes exist, like tokens.css and components.css.
     Nothing here targets .et_pb_video, figure or .et_pb_image outside
     #main-content.tec-nr-post .tec-nr-body, so the video modules of the homes and product
     pages are untouched.
   - Weight against Divi. Component rules carry at least two classes. Every post-body rule
     starts #main-content.tec-nr-post .tec-nr-body (one id, two classes). That outweighs every
     Divi rule that reaches post text: body #main-content .et_builder_inner_content>p and >h1
     to >h6 (one id, one class, two elements, the only id-weighted text rules of
     style-static.min.css), the per-module rules (.et_pb_text_0 h2), and the Customizer CSS.
     Because the whole section rises by the same id, the relations inside it stay as written.
     !important appears only where Divi itself writes !important, measured on the per-post
     Divi CSS of the 88 live posts (heading color, row and module padding and margin, the
     audio module background-color), where the value comes from an inline style attribute,
     which no selector can beat otherwise (4.4, the entrance animation, captions, block
     covers), and where WordPress prints a block preset class with !important (the block
     cover text size and background). Every rule that has to beat one of those carries it
     too (the audio and cover heading colours, the first element's top margin in 4.8).
     Empty figures, quotes, headings and dead video modules are removed on the server
     (guards G3 and G6), never hidden here with :has(). */


/* 1. Newsroom listing: intro, filters, grid, pagination ------------------------------ */

.tec-nr .tec-nr-intro { max-width: calc(var(--container-max) * .618); color: var(--ink); }
/* Spacing goes between blocks, never above the first one: an archive without a term
   description opens on the chips (B.3). */
.tec-nr .tec-nr-intro + .tec-nr-filters { margin-top: var(--space-5); }
.tec-nr .tec-nr-intro + .tec-nr-grid, .tec-nr .tec-nr-filters + .tec-nr-grid, .tec-nr .tec-nr-intro + .tec-notice, .tec-nr .tec-nr-filters + .tec-notice, .tec-nr .tec-nr-intro + .tec-nr-kit { margin-top: var(--space-6); }
.tec-nr .tec-pagination { margin-top: var(--space-6); }
.tec-nr .tec-pagination__list { justify-content: center; }
/* The words of the Newer and Older steps sit in a span, which the design system's
   ".tec-pagination span" rule would draw as a box: back to plain text. Below 768 only the
   arrow shows (the link keeps its name in aria-label), so a middle page fits one row at
   390 instead of leaving a step alone on a second row. */
.tec-nr .tec-pagination .tec-nr-step-label { display: inline; min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; color: inherit; }
@media (max-width: 767px) {
  .tec-nr .tec-pagination .tec-nr-step-label { display: none; }
}

/* Chips as links. The design system's Chip is a toggle button (aria-pressed) and its README
   says "no chip as navigation to another page". The newsroom filters are category archives
   with their own URL and pagination, so they are links, and the current one carries
   aria-current="page" (aria-pressed is not allowed on a link). Same look as a selected chip:
   surface-deep fill and the check icon, which the markup always prints and only the current
   chip shows. The current chip rule has the weight of the hover rule and comes after it, so
   hovering the current chip keeps on-deep text on the deep fill; it sets no box-shadow, so
   the design system's focus ring still shows on it. Gap reported in visual-spec.md 9. */
.tec-nr a.tec-chip { text-decoration: none; }
.tec-nr a.tec-chip:hover { color: var(--ink); }
.tec-nr a.tec-chip[aria-current="page"] { background: var(--surface-deep); border-color: var(--surface-deep); color: var(--on-deep); }
.tec-nr .tec-chip[aria-current="page"] .tec-icon { display: block; }

/* A card whose post has no picture: the brand mark centred on the deep cover, untinted,
   instead of an empty block that reads as a picture that failed to load. */
.tec-nr .tec-news-card__cover.tec-nr-cover--mark { display: grid; place-items: center; }
.tec-nr .tec-nr-cover--mark .tec-nr-mark { display: block; width: auto; height: var(--space-6); color: var(--on-deep); }

/* Card extras: the "Read more" arrow moves 3px when the card is hovered, as text-button
   arrows do (README, Motion). */
.tec-nr .tec-news-card__more .tec-icon { transition: transform var(--t-fast); }
.tec-nr .tec-news-card:hover .tec-news-card__more .tec-icon { transform: translateX(3px); }

/* The wide card: the featured first story of the newsroom (tec-nr-card--wide), and the third
   card of a 3-card strip between 768 and 1023, which would otherwise sit alone on its row
   (P1-064). Cover and body side by side, 1fr 1fr, then the golden split from 1024. The cover
   keeps 16:9 as its minimum and stretches if the body is taller. Its width is set to 100% on
   purpose: with a stretched height and an auto width, aspect-ratio would derive the width
   from the height and push the picture over the text. */
@media (min-width: 768px) {
  .tec-nr .tec-news-card.tec-nr-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tec-nr .tec-nr-card--wide .tec-news-card__cover { width: 100%; justify-self: stretch; align-self: stretch; }
  .tec-nr .tec-nr-card--wide .tec-news-card__body { justify-content: center; }
  .tec-nr .tec-nr-card--wide .tec-news-card__more { margin-top: var(--space-2); }
  .tec-nr .tec-nr-card--wide .tec-news-card__excerpt { -webkit-line-clamp: 4; }
}
@media (min-width: 1024px) {
  .tec-nr .tec-news-card.tec-nr-card--wide { grid-template-columns: var(--grid-golden); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .tec-nr .tec-nr-strip > .tec-news-card:nth-child(3):last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tec-nr .tec-nr-strip > .tec-news-card:nth-child(3):last-child .tec-news-card__cover { width: 100%; justify-self: stretch; align-self: stretch; }
  .tec-nr .tec-nr-strip > .tec-news-card:nth-child(3):last-child .tec-news-card__body { justify-content: center; }
}


/* 2. Strips (home "latest 3", related stories), press band and their headings ---------- */

/* Heading on the left, the "all" button on the right from 768; stacked below. */
.tec-nr .tec-nr-strip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-6); }
/* The press band (B.8) is a head with nothing below it: no margin under it, or the band
   would be deeper at the bottom than at the top. */
.tec-nr .tec-nr-strip-head:last-child { margin-bottom: 0; }
.tec-nr .tec-nr-strip-head .tec-heading { flex: 1 1 auto; }
/* Below 768 the button always goes under the heading, whether or not the heading would
   leave room for it, so every band opens the same way. */
@media (max-width: 767px) {
  .tec-nr .tec-nr-strip-head { flex-direction: column; align-items: flex-start; }
}

/* Call to action band: centred heading, two buttons. */
.tec-nr .tec-nr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }
.tec-nr .tec-heading--center + .tec-nr-actions { justify-content: center; }


/* 3. Single post: article box, header, cover, end block ------------------------------- */

/* Divi's single-post spacing on the article and the content box goes: .single .et_pb_post
   (margin-bottom 27px), .single .post (padding-bottom 25px), .et_pb_post .entry-content
   (padding-top 30px on plain posts). The header and the end row set the rhythm instead. */
#main-content.tec-nr-post > .tec-nr-article { margin: 0; padding: 0; }
#main-content.tec-nr-post .tec-nr-body { padding-top: 0; margin-bottom: 0; }
/* Divi's dot navigation (a post's "side nav" setting, 9235) maps sections the single column
   no longer has; the template drops the body class that builds it, this is the fallback. */
#main-content.tec-nr-post > .et_pb_side_nav { display: none; }

/* The reading column: one measure for header, body and end, so the title, the cover and
   the text share both edges. Set in Montserrat 16/400 so that 60ch means the same everywhere
   (ch is the width of the zero, which changes with the weight: Divi's body weight is 500). */
.tec-nr .tec-nr-measure,
#main-content.tec-nr-post .tec-nr-body { box-sizing: border-box; max-width: calc(60ch + 2 * var(--gutter-sm)); margin-left: auto; margin-right: auto; padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; font-weight: 400; }
@media (min-width: 768px) {
  .tec-nr .tec-nr-measure,
  #main-content.tec-nr-post .tec-nr-body { max-width: calc(60ch + 2 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* The hero picture (7616, a man walking) on wide screens, where the band is shallow and a
   centred crop cuts him at the shoulders. */
@media (min-width: 1024px) { .tec-nr.tec-nr-hero { background-position: 65% 25%; } }

.tec-nr.tec-nr-post__header { padding-top: var(--section-y-sm); padding-bottom: var(--space-6); background: var(--surface); }
@media (min-width: 768px) { .tec-nr.tec-nr-post__header { padding-top: var(--section-y); } }

/* Breadcrumb: Newsroom / type. Links are tap-min tall; the separator is not read out. */
.tec-nr .tec-nr-crumbs__list { display: flex; flex-wrap: wrap; align-items: center; margin: 0; }
.tec-nr .tec-nr-crumbs li { display: flex; align-items: center; color: var(--ink-secondary); }
.tec-nr .tec-nr-crumbs li + li::before { content: "/"; content: "/" / ""; margin: 0 var(--space-3); color: var(--ink-secondary); }
.tec-nr .tec-nr-crumbs a { display: inline-flex; align-items: center; min-height: var(--tap-min); min-width: var(--tap-min); color: var(--link); text-decoration: none; transition: color var(--t-fast); }
.tec-nr .tec-nr-crumbs a:hover { color: var(--link-hover); text-decoration: underline; }

.tec-nr .tec-nr-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-3); color: var(--ink-secondary); }
.tec-nr .tec-nr-post__title { margin-top: var(--space-4); color: var(--ink); overflow-wrap: break-word; }

/* Cover: 16:9, blue rendition (tec-tint, set in the markup), radius-lg as standalone media.
   A post without a cover, or a video-first post, prints no figure at all. */
.tec-nr .tec-nr-post__cover { position: relative; margin: var(--space-6) 0 0; aspect-ratio: var(--ratio-cover); overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-deep); }
.tec-nr .tec-nr-post__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* End of the article: a hairline, then the way back and the share link. */
.tec-nr.tec-nr-post__end { padding-bottom: var(--section-y-sm); background: var(--surface); }
@media (min-width: 768px) { .tec-nr.tec-nr-post__end { padding-bottom: var(--section-y); } }
.tec-nr .tec-nr-post__end-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-5); margin-top: var(--space-6); padding-top: var(--space-3); border-top: var(--stroke-hairline) solid var(--line); }


/* 4. Single post body: Divi-built and editor content as one publication ---------------- */

/* 4.1 Base. The body is its own block formatting context, left-aligned, ink on surface. */
#main-content.tec-nr-post .tec-nr-body { display: flow-root; color: var(--ink); letter-spacing: 0; text-align: start; overflow-wrap: break-word; }

/* 4.2 Divi's structure becomes transparent: sections, rows, columns and text/code modules
   stop being boxes, so their paddings, margins, min-heights, backgrounds, widths and floats
   drop out without !important and everything inside them flows as one column. Empty columns
   vanish. Wrappers carrying an id (the in-page index anchors of 8956 and 9235) stay blocks,
   because an element without a box cannot be scrolled to; they lose their padding and
   background instead (margin and padding !important: Divi writes row padding and margin
   with !important). */
#main-content.tec-nr-post .tec-nr-body :is(.et-l, .et_builder_inner_content, .et_pb_section, .et_pb_row, .et_pb_row_inner, .et_pb_column, .et_pb_text, .et_pb_text_inner, .et_pb_code, .et_pb_code_inner):not([id]) { display: contents; }
#main-content.tec-nr-post .tec-nr-body :is(.et-l, .et_builder_inner_content, .et_pb_section, .et_pb_row, .et_pb_row_inner, .et_pb_column, .et_pb_text, .et_pb_text_inner, .et_pb_code, .et_pb_code_inner)[id] { display: block; float: none; width: auto; max-width: none; min-height: 0; margin: 0 !important; padding: 0 !important; background: none; }
#main-content.tec-nr-post .tec-nr-body [id] { scroll-margin-top: calc(var(--logo-h) + 3 * var(--space-4)); }
#main-content.tec-nr-post .tec-nr-body :is(.et_parallax_bg_wrap, .et_parallax_bg, .et_pb_top_inside_divider, .et_pb_bottom_inside_divider, .et_pb_background_mask, .et_pb_background_pattern, .et_pb_section_video_bg) { display: none; }
/* No entrance animations in an article (17 modules carry animation_style today). Divi's
   script writes the starting opacity and transform as inline styles and its stylesheet sets
   animation-fill-mode with !important, hence !important here. */
#main-content.tec-nr-post .tec-nr-body .et_animated { opacity: 1 !important; animation: none !important; transform: none !important; }

/* Module-level type set by Divi (text_font_size, text_line_height, text_text_color,
   text orientation) would still be inherited through the transparent wrappers: reset it. */
#main-content.tec-nr-post .tec-nr-body :is(.et_pb_section, .et_pb_row, .et_pb_column, .et_pb_module, .et_pb_text_inner) { color: inherit; font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; text-align: inherit; text-transform: none; }

/* 4.3 Text. tec-t-body values; paragraph spacing space-4. */
#main-content.tec-nr-post .tec-nr-body :is(p, ul, ol, dl, table, pre) { margin: 0 0 var(--space-4); padding-bottom: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--ink); text-align: start; }
#main-content.tec-nr-post .tec-nr-body :is(strong, b) { font-weight: 700; }
/* Empty paragraphs are removed on the server (G3); this is the fallback. */
#main-content.tec-nr-post .tec-nr-body p:empty { display: none; }
/* Lists: Divi's .entry-content ul and ol rules (bottom padding 23px, line height 26px,
   ol inside) carry no id here (the template prints no #left-area), so no !important. */
#main-content.tec-nr-post .tec-nr-body :is(ul, ol) { padding: 0 0 0 var(--space-5); line-height: 1.5; }
#main-content.tec-nr-post .tec-nr-body ul { list-style: disc outside; }
#main-content.tec-nr-post .tec-nr-body ol { list-style: decimal outside; }
#main-content.tec-nr-post .tec-nr-body li { margin: 0; padding: 0; }
#main-content.tec-nr-post .tec-nr-body li + li { margin-top: var(--space-2); }
#main-content.tec-nr-post .tec-nr-body li > :is(ul, ol) { margin: var(--space-2) 0 0; }

/* Headings. The page title is the h1 of the header, and the template turns body h1 into h2
   (G4), so inside the body: h1 and h2 take the tec-t-h3 values (Verdana 22, the smallest
   Verdana), h3 the tec-t-subtitle values (Montserrat 18/700), h4 to h6 Montserrat 16/700.
   Type them in sentence case: the capitals come from CSS for h1 and h2 only. The colour
   carries !important because Divi writes .et_pb_text_N hN { color: ... !important } (10843,
   10860, 10984, 11033, 11118). */
#main-content.tec-nr-post .tec-nr-body :is(h1, h2, h3, h4, h5, h6) { padding: 0; color: var(--ink) !important; text-align: start; }
#main-content.tec-nr-post .tec-nr-body :is(h1, h2) { margin: var(--space-6) 0 var(--space-3); font-family: var(--font-display); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
#main-content.tec-nr-post .tec-nr-body h3 { margin: var(--space-5) 0 var(--space-3); font-family: var(--font-sans); font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: 0; text-transform: none; }
#main-content.tec-nr-post .tec-nr-body :is(h4, h5, h6) { margin: var(--space-5) 0 var(--space-2); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; font-weight: 700; letter-spacing: 0; text-transform: none; }

/* The first element of the body takes no top margin: 4.8, after the media rules. */

/* Links: link colour, underlined at rest inside running text, link-hover on hover. */
#main-content.tec-nr-post .tec-nr-body a { color: var(--link); text-decoration: underline; text-decoration-thickness: var(--stroke-hairline); transition: color var(--t-fast); }
#main-content.tec-nr-post .tec-nr-body a:hover { color: var(--link-hover); }

/* 4.4 Inline styles from the editor and from pasted text: the published posts carry about 60
   coloured spans in eight off-palette colours (listed in visual-spec.md 5.3), 20 font sizes,
   103 underlines and centred paragraphs. Colour words become text (only links are blue),
   sizes, families, tracking and casing follow the element, underlines go (a link is
   underlined by the rule above), text aligns to the start. */
#main-content.tec-nr-post .tec-nr-body [style*="color"] { color: inherit !important; }
#main-content.tec-nr-post .tec-nr-body a[style*="color"] { color: var(--link) !important; }
#main-content.tec-nr-post .tec-nr-body a[style*="color"]:hover { color: var(--link-hover) !important; }
#main-content.tec-nr-post .tec-nr-body [style*="background"]:not(.et_pb_module, .et_pb_section, .et_pb_row) { background: none !important; }
#main-content.tec-nr-post .tec-nr-body :is(span, strong, b, em, i, u, a, font)[style*="font-size"] { font-size: inherit !important; }
#main-content.tec-nr-post .tec-nr-body [style*="font-family"] { font-family: inherit !important; }
#main-content.tec-nr-post .tec-nr-body [style*="letter-spacing"] { letter-spacing: inherit !important; }
#main-content.tec-nr-post .tec-nr-body [style*="text-transform"] { text-transform: inherit !important; }
#main-content.tec-nr-post .tec-nr-body span[style*="underline"], #main-content.tec-nr-post .tec-nr-body u { text-decoration: none !important; }
#main-content.tec-nr-post .tec-nr-body a [style*="underline"] { text-decoration: inherit !important; }
#main-content.tec-nr-post .tec-nr-body [style*="text-align"] { text-align: inherit !important; }

/* 4.5 Media: images, figures, video, embeds, audio. Standalone media take radius-lg and
   space-5 above and below, never wider than the column, with no min-height of their own
   (11118's video module carries 425.6px). margin and padding !important: Divi writes module
   margin and padding with !important (4 posts); width !important: WordPress prints a classic
   caption's width as an inline style on its figure. Body images are not tinted: many are
   letters, forms, charts and product shots whose content is the point (visual-spec.md 5.3);
   editors add tec-tint to a photo's Image module when it is an institutional picture. */
#main-content.tec-nr-post .tec-nr-body :is(.et_pb_image, .et_pb_video, .et_pb_audio_module, .et_pb_blurb, .et_pb_divider, .et_pb_button_module_wrapper, .et_pb_fullwidth_image, figure, .wp-block-image, .wp-block-embed) { float: none; width: auto !important; max-width: 100%; min-height: 0; margin: var(--space-5) 0 !important; padding: 0 !important; }
#main-content.tec-nr-post .tec-nr-body .et_pb_image { text-align: center; }
#main-content.tec-nr-post .tec-nr-body .et_pb_image_wrap { display: block; }
#main-content.tec-nr-post .tec-nr-body img:not(.emoji) { max-width: 100%; height: auto; }
#main-content.tec-nr-post .tec-nr-body :is(.et_pb_image, figure, .wp-block-image, p) img:not(.emoji) { border-radius: var(--radius-lg); }
#main-content.tec-nr-post .tec-nr-body figcaption { margin-top: var(--space-3); font-family: var(--font-sans); font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink-secondary); text-align: start; }
#main-content.tec-nr-post .tec-nr-body :is(.et_pb_video, .wp-block-embed) { overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-deep); }
/* An embed that holds only a link (10897: "Tg2 del 17 settembre 2023, guarda il video", kept
   by G3) sits on the same deep box: the link takes on-deep colours and some room. An embed
   that plays holds an iframe or a lazy-load div, never a direct link child. */
#main-content.tec-nr-post .tec-nr-body .wp-block-embed__wrapper > a { display: block; padding: var(--space-4) var(--space-5); color: var(--on-deep); }
#main-content.tec-nr-post .tec-nr-body .wp-block-embed__wrapper > a:hover { color: var(--on-deep-accent); }
#main-content.tec-nr-post .tec-nr-body iframe { display: block; max-width: 100%; border: 0; }
/* An embed pasted into a Code module (the LinkedIn post of 9581, fixed at 504 x 284) takes
   the column width and the room and radius of standalone media. */
#main-content.tec-nr-post .tec-nr-body .et_pb_code_inner > iframe { width: 100%; margin: var(--space-5) 0; border-radius: var(--radius-lg); }
/* The audio module of 10903 on surface-deep: background-color !important because Divi
   writes it with !important there; the heading colour because the body heading rule above
   carries !important. The module's own padding sets the space above its title, as Divi's
   .et_pb_audio_module_content h2 { margin-top: 0 } intends, so the heading margin goes. */
#main-content.tec-nr-post .tec-nr-body .et_pb_audio_module { overflow: hidden; border-radius: var(--radius-lg); background-color: var(--surface-deep) !important; color: var(--on-deep); }
#main-content.tec-nr-post .tec-nr-body .et_pb_audio_module :is(h1, h2, h3, h4, h5, h6) { margin-top: 0; color: var(--on-deep) !important; }
#main-content.tec-nr-post .tec-nr-body .et_pb_audio_module :is(p, strong) { color: var(--on-deep); }
/* Block editor cover (12043, 12050, when G1 has not removed it as a copy of the post
   cover): text over a photo. The photo takes the Hero tint (overlay-tint, on-deep text at
   6.6:1) instead of the editor's 50% black, the text the tec-t-h3 values in on-deep, the
   block the 16:9 cover ratio and the space-5 of standalone media above and below.
   min-height, padding and background-color !important: the editor writes them as inline
   styles (and WordPress prints its colour presets with !important); the text size because
   WordPress prints its size presets with !important (the cover text of 12043 and 12050
   carries has-large-font-size, 36px); the text colour because the body heading rule
   carries !important. The photo fills the block (core gives it height 100%, which the img
   rule of 4.5 would turn back to auto), and the overlay selector outweighs the inline
   background rule of 4.4. */
#main-content.tec-nr-post .tec-nr-body .wp-block-cover { min-height: 0 !important; aspect-ratio: var(--ratio-cover); margin: var(--space-5) 0; padding: var(--space-5) !important; overflow: hidden; border-radius: var(--radius-lg); }
#main-content.tec-nr-post .tec-nr-body .wp-block-cover img { border-radius: 0; }
#main-content.tec-nr-post .tec-nr-body .wp-block-cover .wp-block-cover__image-background { height: 100%; }
#main-content.tec-nr-post .tec-nr-body .wp-block-cover .wp-block-cover__background { background-color: var(--overlay-tint) !important; opacity: 1; }
#main-content.tec-nr-post .tec-nr-body .wp-block-cover :is(p, h1, h2, h3, h4, h5, h6) { margin: 0; font-family: var(--font-display); font-size: 22px !important; line-height: 1.25; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; text-align: center; color: var(--on-deep) !important; }
#main-content.tec-nr-post .tec-nr-body .et_pb_divider { height: auto; }
#main-content.tec-nr-post .tec-nr-body .et_pb_divider::before { border-top: var(--stroke-hairline) solid var(--line); }
#main-content.tec-nr-post .tec-nr-body hr { height: 0; margin: var(--space-6) 0; border: 0; border-top: var(--stroke-hairline) solid var(--line); background: none; }
/* Runs of rules and a closing rule are removed on the server (G3); this is the fallback. */
#main-content.tec-nr-post .tec-nr-body hr + hr { display: none; }
/* A paragraph that is only a document link (the PDF of a press release, class tec-nr-doc):
   a tap target of tap-min, not a 19 px line. */
#main-content.tec-nr-post .tec-nr-body .tec-nr-doc a { display: inline-flex; align-items: center; min-height: var(--tap-min); }

/* 4.6 Quotes: a customer statement or a citation inside an article. tec-t-quote values
   (Montserrat 22, 600 italic) in ink on surface-tint, radius-lg; not uppercase, unlike the
   Quote component, because these are long statements. Empty quote blocks are removed on the
   server (G3); the :empty rule is the fallback. */
#main-content.tec-nr-post .tec-nr-body blockquote { margin: var(--space-5) 0; padding: var(--space-5); border: 0; border-radius: var(--radius-lg); background: var(--surface-tint); font-family: var(--font-sans); font-size: 22px; line-height: 1.35; font-weight: 600; font-style: italic; color: var(--ink); quotes: none; }
#main-content.tec-nr-post .tec-nr-body blockquote :is(p, cite) { margin: 0; font: inherit; color: inherit; }
#main-content.tec-nr-post .tec-nr-body blockquote p + p { margin-top: var(--space-4); }
#main-content.tec-nr-post .tec-nr-body blockquote cite { display: block; margin-top: var(--space-4); font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink-secondary); }
#main-content.tec-nr-post .tec-nr-body blockquote:empty { display: none; }

/* 4.7 Tables (none in the 90 posts today, kept for new ones). */
#main-content.tec-nr-post .tec-nr-body table { width: 100%; border-collapse: collapse; }
#main-content.tec-nr-post .tec-nr-body :is(th, td) { padding: var(--space-3); border-bottom: var(--stroke-hairline) solid var(--line); text-align: start; vertical-align: top; }
#main-content.tec-nr-post .tec-nr-body th { font-weight: 700; }

/* 4.8 No top margin on the very first element of the body, whatever it is: the header
   already leaves space-6 (visual-spec.md 5.3). That element is the first child of the body
   (plain posts), the first module of a Divi post (the video of 11599 and 11658, the audio
   module of 10903), or the first element inside that module when it is a text or code
   module, and one level further down, because a wrapper without padding passes its first
   child's margin on (the pasted LinkedIn wrapper of 9930 opens on an h3, a gallery on its
   first image). It comes after 4.5 and carries !important because the media rule it has to
   beat carries it. */
#main-content.tec-nr-post .tec-nr-body > :first-child,
#main-content.tec-nr-post .tec-nr-body > :first-child > :first-child,
#main-content.tec-nr-post .tec-nr-body > .et-l:first-child > .et_builder_inner_content > .et_pb_section:first-child > .et_pb_row:first-child > .et_pb_column:first-child > .et_pb_module:first-child,
#main-content.tec-nr-post .tec-nr-body > .et-l:first-child > .et_builder_inner_content > .et_pb_section:first-child > .et_pb_row:first-child > .et_pb_column:first-child > .et_pb_module:first-child > :is(.et_pb_text_inner, .et_pb_code_inner) > :first-child,
#main-content.tec-nr-post .tec-nr-body > .et-l:first-child > .et_builder_inner_content > .et_pb_section:first-child > .et_pb_row:first-child > .et_pb_column:first-child > .et_pb_module:first-child > :is(.et_pb_text_inner, .et_pb_code_inner) > :first-child > :first-child { margin-top: 0 !important; }


/* 5. Press kit ------------------------------------------------------------------------ */

/* Two columns from 1024: the lists on the left (golden 1.618fr), the media contact and the
   logos on the right. The aside comes first in the markup, so on phones a journalist meets
   the contact before 21 rows of coverage. */
.tec-nr .tec-nr-kit { display: grid; gap: var(--space-7) var(--grid-gap-x); }
.tec-nr .tec-nr-kit__main, .tec-nr .tec-nr-kit__aside { min-width: 0; }
.tec-nr .tec-nr-kit__aside { display: grid; gap: var(--space-5); align-content: start; }
@media (min-width: 1024px) {
  .tec-nr .tec-nr-kit { grid-template-columns: var(--grid-golden); align-items: start; }
  .tec-nr .tec-nr-kit__main { grid-column: 1; grid-row: 1; }
  .tec-nr .tec-nr-kit__aside { grid-column: 2; grid-row: 1; }
}
.tec-nr .tec-nr-kit__block + .tec-nr-kit__block { margin-top: var(--space-7); }
.tec-nr .tec-nr-kit__block > .tec-heading { margin-bottom: var(--space-5); }
.tec-nr .tec-nr-kit__block > .tec-notice { margin-top: var(--space-4); }

/* A static panel (the PersonCard and PartnerGrid treatment: line hairline, no shadow). */
.tec-nr .tec-nr-panel { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border: var(--stroke-hairline) solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); }
.tec-nr .tec-nr-panel__title { color: var(--ink); }
.tec-nr .tec-nr-panel__note { color: var(--ink-secondary); }

/* Contact lines: mail and phone, tap-min tall, icon in link colour. */
.tec-nr .tec-nr-contact { display: flex; align-items: center; gap: var(--space-3); min-height: var(--tap-min); color: var(--link); text-decoration: none; overflow-wrap: anywhere; transition: color var(--t-fast); }
.tec-nr .tec-nr-contact:hover { color: var(--link-hover); text-decoration: underline; }

/* Downloads: one row per file, name in link colour, format and size in ink-secondary.
   The design system has no download icon: arrow-right turned a quarter (gap, 9). */
.tec-nr .tec-nr-files { margin: 0; border-top: var(--stroke-hairline) solid var(--line); }
.tec-nr .tec-nr-files li { border-bottom: var(--stroke-hairline) solid var(--line); }
.tec-nr .tec-nr-file { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--tap-min); padding: var(--space-2) 0; color: var(--link); text-decoration: none; transition: color var(--t-fast); }
.tec-nr .tec-nr-file:hover { color: var(--link-hover); }
.tec-nr .tec-nr-file:hover .tec-nr-file__name { text-decoration: underline; }
.tec-nr .tec-nr-file__name { display: block; }
.tec-nr .tec-nr-file__meta { display: block; color: var(--ink-secondary); }
.tec-nr .tec-nr-file .tec-icon { transform: rotate(90deg); }

/* PressList rows that link to our own posts use arrow-right instead of arrow-up-right;
   an optional note (archived copy, sponsored content, our copy) sits in the meta line. */
.tec-nr .tec-nr-press-note { color: var(--ink-secondary); }


/* 6. Forced colours: the current chip is drawn with a background, so it gets an outline. */
@media (forced-colors: active) {
  .tec-nr .tec-chip[aria-current="page"] { outline: var(--stroke-control) solid; }
}
