/* Shared styling for ScreenDuo's evergreen guides and guide cards. */
.guides-more { margin-top: 24px; padding: 24px 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.guides-more strong { display: block; font-size: 17px; letter-spacing: -.03em; }
.guides-more p { margin: 5px 0 0; color: #77737b; font-size: 14px; }
.guides-more .button { flex: 0 0 auto; }
.guide-card-plain { min-height: 265px; }
.guide-card-plain h3 { max-width: 18ch; }
.guide-card-plain p { max-width: 42ch; }
.guide-hub-header { padding-bottom: 52px; }
.guide-hub-header h1 { max-width: 760px; }
.guide-hub-header .article-dek { max-width: 620px; }
.guide-hub-grid { margin-top: 0; padding-bottom: 110px; }
.guides-section { padding-top: 0; }
.guides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 58px; }
.guide-card { min-height: 330px; padding: 32px; border-radius: 14px; background: var(--paper-warm); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.guide-card:nth-child(2) { background: #dedde8; }
.guide-card-index { color: var(--red-deep); font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.guide-card h3 { max-width: 11ch; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: .98; letter-spacing: -.065em; margin: 19px 0 13px; }
.guide-card p { max-width: 34ch; color: #77747b; font-size: 14px; line-height: 1.45; }
.guide-card .button { margin-top: auto; align-self: flex-start; }
.guide-card-with-shot { min-height: 490px; }
.guide-card-with-shot h3 { max-width: 17ch; }
.guide-card-shot { display: flex; align-items: center; justify-content: center; height: 150px; margin: 8px 0 20px; overflow: hidden; border-radius: 12px; background: #24232b; }
.guide-card-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.guide-card:first-child .guide-card-shot img { object-position: center 20%; }
.article-page { background: var(--paper); }
.article-shell { width: min(calc(100% - 48px), 980px); margin: 0 auto; }
.article-header { padding: 72px 0 62px; border-bottom: 1px solid var(--line); }
.article-breadcrumb { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-breadcrumb span { color: var(--red-deep); }
.article-header h1 { max-width: 850px; font-size: clamp(3.1rem, 7vw, 6.8rem); line-height: .93; letter-spacing: -.078em; margin: 24px 0 25px; }
.article-dek { max-width: 690px; color: #65616a; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.48; margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.article-meta strong { color: var(--ink); }
.article-content { display: grid; grid-template-columns: 180px minmax(0, 680px); gap: 62px; align-items: start; padding: 70px 0 120px; }
.article-aside { position: sticky; top: 28px; display: grid; gap: 13px; color: #77737b; font-size: 12px; }
.article-aside strong { color: var(--ink); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.article-aside a { border-left: 2px solid var(--line); padding-left: 12px; transition: color .2s ease, border-color .2s ease; }
.article-aside a:hover { color: var(--ink); border-left-color: var(--red); }
.article-body { max-width: 680px; }
.article-body > p, .article-body li { color: #35323a; font-size: 17px; line-height: 1.72; }
.article-body > p { margin-bottom: 25px; }
.article-body a { color: var(--red-deep); text-decoration: underline; text-decoration-color: rgba(204,68,57,.35); text-underline-offset: 3px; }
.article-body h2 { font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.055em; margin: 66px 0 18px; scroll-margin-top: 28px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.25rem; letter-spacing: -.035em; margin: 34px 0 10px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 29px; }
.article-body li { padding-left: 5px; margin-bottom: 9px; }
.article-body strong { color: var(--ink); }
.article-body blockquote { margin: 36px 0; padding: 24px 28px; border-left: 3px solid var(--red); background: var(--paper-warm); color: #4f4b54; font-size: 18px; line-height: 1.55; }
.article-callout { margin: 37px 0; padding: 28px 31px; border-radius: 14px; background: var(--ink); color: #f8f5ef; }
.article-callout p { color: #d5d0d8; font-size: 16px; line-height: 1.6; margin: 0; }
.article-callout p + p { margin-top: 13px; }
.article-callout strong { color: #fff; }
.article-note { margin: 29px 0; padding: 19px 21px; border: 1px solid var(--line); border-radius: 10px; color: #69646c; font-size: 14px; line-height: 1.55; }
.article-note strong { color: var(--ink); }
.article-steps { counter-reset: guide-step; list-style: none; padding-left: 0 !important; }
.article-steps li { counter-increment: guide-step; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 13px 0 15px; border-top: 1px solid var(--line); }
.article-steps li::before { content: counter(guide-step, decimal-leading-zero); color: var(--red-deep); font-size: 11px; font-weight: 700; letter-spacing: .08em; padding-top: 4px; }
.article-cta { margin-top: 72px; padding: 36px; border-radius: 16px; background: linear-gradient(135deg, #25242b, #17161b); color: #f8f5ef; position: relative; overflow: hidden; }
.article-cta::after { content: ''; position: absolute; width: 300px; height: 190px; right: -100px; bottom: -105px; border: 1px solid rgba(250,96,79,.45); border-radius: 50%; box-shadow: 0 0 0 22px rgba(250,96,79,.08), 0 0 0 44px rgba(250,96,79,.05); }
.article-cta > * { position: relative; z-index: 1; }
.article-cta h2 { font-size: 2.15rem; color: #fff; margin: 0 0 12px; }
.article-cta p { max-width: 40ch; color: #bdb7c0; font-size: 15px; line-height: 1.55; }
.article-cta .button { margin-top: 8px; }
.article-sources { margin-top: 58px; padding-top: 19px; border-top: 1px solid var(--line); color: #77737b; font-size: 12px; line-height: 1.55; }
.article-sources strong { color: var(--ink); }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 80px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }
.article-nav a { color: #68636c; }
.article-nav a:hover { color: var(--ink); }
.article-site-footer { margin-top: 0; }
@media (max-width: 820px) {
  .article-content { grid-template-columns: 1fr; gap: 28px; padding-top: 50px; }
  .article-aside { position: static; display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .article-aside strong { width: 100%; }
  .article-aside a { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .guides-grid { grid-template-columns: 1fr; margin-top: 43px; }
  .guides-more { display: grid; padding: 23px 0 0; }
  .guide-card { min-height: 340px; padding: 26px; }
  .guide-card-with-shot { min-height: 0; }
  .guide-card-shot { height: 170px; }
  .article-shell { width: min(calc(100% - 32px), 980px); }
  .article-header { padding: 55px 0 46px; }
  .article-header h1 { font-size: clamp(2.75rem, 14vw, 4.8rem); }
  .article-dek { font-size: 1.05rem; }
  .article-body > p, .article-body li { font-size: 16px; }
  .article-body h2 { margin-top: 52px; }
  .article-callout, .article-cta { padding: 25px 22px; }
  .article-nav { display: grid; }
}
