/* =====================================================================
   Photo + Video 2026 — listings & cards
   Separate module (survives adaptive tip races). Load AFTER adaptive /
   veterans-home, BEFORE font-scale-110.
   Scope: /photo/ albums, album photo-cards, /foto/ + /video/ listing cards,
   home custom_photo / custom_video tiles.
   Do NOT touch: vozduh, maps-hub, side-column, readability shrink, veterans
   splash markup (enhance only via shared card polish).
   Brand: site blue #4563ad + amber #ffa800; cool slate ink — not purple/cream.
   ===================================================================== */

:root {
  --pv-ink: #152033;
  --pv-muted: #5a6a82;
  --pv-blue: #4563ad;
  --pv-blue-deep: #2f4578;
  --pv-amber: #e89a18;
  --pv-amber-hot: #ffa800;
  --pv-paper: #eef2f8;
  --pv-mist: #dce4f0;
  --pv-night: #0f1724;
  --pv-line: rgba(45, 70, 110, 0.16);
  --pv-radius: 2px;
}

@keyframes pv26-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pv26-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 168, 0, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(255, 168, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .pv26-hero,
  .photo-album-tile,
  .photo-card,
  .mid_col > article.photo_video,
  .custom_video,
  .custom_photo {
    animation: none !important;
  }
  .photo-album-tile__img,
  .photo-card__img,
  .mid_col > article.photo_video .post_img,
  .custom_video .post_img,
  .custom_photo .photo_img {
    transition: none !important;
  }
}

/* ---------- Shared section hero (albums / category intros) ---------- */
.pv26-hero {
  position: relative;
  margin: 0 0 18px;
  padding: 22px 22px 20px;
  overflow: hidden;
  color: #f4f7fc;
  background:
    linear-gradient(125deg, rgba(15, 23, 36, 0.92) 0%, rgba(47, 69, 120, 0.88) 48%, rgba(69, 99, 173, 0.82) 100%),
    radial-gradient(120% 80% at 100% 0%, rgba(255, 168, 0, 0.28), transparent 55%),
    linear-gradient(180deg, #1a2740, #243a62);
  border-left: 3px solid var(--pv-amber-hot);
  animation: pv26-rise 0.55s ease-out both;
}

.pv26-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.025) 11px,
      rgba(255, 255, 255, 0.025) 12px
    );
  pointer-events: none;
}

.pv26-hero > * {
  position: relative;
  z-index: 1;
}

.pv26-hero__kicker {
  margin: 0 0 6px;
  font-size: 13.2px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 214, 140, 0.95);
  font-family: "PT Sans Bold", "PT Sans Regular", Arial, sans-serif;
}

.pv26-hero__title,
.pv26-hero h1,
.photo-albums-page .pv26-hero .post_title {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  font-family: "PT Sans Narrow Bold", "PT Sans Bold", Arial, sans-serif;
  font-weight: normal;
}

.pv26-hero__lead {
  margin: 0 0 14px;
  max-width: 42em;
  font-size: 15.4px !important;
  line-height: 1.45 !important;
  color: rgba(236, 242, 255, 0.92);
}

.pv26-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pv26-hero__nav a {
  display: inline-block;
  padding: 7px 12px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14.3px !important;
  line-height: 1.25 !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pv26-hero__nav a:hover,
.pv26-hero__nav a:focus {
  background: rgba(255, 168, 0, 0.22);
  border-color: rgba(255, 168, 0, 0.65);
}

.pv26-hero__nav a.is-primary {
  background: var(--pv-amber-hot);
  border-color: var(--pv-amber-hot);
  color: #1a1408 !important;
  font-family: "PT Sans Bold", Arial, sans-serif;
}

.pv26-hero--video {
  background:
    linear-gradient(130deg, rgba(12, 16, 28, 0.94) 0%, rgba(28, 40, 68, 0.9) 42%, rgba(69, 99, 173, 0.78) 100%),
    radial-gradient(90% 70% at 0% 100%, rgba(255, 168, 0, 0.22), transparent 50%),
    #121a2c;
}

.pv26-hero--foto {
  background:
    linear-gradient(118deg, rgba(20, 32, 48, 0.92) 0%, rgba(52, 78, 128, 0.86) 55%, rgba(34, 56, 92, 0.9) 100%),
    radial-gradient(80% 60% at 100% 100%, rgba(255, 168, 0, 0.18), transparent 45%),
    #1b2a40;
}

/* Category archive notes → editorial intros */
.mid_col > .mblock.archive-note.pv26-intro {
  margin: 0 0 16px !important;
  padding: 18px 18px 16px !important;
  border: 0 !important;
  border-left: 3px solid var(--pv-amber-hot) !important;
  background:
    linear-gradient(125deg, rgba(15, 23, 36, 0.94) 0%, rgba(47, 69, 120, 0.9) 55%, rgba(69, 99, 173, 0.84) 100%) !important;
  color: rgba(236, 242, 255, 0.94) !important;
  font-size: 15.4px !important;
  line-height: 1.45 !important;
  animation: pv26-rise 0.5s ease-out both;
}

.mid_col > .mblock.archive-note.pv26-intro strong {
  display: block;
  margin: 0 0 6px;
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-family: "PT Sans Narrow Bold", "PT Sans Bold", Arial, sans-serif;
  font-weight: normal;
}

.mid_col > .mblock.archive-note.pv26-intro a {
  color: #ffd27a !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mid_col > .mblock.archive-note.pv26-intro a:hover,
.mid_col > .mblock.archive-note.pv26-intro a:focus {
  color: #fff !important;
}

/* ---------- /photo/ albums listing ---------- */
.photo-albums-page {
  margin: 0 0 8px;
}

.photo-albums-page .photo-albums-skip {
  position: absolute;
  left: -9999px;
}

.photo-albums-page:focus-within .photo-albums-skip {
  position: static;
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  background: var(--pv-paper);
  color: var(--pv-blue-deep);
  font-size: 14.3px !important;
}

.photo-albums-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  margin: 0 0 20px;
}

.photo-album-tile {
  margin: 0;
  min-width: 0;
  animation: pv26-rise 0.55s ease-out both;
}

.photo-album-tile:nth-child(1) { animation-delay: 0.04s; }
.photo-album-tile:nth-child(2) { animation-delay: 0.08s; }
.photo-album-tile:nth-child(3) { animation-delay: 0.12s; }
.photo-album-tile:nth-child(4) { animation-delay: 0.16s; }
.photo-album-tile:nth-child(5) { animation-delay: 0.2s; }
.photo-album-tile:nth-child(6) { animation-delay: 0.24s; }

.photo-album-tile__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-album-tile__link:hover,
.photo-album-tile__link:focus {
  border-color: rgba(69, 99, 173, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 32, 51, 0.12);
}

.photo-album-tile__media {
  display: block;
  overflow: hidden;
  background: var(--pv-night);
  aspect-ratio: 4 / 3;
  position: relative;
}

.photo-album-tile__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(15, 23, 36, 0.55));
  pointer-events: none;
  opacity: 0.85;
}

.photo-album-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.65s ease;
}

.photo-album-tile__link:hover .photo-album-tile__img,
.photo-album-tile__link:focus .photo-album-tile__img {
  transform: scale(1.08);
}

.photo-album-tile__title {
  display: block;
  padding: 10px 12px 2px;
  font-size: 15.4px !important;
  line-height: 1.3 !important;
  color: var(--pv-ink);
  font-family: "PT Sans Bold", Arial, sans-serif;
}

.photo-album-tile__meta {
  display: block;
  padding: 0 12px 12px;
  font-size: 13.2px !important;
  line-height: 1.35 !important;
  color: var(--pv-muted);
}

.photo-albums-search {
  margin: 8px 0 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, #f5f8fc, #eef2f8);
  border: 1px solid var(--pv-line);
  border-left: 3px solid var(--pv-blue);
}

.photo-albums-search .photo-search-label {
  display: block;
  margin: 0 0 6px;
  font-size: 14.3px !important;
  color: var(--pv-ink);
  font-family: "PT Sans Bold", Arial, sans-serif;
}

.photo-albums-search .photo-search-input {
  font-size: 15.4px !important;
  min-height: 40px;
}

.photo-albums-search .photo-search-submit {
  font-size: 14.3px !important;
}

/* ---------- Album photo cards (/photo/N) ---------- */
.photo-album.full-story {
  margin-bottom: 8px;
}

.photo-album__title {
  font-size: 24px !important;
  line-height: 1.25 !important;
  color: var(--pv-ink) !important;
}

.photo-grid--named {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
  margin: 0 0 12px;
}

.photo-card {
  margin: 0;
  min-width: 0;
}

.photo-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--pv-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-card__link:hover,
.photo-card__link:focus {
  border-color: rgba(69, 99, 173, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 32, 51, 0.12);
}

.photo-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--pv-night);
  aspect-ratio: 4 / 5;
}

.photo-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s ease;
}

.photo-card__link:hover .photo-card__img,
.photo-card__link:focus .photo-card__img {
  transform: scale(1.05);
}

.photo-card__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 8px 8px;
  font-size: 13.2px !important;
  line-height: 1.25 !important;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: linear-gradient(transparent, rgba(12, 16, 24, 0.9) 48%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.photo-card__caption {
  display: block;
  margin-top: 6px;
  padding: 0 4px 2px;
  font-size: 13.2px !important;
  line-height: 1.3 !important;
  color: var(--pv-ink);
  text-align: center;
  font-family: "PT Sans Bold", Arial, sans-serif;
}

.photo-album-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

/* ---------- /video/ + /foto/ listing cards ---------- */
@supports selector(:has(*)) {
  .mid_col:has(> article.photo_video) {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px 14px;
  }

  .mid_col:has(> article.photo_video) > :not(article.photo_video) {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .mid_col:has(> article.photo_video) > article.photo_video {
    flex: 1 1 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }
}

.mid_col > article.photo_video {
  background: #fff;
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  animation: pv26-rise 0.5s ease-out both;
}

.mid_col > article.photo_video:hover,
.mid_col > article.photo_video:focus-within {
  border-color: rgba(69, 99, 173, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(21, 32, 51, 0.12);
}

.mid_col > article.photo_video > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--pv-ink) !important;
  text-decoration: none !important;
}

.mid_col > article.photo_video .post_img {
  position: relative;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  aspect-ratio: 16 / 10;
  background-size: cover !important;
  background-position: center !important;
  background-color: var(--pv-night);
  overflow: hidden;
  transition: transform 0.55s ease;
}

.mid_col > article.photo_video:hover .post_img {
  transform: scale(1.03);
}

.mid_col > article.photo_video .post_img:before {
  height: 45% !important;
  background: linear-gradient(to top, rgba(15, 23, 36, 0.75), transparent) !important;
}

.mid_col > article.photo_video:hover .post_img:before {
  height: 100% !important;
}

/* Modern play / zoom affordance (keep .play_icon / .photo_big hooks) */
.mid_col > article.photo_video .play_icon,
.mid_col > article.photo_video .photo_big {
  width: 48px !important;
  height: 48px !important;
  margin: -24px 0 0 -24px !important;
  left: 50% !important;
  top: 50% !important;
  border-radius: 50%;
  background-color: rgba(255, 168, 0, 0.92) !important;
  background-image: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, background-color 0.25s ease;
  animation: pv26-pulse 2.4s ease-in-out infinite;
}

.mid_col > article.photo_video .play_icon::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 15px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #1a1408;
}

.mid_col > article.photo_video .photo_big {
  transform: scale(1) !important;
  opacity: 0.92;
}

.mid_col > article.photo_video .photo_big::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 20px;
  height: 20px;
  border: 2px solid #1a1408;
  border-radius: 2px;
  box-sizing: border-box;
}

.mid_col > article.photo_video .photo_big::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #1a1408;
  border-right: 2px solid #1a1408;
}

.mid_col > article.photo_video:hover .play_icon,
.mid_col > article.photo_video:hover .photo_big {
  transform: scale(1.08) !important;
  background-color: #fff !important;
  animation: none;
}

.mid_col > article.photo_video .stories_title {
  display: block;
  max-height: none !important;
  margin: 0;
  padding: 12px 12px 14px;
  font-size: 15.4px !important;
  line-height: 1.35 !important;
  color: var(--pv-ink) !important;
  overflow: visible !important;
  font-family: "PT Sans Bold", Arial, sans-serif;
}

.mid_col > article.photo_video .top_views {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  font-weight: normal;
  color: var(--pv-muted) !important;
  background: var(--pv-paper);
  border: 1px solid var(--pv-line);
  vertical-align: middle;
}

.mid_col > article.photo_video.photo_video--text .post_img--placeholder {
  min-height: 140px !important;
  background:
    linear-gradient(135deg, #1a2438 0%, #2f4578 55%, #1a2438 100%) !important;
}

/* ---------- Home mid custom photo / video cards ---------- */
.mid_col .custom_video,
.hblock .custom_video,
.col2 .custom_video {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mid_col .custom_video:hover,
.hblock .custom_video:hover,
.col2 .custom_video:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.custom_video .play_icon {
  width: 44px !important;
  height: 44px !important;
  left: 50% !important;
  margin: -22px 0 0 -22px !important;
  border-radius: 50%;
  background-color: rgba(255, 168, 0, 0.92) !important;
  background-image: none !important;
}

.custom_video .play_icon::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #1a1408;
}

.custom_video .video_title {
  font-size: 15.4px !important;
  line-height: 1.35 !important;
}

.custom_photo {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom_photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(21, 32, 51, 0.18);
}

.custom_photo .photo_title {
  font-size: 15.4px !important;
  line-height: 1.3 !important;
}

/* ---------- Details page polish ---------- */
.photo-details__crumb {
  font-size: 14.3px !important;
}

.photo-details__name {
  font-size: 24px !important;
  line-height: 1.25 !important;
}

.photo-details__bio {
  font-size: 15.4px !important;
  line-height: 1.55 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .photo-albums-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

  .pv26-hero__title,
  .pv26-hero h1,
  .photo-albums-page .pv26-hero .post_title,
  .mid_col > .mblock.archive-note.pv26-intro strong {
    font-size: 24px !important;
  }

  @supports selector(:has(*)) {
    .mid_col:has(> article.photo_video) > article.photo_video {
      flex: 1 1 calc(50% - 8px);
      max-width: calc(50% - 8px);
    }
  }
}

@media (max-width: 640px) {
  .pv26-hero {
    padding: 18px 16px 16px;
  }

  .pv26-hero__title,
  .pv26-hero h1,
  .photo-albums-page .pv26-hero .post_title,
  .mid_col > .mblock.archive-note.pv26-intro strong {
    font-size: 22px !important;
  }

  .photo-albums-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .photo-album-tile__title {
    font-size: 14.3px !important;
    padding: 8px 10px 2px;
  }

  .photo-grid--named {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  @supports selector(:has(*)) {
    .mid_col:has(> article.photo_video) > article.photo_video {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }

  .mid_col > article.photo_video .stories_title {
    font-size: 15.4px !important;
    padding: 10px 10px 12px;
  }
}

@media (max-width: 420px) {
  .photo-albums-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- /video/ section filter chips (real DLE categories) ---------- */
.pv26-filter {
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pv26-filter__label {
  margin: 0 0 8px;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 214, 140, 0.95);
  font-family: "PT Sans Bold", "PT Sans Regular", Arial, sans-serif;
}

.pv26-filter__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 2px 2px 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pv26-filter__chip {
  flex: 0 0 auto;
  display: inline-block;
  padding: 8px 12px;
  min-height: 36px;
  box-sizing: border-box;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14.3px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--pv-radius);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.pv26-filter__chip:hover,
.pv26-filter__chip:focus {
  background: rgba(255, 168, 0, 0.22);
  border-color: rgba(255, 168, 0, 0.65);
  outline: none;
}

.pv26-filter__chip.is-active {
  background: var(--pv-amber-hot);
  border-color: var(--pv-amber-hot);
  color: #1a1408 !important;
  font-family: "PT Sans Bold", Arial, sans-serif;
}

.pv26-filter__chip.is-absent {
  opacity: 0.72;
}

.pv26-filter__live {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 13.2px !important;
  line-height: 1.35 !important;
  color: rgba(236, 242, 255, 0.78);
}

.pv26-filter__empty {
  margin: 12px 0 0;
  padding: 14px 14px 12px;
  background: rgba(15, 23, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid var(--pv-amber-hot);
}

.pv26-filter__empty[hidden] {
  display: none !important;
}

.pv26-filter__empty-text {
  margin: 0 0 10px;
  font-size: 15.4px !important;
  line-height: 1.4 !important;
  color: rgba(236, 242, 255, 0.95);
}

.pv26-filter__empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
}

.pv26-filter__empty-reset,
.pv26-filter__empty-browse {
  display: inline-block;
  padding: 7px 12px;
  font-size: 14.3px !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.pv26-filter__empty-reset {
  background: var(--pv-amber-hot);
  border-color: var(--pv-amber-hot);
  color: #1a1408 !important;
  font-family: "PT Sans Bold", Arial, sans-serif;
}

.pv26-filter__empty-browse:hover,
.pv26-filter__empty-browse:focus,
.pv26-filter__empty-reset:hover,
.pv26-filter__empty-reset:focus {
  border-color: rgba(255, 168, 0, 0.8);
}

.mid_col > article.photo_video.is-pv-hidden,
.mid_col > article.photo_video[hidden] {
  display: none !important;
}

/* DLE sort row on video listing — align with gallery chrome */
.mid_col:has(> article.photo_video) > .sort {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #f5f8fc, #eef2f8);
  border: 1px solid var(--pv-line);
  border-left: 3px solid var(--pv-blue);
}

.mid_col:has(> article.photo_video) > .sort ul.sort {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mid_col:has(> article.photo_video) > .sort ul.sort a {
  display: inline-block;
  padding: 6px 10px;
  font-size: 14.3px !important;
  line-height: 1.25 !important;
  color: var(--pv-blue-deep) !important;
  text-decoration: none !important;
  border: 1px solid var(--pv-line);
  background: #fff;
}

.mid_col:has(> article.photo_video) > .sort ul.sort a:hover,
.mid_col:has(> article.photo_video) > .sort ul.sort a:focus,
.mid_col:has(> article.photo_video) > .sort ul.sort .asc a {
  border-color: rgba(69, 99, 173, 0.45);
  background: var(--pv-paper);
}

@media (max-width: 640px) {
  .pv26-filter__chip {
    padding: 9px 12px;
    min-height: 40px;
    font-size: 15.4px !important;
  }

  .pv26-filter__chips {
    gap: 8px;
    padding-bottom: 8px;
  }
}
