*{
  box-sizing: border-box;
}
body{
  margin: 0px;
  padding: 0px;
}
.top-grid{
  width:1300px;
  height: 100px;
  display: grid;
  padding-left: 30px;
  grid-template-rows:50px 50px;
  grid-template-columns:245px 1fr;
  justify-content:center;
  grid-template-areas:"logo  h1"
                      "H-A-C h1";
  padding-top:10px;
  padding-bottom: 20px;
}
.logo{
  grid-area: logo;
  margin-top:10px ;
  padding-left: 40px;
}
.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.h1{
  grid-area: h1;
  padding-right:50px;
  font-style: italic;
  color: darkblue;
}
.H-A-C{
  grid-area: H-A-C;
  padding-left:20px;
  display:flex;
  justify-content:left;
  gap: 5px;
}
.H-A-C .Home-link{ 
  display: block;
  padding: 2px 10px;
  margin-top: 20px;
  margin-left: 15px;
  border-radius:6px;
  background-color: green;
}
.H-A-C .Home-link a {
  color: white;
  text-decoration: none; 
}
.H-A-C .Home-link:hover{
  opacity: 0.3;
}
.H-A-C .Contact-link{
  display: block;
  padding: 2px 10px;
  border-radius:6px;
  margin-top: 20px;
  background-color: red;
}
.H-A-C .Contact-link a {
  color: white;
  text-decoration: none; 
}
.H-A-C .Contact-link:hover{
  opacity: 0.3;
}

.About-Us{
  width:1300px;
  height: auto;
  display: grid;
  grid-template-rows:50px 450px 30px;
  grid-template-columns:600px 1fr;
  justify-content:center;
  grid-template-areas:"Paljet-T Paljet-T"
                      "Paljet-P Paljet-I"
                      "Privacy     Uen  ";
  padding-top:0px;
  padding-bottom: 20px;
}
.About-Us .Paljet-T{
  grid-area: Paljet-T;
  display:block;
  margin-top: 20px;
  padding-top: 5px;
  text-align: center;
  background-color:grey;
  color: white;
}
.About-Us .Paljet-P{
  grid-area: Paljet-P;
  width: 100%;
  height: auto;
  padding: 40px;
  text-align: center;
}
.About-Us .Paljet-I{
  grid-area: Paljet-I;
}
.About-Us .Paljet-I h2 {
  text-align: center;
}
.About-Us .Paljet-I p {
  text-align: left;
}
.About-Us .Privacy {
  grid-area: Privacy;
  text-align: center;
  background-color: #0000ff;
  color:#fff;
}
.About-Us .Privacy a {
  color: #ffffff;
}
.About-Us .Privacy a:hover {
  color: #ffffff;
  text-decoration: none;
}
.About-Us .Uen {
  grid-area: Uen;
  text-align: left;
  padding-top: 5px;
  background-color: #000fff;
  font-size: 8px;
  line-height: 1.3;
  color: #ffffff;
}

/* ========== 手机端 767px及以下 ========== */
@media screen and (max-width:767px) {
  /* 头部 top-grid 手机改为单列 */
  .top-grid{
    width:100%;
    height:auto;
    padding-left:15px;
    padding-right:15px;
    grid-template-columns: 1fr;
    grid-template-rows:auto auto auto;
    grid-template-areas:
      "logo"
      "h1"
      "H-A-C";
  }
  .logo{
    margin-top:0;
  }
  .h1{
    padding-right:0;
  }
  .h1 h1{
    font-size:20px;
    margin:0;
  }
  .H-A-C{
    flex-wrap: wrap;
  }

  /* About-Us 网格：手机全部垂直堆叠 */
  .About-Us{
    width:100%;
    padding:0 15px;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto auto auto;
    grid-template-areas:
      "Paljet-T"
      "Paljet-P"
      "Paljet-I"
      "Privacy"
      "Uen";
  }
  .About-Us .Paljet-T{
    margin-top:15px;
    padding:10px;
  }
  .About-Us .Paljet-P{
    padding:20px;
  }
  .About-Us .Paljet-I{
    padding:0 10px;
  }
  .About-Us .Uen {
    font-size:9px;
    padding:8px 10px;
  }
}