.brand-selection { padding-bottom: 48px; }
.brand-selection--embedded { padding-bottom: 24px; }
.brand-selection__intro { max-width: 72ch; margin: 0 0 20px; line-height: 1.55; }
.power-supply-gallery .rb-gallery { width: 100%; }
.brand-selection__heading { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; padding: 16px 22px; background: #fff; border-radius: 10px; }
.brand-selection__logo { display: block; width: 144px; max-width: 100%; height: auto; }
.brand-selection__heading h1, .brand-selection h2, .brand-selection h3 { margin: 0; line-height: 1.25; }
.brand-selection__heading h1 { font-size: clamp(24px, 4vw, 44px); }
.brand-selection h2 { margin-bottom: 18px; font-size: clamp(23px, 3vw, 32px); }
.brand-selection h3 { font-size: 18px; font-weight: 500; }
.brand-selection__contents { margin-bottom: 24px; padding: 18px 20px; border: 1px solid #e2e6e9; border-radius: 10px; background: #fff; }
.brand-selection__contents h2 { margin-bottom: 12px; font-size: 18px; font-weight: 500; }
.brand-selection__contents ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.brand-selection__contents a { display: block; padding: 6px 8px; border-radius: 4px; color: #333; font-size: 14px; line-height: 1.35; }
.brand-selection__contents a:hover, .brand-selection__contents a:focus-visible { background: #292d32; color: #fff; text-decoration: none; }
.brand-selection__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brand-selection__group { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; padding: 20px; border: 1px solid #e2e6e9; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 400; overflow-wrap: anywhere; }
.brand-selection__group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.brand-selection__group-heading h3 { min-width: 0; }
.brand-selection__group-photo { display: block; flex: 0 0 auto; width: 96px; height: auto; }
.brand-selection__group[id] { scroll-margin-top: 100px; }
.brand-selection__group:target { border-color: #ff4f00; }
.brand-selection__group dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; width: 100%; margin: 0; }
.brand-selection__group dt, .brand-selection__details strong { font-weight: 500; }
.brand-selection__group dt { white-space: nowrap; }
.brand-selection__group dd, .brand-selection__group p { margin: 0; line-height: 1.45; }
.brand-selection__group p { color: #505d68; }
.brand-selection__details summary { cursor: pointer; }
.brand-selection__group .ui-btn { margin-top: auto; }
.brand-selection__project-detail { margin-top: 22px; padding: 18px 20px; border: 1px solid #e2e6e9; border-radius: 10px; background: #fff; }
.brand-selection__project-detail h2 { margin-bottom: 10px; font-size: 20px; }
.brand-selection__project-detail ul { margin: 0; padding-left: 20px; }
.brand-selection__project-detail li + li { margin-top: 8px; }
.brand-selection__project-detail ol { margin: 0 0 14px; padding-left: 22px; list-style: decimal; }
.analog-selection__lead p { margin: 0 0 14px; }
.engineering-category-tile__image { height: auto; }
.engineering-category-tile__image img { width: 100%; height: auto; border-radius: 6px; }
.products-categories__item-image.compact-category-tile__image {
  width: 120px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.compact-category-tile__image img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .brand-selection__group-photo { width: 78px; }
  .products-categories__item-image.compact-category-tile__image { width: 96px; }
  .brand-selection__grid { grid-template-columns: minmax(0, 1fr); }
  .brand-selection__contents { padding: 14px 12px; }
  .brand-selection__contents ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-selection__contents a { padding: 8px 4px; }
}
@media (max-width: 360px) {
  .brand-selection__contents ul { grid-template-columns: minmax(0, 1fr); }
  .brand-selection__group dl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .brand-selection__group dd:not(:last-child) { margin-bottom: 6px; }
}
