/* ===== Existing site rules (kept) ===== */

/*.fa-clock-o,.fa-eye{
	display:none
}*/

.text{
	display:none !important
}

/*.jetpack-likes-widget-wrapper {
     display: none;
}*/

/* Updated: old #1fb4f4 → CVisiona tech blue (aqua in dark mode, set further down) */
.fl-widget-title, .ez-toc-title {
	color:#0495F1 !important
}

.jp-relatedposts-headline {
 font-size: 1.57rem !important;
 font-weight: 700;
}

/* (old ".formkit-submit{background:#1fb4f4}" removed – now styled in the brand layer below) */

#convertkit-restrict-content-email-field {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 35px;
}
#convertkit-restrict-content-email-field input[type="email"] {
  width: 75%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* CVisiona: in-article table of contents follows light/dark mode */
html div#ez-toc-container {
  background: transparent !important;
  border: 1px solid rgba(127, 127, 127, .3) !important;
  border-radius: 8px;
}
html div#ez-toc-container p.ez-toc-title,
html div#ez-toc-container .ez-toc-title-toggle a,
html div#ez-toc-container .ez_toc_custom_title_icon,
html div#ez-toc-container .ez_toc_custom_toc_icon {
  color: var(--fl-headings-color) !important;
}
html div#ez-toc-container .ez-toc-title-toggle svg,
html div#ez-toc-container .ez-toc-title-toggle svg * {
  fill: currentColor;
}
html div#ez-toc-container ul.ez-toc-list a,
html div#ez-toc-container ul.ez-toc-list a:visited {
  color: var(--fl-body-color) !important;
}
html div#ez-toc-container ul.ez-toc-list a:hover {
  color: var(--fl-accent-color) !important;
}

/* In-article table of contents: only on small screens when the sidebar one is on the page */
@media (min-width: 769px) {
  html body:has(#ez-toc-widget-container) div#ez-toc-container {
    display: none !important;
  }
}

/* ===== CVisiona brand layer (new) ===== */

/* ---------- Light mode: white pages, CVisiona navy chrome, tech-blue accent ---------- */
:root{
  --fl-accent-color:#0495F1;
  --fl-meta-color:#0495F1;
  --fl-button-background:#0495F1;
  --fl-headings-color:#0B1020;
  --fl-body-color:#1F2A44;
  --fl-header-background:#0B1020;
  --fl-header-color:#EAF6FF;
  --fl-submenu-background:#0B1020;
  --fl-submenu-color:#EAF6FF;
  --fl-footer-background:#0B1020;
  --fl-footer-color:#A9B8D6;
  --fl-footer-headings-color:#EAF6FF;
}

/* ---------- Dark mode: CVisiona navy everywhere, aqua highlights ---------- */
html[data-theme="dark"]{
  --fl-accent-color:#0495F1;
  --fl-meta-color:#3DCBF2;
  --fl-button-background:#0495F1;
  --fl-body-background:#070B17;
  --fl-body-color:#A9B8D6;
  --fl-headings-color:#EAF6FF;
  --fl-header-background:#0B1020;
  --fl-header-color:#EAF6FF;
  --fl-submenu-background:#0F1629;
  --fl-submenu-color:#EAF6FF;
  --fl-footer-background:#0B1020;
  --fl-footer-color:#8A97B3;
  --fl-footer-headings-color:#EAF6FF;
  --fl-input-background:#0B1020;
  --fl-blog-background:#070B17;
}

/* Header: thin brand line under the bar */
#fl-header{border-bottom:1px solid rgba(73,245,245,.18)}

/* Latest / Videos tabs */
.fl-loop-tabs a.active{background:#0495F1!important;color:#fff!important}
html[data-theme="dark"] .fl-loop-tabs a:not(.active){background:#0F1629!important}

/* Category labels on post images */
html[data-theme="dark"] .post-meta .fl-category a,
html[data-theme="dark"] .fl-category a{background:#0F1629!important;color:#EAF6FF!important}

/* Sidebar widget titles ("Our picks", "Table of contents"…) */
html[data-theme="dark"] .fl-widget-title,html[data-theme="dark"] .ez-toc-title{color:#49F5F5!important}

/* Links inside articles */
html[data-theme="dark"] .entry-content a:not(.wp-block-button__link){color:#3DCBF2}

/* Kit newsletter widget (sidebar + drawer) */
.fl-widget .formkit-form{border-radius:14px}
.fl-widget div:has(> .formkit-form){border-color:#0495F1!important;border-radius:16px!important}
html[data-theme="dark"] .fl-widget div:has(> .formkit-form){border-color:#49F5F5!important;background:#0F1629!important}
.fl-widget div:has(> .formkit-form) h4{color:#0495F1!important}
html[data-theme="dark"] .fl-widget div:has(> .formkit-form) h4{color:#49F5F5!important}
.formkit-form .formkit-submit{background:#0495F1!important;color:#fff!important;border-radius:999px!important;font-weight:600!important}
html[data-theme="dark"] .formkit-form .formkit-submit{background:#49F5F5!important;color:#05101C!important}
.formkit-form .formkit-input{border-radius:10px!important}
html[data-theme="dark"] .formkit-form .formkit-input{background:#0B1020!important;color:#EAF6FF!important;border:1px solid #2A3A5C!important}

/* Table of contents active item */
html[data-theme="dark"] .ez-toc-widget-container ul.ez-toc-list li.active{background:rgba(73,245,245,.10)!important}

/* Keyboard focus in brand colour */
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #49F5F5;outline-offset:2px}

/* ===== Consistency pass: one accent per mode, one heading style ===== */
/* Light = tech blue #0495F1 with white text. Dark = aqua #49F5F5 with navy text. */
html[data-theme="dark"]{--fl-accent-color:#49F5F5;--fl-meta-color:#8A97B3}
html[data-theme="dark"] .fl-loop-tabs a.active{background:#49F5F5!important;color:#05101C!important}
html[data-theme="dark"] .fl-loop-tabs a.active:after{border-top-color:#49F5F5!important}
html[data-theme="dark"] .fl-meta a,html[data-theme="dark"] .post-meta .fl-meta,html[data-theme="dark"] .fl-meta i{color:#8A97B3!important}
html[data-theme="dark"] .fl-meta a:hover{color:#49F5F5!important}

/* Every sidebar heading looks like a widget title */
#fl-sidebar .widget_block h2.wp-block-heading,
.fl-widget div:has(> .formkit-form) h4{
  font-size:1.2rem!important;line-height:1.5!important;font-weight:700!important;
  text-transform:uppercase!important;letter-spacing:normal!important;color:#0495F1!important;
}
#fl-sidebar .widget_block h2.wp-block-heading{text-align:left!important;margin:0 0 16px!important}
html[data-theme="dark"] #fl-sidebar .widget_block h2.wp-block-heading,
html[data-theme="dark"] .fl-widget div:has(> .formkit-form) h4{color:#49F5F5!important}

/* Newsletter card text and spacing */
.fl-widget div:has(> .formkit-form) p[style*="868a91"]{color:var(--fl-body-color)!important;font-size:.95rem}
.fl-widget .formkit-form [data-style="clean"]{padding-top:8px!important}
.fl-widget-title{font-weight:700!important}

/* Field Guide sidebar widget */
.cv-fg-widget .wp-block-image img{width:100%;height:auto;border-radius:10px;box-shadow:0 8px 24px rgba(4,149,241,.18)}
.cv-fg-widget a{color:#0495F1}
html[data-theme="dark"] .cv-fg-widget a{color:#49F5F5}

/* Sidebar table of contents: readable in both modes (overrides the widget's black #000 links) */
html #ezw_tco-2 .ez-toc-widget-container ul.ez-toc-list li a,
html .ez-toc-widget-container ul.ez-toc-list li a{color:var(--fl-body-color)!important;font-size:.95rem!important;font-weight:500!important;line-height:1.45}
html .ez-toc-widget-container ul.ez-toc-list li a:hover{color:var(--fl-accent-color)!important}
html .ez-toc-widget-container ul.ez-toc-list li{border-color:rgba(127,127,127,.18)!important}
html .ez-toc-widget-container ul.ez-toc-list ul{background:transparent!important}
html #ezw_tco-2 .ez-toc-widget-container ul.ez-toc-list li.active{background:rgba(4,149,241,.08)!important}
html .ez-toc-widget-container ul.ez-toc-list li.active > a{color:#0495F1!important}
html[data-theme="dark"] #ezw_tco-2 .ez-toc-widget-container ul.ez-toc-list li.active{background:rgba(73,245,245,.08)!important;box-shadow:inset 3px 0 0 #49F5F5}
html[data-theme="dark"] .ez-toc-widget-container ul.ez-toc-list li.active > a{color:#49F5F5!important}

/* Mega menu category bar: tech blue in light mode, CVisiona aqua in dark mode */
#fl-topmenu li.fl-megamenu .megamenu .cats-list{background:#0495F1!important}
#fl-topmenu li.fl-megamenu .megamenu .cats-list a.cat-link{color:rgba(255,255,255,.72)!important;transition:color .15s,text-shadow .15s}
#fl-topmenu li.fl-megamenu .megamenu .cats-list a.cat-link.active,
#fl-topmenu li.fl-megamenu .megamenu .cats-list a.cat-link:hover{color:#fff!important;font-weight:700!important}
#fl-topmenu li.fl-megamenu .megamenu .cats-list .active::after{border-top-color:#0495F1!important}
html[data-theme="dark"] #fl-topmenu li.fl-megamenu .megamenu .cats-list{background:#49F5F5!important}
html[data-theme="dark"] #fl-topmenu li.fl-megamenu .megamenu .cats-list a.cat-link{color:#05101C!important;font-weight:600!important}
html[data-theme="dark"] #fl-topmenu li.fl-megamenu .megamenu .cats-list a.cat-link.active{color:#05101C!important;font-weight:800!important}
html[data-theme="dark"] #fl-topmenu li.fl-megamenu .megamenu .cats-list a.cat-link:hover{color:#05101C!important;font-weight:800!important}
html[data-theme="dark"] #fl-topmenu li.fl-megamenu .megamenu .cats-list .active::after{border-top-color:#49F5F5!important}
html[data-theme="dark"] #fl-topmenu .megamenu{background:#0B1020!important}
html[data-theme="dark"] #fl-topmenu .megamenu .title{color:#EAF6FF!important}
#fl-topmenu .megamenu .title:hover{color:var(--fl-accent-color)!important}

/* Main menu: light up + bold on hover */
#fl-topmenu > li > a,#fl-topmenu .menu > li > a{transition:color .15s}
#fl-topmenu > li:hover > a,#fl-header .menu > li:hover > a,#fl-header .sub-menu a:hover,#fl-drawer .menu a:hover{font-weight:700!important;color:#fff!important}
html[data-theme="dark"] #fl-topmenu > li:hover > a,html[data-theme="dark"] #fl-header .menu > li:hover > a,
html[data-theme="dark"] #fl-header .sub-menu a:hover,html[data-theme="dark"] #fl-drawer .menu a:hover{color:#49F5F5!important}

/* Latest / Videos tabs: outlined edge on hover so the other tab reads as clickable */
.fl-loop-tabs a:not(.active){transition:color .15s,box-shadow .15s,background .15s}
.fl-loop-tabs a:not(.active):hover{box-shadow:inset 0 0 0 2px #0495F1;color:#0495F1!important;background:var(--fl-body-background)!important}
html[data-theme="dark"] .fl-loop-tabs a:not(.active):hover{box-shadow:inset 0 0 0 2px #49F5F5,0 0 14px rgba(73,245,245,.25);color:#49F5F5!important;background:rgba(73,245,245,.06)!important}

/* Newsletter card: CVisiona icon + "AI Entrepreneurs Weekly" heading (sidebar, footer and side menu copies) */
.fl-widget div:has(> .formkit-form) > div:first-child img{display:none!important}
.fl-widget div:has(> .formkit-form) > div:first-child::before{content:"";display:block;width:56px;height:56px;margin:0 auto;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='27' fill='%23E6F4FE' stroke='%230495F1' stroke-opacity='.35'/%3E%3Crect x='15' y='19' width='26' height='19' rx='3.5' fill='none' stroke='%230495F1' stroke-width='2.2'/%3E%3Cpath d='M16.5 21.5 28 30l11.5-8.5' fill='none' stroke='%230495F1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M40 10.5l1.3 3.2 3.2 1.3-3.2 1.3-1.3 3.2-1.3-3.2-3.2-1.3 3.2-1.3z' fill='%235E17EB'/%3E%3C/svg%3E") center/contain no-repeat}
html[data-theme="dark"] .fl-widget div:has(> .formkit-form) > div:first-child::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='27' fill='%230F1629' stroke='%2349F5F5' stroke-opacity='.35'/%3E%3Crect x='15' y='19' width='26' height='19' rx='3.5' fill='none' stroke='%2349F5F5' stroke-width='2.2'/%3E%3Cpath d='M16.5 21.5 28 30l11.5-8.5' fill='none' stroke='%2349F5F5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M40 10.5l1.3 3.2 3.2 1.3-3.2 1.3-1.3 3.2-1.3-3.2-3.2-1.3 3.2-1.3z' fill='%239B6BFF'/%3E%3C/svg%3E")}
html .fl-widget div:has(> .formkit-form) h4{font-size:0!important;line-height:0!important}
html .fl-widget div:has(> .formkit-form) h4::after{content:"AI Entrepreneurs Weekly";display:block;font-size:1.2rem;line-height:1.4;font-weight:700;text-transform:uppercase}
html .fl-widget div:has(> .formkit-form) > p{font-size:0!important}
html .fl-widget div:has(> .formkit-form) > p::after{content:"One email a week on what\2019s actually working in AI (tools, agents, infrastructure), plus lessons from my founder journey to help you build and scale AI products.";display:block;font-size:.95rem;line-height:1.6;color:var(--fl-body-color)}

/* Footer newsletter card sits on navy in both modes: keep its text light */
#fl-footer .fl-widget div:has(> .formkit-form) > p::after{color:#C9D4E8!important}
#fl-footer .fl-widget div:has(> .formkit-form) h4{color:#49F5F5!important}

/* "Follow Us" social icons: round outlined buttons */
.jetpack-social-widget-list{display:flex!important;flex-wrap:wrap;gap:10px;margin:0!important;padding:0!important}
.jetpack-social-widget-list li{margin:0!important;list-style:none}
.jetpack-social-widget-list a{display:inline-flex!important;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;border:1.5px solid #0495F1;background:rgba(4,149,241,.06);color:#0495F1!important;transition:background .15s,color .15s,box-shadow .15s}
.jetpack-social-widget-list a svg{width:18px!important;height:18px!important;fill:currentColor!important;color:inherit!important}
.jetpack-social-widget-list a:hover{background:#0495F1;color:#fff!important;box-shadow:0 0 14px rgba(4,149,241,.35)}
html[data-theme="dark"] .jetpack-social-widget-list a{border-color:#49F5F5;background:rgba(73,245,245,.06);color:#49F5F5!important}
html[data-theme="dark"] .jetpack-social-widget-list a:hover{background:#49F5F5;color:#05101C!important;box-shadow:0 0 14px rgba(73,245,245,.35)}

/* Footer "Follow us" (block social links): same round buttons, aqua on the navy footer */
.wp-block-social-links.cv-social{display:flex!important;flex-wrap:wrap;gap:10px!important;margin:0!important;padding:0!important}
.wp-block-social-links.cv-social .wp-social-link{margin:0!important;background:transparent!important;color:inherit!important}
.wp-block-social-links.cv-social .wp-block-social-link-anchor{display:inline-flex!important;align-items:center;justify-content:center;width:42px;height:42px;padding:0!important;border-radius:50%;border:1.5px solid #49F5F5;background:rgba(73,245,245,.06);color:#49F5F5!important;transition:background .15s,color .15s,box-shadow .15s}
.wp-block-social-links.cv-social .wp-block-social-link-anchor svg{width:18px!important;height:18px!important;fill:currentColor!important}
.wp-block-social-links.cv-social .wp-block-social-link-anchor:hover{background:#49F5F5;color:#05101C!important;box-shadow:0 0 14px rgba(73,245,245,.35)}

/* Light mode: everything that is CVisiona aqua in dark mode becomes tech blue (same effects) */
html:not([data-theme="dark"]) #fl-footer .fl-widget div:has(> .formkit-form) h4{color:#0495F1!important}
html:not([data-theme="dark"]) .wp-block-social-links.cv-social .wp-block-social-link-anchor{border-color:#0495F1;background:rgba(4,149,241,.08);color:#3DCBF2!important}
html:not([data-theme="dark"]) .wp-block-social-links.cv-social .wp-block-social-link-anchor:hover{background:#0495F1;color:#fff!important;box-shadow:0 0 14px rgba(4,149,241,.45)}
html:not([data-theme="dark"]) #fl-footer a[style*="23DACC"],html:not([data-theme="dark"]) #fl-footer a[style*="23dacc"]{color:#3DCBF2!important}
html:not([data-theme="dark"]) #fl-footer a[style*="23DACC"]:hover{color:#fff!important}