.portfolio-container {
  padding-right: 0 !important;
}
.pf-section {
  margin-bottom: 54px;
}
.pf-section:last-child {
  margin-bottom: 20px;
}
.pf-section-title {
  margin: 0 0 20px !important;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(0,0,0,0.09);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #909090;
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.pf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}
.pf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.11);
}
.pf-card:hover .pf-cover img {
  transform: scale(1.045);
}
.pf-card.is-featured {
  grid-column: span 2;
}
.pf-card.pf-reveal {
  opacity: 0;
  transform: translateY(14px);
}
.pf-card.pf-reveal.is-in {
  opacity: 1;
  transform: none;
}
.pf-cover {
  position: relative;
  padding-bottom: 56.25%;
  background: #f2f2f2;
  overflow: hidden;
}
.pf-cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.pf-cover-fallback {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b4b4b4;
}
.pf-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(12,12,12,0.78);
  border-radius: 3px;
  padding: 4px 9px;
  pointer-events: none;
}
.pf-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.pf-zoom:focus-visible {
  outline: 2px solid #0085a1;
  outline-offset: -4px;
}
.pf-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.pf-title {
  margin: 0 0 6px !important;
  font-size: 18px;
  font-weight: 600;
  color: #404040;
}
.pf-summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #909090;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pf-tags {
  list-style: none;
  padding: 0;
  margin: 12px 0 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pf-tags li {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #909090;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 3px;
  padding: 3px 7px;
}
.pf-links {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(0,0,0,0.09);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pf-link {
  font-size: 13.5px;
  color: #0085a1 !important;
  text-decoration: none !important;
  border: 1px solid rgba(0,133,161,0.35);
  border-radius: 4px;
  padding: 5px 11px;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.pf-link:hover {
  background: #0085a1;
  color: #fff !important;
}
.pf-gallery {
  column-count: 3;
  column-gap: 18px;
  margin-top: 4px;
}
.pf-shot {
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 18px;
  display: inline-block;
  width: 100%;
}
.pf-shot-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 4px;
  overflow: hidden;
  background: #f7f7f7;
  cursor: zoom-in;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.pf-shot-btn:hover {
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.pf-shot-btn:focus-visible {
  outline: 2px solid #0085a1;
  outline-offset: 2px;
}
.pf-shot-btn img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.pf-shot figcaption {
  font-size: 13px;
  color: #909090;
  padding: 7px 2px 0;
}
.pf-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pf-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0,0,0,0.09);
  transition: background-color 0.16s ease;
}
.pf-row:hover {
  background: rgba(0,0,0,0.018);
}
.pf-row-thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 48px;
  border-radius: 3px;
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-row-thumb img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}
.pf-row-thumb.is-empty {
  background: transparent;
  border: 1px dashed rgba(0,0,0,0.11);
}
.pf-row-text {
  flex: 1 1 auto;
  min-width: 0;
}
.pf-row-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: #404040;
}
.pf-row-summary {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #909090;
  margin-top: 2px;
}
.pf-row-links {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
}
.pf-row-links a {
  font-size: 13px;
  color: #0085a1 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.pf-row-links a:hover {
  text-decoration: underline !important;
}
.pf-prose h1,
.pf-prose h2 {
  margin: 0 0 20px !important;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(0,0,0,0.09);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #909090;
}
.pf-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background: rgba(12,12,12,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pf-lightbox.is-open {
  display: flex;
}
.pf-lightbox.is-visible {
  opacity: 1;
}
.pf-lb-stage {
  margin: 0;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pf-lb-stage img {
  max-width: 92vw;
  max-height: 80vh;
  margin: 0;
  object-fit: contain;
  border-radius: 3px;
}
.pf-lb-stage figcaption {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
  min-height: 20px;
}
.pf-lb-close,
.pf-lb-nav {
  position: absolute;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
  transition: color 0.18s ease;
}
.pf-lb-close:hover,
.pf-lb-nav:hover {
  color: #fff;
}
.pf-lb-close:focus-visible,
.pf-lb-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.pf-lb-close {
  top: 14px;
  right: 22px;
  font-size: 40px;
  line-height: 1;
}
.pf-lb-nav {
  top: 50%;
  margin-top: -28px;
  font-size: 56px;
  line-height: 1;
  padding: 0 18px;
}
.pf-lb-nav.is-prev {
  left: 4px;
}
.pf-lb-nav.is-next {
  right: 4px;
}
.pf-lb-nav[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .pf-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pf-gallery {
    column-count: 2;
    column-gap: 12px;
  }
  .pf-shot {
    margin-bottom: 12px;
  }
  .pf-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .pf-row-links {
    flex-basis: 100%;
    padding-left: 96px;
  }
  .pf-card.is-featured {
    grid-column: span 1;
  }
  .pf-filter {
    gap: 6px;
  }
  .pf-chip {
    font-size: 13px;
    padding: 8px 13px;
  }
  .pf-lb-nav {
    font-size: 40px;
    padding: 0 10px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .pf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pf-gallery {
    column-count: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-card,
  .pf-cover img,
  .pf-lightbox {
    transition: none !important;
  }
  .pf-card:hover {
    transform: none;
  }
  .pf-card.pf-reveal {
    opacity: 1;
    transform: none;
  }
}
