/* ==========================================================================
   HOW-TO-POST-TO-FACEBOOK-AND-INSTAGRAM-AT-THE-SAME-TIME.CSS
   Educational article page. Loaded AFTER style.css on this page ONLY.
   Reuses the same brand tokens as facebook-instagram-scheduler.css (kept
   as its own copy so this page never depends on another page's stylesheet
   scope). Prioritizes a single comfortable reading column over the
   section-by-section conversion rhythm used on the Scheduler landing page.
   ========================================================================== */

:root {
  --art-bg:          #0e0d0c;
  --art-surface-1:   #17140f;
  --art-paper:       #f5f1e8;
  --art-paper-ink:   #211c14;
  --art-paper-ink-dim: #4a4336;
  --art-ink:         #ede9df;
  --art-ink-dim:     #b4ada0;
  --art-ink-mute:    #837b6c;
  --art-border:      rgba(237, 233, 223, 0.10);
  --art-gold:        #c6963f;
  --art-gold-soft:   rgba(198, 150, 63, 0.14);
  --art-cyan:        #00E5FF;
  --art-display:     'Fraunces', Georgia, serif;
  --art-mono:        'IBM Plex Mono', monospace;
  --art-radius:      10px;
  --art-ease:        cubic-bezier(.4, 0, .2, 1);
  --art-shadow:      0 30px 70px rgba(0, 0, 0, 0.4);
}

.art-main { background: var(--art-bg); }

/* ---- Hero (dark, short — reading starts right after) ---- */
.art-hero {
  padding: clamp(4rem, 8vw, 6rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.art-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--art-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--art-gold);
  margin-bottom: 1.1rem;
}
.art-eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; display: inline-block; }
.art-hero h1 {
  font-family: var(--art-display); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.22;
  letter-spacing: -0.01em; color: var(--art-ink);
  max-width: 760px; margin: 0 auto 1.1rem;
}
.art-hero-lead {
  font-family: 'Inter', sans-serif; font-size: 1.08rem; line-height: 1.75;
  color: var(--art-ink-dim); max-width: 620px; margin: 0 auto;
}

/* ---- Reading surface (bright paper, single comfortable column) ---- */
.art-body-wrap { background: var(--art-paper); }
.art-body {
  max-width: 700px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
  color: var(--art-paper-ink);
}
.art-body h2 {
  font-family: var(--art-display); font-weight: 500; font-size: 1.5rem;
  line-height: 1.3; color: var(--art-paper-ink);
  margin: 2.6rem 0 1rem;
}
.art-body h2:first-child { margin-top: 0; }
.art-body h3 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--art-paper-ink); margin: 1.6rem 0 0.6rem;
}
.art-body p {
  font-family: 'Inter', sans-serif; font-size: 1.02rem; line-height: 1.8;
  color: var(--art-paper-ink-dim); margin: 0 0 1.2rem;
}
.art-body ul, .art-body ol {
  font-family: 'Inter', sans-serif; font-size: 1.02rem; line-height: 1.75;
  color: var(--art-paper-ink-dim); margin: 0 0 1.3rem; padding-left: 1.4rem;
}
.art-body li { margin-bottom: 0.55rem; }
.art-body li::marker { color: var(--art-gold); }
.art-body strong { color: var(--art-paper-ink); }
.art-body a {
  color: #96701f; text-decoration: underline; text-decoration-color: rgba(150, 112, 31, 0.4);
  text-underline-offset: 2px; font-weight: 600;
}
.art-body a:hover, .art-body a:focus-visible { text-decoration-color: currentColor; color: var(--art-gold); }
.art-body a:focus-visible { outline: 2px solid var(--art-cyan); outline-offset: 2px; }

.art-numbered-steps { counter-reset: art-step; list-style: none; padding-left: 0; }
.art-numbered-steps li {
  position: relative; padding-left: 2.6rem; margin-bottom: 1rem;
}
.art-numbered-steps li::before {
  counter-increment: art-step; content: counter(art-step);
  position: absolute; left: 0; top: 0.1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--art-gold-soft); color: #96701f;
  font-family: var(--art-mono); font-weight: 600; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---- FAQ (within the reading surface, simple accordion, no card wall) ---- */
.art-faq-list { margin-top: 1.5rem; }
.art-faq-item { border-bottom: 1px solid rgba(33, 28, 20, 0.12); }
.art-faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; color: var(--art-paper-ink);
}
.art-faq-q:focus-visible { outline: 2px solid var(--art-cyan); outline-offset: 2px; }
.art-faq-q .art-faq-caret { color: var(--art-gold); transition: transform 220ms var(--art-ease); flex-shrink: 0; }
.art-faq-item[data-open="true"] .art-faq-caret { transform: rotate(180deg); }
.art-faq-a { max-height: 0; overflow: hidden; transition: max-height 260ms var(--art-ease); }
.art-faq-item[data-open="true"] .art-faq-a { max-height: 220px; }
.art-faq-a p { padding-bottom: 1.1rem; margin: 0; }

/* ---- Workflow diagram (10-stage, within "Where a scheduler earns its place") ---- */
.art-workflow-heading { margin-top: 2.4rem !important; }
.art-workflow {
  list-style: none; margin: 1.6rem 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.7rem;
}
.art-workflow-step {
  display: flex; align-items: center; gap: 0.55rem;
  background: #ffffff; border: 1px solid rgba(33, 28, 20, 0.1);
  border-radius: var(--art-radius); box-shadow: 0 6px 16px rgba(33, 28, 20, 0.07);
  padding: 0.65rem 0.75rem 0.65rem 0.9rem;
}
.art-workflow-num {
  flex-shrink: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--art-gold-soft); color: #96701f;
  font-family: var(--art-mono); font-weight: 600; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.art-workflow-label {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.88rem;
  color: var(--art-paper-ink); white-space: nowrap;
}
.art-workflow-arrow {
  display: inline-flex; align-items: center; color: var(--art-cyan);
  font-size: 1.05rem; flex-shrink: 0; margin-left: 0.15rem;
}
.art-workflow-note {
  font-size: 0.9rem !important; color: var(--art-paper-ink-dim);
  font-style: italic;
}

@media (max-width: 680px) {
  .art-workflow { flex-direction: column; align-items: stretch; }
  .art-workflow-step { width: 100%; justify-content: space-between; }
  .art-workflow-arrow { transform: rotate(90deg); }
}

/* ---- Related-reading bridge to the Scheduler page ---- */
.art-related {
  margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(33, 28, 20, 0.12);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--art-paper-ink-dim);
}

/* ---- Final CTA (dark) ---- */
.art-cta {
  background: var(--art-bg); text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.art-cta h2 {
  font-family: var(--art-display); font-weight: 500; font-size: 1.6rem;
  color: var(--art-ink); margin: 0 0 0.8rem;
}
.art-cta p {
  font-family: 'Inter', sans-serif; font-size: 1rem; line-height: 1.7;
  color: var(--art-ink-dim); max-width: 560px; margin: 0 auto 1.6rem;
}

/* ---- Article figures (supplied images) ----
   Large, full-reading-column figures — readability of the image content
   takes priority over wrapping text beside them. Centered breaks in the
   article flow, not small side-floated thumbnails. */
.art-figure {
  float: none;
  margin: 2.2rem auto;
  max-width: 100%;
  width: 100%;
  border: 1px solid rgba(33, 28, 20, 0.1);
  border-radius: var(--art-radius);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(33, 28, 20, 0.14);
  background: #ffffff;
}
.art-figure img {
  display: block; width: 100%; height: auto;
}
.art-figure--right, .art-figure--left { float: none; margin: 2.2rem auto; }
.art-clear { clear: both; }

@media (max-width: 680px) {
  .art-figure {
    margin: 1.8rem auto; width: 100%;
  }
}

/* ---- Responsive ---- */
@media (max-width: 560px) {
  .art-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .art-body h2 { font-size: 1.32rem; }
}
