:root{
  --bp-blue:#3972FE;
  --bp-blue-dark:#2f5cf0;
  --bp-aqua:#EDFAFF;
  --bp-ink:#0b1420;
  --bp-muted:#3a4a61;
  --bp-soft:#F6FAFF;
  --bp-border:#DDE8FF;
  --bp-shadow:0 22px 52px rgba(36,61,126,.13);
  --bp-max:1100px;
  --bp-pad:clamp(16px,4vw,64px);
}

.blog-page{
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--bp-ink);
  background:#fff;
}

.bp-container{
  width:min(var(--bp-max), calc(100% - var(--bp-pad) * 2));
  margin-inline:auto;
}

.bp-eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  color:var(--bp-blue);
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.bp-hero{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg, var(--bp-aqua) 0%, #fff 100%);
  padding:clamp(52px,7vw,88px) 0 26px;
}

.bp-hero::after{
  content:"";
  position:absolute;
  right:clamp(-40px,4vw,60px);
  top:24px;
  width:clamp(140px,16vw,260px);
  height:clamp(140px,16vw,260px);
  background:url("../images/Os-watermark1.96f6d697d19f.png") center / contain no-repeat;
  opacity:.08;
  pointer-events:none;
}

.bp-hero__inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,420px);
  gap:clamp(20px,4vw,48px);
  align-items:end;
}

.bp-hero h1{
  margin:8px 0 12px;
  font-family:"DM Sans",Inter,system-ui,sans-serif;
  font-size:clamp(34px,5vw,56px);
  font-weight:700;
  line-height:1.04;
  letter-spacing:0;
}

.bp-hero p{
  max-width:720px;
  margin:0;
  color:#263449;
  font-size:clamp(16px,1.6vw,18px);
  line-height:1.55;
}

.bp-search{
  display:flex;
  align-items:center;
  gap:10px;
  height:52px;
  padding:0 16px;
  border:1px solid var(--bp-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 14px 34px rgba(36,61,126,.10);
}

.bp-search i{
  color:var(--bp-blue);
  font-size:18px;
  flex:0 0 auto;
}

.bp-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  color:var(--bp-ink);
  font:inherit;
  background:transparent;
}

.bp-search input::placeholder{
  color:#77869c;
}

.bp-toolbar{
  background:#fff;
  padding:8px 0 26px;
}

.bp-filters{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.bp-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:76px;
  height:32px;
  padding:0 16px;
  border:1px solid var(--bp-blue);
  border-radius:6px;
  color:var(--bp-blue);
  background:#fff;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition:background .16s ease, color .16s ease, border-color .16s ease;
}

.bp-chip:hover,
.bp-chip.is-active{
  background:rgba(57,114,254,.14);
  border-color:rgba(57,114,254,.18);
}

.bp-featured{
  background:#fff;
  padding:0 0 28px;
}

.bp-feature{
  display:grid;
  grid-template-columns:minmax(280px,440px) minmax(0,1fr);
  gap:clamp(20px,4vw,44px);
  align-items:center;
  padding:22px;
  border:1px solid var(--bp-border);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--bp-shadow);
}

.bp-feature__media{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  background:#F2F7FF;
}

.bp-feature__media img{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
}

.bp-play{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  width:70px;
  height:70px;
  border-radius:50%;
  background:var(--bp-blue);
  color:#fff;
  box-shadow:0 18px 40px rgba(57,114,254,.30);
}

.bp-play i{
  font-size:34px;
  transform:translateX(2px);
}

.bp-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:10px;
  color:#64748b;
  font-size:13px;
  font-weight:600;
}

.bp-meta span{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 9px;
  border-radius:6px;
  background:#F1F6FF;
}

.bp-feature h2,
.bp-section h2,
.bp-subscribe h2{
  margin:0;
  font-family:"DM Sans",Inter,system-ui,sans-serif;
  font-weight:700;
  line-height:1.16;
  letter-spacing:0;
}

.bp-feature h2{
  max-width:620px;
  font-size:clamp(26px,3.2vw,38px);
}

.bp-feature h2 a{
  color:var(--bp-ink);
  text-decoration:none;
}

.bp-feature h2 a:hover{
  color:var(--bp-blue);
}

.bp-feature p{
  margin:12px 0 18px;
  color:#263449;
  font-size:16px;
  line-height:1.6;
}

.bp-link{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:var(--bp-blue);
  font-weight:700;
  text-decoration:none;
}

.bp-link:hover{
  color:var(--bp-blue-dark);
  text-decoration:underline;
}

.bp-section{
  padding:48px 0 64px;
  background:linear-gradient(180deg,#fff 0%,#F7FBFF 100%);
}

.bp-section--aqua{
  background:var(--bp-aqua);
}

.bp-section__head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:24px;
  align-items:end;
  margin-bottom:22px;
}

.bp-section__head h2{
  margin-top:6px;
  font-size:clamp(28px,3.6vw,40px);
}

.bp-section__head p{
  margin:0;
  color:var(--bp-muted);
  line-height:1.55;
}

.bp-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.bp-card{
  overflow:hidden;
  border:1px solid var(--bp-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 36px rgba(36,61,126,.10);
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.bp-card__image{
  display:block;
  overflow:hidden;
  background:#F2F7FF;
}

.bp-card__image img{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  transition:transform .22s ease;
}

.bp-card:hover .bp-card__image img{
  transform:scale(1.03);
}

.bp-card__body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:16px;
}

.bp-card h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.28;
  font-weight:700;
}

.bp-card h3 a{
  color:var(--bp-ink);
  text-decoration:none;
}

.bp-card h3 a:hover{
  color:var(--bp-blue);
}

.bp-card p{
  margin:0;
  color:#334155;
  line-height:1.52;
}

.bp-empty{
  margin:24px 0 0;
  padding:18px;
  border:1px dashed var(--bp-border);
  border-radius:8px;
  color:var(--bp-muted);
  text-align:center;
  background:#fff;
}

.bp-video-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.bp-video{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:16px;
  border:1px solid var(--bp-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 36px rgba(36,61,126,.10);
}

.bp-video__thumb{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:12px;
  background:#F2F7FF;
}

.bp-video__thumb img{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  transition:transform .22s ease;
}

.bp-video:hover .bp-video__thumb img{
  transform:scale(1.03);
}

.bp-play--small{
  width:42px;
  height:42px;
  box-shadow:0 12px 28px rgba(57,114,254,.26);
}

.bp-play--small i{
  font-size:22px;
}

.bp-video h3{
  margin:0 0 8px;
  font-size:19px;
  line-height:1.24;
  font-weight:700;
}

.bp-video h3 a{
  color:var(--bp-ink);
  text-decoration:none;
}

.bp-video h3 a:hover{
  color:var(--bp-blue);
}

.bp-video p{
  margin:0;
  color:#334155;
  line-height:1.5;
}

.bp-subscribe{
  padding:58px 0 80px;
  background:var(--bp-aqua);
}

.bp-subscribe__inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,460px);
  gap:28px;
  align-items:center;
  padding:clamp(24px,4vw,40px);
  border:1px solid var(--bp-border);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--bp-shadow);
}

.bp-subscribe h2{
  margin-top:6px;
  font-size:clamp(26px,3.4vw,36px);
}

.bp-subscribe p{
  max-width:680px;
  margin:12px 0 0;
  color:#263449;
  line-height:1.55;
}

.bp-subscribe__form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}

.bp-subscribe__form input,
.bp-subscribe__form button{
  height:50px;
  border-radius:8px;
  font:inherit;
}

.bp-subscribe__form input{
  min-width:0;
  border:1px solid var(--bp-border);
  padding:0 14px;
  color:var(--bp-ink);
  outline:0;
}

.bp-subscribe__form input:focus{
  border-color:var(--bp-blue);
  box-shadow:0 0 0 3px rgba(57,114,254,.12);
}

.bp-subscribe__form button{
  border:1px solid transparent;
  padding:0 22px;
  background:var(--bp-blue);
  color:#fff;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 14px 30px rgba(57,114,254,.24);
}

.bp-subscribe__form button:hover{
  background:var(--bp-blue-dark);
}

.bp-post-item[hidden]{
  display:none !important;
}

.bp-detail{
  padding:clamp(42px,6vw,72px) 0 84px;
  background:linear-gradient(180deg,#F7FBFF 0%,#fff 58%);
}

.bp-back{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  margin-bottom:24px;
  color:var(--bp-blue);
  font-weight:700;
  text-decoration:none;
}

.bp-back:hover{
  color:var(--bp-blue-dark);
  text-decoration:underline;
}

.bp-detail__layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,320px);
  gap:clamp(24px,4vw,44px);
  align-items:start;
}

.bp-detail__main{
  min-width:0;
}

.bp-detail__header{
  margin-bottom:22px;
}

.bp-detail__header h1{
  max-width:820px;
  margin:0;
  font-family:"DM Sans",Inter,system-ui,sans-serif;
  font-size:clamp(32px,4.6vw,52px);
  font-weight:700;
  line-height:1.08;
  letter-spacing:0;
}

.bp-detail__lead{
  max-width:760px;
  margin:14px 0 0;
  color:#263449;
  font-size:clamp(16px,1.6vw,18px);
  line-height:1.6;
}

.bp-video-frame{
  position:relative;
  overflow:hidden;
  width:100%;
  aspect-ratio:16 / 9;
  border-radius:8px;
  background:#07111f;
  box-shadow:var(--bp-shadow);
}

.bp-video-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.bp-detail__hero-image{
  overflow:hidden;
  margin:0;
  border-radius:8px;
  background:#F2F7FF;
  box-shadow:var(--bp-shadow);
}

.bp-detail__hero-image img{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
}

.bp-detail__content{
  margin-top:30px;
  color:#243044;
  font-size:17px;
  line-height:1.72;
}

.bp-detail__content section + section{
  margin-top:26px;
}

.bp-detail__content h2{
  margin:0 0 10px;
  color:var(--bp-ink);
  font-family:"DM Sans",Inter,system-ui,sans-serif;
  font-size:clamp(22px,2.8vw,30px);
  font-weight:700;
  letter-spacing:0;
  line-height:1.2;
}

.bp-detail__content p{
  margin:0 0 14px;
}

.bp-detail__content p:last-child{
  margin-bottom:0;
}

.bp-detail__content ul{
  display:grid;
  gap:10px;
  margin:12px 0 0;
  padding:0;
  list-style:none;
}

.bp-detail__content li{
  position:relative;
  padding-left:22px;
}

.bp-detail__content li::before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--bp-blue);
}

.bp-detail__gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:30px;
}

.bp-detail__gallery img{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
  border-radius:8px;
  background:#F2F7FF;
}

.bp-detail__side{
  position:sticky;
  top:92px;
}

.bp-side-panel{
  padding:18px;
  border:1px solid var(--bp-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 14px 34px rgba(36,61,126,.09);
}

.bp-side-panel h2{
  margin:0 0 14px;
  font-size:18px;
  line-height:1.25;
}

.bp-side-panel dl{
  display:grid;
  gap:12px;
  margin:0;
}

.bp-side-panel dl div{
  display:grid;
  gap:2px;
}

.bp-side-panel dt{
  color:#64748b;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.bp-side-panel dd{
  margin:0;
  color:var(--bp-ink);
  font-weight:700;
}

.bp-side-panel__link{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin-top:18px;
  border-radius:8px;
  background:var(--bp-blue);
  color:#fff;
  font-weight:700;
  text-decoration:none;
}

.bp-side-panel__link:hover{
  background:var(--bp-blue-dark);
  color:#fff;
}

@media (max-width:980px){
  .bp-hero__inner,
  .bp-feature,
  .bp-section__head,
  .bp-subscribe__inner,
  .bp-detail__layout{
    grid-template-columns:1fr;
  }

  .bp-search{
    max-width:560px;
  }

  .bp-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .bp-video-list{
    grid-template-columns:1fr;
  }

  .bp-detail__side{
    position:static;
  }
}

@media (max-width:640px){
  .bp-container{
    width:min(100% - 32px, var(--bp-max));
  }

  .bp-hero{
    padding-top:42px;
  }

  .bp-feature,
  .bp-subscribe__inner{
    padding:16px;
    border-radius:16px;
  }

  .bp-grid{
    grid-template-columns:1fr;
  }

  .bp-video{
    grid-template-columns:1fr;
  }

  .bp-detail__gallery{
    grid-template-columns:1fr;
  }

  .bp-subscribe__form{
    grid-template-columns:1fr;
  }

  .bp-subscribe__form button{
    width:100%;
  }
}
