/* Studio Sound: portfolio emphasis and homepage cards, v1.0.0 */
#page-header .nav.menu > .item-158 > a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 12px; border-radius: 7px; background: #bd3808;
  color: #fff !important; text-decoration: none; line-height: 1.4;
}
#page-header .nav.menu > .item-158 > a:hover,
#page-header .nav.menu > .item-158 > a:focus { background: #9f2d04; }
#page-header .nav.menu > .item-158 > a:focus-visible { outline: 3px solid #1677c7; outline-offset: 3px; }
#ss-home-works, #ss-home-works * { box-sizing: border-box; }
#ss-home-works { clear: both; margin: 36px 0 44px; color: #20252b; text-align: left; }
#ss-home-works .sshw-heading { margin-bottom: 22px; max-width: 840px; }
#ss-home-works .sshw-eyebrow { margin: 0 0 8px; color: #a83208; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
#ss-home-works h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.2; font-weight: 700; color: #20252b; }
#ss-home-works .sshw-heading > p:last-child { margin: 0; font-size: 16px; line-height: 1.5; color: #626b76; }
#ss-home-works .sshw-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
#ss-home-works .sshw-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e3e5e8; border-radius: 14px; overflow: hidden; background: #fff; }
#ss-home-works .sshw-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; background: #f0f1f3; color: #66707b; font-size: 22px; text-decoration: none; }
#ss-home-works .sshw-photo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; margin: 0; }
#ss-home-works .sshw-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
#ss-home-works .sshw-category { margin: 0 0 9px; color: #a83208; font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
#ss-home-works h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.3; }
#ss-home-works h3 a { color: #20252b; text-decoration: none; }
#ss-home-works h3 a:hover { color: #a83208; }
#ss-home-works .sshw-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: #626b76; }
#ss-home-works .sshw-link { align-self: flex-start; margin-top: auto; padding: 10px 0 0; color: #a83208; font-size: 14px; font-weight: 700; text-decoration: none; min-height: 44px; }
#ss-home-works .sshw-link:hover { text-decoration: underline; }
#ss-home-works .sshw-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; }
#ss-home-works .sshw-all, #ss-home-works .sshw-more { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 12px 20px; border: 1px solid #bd3808; border-radius: 8px; background: #bd3808; color: #fff; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer; }
#ss-home-works .sshw-all:hover { background: #9f2d04; border-color: #9f2d04; }
#ss-home-works .sshw-more { background: #fff; border-color: #dfe2e6; color: #303741; }
#ss-home-works .sshw-more:hover { background: #fff5ee; border-color: #bd3808; color: #a83208; }
#ss-home-works [hidden] { display: none !important; }
#ss-home-works a:focus-visible, #ss-home-works button:focus-visible { outline: 3px solid #1677c7; outline-offset: 3px; }
#ss-home-works .sshw-status { margin: 12px 0 0; color: #626b76; font-size: 14px; }
#ss-home-works .sshw-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#ss-home-works .sshw-skeleton { min-width: 0; height: 390px; border: 1px solid #e3e5e8; border-radius: 14px; background: linear-gradient(#f0f1f3 0 57%,#fff 57% 100%); }
@media(max-width:767px) {
  #ss-home-works { margin: 26px 0 32px; }
  #ss-home-works h2 { font-size: 25px; }
  #ss-home-works .sshw-heading > p:last-child { font-size: 14px; }
  #ss-home-works .sshw-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 3px 3px 14px; }
  #ss-home-works .sshw-card, #ss-home-works .sshw-skeleton { flex: 0 0 84%; scroll-snap-align: start; }
  #ss-home-works .sshw-body { padding: 16px; }
  #ss-home-works h3 { font-size: 18px; }
  #ss-home-works .sshw-actions { gap: 10px; margin-top: 16px; }
  #ss-home-works .sshw-all, #ss-home-works .sshw-more { font-size: 14px; padding: 11px 15px; }
}
/* Исправление выделения «Наши работы» */
#page-header .moduletable_menu ul.nav.menu > li.item-158 > a {
  display: block;
  width: auto;
  margin: 0;
  padding: 10px;
  line-height: normal;
  text-align: center;
  border: 0;
  border-radius: 6px;
  background: #bd3808;
  color: #fff !important;
  text-decoration: none;
}

#page-header .moduletable_menu ul.nav.menu > li.item-158 > a:hover,
#page-header .moduletable_menu ul.nav.menu > li.item-158 > a:focus {
  background: #9f2d04;
  color: #fff !important;
}