:root{
  --hub-bg:#edf2f6;
  --hub-surface:#ffffff;
  --hub-surface-strong:#ffffff;
  --hub-text:#15213d;
  --hub-muted:#667085;
  --hub-border:rgba(20,34,58,.09);
  --hub-accent:#5d67ea;
  --hub-accent-dark:#4451d6;
  --hub-shadow:0 24px 56px rgba(20,34,58,.08);
  --hub-radius-lg:28px;
  --hub-radius-md:22px;
  --hub-radius-sm:14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.content-hub-body{
  margin:0;
  color:var(--hub-text);
  background:
    radial-gradient(circle at top left, rgba(184,146,94,.16), transparent 26%),
    radial-gradient(circle at top right, rgba(93,103,234,.1), transparent 24%),
    linear-gradient(180deg, #f7f2ea 0%, #f6f8fb 18%, var(--hub-bg) 100%);
  font-family:"Trebuchet MS","Segoe UI",sans-serif;
}
a{color:inherit}
img{max-width:100%;display:block}

.hub-shell{min-height:100vh;display:flex;flex-direction:column}
.hub-topbar{
  background:#1f2a36;
  color:rgba(255,255,255,.78);
  font-size:13px;
}
.hub-topbar-inner,
.hub-nav-inner,
.hub-footer-inner{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}
.hub-main{
  position:relative;
  flex:1 0 auto;
  width:80%;
  margin:0 auto;
}
.hub-topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  min-height:42px;
}
.hub-topbar-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.hub-topbar a{
  color:rgba(255,255,255,.88);
  text-decoration:none;
}
.hub-header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(12px);
  background:rgba(251,247,241,.82);
  border-bottom:1px solid rgba(28,39,52,.08);
}
.hub-nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
}
.hub-brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  min-width:0;
}
.hub-brand-logo{
  width:152px;
  height:auto;
}
.hub-brand-text{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.hub-brand-kicker{
  color:var(--hub-muted);
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.hub-brand-name{
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
  font-size:20px;
  line-height:1.1;
}
.hub-nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.hub-nav-link{
  padding:10px 16px;
  border-radius:999px;
  color:var(--hub-muted);
  text-decoration:none;
  font-size:14px;
  transition:background-color .2s ease,color .2s ease;
}
.hub-nav-link:hover,
.hub-nav-link.is-current{
  background:rgba(184,92,56,.12);
  color:var(--hub-accent-dark);
}
.hub-cloud-link,
.hub-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid transparent;
  background:var(--hub-accent);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  transition:transform .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
  box-shadow:0 12px 24px rgba(68,81,214,.18);
}
.hub-cloud-link:hover,
.hub-button:hover{
  background:var(--hub-accent-dark);
  transform:translateY(-1px);
}
.hub-button.is-secondary{
  background:rgba(255,255,255,.82);
  color:var(--hub-accent-dark);
  border-color:rgba(93,103,234,.22);
  box-shadow:none;
}
.hub-button.is-secondary:hover{
  background:#fff;
  border-color:rgba(93,103,234,.34);
}

.hub-main{
  padding:156px 0 84px;
}
.hub-main::before{
  content:none;
}
.hub-main > *{
  position:relative;
  z-index:1;
}
.hub-hero,
.hub-panel,
.hub-article,
.hub-resource-preview{
  background:linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(249,251,255,.94) 100%);
  border:1px solid var(--hub-border);
  box-shadow:var(--hub-shadow);
  border-radius:var(--hub-radius-lg);
}
.hub-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  gap:30px;
  padding:38px;
  align-items:center;
  overflow:hidden;
}
.hub-hero::before{
  content:"";
  position:absolute;
  inset:auto -70px -90px auto;
  width:240px;
  height:240px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(93,103,234,.12) 0%, rgba(93,103,234,0) 72%);
  pointer-events:none;
}
.hub-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 38%),
    linear-gradient(180deg, rgba(184,146,94,.035), rgba(93,103,234,.025));
  pointer-events:none;
}
.hub-hero.is-single{
  grid-template-columns:1fr;
}
.hub-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(93,103,234,.08);
  color:var(--hub-accent-dark);
  border:1px solid rgba(93,103,234,.12);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hub-title{
  margin:18px 0 0;
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
  font-size:52px;
  line-height:1.04;
  letter-spacing:-.03em;
}
.hub-lead{
  margin:16px 0 0;
  max-width:60ch;
  color:var(--hub-muted);
  font-size:17px;
  line-height:1.85;
}
.hub-hero-meta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.hub-chip{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(93,103,234,.12);
  background:rgba(255,255,255,.86);
  color:#4c5d81;
  font-size:13px;
}
.hub-hero-art{
  min-height:100%;
  display:flex;
}
.hub-hero-image{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 16px 36px rgba(68,81,214,.08);
}
.hub-hero-note{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:100%;
  padding:28px;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(145deg, #7984ff 0%, #5d67ea 46%, #4451d6 100%);
  color:#fff;
  box-shadow:0 20px 42px rgba(68,81,214,.24);
}
.hub-hero-note h2{
  margin:0;
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
  font-size:26px;
}
.hub-hero-note p{
  margin:14px 0 0;
  color:rgba(255,255,255,.88);
  line-height:1.82;
}

.hub-section{
  margin-top:28px;
}
.hub-section-title{
  margin:0 0 16px;
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
  font-size:30px;
  line-height:1.15;
}
.hub-grid{
  display:grid;
  gap:20px;
}
.hub-grid.is-resources{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.hub-grid.is-posts{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.hub-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:24px;
  background:rgba(255,255,255,.95);
  border:1px solid var(--hub-border);
  border-radius:var(--hub-radius-md);
  box-shadow:0 16px 36px rgba(20,34,58,.07);
  overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.hub-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg, #5d67ea 0%, #7b86ff 55%, #b2bcff 100%);
  opacity:.85;
}
.hub-card:hover{
  transform:translateY(-3px);
  border-color:rgba(93,103,234,.2);
  box-shadow:0 22px 40px rgba(20,34,58,.11);
}
.hub-card-icon{
  width:54px;
  height:54px;
  padding:12px;
  border-radius:18px;
  background:linear-gradient(180deg, #f3f6ff 0%, #e8eeff 100%);
  border:1px solid rgba(93,103,234,.1);
}
.hub-card-title{
  margin:18px 0 0;
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
  font-size:24px;
  line-height:1.2;
}
.hub-card-text{
  margin:14px 0 0;
  color:var(--hub-muted);
  line-height:1.8;
}
.hub-card-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}
.hub-card-meta{
  margin-top:16px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.hub-post-card{
  overflow:hidden;
  padding:0;
}
.hub-post-card-image{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}
.hub-post-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.9) 0%, #fbfcff 100%);
}
.hub-post-card-title{
  margin:12px 0 0;
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
  font-size:25px;
  line-height:1.2;
}
.hub-post-card-text{
  margin:12px 0 0;
  color:var(--hub-muted);
  line-height:1.75;
}
.hub-post-card-link{
  margin-top:auto;
  padding-top:20px;
  color:var(--hub-accent-dark);
  font-weight:700;
  text-decoration:none;
}
.hub-post-card-link:hover{
  color:var(--hub-accent);
}

.hub-sidebar-posts{
  display:grid;
  gap:16px;
}
.hub-sidebar-post{
  border:1px solid var(--hub-border);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:0 12px 28px rgba(68,81,214,.08);
  overflow:hidden;
}
.hub-sidebar-post-link{
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  min-height:100%;
  text-decoration:none;
}
.hub-sidebar-post-image{
  width:100%;
  height:100%;
  min-height:140px;
  object-fit:cover;
}
.hub-sidebar-post-body{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
  min-width:0;
}
.hub-sidebar-post-title{
  margin:0;
  font-family:"Palatino Linotype","Book Antiqua",Georgia,serif;
  font-size:21px;
  line-height:1.25;
}
.hub-sidebar-post-text{
  margin:0;
  color:var(--hub-muted);
  font-size:14px;
  line-height:1.72;
}

.hub-breadcrumbs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
  color:#6d7b99;
  font-size:14px;
}
.hub-breadcrumbs a{
  color:#6d7b99;
  text-decoration:none;
}
.hub-breadcrumbs a:hover{
  color:var(--hub-accent-dark);
  text-decoration:underline;
}

.hub-panel{
  padding:30px;
}
.hub-article{
  padding:34px;
}
.hub-article-media{
  margin-bottom:24px;
}
.hub-article-image{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 16px 36px rgba(68,81,214,.08);
}
.hub-article-body{
  color:#25324f;
  font-size:17px;
  line-height:1.92;
}
.hub-article-body p{
  margin:0 0 1.15em;
}
.hub-article-body h2,
.hub-article-body h3{
  margin:1.6em 0 .6em;
  color:#12203c;
  line-height:1.25;
}
.hub-article-body a{
  color:var(--hub-accent-dark);
}
.hub-detail-grid{
  display:grid;
  gap:20px;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  margin-top:28px;
}
.hub-resource-preview{
  padding:24px;
  margin-top:26px;
}
.hub-preview-frame{
  width:100%;
  min-height:720px;
  border:1px solid var(--hub-border);
  border-radius:18px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(93,103,234,.04);
}
.hub-list{
  margin:16px 0 0;
  padding:0;
  list-style:none;
}
.hub-list li{
  position:relative;
  padding-left:18px;
  margin-top:10px;
  color:var(--hub-muted);
  line-height:1.7;
}
.hub-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--hub-accent);
}

.hub-footer{
  margin-top:52px;
  padding:8px 0 0;
}
.hub-footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:22px 24px;
  border:1px solid rgba(20,34,58,.08);
  border-radius:22px;
  background:rgba(255,255,255,.76);
  box-shadow:0 16px 36px rgba(20,34,58,.07);
  color:var(--hub-muted);
}
.hub-footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.hub-footer a{
  color:var(--hub-muted);
  text-decoration:none;
}
.hub-footer a:hover{
  color:var(--hub-accent-dark);
}

@media (max-width: 1080px){
  .hub-hero,
  .hub-detail-grid,
  .hub-grid.is-posts{
    grid-template-columns:1fr;
  }
}

@media (max-width: 820px){
  .hub-topbar-inner,
  .hub-nav-inner,
  .hub-footer-inner{
    width:min(100% - 24px,1180px);
  }
  .hub-main{
    width:min(100% - 24px,1180px);
  }
  .hub-nav-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .hub-nav-links{
    justify-content:flex-start;
  }
  .hub-grid.is-resources{
    grid-template-columns:1fr;
  }
  .hub-sidebar-post-link{
    grid-template-columns:1fr;
  }
  .hub-sidebar-post-image{
    min-height:180px;
    aspect-ratio:16/10;
  }
  .hub-hero,
  .hub-panel,
  .hub-article,
  .hub-resource-preview{
    padding:20px;
  }
  .hub-main{
    padding:136px 0 72px;
  }
  .hub-title{
    font-size:38px;
  }
  .hub-section-title{
    font-size:26px;
  }
  .hub-preview-frame{
    min-height:480px;
  }
  .hub-footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}
