/* ===== Global Link Styles - Beautiful Cyan Gradient ===== */
a:not(.brand):not(.nav a):not(.card):not(.btn):not(.btn-primary):not(.chip):not(.changelly-cta):not([class*="cta"]):not(.footer a){
  color: #06b6d4;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
a:not(.brand):not(.nav a):not(.card):not(.btn):not(.btn-primary):not(.chip):not(.changelly-cta):not([class*="cta"]):not(.footer a):hover{
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-1px);
}
a:not(.brand):not(.nav a):not(.card):not(.btn):not(.btn-primary):not(.chip):not(.changelly-cta):not([class*="cta"]):not(.footer a):active{
  transform: translateY(0);
}

/* Footer links - specific style */
.footer a{
  color: #06b6d4 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}
.footer a:hover{
  color: #3b82f6 !important;
  text-decoration: underline;
}

/* ===== Global: full-width content for main containers ===== */
main.container,
main.article-wrap{
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
@media (min-width:1024px){
  main.container,
  main.article-wrap{
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

/* ===== Article HERO block (matches homepage style) ===== */
.article-hero{
  background: linear-gradient(180deg,#ffffff,#f5faff);
  border: 1px solid #e6eef7;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(2,6,23,.08);
  padding: 24px 20px;
  margin-bottom: 18px;
}
@media (min-width:1024px){
  .article-hero{ padding: 28px 26px; }
}
.article-hero h1{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

/* Optional underline accent (use <span class="underline">word</span> in H1) */
.article-hero h1 .underline{
  position: relative; display:inline-block;
}
.article-hero h1 .underline::after{
  content: ""; position:absolute; left:0; right:0; bottom:-6px; height:6px;
  background: linear-gradient(90deg, rgba(14,165,233,.18), rgba(14,165,233,.06));
  border-radius:6px;
}

/* Let inner wrappers expand if previously capped */
main.container > .prose,
main.container > .grid2,
main.container > .grid3,
main.container > .card,
main.container > section,
main.article-wrap > .prose,
main.article-wrap > .grid2,
main.article-wrap > .grid3,
main.article-wrap > .card,
main.article-wrap > section{
  max-width: none !important;
}

/* Responsive grids inside articles */
main.container .grid2, main.article-wrap .grid2{ display:grid; gap:18px; grid-template-columns:repeat(2, minmax(0,1fr)); }
main.container .grid3, main.article-wrap .grid3{ display:grid; gap:18px; grid-template-columns:repeat(3, minmax(0,1fr)); }
@media (max-width:1024px){
  main.container .grid2, main.article-wrap .grid2{ grid-template-columns:1fr; }
  main.container .grid3, main.article-wrap .grid3{ grid-template-columns:1fr; }
}
