/* ================================================================
   V1.30 — MAGAZINE VISUAL SYSTEM
   Archive/category presentation + non-destructive article utilities only.
   Existing Magazine article body and hero geometry remain intact.
   ================================================================ */

/* Article: keep existing PageHero geometry; only make category actionable
   and add a clean publication/share row. */
.tsh-magazine-page .tsh-page-hero__kicker-link{
  color:inherit;
  text-decoration:none;
  text-underline-offset:.2em;
}
.tsh-magazine-page .tsh-page-hero__kicker-link:hover,
.tsh-magazine-page .tsh-page-hero__kicker-link:focus-visible{
  color:var(--tsh-content-gold-deep);
  text-decoration:underline;
}
.tsh-magazine-page .tsh-page-hero__kicker-link:focus-visible{
  outline:2px solid rgba(156,103,29,.42);
  outline-offset:4px;
  border-radius:2px;
}

.tsh-magazine-article-meta{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:18px 24px;
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid rgba(156,103,29,.18);
}
.tsh-magazine-article-meta__publisher{
  display:flex;
  min-width:0;
  align-items:center;
  gap:10px;
}
.tsh-magazine-article-meta__publisher>img{
  display:block;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  object-fit:cover;
}
.tsh-magazine-article-meta__publisher strong{
  display:block;
  color:var(--tsh-content-ink);
  font-size:13px;
  font-weight:700;
  line-height:1.25;
}
.tsh-magazine-article-meta__publisher p{
  margin:3px 0 0;
  color:var(--tsh-content-muted);
  font-size:11.5px;
  font-weight:500;
  line-height:1.35;
}

.tsh-magazine-share-tools{
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
}
.tsh-magazine-share-tools__label{
  margin-right:4px;
  color:var(--tsh-content-muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.tsh-magazine-share-tools__button{
  display:inline-flex;
  width:34px;
  height:34px;
  flex:0 0 34px;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid #ded8d0;
  border-radius:50%;
  background:#fff;
  color:#3c4743;
  cursor:pointer;
  text-decoration:none;
  transition:border-color .18s ease,color .18s ease,transform .18s ease,background .18s ease;
}
.tsh-magazine-share-tools__button svg{
  width:15px;
  height:15px;
  fill:currentColor;
}
.tsh-magazine-share-tools__button:hover,
.tsh-magazine-share-tools__button:focus-visible{
  border-color:#bfae98;
  background:#fbf8f3;
  color:#65400d;
  transform:translateY(-1px);
}
.tsh-magazine-share-tools__button:focus-visible{
  outline:2px solid rgba(156,103,29,.4);
  outline-offset:2px;
}
.tsh-magazine-share-tools__button:disabled{
  cursor:not-allowed;
  opacity:.45;
  transform:none;
}
.tsh-magazine-share-tools__button.is-copied{
  border-color:#94ae9e;
  color:#176745;
}
.tsh-magazine-share-tools__status{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

/* Magazine archive and category pages */
.tsh-magazine-archive .tsh-page-hero--archive{
  background:#fff;
}
.tsh-magazine-archive .tsh-page-hero--archive .tsh-page-hero__ambient{
  display:none;
}
.tsh-magazine-archive .tsh-page-hero--archive .tsh-page-hero__frame{
  width:min(1220px,calc(100% - var(--tsh-page-gutter)));
  padding-top:64px;
  padding-bottom:42px;
}
.tsh-magazine-archive .tsh-page-hero--archive .tsh-page-hero__copy{
  max-width:900px;
}
.tsh-magazine-archive .tsh-page-hero--archive h1{
  max-width:850px;
  font-size:clamp(46px,5vw,72px);
  letter-spacing:-.04em;
}
.tsh-magazine-archive .tsh-page-hero--archive .tsh-page-hero__deck{
  max-width:720px;
  color:#5f6764;
  font-size:17px;
  line-height:1.65;
}

.tsh-magazine-archive-section{
  width:min(1220px,calc(100% - var(--tsh-page-gutter)));
  margin:28px auto 104px;
}
.tsh-magazine-archive-section+.tsh-magazine-archive-section{
  margin-top:0;
}
.tsh-magazine-archive-section__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
  padding-bottom:14px;
  border-bottom:1px solid #e8e1d8;
}
.tsh-magazine-archive-section__head p{
  margin:0 0 6px;
  color:#7d6b55;
  font-size:11px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.tsh-magazine-archive-section__head h2{
  margin:0;
  color:#171b19;
  font-size:clamp(28px,3.2vw,42px);
  font-weight:700;
  letter-spacing:-.03em;
  line-height:1.08;
}

.tsh-magazine-topics{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
}
.tsh-magazine-topics a{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  gap:7px;
  padding:8px 12px;
  border:1px solid #e3ddd5;
  border-radius:999px;
  background:#fff;
  color:#3f4945;
  font-size:12px;
  font-weight:600;
  line-height:1.2;
  text-decoration:none;
  transition:border-color .18s ease,background .18s ease,color .18s ease;
}
.tsh-magazine-topics a small{
  color:#8b918e;
  font-size:10px;
  font-weight:600;
}
.tsh-magazine-topics a:hover,
.tsh-magazine-topics a:focus-visible{
  border-color:#c7b8a5;
  background:#faf7f2;
  color:#65400d;
}
.tsh-magazine-topics a:focus-visible{
  outline:2px solid rgba(156,103,29,.34);
  outline-offset:2px;
}

.tsh-magazine-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:46px 30px;
}
.tsh-magazine-card{
  min-width:0;
}
.tsh-magazine-card__media{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  border-radius:6px;
  background:#f1efeb;
}
.tsh-magazine-card__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .38s ease,filter .28s ease;
}
.tsh-magazine-card__placeholder{
  display:block;
  width:100%;
  height:100%;
  background:#f1efeb;
}
.tsh-magazine-card__body{
  padding-top:16px;
}
.tsh-magazine-card__category{
  display:inline-block;
  margin-bottom:8px;
  color:#8b5e1e;
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  line-height:1.3;
  text-decoration:none;
  text-transform:uppercase;
}
a.tsh-magazine-card__category:hover,
a.tsh-magazine-card__category:focus-visible{
  color:#5f3b0d;
  text-decoration:underline;
  text-underline-offset:.2em;
}
.tsh-magazine-card h2{
  margin:0;
  color:#171b19;
  font-size:clamp(20px,1.65vw,24px);
  font-weight:700;
  letter-spacing:-.025em;
  line-height:1.18;
}
.tsh-magazine-card h2 a{
  color:inherit;
  text-decoration:none;
}
.tsh-magazine-card__body>p{
  display:-webkit-box;
  margin:11px 0 0;
  overflow:hidden;
  color:#606966;
  font-size:14px;
  line-height:1.58;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.tsh-magazine-card:hover .tsh-magazine-card__media img{
  transform:scale(1.025);
  filter:saturate(1.025) contrast(1.01);
}
.tsh-magazine-card h2 a:focus-visible,
.tsh-magazine-card__media:focus-visible{
  outline:2px solid rgba(156,103,29,.42);
  outline-offset:4px;
  border-radius:3px;
}

@media(max-width:900px){
  .tsh-magazine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 24px}
  .tsh-magazine-article-meta{align-items:flex-start;flex-direction:column}
  .tsh-magazine-share-tools{justify-content:flex-start}
}

@media(max-width:620px){
  .tsh-magazine-archive .tsh-page-hero--archive .tsh-page-hero__frame{
    padding-top:38px;
    padding-bottom:30px;
  }
  .tsh-magazine-archive .tsh-page-hero--archive h1{
    font-size:clamp(38px,11vw,52px);
  }
  .tsh-magazine-archive-section{margin-top:22px;margin-bottom:78px}
  .tsh-magazine-archive-section__head{margin-bottom:22px}
  .tsh-magazine-topics{
    flex-wrap:nowrap;
    margin-inline:calc(var(--tsh-page-gutter) / -2);
    padding-inline:calc(var(--tsh-page-gutter) / 2);
    overflow-x:auto;
    scrollbar-width:thin;
  }
  .tsh-magazine-topics a{flex:0 0 auto;min-height:40px}
  .tsh-magazine-grid{grid-template-columns:1fr;gap:36px}
  .tsh-magazine-card__media{border-radius:5px}
  .tsh-magazine-card h2{font-size:22px}

  .tsh-magazine-article-meta{margin-top:20px;padding-top:16px;gap:15px}
  .tsh-magazine-share-tools{width:100%;gap:6px;flex-wrap:wrap}
  .tsh-magazine-share-tools__label{width:100%;margin:0 0 2px}
  .tsh-magazine-share-tools__button{width:40px;height:40px;flex-basis:40px}
  .tsh-magazine-article-meta__publisher>img{width:40px;height:40px;flex-basis:40px}
}

@media print{
  .tsh-magazine-share-tools{display:none!important}
}
