/* =====================================================================
   SoftTissueMechaniX — global custom styles
   Loaded on every page (see `css:` in _quarto.yml), after the
   flatly/darkly themes. Colours follow the IP Paris palette.
   Dark mode: Quarto adds `body.quarto-dark` when the toggle is on.
   ===================================================================== */

:root {
  --stm-navy: #031C59;
  --stm-blue: #008BD2;
  --stm-accent: #D66547;
  --stm-strong: #031C59;          /* headings / strong text */
  --stm-surface: #ffffff;         /* cards */
  --stm-soft: #eef6fb;            /* tinted panels */
  --stm-soft-2: #e1eff8;
  --stm-border: rgba(3, 28, 89, 0.14);
  --stm-shadow: 0 6px 18px rgba(3, 28, 89, 0.08);
  --stm-shadow-hover: 0 14px 32px rgba(0, 139, 210, 0.22);
  --stm-nav-h: 60px;              /* updated by JS with the real navbar height */
  --stm-radius: 14px;
}

body.quarto-dark {
  --stm-strong: #f3f3f3;
  --stm-blue: #99ddff;
  --stm-surface: #0b2a7a;
  --stm-soft: #0a2470;
  --stm-soft-2: #12318a;
  --stm-border: rgba(153, 221, 255, 0.25);
  --stm-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --stm-shadow-hover: 0 14px 32px rgba(153, 221, 255, 0.18);
}

/* ---------------------------------------------------------------------
   Reveal-on-scroll (add class="reveal" to any block; JS does the rest)
   --------------------------------------------------------------------- */
html.stm-js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
html.stm-js .reveal.reveal-left  { transform: translateX(-40px); }
html.stm-js .reveal.reveal-right { transform: translateX(40px); }
html.stm-js .reveal.is-visible   { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.stm-js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .stm-slide.is-active img { animation: none !important; }
}

/* ---------------------------------------------------------------------
   Protected e-mails
   --------------------------------------------------------------------- */
.stm-email:empty::after { content: "[enable JavaScript to see e-mail]"; font-style: italic; opacity: .6; }

/* =====================================================================
   HOME
   ===================================================================== */
.stm-hero {
  position: relative;
  width: 100%;
  /* Height follows the photo's own ratio (5000x2343) so nothing is cut,
     but never taller than 72% of the screen nor smaller than 300px. */
  aspect-ratio: 5000 / 2343;
  max-height: 72vh;
  min-height: 300px;
  overflow: hidden;
  background: var(--stm-navy);
}
.stm-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Focus on the facade/entrance: when the box is shorter than the photo
     (very wide screens) we crop the sky, when it is narrower (phones)
     we keep the entrance in the middle. */
  object-position: 50% 68%;
  transform-origin: center;
  will-change: transform;
}
.stm-hero::after {               /* bottom gradient for text legibility */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,28,89,0) 40%, rgba(3,28,89,.55) 78%, rgba(3,28,89,.85) 100%);
  pointer-events: none;
}
.stm-hero-text {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 5vw 1.6rem;
  color: #fff;
  text-align: left;
}
.stm-hero-text .stm-kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  opacity: .9;
  margin: 0 0 .35rem;
}
.stm-hero-text h1 {
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.stm-hero-text h1 a { color: #99ddff; text-decoration: none; }
.stm-hero-text .stm-tagline { margin: .4rem 0 0; font-size: clamp(.9rem, 1.4vw, 1.15rem); opacity: .95; }

.stm-home-body {
  text-align: left;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 5vw 4rem;
}
.stm-home-body .stm-welcome { margin: 0 0 1rem; font-weight: 700; color: var(--stm-strong); }
.stm-home-grid { --bs-gap: 3rem; }
@media (max-width: 991px) {
  .stm-home-grid { --bs-columns: 1; --bs-gap: 2.5rem; }
  .stm-home-grid > * { grid-column: 1 / -1 !important; }
}
@media (max-width: 767px) {
  .stm-hero { min-height: 240px; }
  .stm-hero-text .stm-kicker { display: none; }
  .stm-hero-text { padding: 1rem 5vw 1.1rem; }
}

/* Project carousel (self-contained: see the script at the end of home.qmd) */
.stm-carousel {
  position: relative;
  border-radius: var(--stm-radius);
  overflow: hidden;
  box-shadow: var(--stm-shadow);
  background: var(--stm-navy);
  aspect-ratio: 16 / 10;
  outline: none;
}
.stm-carousel:focus-visible { box-shadow: 0 0 0 3px var(--stm-blue); }
.stm-slides, .stm-slide { position: absolute; inset: 0; }
.stm-slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.stm-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.stm-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stm-slide.is-active img { animation: stm-kenburns 9s ease-out both; }
@keyframes stm-kenburns { from { transform: scale(1.0); } to { transform: scale(1.08); } }

.stm-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 3.5rem 1.5rem 2.4rem; color: #fff; text-align: left;
  background: linear-gradient(180deg, rgba(3,28,89,0) 0%, rgba(3,28,89,.8) 50%, rgba(3,28,89,.95) 100%);
}
.stm-slide .stm-caption > * { opacity: 0; transform: translateY(14px); transition: all .6s ease .35s; }
.stm-slide.is-active .stm-caption > * { opacity: 1; transform: none; }
.stm-caption h3 { color: #fff !important; font-size: 1.35rem; margin: .4rem 0 .25rem; }
.stm-caption p  { margin: 0 0 .5rem; font-size: .92rem; opacity: .95; }
.stm-chip {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--stm-accent); color: #fff; padding: .2rem .55rem; border-radius: 999px;
}
a.stm-more { color: #99ddff; font-weight: 600; text-decoration: none; font-size: .9rem; }
a.stm-more:hover { text-decoration: underline; color: #fff; }

.stm-nav {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.85); color: var(--stm-navy); font-size: 1.8rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transition: opacity .25s, transform .25s;
}
.stm-prev { left: 12px; } .stm-next { right: 12px; }
.stm-carousel:hover .stm-nav, .stm-carousel:focus-within .stm-nav { opacity: 1; }
.stm-nav:hover { transform: translateY(-50%) scale(1.1); }
.stm-dots { position: absolute; z-index: 3; right: 1.2rem; bottom: 1rem; display: flex; gap: 6px; }
.stm-dots button { width: 22px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.45); cursor: pointer; transition: all .3s; }
.stm-dots button.active { width: 34px; background: #fff; }
.stm-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.stm-progress span { display: block; height: 100%; width: 0; background: var(--stm-accent); }
@media (hover: none) { .stm-nav { opacity: .8; } }
@media (max-width: 575px) {
  .stm-carousel { aspect-ratio: 4 / 3; }
  .stm-caption p { display: none; }
  .stm-caption { padding: 2.5rem 1rem 2rem; }
  .stm-caption h3 { font-size: 1.1rem; }
}

/* =====================================================================
   RESEARCH
   ===================================================================== */
#stm-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--stm-blue), var(--stm-accent));
  z-index: 2000; transition: width .1s linear;
}
.stm-subnav {
  position: sticky;
  top: var(--stm-nav-h);
  z-index: 50;
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: .7rem 0;
  margin: 1.5rem 0 2rem;
  background: var(--bs-body-bg);
  border-bottom: 1px solid var(--stm-border);
  transition: top .3s ease;
}
/* Quarto hides the navbar when scrolling down: stick the sub-menu to the very top then */
body:has(#quarto-header.headroom--unpinned) .stm-subnav { top: 0; }
.stm-subnav > p { display: contents; }
.stm-subnav { text-align: left; }
.stm-subnav a {
  border: 1px solid var(--stm-border);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .88rem;
  text-decoration: none;
  color: var(--bs-body-color);
  transition: all .2s ease;
  white-space: nowrap;
}
.stm-subnav a:hover { border-color: var(--stm-blue); color: var(--stm-blue); }
.stm-subnav a.active { background: var(--stm-navy); border-color: var(--stm-navy); color: #fff; }
body.quarto-dark .stm-subnav a.active { background: #99ddff; border-color: #99ddff; color: #031C59; }
@media (max-width: 767px) {
  .stm-subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .stm-subnav::-webkit-scrollbar { display: none; }
}

.project-section { scroll-margin-top: calc(var(--stm-nav-h) + 70px); padding: 2.5rem 0; border-bottom: 1px solid var(--stm-border); }
.project-section:last-of-type { border-bottom: 0; }
.project-section .stm-num {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--stm-accent); text-transform: uppercase;
}
.project-section h2 { margin-top: .2rem; border-bottom: 0; text-align: left; }
.project-figure { border-radius: var(--stm-radius); overflow: hidden; box-shadow: var(--stm-shadow); }
.project-figure img { display: block; width: 100%; transition: transform .6s ease; }
.project-figure:hover img { transform: scale(1.05); }
@media (min-width: 768px) {
  .project-section.flip .project-media { order: 2; }
}

.project-pubs {
  margin-top: 1.1rem;
  background: var(--stm-soft);
  border-left: 4px solid var(--stm-blue);
  border-radius: 0 10px 10px 0;
  padding: .8rem 1rem;
  font-size: .9rem;
  text-align: left;
}
.project-pubs:not(.has-pubs) { display: none; }
.project-pubs .pp-title { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stm-strong); margin-bottom: .35rem; }
.project-pubs ul { list-style: none; padding: 0; margin: 0; }
.project-pubs li { padding: .3rem 0; border-bottom: 1px dashed var(--stm-border); }
.project-pubs li:last-child { border-bottom: 0; }
.project-pubs li a { font-weight: 600; text-decoration: none; }
.project-pubs li a:hover { text-decoration: underline; }
.project-pubs .pp-meta { display: block; font-size: .8rem; opacity: .75; }

/* =====================================================================
   FUNDS — cards grow and change colour on hover
   ===================================================================== */
.fund-card {
  text-align: left;
  background: var(--stm-surface);
  border: 1px solid var(--stm-border) !important;
  border-radius: var(--stm-radius) !important;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
  will-change: transform;
}
.fund-card:hover, .fund-card:focus-within {
  transform: translateY(-4px) scale(1.03);
  background: var(--stm-soft-2);
  border-color: var(--stm-blue) !important;
  box-shadow: var(--stm-shadow-hover) !important;
}
.fund-card h4 { transition: color .25s ease; }
.fund-card:hover h4 { color: var(--stm-blue); }

/* =====================================================================
   PUBLICATIONS — "folder" UI
   ===================================================================== */
.pub-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin: 1.5rem 0 1rem; }
.pub-search {
  flex: 1 1 260px; max-width: 420px;
  border: 1px solid var(--stm-border); border-radius: 999px; padding: .45rem 1rem;
  background: var(--bs-body-bg); color: var(--bs-body-color);
}
.pub-search:focus { outline: 2px solid var(--stm-blue); outline-offset: 1px; }
.pub-count { font-size: .9rem; opacity: .75; }

.pub-tabs { display: flex; flex-wrap: wrap; margin-bottom: -1px; position: relative; z-index: 2; }
.pub-tab {
  padding: .55rem 1.3rem; margin-right: 6px; cursor: pointer;
  background: rgba(3, 28, 89, 0.07); color: var(--stm-strong);
  border: 1px solid var(--stm-blue); border-bottom: none; border-radius: 10px 10px 0 0;
  opacity: .75; font-weight: 500; transition: background .2s, opacity .2s, transform .2s;
  user-select: none;
}
body.quarto-dark .pub-tab { background: rgba(0, 0, 0, 0.3); }
.pub-tab:hover { opacity: .95; transform: translateY(-2px); }
.pub-tab.active {
  background: var(--stm-soft) !important; opacity: 1; font-weight: 800;
  border-top: 3px solid var(--stm-blue); border-bottom: 2px solid var(--stm-soft);
  transform: none;
}
.pub-tab .n { font-size: .72rem; font-weight: 600; opacity: .7; margin-left: .3rem; }

.pub-folder {
  background: var(--stm-soft);
  border: 1px solid var(--stm-blue);
  border-radius: 0 12px 12px 12px;
  padding: clamp(1rem, 3vw, 2rem);
  min-height: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.pub-filter-note { grid-column: 1 / -1; }

.pub-card {
  background: var(--bs-body-bg); border: 1px solid var(--stm-border); border-radius: 10px;
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column; text-align: left;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: stm-fadeup .45s ease both;
}
.pub-card:hover, .pub-card:focus-visible { transform: translateY(-6px); box-shadow: var(--stm-shadow-hover); border-color: var(--stm-blue); outline: none; }
.pub-card-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-bottom: 1px solid var(--stm-border); }
.pub-card-info { padding: .85rem 1rem 1rem; flex-grow: 1; display: flex; flex-direction: column; gap: .35rem; }
.pub-card-title { font-size: .98rem; font-weight: 700; color: var(--stm-strong); margin: 0; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pub-card-authors { font-size: .8rem; margin: 0; opacity: .8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Generated "cover" when no image is given in bibliography.yml */
.pub-cover {
  aspect-ratio: 3 / 4; position: relative; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 1rem;
  background: linear-gradient(150deg, var(--c1, #031C59) 0%, var(--c2, #008BD2) 100%);
}
.pub-cover::before {               /* fibre-like texture */
  content: ""; position: absolute; inset: -20%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 2px, transparent 2px 14px);
  transform: rotate(-4deg);
}
.pub-cover > * { position: relative; }
.pub-cover .pc-type { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.18); padding: .15rem .5rem; border-radius: 999px; align-self: flex-start; }
.pub-cover .pc-icon { font-size: 2.4rem; line-height: 1; opacity: .95; }
.pub-cover .pc-year { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.pub-cover .pc-journal { font-size: .78rem; font-style: italic; opacity: .9; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.pub-detail { display: none; animation: stm-fadeup .3s ease; text-align: left; }
.pub-detail.active { display: block; }
.pub-back-btn {
  display: inline-flex; align-items: center; gap: .4rem; background: transparent;
  border: 1px solid var(--stm-blue); color: var(--stm-strong);
  padding: .35rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 600; margin-bottom: 1.2rem;
  transition: background .2s;
}
.pub-back-btn:hover { background: rgba(0, 139, 210, .12); }
.pub-detail-layout { display: flex; gap: 2rem; flex-wrap: wrap; }
.pub-detail-media { flex: 1 1 240px; max-width: 320px; }
.pub-detail-media img, .pub-detail-media .pub-cover { width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,.12); }
.pub-detail-info { flex: 2 1 380px; }
.pub-detail-title { font-size: 1.5rem; font-weight: 800; color: var(--stm-strong); margin: 0 0 .8rem; line-height: 1.25; }
.pub-tag {
  display: inline-block; background: var(--stm-navy); color: #fff;
  padding: .2rem .65rem; border-radius: 6px; font-size: .8rem; font-weight: 700; margin: 0 .4rem .45rem 0;
}
body.quarto-dark .pub-tag { background: #99ddff; color: #031C59; }
.pub-tag.alt { background: transparent; color: var(--stm-strong); border: 1px solid var(--stm-blue); }
.pub-tag.accent { background: var(--stm-accent); color: #fff; }
.pub-detail-info .pub-actions { margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }

@media (max-width: 575px) {
  .pub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pub-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pub-tab { padding: .45rem .9rem; flex: none; }
  .pub-cover { padding: .7rem; }
  .pub-cover .pc-year { font-size: 1.7rem; }
  .pub-cover .pc-icon { font-size: 1.8rem; }
  .pub-card-title { font-size: .85rem; }
}
.stm-intro-left { text-align: left; }

@keyframes stm-fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   NEWS — forthcoming first, then past (split by JS from the event date)
   ===================================================================== */
.news-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.news-filters button {
  border: 1px solid var(--stm-border); background: transparent; color: var(--bs-body-color);
  border-radius: 999px; padding: .3rem .9rem; font-size: .85rem; cursor: pointer; transition: all .2s;
}
.news-filters button:hover { border-color: var(--stm-blue); color: var(--stm-blue); }
.news-filters button.active { background: var(--stm-navy); border-color: var(--stm-navy); color: #fff; }
body.quarto-dark .news-filters button.active { background: #99ddff; border-color: #99ddff; color: #031C59; }

.news-heading { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; border-bottom: 0 !important; }
.news-heading .count { font-size: .85rem; font-weight: 600; background: var(--stm-soft-2); color: var(--stm-strong);
  border-radius: 999px; padding: .1rem .6rem; }
.news-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--stm-accent); position: relative; flex: none; }
.news-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--stm-accent);
  animation: stm-pulse 1.8s ease-out infinite; }
@keyframes stm-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
.news-empty { font-style: italic; opacity: .7; }

/* card (shared) */
.news-card { position: relative; }
.news-card > a { display: flex; gap: 1.2rem; align-items: stretch; text-decoration: none; color: inherit; text-align: left;
  background: var(--stm-surface); border: 1px solid var(--stm-border); border-radius: var(--stm-radius);
  overflow: hidden; box-shadow: var(--stm-shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.news-card > a:hover { transform: translateY(-4px); box-shadow: var(--stm-shadow-hover); border-color: var(--stm-blue); }
.news-date {
  flex: 0 0 88px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--stm-navy); color: #fff; padding: .8rem .4rem; text-align: center;
}
body.quarto-dark .news-date { background: #021047; }
.news-date .d { font-size: 2rem; font-weight: 800; line-height: 1; }
.news-date .m { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: .2rem; }
.news-date .y { font-size: .75rem; opacity: .75; }
.news-body { flex: 1; padding: 1rem 1rem 1rem 0; min-width: 0; }
.news-body h3 { font-size: 1.15rem; margin: .25rem 0 .35rem; color: var(--stm-strong); }
.news-body p { margin: 0; font-size: .92rem; opacity: .9; }
.news-meta { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .75rem; }
.news-cat { background: var(--stm-soft-2); color: var(--stm-strong); border-radius: 999px; padding: .1rem .55rem; font-weight: 600; }
.news-loc { opacity: .75; }
.news-thumb { flex: 0 0 180px; background: #fff; display: flex; align-items: center; justify-content: center; padding: .5rem; }
.news-thumb img { max-width: 100%; max-height: 120px; object-fit: contain; }
.news-countdown { display: inline-block; margin-top: .6rem; font-size: .78rem; font-weight: 700; color: #fff;
  background: var(--stm-accent); border-radius: 999px; padding: .15rem .65rem; }

/* forthcoming: bigger, accent border */
.news-upcoming { display: grid; gap: 1.2rem; }
.news-upcoming .news-card > a { border-left: 5px solid var(--stm-accent); }
.news-upcoming .news-date, body.quarto-dark .news-upcoming .news-date { background: var(--stm-accent); }

/* past: vertical timeline */
.news-timeline { position: relative; padding-left: 28px; }
.news-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--stm-blue), var(--stm-border)); }
.news-timeline .news-card { margin-bottom: 1.2rem; }
.news-timeline .news-card::before { content: ""; position: absolute; left: -26px; top: 26px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--bs-body-bg); border: 3px solid var(--stm-blue); }
.news-year { position: relative; font-weight: 800; font-size: 1.1rem; color: var(--stm-blue); margin: 1.5rem 0 .8rem; }
.news-year::before { content: ""; position: absolute; left: -26px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border-radius: 3px; background: var(--stm-blue); }
.news-hidden { display: none !important; }

@media (max-width: 640px) {
  .news-thumb { display: none; }
  .news-date { flex-basis: 70px; }
  .news-date .d { font-size: 1.6rem; }
}
