/* Blog index and article pages (prefix bl-) */
.bl-wide { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.bl-content { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.bl-more { display: inline-block; font-family: Archivo, var(--font); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #111; border-bottom: 2px solid var(--blue); padding-bottom: 5px; }
.bl-more:hover { color: var(--blue); }

/* ----- index ----- */
.bl-index { padding: 300px 0 60px; font-family: Archivo, var(--font); }
.bl-heading { display: flex; align-items: center; gap: 80px; margin-bottom: 96px; }
.bl-heading h1 { font-size: 56px; font-weight: 900; font-style: italic; line-height: 1.18; color: #000; }
.bl-heading span { flex: 1; height: 1px; background: #222; }
.bl-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border-top: 1px solid #d5d5d5; margin-bottom: 30px; min-height: 410px; }
.bl-row-text { padding: 46px 40px 40px; }
.bl-tag { display: inline-block; background: #14223f; color: #fff; font-size: 12px; padding: 7px 14px; border-radius: 20px; }
.bl-row h2 { font-size: 40px; font-weight: 400; line-height: 1.2; color: #111; margin-top: 22px; }
.bl-row h2 a:hover { color: var(--blue); }
.bl-row-date { font-size: 11px; color: #777; margin-top: 30px; }
.bl-row-excerpt { font-size: 14px; line-height: 1.55; color: #777; margin-top: 20px; max-width: 580px; }
.bl-row .bl-more { margin-top: 44px; }
.bl-row-img { display: block; overflow: hidden; clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%); }
.bl-row-img img { width: 100%; height: 100%; object-fit: cover; }

.bl-build { background: #111; padding: 40px 20px 80px; font-family: Archivo, var(--font); }
.bl-build-box { max-width: 1300px; margin: 0 auto; background: var(--blue); color: #fff; clip-path: polygon(3.5% 0, 100% 0, 96.5% 100%, 0 100%); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 64px 110px 0 100px; align-items: end; }
.bl-build-text { padding-bottom: 60px; }
.bl-build h2 { font-size: 40px; font-weight: 900; font-style: italic; line-height: 1.25; }
.bl-build p { font-size: 14px; line-height: 1.5; margin-top: 22px; color: rgba(255,255,255,.9); }
.bl-btn-white { background: #fff; color: var(--blue); font-weight: 700; margin-top: 26px; border-radius: 3px; }
.bl-btn-white:hover { background: var(--green); color: #fff; }
.bl-build-img { background: #fff; clip-path: polygon(34% 0, 100% 0, 94% 100%, 0 100%, 4% 46%, 30% 46%); padding: 40px 30px 0 120px; }
.bl-build-img img { width: 260px; height: auto; margin-left: auto; }

/* ----- article ----- */
.bl-post { padding-top: 110px; font-family: Archivo, var(--font); }
.bl-hero { min-height: 360px; display: grid; place-items: center; background-size: cover; background-position: center; padding: 40px 20px; }
.bl-hero h1 { font-size: 52px; font-weight: 900; font-style: italic; color: #fff; text-align: center; }
.bl-date { text-align: right; font-size: 12px; color: #222; margin: 54px 0 46px; }
.bl-content > p:not(.bl-date) { font-size: 15.5px; line-height: 1.6; color: #222; text-align: justify; margin: 0 0 24px; }
.bl-gallery { position: relative; margin: 36px -50px 30px; padding: 0 50px; }
.bl-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.bl-track li { flex: 0 0 auto; scroll-snap-align: center; }
.bl-track img { height: 520px; width: auto; max-width: none; border-radius: 2px; }
.bl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #14223f; cursor: pointer; z-index: 2; }
.bl-arrow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; }
.bl-prev { left: 0; } .bl-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.bl-next { right: 0; } .bl-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.bl-arrow:hover { background: var(--blue); }
.bl-postnav { display: flex; justify-content: space-between; background: #111; padding: 22px 24px; margin: 50px 0 60px; }
.bl-postnav a { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.bl-postnav a:hover { color: var(--green); }

.bl-related { font-family: Archivo, var(--font); padding-bottom: 70px; }
.bl-related h2 { font-size: 26px; font-weight: 900; font-style: italic; text-transform: uppercase; color: #000; margin-bottom: 26px; }
.bl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 50px; border-bottom: 1px solid #d5d5d5; }
.bl-card { background: #1f1f1f; color: #fff; display: flex; flex-direction: column; }
.bl-card-img img { width: 100%; height: 215px; object-fit: cover; }
.bl-card-body { padding: 18px 20px 30px; display: flex; flex-direction: column; flex: 1; }
.bl-card-date { font-size: 10px; color: #999; }
.bl-card h3 { font-size: 21px; font-weight: 400; line-height: 1.25; margin-top: 22px; }
.bl-card-text { font-size: 11px; line-height: 1.5; color: #8d8d8d; margin: 18px 0 30px; }
.bl-card .bl-more { color: #fff; font-size: 11px; margin-top: auto; align-self: flex-start; }

.bl-cta { background-size: cover; background-position: center 30%; padding: 200px 20px 80px; margin: 0 70px; font-family: Archivo, var(--font); }
.bl-cta-box { max-width: 1260px; margin: 0 auto; background: #fff; text-align: center; padding: 34px 20px 36px; box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.bl-cta-box h2 { font-size: 30px; font-weight: 700; color: #111; }
.bl-cta-box p { font-size: 16px; line-height: 1.5; color: #222; margin-top: 16px; }
.bl-btn-dark { background: #0c5a4a; color: #fff; text-transform: none; letter-spacing: 0; font-size: 14px; border-radius: 4px; margin-top: 22px; padding: 14px 22px; }
.bl-btn-dark:hover { background: var(--blue); }

@media (max-width: 820px) {
  .bl-index { padding-top: 90px; }
  .bl-heading { gap: 24px; margin-bottom: 40px; }
  .bl-heading h1 { font-size: 36px; }
  .bl-row { grid-template-columns: 1fr; min-height: 0; }
  .bl-row-text { padding: 28px 0; order: 2; }
  .bl-row-img { clip-path: none; height: 230px; }
  .bl-row h2 { font-size: 28px; }
  .bl-build-box { grid-template-columns: 1fr; clip-path: none; padding: 40px 24px 0; }
  .bl-build h2 { font-size: 28px; }
  .bl-build-img { clip-path: none; padding: 20px; }
  .bl-build-img img { margin: 0 auto; width: 180px; }
  .bl-post { padding-top: 0; }
  .bl-hero { min-height: 220px; }
  .bl-hero h1 { font-size: 30px; }
  .bl-date { margin: 28px 0; }
  .bl-content > p:not(.bl-date) { text-align: left; }
  .bl-gallery { margin: 24px 0; padding: 0; }
  .bl-track img { height: 240px; }
  .bl-arrow { display: none; }
  .bl-cards { grid-template-columns: 1fr; }
  .bl-cta { margin: 0; padding: 120px 16px 40px; }
  .bl-cta-box h2 { font-size: 24px; }
}
