/* /security channel (resources/views/security). Builds on the tokens and the
   hero of industries.css. Not built by laravel-mix: linked with filemtime(). */

.sn-hero { padding-top: 52px; padding-bottom: 52px; }
.sn-rss {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; color: var(--ind-cyan); font-weight: 700; text-decoration: none;
}
.sn-rss:hover { color: #fff; }

.sn-body { padding-top: 36px; padding-bottom: 72px; }
.sn-page a:focus-visible { outline: 3px solid var(--ind-blue); outline-offset: 2px; }

/* Filters */
.sn-filters { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.sn-filter-label { flex: 0 0 auto; margin: 0; min-width: 8.5em; font-size: .86rem; font-weight: 700; color: var(--ind-muted); }
.sn-filters ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sn-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 13px;
  border: 1px solid var(--ind-line); border-radius: 999px; background: #fff;
  color: var(--ind-ink); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.sn-chip span { color: var(--ind-muted); font-size: .8rem; font-weight: 500; }
.sn-chip:hover { border-color: var(--ind-blue); color: var(--ind-navy); text-decoration: none; }
.sn-chip[aria-current="page"] { background: var(--ind-navy); border-color: var(--ind-navy); color: #fff; }
.sn-chip[aria-current="page"] span { color: rgba(255, 255, 255, .75); }

/* List + sidebar */
.sn-layout { margin-top: 36px; }
.sn-main > h2, .sn-tech-patches h2, .sn-side h2 { margin: 0 0 16px; font-size: 1.3rem; font-weight: 800; color: var(--ind-navy); }
.sn-tech-patches h2 a { color: inherit; }
.sn-list { margin: 0; padding: 0; list-style: none; }
.sn-item { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--ind-line); }
.sn-item:first-child { border-top: 0; padding-top: 4px; }
.sn-thumb { flex: 0 0 200px; display: block; }
.sn-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 8px; background: var(--ind-bg); }
.sn-item-body { min-width: 0; flex: 1; }
.sn-dates { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 4px; color: var(--ind-muted); font-size: .84rem; }
.sn-dates span { color: var(--ind-blue); font-weight: 700; }
.sn-item h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 800; line-height: 1.45; }
.sn-item h3 a { color: var(--ind-navy); text-decoration: none; }
.sn-item h3 a:hover { text-decoration: underline; }
.sn-desc { margin: 0 0 10px; color: var(--ind-muted); font-size: .92rem; line-height: 1.65; }
.sn-empty { color: var(--ind-muted); }

.sn-side { padding: 20px; border: 1px solid var(--ind-line); border-radius: 12px; background: var(--ind-bg); }
.sn-side ul { margin: 0; padding: 0; list-style: none; }
.sn-side li + li { border-top: 1px solid var(--ind-line); }
.sn-side li a { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 0; color: var(--ind-ink); text-decoration: none; }
.sn-side li a:hover .sn-side-product { text-decoration: underline; }
.sn-side-product { font-size: .9rem; font-weight: 600; }
.sn-side small { grid-column: 1 / -1; color: var(--ind-muted); font-size: .76rem; }
.sn-side-all { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--ind-navy); }
.sn-version { font-weight: 800; color: var(--ind-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (min-width: 992px) {
  .sn-layout.has-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
  .sn-layout.has-side .sn-side { position: sticky; top: 110px; }
}
@media (max-width: 991.98px) {
  .sn-side { margin-top: 28px; }
}

/* Patch table */
.sn-tech-patches { margin-top: 36px; }
.sn-table-wrap { border: 1px solid var(--ind-line); border-radius: 10px; overflow: hidden; }
.sn-table { width: 100%; margin: 0; border-collapse: collapse; font-size: .92rem; background: #fff; }
.sn-table th, .sn-table td { padding: 10px 14px; border-top: 1px solid var(--ind-line); text-align: left; vertical-align: top; }
.sn-table thead th { border-top: 0; background: var(--ind-bg); color: var(--ind-muted); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.sn-table tbody th { font-weight: 700; color: var(--ind-ink); }
.sn-tech-note, .sn-table-note { margin: 10px 0 0; color: var(--ind-muted); font-size: .85rem; }
.sn-table-note-top { margin: 24px 0 0; }

@media (max-width: 767.98px) {
  .sn-filters { display: block; }
  .sn-filter-label { margin-bottom: 6px; }
}
@media (max-width: 575.98px) {
  .sn-item { flex-direction: column; gap: 10px; }
  .sn-thumb { flex: 0 0 auto; }
  .sn-table thead { display: none; }
  .sn-table, .sn-table tbody, .sn-table tr, .sn-table th, .sn-table td { display: block; }
  .sn-table tr { padding: 10px 14px; border-top: 1px solid var(--ind-line); }
  .sn-table tr:first-child { border-top: 0; }
  .sn-table th, .sn-table td { padding: 2px 0; border: 0; }
  .sn-table td { display: flex; justify-content: space-between; gap: 16px; }
  .sn-table td::before { content: attr(data-label); color: var(--ind-muted); font-size: .84rem; font-weight: 400; }
}

/* Call to action */
.sn-cta { padding: 52px 0; background: var(--ind-bg); text-align: center; }
.sn-cta h2 { margin: 0 0 10px; font-size: 1.4rem; font-weight: 800; color: var(--ind-navy); }
.sn-cta p { margin: 0 auto 20px; max-width: 40em; color: var(--ind-muted); }
.sn-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Also on articles in the channel: tags, the notice that a story has moved
   on, and the story's timeline. Literal colours: article pages do not load
   industries.css, which defines the tokens used above. */
.sn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.sn-tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: #eef2f7; color: #1f2937; font-size: .78rem; font-weight: 600; text-decoration: none;
}
.sn-tag:hover { background: #e0e7ef; color: #1a2a6c; text-decoration: none; }
.sn-tag-kind { background: #1a2a6c; color: #fff; }
.sn-tag-kind:hover { background: #0f1b4d; color: #fff; }
.sn-kind-incident { background: #b4372c; }
.sn-kind-incident:hover { background: #952c23; }
.sn-kind-update { background: #0b7fae; }
.sn-kind-update:hover { background: #09688f; }
.sn-kind-end-of-support { background: #8a5a00; }
.sn-kind-end-of-support:hover { background: #6f4800; }
.sn-story-notice {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
  margin: 14px 0 0; padding: 10px 14px; border-left: 4px solid #5cf4ff; border-radius: 4px;
  background: #e7f6fc; color: #1f2937; font-size: .92rem; font-weight: 600;
}
.sn-story-notice a { color: #0b5f85; text-decoration: underline; }
.sn-story { margin-top: 2.5em; padding: 20px 22px; border: 1px solid #e3e9ef; border-radius: 10px; background: #f4f8fb; }
.sn-story-title { margin: 0 0 10px; font-weight: 800; color: #1a2a6c; }
.sn-story ol { margin: 0; padding: 0; list-style: none; }
.sn-story li { display: flex; flex-wrap: wrap; gap: 2px 14px; padding: 6px 0; font-size: .95rem; }
.sn-story time { flex: 0 0 auto; color: #5b6472; font-size: .88rem; }
.sn-story em { font-style: normal; color: #5b6472; font-size: .86rem; }
