/*
 * Additions to the original theme.css (which stays unchanged): inline-icon
 * styles, anchor offset under the sticky navbar, skip link, forms and banners.
 */

.icon-play { display: inline-block; vertical-align: -0.1em; }
.icon-flip { transform: scaleX(-1); }

/* Anchors (former <a name>) must not hide under the sticky navigation. */
.anchor-target { display: block; position: relative; top: -110px; visibility: hidden; }
[id] { scroll-margin-top: 110px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  padding: .5rem 1rem; background: #fff; color: #000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.nav-lang { font-weight: 600; }

.hero-title { line-height: 1.8; }
.hero-title .hero-tick { line-height: 1.4; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.page-heading { margin-top: 2rem; }

.notfound { padding: 6rem 0; }

/* Example tiles (moved from an inline <style> of the old examples page). */
.custom-box {
  border: 2px solid #ccc; border-radius: 10px; transition: border-color 0.3s ease;
  padding: 1rem; text-align: center; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
}
.custom-box:hover { border-color: #FF9900; }
.custom-box img { max-width: 100%; height: auto; border-radius: 5px; }
.custom-title { font-size: 1.1rem; font-weight: 500; line-height: 1.4; min-height: 3.2em; margin-bottom: 1rem; }

/* Notice banner (look of the old security notice; content from the news CMS). */
.psc-security-banner {
  position: relative;
  z-index: 1000;
  width: 100%;
  margin: 0;
  padding: 14px 20px;
  box-sizing: border-box;
  background: linear-gradient(105deg, #9a3412, #c2410c);
  color: #fff;
  box-shadow: 0 4px 14px rgba(84, 28, 9, .18);
  font-family: inherit;
}
.psc-security-banner__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
}
.psc-security-banner__symbol { font-size: 27px; line-height: 1; flex-shrink: 0; }
.psc-security-banner__content { flex: 1 1 420px; line-height: 1.45; }
.psc-security-banner__content strong { display: block; font-size: 16px; margin-bottom: 3px; }
.psc-security-banner__content span { display: block; font-size: 14px; }
.psc-security-banner__button {
  display: inline-block;
  text-decoration: none;
  appearance: none;
  border: 1px solid #fff;
  border-radius: 7px;
  padding: 10px 15px;
  background: #fff;
  color: #9a3412;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.psc-security-banner__button:hover, .psc-security-banner__button:focus-visible {
  background: #fff2e9;
  color: #9a3412;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .psc-security-banner { padding: 12px 14px; }
  .psc-security-banner__content { flex-basis: calc(100% - 50px); }
  .psc-security-banner__button { margin-left: 39px; }
}

/* News overview and article pages. */
.news-page h1, .news-article h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.news-feed-link { font-size: 1rem; white-space: nowrap; }
.news-list { display: grid; gap: 1.5rem; max-width: 900px; }
.news-item { display: grid; gap: 1.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5e7eb; }
.news-item.has-image { grid-template-columns: minmax(0, 220px) 1fr; align-items: start; }
.news-item__image { width: 100%; height: auto; border-radius: 6px; }
.news-item__date { display: block; font-size: .875rem; color: #6b7280; margin-bottom: .25rem; }
.news-item__title { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.news-item__title a { color: inherit; text-decoration: none; }
.news-item__title a:hover { color: #c2410c; }
.news-item__teaser { margin-bottom: .5rem; color: #374151; }
.news-item__more { font-weight: 600; text-decoration: none; }
.news-pager { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.news-article .container { max-width: 860px; }
.news-article__crumbs a { color: #6b7280; }
.news-article__image { margin: 1.5rem 0 2rem; }
.news-article__image img { width: 100%; height: auto; border-radius: 8px; }
.news-article__body { font-size: 1.05rem; line-height: 1.7; }
.news-article__body h2 { font-size: 1.5rem; margin-top: 2rem; }
.news-article__body h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.news-article__body blockquote { border-left: 4px solid #f59e0b; padding-left: 1rem; color: #4b5563; }
.news-article__body a { color: #9a3412; text-decoration: underline; }
@media (max-width: 575px) {
  .news-item.has-image { grid-template-columns: 1fr; }
}
