/* Minimal Pairs instructions page. Same column and styles as the other LearnHip 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 a.lh-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 10px 14px;
  border: 2px solid #1875d0; border-radius: 8px; background: #fff; color: #1875d0; font-weight: 700; line-height: 1.2; text-decoration: none; }
.lh-maker a.lh-secondary:hover,
.lh-maker a.lh-secondary:focus { background: #e7f1fb; color: #135ba2; text-decoration: none; }

.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-steps + p { margin-top: 14px; }
.lh-maker .lh-tips a { font-weight: 700; }

.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; }

/* Phonetic symbols need a font with IPA glyphs */
.lh-maker .mp-ipa,
.lh-maker .mp-sample i { font-family: "Segoe UI", "Lucida Sans Unicode", "Arial Unicode MS", Helvetica, Arial, sans-serif; font-style: normal; }

.lh-maker .mp-a { color: #0072e5; }
.lh-maker .mp-b { color: #e07800; }

/* Sample board */
.lh-maker .mp-sample { margin: 24px 0 0; }
.lh-maker .mp-sample-board { padding: 24px 18px 26px; border-radius: 12px; border: 1px solid #dbe7f4; text-align: center;
  background: radial-gradient(rgba(0, 110, 220, 0.09) 1.3px, transparent 1.5px) 0 0 / 22px 22px, linear-gradient(180deg, #e3f0ff, #f4f9ff 70%);
  font-family: Helvetica, Arial, sans-serif; }
.lh-maker .mp-sample-play { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
  background: #0080ff; color: #fff; box-shadow: 0 4px 0 #0062c4; }
.lh-maker .mp-sample-play svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lh-maker .mp-sample-play svg path:first-child { fill: currentColor; }
.lh-maker .mp-sample-board p { margin: 12px 0 0; color: #6c7a8a; font-weight: 700; }
.lh-maker .mp-sample-cards { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.lh-maker .mp-sample-cards span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 150px; padding: 18px 8px 14px;
  border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 2px #dfe7f0, 0 4px 0 #dfe7f0; }
.lh-maker .mp-sample-cards span::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 4px; border-radius: 0 0 4px 4px; background: #0080ff; }
.lh-maker .mp-sample-cards .mp-card-b::before { background: #ff8a00; }
.lh-maker .mp-sample-cards b { color: #1d2b3d; font-size: 30px; line-height: 1; }
.lh-maker .mp-card-a i { color: #0072e5; }
.lh-maker .mp-card-b i { color: #e07800; }

/* Pair list */
.lh-maker .mp-group { margin: 22px 0 2px; font-size: 18px; font-weight: 700; }
.lh-maker .mp-group-note { margin: 0 0 10px; color: #5b6774; font-size: 15px; }
.lh-maker .mp-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.lh-maker .mp-pairs li { margin: 0; border: 1px solid #e2eaf2; border-radius: 10px; background: #fff; }
.lh-maker .mp-pairs li:hover { border-color: #bcd3ec; background: #f6faff; }
.lh-maker a.mp-pair { display: flex; flex-direction: column; min-width: 0; padding: 9px 14px; color: #212529; text-decoration: none; }
.lh-maker a.mp-pair:hover { text-decoration: none; }
.lh-maker .mp-pair .mp-ipa { font-size: 19px; font-weight: 700; line-height: 1.2; }
.lh-maker .mp-pair .mp-keys { color: #5b6774; font-size: 14px; }
.lh-maker .mp-links { display: flex; gap: 6px; flex-shrink: 0; }
.lh-maker .mp-links a { padding: 5px 10px; border-radius: 6px; background: #e7f1fb; color: #135ba2; font-size: 14px; font-weight: 700; text-decoration: none; }
.lh-maker .mp-links a:hover { background: #1875d0; color: #fff; }

@media (max-width: 767px) { .lh-maker .lh-ad-desktop { display: none; } }
@media (max-width: 600px) {
  .lh-maker a.mp-pair { padding: 8px 10px; }
  .lh-maker a.lh-secondary,
  .lh-maker a.lh-primary { width: 100%; }
  .lh-maker .mp-sample-cards span { width: 130px; }
}
