/* iFunApps Blog Custom Styles */

/* Code blocks */
pre, code {
  background: #12121a !important;
  border: 1px solid #1e1e2e;
  border-radius: 8px;
  color: #a29bfe;
}
pre { padding: 1.2em; overflow-x: auto; }
code { padding: 0.15em 0.4em; font-size: 0.9em; }

/* Cards for content blocks */
.wp-block-group {
  border-radius: 12px;
}

/* Images */
.wp-block-image img,
.wp-block-post-featured-image img {
  border-radius: 12px;
}

/* CTA Button */
.ifunapps-cta {
  margin: 2.5rem 0;
  text-align: center;
}
.ifunapps-cta a {
  display: inline-block;
  background: #6c5ce7;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.ifunapps-cta a:hover {
  background: #a29bfe;
  transform: translateY(-2px);
}

/* Header bar */
.wp-block-template-part header {
  background: #0a0a0f;
  border-bottom: 1px solid #1e1e2e;
}

/* Footer */
.wp-block-template-part footer {
  background: #12121a;
  border-top: 1px solid #1e1e2e;
  color: #8888a0;
}

/* Post meta */
.wp-block-post-date,
.wp-block-post-terms {
  color: #8888a0;
  font-size: 0.9rem;
}

/* Tables */
table { border-color: #1e1e2e; }
th { background: #12121a; color: #e0e0e8; }
td { border-color: #1e1e2e; }

/* Selection */
::selection {
  background: #6c5ce7;
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: #1e1e2e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6c5ce7; }

/* Post list cards on archive/home */
.wp-block-post {
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.wp-block-post:hover {
  border-color: #6c5ce7;
}

/* Category/tag badges */
.wp-block-post-terms a {
  background: #1e1e2e;
  color: #a29bfe !important;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.2s;
}
.wp-block-post-terms a:hover {
  background: #6c5ce7;
  color: #fff !important;
}
