.pj-page {
  --pj-blue: #0c63a7;
  --pj-navy: #0a2740;
  --pj-line: #dce8f0;
  color: #183046;
  font-family: var(--primary-font, "Be Vietnam Pro", Arial, sans-serif);
  line-height: 1.7;
  background: #fff;
}

.pj-page * {
  box-sizing: border-box;
}

.pj-page a {
  text-decoration: none;
}

.pj-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--pj-blue);
  text-transform: uppercase;
}

.pj-list {
  padding: 0px 0 30px;
}

.pj-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pj-filters a {
  padding: 9px 19px;
  border: 1px solid var(--pj-line);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #436176;
}

.pj-filters a:hover,
.pj-filters a.is-active {
  background: var(--pj-blue);
  border-color: var(--pj-blue);
  color: #fff;
}

.pj-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.pj-list-heading h2,
.pj-related > .container > h2 {
  font-size: 28px;
  color: var(--pj-navy);
  margin: 0;
}

.pj-list-heading > span {
  font-size: 14px;
  color: #65798b;
}

.pj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pj-card {
  border: 1px solid var(--pj-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(10, 39, 64, 0.0705882353);
}

.pj-card-image {
  display: block;
  aspect-ratio: 1.6;
  background: #eaf6fd;
  overflow: hidden;
}

.pj-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.pj-card:hover img {
  transform: scale(1.03);
}

.pj-card-body {
  padding: 24px;
}

.pj-card-body h2 {
  font-size: 20px;
  line-height: 1.4;
  margin: 10px 0 12px;
  color: var(--pj-navy);
}

.pj-card-body h2 a {
  color: inherit;
}

.pj-card-body p {
  font-size: 14px;
  color: #65798b;
  line-height: 1.7;
  margin: 0 0 16px;
}

.pj-location {
  font-size: 12px;
  color: #65798b;
  margin: 0 0 14px;
}

.pj-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--pj-blue);
  display: flex;
  justify-content: space-between;
}

.pj-empty {
  grid-column: 1/-1;
  padding: 50px;
  border: 1px dashed var(--pj-line);
  border-radius: 12px;
  text-align: center;
}

.pj-pagination {
  margin-top: 36px;
}

.pj-detail {
  padding: 0px 0 30px;
}

.pj-cover {
  display: block;
  width: 100%;
  max-height: 560px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 14px;
  margin-bottom: 45px;
  background: #eaf6fd;
}

.pj-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 55px;
  align-items: start;
}

.pj-content {
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.pj-content h2,
.pj-content h3 {
  color: var(--pj-navy);
  line-height: 1.4;
  margin: 28px 0 16px;
}

.pj-content h2:first-child {
  margin-top: 0;
}

.pj-content p {
  font-size: 16px;
  line-height: 1.85;
  color: #526b7e;
}

.pj-content img {
  max-width: 100%;
  height: auto;
}

.pj-facts {
  position: sticky;
  top: 115px;
  padding: 28px;
  border: 1px solid var(--pj-line);
  border-radius: 12px;
  background: #f4f9fc;
}

.pj-facts h2 {
  font-size: 21px;
  line-height: 1.5;
  margin: 10px 0 20px;
}

.pj-facts dt {
  font-size: 12px;
  color: #65798b;
  font-weight: 500;
  margin-top: 16px;
}

.pj-facts dd {
  font-size: 14px;
  border-bottom: 1px solid var(--pj-line);
  padding-bottom: 15px;
  margin: 5px 0 0;
}

.pj-scope {
  white-space: pre-line;
}

.pj-button {
  display: block;
  text-align: center;
  background: var(--pj-blue);
  color: #fff !important;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 24px;
}

.pj-back {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--pj-blue);
  margin-top: 16px;
}

.pj-related {
  padding: 65px 0;
  background: #f4f9fc;
}

.pj-related .pj-grid {
  margin-top: 28px;
}

.pj-contact {
  padding: 55px 0;
  background: linear-gradient(120deg, #08283f, #0a5d92);
  color: #fff;
}

.pj-contact > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.pj-contact h2 {
  color: #fff;
  font-size: 28px;
  margin: 14px 0;
}

.pj-contact p {
  color: #c8dfef;
  margin: 0;
  font-size: 14px;
}

.pj-contact .container > a {
  flex-shrink: 0;
  background: white;
  color: var(--pj-navy);
  border-radius: 6px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
}

.pj-page a:focus-visible {
  outline: 3px solid #1786ce;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .pj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pj-detail-grid {
    grid-template-columns: 1fr;
  }
  .pj-facts {
    position: static;
  }
  .pj-contact > .container {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .pj-grid {
    grid-template-columns: 1fr;
  }
  .pj-list {
    padding: 35px 0 50px;
  }
  .pj-list-heading h2 {
    font-size: 23px;
  }
  .pj-list-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .pj-detail {
    padding: 30px 0 50px;
  }
  .pj-detail-grid {
    gap: 26px;
  }
  .pj-cover {
    margin-bottom: 28px;
  }
  .pj-contact h2 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pj-card,
  .pj-card-image img {
    transition: none;
  }
}
.pj-page .pj-intro {
  font-size: 17px;
  line-height: 1.8;
  color: #526b7e;
  margin: 0 0 28px;
}

.pj-contact .pj-kicker {
  color: #68c9fc;
}

.pj-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pj-gallery {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--pj-line);
}
.pj-gallery h2 {
  color: var(--pj-navy);
  font-size: 28px;
  margin: 10px 0 24px;
}

.pj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pj-gallery-grid figure {
  margin: 0;
  min-width: 0;
}
.pj-gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #eaf6fd;
}
.pj-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}
.pj-gallery-grid figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #526b7e;
  overflow-wrap: anywhere;
}
@media (max-width: 980px) {
  .pj-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .pj-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}