@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/divan/assets/fonts/IRANSansX-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/divan/assets/fonts/IRANSansX-Bold.woff2") format("woff2");
}

html.ssr #app { display: none !important; }
html.ssr .seo-crawl {
  max-width: none;
  margin: 0;
  padding: 0;
  line-height: inherit;
}
html.ssr .site-menu { display: block; }
html.ssr .site-menu > summary {
  list-style: none;
  cursor: pointer;
}
html.ssr .site-menu > summary::-webkit-details-marker { display: none; }
html.ssr .site-menu .site-dropdown { display: none; }
html.ssr .site-menu[open] .site-dropdown { display: block; }

html.ssr body {
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
}
html.ssr .site-menu {
  flex-shrink: 0;
  position: relative;
}
html.ssr .site-menu > summary.icon-btn {
  display: grid;
  place-items: center;
}
html.ssr .site-menu .menu-bars {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
a.poet-card,
a.cat-row {
  text-decoration: none;
  color: inherit;
}
.poem-list > li > a {
  padding: 0.85rem 1rem;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.poem-list > li > a:hover { border-color: #c5d4e3; }
.poem-list > li > a strong { font-size: 0.98rem; }
.poem-list > li > a small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.seo-crawl .bio-teaser-img {
  width: 160px;
  height: 204px;
  object-fit: cover;
  border-radius: 12px;
  float: right;
  margin: 0 0 0.75rem 1rem;
}
.seo-crawl .poet-bio-teaser::after {
  content: "";
  display: block;
  clear: both;
}
.seo-crawl .poem-body p {
  margin: 0 0 0.55rem;
  padding: 0.8rem 1rem;
  background: var(--bg-soft);
  border-radius: 12px;
  text-align: center;
  line-height: 2.05;
}
