/* Sehat Makaan — Additional Styles */

/* ── Entry content (blog posts / pages) ── */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.entry-content h2 {
  font-size: 1.6rem;
  margin: 2rem 0 1rem;
}

.entry-content h3 {
  font-size: 1.3rem;
  margin: 1.75rem 0 0.9rem;
}

.entry-content h4 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.85rem;
}

.entry-content p {
  margin-bottom: 1.25rem;
  color: var(--sm-text-light);
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
  color: var(--sm-text-light);
}

.entry-content a {
  color: var(--sm-primary);
  text-decoration: underline;
}

.entry-content blockquote {
  border-left: 3px solid var(--sm-primary);
  padding: 16px 24px;
  background: var(--sm-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--sm-text-light);
}

.entry-content img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.entry-content table th,
.entry-content table td {
  padding: 12px 16px;
  border: 1px solid var(--sm-gray-light);
  font-size: 0.9rem;
}

.entry-content table th {
  background: var(--sm-bg);
  font-weight: 600;
}

.resq-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-align: left;
  font-family: var(--font-body);
}

.resq-table thead tr {
  background: var(--sm-primary-deep);
  color: #fff;
}

.resq-table th,
.resq-table td {
  padding: 14px 20px;
  border: 1px solid var(--sm-gray-light);
}

.resq-table th {
  background: var(--sm-primary-deep);
  color: #fff;
  font-weight: 700;
}

.resq-table td:first-child {
  font-weight: 600;
  color: var(--sm-text);
  width: 28%;
  vertical-align: top;
}

.resq-table td:last-child {
  color: var(--sm-text) !important;
}

.resq-table td:last-child a {
  color: var(--sm-primary) !important;
  text-decoration: underline;
  word-break: break-word;
}

.resq-table tbody tr:nth-child(even) {
  background: var(--sm-bg);
}

.resq-table tbody tr:nth-child(odd) {
  background: var(--sm-white);
}

.resq-table tbody tr:last-child td {
  border-bottom: none;
}

.table-responsive {
  overflow-x: auto;
  margin-top: 12px;
  margin-bottom: 24px;
}

/* ── Search form ── */
.search-form {
  display: flex;
  gap: 8px;
}

.search-field {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--sm-gray-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  color: var(--sm-text);
}

.search-field:focus {
  border-color: var(--sm-primary);
}

.search-submit {
  padding: 10px 18px;
  background: var(--sm-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.search-submit:hover {
  background: var(--sm-primary-dark);
}

/* ── Pagination ── */
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sm-text-light);
  border: 1px solid var(--sm-gray-light);
  transition: all var(--transition);
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
  background: var(--sm-primary);
  color: #fff;
  border-color: var(--sm-primary);
}

.nav-links .prev,
.nav-links .next {
  width: auto;
  padding: 0 16px;
  border-radius: var(--radius-xl);
}

/* ── CPT archive: Services ── */
.sm-services-archive .services-header {
  margin-bottom: 40px;
}

/* ── CPT single: Service ── */
.service-single-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.service-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--sm-text-light);
  background: var(--sm-bg);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
}

.service-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--sm-primary);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content>* {
  animation: fadeInUp 0.6s ease both;
}

.hero-badge {
  animation-delay: 0.1s;
}

.hero-title {
  animation-delay: 0.2s;
}

.hero-desc {
  animation-delay: 0.3s;
}

.hero-actions {
  animation-delay: 0.4s;
}

.hero-stats {
  animation-delay: 0.5s;
}

.hero-visual {
  animation: fadeInUp 0.7s ease 0.3s both;
}

/* ── Print ── */
@media print {

  .topbar,
  .site-header,
  .hero,
  .cta-banner,
  .site-footer,
  .scroll-top {
    display: none;
  }

  .section {
    padding-block: 24px;
  }
}