/* WPadmin.AI how-it-works page styles */

.jump-link {
      appearance: none;
      background: transparent;
      border: 0;
      cursor: pointer;
      display: flex;
      font-family: inherit;
      margin-left: auto;
      margin-right: auto;
      padding: 0;
      text-align: center;
      width: max-content;
      max-width: 100%;
    }

.jump-link:hover,
.jump-link:focus-visible {
      color: var(--orange-dark);
      text-decoration: underline;
      text-underline-offset: 4px;
      outline: none;
    }

.how-it-works {
      background: var(--white);
      padding: 82px 5%;
    }

.how-it-works .section-title,
.how-it-works .section-sub {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

.how-it-works .section-sub {
      max-width: 760px;
      margin-bottom: 54px;
    }

.how-it-works .hiw-steps {
      display: grid;
      gap: 64px;
      max-width: 1040px;
      margin: 0 auto;
    }

.how-it-works .hiw-step {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
      gap: 38px;
      align-items: center;
    }

.how-it-works .hiw-step-info {
      display: grid;
      grid-template-columns: 46px minmax(0, 1fr);
      gap: 14px 16px;
      align-items: center;
    }

.how-it-works .hiw-step-num {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: var(--orange);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      box-shadow: 0 8px 18px rgba(255,87,34,0.24);
    }

.how-it-works .hiw-step-info h3 {
      font-size: 1.65rem;
      line-height: 1.2;
      font-weight: 800;
    }

.how-it-works .hiw-step-info p {
      grid-column: 1 / -1;
      color: var(--gray);
      font-size: 1.04rem;
    }

.how-it-works .hiw-step-img {
      background: var(--gray-light);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }

.how-it-works .hiw-step-img img {
      display: block;
      width: 100%;
      height: auto;
    }

.workflow-callout,
.task-examples,
.related-guides,
.sync-note,
.workflow-faq {
      padding: 76px 5%;
    }

.workflow-callout,
.related-guides,
.workflow-faq {
      background: var(--gray-light);
    }

.callout-box {
      max-width: 900px;
      margin: 0 auto;
      background: white;
      border: 1px solid var(--border);
      border-left: 6px solid var(--orange);
      border-radius: 8px;
      box-shadow: var(--shadow);
      padding: 34px;
    }

.callout-box h2,
.sync-note h2,
.workflow-faq h2 {
      font-size: clamp(1.7rem, 3vw, 2.4rem);
      line-height: 1.15;
      margin-bottom: 14px;
      font-weight: 800;
    }

.callout-box p,
.sync-note p {
      color: var(--gray);
      font-size: 1.12rem;
      max-width: 760px;
    }

.examples-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      margin-top: 34px;
    }

.example-card {
      position: relative;
      background: white;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 18px;
      min-height: 112px;
      display: flex;
      align-items: center;
      color: var(--dark);
      box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    }

.examples-toggle { display: none; }

.guide-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      margin-top: 34px;
      max-width: 820px;
      margin-left: auto;
      margin-right: auto;
    }

.guide-card {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: white;
      color: var(--dark);
      text-decoration: none;
      box-shadow: 0 8px 22px rgba(0,0,0,0.06);
      transition: transform 0.2s, box-shadow 0.2s;
    }

.guide-card:hover,
.guide-card:focus-visible {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
      outline: none;
    }

.guide-card img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      display: block;
      background: var(--gray-light);
    }

.guide-card-body {
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex: 1;
    }

.guide-card-kicker {
      color: var(--orange);
      font-size: 0.78rem;
      font-weight: 800;
      text-transform: uppercase;
    }

.guide-card h3 {
      font-size: 1.05rem;
      line-height: 1.3;
      font-weight: 800;
    }

.guide-card p {
      color: var(--gray);
      font-size: 0.92rem;
      line-height: 1.55;
    }

.sync-note {
      background: var(--dark);
      color: white;
      text-align: center;
    }

.sync-note p {
      color: #d1d5db;
      margin: 0 auto;
    }

.workflow-faq-list {
      max-width: 860px;
      margin: 34px auto 0;
      display: grid;
      gap: 14px;
    }

@media (max-width: 900px) {
      .how-it-works .hiw-step { grid-template-columns: 1fr; }
      .how-it-works .hiw-step:nth-child(even) .hiw-step-info { order: 1; }
      .how-it-works .hiw-step:nth-child(even) .hiw-step-img { order: 2; }
      .examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

@media (max-width: 600px) {
      .how-it-works { padding: 58px 0; }
      .how-it-works .hiw-steps { gap: 46px; }
      .workflow-callout,
      .task-examples,
      .related-guides,
      .sync-note,
      .workflow-faq {
        padding: 54px 0;
      }
      .callout-box { padding: 24px; }
      .examples-grid {
        grid-template-columns: 1fr;
        position: relative;
      }
      .examples-grid:not(.expanded) .example-card:nth-of-type(n+4) {
        display: none;
      }
      .examples-grid:not(.expanded) .example-card:nth-of-type(3) {
        max-height: 74px;
        min-height: 74px;
        overflow: hidden;
        opacity: 0.72;
      }
      .examples-grid:not(.expanded) .example-card:nth-of-type(3)::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.92));
        pointer-events: none;
      }
      .examples-grid:not(.expanded) .examples-toggle {
        display: inline-flex;
        position: absolute;
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        z-index: 2;
        width: auto;
        padding: 8px 12px;
        border: 1px solid var(--orange);
        border-radius: 999px;
        background: white;
        color: var(--orange);
        font: inherit;
        font-size: 0.9rem;
        font-weight: 700;
        box-shadow: 0 8px 18px rgba(0,0,0,0.12);
      }
      .guide-grid { grid-template-columns: 1fr; }
      .guide-card:nth-child(n+2) { display: none; }
    }
