/* Styles used only by publications page. */

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.pub {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.pub .yr {
  font-family: var(--f-head);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  padding-top: 4px;
  white-space: nowrap;
}

.pub .yr.forth {
  color: var(--red);
}

.pub .ttl {
  font-family: var(--f-body);
  font-size: 1.22rem;
  line-height: 1.25;
}

.pub .ttl a {
  color: var(--bone);
}

.pub .ttl a:hover {
  color: var(--sage);
}

.pub .au {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.25;
}

.pub .ven {
  font-style: italic;
  color: #cfc8b8;
  font-size: 0.93rem;
  line-height: 1.25;
}

@media (max-width: 560px) {
  .pub {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.dgrid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.dset h3 {
  margin-bottom: 2px;
}

.dset .kind {
  font-size: 0.7rem;
  color: var(--accent-hot);
  text-transform: uppercase;
}

.dset .facts {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 12px 0;
}

.dset .facts span::before {
  content: "▸ ";
  color: var(--accent);
}

.dset p {
  font-size: 0.93rem;
  color: #dcd5c4;
  line-height: 1.6;
}

.dset:hover {
  border-color: var(--sage);
}

.vgrid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.vgrid-single {
  grid-template-columns: minmax(0, 640px);
}

.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #000;
  display: block;
  overflow: hidden;
}

.yt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35, 35, 38, 0.7), rgba(35, 35, 38, 0.1));
  transition: opacity 0.3s;
}

.yt::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  background: var(--accent);
  clip-path: polygon(20% 8%, 20% 92%, 94% 50%);
  transition: transform 0.25s;
}

.yt:hover::after {
  transform: translate(-50%, -50%) scale(1.15);
}

.vcard h3 {
  font-size: 1.25rem;
  margin: 14px 0 4px;
  line-height: 1.2;
}

.vcard p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

.talks {
  columns: 2 340px;
  column-gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.talks li {
  break-inside: avoid;
  padding: 0 0 18px 18px;
  border-left: 1px solid var(--line-strong);
  margin-bottom: 4px;
}

.talks .when {
  font-size: 0.74rem;
  color: var(--sage);
  text-transform: uppercase;
}

.talks .ven {
  color: var(--muted);
  font-size: 0.93rem;
}

.review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.review-list li {
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

.talks .when,
.dset .kind,
.dset .facts,
.review-list li {
  font-family: var(--f-head);
  letter-spacing: 0.14em;
}

.dset h3 {
  font-family: var(--f-display);
  font-size: 1.9rem;
  text-transform: none;
}

.dset h3 {
  font-weight: 400;
}

.dset h3 {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' result='t'/><feColorMatrix in='t' type='matrix' values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/><feComponentTransfer><feFuncR type='linear' slope='.5' intercept='.5'/><feFuncG type='linear' slope='.5' intercept='.5'/><feFuncB type='linear' slope='.5' intercept='.5'/></feComponentTransfer></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"), #c9a96b;
  background-blend-mode: multiply;
  background-size: 160px, auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: none !important;
}

.yt img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt::before {
  z-index: 1;
}

.yt::after {
  z-index: 2;
}
