/* ------- Layout Wrapper ------- */
.sm-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem) 2rem;
}

/* ------- Responsive Grid ------- */
.sm-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

/* 2-up on desktop, 1-up on mobile */
.sm-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  padding: clamp(18px, 2.2vw, 28px);
}
@media (min-width: 860px) {
  .sm-card {
    grid-column: span 6;
  }
}

/* ------- Quote Mark ------- */
.sm-quote {
  font-size: clamp(54px, 6vw, 90px);
  line-height: 1;
  color: #f26522; /* Orange */
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  align-self: start;
}

/* ------- Body ------- */
.sm-body { display: grid; gap: 10px; }
.sm-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: clamp(18px, 2vw, 22px);
}
.sm-excerpt {
  color: #333;
  line-height: 1.7;
  font-size: 15px;
}

/* ------- Button ------- */
.sm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f26522;   /* orange background */
  color: #fff;           /* white text */
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border .2s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  width: fit-content;
}
.sm-btn span { font-weight: 900; }

/* Hover effect → white background + orange border + orange text */
.sm-btn:hover {
  background: #fff;
  color: #f26522;
  border-color: #f26522;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(242,101,34,.25);
}

/* ------- Social Icons ------- */
.sm-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.sm-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #f9f9f9;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border .2s ease;
}
.sm-social a svg {
  width: 18px; height: 18px; fill: #111;
}

/* Social icons default colors */
.sm-social .sm-youtube svg { fill: #ff0000; }
.sm-social .sm-facebook svg { fill: #1877f2; }
.sm-social .sm-twitter svg { fill: #111; }
.sm-social .sm-instagram svg { fill: #c32aa3; }

/* Social hover → white bg + border + icon colored */
.sm-social a:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.sm-social .sm-youtube:hover { border-color: #ff0000; }
.sm-social .sm-facebook:hover { border-color: #1877f2; }
.sm-social .sm-twitter:hover { border-color: #1da1f2; }
.sm-social .sm-instagram:hover { border-color: #c32aa3; }

/* Single page block */
.sm-single-social { margin-top: 24px; padding-top: 12px; border-top: 1px solid #eee; }
.sm-single-social h4 { margin: 0 0 10px; }

/* ------- Pagination ------- */
.sm-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
}
.sm-pagination a, .sm-pagination span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid #eee;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: all .2s ease;
}
.sm-pagination a:hover {
  background: #fff;
  color: #f26522;
  border-color: #f26522;
}
.sm-pagination .current {
  background: #f26522;
  color: #fff;
  border-color: #f26522;
}

/* ------- Background option (optional) ------- */
.sm-wrap.sm-home, .sm-wrap.sm-archive {
  background: linear-gradient(180deg, rgba(242,242,242,.35), rgba(255,255,255,0));
  border-radius: 24px;
}
