/*
 * Press room (/press-room/): the styles of the WordPress theme's page-press-room.php. The dark hero starts under the
 * fixed header and leaves room for it with its own top padding, as on WordPress.
 */

.brpr { background: #1a1816; color: #faf8f5; }

/* Hero: "Press room." over a faint "BR" */
#br-hero { position: relative; overflow: hidden; padding: 220px 0 180px; text-align: center; background: #1a1816; }
#br-hero::before {
  content: 'BR';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--br-font-serif);
  font-size: 280px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(184, 146, 58, 0.05);
  white-space: nowrap;
  pointer-events: none;
}
#br-hero .brh-wrap { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; padding: 0 40px; }
#br-hero h1 { font-size: clamp(48px, 7vw, 88px); line-height: 1; letter-spacing: -0.01em; color: #ffffff; }
#br-hero h1 em { font-style: italic; color: #b8923a; }

/* Mosaic: 3:4 tiles, the texts over a gradient at the bottom */
.brpr-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 0 2px 2px; }
.brpr-tile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: #0e0d0b; }
.brpr-tile-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.brpr-tile:hover .brpr-tile-img, .brpr-tile:focus-visible .brpr-tile-img { transform: scale(1.045); }
.brpr-tile-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: 20px;
  background: #1e1c1a;
}
.brpr-tile-ph span {
  font-family: var(--br-font-serif);
  font-size: 22px;
  font-style: italic;
  text-align: center;
  color: #b8923a;
  opacity: 0.55;
}
.brpr-tile-ov {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 18px 20px;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.82) 0%, rgba(10, 9, 8, 0.3) 40%, transparent 70%);
  pointer-events: none;
}
.brpr-tile-pub { margin-bottom: 7px; font-size: 8px; letter-spacing: 0.26em; text-transform: uppercase; color: #b8923a; }
.brpr-tile-title { font-family: var(--br-font-serif); font-size: 18px; font-weight: 300; line-height: 1.25; color: #ffffff; }
.brpr-tile-credit { margin-top: 4px; font-size: 10px; font-style: italic; letter-spacing: 0.04em; color: rgba(250, 248, 245, 0.6); }
.brpr-tile-cue {
  margin-top: 10px;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.7);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.brpr-tile:hover .brpr-tile-cue, .brpr-tile:focus-visible .brpr-tile-cue { opacity: 1; transform: none; }
/* WordPress: #3a3835 on the dark background, hardly readable. */
.brpr-empty { padding: 80px 0; font-family: var(--br-font-serif); font-style: italic; text-align: center; color: #b8923a; }

/* Lightbox: a modal <dialog>, so it covers the fixed header too (WordPress' sat under it, with its close button) */
.brpr-lb {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 40px;
  border: 0;
  background: rgba(10, 9, 8, 0.94);
}
.brpr-lb[open] { display: flex; align-items: center; justify-content: center; animation: brpr-lb-in 0.3s; }
.brpr-lb::backdrop { background: none; }
html:has(.brpr-lb[open]) { overflow: hidden; }
.brpr-lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6); }
.brpr-lb-close {
  position: absolute;
  top: 22px;
  right: 30px;
  font-size: 34px;
  line-height: 1;
  color: #faf8f5;
  background: none;
  border: none;
  cursor: pointer;
}
.brpr-lb-close:hover { color: #b8923a; }
@keyframes brpr-lb-in { from { opacity: 0; } }

@media (max-width: 1024px) {
  .brpr-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  #br-hero { padding: 130px 0 96px; }
  #br-hero h1 { font-size: 42px; }
  #br-hero::before { font-size: 160px; }
  .brpr-mosaic { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brpr-tile-title { font-size: 16px; }
  .brpr-tile-ov { padding: 14px; }
}
