:root {
  --bs: hsl(207, 78%, 31%);
  --bs-dk: hsl(207, 60%, 18%);
  --bs-lt: hsl(207, 50%, 92%);
  --ac: hsl(27, 72%, 38%);
  --ac-lt: hsl(27, 70%, 88%);
  --bg: hsl(36, 45%, 95%);
  --pn: hsl(38, 55%, 98%);
  --ink: hsl(207, 30%, 16%);
  --mut: hsl(207, 14%, 34%);
  --rl: hsl(30, 22%, 74%);
  --ff: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--ff);
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
}

h2 {
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
}

h3 {
  font-size: 1.1rem;
  font-weight: bold;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--bs);
}

a:hover,
a:focus {
  color: var(--ac);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wr {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

.tb {
  background: var(--pn);
  border-bottom: 1px solid var(--rl);
}

.tb .wr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.lg {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.lg img {
  width: 40px;
  height: 40px;
}

.nv {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.nv a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.nv a:hover,
.nv a:focus,
.nv a[aria-current] {
  border-bottom-color: var(--ac);
  color: var(--ac);
}

.sc {
  padding: 44px 0;
  border-bottom: 1px solid var(--rl);
}

.kk {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ac);
  margin-bottom: 8px;
}

.ld {
  color: var(--mut);
  max-width: 62ch;
}

.hx {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--rl);
  background: var(--pn);
  border-radius: 0 28px 0 0;
  overflow: hidden;
}

.hx-t {
  padding: 32px 28px;
  border-right: 1px solid var(--rl);
}

.hx-i {
  display: grid;
  grid-template-rows: auto 1fr;
}

.hx-i img {
  width: 100%;
  border-bottom: 1px solid var(--rl);
}

.hx-i .ph {
  object-fit: cover;
  height: 100%;
  min-height: 160px;
  border-bottom: 0;
}

.bt {
  display: inline-block;
  padding: 10px 20px;
  background: var(--ac);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--ac);
  border-radius: 0 12px 0 12px;
}

.bt:hover,
.bt:focus {
  background: var(--bs-dk);
  border-color: var(--bs-dk);
  color: #fff;
}

.bt.ol {
  background: transparent;
  color: var(--bs);
  border-color: var(--bs);
  margin-left: 8px;
}

.bt.ol:hover,
.bt.ol:focus {
  background: var(--bs);
  color: #fff;
}

.gd {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  border-top: 1px solid var(--rl);
  border-left: 1px solid var(--rl);
  margin-top: 20px;
}

.pn {
  background: var(--pn);
  color: var(--ink);
  padding: 22px 20px;
  border-right: 1px solid var(--rl);
  border-bottom: 1px solid var(--rl);
}

.pn p {
  margin: 0;
  color: var(--mut);
  font-size: 0.95rem;
}

.pn .nm {
  font-size: 0.8rem;
  color: var(--ac);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 6px;
}

.sp {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border: 1px solid var(--rl);
  background: var(--pn);
  margin-top: 20px;
}

.sp > * {
  padding: 24px 22px;
}

.sp > * + * {
  border-left: 1px solid var(--rl);
}

.sp .ph {
  padding: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.dk {
  background: var(--bs-dk);
  color: var(--bs-lt);
  border-bottom: 0;
}

.dk h2 {
  color: #fff;
}

.dk .kk {
  color: var(--ac-lt);
}

.dk .ld {
  color: var(--bs-lt);
}

.dk .gd {
  border-color: hsl(207, 30%, 40%);
}

.dk .pn {
  background: var(--pn);
  color: var(--ink);
  border-color: hsl(207, 30%, 40%);
}

.dk .pn h3 {
  color: var(--bs);
}

.dk .pn p {
  color: var(--mut);
}

.dk .pn:first-child {
  border-radius: 18px 0 0 0;
}

.ls {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ls li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rl);
}

.ls li:last-child {
  border-bottom: 0;
}

.st {
  counter-reset: st;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border: 1px solid var(--rl);
  background: var(--pn);
}

.st li {
  counter-increment: st;
  display: grid;
  grid-template-columns: 56px 1fr;
  border-bottom: 1px solid var(--rl);
}

.st li:last-child {
  border-bottom: 0;
}

.st li::before {
  content: counter(st, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--rl);
  color: var(--ac);
  font-size: 1.1rem;
}

.st div {
  padding: 14px 18px;
}

.st p {
  margin: 0;
  color: var(--mut);
  font-size: 0.95rem;
}

.ct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--rl);
  background: var(--pn);
  margin-top: 20px;
  border-radius: 0 0 28px 0;
  overflow: hidden;
}

.ct > div {
  padding: 24px 22px;
}

.ct .mp {
  border-left: 1px solid var(--rl);
  padding: 0;
  background: var(--bg);
}

.ct .mp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dl {
  margin: 0 0 18px;
}

.dl dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ac);
}

.dl dd {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

.tx {
  max-width: 72ch;
  background: var(--pn);
  border: 1px solid var(--rl);
  padding: 28px 24px;
  margin-top: 20px;
}

.tx h2 {
  font-size: 1.25rem;
  margin-top: 1.4em;
  padding-top: 1em;
  border-top: 1px solid var(--rl);
}

.tx h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.ft {
  padding: 22px 0 30px;
  font-size: 0.88rem;
  color: var(--mut);
  background: var(--pn);
  border-top: 1px solid var(--rl);
}

.ft .wr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.ft p {
  margin: 0;
}

@media (max-width: 760px) {
  .hx,
  .sp,
  .ct {
    grid-template-columns: 1fr;
  }

  .hx-t {
    border-right: 0;
    border-bottom: 1px solid var(--rl);
    padding: 24px 18px;
  }

  .sp > * + * {
    border-left: 0;
    border-top: 1px solid var(--rl);
  }

  .ct .mp {
    border-left: 0;
    border-top: 1px solid var(--rl);
  }

  .sc {
    padding: 32px 0;
  }

  .bt.ol {
    margin-left: 0;
    margin-top: 8px;
  }
}
