.lk-page {
  background: var(--bg);
}

html:has(.lk-page),
.lk-page,
.lk {
  overflow-x: clip;
}

.lk {
  display: block;
  color: var(--navy);
  background: var(--bg);
  min-height: 80vh;
}

.lk img {
  display: block;
}

.lk-bar {
  display: none;
}

.lk-top {
  width: 140rem;
  max-width: calc(100% - 4rem);
  margin-inline: auto;
  padding-top: 16.4rem;
}

.lk-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--navy);
}

.lk-title>span {
  display: inline-block;
  position: relative;
  padding-bottom: 1.4rem;
}

.lk-title>span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3.2rem;
  height: 2px;
  background: var(--navy);
}

.lk-sub {
  margin-top: 2.2rem;
  font-size:16px;
  line-height: 2.6rem;
  color: #64748B;
}

.lk-list {
  padding: 6.2rem 0 14rem;
}

.lk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 128rem;
  max-width: calc(100% - 4rem);
  margin-inline: auto;
  direction: rtl;
}

.lk-card {
  margin: 0 -1px -1px 0;
}

.lk-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 32rem;
  border: 1px solid #d3d9e2;
  background: transparent;
  transition: background-color .5s var(--ease), border-color .5s;
}

.lk-card__d {
  position: absolute;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #d3d8e0;
  transition: background .4s, width .4s, height .4s;
}

.lk-card__d--1 {
  top: 1.2rem;
  right: 1.2rem;
}

.lk-card__d--2 {
  top: 1.2rem;
  left: 1.2rem;
}

.lk-card__d--3 {
  bottom: 1.2rem;
  right: 1.2rem;
}

.lk-card__d--4 {
  bottom: 1.2rem;
  left: 1.2rem;
}

.lk-card__img {
  width: 10.6rem;
  height: auto;
  transition: transform .8s var(--ease);
}

.lk-card__t {
    margin-top: 2rem;
    font-size: 14px;
    line-height: 2rem;
    color: #687280;
    transition: color .4s;
    margin: 020px;
    text-align: center;
}

.lk-card__b {
  display: grid;
  place-items: center;
  width: 14.7rem;
  height: 2.8rem;
  margin-top: 2.4rem;
  border-radius: .5rem;
  background: transparent;
  transition: background .4s var(--ease), transform .4s var(--ease);
}

.lk-ic {
  width: 33px;
  height: 28px;
}

.lk-ic__a {
  stroke: var(--navy);
  transition: stroke .4s;
}

.lk-ic__b {
  stroke: var(--orange);
  transition: stroke .4s;
}

/* hover look: only where there is a real pointer (on touch screens a tapped card must not stay dark) */
@media (hover: hover) {

  .lk-card a:hover,
  .lk-card a:focus-visible {
    background: var(--navy);
    border-color: var(--navy);
  }

  .lk-card a:hover .lk-card__t {
    color: #fff;
  }

  .lk-card a:hover .lk-card__img {
    transform: translateY(-.4rem) scale(1.03);
  }

  .lk-card a:hover .lk-card__d {
    background: #fff;
  }

  .lk-card a:hover .lk-card__b {
    background: var(--orange);
  }

  .lk-card a:hover .lk-ic__a {
   stroke: #fff;
  }

  .lk-card a:hover .lk-ic__b {
      stroke: var(--navy);
   
  }
}

.lk-card a:focus-visible,
.lk-card a:active {
  background: var(--navy);
  border-color: var(--navy);
}

.lk-card a:focus-visible .lk-card__t,
.lk-card a:active .lk-card__t {
  color: #fff;
}

.lk-card a:focus-visible .lk-card__b,
.lk-card a:active .lk-card__b {
  background: var(--orange);
}

.lk-card a:focus-visible .lk-ic__b,
.lk-card a:active .lk-ic__b {
  stroke: #fff;
}

/* ---------- phone / tablet ---------- */
@media (max-width: 999.98px) {
  .lk-bar {
    display: block;
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 7.6rem;
    background: var(--navy);
    pointer-events: none;
  }

  .lk-top {
    padding-top: 15.4rem;
  }

  /* .lk-sub {
    font-size: 1.5rem;
    margin-top: 2rem;
  } */

  .lk-list {
    padding: 4.6rem 0 12rem;
  }

 .lk-grid { 
    grid-template-columns: repeat(3, 1fr);
    width: auto; 
}

  .lk-card a {
    height: 19rem;
  }

  .lk-card__img {
    width: 5.4rem;
  }

  .lk-card__t {
      font-size: 13px;
  }

  .lk-card__b {
    margin-top: 1rem;
    width: 10rem;
    height: 2.2rem;
  }

  .lk-card__d {
    width: .3rem;
    height: .3rem;
  }

  .lk-ic {
    width: 33px;
    height: 28px;
  }
  .lk-sub 
 { 
    font-size: 14px; 
    text-align: justify;
}
.lk-title {
    font-size: 20px;}
}

@media (max-width: 880px) {
 .lk-grid { 
    grid-template-columns: repeat(2, 1fr);
    
}}

@media (max-width: 550px) {
 .lk-grid { 
    grid-template-columns: repeat(1, 1fr);
    
}}
