/* Find-out-more page for tic tac toe. Same layout as the scatter sheets and board games 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 #ready-made {
  scroll-margin-top: 24px;
}

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

.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 .level-a {
  --lh-level: #2e9e5b;
  --lh-level-tint: #e8f6ee;
}

.lh-maker .level-b {
  --lh-level: #1875d0;
  --lh-level-tint: #e7f1fb;
}

.lh-maker .level-c {
  --lh-level: #7b4fc9;
  --lh-level-tint: #f3eef9;
}

.lh-maker .lh-samples {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.lh-maker a.lh-sample {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e2e6ea;
  border-top: 4px solid var(--lh-level, #1875d0);
  border-radius: 12px;
  color: #212529;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  container-type: inline-size;
}

.lh-maker a.lh-sample:hover {
  color: #212529;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(33, 37, 41, 0.12);
}

.lh-maker a.lh-sample:focus {
  outline: 2px solid var(--lh-level, #1875d0);
  outline-offset: 2px;
}

.lh-maker .lh-sample h3 {
  margin: 0 0 8px;
  color: #212529;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.lh-maker .lh-level {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--lh-level, #1875d0);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.lh-maker .lh-try {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 36px;
  margin-top: auto;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--lh-level, #1875d0);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.lh-maker .lh-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  height: 118px;
  margin: 0 0 14px;
  padding: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f6f8;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.15;
  pointer-events: none;
}

.lh-maker .lh-mini span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  overflow: hidden;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background: #fff;
  color: #212529;
  text-align: center;
}

.lh-maker .lh-mini .mx {
  border-color: #1875d0;
  background: #e8f2ff;
}

.lh-maker .lh-mini .mo {
  border-color: #c2571a;
  background: #fdf0e7;
}

.lh-maker .lh-mini .mx::before,
.lh-maker .lh-mini .mo::before {
  position: absolute;
  top: 1px;
  left: 4px;
  font-size: 10px;
  font-weight: 700;
}

.lh-maker .lh-mini .mx::before {
  content: "X";
  color: #1875d0;
}

.lh-maker .lh-mini .mo::before {
  content: "O";
  color: #c2571a;
}

.lh-maker .lh-ad {
  margin: 28px 0;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.lh-maker .lh-ad-label {
  margin: 0 0 6px;
  color: #6c757d;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.lh-maker .lh-ad .adsbygoogle {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.lh-maker .lh-ideas,
.lh-maker .lh-tips,
.lh-maker .lh-steps,
.lh-maker .lh-more ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 1.45;
}

.lh-maker .lh-ideas,
.lh-maker .lh-tips,
.lh-maker .lh-more ul {
  list-style: disc;
}

.lh-maker .lh-steps {
  list-style: decimal;
  padding-left: 1.4em;
}

.lh-maker .lh-ideas li,
.lh-maker .lh-tips li,
.lh-maker .lh-steps li,
.lh-maker .lh-more li {
  margin: 0 0 12px;
}

.lh-maker .lh-ideas li:last-child,
.lh-maker .lh-tips li:last-child,
.lh-maker .lh-steps li:last-child,
.lh-maker .lh-more li:last-child {
  margin-bottom: 0;
}

.lh-maker .lh-keys {
  margin: 12px 0 0;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.4;
}

.lh-maker .lh-collection-links,
.lh-maker .lh-ready p {
  margin: 0 0 8px;
}

.lh-maker .lh-collection-links a,
.lh-maker .lh-ready a {
  font-weight: 700;
}

.lh-maker .lh-ready h3 {
  margin: 18px 0 6px;
  color: #212529;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.lh-maker .lh-more {
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e2e6ea;
}

.lh-maker .lh-more summary {
  cursor: pointer;
  color: #212529;
  font-weight: 700;
}

.lh-maker .lh-more ul {
  margin-top: 12px;
}

.lh-maker .lh-placeholder {
  color: #6c757d;
}

@media (min-width: 768px) {
  .lh-maker .lh-samples {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lh-maker .lh-mini {
    height: 112px;
  }
}

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

@media (max-width: 480px) {
  .lh-maker a.lh-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lh-maker a.lh-sample {
    transition: none;
  }

  .lh-maker a.lh-sample:hover {
    transform: none;
  }
}
