
/* ---- Composer-safe homepage modules ---- */
.ieos-home-modules--auto {
  position: relative;
  z-index: 5;
  clear: both;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 8px;
  padding: 12px 16px 4px;
  box-sizing: border-box;
}
/* TagDiv row collision guards */
.tdc-row + .ieos-home-modules--auto,
.td-header-wrap + .ieos-home-modules--auto,
.ieos-home-modules--auto + .tdc-row,
.ieos-home-modules--auto + .td-main-content-wrap {
  margin-top: 12px;
}
.ieos-home-modules--auto .ieos-home-event-spotlight,
.ieos-home-modules--auto .ieos-home-upcoming,
.ieos-home-modules--auto .ieos-homepage-spotlight {
  margin-left: 0;
  margin-right: 0;
}

/* ---- Mobile sticky Join / Login (public only) ---- */
.ieos-sticky-join {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.2);
}
.ieos-sticky-join-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ieos-sticky-join-copy {
  flex: 1;
  min-width: 0;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}
.ieos-sticky-join a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}
.ieos-sticky-join .ieos-sj-login {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.28);
}
.ieos-sticky-join .ieos-sj-join {
  background: #22c55e;
  color: #052e16 !important;
  border: 0;
}
body.ieos-show-sticky-join {
  padding-bottom: 72px;
}
@media (max-width: 900px) {
  body.ieos-show-sticky-join .ieos-sticky-join {
    display: block;
  }
}

/* Hide on portal / auth / status */
body.ieos-is-dashboard .ieos-sticky-join,
body.ieos-is-auth .ieos-sticky-join,
body.ieos-client-status-body .ieos-sticky-join {
  display: none !important;
}

/* ---- Dark / light chip contrast ---- */
.td-dark-mode .ieos-pub-type-chips a,
.td-dm-dark .ieos-pub-type-chips a,
body.td-dark .ieos-grant-match-badge.is-low {
  color: #e2e8f0;
}
.td-dark-mode .ieos-home-upcoming-inner,
.td-dm-dark .ieos-home-upcoming-inner {
  background: #111827;
  border-color: #1f2937;
}
.td-dark-mode .ieos-home-upcoming-head h2,
.td-dm-dark .ieos-home-upcoming-head h2 {
  color: #f8fafc !important;
}
.td-dark-mode .ieos-home-upcoming-card,
.td-dm-dark .ieos-home-upcoming-card {
  background: #0b1220;
  border-color: #1f2937;
  color: #f1f5f9 !important;
}
.td-dark-mode .ieos-home-upcoming-body strong,
.td-dm-dark .ieos-home-upcoming-body strong {
  color: #f8fafc !important;
}

/* ---- Powered by IEOS micro-badge ---- */
.ieos-powered {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ieos-powered span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
}

/* ---- 404 page ---- */
.ieos-404 {
  max-width: 560px;
  margin: 48px auto 80px;
  padding: 0 16px;
  text-align: center;
}
.ieos-404 h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.ieos-404 p {
  margin: 0 0 22px;
  color: #64748b;
  line-height: 1.5;
}
.ieos-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.ieos-404-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}
.ieos-404-actions .primary {
  background: #dc2626;
  color: #fff !important;
}
.ieos-404-actions .ghost {
  background: #f1f5f9;
  color: #0f172a !important;
  border: 1px solid #e2e8f0;
}


/* Skip link */
.ieos-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 10px 16px;
  background: #dc2626;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 0 0 10px 0;
}
.ieos-skip-link:focus {
  left: 0;
}

/* Footer trust bar — unified navy (detailed rules later) */
.ieos-trust-bar {
  background: #070b14;
  color: #e2e8f0;
  margin-top: 0;
}
.ieos-trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
}
.ieos-trust-brand {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
}
.ieos-trust-brand em {
  font-style: normal;
  color: #86efac;
  font-weight: 800;
}
.ieos-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ieos-trust-links a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
}
.ieos-trust-links a:hover {
  color: #86efac !important;
}
.ieos-trust-note {
  width: 100%;
  margin: 4px 0 0;
  font-size: 11px;
  color: #94a3b8;
}
body.ieos-is-dashboard .ieos-trust-bar,
body.ieos-is-auth .ieos-trust-bar,
body.ieos-client-status-body .ieos-trust-bar {
  display: none !important;
}
@media (max-width: 600px) {
  .ieos-trust-bar-inner { flex-direction: column; align-items: flex-start; }
}


/* Header CTA */
.ieos-header-cta {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 99980;
  display: flex;
  gap: 8px;
  align-items: center;
}
body.admin-bar .ieos-header-cta { top: 46px; }
.ieos-header-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}
.ieos-header-cta.is-join > a:first-child,
.ieos-header-cta.is-portal > a:first-child {
  background: #dc2626;
  color: #fff !important;
}
.ieos-header-cta-login {
  background: #fff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0;
}
body.ieos-is-dashboard .ieos-header-cta,
body.ieos-is-auth .ieos-header-cta {
  display: none !important;
}
@media (max-width: 900px) {
  .ieos-header-cta {
    top: auto;
    bottom: 78px;
    right: 12px;
  }
  body.ieos-show-sticky-join .ieos-header-cta {
    bottom: 78px;
  }
  body:not(.ieos-show-sticky-join) .ieos-header-cta {
    bottom: 16px;
  }
}

/* Member share bar */
.ieos-member-share {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 99970;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  background: rgba(11, 18, 32, 0.94);
  color: #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(10px);
}
.ieos-member-share-label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 4px;
}
.ieos-member-share a,
.ieos-member-share button {
  background: transparent;
  border: 0;
  color: #86efac !important;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none !important;
  padding: 0;
}
@media (max-width: 600px) {
  .ieos-member-share {
    left: 12px;
    right: 12px;
    transform: none;
    border-radius: 16px;
    justify-content: center;
  }
}
body.ieos-show-sticky-join.ieos-is-member-profile .ieos-member-share {
  bottom: 80px;
}



/* ========== Homepage / footer spacing (safe) ========== */
body.home,
body.front-page,
body.ieos-home-footer-fix {
  padding-bottom: 0 !important;
}
body.home .ieos-sticky-join,
body.front-page .ieos-sticky-join,
body.home .ieos-header-cta,
body.front-page .ieos-header-cta {
  display: none !important;
}
body:not(.ieos-show-sticky-join) {
  padding-bottom: 0 !important;
}
.ieos-trust-bar {
  margin-bottom: 0 !important;
}

/* ========== Inner pages — reduce white gap above footer ========== */
body:not(.home):not(.front-page):not(.ieos-is-dashboard):not(.ieos-is-auth) .td-main-content-wrap {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
body:not(.home):not(.front-page) .td-ss-main-content,
body:not(.home):not(.front-page) .td-main-content,
body:not(.home):not(.front-page) .td-page-content,
body:not(.home):not(.front-page) article.page,
body:not(.home):not(.front-page) .td-pb-article-list {
  margin-bottom: 0 !important;
  padding-bottom: 24px !important;
}
body.page .td-main-content-wrap,
body.single .td-main-content-wrap {
  padding-bottom: 0 !important;
}
body.page .td-page-content {
  padding-bottom: 16px !important;
  margin-bottom: 0 !important;
}
/* Sticky join: use smaller reserve so pages don't grow a tall blank band */
body.ieos-show-sticky-join {
  padding-bottom: 56px !important;
}
@media (min-width: 901px) {
  body.ieos-show-sticky-join {
    padding-bottom: 0 !important; /* bar is mobile-only */
  }
}
/* Trust bar sits flush under site footer on inner pages */
.ieos-trust-bar {
  margin-top: 0 !important;
}
body:not(.home):not(.front-page) .td-footer-wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* ========== Unified footer (homepage + inner pages) ========== */
.td-footer-template-wrap,
.td-footer-template-wrap .tdc-row,
.td-footer-template-wrap .tdc-column,
.td-footer-template-wrap .tdc-inner-column,
.td-footer-template-wrap .td-footer-wrapper,
.td-footer-wrap,
.td-footer-wrap .tdc-row,
.ieos-trust-bar {
  background: #070b14 !important;
  background-color: #070b14 !important;
}
.td-footer-template-wrap,
.td-footer-wrap,
.td-footer-wrapper {
  display: block !important;
  visibility: visible !important;
  margin: 0 !important;
  padding: 0 0 8px !important;
  overflow: visible !important;
}
.td-footer-template-wrap .ieos-hide-footer-row,
.td-footer-wrap .ieos-hide-footer-row,
.td-footer-template-wrap .tdc-row:last-child:has(a[href*="facebook"]),
.td-footer-template-wrap .tdc-row:last-child:has(a[href*="instagram"]),
.td-footer-template-wrap .tdc-row:last-child:has([class*="social"]),
.td-footer-template-wrap .td-social-icon-wrap,
.td-footer-template-wrap .tdm_block_socials,
.td-footer-template-wrap .td_block_socials {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Composer leftover line above socials */
.td-footer-template-wrap hr,
.td-footer-template-wrap .tdc-separator,
.td-footer-template-wrap [class*="separator"],
.td-footer-template-wrap .td-block-row-border {
  display: none !important;
  border: 0 !important;
  height: 0 !important;
}

/* Copyright / sub-footer row — always visible, consistent */
.td-footer-template-wrap .td-sub-footer,
.td-footer-wrap [class*="copyright"],
.td-footer-template-wrap .tdc-row:last-child {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* TagDiv copyright moved to trust bar (one line, bottom centre) */
.td-footer-template-wrap .tdc-row:last-child .tdm-descr,
.td-footer-wrap .tdc-row:last-child .tdm-descr,
.td-footer-template-wrap .td-sub-footer .tdm-descr {
  display: none !important;
}

/* Social row: centred, not hugging the right widget */
.td-footer-template-wrap .tdc-row:last-child,
.td-footer-template-wrap .td-sub-footer {
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  padding-right: 0 !important;
}

/* Social icons in footer */
.td-footer-template-wrap .td-social-icon-wrap a,
.td-footer-wrap .td-social-icon-wrap a,
.td-footer-template-wrap .td-icon-font {
  color: #e2e8f0 !important;
}
.td-footer-template-wrap .td-social-icon-wrap a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  transition: background 0.16s ease, color 0.16s ease;
}
.td-footer-template-wrap .td-social-icon-wrap a:hover {
  background: #309b65;
  color: #fff !important;
}

/* Portal/auth still hide trust bar */
body.ieos-is-dashboard .ieos-trust-bar,
body.ieos-is-auth .ieos-trust-bar,
body.ieos-client-status-body .ieos-trust-bar {
  display: none !important;
}

/* No phantom gap under footer stack */
body,
#td-outer-wrap {
  padding-bottom: 0 !important;
}
body.ieos-show-sticky-join {
  padding-bottom: 0 !important;
}
@media (max-width: 900px) {
  body.ieos-show-sticky-join {
    padding-bottom: 56px !important;
  }
}

/* Inner pages: content sits flush above the same footer */
body.page .td-main-content-wrap,
body.single .td-main-content-wrap,
body.archive .td-main-content-wrap {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
body.page .td-page-content {
  padding-bottom: 20px !important;
  margin-bottom: 0 !important;
}


/* Utility pills under copyright — same navy, not a second footer */
.ieos-trust-bar {
  display: block !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 8px 20px 20px !important;
  background: #070b14 !important;
  border-top: 0 !important;
  min-height: 0 !important;
}
.ieos-trust-bar-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px;
  width: 100%;
}
.ieos-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ieos-footer-social:empty { display: none; }
.ieos-footer-social a,
.ieos-footer-social a i,
.ieos-footer-social a .td-icon-font,
.ieos-footer-social a:before {
  color: #e2e8f0 !important;
}
.ieos-footer-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #e2e8f0 !important;
  text-decoration: none !important;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.ieos-footer-social a:hover {
  background: #309b65;
  border-color: #309b65;
  color: #fff !important;
  transform: translateY(-2px);
}
.ieos-footer-social a:hover i,
.ieos-footer-social a:hover .td-icon-font,
.ieos-footer-social a:hover:before {
  color: #fff !important;
}
.ieos-footer-copy {
  margin: 4px 0 0 !important;
  padding: 0 12px !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  text-align: center !important;
  line-height: 1.45;
}
.ieos-trust-brand,
.ieos-trust-note {
  display: none !important;
}
.ieos-trust-bar::after {
  content: none !important;
}
.ieos-trust-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
}
.ieos-trust-links li {
  margin: 0 !important;
}
.ieos-trust-links a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  color: #e2e8f0 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.ieos-trust-links a:hover {
  background: #edf7f1 !important;
  color: #176848 !important;
  border-color: #cfe8d9 !important;
}
.ieos-trust-links a.is-cta {
  background: #309b65 !important;
  border-color: #309b65 !important;
  color: #ffffff !important;
}
.ieos-trust-links a.is-cta:hover {
  background: #267c51 !important;
  border-color: #267c51 !important;
  color: #ffffff !important;
}
body.ieos-is-dashboard .ieos-trust-bar,
body.ieos-is-auth .ieos-trust-bar,
body.ieos-client-status-body .ieos-trust-bar {
  display: none !important;
}


/* Copy-link toast */
.ieos-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  background: #0f172a;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 99999;
  transition: opacity .2s ease, transform .2s ease;
}
.ieos-copy-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Back-to-top must not sit on the rocket widget or footer pills */
#td-back-to-top,
.td-back-to-top,
.td-scroll-up,
.td-scroll-up-visible {
  left: auto !important;
  right: 20px !important;
  bottom: 108px !important;
  z-index: 40 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
}

@media (max-width: 767px) {
  #td-back-to-top,
  .td-back-to-top,
  .td-scroll-up {
    left: auto !important;
    right: 12px !important;
    bottom: 96px !important;
  }
  .ieos-trust-bar {
    padding: 16px 16px 28px !important;
  }
}

/* Comments — card under the article, distinct from body */
.ieos-after-article-comments {
  max-width: 760px;
  margin: 28px auto 48px;
  padding: 0 16px;
}
.ieos-comments {
  background: #f4f7fb;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  padding: 28px 24px 24px;
  color: #0f172a;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.ieos-comments-title,
.ieos-comments-reply {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #0b1628;
  letter-spacing: -0.02em;
}
.ieos-comment-login {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 12px 0 0;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: #334155;
  font-size: 15px;
  line-height: 1.45;
}
.ieos-comment-login-btn,
.comment-reply-login,
.ieos-c-actions .comment-reply-login,
.ieos-c-actions a.ieos-comment-login-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: #309b65 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.ieos-comment-login-btn:hover,
.comment-reply-login:hover,
.ieos-c-actions .comment-reply-login:hover {
  background: #267c51 !important;
  color: #ffffff !important;
}
.ieos-comment-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.ieos-comment-list .comment {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 12px;
}
.ieos-comment-list .children {
  list-style: none;
  margin: 12px 0 0 20px;
  padding: 0;
}
.ieos-comment-form .comment-form-comment textarea,
.ieos-comment-form input[type="text"],
.ieos-comment-form input[type="email"],
.ieos-comment-form input[type="url"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d6dee8;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
}
.ieos-comment-form .form-submit input,
.ieos-comment-submit,
#respond .submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 10px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #309b65 !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer;
}
.ieos-logged-in {
  margin: 0 0 14px;
  color: #475569;
  font-size: 14px;
}
.ieos-c-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px 12px;
}
.ieos-c-head {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.ieos-c-head img { border-radius: 999px; }
.ieos-c-author { display: block; font-size: 14px; color: #0f172a; }
.ieos-c-time { display: block; font-size: 12px; color: #64748b; }
.ieos-c-body { font-size: 15px; line-height: 1.55; color: #1e293b; }
.ieos-c-actions { display: flex; gap: 12px; margin-top: 8px; }
.ieos-c-actions .comment-reply-link,
.ieos-c-edit,
.ieos-c-del {
  background: none !important;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: #176848 !important;
}
.ieos-c-del { color: #e11d48; }
.ieos-c-edit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.ieos-c-save,
.ieos-c-cancel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ieos-c-save {
  background: #309b65;
  color: #fff;
}
.ieos-c-cancel {
  background: #e8edf3;
  color: #334155;
}
.ieos-c-ico {
  font-size: 14px;
  line-height: 1;
}
.ieos-c-editor {
  width: 100%;
  min-height: 90px;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid #d6dee8;
  border-radius: 10px;
}
.comment-edit-link { display: none !important; }
.ieos-comment-notes,
.ieos-comments-closed {
  color: #64748b;
  font-size: 14px;
}

/* Post tags — pills, wrap cleanly */
.td-post-source-tags,
.tdb_single_tags,
.td-post-small-box {
  margin: 20px 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
}
.td-post-source-tags ul,
.td-tags,
.td-post-small-box,
.tdb_single_tags ul {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}
.td-tags li,
.td-post-small-box li,
.tdb_single_tags li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 1.2 !important;
}
.td-tags li span,
.td-post-small-box li span,
.tdb_single_tags .tdb-block-inner > span,
.td-tags li:first-child span {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
.td-tags li a,
.td-post-small-box li a,
.tdb_single_tags a {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 7px 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #eef6f1 !important;
  color: #176848 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.td-tags li a:hover,
.td-post-small-box li a:hover,
.tdb_single_tags a:hover {
  background: #309b65 !important;
  color: #ffffff !important;
}

.ieos-post-hero {
  display: block;
  float: none;
  clear: both;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 8px 0 22px;
  padding: 4px 0 12px;
}
.ieos-post-hero .tdb_single_title,
.ieos-post-hero h1,
.ieos-post-hero .tdb-title-text,
.ieos-post-hero .entry-title {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 10px !important;
  font-size: clamp(26px, 3.2vw, 40px) !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  color: #0b1628 !important;
}
.ieos-post-subtitle {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
  color: #475569;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.45;
}
.ieos-stray-card {
  display: none !important;
}
body > .ieos-post-subtitle,
.ieos-trust-bar ~ .ieos-post-subtitle,
.td-footer-wrap ~ .ieos-post-subtitle,
footer ~ .ieos-post-subtitle {
  display: none !important;
}
body.single-post .td-ss-main-content,
body.single .td-ss-main-content,
body.single-post .td-ss-main-content > .wpb_wrapper,
body.single .td-ss-main-content > .wpb_wrapper {
  display: flex;
  flex-direction: column;
}
body.single-post .td-ss-main-content .tdb_single_featured_image,
body.single-post .td-ss-main-content .td-post-featured-image,
body.single .td-ss-main-content .tdb_single_featured_image,
body.single .td-ss-main-content .td-post-featured-image {
  order: 30;
}
body.single-post .td-ss-main-content .ieos-post-hero,
body.single-post .td-ss-main-content .tdb_single_title,
body.single-post .td-ss-main-content .tdb_single_categories,
body.single-post .td-ss-main-content .ieos-post-subtitle,
body.single .td-ss-main-content .ieos-post-hero,
body.single .td-ss-main-content .tdb_single_title {
  order: 10;
}
body.single-post .td-ss-main-content .tdb_single_author,
body.single-post .td-ss-main-content .tdb_single_post_share,
body.single .td-ss-main-content .tdb_single_author {
  order: 20;
}
body.single-post .td-ss-main-content .tdb_single_content,
body.single-post .td-ss-main-content .td-post-content,
body.single .td-ss-main-content .tdb_single_content {
  order: 40;
}

body.ieos-native-single .ieos-post-hero { width:100%; margin:8px 0 22px; }
body.ieos-native-single .ieos-post-hero .entry-title { margin:6px 0 10px; font-size:clamp(28px,3.4vw,42px); line-height:1.2; font-weight:800; color:#0b1628; }
body.ieos-native-single .ieos-post-kicker { margin:0 0 8px; color:#e11d48; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
body.ieos-native-single .ieos-read-time { margin-left:10px; color:#64748b; font-weight:600; text-transform:none; letter-spacing:0; }
body.ieos-native-single .ieos-post-byline { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin-top:14px; padding:12px 0; border-top:1px solid #e2e8f0; border-bottom:1px solid #e2e8f0; color:#0f172a; font-size:14px; }
body.ieos-native-single .ieos-post-byline img { border-radius:999px; }
body.ieos-native-single .ieos-share { margin-left:auto; display:flex; gap:6px; }
body.ieos-native-single .ieos-share a { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:6px; background:#0b1628; color:#fff !important; font-size:12px; font-weight:700; text-decoration:none !important; }
body.ieos-native-single .ieos-featured { margin:0 0 22px; }
body.ieos-native-single .ieos-featured img { width:100%; height:auto; display:block; }
body.ieos-native-single .ieos-featured figcaption { margin-top:8px; color:#64748b; font-size:13px; }

body.ieos-native-single .ieos-single-aside { padding-left: 8px; }
body.ieos-native-single .ieos-side-actions {
  background:#fff; border:1px solid #e8eef5; border-radius:16px;
  box-shadow:0 10px 30px rgba(15,23,42,.06); overflow:hidden; margin:0 0 22px;
}
body.ieos-native-single .ieos-side-actions a {
  display:block; padding:13px 16px; border-bottom:1px solid #eef2f7;
  color:#0f172a !important; font-size:12px; font-weight:800; letter-spacing:.04em;
  text-transform:uppercase; text-decoration:none !important;
}
body.ieos-native-single .ieos-side-actions a:last-child { border-bottom:0; }
body.ieos-native-single .ieos-side-actions a:hover { background:#f8fafc; color:#0ea5e9 !important; }
body.ieos-native-single .ieos-side-card {
  background:#fff; border:1px solid #e8eef5; border-radius:16px;
  padding:18px 16px 8px; margin:0 0 22px; box-shadow:0 8px 24px rgba(15,23,42,.05);
}
body.ieos-native-single .ieos-side-card h3 {
  margin:0 0 12px; font-size:16px; font-weight:800; color:#0b1628;
}
body.ieos-native-single .ieos-side-card ol { list-style:none; margin:0; padding:0; }
body.ieos-native-single .ieos-side-card li {
  display:flex; gap:10px; padding:10px 0; border-bottom:1px solid #f1f5f9;
}
body.ieos-native-single .ieos-side-card li:last-child { border-bottom:0; }
body.ieos-native-single .ieos-side-num {
  font-size:28px; font-weight:800; color:#e2e8f0; line-height:1; min-width:28px;
}
body.ieos-native-single .ieos-side-card em {
  display:block; color:#e11d48; font-style:normal; font-size:11px; font-weight:800;
  text-transform:uppercase; letter-spacing:.04em; margin-bottom:3px;
}
body.ieos-native-single .ieos-side-card a { color:#0b1628 !important; text-decoration:none !important; font-weight:700; line-height:1.35; }
body.ieos-native-single .ieos-side-topics { display:grid; grid-template-columns:1fr 1fr; gap:10px 14px; padding-bottom:10px; }
body.ieos-native-single .ieos-side-topics a { font-size:13px; }
body.ieos-native-single .ieos-rel {
  display:grid; grid-template-columns:88px 1fr; gap:10px; align-items:start;
  padding:10px 0; border-bottom:1px solid #f1f5f9; text-decoration:none !important;
}
body.ieos-native-single .ieos-rel:last-child { border-bottom:0; }
body.ieos-native-single .ieos-rel img { width:88px; height:64px; object-fit:cover; border-radius:8px; }
body.ieos-native-single .ieos-rel b { display:block; font-size:14px; line-height:1.35; color:#0b1628; }
body.ieos-native-single .ieos-rel em { margin-top:4px; font-weight:600; color:#64748b; text-transform:none; letter-spacing:0; }
body.ieos-native-single .ieos-tag-row { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 8px; }
body.ieos-native-single .ieos-tag-row a {
  display:inline-block; padding:5px 10px; border-radius:999px; background:#eef6ff;
  color:#1d4ed8 !important; font-size:11px; font-weight:700; text-decoration:none !important;
}
@media (max-width: 767px) {
  body.ieos-native-single .td-pb-span8,
  body.ieos-native-single .td-pb-span4 { width:100%; }
}

body.ieos-native-single .ieos-read-bar { position:fixed; top:0; left:0; right:0; height:3px; z-index:9999; background:transparent; }
body.ieos-native-single .ieos-read-bar span { display:block; height:3px; width:0; background:#309b65; }
body.ieos-native-single .ieos-crumbs { margin:8px 0 16px; color:#64748b; font-size:13px; }
body.ieos-native-single .ieos-crumbs a { color:#0f172a; text-decoration:none; }
body.ieos-native-single .ieos-crumbs span { margin:0 6px; color:#94a3b8; }
body.ieos-native-single .ieos-author-box {
  display:grid; grid-template-columns:88px 1fr; gap:16px; align-items:start;
  margin:28px 0; padding:18px; border-radius:16px; background:#f8fafc; border:1px solid #e2e8f0;
}
body.ieos-native-single .ieos-author-box img { border-radius:999px; }
body.ieos-native-single .ieos-author-box h3 { margin:0 0 6px; font-size:18px; }
body.ieos-native-single .ieos-author-box p { margin:0 0 8px; color:#475569; }
body.ieos-native-single .ieos-post-nav { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:8px 0 28px; }
body.ieos-native-single .ieos-post-nav a { display:block; text-decoration:none !important; color:#0b1628 !important; }
body.ieos-native-single .ieos-post-nav img { width:100%; height:140px; object-fit:cover; border-radius:12px; margin-bottom:8px; }
body.ieos-native-single .ieos-post-nav span { display:block; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#64748b; }
body.ieos-native-single .ieos-post-nav .is-next { text-align:right; }
body.ieos-native-single .ieos-more { margin:0 0 28px; }
body.ieos-native-single .ieos-more h3 { margin:0 0 12px; }
body.ieos-native-single .ieos-more-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
body.ieos-native-single .ieos-more-grid a { color:#0b1628 !important; text-decoration:none !important; }
body.ieos-native-single .ieos-more-grid img { width:100%; height:120px; object-fit:cover; border-radius:10px; margin-bottom:8px; }
@media (max-width: 767px) {
  body.ieos-native-single .ieos-post-nav,
  body.ieos-native-single .ieos-more-grid,
  body.ieos-native-single .ieos-author-box { grid-template-columns:1fr; }
}

body.ieos-native-single .td-ss-main-content,
body.ieos-native-single .td-ss-main-content > .wpb_wrapper {
  display: block !important;
}
body.ieos-native-single .td-ss-main-content > * {
  order: unset !important;
}
body.ieos-native-single .ieos-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
body.ieos-native-single .ieos-post-nav a {
  display: flex;
  flex-direction: column;
}
body.ieos-native-single .ieos-post-nav img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 8px;
}
body.ieos-native-single .ieos-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
body.ieos-native-single .ieos-more-grid a {
  display: flex;
  flex-direction: column;
}
body.ieos-native-single .ieos-more-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 8px;
}

body.ieos-native-single .ieos-native-wrap {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 180px);
  padding-bottom: 48px;
}
body.ieos-native-single .ieos-crumbs {
  font-size: 12px;
  letter-spacing: .01em;
}
body.ieos-native-single .ieos-crumbs a:hover { color:#309b65; }
body.ieos-native-single .ieos-post-hero {
  padding: 8px 0 22px;
  border-bottom: 0;
}
body.ieos-native-single .ieos-post-kicker a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff1f2;
  color: #e11d48 !important;
  text-decoration: none !important;
}
body.ieos-native-single .ieos-post-hero .entry-title {
  max-width: 18em;
  letter-spacing: -0.03em;
}
body.ieos-native-single .ieos-post-subtitle {
  max-width: 42em;
  color: #475569;
  font-size: clamp(17px, 1.8vw, 21px);
}
body.ieos-native-single .ieos-post-byline {
  border: 0;
  padding: 14px 0 0;
  margin-top: 8px;
}
body.ieos-native-single .ieos-featured {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
}
body.ieos-native-single .td-post-content {
  font-size: 18px;
  line-height: 1.75;
  color: #1e293b;
}
body.ieos-native-single .td-post-content > p:first-of-type {
  font-size: 20px;
  line-height: 1.65;
  color: #0f172a;
}
body.ieos-native-single .td-post-content h2,
body.ieos-native-single .td-post-content h3 {
  margin-top: 1.6em;
  letter-spacing: -0.02em;
  color: #0b1628;
}
body.ieos-native-single .td-post-content img {
  border-radius: 14px;
}
body.ieos-native-single .td-post-content blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid #309b65;
  background: #f0fdf6;
  border-radius: 0 12px 12px 0;
  font-size: 19px;
}
body.ieos-native-single .ieos-comments,
body.ieos-native-single .ieos-after-article-comments {
  margin: 28px 0 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}
body.ieos-native-single .ieos-author-box {
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
body.ieos-native-single .ieos-author-box a { color:#309b65; font-weight:700; }
body.ieos-native-single .ieos-post-nav a,
body.ieos-native-single .ieos-more-grid a {
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8eef5;
  box-shadow: 0 8px 20px rgba(15,23,42,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
body.ieos-native-single .ieos-post-nav a:hover,
body.ieos-native-single .ieos-more-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(15,23,42,.1);
}
body.ieos-native-single .ieos-share a.is-fb { background:#1877f2; }
body.ieos-native-single .ieos-share a.is-x { background:#0f172a; }
body.ieos-native-single .ieos-share a.is-li { background:#0a66c2; }
body.ieos-native-single .ieos-share a.is-wa { background:#16a34a; }

body.ieos-native-single .td-container {
  padding-left: 16px;
  padding-right: 16px;
}
body.ieos-native-single .ieos-single-grid:after {
  content: "";
  display: table;
  clear: both;
}
body.ieos-native-single .ieos-share a {
  width: 36px;
  height: 36px;
}
body.ieos-native-single .td-post-content iframe,
body.ieos-native-single .td-post-content video,
body.ieos-native-single .td-post-content table {
  max-width: 100%;
}
body.ieos-native-single .td-post-content img {
  height: auto;
  max-width: 100%;
}
@media (max-width: 1018px) {
  body.ieos-native-single .td-pb-span8,
  body.ieos-native-single .td-pb-span4 {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.ieos-native-single .ieos-single-aside {
    margin-top: 28px;
    padding-left: 0;
  }
  body.ieos-native-single .ieos-post-hero .entry-title {
    max-width: none;
    font-size: clamp(26px, 7vw, 38px) !important;
  }
  body.ieos-native-single .ieos-more-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  body.ieos-native-single .ieos-post-byline {
    gap: 8px;
  }
  body.ieos-native-single .ieos-share {
    margin-left: 0;
    width: 100%;
  }
  body.ieos-native-single .ieos-featured,
  body.ieos-native-single .ieos-featured img {
    border-radius: 12px;
  }
  body.ieos-native-single .ieos-comments,
  body.ieos-native-single .ieos-after-article-comments {
    padding: 16px;
  }
  body.ieos-native-single .ieos-post-nav,
  body.ieos-native-single .ieos-more-grid,
  body.ieos-native-single .ieos-side-topics {
    grid-template-columns: 1fr;
  }
  body.ieos-native-single .ieos-post-nav .is-next {
    text-align: left;
  }
  body.ieos-native-single .td-post-content {
    font-size: 17px;
  }
  body.ieos-native-single .td-post-content > p:first-of-type {
    font-size: 18px;
  }
}
@media (min-width: 1019px) {
  body.ieos-native-single .ieos-single-aside {
    position: sticky;
    top: 88px;
  }
}

/* Theme-wide mobile */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  .td-container,
  .td-pb-row,
  .tdc-row {
    max-width: 100%;
  }
  .td-header-wrap .td-header-menu-wrap-full,
  .td-header-template-wrap {
    overflow-x: hidden;
  }
  #td-mobile-nav a,
  .td-mobile-main-menu a {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .ieos-trust-bar .ieos-trust-social a,
  .ieos-trust-bar a {
    min-height: 40px;
    min-width: 40px;
  }
  .ieos-comments input[type="text"],
  .ieos-comments input[type="email"],
  .ieos-comments input[type="url"],
  .ieos-comments textarea,
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 16px !important;
  }
  .ieos-comments .form-submit input,
  .comment-form .submit {
    width: 100%;
    min-height: 44px;
  }
  .td-post-content table,
  .ieos-native-wrap table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .td-module-thumb img,
  .entry-thumb img,
  .td-post-featured-image img {
    max-width: 100%;
    height: auto;
  }
  .td-ss-row-right,
  .td-main-sidebar {
    margin-top: 24px;
  }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .td-module-title,
  h1.entry-title {
    word-break: break-word;
  }
  .ieos-tag-row a {
    font-size: 11px;
    padding: 6px 10px;
  }
}

body.ieos-native-single .ieos-post-hero {
  padding: 4px 0 20px;
}
body.ieos-native-single .ieos-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 4px 0 18px;
  color: #94a3b8;
  font-size: 12px;
}
body.ieos-native-single .ieos-crumb-now { color:#64748b; }
body.ieos-native-single .ieos-post-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
body.ieos-native-single .ieos-read-time:before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  vertical-align: middle;
}
body.ieos-native-single .ieos-post-hero .entry-title {
  margin: 0 0 12px !important;
}
body.ieos-native-single .ieos-post-subtitle {
  margin: 0 0 18px;
}
body.ieos-native-single .ieos-post-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 0 4px;
  border-top: 1px solid #e8eef5;
}
body.ieos-native-single .ieos-post-byline img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
body.ieos-native-single .ieos-by { font-weight: 700; }
body.ieos-native-single .ieos-post-byline time { color:#64748b; }
body.ieos-native-single .ieos-share a {
  border-radius: 10px;
  transition: transform .15s ease, opacity .15s ease;
}
body.ieos-native-single .ieos-share a:hover {
  transform: translateY(-2px);
  opacity: .92;
}

.td-footer-template-wrap,
.td-footer-wrap,
.td-footer-wrapper {
  background: #07101f !important;
  padding: 52px 20px 8px !important;
}
.td-footer-template-wrap .tdc-column,
.td-footer-template-wrap .tdc-inner-column,
.td-footer-template-wrap .wpb_wrapper,
.td-footer-template-wrap .td-footer-wrapper,
.td-footer-template-wrap .tdc-row {
  background: transparent !important;
  background-color: transparent !important;
}
.td-footer-template-wrap .td-container,
.td-footer-wrap .td-container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.td-footer-template-wrap h3,
.td-footer-template-wrap .tdm-title,
.td-footer-wrap h3 {
  letter-spacing: -0.02em;
  font-weight: 800 !important;
}
.td-footer-template-wrap input[type="email"],
.td-footer-template-wrap input[type="text"] {
  height: 44px !important;
  border: 0 !important;
  border-radius: 999px 0 0 999px !important;
  padding: 0 16px !important;
}
.td-footer-template-wrap input[type="submit"],
.td-footer-template-wrap button[type="submit"] {
  height: 44px !important;
  border: 0 !important;
  border-radius: 0 999px 999px 0 !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
}
.ieos-trust-bar {
  padding: 28px 20px 36px !important;
  background: #050914 !important;
  border-top: 1px solid rgba(255,255,255,.07) !important;
}
.ieos-footer-social a {
  width: 42px !important;
  height: 42px !important;
}
@media (max-width: 767px) {
  .td-footer-template-wrap,
  .td-footer-wrap {
    padding: 32px 16px 8px !important;
  }
  .td-footer-template-wrap input[type="email"],
  .td-footer-template-wrap input[type="submit"] {
    border-radius: 999px !important;
    width: 100% !important;
    margin: 0 0 8px !important;
  }
}

body.ieos-native-single .ieos-post-hero.is-creative {
  position: relative;
  padding: 28px 36px 24px 44px;
  margin: 4px 0 28px;
  background:
    linear-gradient(135deg, rgba(48,155,101,.06), rgba(15,23,42,.02) 45%, #fff 100%);
  border: 1px solid #e8eef5;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15,23,42,.04);
}
body.ieos-native-single .ieos-post-hero.is-creative:before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 6px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, #309b65, #4db2ec);
}
body.ieos-native-single .ieos-post-hero.is-creative .ieos-post-kicker a {
  background: #fff;
  border: 1px solid #ffe4e6;
  box-shadow: 0 4px 10px rgba(225,29,72,.08);
}
body.ieos-native-single .ieos-post-hero.is-creative .entry-title {
  color: #0b1628 !important;
}
body.ieos-native-single .ieos-post-hero.is-creative .ieos-post-byline {
  margin-top: 16px;
  padding: 12px 12px 12px 8px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}
body.ieos-native-single .ieos-post-hero.is-creative .ieos-share a {
  box-shadow: 0 6px 14px rgba(15,23,42,.12);
}
@media (max-width: 640px) {
  body.ieos-native-single .ieos-post-hero.is-creative {
    padding: 16px 16px 14px 20px;
    border-radius: 16px;
  }
}

body.ieos-native-single .ieos-article-body {
  padding: 8px 2px 12px;
  color: #1e293b;
  font-size: 18.5px;
  line-height: 1.8;
}
body.ieos-native-single .ieos-article-body > p:first-of-type {
  font-size: 21px;
  line-height: 1.65;
  color: #0f172a;
  font-weight: 500;
}
body.ieos-native-single .ieos-article-body p {
  margin: 0 0 1.15em;
}
body.ieos-native-single .ieos-article-body h2,
body.ieos-native-single .ieos-article-body h3 {
  position: relative;
  margin: 1.7em 0 .55em;
  padding-left: 14px;
  letter-spacing: -0.02em;
  color: #0b1628;
}
body.ieos-native-single .ieos-article-body h2:before,
body.ieos-native-single .ieos-article-body h3:before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  bottom: .18em;
  width: 4px;
  border-radius: 4px;
  background: #309b65;
}
body.ieos-native-single .ieos-article-body a {
  color: #176848;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.ieos-native-single .ieos-article-body ul,
body.ieos-native-single .ieos-article-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}
body.ieos-native-single .ieos-article-body li {
  margin: 0 0 .45em;
}
body.ieos-native-single .ieos-article-body img,
body.ieos-native-single .ieos-article-body figure {
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
body.ieos-native-single .ieos-article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0fdf6, #eff6ff);
  box-shadow: inset 4px 0 0 #309b65;
  font-size: 20px;
  color: #0b1628;
}
body.ieos-native-single .ieos-article-body hr {
  border: 0;
  height: 1px;
  background: #e8eef5;
  margin: 28px 0;
}
@media (max-width: 640px) {
  body.ieos-native-single .ieos-article-body {
    font-size: 17px;
  }
  body.ieos-native-single .ieos-article-body > p:first-of-type {
    font-size: 18px;
  }
}

body.ieos-native-single .ieos-single-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.ieos-native-single .ieos-side-actions,
body.ieos-native-single .ieos-side-card {
  margin: 0;
  border-radius: 18px;
  border-color: #e5edf5;
}
body.ieos-native-single .ieos-side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f7;
}
body.ieos-native-single .ieos-rel {
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
body.ieos-native-single .ieos-rel img,
body.ieos-native-single .ieos-rel-ph {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 72px;
}
body.ieos-native-single .ieos-rel-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #309b65, #16324f);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
body.ieos-native-single .ieos-rel b {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.ieos-native-single .ieos-side-actions a {
  letter-spacing: .05em;
}
body.ieos-native-single .ieos-side-actions a:hover {
  padding-left: 20px;
}

body.ieos-native-single .ieos-rel,
body.ieos-native-single .ieos-side-card li,
body.ieos-native-single .ieos-side-topics a,
body.ieos-native-single .ieos-tag-row a,
body.ieos-native-single .ieos-author-box,
body.ieos-native-single .ieos-side-actions a {
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.ieos-native-single .ieos-rel:hover {
  background: #f4faf7;
  border-radius: 12px;
  padding-left: 8px;
  padding-right: 8px;
}
body.ieos-native-single .ieos-side-card li:hover {
  background: #f8fafc;
  border-radius: 10px;
}
body.ieos-native-single .ieos-side-topics a:hover {
  color: #176848 !important;
}
body.ieos-native-single .ieos-tag-row a:hover {
  background: #309b65;
  border-color: #309b65;
  color: #fff;
  transform: translateY(-2px);
}
body.ieos-native-single .ieos-author-box:hover {
  box-shadow: 0 16px 32px rgba(15,23,42,.08);
}
body.ieos-native-single .ieos-featured {
  transition: transform .25s ease, box-shadow .25s ease;
}
body.ieos-native-single .ieos-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(15,23,42,.16);
}
body.ieos-native-single .ieos-crumbs a:hover {
  color: #309b65;
}
.ieos-trust-links a,
.ieos-footer-social a {
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.ieos-trust-links a:hover,
.ieos-footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
}
@media (prefers-reduced-motion: reduce) {
  body.ieos-native-single .ieos-rel,
  body.ieos-native-single .ieos-featured,
  body.ieos-native-single .ieos-tag-row a,
  .ieos-trust-links a,
  .ieos-footer-social a {
    transition: none !important;
    transform: none !important;
  }
}

body.ieos-native-single .ieos-more-grid a {
  min-height: 100%;
}
body.ieos-native-single .ieos-more-grid img,
body.ieos-native-single .ieos-more-ph {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 10px;
}
body.ieos-native-single .ieos-more-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #309b65 0%, #16324f 100%);
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .02em;
}
body.ieos-native-single .ieos-more-grid b {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ieos-native-single .ieos-post-nav img,
body.ieos-native-single .ieos-nav-ph {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 10px;
}
body.ieos-native-single .ieos-nav-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #309b65 0%, #16324f 100%);
  color: #fff;
  font-size: 42px;
  font-weight: 800;
}
body.ieos-native-single .ieos-post-nav a {
  min-height: 100%;
}
body.ieos-native-single .ieos-post-nav b {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ieos-native-single .ieos-tags {
  margin: 22px 0 8px;
  padding: 18px 18px 14px;
  border: 1px solid #e8eef5;
  border-radius: 18px;
  background: #f8fafc;
}
body.ieos-native-single .ieos-tags h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 800;
}
body.ieos-native-single .ieos-tag-row {
  margin: 0 !important;
}
body.ieos-native-single .ieos-tag-row a {
  background: #fff !important;
  border: 1px solid #dbe4ee !important;
  color: #16324f !important;
  font-weight: 650;
  box-shadow: 0 2px 0 rgba(15,23,42,.03);
}
body.ieos-native-single .ieos-tag-row a:hover {
  background: #309b65 !important;
  border-color: #309b65 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(48,155,101,.22);
}


/* ========== Single Post 1200px Full-Width Alignment with Header & Footer ========== */
body.ieos-native-single .td-container,
body.single-post .ieos-native-wrap .td-container,
.ieos-native-wrap .td-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(20px, 3.5vw, 48px) !important;
  padding-right: clamp(20px, 3.5vw, 48px) !important;
  box-sizing: border-box !important;
}

body.ieos-native-single .ieos-post-hero,
.ieos-single-article .ieos-post-hero {
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 0 24px !important;
  border-bottom: 0 !important;
}

body.ieos-native-single .ieos-post-hero .entry-title,
.ieos-single-article .entry-title {
  max-width: 100% !important;
  font-size: clamp(28px, 3.2vw, 42px) !important;
  line-height: 1.25 !important;
  margin: 12px 0 10px 0 !important;
  letter-spacing: -0.02em !important;
  color: #0b1628 !important;
}

body.ieos-native-single .ieos-post-subtitle,
.ieos-single-article .ieos-post-subtitle {
  max-width: 100% !important;
  font-size: clamp(16px, 1.4vw, 20px) !important;
  line-height: 1.55 !important;
  color: #475569 !important;
  margin: 0 0 14px 0 !important;
}

body.ieos-native-single .ieos-single-grid,
.ieos-native-wrap .ieos-single-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 36px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.ieos-native-single .ieos-single-grid > .td-pb-span8.td-main-content,
.ieos-native-wrap .ieos-single-grid > .td-pb-span8.td-main-content {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 0 !important;
  float: none !important;
}

body.ieos-native-single .ieos-single-grid > .td-pb-span4.td-main-sidebar,
.ieos-native-wrap .ieos-single-grid > .td-pb-span4.td-main-sidebar {
  flex: 0 0 340px !important;
  width: 340px !important;
  max-width: 340px !important;
  padding: 0 !important;
  float: none !important;
}

body.ieos-native-single .ieos-featured,
.ieos-single-article .ieos-featured {
  width: 100% !important;
  margin: 0 0 28px 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 40px rgba(15,23,42,.12) !important;
}

body.ieos-native-single .ieos-featured img,
.ieos-single-article .ieos-featured img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

@media (max-width: 1018px) {
  body.ieos-native-single .ieos-single-grid,
  .ieos-native-wrap .ieos-single-grid {
    flex-direction: column !important;
    gap: 28px !important;
  }
  body.ieos-native-single .ieos-single-grid > .td-pb-span8.td-main-content,
  body.ieos-native-single .ieos-single-grid > .td-pb-span4.td-main-sidebar,
  .ieos-native-wrap .ieos-single-grid > .td-pb-span8.td-main-content,
  .ieos-native-wrap .ieos-single-grid > .td-pb-span4.td-main-sidebar {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.ieos-native-single .ieos-single-aside,
  .ieos-native-wrap .ieos-single-aside {
    margin-top: 24px !important;
    padding-left: 0 !important;
  }
}


/* ==========================================================================
   CATEGORY EXPLORER HUB & SPACED MAGAZINE CARDS ARCHITECTURE
   ========================================================================== */
.ieos-cat-hub-wrap,
.ieos-category-articles-wrap,
.category .td-main-content-wrap .td-container,
.category .td-container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: clamp(20px, 3.5vw, 48px) !important;
  padding-right: clamp(20px, 3.5vw, 48px) !important;
  box-sizing: border-box !important;
}

/* Category Explorer Hero Card */
.ieos-cat-hero-card {
  background: #ffffff !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 24px !important;
  padding: 36px 36px 28px 36px !important;
  box-shadow: 0 16px 40px rgba(15,23,42,0.04) !important;
  margin: 10px 0 36px 0 !important;
  position: relative !important;
}

.ieos-cat-hero-top {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 32px !important;
  padding-bottom: 28px !important;
  border-bottom: 2px solid #f1f5f9 !important;
}

.ieos-cat-info-col {
  flex: 1 1 360px !important;
  max-width: 480px !important;
}

.ieos-cat-exclusive-badge {
  display: inline-block !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  background: #e11d48 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 12px !important;
}

.ieos-cat-title {
  font-size: clamp(30px, 3.4vw, 44px) !important;
  font-weight: 800 !important;
  color: #0b1628 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  margin: 0 0 12px 0 !important;
}

.ieos-cat-desc {
  font-size: 14.5px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Right Side Pill Chips */
.ieos-cat-pills-col {
  flex: 1 1 480px !important;
}

.ieos-cat-chips-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-start !important;
}

.ieos-cat-chip,
.ieos-subcat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50px !important;
  color: #1e293b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(15,23,42,0.04) !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ieos-cat-chip:hover,
.ieos-subcat-pill:hover {
  background: #f0fdf4 !important;
  border-color: #309b65 !important;
  color: #166534 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(48,155,101,0.16) !important;
}

.ieos-cat-chip.is-active,
.ieos-subcat-pill.active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15,23,42,0.18) !important;
}

/* Subcategory 6-Card Grid */
.ieos-subcat-hub-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 18px !important;
  margin: 32px 0 28px 0 !important;
}

.ieos-hub-card {
  background: #ffffff !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 18px !important;
  padding: 24px 18px 20px 18px !important;
  text-align: center !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-shadow: 0 4px 16px rgba(15,23,42,0.03) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ieos-hub-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(15,23,42,0.08) !important;
  border-color: #cbd5e1 !important;
}

.ieos-hub-icon-circle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  margin-bottom: 14px !important;
}

.ieos-hub-card-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0b1628 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
  transition: color 0.15s ease !important;
}

.ieos-hub-card:hover .ieos-hub-card-title {
  color: #309b65 !important;
}

.ieos-hub-card-desc {
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 0 14px 0 !important;
  flex-grow: 1 !important;
}

.ieos-hub-card-arrow {
  color: #e11d48 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  transition: transform 0.2s ease !important;
}

.ieos-hub-card:hover .ieos-hub-card-arrow {
  transform: translateX(4px) !important;
}

.ieos-cat-stay-ahead-wrap {
  text-align: center !important;
  margin-top: 10px !important;
}

.ieos-cat-stay-ahead-pill {
  display: inline-block !important;
  background: #0b1628 !important;
  color: #ffffff !important;
  padding: 8px 22px !important;
  border-radius: 50px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(11,22,40,0.2) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   SPACED GRID CARDS (NEVER TOUCHING EACH OTHER)
   ══════════════════════════════════════════════════════════════════════ */
.category .td-main-content-wrap .td-block-row,
.category .td-ss-main-content .td-block-row,
.category .td-category-grid .td-block-row,
.ieos-category-articles-wrap .td-block-row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -14px !important;
  margin-right: -14px !important;
}

.category .td-main-content-wrap .td-block-row > [class*="td-block-span"],
.category .td-ss-main-content .td-block-row > [class*="td-block-span"],
.category .td-category-grid .td-block-row > [class*="td-block-span"],
.ieos-category-articles-wrap .td-block-row > [class*="td-block-span"],
.category .td-main-content-wrap .td-block-row > [class*="td-pb-span"],
.category .td-ss-main-content .td-block-row > [class*="td-pb-span"] {
  padding-left: 14px !important;
  padding-right: 14px !important;
  box-sizing: border-box !important;
  margin-bottom: 28px !important;
}

.category .td-main-content-wrap .td_module_wrap,
.category .td-ss-main-content .td_module_wrap,
.category .td-category-grid .td_module_wrap,
.category .td_block_big_grid .td_module_wrap,
.ieos-category-articles-wrap .td_module_wrap {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 18px !important;
  border: 1px solid #e8eef5 !important;
  box-shadow: 0 4px 16px rgba(15,23,42,0.03) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  margin-bottom: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.category .td-main-content-wrap .td_module_wrap:hover,
.category .td-ss-main-content .td_module_wrap:hover,
.category .td-category-grid .td_module_wrap:hover,
.ieos-category-articles-wrap .td_module_wrap:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(15,23,42,0.08) !important;
  border-color: #cbd5e1 !important;
}

.category .td-main-content-wrap .td-module-thumb,
.category .td-ss-main-content .td-module-thumb,
.category .td-category-grid .td-module-thumb,
.ieos-category-articles-wrap .td-module-thumb {
  position: relative !important;
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  margin-bottom: 14px !important;
}

.category .td-main-content-wrap .td-module-thumb a,
.category .td-ss-main-content .td-module-thumb a,
.ieos-category-articles-wrap .td-module-thumb a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.category .td-main-content-wrap .td-module-thumb img,
.category .td-main-content-wrap .td-module-thumb .entry-thumb,
.category .td-ss-main-content .td-module-thumb img,
.category .td-ss-main-content .td-module-thumb .entry-thumb,
.ieos-category-articles-wrap .td-module-thumb img,
.ieos-category-articles-wrap .td-module-thumb .entry-thumb {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.3s ease !important;
}

.category .td_module_wrap:hover .td-module-thumb img,
.category .td_module_wrap:hover .entry-thumb {
  transform: scale(1.04) !important;
}

/* Fallback cover graphic for image-less posts */
.td-module-thumb.ieos-cover-tile,
.ieos-cover-tile {
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  margin-bottom: 14px !important;
  position: relative !important;
}

.ieos-cover-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  text-decoration: none !important;
}

.ieos-cover-bg {
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, #0b1628 0%, #1e293b 50%, #15803d 100%) !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: transform 0.3s ease !important;
}

.category .td_module_wrap:hover .ieos-cover-bg {
  transform: scale(1.03) !important;
}

.ieos-cover-watermark {
  position: absolute !important;
  font-size: 88px !important;
  font-weight: 900 !important;
  color: rgba(255,255,255,0.06) !important;
  letter-spacing: -0.05em !important;
  user-select: none !important;
  pointer-events: none !important;
}

.ieos-cover-badge {
  background: rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important;
  z-index: 2 !important;
}

.ieos-cover-icon {
  font-size: 16px !important;
}

.ieos-cover-cat {
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.ieos-cover-brand {
  position: absolute !important;
  bottom: 12px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,0.5) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  z-index: 2 !important;
}

.category .td-main-content-wrap .td-post-category,
.category .td-ss-main-content .td-post-category {
  display: inline-block !important;
  padding: 3px 10px !important;
  border-radius: 50px !important;
  background: #fff1f2 !important;
  color: #e11d48 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
  margin-bottom: 8px !important;
}

.category .td-main-content-wrap .entry-title,
.category .td-main-content-wrap .entry-title a,
.category .td-ss-main-content .entry-title,
.category .td-ss-main-content .entry-title a {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #0b1628 !important;
  margin: 0 0 6px 0 !important;
  transition: color 0.15s ease !important;
}

.category .td-main-content-wrap .entry-title a:hover,
.category .td-ss-main-content .entry-title a:hover {
  color: #309b65 !important;
}

.category .td-main-content-wrap .td-excerpt,
.category .td-ss-main-content .td-excerpt {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #64748b !important;
  margin-bottom: 8px !important;
}

/* ══════════════════════════════════════════════════════════════════════
   GLOBAL FOOTER HEADLINES & CONTRAST (ABSOLUTE ISOLATION)
   ══════════════════════════════════════════════════════════════════════ */
.td-footer-template-wrap,
.td-footer-wrap,
.td-footer-wrapper,
.td-sub-footer-wrap,
footer,
body.category .td-footer-template-wrap,
body.category .td-footer-wrap,
body.category footer {
  background: #0b1628 !important;
  color: #ffffff !important;
}

.td-footer-template-wrap .td_module_wrap,
.td-footer-wrap .td_module_wrap,
.td-footer-template-wrap .td_block_inner .td_module_wrap,
.td-footer-wrap .td_block_inner .td_module_wrap,
body.category .td-footer-template-wrap .td_module_wrap,
body.category .td-footer-wrap .td_module_wrap,
body.category .td-footer-template-wrap .td_block_inner .td_module_wrap,
body.category .td-footer-wrap .td_block_inner .td_module_wrap,
.td-footer-template-wrap .td-module-container,
.td-footer-wrap .td-module-container,
body.category .td-footer-template-wrap .td-module-container,
body.category .td-footer-wrap .td-module-container,
.td-footer-template-wrap [class*="td-block-span"],
.td-footer-wrap [class*="td-block-span"],
body.category .td-footer-template-wrap [class*="td-block-span"],
body.category .td-footer-wrap [class*="td-block-span"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 14px 0 !important;
  transform: none !important;
}

.td-footer-template-wrap .entry-title,
.td-footer-wrap .entry-title,
.td-footer-template-wrap .td-module-title,
.td-footer-wrap .td-module-title,
.td-footer-template-wrap .entry-title a,
.td-footer-wrap .entry-title a,
.td-footer-template-wrap .td-module-title a,
.td-footer-wrap .td-module-title a,
body.category .td-footer-template-wrap .entry-title a,
body.category .td-footer-wrap .entry-title a,
body.category .td-footer-template-wrap .td-module-title a,
body.category .td-footer-wrap .td-module-title a {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  display: block !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.td-footer-template-wrap .entry-title a:hover,
.td-footer-wrap .entry-title a:hover,
.td-footer-template-wrap .td-module-title a:hover,
.td-footer-wrap .td-module-title a:hover {
  color: #309b65 !important;
}

.td-footer-template-wrap .td-module-meta-info,
.td-footer-wrap .td-module-meta-info {
  margin-top: 4px !important;
  padding: 0 !important;
  background: transparent !important;
}

.td-footer-template-wrap .td-post-date,
.td-footer-wrap .td-post-date,
.td-footer-template-wrap .td-post-author-name,
.td-footer-wrap .td-post-author-name {
  color: rgba(255,255,255,0.65) !important;
  font-size: 11px !important;
}

.td-footer-template-wrap .td-module-thumb,
.td-footer-wrap .td-module-thumb,
body.category .td-footer-template-wrap .td-module-thumb,
body.category .td-footer-wrap .td-module-thumb {
  display: none !important;
}

@media (max-width: 900px) {
  .ieos-subcat-hub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .ieos-cat-hero-card {
    padding: 24px 20px 20px 20px !important;
  }
  .ieos-subcat-hub-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   GOOGLE STITCH VENTURE SIDEBAR ACTION HUB & MEMBERSHIP BANNER (v1.4.23)
   ========================================================================== */
.ieos-side-actions-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 16px 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin-bottom: 24px;
    box-sizing: border-box;
}

.ieos-side-actions-head {
    margin-bottom: 14px;
    padding: 0 6px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.ieos-side-badge {
    display: inline-block;
    background: rgba(48, 155, 101, 0.12);
    color: #309b65;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.ieos-side-actions-head h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ieos-side-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ieos-side-action-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

.ieos-side-action-item:hover {
    background: #ffffff !important;
    border-color: #309b65 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(48, 155, 101, 0.12) !important;
}

.ieos-side-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(48, 155, 101, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #309b65;
    transition: background 0.2s ease, color 0.2s ease;
}

.ieos-side-action-item:hover .ieos-side-action-icon {
    background: #309b65;
    color: #ffffff;
}

.ieos-side-action-icon .dashicons {
    font-size: 17px;
    width: 17px;
    height: 17px;
    line-height: 17px;
}

.ieos-side-action-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ieos-side-action-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

.ieos-side-action-desc {
    font-size: 11.5px !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ieos-side-action-arrow {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 700;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.ieos-side-action-item:hover .ieos-side-action-arrow {
    transform: translateX(3px);
    color: #309b65;
}

/* Pro Membership Sidebar Banner */
.ieos-side-membership-card {
    background: linear-gradient(135deg, #090e17 0%, #0f1d30 100%);
    border: 1px solid rgba(48, 155, 101, 0.35);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    margin-bottom: 24px;
    color: #ffffff;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.ieos-side-membership-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(48, 155, 101, 0.25) 0%, rgba(48, 155, 101, 0) 70%);
    pointer-events: none;
}

.ieos-smc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.ieos-smc-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
}

.ieos-side-membership-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.ieos-side-membership-card p {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
}

.ieos-smc-perks {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ieos-smc-perks li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #e2e8f0;
    font-weight: 600;
}

.ieos-smc-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(48, 155, 101, 0.25);
    color: #34d399;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}

.ieos-smc-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #309b65 0%, #22c55e 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 800;
    padding: 11px 16px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(48, 155, 101, 0.35);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ieos-smc-btn:hover {
    background: linear-gradient(135deg, #267c51 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(48, 155, 101, 0.5);
}


/* ==========================================================================
   GOOGLE STITCH VENTURE ABOUT US PAGE TEMPLATE (v1.4.26)
   ========================================================================== */
.ieos-about-page-wrap {
    padding: 36px 0 96px !important;
    margin-bottom: 48px !important;
    background: #f8fafc !important;
}

.ieos-about-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 28px;
}
.ieos-about-crumbs a {
    color: #309b65;
    text-decoration: none;
    font-weight: 600;
}
.ieos-about-crumbs a:hover {
    text-decoration: underline;
}
.ieos-crumb-sep {
    color: #cbd5e1;
}
.ieos-crumb-current {
    color: #0f172a;
    font-weight: 700;
}

/* Hero Section */
.ieos-about-hero {
    background: linear-gradient(135deg, #090e17 0%, #0f1d30 50%, #061a28 100%);
    border: 1px solid rgba(48, 155, 101, 0.3);
    border-radius: 24px;
    padding: 54px 44px;
    margin-bottom: 36px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.ieos-about-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(48, 155, 101, 0.22) 0%, rgba(48, 155, 101, 0) 70%);
    pointer-events: none;
}
.ieos-about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(48, 155, 101, 0.2);
    color: #34d399;
    border: 1px solid rgba(48, 155, 101, 0.4);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.ieos-about-hero-badge .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
}
.ieos-about-hero h1 {
    font-size: 36px !important;
    font-weight: 850 !important;
    color: #ffffff !important;
    letter-spacing: -0.03em !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
    max-width: 840px;
}
.ieos-about-hero-sub {
    font-size: 16.5px !important;
    color: #cbd5e1 !important;
    line-height: 1.7 !important;
    max-width: 860px;
    margin: 0 !important;
}
.ieos-about-hero-sub strong {
    color: #ffffff;
}

/* Philosophy 2-Column Grid */
.ieos-about-philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 44px;
}
.ieos-about-phil-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ieos-about-phil-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.ieos-phil-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(48, 155, 101, 0.12);
    color: #309b65;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ieos-phil-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 22px;
}
.ieos-about-phil-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}
.ieos-about-phil-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* 3 Bento Pillars */
.ieos-about-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 32px;
}
.ieos-section-pill {
    display: inline-block;
    background: rgba(48, 155, 101, 0.12);
    color: #309b65;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.ieos-about-section-head h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.ieos-about-section-head p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.ieos-about-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.ieos-bento-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.ieos-bento-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ieos-bento-icon-green { background: rgba(48, 155, 101, 0.12); color: #309b65; }
.ieos-bento-icon-blue { background: rgba(56, 189, 248, 0.12); color: #0284c7; }
.ieos-bento-icon-purple { background: rgba(168, 85, 247, 0.12); color: #9333ea; }
.ieos-bento-icon .dashicons { font-size: 20px; width: 20px; height: 20px; line-height: 20px; }
.ieos-bento-card h4 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.ieos-bento-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Discovery Grid */
.ieos-about-discovery-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 48px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.ieos-about-disc-head h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
}
.ieos-about-disc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
}
.ieos-disc-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.ieos-disc-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(48, 155, 101, 0.15);
    color: #309b65;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.ieos-disc-item strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 2px;
}
.ieos-disc-item span {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

/* Founder CTA Banner */
.ieos-about-cta-banner {
    background: linear-gradient(135deg, #090e17 0%, #0f1d30 100%);
    border: 1px solid rgba(48, 155, 101, 0.35);
    border-radius: 24px;
    padding: 54px 44px;
    color: #ffffff;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
    text-align: center;
    margin-bottom: 48px !important;
}
.ieos-about-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(48, 155, 101, 0.2);
    color: #34d399;
    border: 1px solid rgba(48, 155, 101, 0.4);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.ieos-about-cta-banner h2 {
    font-size: 30px;
    font-weight: 850;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.ieos-about-cta-banner p {
    font-size: 15.5px;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto 28px;
    line-height: 1.65;
}
.ieos-about-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.ieos-btn-cta-main {
    background: linear-gradient(135deg, #309b65 0%, #22c55e 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(48, 155, 101, 0.35);
    transition: all 0.2s ease;
}
.ieos-btn-cta-main:hover {
    background: linear-gradient(135deg, #267c51 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(48, 155, 101, 0.5);
}
.ieos-btn-cta-sec {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.ieos-btn-cta-sec:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ieos-about-philosophy-grid,
    .ieos-about-bento-grid,
    .ieos-about-disc-grid {
        grid-template-columns: 1fr;
    }
    .ieos-about-hero {
        padding: 36px 24px;
    }
    .ieos-about-hero h1 {
        font-size: 26px !important;
    }
}


/* Full-Width 12-Column Alignment for About Us Page */
.ieos-about-page-wrap,
.ieos-about-page-wrap .td-container {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    float: none !important;
    box-sizing: border-box !important;
}

.ieos-about-page-wrap .td-main-sidebar,
.ieos-about-page-wrap .td-ss-main-sidebar,
.ieos-about-page-wrap .td-pb-span4,
.ieos-about-page-wrap .ieos-single-aside,
.ieos-about-page-wrap .ieos-side-actions-card,
body.page-template-page-about .td-main-sidebar,
body.page-template-page-about .td-ss-main-sidebar,
body.page-template-page-about .td-pb-span4,
body.page-template-page-about .ieos-single-aside,
body.page-template-page-about .ieos-side-actions-card {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================================
   GOOGLE STITCH VENTURE AGENCY PR PLANS TEMPLATE (v1.4.29)
   ========================================================================== */
.ieos-agency-page-wrap {
    padding: 32px 0 96px !important;
    background: #f8fafc !important;
}

.ieos-ap-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.ieos-ap-hero {
    background: linear-gradient(135deg, #090e17 0%, #0f1d30 50%, #061a28 100%);
    border: 1px solid rgba(48, 155, 101, 0.3);
    border-radius: 24px;
    padding: 50px 44px 40px;
    margin-bottom: 36px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.ieos-ap-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(48, 155, 101, 0.2);
    color: #34d399;
    border: 1px solid rgba(48, 155, 101, 0.4);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.ieos-ap-hero h1 {
    font-size: 34px !important;
    font-weight: 850 !important;
    color: #ffffff !important;
    letter-spacing: -0.03em !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
    max-width: 860px;
}

.ieos-ap-hero-sub {
    font-size: 16px !important;
    color: #cbd5e1 !important;
    line-height: 1.65 !important;
    max-width: 820px;
    margin-bottom: 28px !important;
}

.ieos-ap-stats-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.ieos-ap-stat {
    display: flex;
    flex-direction: column;
}

.ieos-ap-stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.ieos-ap-stat-label {
    font-size: 11.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Tabs */
.ieos-ap-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.ieos-ap-tabs {
    display: inline-flex;
    background: #e2e8f0;
    padding: 6px;
    border-radius: 14px;
    gap: 6px;
}

.ieos-ap-tab {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ieos-ap-tab.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ieos-ap-tab-content {
    display: none;
}

.ieos-ap-tab-content.active {
    display: block;
}

/* Pricing Grid */
.ieos-ap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 54px;
}

.ieos-ap-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ieos-ap-card:hover {
    transform: translateY(-4px);
    border-color: #309b65;
    box-shadow: 0 16px 36px rgba(48, 155, 101, 0.12);
}

.ieos-ap-card.is-popular {
    border: 2px solid #309b65;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(48, 155, 101, 0.15);
}

.ieos-ap-popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #309b65;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 3px 12px;
    border-radius: 12px;
}

.ieos-ap-card-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(48, 155, 101, 0.1);
    color: #309b65;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.ieos-ap-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.ieos-ap-tagline {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.4;
}

.ieos-ap-price-wrap {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.ieos-ap-price {
    font-size: 28px;
    font-weight: 850;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ieos-ap-price span {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.ieos-ap-cycle {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 3px;
}

.ieos-ap-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.ieos-ap-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    line-height: 1.4;
}

.ieos-ap-check {
    color: #309b65;
    font-weight: 800;
    font-size: 12px;
    margin-top: 1px;
}

.ieos-ap-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ieos-ap-btn-primary {
    background: linear-gradient(135deg, #309b65 0%, #22c55e 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(48, 155, 101, 0.35);
}

.ieos-ap-btn-primary:hover {
    background: linear-gradient(135deg, #267c51 0%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(48, 155, 101, 0.45);
}

.ieos-ap-btn-secondary {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.ieos-ap-btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Matrix Table */
.ieos-ap-matrix-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 32px;
    margin-bottom: 48px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.ieos-ap-matrix-head {
    text-align: center;
    margin-bottom: 28px;
}

.ieos-ap-pill {
    display: inline-block;
    background: rgba(48, 155, 101, 0.12);
    color: #309b65;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.ieos-ap-matrix-head h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.ieos-ap-matrix-head p {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
}

.ieos-ap-matrix-table-wrap {
    overflow-x: auto;
}

.ieos-ap-matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ieos-ap-matrix-table th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    color: #475569;
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #e2e8f0;
}

.ieos-ap-matrix-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
}

.ieos-burn-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Modal */
.ieos-ap-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.ieos-ap-modal-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
}

.ieos-ap-modal-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    width: 100%;
    max-width: 540px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.ieos-ap-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}

.ieos-ap-modal-head {
    margin-bottom: 20px;
}

.ieos-ap-modal-head h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0 4px;
}

.ieos-ap-modal-head p {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.ieos-ap-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ieos-ap-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.ieos-ap-field input,
.ieos-ap-field textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.ieos-ap-field input:focus,
.ieos-ap-field textarea:focus {
    border-color: #309b65;
    box-shadow: 0 0 0 3px rgba(48, 155, 101, 0.15);
}

@media (max-width: 768px) {
    .ieos-ap-form-grid { grid-template-columns: 1fr; }
    .ieos-ap-hero { padding: 36px 24px; }
    .ieos-ap-hero h1 { font-size: 26px !important; }
}


/* Full-Width 12-Column Alignment for Agency Plans Page */
.ieos-agency-page-wrap,
.ieos-agency-page-wrap .td-container {
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    float: none !important;
    box-sizing: border-box !important;
}

.ieos-agency-page-wrap .td-main-sidebar,
.ieos-agency-page-wrap .td-ss-main-sidebar,
.ieos-agency-page-wrap .td-pb-span4,
.ieos-agency-page-wrap .ieos-single-aside,
.ieos-agency-page-wrap .ieos-side-actions-card,
body.page-template-page-agency-plans .td-main-sidebar,
body.page-template-page-agency-plans .td-ss-main-sidebar,
body.page-template-page-agency-plans .td-pb-span4,
body.page-template-page-agency-plans .ieos-single-aside,
body.page-template-page-agency-plans .ieos-side-actions-card {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* 4-Tier Grid + Full-Width Enterprise VIP Banner */
.ieos-ap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.ieos-ap-card.is-enterprise {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
    background: linear-gradient(135deg, #090e17 0%, #0f1d30 100%);
    border: 1px solid rgba(48, 155, 101, 0.35);
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}

.ieos-ap-card.is-enterprise h3 {
    color: #ffffff !important;
    font-size: 24px !important;
}

.ieos-ap-card.is-enterprise .ieos-ap-tagline {
    color: #94a3b8 !important;
    max-width: 320px;
}

.ieos-ap-card.is-enterprise .ieos-ap-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin: 0 32px;
    flex-grow: 1;
}

.ieos-ap-card.is-enterprise .ieos-ap-features li {
    color: #cbd5e1 !important;
    font-size: 13px !important;
}

.ieos-ap-card.is-enterprise .ieos-ap-price-wrap {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    text-align: right;
    min-width: 200px;
}

.ieos-ap-card.is-enterprise .ieos-ap-price {
    color: #ffffff !important;
}

.ieos-ap-matrix-wrap {
    margin-bottom: 64px !important;
}

.ieos-agency-page-wrap {
    padding: 36px 0 96px !important;
    margin-bottom: 48px !important;
    background: #f8fafc !important;
}

@media (max-width: 1024px) {
    .ieos-ap-grid { grid-template-columns: 1fr 1fr; }
    .ieos-ap-card.is-enterprise { flex-direction: column; align-items: flex-start; }
    .ieos-ap-card.is-enterprise .ieos-ap-features { grid-template-columns: 1fr; margin: 20px 0; }
    .ieos-ap-card.is-enterprise .ieos-ap-price-wrap { text-align: left; margin-bottom: 16px; }
}

@media (max-width: 640px) {
    .ieos-ap-grid { grid-template-columns: 1fr; }
}
