/.site-branding a,
.site-branding a:hover,
.site-branding a:focus,
.site-branding a:active {
    color: #000;
}
/
/* â”€â”€ HOMEPAGE TEASER BANNER â”€â”€ */
.sw-portfolio-teaser {
  padding: 60px 20px;
  text-align: center;
  font-family: inherit;
}

.sw-portfolio-teaser h2 {
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #2c2c2c;
}

.sw-portfolio-teaser p.teaser-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

.sw-teaser-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto 36px;
}

.sw-teaser-card {
  flex: 0 0 240px;
  max-width: 240px;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.sw-teaser-card:hover .sw-teaser-img {
  transform: scale(1.05);
}

.sw-teaser-card:hover .sw-teaser-overlay {
  opacity: 1;
}

.sw-teaser-img-wrap {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  background: #f5f0eb;
}

.sw-teaser-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sw-teaser-overlay {
  position: absolute;
  inset: 0;
  background: rgba(80, 56, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sw-teaser-overlay span {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.85);
  padding: 8px 18px;
  border-radius: 2px;
}

.sw-teaser-label {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
}

.sw-teaser-cta {
  display: inline-block;
  margin-top: 4px;
  padding: 13px 38px;
  background: transparent;
  border: 2px solid #2c2c2c;
  color: #2c2c2c;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}

.sw-teaser-cta:hover {
  background: #2c2c2c;
  color: #fff;
}

/* â”€â”€ PORTFOLIO PAGE â”€â”€ */
.sw-portfolio-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 80px;
  font-family: inherit;
}

.sw-portfolio-page h1 {
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
  color: #2c2c2c;
}

.sw-portfolio-intro {
  text-align: center;
  color: #666;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Filter bar */
.sw-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.sw-filter-btn {
  background: transparent;
  border: 1.5px solid #b0a090;
  color: #555;
  padding: 8px 22px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  font-family: inherit;
}

.sw-filter-btn:hover,
.sw-filter-btn.active {
  background: #4a3728;
  border-color: #4a3728;
  color: #fff;
}

/* â”€â”€ PORTFOLIO GRID: 4 columns â”€â”€ */
.sw-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.sw-portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #f5f0eb;
  cursor: pointer;
  width: 100%;
  min-width: 0;
}

/* Force the image wrap to always be square regardless of theme interference */
.sw-portfolio-item-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100% !important;
  overflow: hidden;
}

.sw-portfolio-item-img-wrap img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.sw-portfolio-item.hidden {
  display: none;
}

.sw-portfolio-item.visible {
  animation: swFadeIn 0.35s ease forwards;
}

@keyframes swFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sw-portfolio-item img {
  transition: transform 0.4s ease;
  display: block;
}

.sw-portfolio-item:hover img {
  transform: scale(1.06);
}

.sw-portfolio-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(44,28,18,0.78));
  padding: 28px 12px 12px;
  opacity: 0;
  transition: opacity 0.3s;
}

.sw-portfolio-item:hover .sw-portfolio-item-info {
  opacity: 1;
}

.sw-portfolio-item-info p {
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Tag pills shown on hover */
.sw-portfolio-item-info .sw-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sw-portfolio-item-info .sw-tag {
  display: inline-block;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.2);
  color: #f0e8df;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* Lightbox */
.sw-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sw-lightbox.open {
  display: flex;
}

.sw-lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  animation: swFadeIn 0.25s ease;
}

.sw-lightbox-inner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 3px;
}

.sw-lightbox-caption {
  text-align: center;
  color: #d4c4b6;
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sw-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.sw-lightbox-close:hover { opacity: 1; }

.sw-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 2px;
  transition: background 0.2s;
}

.sw-lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.sw-lightbox-prev { left: -64px; }
.sw-lightbox-next { right: -64px; }

/* â”€â”€ RESPONSIVE â”€â”€ */

/* Medium: 3 columns */
@media (max-width: 1100px) {
  .sw-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet: 2 columns */
@media (max-width: 700px) {
  .sw-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sw-teaser-grid { flex-direction: column; align-items: center; }
  .sw-teaser-card { flex: 0 0 90vw; max-width: 90vw; }
  .sw-lightbox-prev { left: 0; }
  .sw-lightbox-next { right: 0; }
}

/* Mobile: 2 columns still (thumbnails stay usable) */
@media (max-width: 480px) {
  .sw-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}