:root {
  --plp-bg: #111111;
  --plp-bg-deep: #0d0d0d;
  --plp-panel: #151515;
  --plp-toolbar: #1b1b1b;
  --plp-toolbar-edge: #383838;
  --plp-white: #f7f4f2;
  --plp-muted: #c8c3bf;
  --plp-accent: #b79283;
  --plp-accent-strong: #c9957e;
  --plp-line: rgba(183, 146, 131, 0.86);
  --plp-soft-line: rgba(183, 146, 131, 0.34);
  --plp-content: 1500px;
}

/* Public gallery foundation ------------------------------------------------ */
html,
body,
#the_page,
#content,
.content {
  background: var(--plp-bg) !important;
  color: var(--plp-white) !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
}

body a {
  color: var(--plp-white);
}

body a:hover,
body a:focus {
  color: var(--plp-accent-strong);
}

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

/* Sitewide 06 alternate dark-background logo ----------------------------- */
#plpGlobalBrand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 16px 6px;
  box-sizing: border-box;
  background: var(--plp-bg);
}

#plpGlobalBrand a {
  display: block;
  border: 0 !important;
  text-decoration: none !important;
}

#plpGlobalBrand img {
  display: block;
  width: clamp(350px, 25vw, 430px);
  max-width: 86vw;
  height: auto;
}

/* Persistent public toolbar ---------------------------------------------- */
#menubar.plp-toolbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  clear: both;
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0;
  color: var(--plp-white);
  background: linear-gradient(180deg, #202020 0%, #171717 100%) !important;
  border-top: 1px solid var(--plp-toolbar-edge);
  border-bottom: 1px solid var(--plp-toolbar-edge);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.plp-toolbar-inner {
  display: flex;
  align-items: center;
  width: min(var(--plp-content), calc(100% - 48px));
  min-height: 52px;
  margin: 0 auto;
  gap: 18px;
}

.plp-primary-nav,
.plp-account-nav {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.plp-primary-nav a,
.plp-account-nav a,
.plp-account-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 15px;
  box-sizing: border-box;
  color: #f2efed !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  border: 0 !important;
}

.plp-primary-nav a {
  position: relative;
}

.plp-primary-nav a::after {
  position: absolute;
  right: 15px;
  bottom: 8px;
  left: 15px;
  height: 2px;
  content: "";
  background: transparent;
}

.plp-primary-nav a:hover::after,
.plp-primary-nav a:focus::after,
.plp-primary-nav a.is-active::after {
  background: var(--plp-accent-strong);
}

.plp-primary-nav a.is-active,
.plp-account-nav a:hover,
.plp-account-nav a:focus {
  color: var(--plp-accent-strong) !important;
}

.plp-account-nav a + a,
.plp-account-nav span + a,
.plp-account-nav a + span {
  border-left: 1px solid rgba(183, 146, 131, 0.68) !important;
}

.plp-greeting {
  color: #ded9d5 !important;
}

.plp-toolbar-spacer {
  flex: 1 1 auto;
}

.plp-toolbar-search {
  display: flex;
  flex: 0 1 220px;
  align-items: center;
  height: 32px;
  margin: 0 0 0 4px;
  border: 1px solid #666;
  background: #151515;
}

#qsearchInput,
.plp-toolbar-search input {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  height: 30px;
  margin: 0;
  padding: 0 10px;
  color: var(--plp-white) !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0;
  box-sizing: border-box;
}

.plp-toolbar-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  padding: 0;
  color: var(--plp-accent-strong);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.plp-toolbar-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

#menuSwitcher {
  z-index: 1001;
}

/* Public footer ----------------------------------------------------------- */
#copyright {
  clear: both;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 13px 16px 15px !important;
  color: #ded9d5 !important;
  font-size: 13px !important;
  line-height: 1.55;
  text-align: center;
  background: var(--plp-bg-deep) !important;
  border-top: 1px solid var(--plp-soft-line);
  box-sizing: border-box;
}

#copyright a {
  color: var(--plp-accent-strong) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plp-footer-copyright,
.plp-footer-contact,
.plp-footer-credit {
  display: block;
}

.plp-footer-contact {
  margin: 1px 0;
}

.plp-mobile-toggle {
  margin-top: 7px;
}

/* Standard public page framing ------------------------------------------- */
#content {
  width: min(var(--plp-content), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 34px;
  box-sizing: border-box;
}

#thePicturePage #content {
  width: min(1700px, calc(100% - 32px));
}

.titrePage {
  min-height: 48px;
  margin: 0 0 18px;
  padding: 14px 4px 10px !important;
  color: var(--plp-white) !important;
  background: transparent !important;
  background-image: none !important;
  border-bottom: 1px solid var(--plp-line);
  box-sizing: border-box;
}

.titrePage h2,
.browsePath,
.titrePage h2 a,
.browsePath a {
  color: var(--plp-white) !important;
}

.titrePage h2,
.browsePath {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.titrePage a:hover,
.browsePath a:hover {
  color: var(--plp-accent-strong) !important;
}

.categoryActions .pwg-button,
.categoryActions .pwg-button .pwg-icon,
.categoryActions .pwg-button .pwg-icon::before,
.actionButtons .pwg-button,
.actionButtons .pwg-button .pwg-icon,
.actionButtons .pwg-button .pwg-icon::before,
.titrePage .pwg-button,
.titrePage .pwg-button .pwg-icon,
.titrePage .pwg-button .pwg-icon::before {
  color: #ffffff !important;
  opacity: 1 !important;
}

.categoryActions .pwg-button:hover,
.categoryActions .pwg-button:focus,
.categoryActions .pwg-button:hover .pwg-icon,
.categoryActions .pwg-button:focus .pwg-icon,
.categoryActions .pwg-button:hover .pwg-icon::before,
.categoryActions .pwg-button:focus .pwg-icon::before,
.actionButtons .pwg-button:hover,
.actionButtons .pwg-button:focus,
.actionButtons .pwg-button:hover .pwg-icon,
.actionButtons .pwg-button:focus .pwg-icon,
.actionButtons .pwg-button:hover .pwg-icon::before,
.actionButtons .pwg-button:focus .pwg-icon::before,
.titrePage .pwg-button:hover,
.titrePage .pwg-button:focus,
.titrePage .pwg-button:hover .pwg-icon,
.titrePage .pwg-button:focus .pwg-icon,
.titrePage .pwg-button:hover .pwg-icon::before,
.titrePage .pwg-button:focus .pwg-icon::before {
  color: #b79283 !important;
}

.content .navigationBar {
  margin: 20px 0 6px;
  color: var(--plp-muted);
}

.content .navigationBar a,
.content .pageNumberSelected {
  display: inline-block;
  min-width: 28px;
  margin: 0 2px;
  padding: 6px 8px;
  color: var(--plp-white) !important;
  background: #181818;
  border: 1px solid #444;
  text-decoration: none !important;
}

.content .pageNumberSelected {
  color: #111 !important;
  background: var(--plp-accent-strong);
  border-color: var(--plp-accent-strong);
}

/* Homepage ---------------------------------------------------------------- */
#plp-home,
#plp-home * {
  box-sizing: border-box;
}

#plp-home {
  width: min(var(--plp-content), calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 8px;
  color: var(--plp-white);
}

.plp-hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.66fr) minmax(620px, 1.55fr);
  gap: 48px;
  align-items: center;
  min-height: 0;
}

.plp-statement {
  padding: 8px 0 8px 28px;
}

.plp-statement h1 {
  margin: 0;
  color: var(--plp-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 1.4vw, 1.55rem);
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plp-short-rule,
.plp-heading-rule {
  display: block;
  height: 2px;
  background: var(--plp-accent-strong);
}

.plp-short-rule {
  width: 86px;
  margin: 17px 0;
}

.plp-statement p {
  max-width: 390px;
  margin: 0;
  color: var(--plp-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.plp-statement .plp-signature {
  margin-top: 13px;
  color: var(--plp-accent-strong);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.75rem;
  line-height: 1.2;
}

.plp-hero-image {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #0b0b0b;
  border: 2px solid var(--plp-line);
}

.plp-hero-image img {
  display: block;
  width: 100%;
  height: clamp(235px, 28vh, 315px);
  object-fit: cover;
}

.plp-gold-rule,
.plp-page-rule {
  height: 2px;
  background: var(--plp-accent-strong);
}

.plp-gold-rule {
  margin: 15px 0 11px;
}

.plp-home-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(430px, 1fr);
  min-height: 0;
}

.plp-home-panel {
  min-width: 0;
  padding: 0 18px 3px;
}

.plp-home-panel + .plp-home-panel {
  border-left: 1px solid var(--plp-line);
}

.plp-home-panel h2,
.plp-public-page h1,
.plp-explore-card h2 {
  color: var(--plp-white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.plp-home-panel h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}

.plp-heading-rule {
  width: 42px;
  margin: 9px 0 11px;
}

.plp-random-album-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
}

.plp-home-album-card {
  min-width: 0;
  color: var(--plp-white) !important;
  text-align: center;
  text-decoration: none !important;
  border: 0 !important;
}

.plp-home-album-card img {
  display: block;
  width: 100%;
  height: clamp(96px, 13vh, 142px);
  object-fit: cover;
  border: 1px solid #4a4a4a;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.plp-home-album-card:hover img,
.plp-home-album-card:focus img {
  opacity: 0.9;
  border-color: var(--plp-accent-strong);
}

.plp-home-album-card strong,
.plp-home-album-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plp-home-album-card strong {
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.plp-home-album-card span {
  margin-top: 2px;
  color: var(--plp-muted);
  font-size: 0.68rem;
}

.plp-latest-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}

.plp-latest-photo-grid a {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #4a4a4a !important;
}

.plp-latest-photo-grid img {
  display: block;
  width: 100%;
  height: clamp(68px, 8.5vh, 94px);
  object-fit: cover;
  transition: opacity 160ms ease, transform 160ms ease;
}

.plp-latest-photo-grid a:hover img,
.plp-latest-photo-grid a:focus img {
  opacity: 0.88;
  transform: scale(1.025);
}

.plp-panel-link {
  display: block;
  margin-top: 12px;
  color: var(--plp-accent-strong) !important;
  text-align: center;
  text-decoration: none !important;
  border: 0 !important;
}

.plp-panel-link span {
  padding-left: 6px;
  font-size: 1.15rem;
}

.plp-empty-state {
  margin: 20px 0;
  color: var(--plp-muted);
  text-align: center;
}

/* Albums page ------------------------------------------------------------- */
.plp-album-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 30px;
  margin: 0;
  padding: 4px 0 12px;
  list-style: none;
}

.plp-album-index-grid li,
.plp-album-index-grid figure {
  min-width: 0;
  margin: 0;
}

.plp-album-index-grid a {
  color: var(--plp-white) !important;
  text-decoration: none !important;
  border: 0 !important;
}

.plp-album-index-grid figure {
  text-align: center;
}

.plp-album-index-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border: 1px solid var(--plp-line);
  transition: opacity 170ms ease, transform 170ms ease;
}

.plp-album-index-grid a:hover img,
.plp-album-index-grid a:focus img {
  opacity: 0.9;
  transform: translateY(-2px);
}

.plp-album-index-grid h3 {
  margin: 8px 0 2px;
  color: var(--plp-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plp-album-index-grid p {
  margin: 0;
  color: var(--plp-accent-strong);
  font-size: 0.88rem;
}

/* Most visited, recent photos, and other photo indexes ------------------- */
#thumbnails.thumbnails {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px;
  margin: 0 !important;
  padding: 4px 0 14px !important;
  overflow: visible !important;
  list-style: none;
  text-align: initial !important;
}

#thumbnails > li.plp-photo-index-card {
  position: relative !important;
  display: block !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
}

.plp-photo-index-card > a {
  position: relative !important;
  top: auto !important;
  display: block;
  color: var(--plp-white) !important;
  text-decoration: none !important;
  border: 0 !important;
}

.plp-photo-index-card > a > img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--plp-line);
  box-sizing: border-box;
  transition: opacity 170ms ease, transform 170ms ease;
}

.plp-photo-index-card > a:hover > img,
.plp-photo-index-card > a:focus > img {
  opacity: 0.9;
  transform: scale(1.012);
}

.plp-photo-caption {
  display: block;
  padding: 6px 4px 2px;
  text-align: center;
}

.plp-photo-caption strong,
.plp-photo-caption small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plp-photo-caption strong {
  color: var(--plp-white);
  font-weight: 400;
}

.plp-photo-caption small {
  margin-top: 2px;
  color: var(--plp-accent-strong);
}

/* Explore page ------------------------------------------------------------ */
.plp-public-page {
  width: min(var(--plp-content), calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 30px;
  box-sizing: border-box;
}

.plp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--plp-muted);
  font-size: 1.05rem;
}

.plp-breadcrumb a,
.plp-breadcrumb strong {
  color: var(--plp-white) !important;
  text-decoration: none !important;
}

.plp-breadcrumb strong {
  color: var(--plp-accent-strong) !important;
  font-weight: 400;
}

.plp-page-rule {
  margin: 13px 0 20px;
  height: 1px;
}

.plp-explore-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

.plp-explore-card {
  display: flex;
  min-height: 238px;
  padding: 24px 22px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--plp-white) !important;
  text-align: center;
  text-decoration: none !important;
  background: linear-gradient(145deg, #151515, #101010);
  border: 1px solid var(--plp-line) !important;
  box-sizing: border-box;
  grid-column: span 2;
  transition: background 170ms ease, transform 170ms ease;
}

.plp-explore-card:nth-child(5) {
  grid-column: 2 / span 2;
}

.plp-explore-card:hover,
.plp-explore-card:focus {
  color: var(--plp-white) !important;
  background: #191919;
  transform: translateY(-2px);
}

.plp-explore-card svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--plp-accent-strong);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plp-explore-card h2 {
  margin: 14px 0 8px;
  font-size: 1.12rem;
}

.plp-explore-card > span {
  width: 54px;
  height: 2px;
  background: var(--plp-accent-strong);
}

.plp-explore-card p {
  max-width: 260px;
  margin: 13px 0 16px;
  color: var(--plp-muted);
  line-height: 1.55;
}

.plp-explore-card b {
  color: var(--plp-accent-strong);
  font-weight: 400;
}


/* Desktop home: fit logo, toolbar, home content, and footer in one viewport
 * without allowing the lower showcase to overlap the hero.                */
@media (min-width: 1100px) and (min-height: 850px) {
  html,
  body.plp-home-page {
    height: 100%;
  }

  body.plp-home-page {
    display: flex;
    overflow: hidden;
    flex-direction: column;
  }

  body.plp-home-page #plpGlobalBrand,
  body.plp-home-page #menubar,
  body.plp-home-page #copyright {
    flex-shrink: 0;
  }

  /* Reserve a predictable header height so the content area can fit cleanly. */
  body.plp-home-page #plpGlobalBrand {
    flex-basis: 225px;
    min-height: 225px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  body.plp-home-page #plpGlobalBrand img {
    width: auto;
    max-width: min(430px, 62vw);
    height: 210px;
    object-fit: contain;
  }

  body.plp-home-page #menubar {
    flex-basis: 52px;
  }

  body.plp-home-page #plp-home {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 5px;
    overflow: hidden;
    flex-direction: column;
  }

  body.plp-home-page .plp-hero {
    flex: 1 1 auto;
    min-height: 230px;
    overflow: hidden;
  }

  body.plp-home-page .plp-statement {
    align-self: center;
    max-height: 100%;
  }

  body.plp-home-page .plp-hero-image,
  body.plp-home-page .plp-hero-image img {
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  body.plp-home-page .plp-gold-rule {
    flex: 0 0 2px;
    margin: 8px 0;
  }

  /* The showcase receives its own non-overlapping space below the hero. */
  body.plp-home-page .plp-home-showcase {
    flex: 0 0 226px;
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
  }

  body.plp-home-page .plp-home-panel {
    padding-bottom: 0;
  }

  body.plp-home-page .plp-heading-rule {
    margin-top: 7px;
    margin-bottom: 8px;
  }

  body.plp-home-page .plp-home-album-card img {
    height: 112px;
  }

  body.plp-home-page .plp-latest-photo-grid img {
    height: 64px;
  }

  body.plp-home-page .plp-panel-link {
    margin-top: 9px;
    padding-bottom: 4px;
  }

  body.plp-home-page #copyright {
    flex-basis: 82px;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }
}

/* Tablet ------------------------------------------------------------------ */
@media (max-width: 1120px) {
  .plp-toolbar-inner,
  #content,
  #plp-home,
  .plp-public-page {
    width: min(100% - 30px, var(--plp-content));
  }

  .plp-primary-nav a,
  .plp-account-nav a,
  .plp-account-nav span {
    padding-right: 10px;
    padding-left: 10px;
  }

  .plp-toolbar-search {
    flex-basis: 170px;
  }

  .plp-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .plp-statement {
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 0 0;
    text-align: center;
  }

  .plp-statement p {
    margin-right: auto;
    margin-left: auto;
  }

  .plp-short-rule {
    margin-right: auto;
    margin-left: auto;
  }

  .plp-home-showcase {
    grid-template-columns: 1fr;
  }

  .plp-home-panel {
    padding: 20px 0;
  }

  .plp-home-panel + .plp-home-panel {
    border-top: 1px solid var(--plp-line);
    border-left: 0;
  }

  .plp-random-album-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .plp-home-album-card img {
    height: 190px;
  }

  .plp-latest-photo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .plp-latest-photo-grid img {
    height: 110px;
  }

  .plp-album-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plp-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plp-explore-card,
  .plp-explore-card:nth-child(5) {
    grid-column: auto;
  }
}

/* Mobile navigation and content ------------------------------------------ */
@media (max-width: 760px) {
  #plpGlobalBrand {
    padding-top: 5px;
    padding-bottom: 3px;
  }

  #plpGlobalBrand img {
    width: min(360px, 88vw);
  }

  #menuSwitcher {
    position: absolute;
    top: auto;
    left: 8px;
    display: block;
    margin-top: 5px;
    color: var(--plp-accent-strong) !important;
  }

  #menubar.plp-toolbar {
    position: absolute;
    top: auto;
    display: none;
    width: min(330px, calc(100% - 18px));
    min-height: 0;
    margin: 0 9px;
    opacity: 0.98;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.46);
  }

  .plp-toolbar-inner {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 12px;
  }

  .plp-primary-nav,
  .plp-account-nav {
    display: block;
  }

  .plp-primary-nav a,
  .plp-account-nav a,
  .plp-account-nav span {
    display: flex;
    min-height: 42px;
    padding: 0 8px;
    border-bottom: 1px solid #3b3b3b !important;
  }

  .plp-primary-nav a::after {
    display: none;
  }

  .plp-account-nav a + a,
  .plp-account-nav span + a,
  .plp-account-nav a + span {
    border-left: 0 !important;
  }

  .plp-toolbar-search {
    width: 100%;
    margin: 10px 0;
  }

  #content,
  #plp-home,
  .plp-public-page {
    width: min(100% - 22px, var(--plp-content));
  }

  .titrePage {
    padding-left: 32px !important;
  }

  .plp-hero-image img {
    height: 230px;
  }

  .plp-random-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plp-home-album-card img {
    height: 230px;
  }

  .plp-latest-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .plp-latest-photo-grid img {
    height: 110px;
  }

  .plp-album-index-grid,
  .plp-explore-grid {
    grid-template-columns: 1fr;
  }

  .plp-explore-card,
  .plp-explore-card:nth-child(5) {
    grid-column: auto;
  }

  #thumbnails.thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 440px) {
  .plp-statement h1 {
    font-size: 1.02rem;
  }

  .plp-statement p {
    font-size: 0.9rem;
  }

  .plp-home-album-card img {
    height: 170px;
  }

  .plp-latest-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plp-latest-photo-grid img {
    height: 125px;
  }

  #thumbnails.thumbnails {
    grid-template-columns: 1fr;
  }
}

/* Picture-page action toolbar -------------------------------------------- */
#imageToolBar {
  color: #ffffff !important;
  background-color: #111111 !important;
  background-image: none !important;
  border-top: 1px solid #2a2a2a !important;
  border-right: 1px solid #2a2a2a !important;
  border-bottom: 1px solid #2a2a2a !important;
  border-left: 1px solid #2a2a2a !important;
  box-shadow: none !important;
}

#imageToolBar .actionButtons,
#imageToolBar .navigationButtons,
#imageToolBar .switchBox,
#imageToolBar li,
#imageToolBar ul {
  color: #ffffff !important;
  background-color: transparent !important;
  background-image: none !important;
}

#imageToolBar a,
#imageToolBar button,
#imageToolBar .pwg-button,
#imageToolBar .pwg-state-default,
#imageToolBar .pwg-state-disabled,
#imageToolBar .pwg-button-disabled,
#imageToolBar .pwg-icon,
#imageToolBar [class^="pwg-icon-"],
#imageToolBar [class*=" pwg-icon-"],
#imageToolBar a::before,
#imageToolBar button::before,
#imageToolBar .pwg-button::before,
#imageToolBar .pwg-icon::before,
#imageToolBar [class^="pwg-icon-"]::before,
#imageToolBar [class*=" pwg-icon-"]::before {
  color: #ffffff !important;
  background-color: transparent !important;
  background-image: none !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

#imageToolBar svg,
#imageToolBar svg path,
#imageToolBar svg polygon,
#imageToolBar svg polyline,
#imageToolBar svg line,
#imageToolBar svg circle,
#imageToolBar svg rect {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

#imageToolBar a:hover,
#imageToolBar a:focus,
#imageToolBar button:hover,
#imageToolBar button:focus,
#imageToolBar .pwg-button:hover,
#imageToolBar .pwg-button:focus,
#imageToolBar .pwg-button:hover .pwg-icon,
#imageToolBar .pwg-button:focus .pwg-icon,
#imageToolBar .pwg-button:hover .pwg-icon::before,
#imageToolBar .pwg-button:focus .pwg-icon::before,
#imageToolBar a:hover::before,
#imageToolBar a:focus::before,
#imageToolBar button:hover::before,
#imageToolBar button:focus::before {
  color: #b79283 !important;
  fill: #b79283 !important;
  stroke: #b79283 !important;
  opacity: 1 !important;
}

#imageToolBar a:hover svg,
#imageToolBar a:focus svg,
#imageToolBar button:hover svg,
#imageToolBar button:focus svg,
#imageToolBar .pwg-button:hover svg,
#imageToolBar .pwg-button:focus svg,
#imageToolBar a:hover svg path,
#imageToolBar a:focus svg path,
#imageToolBar button:hover svg path,
#imageToolBar button:focus svg path,
#imageToolBar .pwg-button:hover svg path,
#imageToolBar .pwg-button:focus svg path,
#imageToolBar a:hover svg polygon,
#imageToolBar a:focus svg polygon,
#imageToolBar a:hover svg polyline,
#imageToolBar a:focus svg polyline,
#imageToolBar a:hover svg line,
#imageToolBar a:focus svg line,
#imageToolBar a:hover svg circle,
#imageToolBar a:focus svg circle,
#imageToolBar a:hover svg rect,
#imageToolBar a:focus svg rect {
  color: #b79283 !important;
  fill: #b79283 !important;
  stroke: #b79283 !important;
}


/* PLP cross-browser and accessibility compatibility pack - v6.2 ----------- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #c9957e !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 1px #111111 !important;
}

input[type="text"],
input[type="password"],
input[type="search"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea {
  cursor: text !important;
}

button,
select,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer !important;
}

#menuSwitcher {
  appearance: none;
  -webkit-appearance: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--plp-accent-strong) !important;
  background: #171717;
  border: 1px solid rgba(183, 146, 131, 0.68);
  border-radius: 0;
}

.browsePath,
.plp-photo-caption strong,
.plp-photo-index-card,
.plp-explore-card,
.pdf-too-heavy {
  overflow-wrap: anywhere;
  word-break: normal;
}

#theImage,
#theMainImage {
  max-width: 100%;
}

#theMainImage {
  height: auto !important;
}

.plp-pdf-viewer-wrap {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.plp-pdf-viewer {
  display: block;
  width: 100%;
  height: clamp(320px, calc(100vh - 220px), 900px);
  min-height: 320px;
  color: var(--plp-white);
  background: #202020;
  border: 1px solid #444444;
  box-sizing: border-box;
}

@supports (height: 100dvh) {
  .plp-pdf-viewer {
    height: clamp(320px, calc(100dvh - 220px), 900px);
  }
}

@supports (padding: max(0px)) {
  #plpGlobalBrand {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  #copyright {
    padding-right: max(16px, env(safe-area-inset-right)) !important;
    padding-bottom: max(15px, env(safe-area-inset-bottom)) !important;
    padding-left: max(16px, env(safe-area-inset-left)) !important;
  }
}

@media (max-width: 760px) {
  #menuSwitcher {
    display: inline-flex;
    padding: 0 !important;
  }

  .plp-primary-nav a,
  .plp-account-nav a,
  .plp-account-nav span {
    min-height: 44px;
  }

  .plp-pdf-viewer {
    height: max(320px, calc(100vh - 180px));
    min-height: 0;
  }

  @supports (height: 100svh) {
    .plp-pdf-viewer {
      height: max(320px, calc(100svh - 180px));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
