.link-news-popup {
  box-sizing: border-box;
  width: min(var(--news-photo-width, 860px), calc(100vw - 32px));
  container-type: inline-size;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(15, 44, 68, .14);
  border-radius: 20px;
  background: #fff;
  color: #0f2c44;
  box-shadow: 0 24px 90px rgba(10, 28, 44, .3);
  font: 400 17px/1.75 "Jost", "Avenir Next", system-ui, sans-serif;
  overflow: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
}
.link-news-popup::-webkit-scrollbar { display: none; width: 0; height: 0; }
.link-news-popup::backdrop { background: rgba(10, 28, 44, .65); }
.link-news-popup * { box-sizing: border-box; }
.link-news-popup-header {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 0;
  pointer-events: none;
}
.link-news-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(15, 44, 68, .25);
  border-radius: 999px;
  background: #fff;
  color: #0f2c44;
  font: 400 28px/1 system-ui, sans-serif;
  box-shadow: 0 2px 12px rgba(10, 28, 44, .12);
  pointer-events: auto;
  cursor: pointer;
}
.link-news-popup-close:hover { background: #e6f7f9; }
.link-news-popup :focus-visible { outline: 3px solid #137c8a; outline-offset: 3px; }
.link-news-popup-content { padding: 32px clamp(24px, 6cqi, 52px) 40px; overflow-wrap: anywhere; }
.link-news-popup-metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 20px; }
.link-news-popup-category { color: #137c8a; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.link-news-popup-date { margin: 0; font-size: 15px; color: #5a6a78; }
.link-news-popup h2 { margin: 0 0 24px; font-size: clamp(28px, 5.1cqi, 44px); line-height: 1.2; font-weight: 500; }
.link-news-popup-image { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; margin: 0; background: #fff; }
.giles-news-card { cursor: pointer; }
.link-news-popup-copy { color: #344b5b; white-space: pre-line; }
.link-news-popup-copy p { margin: 0 0 1em; }
.link-news-popup-lead { display: block; font-size: 21px; line-height: 1.55; padding-bottom: 26px; border-bottom: 1px solid rgba(15, 44, 68, .14); }
.link-news-popup-copy a { color: #137c8a; text-decoration: underline; }
@media (max-width: 600px) {
  .link-news-popup { width: min(var(--news-photo-width, 860px), calc(100vw - 16px)); max-height: calc(100dvh - 16px); border-radius: 14px; font-size: 16px; }
  .link-news-popup-close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .link-news-popup-content { padding: 24px; }
  .link-news-popup-lead { font-size: 18px; padding-bottom: 22px; }
}
