.sennheiser-container {
  container-type: inline-size;
  container-name: sennheiser-container;
  --color-black: #333;
  --color-gray: #ddd;
  --color-white: #fff;
  --color-accent: #0085bf;
}

.sennheiser-wrapper  {
  font-size: 16px;
  line-height: 1.7;
}

.sennheiser-wrapper p + p {
    margin-top:.5em;
}

.sennheiser-wrapper img {
  max-width:100%;
  height: auto;
  object-fit: contain;
  vertical-align: bottom;
}
.sennheiser-center {
    display: flex;
    justify-content: center;
}

.sennheiser-top {
  background: url(../img/bg_top.jpg?250728) 50% 89% / cover no-repeat, black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  overflow:hidden;
  margin-bottom: 30px;
  padding: 50px 34% 50px 45px;
  gap: 10px;
  color: white;
}

.sennheiser-top > div {
  font-size: clamp(16px,3.3vw,28px);
  gap: 10px;
}

.sennheiser-top > div p {
  word-break:auto-phrase;
}

.sennheiser-top > div:nth-child(1) img {
  width: 100%;
  max-width: 330px;
  padding-bottom: 5px;
}

.sennheiser-link {
  text-align:center;
}

.sennheiser-link a {
  position: relative;
  display: inline-block;
  width: 90%;
  max-width: 420px;
  margin: 2rem auto 0;
  padding: 1rem 2rem 1rem 1rem;
  background-color: var(--color-accent);
  color: var(--color-white);
}

.sennheiser-wrapper .el-heading  {
    margin: 3.5rem 0;
    padding: .75rem 1rem;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 175%;
}

.sennheiser-container .el-sub-heading {
    margin: 40px 0 30px;
    padding-left: 1rem;
    border-left: .5rem solid var(--color-accent);
    font-size: 130%;
    font-weight: bold;
    line-height: 1.5;
}

.sennheiser-container .type-heading{
  margin: 3.5rem 0 2.5rem;
  color: var(--color-accent);
  text-align: center;
  font-size: 150%;
  border:solid var(--color-accent);
  border-width:2px 0;
  padding:15px 0;
}

.sennheiser-wrapper figure {
    text-align: center;
    margin: 30px 0;
}

.sennheiser-wrapper figure img {
    max-width:600px;
    width: 100%;
}

.sennheiser-wrapper figcaption {
    display: flex;
    gap: .3em;
    justify-content: center;
    margin-top: .5em;
}

.sennheiser-wrapper figcaption:before {
    content:"<";
}

.sennheiser-wrapper figcaption:after {
    content:">";
}

.sennheiser-navi {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.sennheiser-navi > div {
    text-align:center;
}

.sennheiser-navi > div a:hover {
  color:white;
}

.sennheiser-navi > div a > p:first-child {
  background:var(--color-accent);
  color:white;
  padding:3px 0;
}

.sennheiser-navi > div a > p:last-child {
  color:black;
  line-height: 1.4;
}

.sennheiser-navi > div a:hover p:last-child {
  text-decoration:underline;
}

.sennheiser-navi > div a > img {
  margin:5px 0 10px;
}

.sennheiser-column2 {
    display: grid;
    gap:30px;
    grid-template-columns: repeat(2, 1fr);
}

.sennheiser-column2 > div {
    flex:1;
}

.sennheiser-table {
  overflow: auto;
  display: flex;
  justify-content: center;
}

.sennheiser-table table {
  table-layout: fixed;
  border-collapse:initial;
  border-top: 1px solid #cbcbcb;
  border-left: 1px solid #cbcbcb;
  margin: 1rem 0;
  max-width: 800px;
}

.sennheiser-table th,
.sennheiser-table td {
  padding: 4px 13px;
  border: solid #cbcbcb;
  border-width: 0px 1px 1px 0;
  line-height:1.4;
  text-align: center;
  vertical-align: middle;
}

.sennheiser-table th {
  background: whitesmoke;
  min-width: 120px;
}

.sennheiser-table:not(.sennheiser-table-adjust) tr:first-child th,
.sennheiser-table th[colspan] {
  background: var(--color-black);
  color: white;
}

.sennheiser-table th a {
  text-decoration: underline;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
  flex-direction: row-reverse;
  padding: 0 5px;
}

.sennheiser-table th a:hover {
  text-decoration: none;
}

.sennheiser-table th a img {
  width: 70px;
}

@container sennheiser-container (max-width: 800px) {
  .sennheiser-wrapper {
    --space:20px;
      font-size: 14px;
  }

  .sennheiser-indent {
      padding: var(--space);
  }

  .sennheiser-top > div:nth-child(1) img {
      width: 210px;
      padding-top: 5px;
      padding-bottom: 8px;
  }

  .sennheiser-top {
      padding: 20px 20px 20px 17px;
      margin-bottom: 10px;
      height: 340px;
      justify-content: flex-start;
      background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 64%), url(../img/bg_top.jpg?250728) bottom 93% right / auto 110% no-repeat, black;
  }

  .sennheiser-container .type-heading {
    font-size: 120%;
    border-width: 1px 0;
    margin: 1.5rem 0 1rem;
    padding: 10px;
    line-height: 1.4;
  }

  .sennheiser-container .type-heading + .sennheiser-indent {
    padding-top:5px;
  }

  .sennheiser-wrapper .el-heading {
      font-size: 150%;
      margin: 2rem 0 2rem 0rem;
  }


  .sennheiser-table th, .sennheiser-table td {
      font-size: 10px;
      padding: 4px 6px;
      min-width: auto;
  }

  .sennheiser-table th a, .sennheiser-table td a {
    color:#795284;
  }

  .sennheiser-navi {
      grid-template-columns: repeat(3, 1fr);
      margin: 0 0 var(--space);
  }

  .sennheiser-column2 {
      grid-template-columns: repeat(1, 1fr);
      gap: 0;
  }
  .sennheiser-wrapper figure {
      margin: 15px 0;
  }

  .sennheiser-container .el-sub-heading span {
      font-weight: bold;
  }
}

@container sennheiser-container (max-width: 500px) {
  .sennheiser-navi {
      grid-template-columns: repeat(2, 1fr);
  }
}