/* =========================================================
   WIZZIOSOFT SOLUTIONS — BLOG / INSIGHTS LISTING
   ========================================================= */

.blog-page-body,
.article-page-body { background: var(--paper); }

.desktop-nav .active-link { color: var(--blue); }
.desktop-nav .active-link::after { transform: scaleX(1); }

/* HERO */
.blog-hero {
  position: relative;
  min-height: 100svh;
  padding: 165px 0 55px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, rgba(37,171,225,.15), transparent 30%),
    linear-gradient(180deg,#fcfdff,#f0f5ff);
}
.blog-grid-bg,
.topics-grid-bg,
.newsletter-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40,56,144,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(40,56,144,.05) 1px,transparent 1px);
  background-size: 64px 64px;
  opacity: .42;
  mask-image: linear-gradient(to bottom,transparent,black 18%,black 80%,transparent);
}
.blog-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.blog-glow.glow-one {
  width: 680px; height: 680px; right: -230px; top: -30px;
  background: radial-gradient(circle,rgba(37,171,225,.21),transparent 68%);
}
.blog-glow.glow-two {
  width: 620px; height: 620px; left: -350px; bottom: -330px;
  background: radial-gradient(circle,rgba(91,84,218,.12),transparent 68%);
}
.blog-hero-layout {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(560px,1.1fr);
  align-items: center; gap: 50px;
}
.page-breadcrumb {
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
  color: var(--muted); font-size: 10px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
}
.page-breadcrumb strong { color: var(--blue); }
.page-breadcrumb a:hover { color: var(--cyan); }
.blog-label {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px;
  color: var(--blue); font-size: 10px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.blog-label i {
  padding: 6px 9px; color: var(--navy); background: var(--sky);
  border-radius: 999px; font-style: normal; letter-spacing: .08em;
}
.blog-hero-title {
  margin: 0; font: 700 clamp(70px,7.1vw,120px)/.9 "Manrope",sans-serif;
  letter-spacing: -.07em;
}
.blog-hero-title em { color: var(--cyan); font-style: normal; font-weight: 500; }
.blog-hero-description {
  max-width: 690px; margin: 38px 0 0; color: var(--text);
  font-size: clamp(18px,1.5vw,21px);
}
.blog-hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 38px; }

/* HERO EDITORIAL CONSOLE */
.blog-hero-visual {
  position: relative; min-height: 680px; display: grid; place-items: center; perspective: 1300px;
}
.editorial-console {
  position: relative; z-index: 3; width: min(92%,700px); min-height: 585px;
  overflow: hidden; background: rgba(255,255,255,.94);
  border: 1px solid rgba(18,26,85,.1); border-radius: 28px;
  box-shadow: 0 45px 100px rgba(25,42,118,.18);
  backdrop-filter: blur(16px); transform: rotateY(-4deg) rotateX(2deg);
}
.editorial-console-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 52px; padding: 0 18px; color: var(--muted);
  border-bottom: 1px solid var(--line); font-size: 8px; letter-spacing: .1em;
}
.editorial-console-top > div { display: flex; gap: 5px; }
.editorial-console-top i { width: 6px; height: 6px; background: #d5dbea; border-radius: 50%; }
.editorial-console-top b { justify-self: end; color: var(--blue); font-size: 7px; letter-spacing: .12em; }
.editorial-console-body { display: grid; grid-template-columns: 70px 1fr; min-height: 533px; }
.editorial-console-body aside {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 24px 0; background: #f2f5fd; border-right: 1px solid var(--line);
}
.editorial-console-body aside img { width: 36px; height: 28px; object-fit: contain; }
.editorial-console-body aside i { width: 22px; height: 3px; background: #cad2e7; border-radius: 3px; }
.editorial-console-body aside .selected { width: 31px; height: 31px; background: var(--navy); border-radius: 8px; }
.editorial-dashboard {
  padding: 31px;
  background: radial-gradient(circle at 90% 12%,rgba(37,171,225,.15),transparent 25%),linear-gradient(145deg,#fbfcff,#f0f4ff);
}
.editorial-head { display: flex; justify-content: space-between; align-items: flex-start; }
.editorial-head small { color: var(--blue); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.editorial-head h3 { margin: 16px 0 0; font: 650 clamp(39px,3.7vw,58px)/.95 "Manrope"; letter-spacing: -.06em; }
.editorial-head > span {
  display: grid; place-items: center; width: 52px; height: 52px;
  color: white; background: var(--navy); border-radius: 50%; font: 700 18px "Manrope";
}
.editorial-feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 12px; margin-top: 28px; }
.editorial-map {
  position: relative; min-height: 255px; background: var(--navy);
  border-radius: 15px; overflow: hidden;
}
.map-core {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  display: grid; place-items: center; width: 82px; height: 82px;
  color: white; background: linear-gradient(145deg,var(--blue),var(--cyan));
  border-radius: 50%; transform: translate(-50%,-50%);
}
.map-core strong { font-size: 8px; letter-spacing: .1em; }
.map-core i { position: absolute; inset: -16px; border: 1px dashed rgba(255,255,255,.32); border-radius: 50%; }
.map-node {
  position: absolute; z-index: 3; padding: 7px 9px;
  color: rgba(255,255,255,.76); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13); border-radius: 999px;
  font-size: 7px; font-weight: 800;
}
.node-goal { left: 9%; top: 12%; }
.node-user { right: 8%; top: 14%; }
.node-content { left: 7%; bottom: 12%; }
.node-action { right: 7%; bottom: 12%; }
.map-line {
  position: absolute; left: 50%; top: 50%; width: 42%; height: 1px;
  background: rgba(255,255,255,.22); transform-origin: left;
}
.map-line.line-a { transform: rotate(-145deg); }
.map-line.line-b { transform: rotate(-35deg); }
.map-line.line-c { transform: rotate(35deg); }
.map-line.line-d { transform: rotate(145deg); }
.editorial-copy {
  display: flex; flex-direction: column; padding: 20px;
  background: white; border: 1px solid var(--line); border-radius: 15px;
}
.editorial-copy small { color: var(--blue); font-size: 7px; font-weight: 800; letter-spacing: .11em; }
.editorial-copy strong { margin-top: 32px; font: 650 25px/1.08 "Manrope"; letter-spacing: -.04em; }
.editorial-copy a { margin-top: auto; color: var(--blue); font-size: 9px; font-weight: 800; }
.editorial-topics { display: flex; gap: 7px; margin-top: 13px; }
.editorial-topics span {
  flex: 1; display: grid; place-items: center; min-height: 40px;
  color: #59617f; background: white; border: 1px solid var(--line);
  border-radius: 999px; font-size: 7px; font-weight: 800;
}
.editorial-orbit {
  position: absolute; left: 50%; top: 50%; border: 1px solid rgba(40,56,144,.14);
  border-radius: 50%; transform: translate(-50%,-50%);
}
.editorial-orbit.orbit-large { width: 650px; height: 650px; }
.editorial-orbit.orbit-small { width: 510px; height: 510px; border-style: dashed; }
.editorial-orbit.orbit-wide {
  width: 760px; height: 340px; border-color: rgba(37,171,225,.18);
  transform: translate(-50%,-50%) rotate(-17deg);
}
.editorial-orbit::after {
  content: ""; position: absolute; left: 18%; top: 8%;
  width: 9px; height: 9px; background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(37,171,225,.12);
}
.blog-float {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; background: rgba(255,255,255,.93);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 45px rgba(25,42,118,.13); backdrop-filter: blur(14px);
}
.blog-float strong { color: var(--cyan); font: 700 19px "Manrope"; }
.blog-float span {
  color: var(--muted); font-size: 8px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
}
.blog-float.float-one { left: -2%; bottom: 12%; }
.blog-float.float-two { right: -2%; top: 14%; }
.blog-float.float-three { right: 1%; bottom: 7%; }
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
  color: var(--muted); font-size: 9px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.article-meta > span:first-child { color: var(--blue); }
.article-meta i { width: 4px; height: 4px; background: var(--cyan); border-radius: 50%; }
/* LATEST ARTICLES */
.latest-articles { background: var(--paper); }
.latest-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 70px; margin-bottom: 60px;
}
.latest-head > p { max-width: 450px; color: var(--text); }
.articles-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px 23px; }
.article-card { min-width: 0; transition: opacity .3s, transform .35s; }
.article-card.is-hidden { display: none; }
.article-card a { display: block; }
.article-card-visual {
  position: relative; height: 500px; overflow: hidden; background: #dfe6f3;
  border-radius: 24px;
}
.article-card-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(8,17,54,.28),transparent 38%,rgba(8,17,54,.12));
  pointer-events: none;
}
.article-card-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .45s ease;
}
.article-card:hover .article-card-visual img { transform: scale(1.035); }
.article-image-commerce img { object-position: 64% center; filter: saturate(.86) contrast(1.04); }
.article-image-seo img { object-position: 42% center; filter: saturate(.9) hue-rotate(-5deg); }
.article-image-development img { object-position: 72% center; filter: saturate(.82) contrast(1.06); }
.visual-index {
  position: absolute; z-index: 5; left: 24px; top: 22px;
  display: grid; place-items: center; width: 38px; height: 38px;
  color: white; background: rgba(13,24,74,.7); border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%; backdrop-filter: blur(10px);
  font-size: 9px; font-weight: 800; letter-spacing: .1em;
}
.article-card-copy { padding: 22px 3px 0; }
.article-card-copy h3 {
  max-width: 800px; margin: 15px 0 12px;
  font: 650 clamp(28px,3vw,44px)/1.05 "Manrope"; letter-spacing: -.045em;
}
.article-card-copy > p { max-width: 720px; margin: 0 0 19px; color: var(--text); font-size: 14px; }
.article-read-link { color: var(--blue); font-size: 10px; font-weight: 800; }

.article-pagination {
  display: flex; justify-content: center; align-items: center; gap: 9px;
  margin-top: 58px;
}
.article-pagination button {
  display: grid; place-items: center; width: 46px; height: 46px;
  color: var(--navy); background: white; border: 1px solid var(--line);
  border-radius: 50%; font-size: 10px; font-weight: 800;
  cursor: pointer; transition: color .3s, background .3s, border-color .3s, transform .3s;
}
.article-pagination button:hover:not(:disabled),
.article-pagination button.active {
  color: white; background: var(--navy); border-color: var(--navy); transform: translateY(-2px);
}
.article-pagination button:disabled { opacity: .35; cursor: not-allowed; }
.article-pagination button:focus-visible { outline: 3px solid rgba(37,171,225,.28); outline-offset: 3px; }
.articles-footer {
  display: flex; justify-content: space-between; gap: 30px;
  margin-top: 60px; padding-top: 25px; color: var(--muted);
  border-top: 1px solid var(--line); font-size: 11px;
}
.articles-footer p { margin: 0; }
.articles-footer a { color: var(--navy); font-weight: 800; }

/* TOPICS */
.blog-topics {
  position: relative; overflow: hidden; color: white;
  background: radial-gradient(circle at 4% 50%,rgba(37,171,225,.18),transparent 30%),var(--navy);
}
.topics-grid-bg {
  opacity: .42;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
}
.blog-topics-layout {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: .8fr 1fr; align-items: center; gap: 100px;
}
.blog-topics-copy > p { max-width: 530px; margin: 38px 0 0; color: rgba(255,255,255,.62); font-size: 18px; }
.topic-cloud { border-top: 1px solid var(--line-light); }
.topic-cloud button,
.topic-cloud a {
  display: grid; grid-template-columns: 45px 1fr auto; align-items: center;
  gap: 20px; width: 100%; padding: 27px 0; color: white;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-light);
  text-align: left; cursor: pointer; transition: padding .35s;
  font: 600 clamp(25px,2.6vw,38px)/1 "Manrope"; letter-spacing: -.04em;
}
.topic-cloud button:hover,
.topic-cloud a:hover { padding-left: 12px; }
.topic-cloud button span,
.topic-cloud a span { color: var(--cyan); font-size: 9px; font-weight: 800; }
.topic-cloud button i,
.topic-cloud a i {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-light); border-radius: 50%;
  font-size: 18px; font-style: normal; transition: .35s;
}
.topic-cloud button:hover i,
.topic-cloud a:hover i {
  color: var(--navy); background: var(--cyan);
  border-color: var(--cyan); transform: rotate(45deg);
}

/* NEWSLETTER */
.newsletter-section { background: white; }
.newsletter-card {
  position: relative; display: grid; grid-template-columns: .85fr 1fr;
  align-items: center; gap: 100px; min-height: 590px;
  padding: 75px 7%; overflow: hidden; color: white;
  background: radial-gradient(circle at 80% 25%,rgba(37,171,225,.34),transparent 28%),linear-gradient(145deg,#1a236c,#11193c);
  border-radius: 30px;
}
.newsletter-grid {
  opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
}
.newsletter-copy,.newsletter-form { position: relative; z-index: 2; }
.newsletter-copy > p { max-width: 520px; margin: 38px 0 0; color: rgba(255,255,255,.62); }
.newsletter-form {
  padding: 32px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px;
  backdrop-filter: blur(15px);
}
.newsletter-form label {
  display: block; margin-bottom: 11px; color: rgba(255,255,255,.75);
  font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.newsletter-input-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.newsletter-input-row input {
  min-width: 0; height: 58px; padding: 0 17px; color: white;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; outline: none;
}
.newsletter-input-row input::placeholder { color: rgba(255,255,255,.43); }
.newsletter-input-row input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(37,171,225,.12); }
.newsletter-form > p { margin: 15px 0 0; color: rgba(255,255,255,.45); font-size: 8px; }
.newsletter-form > p a { color: white; text-decoration: underline; }
.newsletter-success {
  display: none; margin-top: 16px; padding: 13px; color: #b9f6dc;
  background: rgba(31,193,131,.12); border: 1px solid rgba(31,193,131,.25);
  border-radius: 11px; font-size: 9px;
}
.newsletter-success.show { display: block; }
.newsletter-orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.newsletter-orbit.orbit-one { right: -130px; top: -140px; width: 450px; height: 450px; }
.newsletter-orbit.orbit-two {
  right: -30px; top: -40px; width: 250px; height: 250px;
  border-style: dashed; border-color: rgba(37,171,225,.5);
}
.blog-contact { padding: 150px 0; }

/* RESPONSIVE */
@media (max-width: 1180px) {
  .blog-hero-layout { grid-template-columns: .87fr 1.13fr; gap: 25px; }
  .blog-hero-title { font-size: clamp(64px,6.8vw,95px); }
}
@media (max-width: 960px) {
  .blog-hero { min-height: auto; padding-top: 145px; }
  .blog-hero-layout { grid-template-columns: 1fr; }
  .blog-hero-copy { max-width: 840px; }
  .blog-hero-visual { width: min(100%,760px); min-height: 650px; margin: 15px auto 0; }
  .latest-head { align-items: start; flex-direction: column; }
  .blog-topics-layout,.newsletter-card { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .blog-hero { padding-top: 126px; padding-bottom: 35px; }
  .blog-hero-title { font-size: clamp(55px,15.6vw,74px); }
  .blog-hero-description { margin-top: 28px; font-size: 17px; }
  .blog-hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .blog-hero-visual { min-height: 490px; margin-top: 40px; }
  .editorial-console { width: 100%; min-height: 455px; border-radius: 20px; transform: none; }
  .editorial-console-body { grid-template-columns: 46px 1fr; min-height: 403px; }
  .editorial-console-body aside { gap: 17px; }
  .editorial-console-body aside img { width: 27px; }
  .editorial-dashboard { padding: 17px; }
  .editorial-head h3 { font-size: 34px; }
  .editorial-head > span { width: 42px; height: 42px; }
  .editorial-feature { grid-template-columns: 1fr; margin-top: 20px; }
  .editorial-map { min-height: 185px; }
  .editorial-copy { display: none; }
  .editorial-topics span:last-child { display: none; }
  .editorial-orbit { display: none; }
  .blog-float { padding: 9px 11px; }
  .blog-float strong { font-size: 15px; }
  .blog-float.float-one { left: -6px; bottom: 1%; }
  .blog-float.float-two { right: -6px; top: 5%; }
  .blog-float.float-three { display: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-card-visual { height: 450px; }
  .article-pagination { margin-top: 42px; }
  .articles-footer { align-items: flex-start; flex-direction: column; }
  .newsletter-card { min-height: auto; padding: 70px 24px; border-radius: 22px; }
  .newsletter-form { padding: 20px; }
  .newsletter-input-row { grid-template-columns: 1fr; }
}
