/* Single post layout */
.single {
  padding: 28px 16px 60px;
}

.single__article {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 28px;
}

/* Kicker row */
.single__kickerRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}

.single__kicker {
  font-size: 15px;
  opacity: 0.75;
  min-width: 0;
}

.single__dot {
  padding: 0 8px;
}

.single__author {
  color: inherit;
  text-decoration: none;
}
.single__author:hover { text-decoration: underline; }

/* Title / excerpt */
.single__title {
  margin: 10px 0 0;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.single__excerpt {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.55;
  opacity: 0.85;
}

/* Share */
.single__share{
  display:flex;
  gap:10px;
  align-items:center;
  flex-shrink: 0;
}

/* Mobile primary share button */
.single__shareBtn{
  display:none;              /* shown on mobile */
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border: 1px solid #e6e6e6;
  background: #fafafa;
  border-radius: 999px;
  color: inherit;
  font: inherit;
  opacity: .9;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.single__shareBtn:hover { opacity: 1; }
.single__shareBtn:active { transform: translateY(1px); }

.single__shareBtnText{
  font-size: 15px;
}

/* Desktop icon row */
.single__shareIcons{
  display:flex;
  gap:10px;
  align-items:center;
}

.single__shareLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;               /* finger-friendly even on desktop */
  height: 34px;
  border-radius: 999px;
  text-decoration:none;
  color:inherit;
  opacity:.7;
  background: transparent;
}

.single__shareLink:hover{
  opacity:1;
  background: #f2f2f2;
}

.single__shareIcon{
  display:block;
  fill: currentColor;
}

/* Hero */
.single__hero {
  margin: 18px 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
}

.single__heroImg {
  width: 100%;
  height: auto;
  display: block;
}

.single__heroCaption{
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border-top: 0;
  font-size: 14px;
  opacity: 0.7;
}

/* Content (reading improvements + DM Serif Text) */
.single__content {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}


.single__content p {
  margin: 0 0 1em;
}

/* Lists (WP defaults can look tight without this) */
.single__content ul,
.single__content ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

.single__content li {
  margin: 0.35em 0;
}

/* Headings inside content should stay clean; don’t force DM Serif on them */
.single__content h2,
.single__content h3,
.single__content h4 {
  margin: 1.6em 0 0.6em;
  line-height: 1.2;
  font-family: inherit;      /* keep your theme’s heading identity */
}

/* Quotes */
.single__content blockquote {
  margin: 1.2em 0;
  padding: 0.2em 0 0.2em 1em;
  border-left: 3px solid #e6e6e6;
  opacity: 0.95;
}

/* Links */
.single__content a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.single__content a:hover { opacity: 0.8; }

.single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Meta tags */
.single__meta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eee;
}

.single__metaGroup { margin-bottom: 16px; }
.single__metaGroup:last-child { margin-bottom: 0; }

.single__metaLabel {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  margin-bottom: 8px;
}

.single__metaList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.single__metaTag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  background: #f5f5f5;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.single__metaTag:hover {
  background: #e8e8e8;
  border-color: #d0d0d0;
  color: #000;
}

/* Footer nav */
.single__footer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.single__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.single__navItem a {
  display: inline-block;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fafafa;
  text-decoration: none;
}

.single__navItem--right { text-align: right; }

/* Mobile */
@media (max-width: 720px) {
  .single { padding: 18px 12px 48px; }

  .single__article {
    padding: 18px;
    border-radius: 12px;
  }

  .single__title {
    font-size: 32px;
    line-height: 1.12;
  }

  .single__excerpt {
    font-size: 17px;
  }

  /* Reading: slightly smaller than desktop, still comfortable */
  .single__content {
    font-size: 16.5px;
    line-height: 1.75;
  }

  /* Make the header row not fight for space */
  .single__kickerRow{
    align-items:flex-start;
  }

  /* Mobile share: show ONE button, hide the 4 icons */
  .single__shareBtn{ display:inline-flex; }
  .single__shareIcons{ display:none; }

  .single__nav {
    grid-template-columns: 1fr;
  }
  .single__navItem--right {
    text-align: left;
  }

  .single__meta {
    margin-top: 22px;
    padding-top: 18px;
  }
  .single__metaLabel { font-size: 13px; }
  .single__metaTag {
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* Very small screens */
@media (max-width: 420px){
  .single__title{ font-size: 28px; }
  .single__kicker{ font-size: 14px; }
  .single__content{ font-size: 16px; }
}

.single__kicker,
.single__excerpt,
.single__heroCaption,
.single__metaLabel {
  font-weight: 400;
  opacity: 0.75;
}

.single__content p {
  margin: 0 0 1.15em;
}
