/* The homepage is a live print spread. Article routes retain their reading styles. */
body.eg-press-home {
  background: #faf4e9 !important;
  color: #302932;
}
body.eg-press-home #header {
  max-width: 1440px;
  box-sizing: border-box;
  margin: auto;
}
body.eg-press-home #header .title h1 a {
  color: #352c38 !important;
}
body.eg-press-home #header .title h1 .eg-brand-latin {
  color: #a13f43;
  font:
    italic 28px/1 Georgia,
    serif;
  letter-spacing: -0.09em;
}
.eg-edition {
  --ink: #322c33;
  --accent: #923347;
  color: var(--ink);
  font-family: EgSuit, sans-serif;
  position: relative;
  isolation: isolate;
  margin: 0 auto 2rem;
  max-width: 1600px;
}
.eg-edition *,
.eg-edition *::before,
.eg-edition *::after {
  box-sizing: border-box;
}
.eg-edition a {
  color: inherit;
  text-decoration: none;
}
.eg-edition :is(button, summary) {
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.eg-edition :focus-visible {
  outline: 3px solid #893357;
  outline-offset: 4px;
}
.ed-foot {
  max-width: 1290px;
  margin: auto;
  width: 91%;
}
.ed-settings {
  position: relative;
  z-index: 9;
}
.ed-settings summary {
  list-style: none;
  padding: 9px 2px;
}
.ed-settings summary::-webkit-details-marker {
  display: none;
}
.ed-settings summary::after {
  content: " ⌄";
}
.ed-panel {
  position: absolute;
  width: min(285px, 84vw);
  inset-inline-end: 0;
  top: 100%;
  padding: 18px;
  background: #fffbf3;
  border: 1px solid #907883;
  box-shadow: 3px 6px 0 #402d3714;
}
.ed-panel label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 650;
}
.ed-panel input {
  accent-color: #91404e;
}
.ed-panel p {
  margin: 10px 0;
  color: #5c5055;
  line-height: 1.5;
}
.ed-panel button {
  padding: 7px;
  border: 0;
  border-bottom: 1px solid #b69ea3;
  margin-inline-end: 7px;
  background: none;
}
.ed-panel button:disabled {
  cursor: auto;
}
body.eg-press-home .eg-library::before {
  background: #fff9ef;
  border-radius: 3px;
  box-shadow: -5px 5px #c8d9cd;
  inset: 0 -12px;
}
/* Draw the native skin controls without its remote icon font. */
body.eg-press-home #header .mobile-menu::before {
  content: "☰";
  font:
    22px/1 Arial,
    sans-serif;
  color: #433744;
}
body.eg-press-home #header .mobile-menu.on::before,
body.eg-press-home #header .search .close-search::before {
  content: "×";
  font:
    24px/1 Arial,
    sans-serif;
  color: #433744;
}
body.eg-press-home #header .search > .inner::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid #594753;
  border-radius: 100%;
  padding: 0;
  margin: 12px 14px 0 0;
}
body.eg-press-home #header .search:not(.on) > .inner::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  top: 27px;
  right: 9px;
  background: #594753;
  transform: rotate(45deg);
  pointer-events: none;
}
/* The orbit shares the paper, ink and photography of the archive below it. */
.ed-stage {
  position:relative; isolation:isolate; overflow:hidden; overflow:clip;
  height:clamp(340px,32vw,438px); touch-action:pan-y pinch-zoom;
  cursor:grab; user-select:none; -webkit-user-select:none;
  background:radial-gradient(ellipse at 52% 55%,#efdcc6 0%,#f3e7d9 22%,#faf4e900 65%);
}
.ed-stage.ed-dragging, .ed-stage.ed-dragging a {cursor:grabbing;}
.ed-stage::before,.ed-stage::after {
  content:""; position:absolute; z-index:-1; inset:32% 6% 21%;
  border-radius:50%; border:1px solid #936a6561; transform:rotate(-3deg);pointer-events:none;
}
.ed-stage::after {
  inset:33% 7% 22%; border-style:dashed; border-color:#91505d46;
}
.ed-ink {
  position:absolute; inset:10% 0; width:100%; height:80%;
  opacity:.34; pointer-events:none;
  mask-image:linear-gradient(transparent,#000 16% 83%,transparent);
}
.ed-spread {position:absolute;inset:0;z-index:1;pointer-events:none;}
.ed-plate {
  --inkplate:#873e42;--mount:#f2d3c5;--edge:#c27b6b;
  position:absolute;top:49%;left:50%;width:var(--card-width,270px);
  pointer-events:auto;display:block;padding:7px 7px 0;background:#fffaee;border-radius:3px;
  border:1px solid #d5c4b2;box-shadow:0 2px 2px #47343f1a,1px 6px 9px #4d373d20;
  cursor:pointer;will-change:transform;
}
.ed-plate[data-pigment=gear] {--inkplate:#63506e;--mount:#ddcfe9;--edge:#a484ad;}
.ed-plate[data-pigment=build] {--inkplate:#266860;--mount:#c6d9cd;--edge:#739c8b;}
.ed-plate.ed-front {box-shadow:0 3px 1px -1px var(--edge),0 12px 20px -10px #44323b72;}
.ed-photo {position:relative;overflow:hidden;isolation:isolate;aspect-ratio:2.0;background:var(--mount);}
.ed-photo img {width:100%;height:100%;object-fit:cover;display:block;-webkit-user-drag:none;}
.ed-photo>img {filter:saturate(.82);}
.ed-developed {position:absolute;inset:0;opacity:0;pointer-events:none;mask-image:radial-gradient(circle at var(--lens-x,50%) var(--lens-y,50%),#000 22%,transparent 66%);}
.ed-plate:is(:hover,:focus-visible) .ed-developed {opacity:1;}
.ed-copy {padding:10px 7px 13px;}
.ed-line {display:flex;justify-content:space-between;align-items:baseline;gap:6px;color:var(--inkplate);font:650 12px/1.35 EgSuit,sans-serif;}
.ed-line span {overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.ed-line time {color:#665863;font-weight:500;white-space:nowrap;}
.ed-copy h3 {font:710 clamp(17px,1.55vw,23px)/1.32 EgSuit,sans-serif;color:#302932;margin:6px 0 0;letter-spacing:-.04em;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.64em;}
.ed-foot {display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline;
  padding:8px 0 15px;border-bottom:1px solid #bda9a3;font-size:13px;line-height:1.5;color:#705766;}
.ed-hint {margin-inline-start:auto;}
.ed-position {font-variant-numeric:tabular-nums;min-width:5ch;text-align:end;color:#563142;}
.ed-caption {display:flex;align-items:baseline;gap:8px;min-width:0;color:#533848;}
.ed-caption strong {color:#893e52;font-size:12px;flex:none;}
.ed-caption a {text-decoration:underline;text-underline-offset:3px;}
.ed-caption[hidden] {display:none;}
@media(max-width:650px){
  .ed-stage {height:332px;}
  .ed-stage::before {inset:32% -5% 22%;}
  .ed-stage::after {inset:34% -3% 24%;}
  .ed-copy {padding:8px 4px 11px;}
  .ed-copy h3 {font-size:18px;}
  .ed-foot {padding:6px 0 12px;}
  .ed-caption {width:100%;}
  .ed-hint {margin-inline-start:0;}
  .ed-position {margin-inline-start:auto;}
}
@media(prefers-reduced-motion:reduce){
  .ed-developed {display:none;}
}

.eg-library .eg-rows { margin-block-start: 1.5rem; }
.eg-library .eg-row:not(:has(.eg-row-photo)) {
  display: block;
  align-self: center;
  padding-block: 1.25rem;
  border-block-start: 1px solid #d2c2b5;
}
#tt-body-category.eg-atlas #content > .inner { display: flow-root; overflow: visible; }
@media (max-width: 759px) {
  #tt-body-category.eg-atlas #wrap > .inner { padding-inline: 18px; }
}

