/* SYZ Rod Ends News Post Template */

.syz-news-template {
  --news-slate: var(--slate, #1c2b3a);
  --news-slate-mid: var(--slate-mid, #2d4257);
  --news-steel: var(--steel, #1a6fa8);
  --news-steel-light: var(--steel-lt, #e8f2f9);
  --news-red: var(--red, #c0392b);
  --news-red-dark: var(--red-dark, #9b2d23);
  --news-ink: var(--ink, #2d3e50);
  --news-mid: var(--mid, #607080);
  --news-line: var(--line, #d0dce8);
  --news-bg: var(--bg-alt, #f4f7fa);
  --news-white: var(--white, #fff);
  color: var(--news-ink);
  background: var(--news-white);
}

.syz-news-template a {
  color: inherit;
}

.syz-news-wrap {
  width: min(100% - 80px, var(--max-w, 1380px));
  margin: 0 auto;
}

.syz-news-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 0;
  height: 3px;
  background: var(--news-steel);
}

.syz-news-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 0;
  background: var(--news-slate);
}

.syz-news-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.syz-news-hero .syz-news-wrap {
  position: relative;
  z-index: 1;
}

.syz-news-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255,255,255,.58);
  font-size: .8rem;
}

.syz-news-breadcrumb a {
  color: rgba(255,255,255,.58);
  text-decoration: none;
}

.syz-news-breadcrumb a:hover {
  color: rgba(255,255,255,.9);
}

.syz-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.58);
  font-size: .82rem;
}

.syz-news-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 3px;
  background: var(--news-steel);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.syz-news-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
}

.syz-news-title {
  max-width: 920px;
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--f-head, "Barlow Condensed", sans-serif);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .01em;
}

.syz-news-subtitle {
  max-width: 760px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.syz-news-cover {
  height: clamp(260px, 36vw, 480px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--news-slate-mid);
}

.syz-news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.syz-news-layout {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 330px;
  gap: 0 48px;
  align-items: start;
  padding: 56px 0 64px;
}

.syz-news-article {
  min-width: 0;
}

.syz-news-summary {
  margin-bottom: 40px;
  padding: 26px 30px;
  border-left: 4px solid var(--news-steel);
  border-radius: 0 8px 8px 0;
  background: var(--news-steel-light);
}

.syz-news-summary h2 {
  margin: 0 0 10px;
  color: var(--news-steel);
  font-family: var(--f-head, "Barlow Condensed", sans-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.syz-news-summary p {
  margin: 0;
  color: var(--news-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.syz-news-content [id] {
  scroll-margin-top: 110px;
}

.syz-news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--news-line);
}

.syz-news-tags-label {
  margin-right: 4px;
  color: var(--news-mid);
  font-size: .82rem;
  font-weight: 700;
}

.syz-news-tags a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--news-bg);
  color: var(--news-mid);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.syz-news-tags a:hover {
  background: var(--news-steel-light);
  color: var(--news-steel);
}

.syz-news-share-col {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.syz-news-share-label {
  margin-bottom: 6px;
  color: var(--news-mid);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.syz-news-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--news-line);
  border-radius: 50%;
  background: #fff;
  color: var(--news-mid);
  cursor: pointer;
  transition: all .2s;
}

.syz-news-share-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.syz-news-share-btn:hover {
  border-color: var(--news-steel);
  background: var(--news-steel-light);
  color: var(--news-steel);
}

.syz-news-sidebar {
  position: sticky;
  top: 92px;
}

.syz-news-widget {
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--news-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(28,43,58,.06);
}

.syz-news-widget-header,
.syz-news-widget-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--news-line);
  background: var(--news-bg);
  color: var(--news-ink);
  font-family: var(--f-head, "Barlow Condensed", sans-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.syz-news-widget-header button {
  border: 0;
  background: transparent !important;
  color: var(--news-mid);
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.syz-news-widget-header button:hover,
.syz-news-widget-header button:focus {
  background: transparent !important;
  color: var(--news-steel);
  outline: 0;
  box-shadow: none;
}

.syz-news-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px 16px;
}

.syz-news-toc-list a {
  padding: 8px 0 8px 12px;
  border-left: 2px solid transparent;
  color: var(--news-mid);
  font-size: .84rem;
  line-height: 1.4;
  text-decoration: none;
}

.syz-news-toc-list a:hover,
.syz-news-toc-list a.active {
  border-left-color: var(--news-steel);
  color: var(--news-steel);
}

.syz-news-toc-list a[data-depth="3"] {
  padding-left: 24px;
  font-size: .78rem;
}

.syz-news-subscribe {
  padding: 22px;
  border: 0;
  background: linear-gradient(135deg, var(--news-slate), var(--news-slate-mid));
  color: #fff;
}

.syz-news-subscribe h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--f-head, "Barlow Condensed", sans-serif);
  font-size: 1.35rem;
}

.syz-news-subscribe p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  line-height: 1.65;
}

.syz-news-sidebar-subscribe-form {
  display: grid;
  gap: 10px;
}

.syz-news-sidebar-subscribe-form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r, 6px);
  outline: none;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: var(--f-body, "Inter", sans-serif);
  font-size: .82rem;
  transition: all .2s;
}

.syz-news-sidebar-subscribe-form input[type="email"]::placeholder {
  color: rgba(255,255,255,.35);
}

.syz-news-sidebar-subscribe-form input[type="email"]:focus {
  border-color: var(--news-steel);
  background: rgba(255,255,255,.12);
}

.syz-news-sidebar-subscribe-form .syz-news-btn {
  width: 100%;
}

.syz-news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.syz-news-btn-red {
  background: var(--news-red);
  color: #fff;
}

.syz-news-btn-red:hover {
  background: var(--news-red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.syz-news-series-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.syz-news-series-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
  color: var(--news-ink);
  text-decoration: none;
  transition: all .2s var(--ease, cubic-bezier(.25,.46,.45,.94));
}

.syz-news-series-card:hover {
  transform: translateX(3px);
}

.syz-news-series-card img {
  grid-row: span 2;
  width: 72px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--news-bg);
}

.syz-news-series-card span {
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: capitalize;
}

.syz-news-series-card strong {
  color: var(--news-steel);
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.syz-news-all-spec {
  display: block;
  margin: 0 16px 16px;
  padding: 12px;
  border-radius: 4px;
  background: var(--news-bg);
  color: var(--news-steel);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .2s;
}

.syz-news-all-spec:hover {
  background: var(--news-steel-light);
  color: var(--news-steel);
  text-decoration: underline;
}

.syz-news-catalog {
  padding: 60px 0 70px;
  background: var(--news-bg);
}

.syz-news-section-head {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.syz-news-section-head p {
  margin: 0 0 6px;
  color: var(--news-steel);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.syz-news-section-head h2 {
  margin: 0;
  color: var(--news-ink);
  font-family: var(--f-head, "Barlow Condensed", sans-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.syz-news-section-head a {
  color: var(--news-steel);
  font-size: .84rem;
  font-weight: 900;
  text-decoration: none;
}

.syz-news-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.syz-news-cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--news-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28,43,58,.06);
}

.syz-news-cat-image {
  display: block;
  aspect-ratio: 4 / 3;
  background: #fff;
}

.syz-news-cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.syz-news-cat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.syz-news-cat-body h3 {
  margin: 0 0 10px;
  color: var(--news-ink);
  font-family: var(--f-head, "Barlow Condensed", sans-serif);
  font-size: 1.25rem;
  text-transform: capitalize;
}

.syz-news-cat-body h3 a {
  text-decoration: none;
}

.syz-news-cat-body p {
  flex: 1;
  margin: 0 0 14px;
  color: var(--news-mid);
  font-size: .86rem;
  line-height: 1.6;
}

.syz-news-cat-link {
  margin-top: auto;
  color: var(--news-red);
  font-size: .8rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.syz-news-bulletins {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: var(--news-slate);
  color: #fff;
  text-align: center;
}

.syz-news-bulletins::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 48px 48px;
}

.syz-news-bulletins .syz-news-wrap {
  position: relative;
  z-index: 1;
}

.syz-news-bulletins h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--f-head, "Barlow Condensed", sans-serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.syz-news-bulletins p {
  max-width: 660px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  line-height: 1.6;
}

.syz-news-bulletins-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.syz-news-bulletins-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r, 6px);
  outline: none;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-family: var(--f-body, "Inter", sans-serif);
  font-size: .88rem;
  transition: all .2s;
}

.syz-news-bulletins-form input[type="email"]::placeholder {
  color: rgba(255,255,255,.35);
}

.syz-news-bulletins-form input[type="email"]:focus {
  border-color: var(--news-steel);
  background: rgba(255,255,255,.12);
}

.syz-news-bulletins-form .syz-news-btn {
  padding: 12px 28px;
  font-size: .85rem;
}

@media (max-width: 1100px) {
  .syz-news-layout {
    grid-template-columns: 1fr;
  }

  .syz-news-share-col {
    position: static;
    flex-direction: row;
    justify-content: flex-start;
    margin-bottom: 24px;
  }

  .syz-news-share-label {
    margin: 0 8px 0 0;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .syz-news-sidebar {
    position: static;
  }

  .syz-news-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .syz-news-wrap {
    width: min(100% - 36px, var(--max-w, 1380px));
  }

  .syz-news-hero {
    padding-top: 34px;
  }

  .syz-news-layout {
    gap: 32px;
    padding: 38px 0 48px;
  }

  .syz-news-bulletins-form {
    flex-direction: column;
  }

  .syz-news-summary {
    padding: 22px;
  }

  .syz-news-section-head {
    display: block;
  }

  .syz-news-section-head a {
    display: inline-flex;
    margin-top: 12px;
  }

  .syz-news-catalog-grid {
    grid-template-columns: 1fr;
  }
}
