.pmg-news-page,
.pmg-gallery-route,
.pmg-contact-route,
.pmg-information-route {
  --content-blue: var(--pmg-blue, #194bff);
  --content-serif: var(--pmg-serif, Georgia, "Times New Roman", serif);
}

.pmg-news-page .main-cols-wrapper > .container > .row,
.pmg-information-route .main-cols-wrapper > .container > .row {
  --bs-gutter-x: clamp(2rem, 5vw, 5rem);
}

.pmg-news-page.pmg-news-detail .main-cols-wrapper {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.pmg-news-page .pmg-feature-news {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  margin-bottom: 4rem;
  background: #0b1523;
  box-shadow: none;
}

.pmg-news-page .pmg-feature-media {
  min-height: 28rem;
  background: var(--pmg-line);
}

.pmg-news-page .pmg-feature-media img {
  min-height: 28rem;
}

.pmg-news-page .pmg-feature-body {
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

.pmg-news-page .pmg-feature-body .pmg-eyebrow,
.pmg-news-page .pmg-feature-body .pmg-inline-link {
  color: #c9ff54;
}

.pmg-feature-date {
  display: block;
  margin-bottom: 1.25rem;
  color: #bdc7d2;
  font: .7rem/1.5 ui-monospace, monospace;
}

.pmg-news-page .pmg-feature-body h2,
.pmg-news-page .pmg-feature-body h2 a {
  color: #fff;
  font: 400 clamp(1.7rem, 2.4vw, 2.8rem)/1.14 var(--content-serif);
  letter-spacing: -.035em;
}

.pmg-news-page .pmg-feature-body h2 a:hover {
  color: #c9ff54;
}

.pmg-news-page .pmg-feature-body p:not(.pmg-eyebrow) {
  color: #c5ced8;
  font-size: .9rem;
  line-height: 1.65;
}

.pmg-news-page .pmg-feature-body .pmg-inline-link {
  margin-top: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #fff5;
}

.pmg-news-page .pmg-list-toolbar {
  flex-wrap: wrap;
  gap: .75rem 2rem;
  margin-bottom: 1.5rem;
}

.pmg-news-page .pmg-list-toolbar h2 {
  font: 400 clamp(2rem, 3.4vw, 3.5rem)/1.1 var(--content-serif);
  letter-spacing: -.045em;
}

.pmg-news-page .pmg-list-toolbar p {
  margin: 0;
  color: var(--pmg-muted);
  font-size: .85rem;
  overflow-wrap: anywhere;
}

.pmg-news-page .pmg-modern-list {
  gap: 0;
  border-top: 1px solid var(--pmg-ink);
}

.pmg-news-page .pmg-modern-row,
.pmg-news-page .pmg-modern-row:hover {
  padding: 1.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--pmg-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.pmg-news-page .pmg-modern-row > .row {
  flex-wrap: nowrap;
  gap: 1.75rem;
}

.pmg-news-page .pmg-modern-row > .row > .col-md-4 {
  flex: 0 0 26%;
  width: 26%;
}

.pmg-news-page .pmg-modern-row > .row > .col-md-8 {
  flex: 1;
  width: auto;
  min-width: 0;
}

.pmg-news-page .pmg-modern-row .news-row-image-wrap {
  height: auto;
  min-height: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.pmg-news-page .pmg-modern-row .news-row-image {
  min-height: 0;
  height: 100%;
}

.pmg-news-page .pmg-modern-row .news-row-body {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.pmg-news-page .news-row-title {
  font: 600 clamp(1.1rem, 1.6vw, 1.5rem)/1.3 var(--pmg-sans, Arial, sans-serif);
  letter-spacing: -.025em;
}

.pmg-news-page .news-row-date,
.pmg-news-page .sidebar-news-date {
  font: .7rem/1.5 ui-monospace, monospace;
  color: var(--pmg-muted);
}

.pmg-news-page .col-side-inner .posts-block {
  padding: 1.25rem 0 0 !important;
  border: 0;
  border-top: 1px solid var(--pmg-line);
  background: transparent;
  box-shadow: none;
}

.pmg-news-page .sidebar-news-card {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--pmg-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pmg-news-page .sidebar-news-image-wrap,
.pmg-news-page .sidebar-search {
  border-radius: 0;
}

.pmg-news-page .sidebar-news-title {
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
}

.pmg-news-page .sidebar-search button {
  color: var(--content-blue);
}

.pmg-news-page .news-row-text {
  color: var(--pmg-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.pmg-news-page .news-row-link {
  margin-top: .4rem;
  color: var(--content-blue);
  font-size: .75rem;
}

.pmg-news-page .pmg-feature-publication .pmg-feature-media,
:is(.pmg-projects-page, .pmg-erazum-page) :is(.news-row-image-wrap, .sidebar-news-image-wrap) {
  background: var(--pmg-paper);
}

.pmg-news-page .pmg-feature-publication .pmg-feature-media img,
:is(.pmg-projects-page, .pmg-erazum-page) .pmg-modern-row .news-row-image,
:is(.pmg-projects-page, .pmg-erazum-page) .sidebar-news-image {
  object-fit: contain;
}

.pmg-news-page .news-pagination {
  flex-wrap: wrap;
  gap: .4rem;
}

.pmg-news-page .news-pagination .page-link {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0;
}

.pmg-news-page .pmg-article-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pmg-news-page .pmg-article-head {
  padding: 0 0 1.5rem;
}

.pmg-news-page .pmg-article-meta {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  gap: .5rem 1.25rem;
}

.pmg-erazum-article .pmg-article-meta {
  margin-top: 0;
}

.pmg-news-page .pmg-article-meta span {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: .75rem;
  font-weight: 400;
}

.pmg-news-page .pmg-article-media {
  background: transparent;
}

.pmg-news-page .pmg-article-media img {
  height: auto;
  max-height: 42rem;
  object-fit: contain;
}

.pmg-news-page .pmg-article-body {
  padding: 1rem 0 0;
}

.pmg-article-gallery-section {
  min-width: 0;
  margin: 1.5rem 0 2rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--pmg-line);
  background: var(--pmg-paper);
}

.pmg-article-gallery-heading,
.pmg-article-gallery-heading > div {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.pmg-article-gallery-heading {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.pmg-article-gallery-heading > div > i {
  color: var(--pmg-blue);
  font-size: 1.15rem;
}

.pmg-article-gallery-heading h2 {
  margin: 0;
  color: var(--pmg-ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.pmg-article-gallery-heading > span {
  padding: .3rem .6rem;
  border: 1px solid var(--pmg-line);
  color: var(--pmg-muted);
  font-size: .75rem;
  line-height: 1.5;
}

.pmg-article-gallery-section .pmg-article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: .75rem;
  padding: 0;
}

.pmg-article-gallery-section .pmg-article-gallery-item {
  min-width: 0;
  padding: 5px;
  aspect-ratio: auto;
  border: 1px solid var(--pmg-line);
  border-radius: 0;
  background: var(--pmg-surface);
  transition: border-color .2s;
}

.pmg-article-gallery-section .pmg-article-gallery-item:is(:hover, :focus-visible) {
  border-color: var(--pmg-blue);
}

.pmg-article-gallery-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--pmg-paper);
}

.pmg-article-gallery-section .pmg-article-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.pmg-article-gallery-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem .2rem .25rem;
  color: var(--pmg-muted);
  font: .7rem/1.5 ui-monospace, monospace;
}

.pmg-article-gallery-caption > i {
  color: var(--pmg-blue);
}

.pmg-erazum-article .pmg-article-gallery-section {
  margin-inline: 30px;
}

.pmg-news-page .pmg-erazum-article .pmg-article-gallery-section {
  margin-inline: 0;
}

.pmg-erazum-article .pmg-article-body {
  padding-bottom: 0;
}

.pmg-news-page .pmg-share-row,
.pmg-information-route .pmg-share-row {
  padding: 1.25rem 0;
}

.pmg-news-page .pmg-article-body,
.pmg-information-route .pmg-cms-content {
  min-width: 0;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.pmg-information-route .pmg-page-cover {
  margin: 0 0 2rem;
  background: var(--pmg-paper);
}

body.pmg-information-route .pmg-page-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 42rem;
  object-fit: contain;
}

.pmg-news-page .pmg-article-body :is(h1,h2,h3,h4),
.pmg-information-route .pmg-cms-content :is(h1,h2,h3,h4) {
  margin-top: 1.75em;
  margin-bottom: .65em;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.pmg-news-page .pmg-article-body :is(p,ul,ol),
.pmg-information-route .pmg-cms-content :is(p,ul,ol) {
  margin-bottom: 1.25em;
}

.pmg-news-page .pmg-article-body :is(img,iframe,video,embed,object),
.pmg-information-route .pmg-cms-content :is(img,iframe,video,embed,object) {
  max-width: 100% !important;
}

.pmg-news-page .pmg-article-body img,
.pmg-information-route .pmg-cms-content img {
  height: auto !important;
  border-radius: 0;
}

.pmg-news-page .pmg-article-body table,
.pmg-information-route .pmg-cms-content table {
  display: table;
  min-width: 100%;
  max-width: none;
  border-collapse: collapse;
}

.pmg-news-page .pmg-article-body :is(th,td),
.pmg-information-route .pmg-cms-content :is(th,td) {
  padding: .8rem 1rem;
  border: 1px solid var(--pmg-line);
  min-width: 8rem;
  overflow-wrap: normal;
}

.pmg-news-page .pmg-article-body pre,
.pmg-information-route .pmg-cms-content pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1.25rem;
  background: var(--pmg-surface);
}

.pmg-information-route .pmg-content-card {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.pmg-information-route .pmg-page-meta {
  margin: 0 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pmg-line);
  color: var(--pmg-muted);
  font-size: .85rem;
  text-align: left;
}

.pmg-gallery-route .pmg-gallery-page {
  padding-top: 0;
}

.pmg-gallery-route .pmg-gallery-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
}

.pmg-gallery-description {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--pmg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.pmg-gallery-total {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: .75rem;
  margin: 0;
  color: var(--pmg-muted);
  font-size: .85rem;
}

.pmg-gallery-total strong {
  color: var(--content-blue);
  font: 400 clamp(2.5rem, 4vw, 4rem)/1 var(--content-serif);
  letter-spacing: -.055em;
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1.75rem;
  align-items: start;
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-card,
.pmg-gallery-route .pmg-gallery-page .gallery-album-card:hover,
.pmg-gallery-route .pmg-gallery-page .gallery-album-card:focus-within {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-card:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  grid-column: 1 / -1;
  align-items: stretch;
  border: 1px solid var(--pmg-line);
  background: var(--pmg-paper);
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--pmg-paper);
}

.pmg-gallery-route .gallery-album-image {
  position: absolute;
  inset: 0;
  transition: transform .55s cubic-bezier(.2, .65, .3, 1);
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-card:first-child .gallery-album-image-wrap {
  aspect-ratio: 16/10;
  min-height: 100%;
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.3rem 0 0;
  border-bottom: 1px solid var(--pmg-line);
  background: transparent;
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-card:first-child .gallery-album-body {
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-bottom: 0;
}

.pmg-album-kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .9rem;
  color: var(--content-blue);
  font: .75rem/1.5 ui-monospace, monospace;
}

.pmg-album-kicker span {
  color: var(--pmg-muted);
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-title {
  margin-bottom: 1rem;
  color: var(--pmg-ink);
  font: 400 clamp(1.4rem, 2vw, 1.85rem)/1.25 var(--content-serif);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-card:first-child .gallery-album-title {
  font-size: clamp(1.8rem, 2.9vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.pmg-gallery-route .gallery-album-meta {
  color: var(--pmg-muted);
  font-size: .85rem;
  line-height: 1.6;
}

.pmg-gallery-route .gallery-album-meta i {
  color: inherit;
}

.pmg-album-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 1rem;
  color: var(--pmg-ink);
  font-size: .85rem;
}

.pmg-album-arrow {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pmg-line);
  border-radius: 50%;
  font-size: 1.5rem;
  transition: background .2s, color .2s, border-color .2s;
}

.pmg-gallery-route .gallery-album-card:first-child .pmg-album-action {
  margin-top: 2rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--pmg-line);
}

.pmg-gallery-route .gallery-album-card:is(:hover, :focus-within) .pmg-album-arrow {
  border-color: #c9ff54;
  background: #c9ff54;
  color: #0b1523;
}

.pmg-gallery-route .pmg-gallery-page .gallery-album-card:has(a:focus-visible) {
  outline: 2px solid var(--content-blue);
  outline-offset: 6px;
}

.pmg-album-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--pmg-line);
}

.pmg-album-back {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 44px;
  color: var(--pmg-ink);
  font-size: .95rem;
}

.pmg-album-back > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pmg-line);
  border-radius: 50%;
  font-size: 1.25rem;
}

.pmg-album-back:hover > span {
  border-color: var(--content-blue);
}

.pmg-album-details {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  color: var(--pmg-muted);
  font-size: .9rem;
}

.pmg-album-details > span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.pmg-gallery-route .pmg-gallery-page .gallery-photo-grid {
  display: block;
  columns: 3;
  column-gap: 1rem;
}

.pmg-gallery-route .pmg-gallery-page .gallery-photo-card {
  display: block;
  break-inside: avoid;
  min-width: 0;
  height: auto;
  margin: 0 0 1rem;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: var(--pmg-paper);
  box-shadow: none;
}

.pmg-gallery-route .pmg-gallery-page .gallery-photo-card:first-child {
  column-span: all;
}

.pmg-gallery-route .gallery-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pmg-gallery-route .gallery-photo-card:first-child img {
  max-height: min(70dvh, 44rem);
}

.pmg-gallery-route .pmg-gallery-page .gallery-photo-card::after {
  right: .75rem;
  bottom: .75rem;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff60;
  border-radius: 50%;
  background: #0b1523d9;
  opacity: 1;
  transform: none;
}

.pmg-photo-number {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 28px;
  padding: .25rem .5rem;
  background: #0b1523d9;
  color: #fff;
  font: .7rem/1.5 ui-monospace, monospace;
  pointer-events: none;
}

.pmg-gallery-route .gallery-photo-card:hover img {
  transform: none;
}

.pmg-gallery-route .gallery-photo-card:focus-visible {
  outline: 2px solid var(--content-blue);
  outline-offset: 4px;
}

.pmg-contact-route .pmg-contact-page {
  padding-top: 0;
}

.pmg-contact-route .pmg-contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: none;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: 4rem;
}

.pmg-contact-route .pmg-contact-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pmg-ink);
  box-shadow: none;
}

.pmg-contact-route .pmg-contact-panel:after,
.pmg-contact-route .pmg-contact-mark {
  display: none;
}

.pmg-contact-route .pmg-contact-panel .pmg-eyebrow {
  color: var(--content-blue);
}

.pmg-contact-route .pmg-contact-panel h2,
.pmg-contact-route .pmg-contact-form-card .form-title {
  margin-bottom: 1.5rem;
  color: var(--pmg-ink);
  font: 400 clamp(2rem, 3vw, 3rem)/1.1 var(--content-serif);
  letter-spacing: -.04em;
}

.pmg-contact-school {
  max-width: 30rem;
  margin-bottom: 2rem;
  color: var(--pmg-muted);
  font-size: .95rem;
  line-height: 1.65;
}

.pmg-contact-route .pmg-contact-items {
  gap: 0;
  border-top: 1px solid var(--pmg-ink);
}

.pmg-contact-route .pmg-contact-item {
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--pmg-line);
  border-radius: 0;
  background: transparent;
  color: var(--pmg-ink);
  backdrop-filter: none;
}

.pmg-contact-route .pmg-contact-item:hover {
  color: var(--content-blue);
  background: transparent;
}

.pmg-contact-route .pmg-contact-item > span {
  display: none;
}

.pmg-contact-route .pmg-contact-item strong {
  color: var(--content-blue);
  font-size: .65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pmg-contact-route .pmg-contact-item em {
  color: inherit;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -.02em;
}

.pmg-contact-route .pmg-contact-form-card {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: var(--pmg-surface, #edede6);
  box-shadow: none;
}

.pmg-contact-route .pmg-contact-form-card label {
  font-size: .75rem;
  font-weight: 500;
}

.pmg-contact-route .pmg-contact-form-card .pmg-req {
  color: var(--pmg-muted);
  font-weight: 400;
}

.pmg-contact-route .pmg-contact-form-card .form-control {
  min-width: 0;
  padding: .8rem 0;
  border: 0;
  border-bottom: 1px solid var(--pmg-muted);
  border-radius: 0;
  background: transparent;
  color: var(--pmg-ink);
  font-size: .875rem;
  box-shadow: none;
}

.pmg-contact-route .pmg-contact-form-card .form-control:focus {
  border-bottom-color: var(--content-blue);
  outline: 2px solid var(--content-blue);
  outline-offset: 3px;
}

.pmg-contact-route .pmg-contact-form-card .controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.pmg-contact-route .pmg-contact-form-card .controls .form-control {
  flex: 1 1 100%;
}

.pmg-contact-route .pmg-contact-form-card .btn {
  min-height: 44px;
  white-space: normal;
  box-shadow: none;
}

.pmg-contact-route .map-box {
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.pmg-contact-route .gmap-wrapper,
.pmg-contact-route .gmap-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 26rem;
}

.pmg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: calc(100% - 3rem);
  max-width: 90rem;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1.25rem 1.5rem;
  border: 1px solid #ffffff24;
  background: #0b1523;
  color: #fff;
  overflow: auto;
}

.pmg-lightbox::backdrop {
  background: #050a12f0;
  backdrop-filter: blur(8px);
}

.pmg-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ffffff24;
}

.pmg-lightbox-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  min-width: 0;
}

.pmg-lightbox-title {
  margin: 0;
  color: #f4f3ec;
  font-size: .95rem;
  font-weight: 500;
}

.pmg-lightbox-label {
  margin: 0;
  color: #c9ff54;
  font: .8rem/1.5 ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.pmg-lightbox button {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  padding: .5rem;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.pmg-lightbox button:hover,
.pmg-lightbox button:focus-visible {
  border-color: #c9ff54;
  color: #c9ff54;
}

.pmg-lightbox button:focus-visible {
  outline: 2px solid #c9ff54;
  outline-offset: 3px;
}

.pmg-lightbox button:disabled {
  opacity: .35;
  cursor: default;
}

.pmg-lightbox figure {
  margin: 0;
  touch-action: pan-y pinch-zoom;
}

.pmg-lightbox-stage {
  position: relative;
  height: min(65dvh, 58rem);
  min-height: 8rem;
  background: #070d16;
}

.pmg-lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  color: #fff;
}

.pmg-lightbox-stage:not([data-state="ready"]) .pmg-lightbox-image {
  opacity: 0;
}

.pmg-lightbox-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 1.5rem;
  color: #d4dce5;
  font-size: .9rem;
  text-align: center;
}

.pmg-lightbox-stage[data-state="loading"] .pmg-lightbox-status::before {
  content: "";
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid #ffffff30;
  border-top-color: #c9ff54;
  border-radius: 50%;
  animation: pmg-lightbox-loading .8s linear infinite;
}

.pmg-lightbox-stage[data-state="ready"] .pmg-lightbox-status {
  display: none;
}

.pmg-lightbox-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.pmg-lightbox-caption {
  margin: 0;
  color: #d4dce5;
  font-size: .85rem;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

.pmg-lightbox-thumbnails {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  padding: .6rem .2rem .25rem;
  border-top: 1px solid #ffffff24;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #718097 transparent;
  overscroll-behavior-x: contain;
}

.pmg-lightbox-thumbnails[hidden] {
  display: none;
}

.pmg-lightbox .pmg-lightbox-thumbnail {
  flex: 0 0 5rem;
  height: 3.5rem;
  min-height: 0;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 0;
  opacity: .6;
  transition: opacity .2s ease, border-color .2s ease;
}

.pmg-lightbox-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pmg-lightbox .pmg-lightbox-thumbnail:is(:hover,:focus-visible,[aria-current="true"]) {
  border-color: #c9ff54;
  opacity: 1;
}

@keyframes pmg-lightbox-loading {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pmg-lightbox-stage[data-state="loading"] .pmg-lightbox-status::before {
    animation: none;
  }

  .pmg-lightbox .pmg-lightbox-thumbnail {
    transition: none;
  }
}

@media (max-width: 1199px) {
  .pmg-news-page .pmg-feature-news {
    grid-template-columns: 1fr;
  }

  .pmg-news-page .pmg-feature-media,
  .pmg-news-page .pmg-feature-media img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
  }
}

@media (max-width: 991px) {
  .pmg-news-page .pmg-feature-news {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .pmg-news-page .pmg-feature-media,
  .pmg-news-page .pmg-feature-media img {
    height: 100%;
    aspect-ratio: auto;
  }

  .pmg-gallery-route .pmg-gallery-page .gallery-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pmg-gallery-route .pmg-gallery-page .gallery-album-card:first-child {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .pmg-contact-route .pmg-contact-grid {
    gap: 2rem;
  }

  .pmg-contact-route .pmg-contact-item {
    grid-template-columns: 1fr;
    gap: .65rem;
  }
}

@media (max-width: 767px) {
  .pmg-news-page .pmg-feature-news {
    grid-template-columns: 1fr;
    margin-bottom: 2.75rem;
  }

  .pmg-news-page .pmg-feature-media,
  .pmg-news-page .pmg-feature-media img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16/10;
  }

  .pmg-news-page .pmg-modern-row > .row {
    gap: 1rem;
  }

  .pmg-news-page .pmg-modern-row .news-row-title {
    font-size: 1rem;
  }

  .pmg-news-page .news-row-text {
    display: none;
  }

  .pmg-erazum-article .pmg-article-gallery-section {
    margin-inline: 20px;
  }

  .pmg-gallery-route .pmg-gallery-toolbar {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .pmg-gallery-route .pmg-gallery-page .gallery-album-card:first-child {
    grid-template-columns: minmax(0, 1fr);
  }

  .pmg-gallery-route .pmg-gallery-page .gallery-album-card:first-child .gallery-album-image-wrap {
    min-height: 0;
  }

  .pmg-gallery-route .pmg-gallery-page .gallery-photo-grid {
    columns: 2;
  }

  .pmg-contact-route .pmg-contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pmg-contact-route .pmg-contact-item {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .pmg-contact-route .gmap-wrapper,
  .pmg-contact-route .gmap-wrapper iframe {
    min-height: 20rem;
  }
}

@media (max-width: 575px) {
  .pmg-article-gallery-section {
    padding: .85rem;
  }

  .pmg-article-gallery-section .pmg-article-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  .pmg-gallery-route .pmg-gallery-page .gallery-album-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .pmg-gallery-route .pmg-gallery-page .gallery-photo-grid {
    columns: 1;
  }

  .pmg-gallery-route .pmg-gallery-toolbar {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .pmg-gallery-total strong {
    font-size: 2.5rem;
  }

  .pmg-album-details {
    font-size: .85rem;
  }

  .pmg-contact-route .pmg-contact-item {
    grid-template-columns: 1fr;
  }

  .pmg-lightbox {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: .75rem;
  }

  .pmg-lightbox-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
  }

  .pmg-lightbox-stage {
    height: max(8rem, calc(100dvh - 18rem));
  }

  .pmg-lightbox .pmg-lightbox-thumbnail {
    flex-basis: 4.25rem;
    height: 3rem;
  }

  .pmg-lightbox-caption {
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pmg-news-page .pmg-feature-media img,
  .pmg-gallery-route .gallery-album-image,
  .pmg-gallery-route .gallery-photo-card img,
  .pmg-article-gallery-section .pmg-article-gallery-item,
  .pmg-article-gallery-section .pmg-article-gallery-item img {
    transition: none;
    transform: none !important;
  }
}
