/* Word Ladders instructions page. Same column and styles as the Directions Town and role play index pages. */

.lh-maker { max-width: 760px; margin: 0 auto; color: #212529; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.45; }
.lh-maker h1 { margin: 0; padding: 8px 0 4px; font-size: 30px; line-height: 1.2; text-align: left; color: #212529; }
.lh-maker .lh-intro { margin: 4px 0 20px; line-height: 1.45; }
.lh-maker .lh-cta { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lh-maker .lh-cta-end { margin-top: 24px; }

.lh-maker a.lh-primary { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 200px; min-height: 48px;
  margin: 0; padding: 12px 16px; border: none; border-radius: 8px; background: #1875d0; color: #fff; font-weight: 700; line-height: 1.2;
  text-align: center; text-decoration: none; box-shadow: none; }
.lh-maker a.lh-primary:hover,
.lh-maker a.lh-primary:focus { background: #135ba2; color: #fff; text-decoration: none; }
.lh-maker a.lh-primary:focus { outline: 2px solid #1875d0; outline-offset: 2px; }

.lh-maker h2 { margin: 28px 0 12px; color: #212529; font-size: 22px; font-weight: 700; letter-spacing: 0; }

.lh-maker .lh-steps,
.lh-maker .lh-ideas,
.lh-maker .lh-tips { margin: 0; padding-left: 1.3em; font-size: 16px; line-height: 1.45; }
.lh-maker .lh-ideas,
.lh-maker .lh-tips { list-style: disc; }
.lh-maker .lh-steps { list-style: decimal; }
.lh-maker .lh-steps li,
.lh-maker .lh-ideas li,
.lh-maker .lh-tips li { margin: 0 0 12px; }
.lh-maker .lh-steps li:last-child,
.lh-maker .lh-ideas li:last-child,
.lh-maker .lh-tips li:last-child { margin-bottom: 0; }
.lh-maker .lh-tips + p { margin-top: 14px; }

.lh-maker .lh-ad { margin: 28px 0; max-width: 100%; overflow: hidden; text-align: center; }
.lh-maker .lh-ad .adsbygoogle { margin-left: auto; margin-right: auto; max-width: 100%; }
.lh-maker .lh-collection-links { margin: 0 0 8px; }
.lh-maker .lh-collection-links a { font-weight: 700; }

.lh-maker code { padding: 1px 6px; border-radius: 4px; background: #f1f3f5; font-size: 14px; }

/* Sample ladder, drawn like the game */
.lh-maker .wl-sample { margin: 24px 0 0; }
.lh-maker .wl-sample-table { padding: 24px 18px 18px; border-radius: 12px; background: #f3f7fb; border: 1px solid #e2eaf2; text-align: center; }
.lh-maker .wl-sample-ladder { display: inline-flex; flex-direction: column; gap: 8px; padding: 14px 40px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 3px #0080ff, 0 6px 0 #0062c4, 0 12px 22px rgba(0,70,150,0.18);
  background-image: linear-gradient(90deg, transparent 14px, #f2b04f 14px, #f2b04f 24px, transparent 24px, transparent calc(100% - 24px), #f2b04f calc(100% - 24px), #f2b04f calc(100% - 14px), transparent calc(100% - 14px)); }
.lh-maker .wl-sample-ladder .row { display: flex; gap: 6px; }
.lh-maker .wl-sample-ladder span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px;
  background: #fff; box-shadow: inset 0 0 0 2px #cfd9e4, 0 2px 0 #cfd9e4; color: #1d2b3d; font-family: Helvetica, Arial, sans-serif; font-size: 25px; font-weight: 700; }
.lh-maker .wl-sample-ladder .start span { background: #0080ff; color: #fff; box-shadow: 0 2px 0 #0062c4; }
.lh-maker .wl-sample-ladder .end span { background: #ff8a00; color: #fff; box-shadow: 0 2px 0 #d46f00; }
.lh-maker .wl-sample-ladder span.ch { background: #1fae68; color: #fff; box-shadow: 0 2px 0 #168a51; }
.lh-maker .wl-sample-table p { margin: 14px 0 0; color: #6b6458; font-size: 15px; }

@media (max-width: 767px) { .lh-maker .lh-ad-desktop { display: none; } }
@media (max-width: 560px) {
  .lh-maker a.lh-primary { width: 100%; }
}
