/* Portfolio galleries: card grid, filters, showroom band. */
.rd-portfolio-wrap {
  display: block;
  padding: 48px 0 8px !important;
  background: #f8f6f6;
}
.rd-portfolio {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  color: #1c1b1b;
  font-family: "Nunito Sans", Arial, sans-serif;
}
.rd-portfolio__crumb {
  margin: 0 0 18px;
  color: #6b6a6a;
  font-size: 14px;
}
.rd-portfolio__crumb a {
  color: #6b6a6a !important;
  text-decoration: none;
}
.rd-portfolio__crumb a:hover { color: #1c1b1b !important; }
.rd-portfolio__crumb [aria-current="page"] { color: #1c1b1b; }
body:not(.home) .rd-portfolio h1 {
  margin: 0 0 8px;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  color: #1c1b1b !important;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: none !important;
}
body:not(.home) .rd-portfolio p.rd-portfolio__lead {
  margin: 0 0 22px !important;
  max-width: 640px;
  color: #6b6a6a;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
}
body:not(.home) .rd-port-bar {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin: 0 0 18px;
  border-bottom: 1px solid #ece8e2;
}
body:not(.home) nav.rd-port-cats {
  display: flex !important;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 32px;
  margin: 0 !important;
  padding: 0;
  border: 0;
}
body:not(.home) nav.rd-port-cats a {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 0 12px;
  color: #6b6a6a !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  position: relative;
  top: 1px;
}
body:not(.home) nav.rd-port-cats a[aria-current="page"] {
  color: #1c1b1b !important;
  border-bottom-color: #faa21c;
}
body:not(.home) .rd-port-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
}
.rd-port-chips button,
.rd-port-more,
.rd-port-band__cta,
.rd-port-plan a {
  font-family: inherit;
  cursor: pointer;
}
body:not(.home) .rd-port-chips button {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin: 0 !important;
  border: 0;
  border-radius: 999px;
  background: #f8f6f6 !important;
  color: #1c1b1b !important;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.rd-port-chips button[aria-pressed="true"] {
  background: #faa21c !important;
  color: #1c1b1b !important;
}
body:not(.home):not(.error404):not(.archive):not(.page-template-offer-page) .rd-portfolio select.rd-port-loc {
  flex: 0 0 180px;
  width: 180px !important;
  min-width: 180px;
  max-width: 180px;
  height: 42px;
  min-height: 42px !important;
  margin: 0 0 8px !important;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  background: #fff !important;
  color: #1c1b1b;
  padding: 0 12px;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 40px;
}
.rd-port-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rd-port-card { display: flex; flex-direction: column; min-width: 0; }
.rd-port-card.is-extra { display: none; }
.rd-port-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f1ee;
}
body:not(.home):not(.error404):not(.archive):not(.page-template-offer-page) .rd-port-card__media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
}
.rd-port-card__video {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #1c1b1b;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}
.rd-port-card__video i {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #1c1b1b;
}
body:not(.home) .rd-portfolio p.rd-port-card__city {
  margin: 12px 0 4px !important;
  color: #6b6a6a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body:not(.home) .rd-portfolio .rd-port-card h2 {
  margin: 0 0 6px;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none !important;
}
.rd-port-card h2 a {
  color: #1c1b1b !important;
  text-decoration: none;
}
body:not(.home) .rd-portfolio p.rd-port-card__meta {
  margin: 0 0 10px !important;
  color: #6b6a6a;
  font-size: 14px;
}
.rd-port-card__more {
  margin-top: auto;
  color: #e08900 !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.rd-port-card__more:hover { text-decoration: underline; }
.rd-port-more {
  display: block;
  margin: 28px auto 8px;
  border: 1.5px solid #faa21c;
  border-radius: 999px;
  background: #fff !important;
  color: #e08900 !important;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 800;
}
.rd-port-empty {
  margin: 12px 0 24px;
  color: #6b6a6a;
}
.rd-port-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  margin: 36px 0 0;
  padding: 28px;
  border-radius: 18px;
  background: #f7f4ef !important;
}
body:not(.home) .rd-portfolio .rd-port-band h2 {
  margin: 0 0 6px;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none !important;
}
.rd-port-band p { margin: 0 0 16px; color: #6b6a6a; font-size: 16px; }
.rd-port-band__cta,
.rd-port-plan a {
  display: inline-block;
  border-radius: 10px;
  background: #faa21c !important;
  color: #1c1b1b !important;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.rd-port-band__photo {
  display: block;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
}
body:not(.home):not(.error404):not(.archive):not(.page-template-offer-page) .rd-port-band__photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.rd-port-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100vw;
  max-width: 100vw;
  margin: 36px calc(50% - 50vw) 0;
  padding: 28px max(24px, calc(50vw - 590px));
  box-sizing: border-box;
  background: #1c1b1b !important;
  color: #fff;
}
body:not(.home) .rd-portfolio .rd-port-plan h2 {
  margin: 0;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  color: #fff !important;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none !important;
}
@media (max-width: 900px) {
  .rd-port-grid { grid-template-columns: 1fr 1fr; }
  .rd-port-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body:not(.home) nav.rd-port-cats { flex: 1 1 100%; width: 100%; gap: 4px 24px; }
  body:not(.home):not(.error404):not(.archive):not(.page-template-offer-page) .rd-portfolio select.rd-port-loc {
    flex: 1 1 100%;
    width: 100% !important;
    min-width: 0;
    max-width: none;
    margin: 8px 0 12px !important;
  }
}
@media (max-width: 640px) {
  .rd-portfolio { width: min(1180px, calc(100% - 32px)); }
  .rd-port-grid { grid-template-columns: 1fr; }
  .rd-port-plan { flex-direction: column; align-items: flex-start; }
}
