:root {
  --question-ink: #071d35;
  --question-muted: #607184;
  --question-line: #dce4ea;
  --question-soft: #f2f6f8;
  --question-orange: #ed7d3a;
}

.questions-page {
  background: #f7f9fa;
}

.questions-page .site-header {
  position: sticky;
}

.questions-page .main-nav a[aria-current="page"] {
  color: var(--orange);
}

.questions-breadcrumb {
  padding: 17px 0;
  color: #718091;
  font-size: 12px;
}

.questions-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.questions-breadcrumb li:not(:last-child)::after {
  margin-left: 7px;
  color: #aab4bd;
  content: "/";
}

.questions-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 88px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(3, 18, 34, 0.95), rgba(6, 34, 59, 0.76)),
    url("/assets/photos/real/warehouse-assorted-cartons.jpg") center 48% / cover;
}

.questions-hero::after {
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 480px;
  height: 480px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
}

.questions-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 80px;
  align-items: end;
}

.questions-hero h1 {
  max-width: 820px;
  margin: 20px 0 22px;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.questions-hero h1 em {
  color: #ffad72;
  font-style: normal;
}

.questions-hero__lead {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.9;
}

.questions-hero__stat {
  padding: 30px;
  background: rgba(4, 24, 43, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.questions-hero__stat strong {
  display: block;
  color: #ffad72;
  font-family: Georgia, serif;
  font-size: 58px;
  line-height: 1;
}

.questions-hero__stat span {
  display: block;
  margin-top: 9px;
  font-size: 15px;
  font-weight: 700;
}

.questions-hero__stat p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.questions-directory {
  padding: 86px 0 104px;
}

.question-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 42px;
}

.question-category-nav a {
  padding: 10px 15px;
  color: var(--question-ink);
  background: #fff;
  border: 1px solid var(--question-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.question-category-nav a:hover,
.question-category-nav a:focus-visible {
  color: #fff;
  background: var(--question-ink);
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.question-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--question-line);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(7, 29, 53, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.question-card:hover {
  box-shadow: 0 20px 50px rgba(7, 29, 53, 0.09);
  transform: translateY(-4px);
}

.question-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #748394;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.question-card__meta span:first-child {
  color: var(--question-orange);
  font-weight: 800;
}

.question-card h2 {
  margin: 27px 0 13px;
  color: var(--question-ink);
  font-size: 23px;
  line-height: 1.35;
}

.question-card p {
  margin: 0;
  color: var(--question-muted);
  font-size: 14px;
  line-height: 1.8;
}

.question-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 26px;
  color: var(--question-ink);
  border-top: 1px solid #e7ecef;
  font-size: 13px;
  font-weight: 800;
}

.questions-method {
  padding: 82px 0;
  color: #fff;
  background: var(--question-ink);
}

.questions-method__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.questions-method h2 {
  margin: 17px 0;
  font-size: 38px;
  line-height: 1.2;
}

.questions-method p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
}

.questions-method ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.questions-method li {
  min-height: 145px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.questions-method li strong {
  display: block;
  margin-bottom: 10px;
  color: #ffad72;
  font-size: 15px;
}

.questions-method li span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.question-article-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 80px;
  color: #fff;
  background: var(--question-ink);
}

.question-article-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: 64px;
  align-items: center;
}

.question-article-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffad72;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.question-article-hero__tag::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--question-orange);
}

.question-article-hero h1 {
  max-width: 820px;
  margin: 20px 0 24px;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.question-article-hero__summary {
  max-width: 750px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.9;
}

.question-article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.question-article-hero figure {
  position: relative;
  height: 430px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.question-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.question-article-hero figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 36px 20px 17px;
  color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(transparent, rgba(3, 18, 34, 0.88));
  font-size: 11px;
}

.question-article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 62px;
  align-items: start;
  padding: 74px 0 100px;
}

.question-article {
  min-width: 0;
}

.direct-answer {
  margin-bottom: 42px;
  padding: 28px 30px;
  background: #fff7f1;
  border: 1px solid #f1d3bd;
  border-left: 5px solid var(--question-orange);
  border-radius: 12px;
}

.direct-answer small {
  display: block;
  margin-bottom: 8px;
  color: #ba5b24;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.direct-answer p {
  margin: 0;
  color: #26394a;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.85;
}

.question-article h2 {
  margin: 52px 0 18px;
  color: var(--question-ink);
  font-size: 31px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.question-article h3 {
  margin: 30px 0 12px;
  color: #1e3448;
  font-size: 20px;
  line-height: 1.45;
}

.question-article p,
.question-article li {
  color: #43566a;
  font-size: 16px;
  line-height: 1.95;
}

.question-article p {
  margin: 0 0 18px;
}

.question-article ul,
.question-article ol {
  margin: 18px 0 26px;
  padding-left: 24px;
}

.question-article li + li {
  margin-top: 8px;
}

.question-article a:not(.button) {
  color: #116c9f;
  text-decoration: underline;
  text-decoration-color: rgba(17, 108, 159, 0.28);
  text-underline-offset: 3px;
}

.question-table-wrap {
  margin: 24px 0 34px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--question-line);
  border-radius: 14px;
}

.question-table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
}

.question-table th,
.question-table td {
  padding: 15px 17px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5ebef;
}

.question-table th {
  color: #fff;
  background: #0b2c4a;
  font-size: 13px;
}

.question-table td {
  color: #43566a;
  font-size: 14px;
  line-height: 1.7;
}

.question-table tr:last-child td {
  border-bottom: 0;
}

.question-formula {
  margin: 26px 0;
  padding: 24px 26px;
  color: #fff;
  background: linear-gradient(130deg, #0a2a47, #123d63);
  border-radius: 14px;
}

.question-formula strong {
  display: block;
  margin-bottom: 7px;
  color: #ffad72;
  font-size: 14px;
}

.question-formula code {
  color: #fff;
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
}

.question-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 34px;
  padding: 0 !important;
  list-style: none;
}

.question-checklist li {
  position: relative;
  margin: 0 !important;
  padding: 16px 17px 16px 44px;
  background: #fff;
  border: 1px solid var(--question-line);
  border-radius: 11px;
  font-size: 14px;
  line-height: 1.65;
}

.question-checklist li::before {
  position: absolute;
  top: 16px;
  left: 17px;
  display: grid;
  width: 20px;
  height: 20px;
  color: #fff;
  content: "✓";
  background: #1a826a;
  border-radius: 50%;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.question-note {
  margin: 28px 0;
  padding: 20px 22px;
  color: #536477;
  background: var(--question-soft);
  border: 1px solid var(--question-line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.8;
}

.question-note strong {
  color: var(--question-ink);
}

.question-faq {
  margin-top: 55px;
  padding-top: 8px;
  border-top: 1px solid var(--question-line);
}

.question-faq details {
  background: #fff;
  border-bottom: 1px solid var(--question-line);
}

.question-faq summary {
  padding: 20px 4px;
  color: var(--question-ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.question-faq details p {
  padding: 0 4px 21px;
  font-size: 14px;
}

.question-sources {
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid var(--question-line);
}

.question-sources h2 {
  margin-top: 0;
  font-size: 22px;
}

.question-sources li,
.question-sources p {
  font-size: 13px;
  line-height: 1.75;
}

.question-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.question-sidebar__card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--question-line);
  border-radius: 14px;
}

.question-sidebar__card small {
  display: block;
  margin-bottom: 10px;
  color: var(--question-orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.question-sidebar__card h2 {
  margin: 0 0 11px;
  color: var(--question-ink);
  font-size: 20px;
  line-height: 1.4;
}

.question-sidebar__card p {
  margin: 0 0 17px;
  color: var(--question-muted);
  font-size: 13px;
  line-height: 1.75;
}

.question-sidebar__card .button {
  width: 100%;
  min-height: 44px;
  padding: 0 15px;
  font-size: 13px;
}

.question-sidebar__links {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-sidebar__links a {
  display: block;
  padding: 11px 0;
  color: #274057;
  border-bottom: 1px solid #e7ecef;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.question-sidebar__links li:last-child a {
  border-bottom: 0;
}

.question-related {
  padding: 76px 0 88px;
  background: #eef3f5;
}

.question-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.question-related__grid a {
  display: block;
  min-height: 150px;
  padding: 24px;
  color: var(--question-ink);
  background: #fff;
  border: 1px solid var(--question-line);
  border-radius: 13px;
}

.question-related__grid small {
  display: block;
  margin-bottom: 14px;
  color: var(--question-orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.question-related__grid strong {
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .questions-hero__inner,
  .question-article-hero__inner,
  .question-article-wrap,
  .questions-method__grid {
    grid-template-columns: 1fr;
  }

  .questions-hero__inner,
  .question-article-hero__inner {
    gap: 38px;
  }

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

  .question-article-hero figure {
    height: 390px;
  }

  .question-article-wrap {
    gap: 45px;
  }

  .question-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .questions-breadcrumb {
    padding: 13px 0;
  }

  .questions-hero {
    padding: 62px 0 66px;
  }

  .questions-hero h1 {
    font-size: 43px;
  }

  .questions-hero__lead {
    font-size: 15px;
  }

  .questions-directory {
    padding: 62px 0 74px;
  }

  .questions-grid,
  .questions-method ol,
  .question-checklist,
  .question-related__grid,
  .question-sidebar {
    grid-template-columns: 1fr;
  }

  .question-card {
    min-height: 275px;
  }

  .question-article-hero {
    padding: 54px 0 58px;
  }

  .question-article-hero h1 {
    font-size: 38px;
  }

  .question-article-hero figure {
    height: 310px;
  }

  .question-article-wrap {
    padding: 54px 0 76px;
  }

  .direct-answer {
    padding: 23px 22px;
  }

  .direct-answer p {
    font-size: 16px;
  }

  .question-article h2 {
    font-size: 27px;
  }

  .question-article p,
  .question-article li {
    font-size: 15px;
  }

  .question-related {
    padding: 58px 0 68px;
  }
}
