/* ================================
   SystIQ Blog Base
================================ */

body {
  margin: 0;
}

.systiq-post-wrap,
.systiq-blog-home {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ================================
   Shared Blog Header
================================ */

.systiq-site-header {
  background: #ffffff;
  border-bottom: 0.5px solid #E5E7EB;
  padding: 16px 42px;
}

.systiq-site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.systiq-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.systiq-logo-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 30px;
  height: 30px;
}

.systiq-logo-mark span {
  background: #0D9488;
  border-radius: 4px;
}

.systiq-logo-mark span:nth-child(2) {
  opacity: 0.65;
}

.systiq-logo-mark span:nth-child(3) {
  opacity: 0.4;
}

.systiq-logo-mark span:nth-child(4) {
  opacity: 0.22;
}

.systiq-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.03em;
}

.systiq-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0D9488;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
}

.systiq-header-cta:hover {
  background: #0F766E;
  color: #ffffff;
}

/* ================================
   Blog Homepage
================================ */

.systiq-blog-home {
  background: #ffffff;
  min-height: 100vh;
}

.systiq-blog-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 42px 28px;
}

.systiq-blog-hero h1 {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 750;
  color: #111827;
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}

.systiq-blog-hero h1 span {
  color: #0D9488;
}

.systiq-blog-hero p {
  font-size: 16px;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}

.systiq-post-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 42px 72px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
}

.systiq-post-card {
  display: flex;
  flex-direction: column;
}

.systiq-post-card-image {
  display: block;
  background: #F3F4F6;
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 16px;
}

.systiq-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.systiq-post-card-category {
  align-self: flex-start;
  background: #CCFBF1;
  color: #0F766E;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.systiq-post-card-title {
  font-size: 22px;
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.systiq-post-card-title a {
  color: #111827;
  text-decoration: none;
}

.systiq-post-card-title a:hover {
  color: #0D9488;
}

.systiq-post-card-date {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
  text-transform: uppercase;
}

.systiq-pagination {
  grid-column: 1 / -1;
  margin-top: 32px;
}

/* ================================
   Single Blog Post
================================ */

.systiq-post-wrap {
  background: #F9FAFB;
}

.systiq-post {
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 28px 0;
}

.post-category {
  background: #CCFBF1;
  color: #0F766E;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}

.systiq-post-title {
  font-size: 40px;
  font-weight: 700;
  color: #111827;
  line-height: 1.28;
  margin: 0 0 18px;
}

.systiq-post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 0.5px solid #E5E7EB;
  margin-bottom: 28px;
}

.systiq-post-meta span {
  font-size: 12px;
  color: #6B7280;
}

.meta-dot {
  color: #D1D5DB !important;
}

.systiq-post-content p {
  font-size: 15px;
  color: #111827;
  line-height: 1.78;
  margin: 0 0 18px;
}

.systiq-post-content h2 {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin: 34px 0 14px;
  line-height: 1.3;
}

.systiq-post-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 28px 0 12px;
  line-height: 1.35;
}

.systiq-post-content ul,
.systiq-post-content ol {
  margin: 0 0 22px 22px;
  padding: 0;
}

.systiq-post-content li {
  font-size: 15px;
  color: #111827;
  line-height: 1.75;
  margin-bottom: 8px;
}

.systiq-post-content a {
  color: #0D9488;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.systiq-post-content blockquote,
.pull-quote {
  border-left: 3px solid #0D9488;
  padding: 15px 20px;
  background: #F0FDF9;
  margin: 28px 0;
}

.systiq-post-content blockquote p,
.pull-quote p {
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

/* ================================
   Inline CTA
================================ */

.inline-cta {
  border: 0.5px solid #E5E7EB;
  border-left: 3px solid #0D9488;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  background: #fff;
  margin: 32px 0;
}

.inline-cta-label {
  font-size: 10px;
  font-weight: 600;
  color: #0F766E;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 5px;
}

.inline-cta-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 7px;
  line-height: 1.4;
}

.inline-cta-body {
  font-size: 13px;
  color: #6B7280;
  margin: 0 0 13px;
  line-height: 1.55;
}

.inline-cta-link {
  font-size: 13px;
  color: #0D9488;
  font-weight: 500;
  text-decoration: none;
}

/* ================================
   End CTA
================================ */

.end-cta {
  background: #111827;
  border-radius: 12px;
  padding: 30px 26px;
  margin: 44px 0 36px;
  text-align: center;
}

.end-cta-label {
  font-size: 10px;
  color: #0D9488;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 9px;
}

.end-cta-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}

.end-cta-body {
  font-size: 14px;
  color: #9CA3AF;
  margin: 0 0 22px;
  line-height: 1.6;
}

.end-cta-btn {
  display: inline-block;
  background: #0D9488;
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
}

.end-cta-btn:hover {
  background: #0F766E;
  color: #fff;
}

/* ================================
   Post Tags
================================ */

.systiq-post-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 22px 0 36px;
  border-top: 0.5px solid #E5E7EB;
  margin-top: 8px;
}

.systiq-post-tags a {
  font-size: 11px;
  color: #6B7280;
  border: 0.5px solid #E5E7EB;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
}

.systiq-post-tags a:hover {
  color: #0D9488;
  border-color: #99F6E4;
}

/* ================================
   Related Posts
================================ */

.systiq-related {
  background: #fff;
  border-top: 0.5px solid #E5E7EB;
  padding: 32px 28px 36px;
}

.systiq-related-inner {
  max-width: 640px;
  margin: 0 auto;
}

.systiq-related-label {
  font-size: 10px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
}

.systiq-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.systiq-related-card {
  background: #F9FAFB;
  border: 0.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 16px;
}

.systiq-related-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.45;
  margin: 0 0 12px;
}

.systiq-related-card a {
  font-size: 12px;
  color: #0D9488;
  font-weight: 500;
  text-decoration: none;
}

/* ================================
   Responsive
================================ */

@media (max-width: 768px) {
  .systiq-site-header {
    padding: 14px 20px;
  }

  .systiq-site-header-inner {
    gap: 16px;
  }

  .systiq-logo-text {
    font-size: 20px;
  }

  .systiq-header-cta {
    font-size: 13px;
    padding: 10px 14px;
  }

  .systiq-blog-hero {
    padding: 36px 20px 20px;
  }

  .systiq-blog-hero h1 {
    font-size: 30px;
  }

  .systiq-blog-hero p {
    font-size: 15px;
  }

  .systiq-post-grid {
    grid-template-columns: 1fr;
    padding: 20px 20px 56px;
  }

  .systiq-post {
    padding: 32px 20px 0;
  }

  .systiq-post-title {
    font-size: 24px;
  }

  .systiq-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .systiq-site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .systiq-header-cta {
    width: 100%;
  }

  .systiq-post-title {
    font-size: 22px;
  }

  .systiq-post-content p,
  .systiq-post-content li {
    font-size: 15px;
  }
}

/* =========================================
   SystIQ Blog Post Heading Styles
   ========================================= */

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6,
.single-post .wp-block-post-content h2,
.single-post .wp-block-post-content h3,
.single-post .wp-block-post-content h4,
.single-post .wp-block-post-content h5,
.single-post .wp-block-post-content h6 {
  color: #0D9488 !important;
}
/* =========================================
   SystIQ Blog Post H1 Size
   ========================================= */

.systiq-post-title,
.single-post .entry-title,
.single-post .wp-block-post-title {
  font-size: 40px !important;
  line-height: 1.18;
}

/* =========================================
   SystIQ Blog Post H1 Size — Mobile
   ========================================= */

@media (max-width: 768px) {
  .systiq-post-title,
  .single-post .entry-title,
  .single-post .wp-block-post-title {
    font-size: 30px !important;
    line-height: 1.22;
  }
}

/* =========================================
   SystIQ Blog Post Content Heading Sizes
   ========================================= */

.systiq-post-content h2,
.single-post .entry-content h2,
.single-post .wp-block-post-content h2 {
  font-size: 25px !important;
  line-height: 1.28;
  color: #0D9488 !important;
}

.systiq-post-content h3,
.single-post .entry-content h3,
.single-post .wp-block-post-content h3 {
  font-size: 22px !important;
  line-height: 1.32;
  color: #0D9488 !important;
}

.systiq-post-content h4,
.single-post .entry-content h4,
.single-post .wp-block-post-content h4 {
  font-size: 20px !important;
  line-height: 1.36;
  color: #0D9488 !important;
}

.systiq-post-content h5,
.single-post .entry-content h5,
.single-post .wp-block-post-content h5 {
  font-size: 18px !important;
  line-height: 1.4;
  color: #0D9488 !important;
}

.systiq-post-content h6,
.single-post .entry-content h6,
.single-post .wp-block-post-content h6 {
  font-size: 16px !important;
  line-height: 1.45;
  color: #0D9488 !important;
}

/* Blog post bullet and numbered list spacing */
.systiq-post-content ul, .systiq-post-content ol {
	margin: 0 0 22px 30px;
    padding: 0;
}


/* Mobile heading adjustment */
@media (max-width: 768px) {
  .systiq-post-content h2,
  .single-post .entry-content h2,
  .single-post .wp-block-post-content h2 {
    font-size: 23px !important;
  }

  .systiq-post-content h3,
  .single-post .entry-content h3,
  .single-post .wp-block-post-content h3 {
    font-size: 20px !important;
  }

  .systiq-post-content h4,
  .single-post .entry-content h4,
  .single-post .wp-block-post-content h4 {
    font-size: 18px !important;
  }

  .systiq-post-content h5,
  .single-post .entry-content h5,
  .single-post .wp-block-post-content h5 {
    font-size: 17px !important;
  }

  .systiq-post-content h6,
  .single-post .entry-content h6,
  .single-post .wp-block-post-content h6 {
    font-size: 16px !important;
  }
}

/* =========================================
   SystIQ Mobile Header — Logo Left, CTA Right
   Keep this at the very bottom so it overrides earlier mobile rules.
   ========================================= */

@media (max-width: 480px) {
  .systiq-site-header {
    padding: 12px 20px !important;
  }

  .systiq-site-header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .systiq-logo-link {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .systiq-logo-mark {
    width: 26px !important;
    height: 26px !important;
    gap: 3px !important;
  }

  .systiq-logo-text {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .systiq-header-cta {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    font-size: 11px !important;
    line-height: 1 !important;
    padding: 9px 10px !important;
    white-space: nowrap !important;
    border-radius: 7px !important;
  }
}
/* =========================================
   SystIQ Custom Footer
   Overrides the parent theme default footer.
   ========================================= */

.systiq-site-footer {
  background: #111827;
  color: #ffffff;
  border-top: 0.5px solid #1F2937;
  padding: 34px 42px;
}

.systiq-site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 36px;
  align-items: start;
}

.systiq-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 12px;
}

.systiq-footer-logo-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 28px;
  height: 28px;
}

.systiq-footer-logo-mark span {
  background: #0D9488;
  border-radius: 4px;
}

.systiq-footer-logo-mark span:nth-child(2) {
  opacity: 0.65;
}

.systiq-footer-logo-mark span:nth-child(3) {
  opacity: 0.4;
}

.systiq-footer-logo-mark span:nth-child(4) {
  opacity: 0.22;
}

.systiq-footer-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.systiq-footer-logo-text span {
  color: #0D9488;
}

.systiq-site-footer-brand p {
  max-width: 520px;
  margin: 0;
  color: #9CA3AF;
  font-size: 14px;
  line-height: 1.6;
}

.systiq-site-footer-links {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.systiq-site-footer-links a {
  color: #D1D5DB;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.systiq-site-footer-links a:hover {
  color: #0D9488;
}

.systiq-site-footer-meta {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 0.5px solid #1F2937;
  color: #6B7280;
  font-size: 12px;
}

@media (max-width: 768px) {
  .systiq-site-footer {
    padding: 30px 20px;
  }

  .systiq-site-footer-inner {
    grid-template-columns: 1fr;
  }

  .systiq-site-footer-links {
    justify-content: flex-start;
  }
}


/* =========================================
   SystIQ Blog Load More
   Keeps native pagination available as a fallback, but hides it when JS is active.
   ========================================= */

.systiq-pagination.is-hidden {
  display: none !important;
}

.systiq-load-more-wrap {
  grid-column: 1 / -1;
  width: 100%;
  margin: 32px auto 0;
  text-align: center;
}

.systiq-load-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  background: #0D9488;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.systiq-load-more-button:hover {
  background: #0F766E;
  transform: translateY(-1px);
}

.systiq-load-more-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.systiq-load-more-status {
  max-width: 860px;
  margin: 14px auto 0;
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: #6B7280;
}

.systiq-load-more-status[hidden] {
  display: none !important;
}

/* Backward compatibility for any cached old markup */
.systiq-infinite-scroll-loader,
.systiq-infinite-scroll-end,
.systiq-infinite-scroll-sentinel,
.systiq-infinite-scroll-button {
  display: none !important;
}
