.area-theme-directory {
  padding: 95px max(30px,calc((100vw - 1100px)/2)) 105px;
  background: #f5f8f7;
}

.area-theme-directory > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 34px;
}

.area-theme-directory > header p {
  margin: 0 0 9px;
  color: var(--area-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
}

.area-theme-directory > header h2 {
  margin: 0;
  color: var(--area-navy);
  font-size: 30px;
  line-height: 1.45;
}

.area-theme-directory > header > span {
  color: #687e84;
  font-size: 11px;
  line-height: 1.9;
}

.area-theme-groups {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.area-theme-groups article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 27px;
  border-top: 4px solid var(--area-aqua);
  background: #fff;
  box-shadow: 0 12px 30px rgba(3,51,74,.08);
}

.area-theme-group-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--area-line);
}

.area-theme-group-title small {
  color: var(--area-blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.area-theme-group-title h3 {
  margin: 5px 0 0;
  color: var(--area-navy);
  font-size: 22px;
}

.area-theme-group-title > a {
  color: var(--area-blue);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.area-theme-groups nav {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.area-theme-groups nav a,
.area-theme-hotel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--area-line);
  color: var(--area-navy);
  font-size: 11px;
  font-weight: 800;
  transition: .2s;
}

.area-theme-groups nav a b {
  color: var(--area-coral);
}

.area-theme-groups nav a:hover {
  border-color: #7bcbd0;
  background: #edf8f7;
  transform: translateX(2px);
}

.area-theme-hotel {
  margin-top: auto;
  border-color: var(--area-blue);
  background: var(--area-blue);
  color: #fff;
}

.area-theme-hotel:hover {
  background: var(--area-navy);
}

@media (max-width: 900px) {
  .area-theme-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .area-theme-directory {
    padding: 70px 18px 75px;
  }

  .area-theme-directory > header {
    display: block;
  }

  .area-theme-directory > header h2 {
    font-size: 25px;
  }

  .area-theme-directory > header > span {
    display: block;
    margin-top: 12px;
  }

  .area-theme-groups article {
    padding: 23px 20px;
  }
}
