/* Dynamic PHP integration additions. The approved visual system remains in style.css. */
.dynamic-empty-state {
  padding: 70px 24px;
  border: 1px solid rgba(23, 42, 78, 0.1);
  border-radius: 18px;
  background: #fff;
  color: #53617a;
  text-align: center;
}

.news-posts .item .img2 img,
.news-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-posts .item .img2 {
  min-height: 300px;
  overflow: hidden;
  border-radius: 18px;
}

.dynamic-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 45px;
}

.dynamic-pagination a,
.dynamic-pagination span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(28, 50, 92, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #17264a;
}

.dynamic-pagination .is-current {
  border-color: transparent;
  background: linear-gradient(135deg, #18376a, #24588e);
  color: #fff;
}

.legacy-editor-content {
  color: #3f4960;
  font-size: 17px;
  line-height: 1.9;
}

.legacy-editor-content img,
.editable-page-content img {
  max-width: 100%;
  height: auto;
}

.legacy-editor-content iframe {
  max-width: 100%;
}

.legacy-section-notice {
  margin-bottom: 28px;
  padding: 14px 18px;
  border-left: 3px solid #d1a36f;
  background: rgba(209, 163, 111, 0.08);
  color: #53617a;
}

.contact-form-status {
  display: none;
  margin-bottom: 22px;
  padding: 13px 16px;
  border-radius: 10px;
  line-height: 1.6;
}

.contact-form-status.is-visible {
  display: block;
}

.contact-form-status.is-success {
  background: #e9f7ef;
  color: #1c6a3b;
}

.contact-form-status.is-error {
  background: #fff0f0;
  color: #a33838;
}

.cf-required-note {
  margin-top: 14px;
  color: #78849a;
  font-size: 13px;
}

.home-page.no-active-banner .main-content {
  padding-top: 100px;
}

@media (max-width: 991px) {
  .news-posts .item .img2 {
    min-height: 240px;
  }

  .legacy-editor-content {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .news-posts .item .img2 {
    min-height: 210px;
  }

  .dynamic-pagination a,
  .dynamic-pagination span {
    min-width: 38px;
    min-height: 38px;
    padding: 6px 10px;
  }
}

