/* XPrimeHub — SEO header & footer (mobile responsive) */

:root {
  --xph-accent: #ff0080;
  --xph-accent-light: #ff5fbf;
  --xph-text: #a0a0b0;
  --xph-muted: #6a6a78;
}

.xph-seo-header {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 20px;
  padding: 0 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.xph-seo-title {
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 12px;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.xph-seo-lead {
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  line-height: 1.65;
  color: var(--xph-text);
  margin: 0 0 16px;
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.xph-seo-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

.xph-seo-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--xph-accent-light) !important;
  background: rgba(255, 0, 128, 0.12);
  border: 1px solid rgba(255, 0, 128, 0.28);
  border-radius: 20px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.xph-seo-tag:hover {
  background: rgba(255, 0, 128, 0.28);
  color: #fff !important;
  transform: translateY(-1px);
}

.xph-seo-footer {
  width: 100%;
  max-width: 1400px;
  margin: 24px auto 16px;
  padding: 0 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.xph-seo-footer-inner {
  background: linear-gradient(165deg, rgba(20, 20, 24, 0.95) 0%, rgba(87, 10, 82, 0.25) 50%, rgba(20, 20, 24, 0.95) 100%);
  border: 1px solid rgba(255, 0, 128, 0.2);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  box-sizing: border-box;
}

.xph-seo-footer h2 {
  font-size: clamp(0.88rem, 2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.5;
  color: #efefef;
  margin: 0 0 12px;
  word-wrap: break-word;
}

.xph-seo-footer h3 {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 600;
  color: var(--xph-accent-light);
  margin: 18px 0 8px;
}

.xph-seo-text {
  font-size: clamp(0.8rem, 1.8vw, 0.88rem);
  line-height: 1.7;
  color: var(--xph-text);
  margin: 0 0 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.xph-seo-keyline {
  font-size: clamp(0.72rem, 1.6vw, 0.78rem);
  line-height: 1.6;
  color: var(--xph-muted);
  margin: 8px 0 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.xph-seo-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 128, 0.4), transparent);
  margin: 20px auto;
  max-width: 80%;
}

.xph-seo-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.xph-seo-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8d4e8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.xph-seo-footer-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

/* Single post tags */
.wp-dle-single-post .post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.wp-dle-single-post .post-tags .tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--xph-accent-light);
  margin-right: 4px;
}

.wp-dle-single-post .post-tags .tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c8d4e8 !important;
  background: rgba(255, 0, 128, 0.12);
  border: 1px solid rgba(255, 0, 128, 0.25);
  border-radius: 16px;
  text-decoration: none !important;
}

.wp-dle-single-post .post-tags .tag:hover {
  background: rgba(255, 0, 128, 0.28);
  color: #fff !important;
}

@media (max-width: 768px) {
  .xph-seo-header, .xph-seo-footer { padding: 0 10px; }
  .xph-seo-footer-inner { padding: 18px 14px; }
  .xph-seo-title { font-size: 1rem; }
  .xph-seo-lead { font-size: 0.84rem; }
  .xph-seo-tag { font-size: 0.72rem; padding: 5px 11px; }
}

@media (max-width: 480px) {
  .xph-seo-header { margin-bottom: 14px; padding: 0 8px; }
  .xph-seo-footer { padding: 0 8px; }
  .xph-seo-footer-inner { padding: 14px 10px; }
  .xph-seo-title { font-size: 0.92rem; }
  .xph-seo-lead { font-size: 0.78rem; }
  .xph-seo-tags { gap: 5px; }
  .xph-seo-tag { font-size: 0.68rem; padding: 4px 9px; }
}
