.blog-page { background: var(--bg); }
.blog-ad-slot { display: grid; min-height: 120px; place-items: center; gap: 8px; margin-top: 20px; margin-bottom: 20px; border: 1px solid rgba(142, 233, 255, .12); background: rgba(7, 17, 29, .52); color: var(--subtle); }
.blog-ad-slot[hidden] { display: none; }
.blog-ad-slot > span { color: var(--subtle); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.blog-ad-slot .adsbygoogle { display: block; width: 100%; min-height: 90px; }
.blog-hero { position: relative; display: flex; min-height: min(820px, calc(100svh - 80px)); align-items: center; justify-content: center; padding-top: clamp(110px, 14vw, 180px); padding-bottom: clamp(90px, 12vw, 155px); overflow: hidden; isolation: isolate; background-image: linear-gradient(180deg, rgba(5, 10, 18, .8) 0%, rgba(5, 10, 18, .62) 45%, rgba(5, 10, 18, .92) 100%), url("douglas-desk.jpeg"); background-position: center, 74% center; background-size: cover; }
.blog-hero::before { position: absolute; z-index: -1; top: 7%; right: 4%; width: min(48vw, 650px); height: min(48vw, 650px); border: 1px solid rgba(142, 233, 255, .12); border-radius: 50%; content: ""; animation: blog-orbit 22s linear infinite; }
.blog-hero::after { position: absolute; z-index: -1; right: -11%; bottom: 8%; width: 52%; height: 1px; background: linear-gradient(90deg, transparent, rgba(142, 233, 255, .35), transparent); content: ""; transform: rotate(-19deg); }
.blog-hero-copy { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center; }
.blog-hero-copy h1 { max-width: 820px; margin: 20px auto 28px; color: var(--text); font-family: var(--display); font-size: clamp(42px, 5.6vw, 70px); line-height: .9; letter-spacing: -.09em; text-shadow: 0 12px 42px rgba(0, 0, 0, .38); }
.blog-hero-copy > p:not(.eyebrow) { max-width: 650px; margin-right: auto; margin-left: auto; color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.58; text-shadow: 0 4px 18px rgba(0, 0, 0, .38); }
.blog-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.blog-hero-note { display: inline-flex; align-items: center; gap: 8px; color: var(--subtle); font-size: 12px; }
.blog-hero-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); animation: blog-pulse 2.4s ease-in-out infinite; }
.blog-toolbar { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.blog-toolbar h2 { margin: 15px 0 0; font-size: clamp(29px, 3.8vw, 48px); line-height: .96; letter-spacing: -.075em; }
.blog-search-wrap { min-width: min(100%, 350px); }
.blog-search-wrap label { display: block; margin-bottom: 9px; color: var(--subtle); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.blog-search { display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid rgba(166, 196, 230, .25); border-radius: 13px; background: rgba(8, 18, 30, .72); transition: border-color 220ms ease, box-shadow 220ms ease; }
.blog-search:focus-within { border-color: rgba(142, 233, 255, .75); box-shadow: 0 0 22px rgba(77, 134, 255, .12); }
.blog-search input { width: 100%; min-height: 48px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.blog-search input::placeholder { color: #72849a; }
.blog-search span { color: var(--cyan); font-size: 24px; }
.blog-topics { display: flex; flex-wrap: wrap; gap: 9px; margin: 34px 0 28px; padding-bottom: 18px; border-bottom: 1px solid rgba(166, 196, 230, .14); }
.blog-topics button { min-height: 39px; padding: 0 15px; border: 1px solid rgba(166, 196, 230, .22); border-radius: 999px; background: transparent; color: #aebfd2; cursor: pointer; font-size: 12px; transition: border-color 220ms ease, color 220ms ease, background 220ms ease, transform 220ms ease; }
.blog-topics button:hover, .blog-topics button:focus-visible { border-color: rgba(142, 233, 255, .62); color: var(--text); transform: translateY(-2px); }
.blog-topics button.is-active { border-color: var(--cyan); background: var(--cyan); color: #06111c; }
.blog-featured { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: 420px; overflow: hidden; border: 1px solid rgba(142, 233, 255, .2); border-radius: 26px; background: #081624; box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }
.blog-featured-media, .blog-card-media { position: relative; overflow: hidden; isolation: isolate; }
.blog-featured-media { min-height: 420px; padding: 25px; background: radial-gradient(circle at 70% 44%, rgba(142, 233, 255, .21), transparent 20%), linear-gradient(135deg, #0b2741, #06101c 72%); }
.blog-featured-media::before, .blog-card-media::before { position: absolute; top: 14%; right: -22%; width: 90%; height: 74%; border: 1px solid rgba(142, 233, 255, .28); border-radius: 50%; content: ""; transform: rotate(-17deg); animation: blog-orbit 17s linear infinite; }
.blog-featured-media::after { position: absolute; right: 12%; bottom: 14%; width: 42%; height: 1px; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); content: ""; transform: rotate(-28deg); }
.blog-featured-media > span, .blog-card-media > span { position: relative; z-index: 2; color: var(--blue-light); font-size: 10px; letter-spacing: .12em; }
.blog-featured-media strong { position: absolute; z-index: 2; bottom: 36px; left: 27px; color: #eff8ff; font-family: var(--display); font-size: clamp(32px, 4.3vw, 55px); font-weight: 500; line-height: .88; letter-spacing: -.08em; }
.blog-featured-media em, .blog-card-media em { color: var(--cyan); font-style: normal; }
.blog-featured-media i { position: absolute; top: 44%; left: 45%; width: 17px; height: 17px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 26px var(--cyan); animation: blog-pulse 2.8s ease-in-out infinite; }
.blog-featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 64px); }
.blog-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--subtle); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.blog-card-meta span:first-child { color: var(--cyan); }
.blog-featured-copy h2 { max-width: 560px; margin: 23px 0 19px; font-size: clamp(26px, 3.1vw, 42px); line-height: .98; letter-spacing: -.075em; }
.blog-featured-copy p { max-width: 470px; color: var(--muted); font-size: 15px; line-height: 1.58; }
.blog-featured-copy .text-link { margin-top: 25px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.blog-card { overflow: hidden; border: 1px solid rgba(166, 196, 230, .16); border-radius: 20px; background: #081421; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); transition: border-color 240ms ease, transform 320ms cubic-bezier(.2, .8, .2, 1), box-shadow 240ms ease; }
.blog-card:hover { border-color: rgba(142, 233, 255, .5); box-shadow: 0 28px 64px rgba(0, 0, 0, .3), 0 0 26px rgba(77, 134, 255, .1); transform: translateY(-8px); }
.blog-card-media { min-height: 208px; padding: 20px; background: linear-gradient(145deg, #0e2941, #07111d); }
.blog-media-web { background: radial-gradient(circle at 30% 65%, rgba(77, 134, 255, .5), transparent 23%), linear-gradient(135deg, #112a51, #07111e); }
.blog-media-wp { background: radial-gradient(circle at 70% 32%, rgba(142, 233, 255, .24), transparent 20%), linear-gradient(135deg, #0b3144, #07111e); }
.blog-media-flow { background: radial-gradient(circle at 45% 52%, rgba(142, 233, 255, .25), transparent 18%), linear-gradient(135deg, #102d3d, #07111e); }
.blog-card-media::after { position: absolute; right: 13%; bottom: 20%; width: 55%; height: 1px; background: rgba(142, 233, 255, .75); box-shadow: 0 0 15px rgba(142, 233, 255, .7); content: ""; transform: rotate(-19deg); }
.blog-card-media strong { position: absolute; z-index: 2; bottom: 21px; left: 20px; color: #eff8ff; font-family: var(--display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: .88; letter-spacing: -.08em; }
.blog-card-body { padding: 22px 22px 25px; }
.blog-card-body h3 { min-height: 67px; margin: 18px 0 12px; font-size: 19px; line-height: 1.05; letter-spacing: -.06em; }
.blog-card-body p { min-height: 50px; color: var(--muted); font-size: 13.5px; line-height: 1.52; }
.blog-card-body .text-link { display: inline-flex; margin-top: 18px; }
.blog-empty { margin: 30px 0 0; padding: 25px; border: 1px dashed rgba(142, 233, 255, .3); color: var(--muted); text-align: center; }
.blog-cta { padding-top: 0; }
.blog-cta-inner { display: flex; justify-content: space-between; align-items: end; gap: 35px; padding: clamp(35px, 6vw, 70px); overflow: hidden; border: 1px solid rgba(142, 233, 255, .2); border-radius: 25px; background: linear-gradient(120deg, rgba(12, 38, 63, .9), rgba(7, 15, 26, .86)); box-shadow: 0 28px 80px rgba(0, 0, 0, .24); }
.blog-cta-inner h2 { max-width: 710px; margin: 16px 0 0; font-size: clamp(28px, 3.1vw, 44px); line-height: .95; letter-spacing: -.08em; }
@keyframes blog-orbit { to { transform: rotate(360deg); } }
@keyframes blog-pulse { 50% { opacity: .45; transform: scale(1.15); } }
@keyframes blog-pulse-ring { 0% { opacity: .8; transform: translate(-50%, -50%) scale(.55); } 75%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(4); } }
@media (max-width: 900px) {
  .blog-hero { min-height: 0; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-media { min-height: 340px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .blog-hero { padding-top: 88px; padding-bottom: 68px; }
  .blog-hero-copy h1 { font-size: clamp(38px, 10.5vw, 50px); }
  .blog-hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .blog-hero { background-position: center, 67% center; }
  .blog-toolbar { display: block; }
  .blog-search-wrap { margin-top: 28px; }
  .blog-featured-media { min-height: 280px; }
  .blog-featured-copy { padding: 29px 22px 35px; }
  .blog-featured-copy h2 { font-size: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card:last-child { grid-column: auto; }
  .blog-card-body h3, .blog-card-body p { min-height: 0; }
  .blog-cta-inner { display: block; padding: 31px 22px; }
  .blog-cta-inner .button { width: 100%; justify-content: center; margin-top: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-hero::before, .blog-hero-note i, .blog-featured-media::before, .blog-featured-media i, .blog-card-media::before { animation: none; }
}
