/* News article detail page — follows the shared MOTOMA inner-page system. */
.article-detail-page {
  --article-red: #bf0008;
  --article-ink: #151a1d;
  --article-muted: #727b7f;
  --article-line: #e2e6e8;
  background: #f3f5f6;
}

.article-detail-page .inner-hero {
  min-height: clamp(430px, 56vh, 585px);
  background-position: center 55%;
}

.article-detail-page .breadcrumb {
  max-width: 1120px;
}

.article-detail-main {
  position: relative;
  z-index: 12;
  padding: 30px 0 110px;
}

.article-detail-grid {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 24px;
  width: min(1120px, 100%);
  margin-inline: auto;
  align-items: start;
}

.article-tools {
  position: sticky;
  top: calc(var(--nav-height) + 26px);
  z-index: 28;
}

.article-tools-toggle {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  border: 0;
  border-radius: 11px;
  background: var(--article-red);
  box-shadow: 0 12px 28px rgba(191, 0, 8, .25);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.article-tools-toggle:hover { transform: translateY(-2px); background: #960007; }
.article-tools-toggle span {
  position: relative;
  width: 18px;
  height: 18px;
}
.article-tools-toggle span::before,
.article-tools-toggle span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.article-tools-toggle span::after { transform: translate(-50%, -50%) rotate(90deg); }
.article-tools-toggle[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(0); }

.article-tools-panel {
  position: absolute;
  top: 62px;
  left: 0;
  display: grid;
  width: 205px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--article-line);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(10, 17, 20, .14);
}
.article-tools-panel[hidden] { display: none; }
.article-tools-panel a,
.article-tools-panel button {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #30383c;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: .77rem;
  font-weight: 700;
  cursor: pointer;
}
.article-tools-panel a:hover,
.article-tools-panel button:hover { color: var(--article-red); background: #fff4f4; }
.article-tools-panel svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.article-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 22, 25, .08);
  border-radius: 20px;
  box-shadow: 0 24px 58px rgba(12, 19, 22, .08);
}

.article-header {
  padding: clamp(28px, 4.2vw, 54px) clamp(28px, 4.8vw, 64px) 32px;
  border-bottom: 1px solid var(--article-line);
}
.article-kicker {
  margin: 0 0 10px;
  color: var(--article-red);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.article-header h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--article-ink);
  font-size: clamp(1.8rem, 3.15vw, 3rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.04em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  color: #8a9296;
  font-size: .72rem;
  font-weight: 700;
}
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.article-body {
  min-height: 510px;
  padding: clamp(36px, 5vw, 72px) clamp(28px, 4.8vw, 64px) clamp(60px, 8vw, 105px);
  color: #333b3f;
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.82;
}
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 24px; }
.article-body h2 {
  margin: 42px 0 16px;
  color: var(--article-ink);
  font-size: clamp(1.45rem, 2.35vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.article-body strong { color: #171d20; }
.article-body blockquote {
  margin: 34px 0;
  padding: 23px 26px;
  color: #3d464a;
  border-left: 3px solid var(--article-red);
  background: #f6f8f8;
}

.article-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--article-line);
}
.article-footer-nav a {
  display: grid;
  gap: 5px;
  min-height: 98px;
  align-content: center;
  padding: 20px clamp(24px, 4vw, 48px);
  color: #20282c;
}
.article-footer-nav a + a { text-align: right; border-left: 1px solid var(--article-line); }
.article-footer-nav small { color: #8a9296; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-footer-nav strong { font-size: .82rem; line-height: 1.45; }
.article-footer-nav a:hover strong { color: var(--article-red); }

.article-copy-status {
  position: fixed;
  z-index: 150;
  right: 24px;
  bottom: 90px;
  padding: 11px 15px;
  color: #fff;
  background: #171d20;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  font-size: .76rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.article-copy-status.is-visible { opacity: 1; transform: none; }

.article-detail-page .contact-band { margin-top: 0; }

@media (max-width: 760px) {
  .article-detail-main { padding-top: 18px; padding-bottom: 72px; }
  .article-detail-grid { grid-template-columns: 1fr; gap: 14px; }
  .article-tools { position: relative; top: auto; }
  .article-tools-toggle { width: 48px; height: 48px; }
  .article-tools-panel { top: 56px; }
  .article-header { padding: 28px 23px 25px; }
  .article-header h1 { font-size: clamp(1.55rem, 8vw, 2.25rem); }
  .article-body { min-height: 0; padding: 34px 23px 58px; font-size: .9rem; }
  .article-footer-nav { grid-template-columns: 1fr; }
  .article-footer-nav a + a { text-align: left; border-top: 1px solid var(--article-line); border-left: 0; }
}

@media print {
  .site-header,
  .article-tools,
  .contact-band,
  .site-footer,
  .floating-contact,
  .back-to-top { display: none !important; }
  .article-detail-main { padding: 0; }
  .article-detail-grid { display: block; }
  .article-card { border: 0; box-shadow: none; }
}
