/* Site additions on top of the reference stylesheet (main.min.css). */

.ad-slot {
  position: relative;
  max-width: 970px;
  min-height: 90px;
  margin: 18px auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ad-slot .adsbygoogle {
  display: block;
  width: 100%;
}

.ad-slot.is-placeholder {
  min-height: 100px;
  border: 1px dashed #c9d1d6;
  border-radius: 6px;
  background: #fafbfc;
}

.ad-slot.is-placeholder .adsbygoogle {
  display: none;
}

.ad-placeholder-note {
  color: #8a949b;
  font-size: 12px;
  letter-spacing: .3px;
  padding: 18px 12px;
}

.ad-row {
  width: 100%;
}

/* Report tables */
.table-row.table-empty {
  display: block;
  padding: 22px 18px;
  color: #5c6a72;
}

.table-row.table-empty a {
  color: #0d6efd;
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 20px 0 6px;
}

.pagination .page-link {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #dde3e7;
  border-radius: 4px;
  color: #212529;
  text-decoration: none;
  background: #fff;
}

.pagination .page-item.active .page-link {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  opacity: .5;
  pointer-events: none;
}

/* Contact email (assembled by JS to keep scrapers away) */
.contact-email li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}

.contact-email .email-link,
.contact-email span {
  word-break: break-word;
}

.footer-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #8a949b;
}

/* Articles */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #2b3238;
}

.article-body img,
.blog-detail img {
  max-width: 100%;
  height: auto;
}

.article-body h2,
.article-body h3 {
  margin-top: 28px;
}

.blog-detail .share-list img {
  width: 28px;
  height: 28px;
}

.blog-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Forms */
.hp-field {
  position: absolute !important;
  left: -5000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.custom-form .form-group input,
.custom-form .form-group textarea {
  width: 100%;
}

.alert {
  border-radius: 6px;
}

/* Small screens: keep the placeholder from taking over the viewport */
@media (max-width: 575px) {
  .ad-slot {
    min-height: 70px;
  }
  .ad-slot.is-placeholder {
    min-height: 80px;
  }
}
