body.lgl-agency-body {
  background: #ffffff;
  color: #111;
}

.lgl-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 118px 24px 0;
}

.lgl-hero {
  border-radius: var(--idx-bezel-inner);
  border: 1px solid rgba(15, 15, 15, 0.08);
  background: #fff;
  color: #111;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.045);
  padding: 36px 32px;
}

.lgl-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.16;
  display: inline-block;
  padding-top: 4px;
  padding-bottom: 8px;
  overflow: visible;
}

.lgl-title .line-regular {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: #5f3d25;
}

.lgl-title .line-bold {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
  padding-bottom: 12px;
  overflow: visible;
  background: linear-gradient(120deg, #8e4315 12%, #d98a33 88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #a5511b;
}

.lgl-hero p {
  margin-top: 12px;
  color: rgba(15, 15, 15, 0.74);
  line-height: 1.72;
}

.lgl-card {
  margin-top: 16px;
  border-radius: 24px;
  border: 1px solid rgba(15, 15, 15, 0.1);
  background: #fff;
  padding: 26px;
}

.lgl-section + .lgl-section {
  margin-top: 22px;
}

.lgl-section h2 {
  font-size: 1.42rem;
  margin-bottom: 10px;
  color: #111;
  border-left: 3px solid #c4570a;
  padding-left: 10px;
}

.lgl-section p {
  color: rgba(15, 15, 15, 0.74);
  line-height: 1.75;
}

.lgl-section ul {
  margin-top: 8px;
  margin-left: 18px;
  display: grid;
  gap: 8px;
}

.lgl-section li {
  color: rgba(15, 15, 15, 0.74);
  line-height: 1.7;
}

.lgl-section a {
  color: #c4570a;
  text-decoration: none;
}

.lgl-section a:hover {
  text-decoration: underline;
}

.lgl-updated {
  margin-top: 20px;
  border-top: 1px dashed rgba(15, 15, 15, 0.2);
  padding-top: 14px;
  color: rgba(15, 15, 15, 0.6);
}

@media (max-width: 900px) {
  .lgl-shell {
    width: calc(100% - 16px);
    padding-top: 118px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 700px) {
  .lgl-shell {
    width: calc(100% - 12px);
  }

  .lgl-hero {
    padding: 30px 18px;
  }

  .lgl-card {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .lgl-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .lgl-title {
    line-height: 1.12;
  }

  .lgl-card {
    padding: 18px;
  }

  .lgl-section h2 {
    font-size: 1.16rem;
  }
}

@media (max-width: 420px) {
  .lgl-hero {
    padding: 26px 14px;
  }

  .lgl-card {
    padding: 14px;
    border-radius: 16px;
  }
}
