/* ==========================================================================
   blog.css — Blog listing + article page styles
   ========================================================================== */

/* Design tokens (map to theme's --db-* variables) */
:root {
  --bl-ink:        var(--db-ink,        #0A1322);
  --bl-ink-2:      var(--db-ink2,       #1B2436);
  --bl-muted:      var(--db-muted,      #6B7280);
  --bl-line:       var(--db-line,       #E8EAEF);
  --bl-cream:      var(--db-cream,      #F4F5F0);
  --bl-blue:       var(--db-blue,       #385098);
  --bl-blue-ink:   var(--db-blue-ink,   #2A3F7C);
  --bl-blue-hover: var(--db-blue-hover, #445FAE);
  --bl-blue-tint:  #EEF1F8;
  --bl-blue-soft:  #E1E7F4;
}

/* ==========================================================================
   BLOG LISTING
   ========================================================================== */

/* ---------- page background ---------- */
body.blog,
body.category {
  background: var(--bl-cream);
}

/* ---------- blog header ---------- */
.blog-head {
  padding: 64px 0 36px;
}
.blog-head .eyebrow {
  font-family: inherit;
  font-size: 13px;
  color: var(--bl-muted);
  text-transform: lowercase;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.blog-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--bl-ink);
  display: inline-block;
}
.blog-head h1 {
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.045em;
  line-height: .95;
  margin: 20px 0 20px;
  font-weight: 700;
  color: var(--bl-ink);
}
.blog-head h1 em {
  font-style: normal;
  color: var(--bl-blue);
}
.blog-head .blog-head__lead {
  font-size: 19px;
  color: var(--bl-ink-2);
  max-width: 600px;
  line-height: 1.5;
  margin: 0;
}

/* ---------- filter row ---------- */
.blog-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--bl-line);
  border-bottom: 1px solid var(--bl-line);
  padding: 18px 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.blog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-tab {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .01em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--bl-line);
  background: #fff;
  color: var(--bl-ink-2);
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.blog-tab .count {
  color: var(--bl-muted);
  font-size: 11px;
}
.blog-tab:hover {
  border-color: var(--bl-ink-2);
}
.blog-tab.active,
.blog-tab:is(.active) {
  background: var(--bl-ink);
  color: #fff;
  border-color: var(--bl-ink);
}
.blog-tab.active .count {
  color: rgba(255, 255, 255, .55);
}
.blog-feed-count {
  font-family: inherit;
  font-size: 13px;
  color: var(--bl-muted);
}

/* ---------- featured post ---------- */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--bl-line);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.blog-featured:hover {
  transform: translateY(-3px);
  border-color: var(--bl-blue-soft);
  box-shadow: 0 26px 60px -36px rgba(56, 80, 152, .34);
}
.blog-featured__text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.blog-featured__badges {
  display: flex;
  gap: 8px;
  align-items: center;
}
.blog-featured__pill {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--bl-blue);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
}
.blog-featured h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 4px 0;
  font-weight: 700;
  color: var(--bl-ink);
}
.blog-featured p {
  font-size: 16px;
  color: var(--bl-muted);
  line-height: 1.55;
  max-width: 520px;
  margin: 0;
}
.blog-featured__readmore {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--bl-blue);
}
.blog-featured__readmore svg {
  width: 16px;
  height: 16px;
  transition: transform .2s;
}
.blog-featured:hover .blog-featured__readmore svg {
  transform: translateX(4px);
}
.blog-featured__image {
  position: relative;
  min-height: 360px;
  background: var(--bl-blue-tint);
}
.blog-featured__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- meta line (category · time · date) ---------- */
.blog-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--bl-muted);
}
.blog-meta-line .cat {
  color: var(--bl-blue);
  text-transform: lowercase;
}
.blog-meta-line .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--bl-line);
  flex-shrink: 0;
  display: inline-block;
}

/* ---------- post grid ---------- */
.blog-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 24px;
}
.blog-post-card {
  background: #fff;
  border: 1px solid var(--bl-line);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.blog-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--bl-blue-soft);
  box-shadow: 0 22px 50px -34px rgba(56, 80, 152, .3);
}
.blog-post-card__img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bl-blue-tint);
  overflow: hidden;
}
.blog-post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-post-card:hover .blog-post-card__img img {
  transform: scale(1.04);
}
.blog-post-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .04em;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  color: var(--bl-blue);
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: lowercase;
}
.blog-post-card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-post-card h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
  color: var(--bl-ink);
  margin: 0;
}
.blog-post-card p {
  font-size: 14.5px;
  color: var(--bl-muted);
  line-height: 1.5;
  margin: 0;
}
.blog-post-card__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--bl-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-post-card__date {
  font-family: inherit;
  font-size: 12.5px;
  color: var(--bl-muted);
}
.blog-post-card__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bl-cream);
  color: var(--bl-ink);
  display: grid;
  place-items: center;
  transition: all .2s;
  flex-shrink: 0;
}
.blog-post-card:hover .blog-post-card__arrow {
  background: var(--bl-ink);
  color: #fff;
  transform: rotate(-45deg);
}
.blog-post-card__arrow svg {
  width: 13px;
  height: 13px;
}

/* ---------- pagination ---------- */
.blog-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 8px;
  flex-wrap: wrap;
}
.blog-pager ul,
.blog-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-pager li,
.blog-pager .page-item {
  margin: 0;
  padding: 0;
  display: inline-flex;
}
.blog-pager a,
.blog-pager .page-link {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--bl-line);
  background: #fff;
  color: var(--bl-ink-2);
  text-decoration: none;
  transition: all .15s ease;
  line-height: 1;
}
.blog-pager a:hover,
.blog-pager .page-link:hover {
  border-color: var(--bl-ink-2);
}
.blog-pager .current,
.blog-pager .cur,
.blog-pager .page-link.current,
.blog-pager .page-item.active .page-link {
  background: var(--bl-ink);
  color: #fff;
  border-color: var(--bl-ink);
}
.blog-pager .dots,
.blog-pager .page-link.dots {
  background: transparent;
  border: 0;
  color: var(--bl-muted);
  min-width: 24px;
  padding: 0 4px;
  pointer-events: none;
  font-size: 18px;
  letter-spacing: 2px;
}
.blog-pager .dots:hover,
.blog-pager .page-link.dots:hover {
  border-color: transparent;
}
.blog-pager .next,
.blog-pager .prev {
  gap: 8px;
}
.blog-pager .next svg,
.blog-pager .prev svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   BLOG ARTICLE (single.php)
   ========================================================================== */

/* ---------- article header ---------- */
.art-head {
  background: #F7F6F1;
  border-bottom: 1px solid var(--bl-line);
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
}
.art-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56, 80, 152, .14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(680px 360px at 90% 16%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(680px 360px at 90% 16%, #000, transparent 70%);
  pointer-events: none;
}
.art-head > .container {
  position: relative;
  z-index: 1;
}
.art-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 18px;
  font-family: inherit;
  font-size: 13px;
  color: var(--bl-muted);
  flex-wrap: wrap;
}
.art-meta .cat {
  background: var(--bl-blue);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: lowercase;
  letter-spacing: .03em;
  font-size: 12px;
}
.art-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--bl-line);
  flex-shrink: 0;
  display: inline-block;
}
.art-head h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 920px;
  font-weight: 700;
  color: var(--bl-ink);
  margin: 0;
}
.art-lead {
  font-size: 19px;
  color: var(--bl-ink-2);
  line-height: 1.5;
  max-width: 720px;
  margin-top: 22px;
  margin-bottom: 0;
}
.art-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.art-byline img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bl-blue-tint);
}
.art-byline__info {
  display: flex;
  flex-direction: column;
}
.art-byline__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--bl-ink);
}
.art-byline__role {
  font-size: 12.5px;
  color: var(--bl-muted);
  font-family: inherit;
}

/* ---------- hero image ---------- */
.art-hero-img {
  margin: 36px 0 0;
}
.art-hero-img .frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--bl-line);
  background: var(--bl-blue-tint);
  aspect-ratio: 16/8;
  position: relative;
  box-shadow: 0 30px 70px -42px rgba(56, 80, 152, .4);
}
.art-hero-img .frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- article layout ---------- */
.art-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  padding: 64px 0 32px;
  align-items: start;
}

/* ---------- TOC sidebar ---------- */
.art-toc {
  position: sticky;
  top: 96px;
}
.art-toc__label {
  font-family: inherit;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bl-muted);
  font-weight: 500;
  margin-bottom: 16px;
  margin-top: 0;
}
.art-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--bl-line);
}
.art-toc__list li a {
  display: block;
  padding: 8px 0 8px 18px;
  margin-left: -1px;
  font-size: 14px;
  color: var(--bl-muted);
  line-height: 1.4;
  border-left: 2px solid transparent;
  transition: all .15s ease;
  text-decoration: none;
}
.art-toc__list li a:hover {
  color: var(--bl-ink);
}
.art-toc__list li.active a,
.art-toc__list li a.active {
  color: var(--bl-ink);
  border-left-color: var(--bl-blue);
  font-weight: 500;
}
.art-toc__list li.table-child a {
  padding-left: 30px;
  font-size: 13px;
}
.art-toc__progress {
  margin-top: 22px;
  height: 4px;
  border-radius: 3px;
  background: var(--bl-line);
  overflow: hidden;
}
.art-toc__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--bl-blue);
  border-radius: 3px;
  transition: width .1s linear;
}

/* ---------- prose ---------- */
.art-prose {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--bl-ink-2);
}
.art-prose > p {
  margin: 0 0 24px;
}
.art-prose h2 {
  font-size: 30px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--bl-ink);
  margin: 52px 0 20px;
  scroll-margin-top: 96px;
  font-weight: 700;
}
.art-prose h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--bl-ink);
  margin: 40px 0 16px;
  scroll-margin-top: 96px;
  font-weight: 700;
}
.art-prose a {
  color: var(--bl-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.art-prose a:hover {
  color: var(--bl-blue-ink);
}
.art-prose strong {
  color: var(--bl-ink);
  font-weight: 600;
}
.art-prose ul,
.art-prose ol {
  margin: 0 0 24px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}
.art-prose ul li {
  position: relative;
  padding-left: 30px;
}
.art-prose ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bl-blue);
}
.art-prose ol {
  counter-reset: n;
}
.art-prose ol li {
  position: relative;
  padding-left: 42px;
  counter-increment: n;
}
.art-prose ol li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bl-blue-tint);
  color: var(--bl-blue);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  display: grid;
  place-items: center;
}
.art-prose .inline-img {
  margin: 34px 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--bl-line);
  background: #fff;
}
.art-prose .inline-img img {
  width: 100%;
  display: block;
}

/* ---------- callout ---------- */
.art-callout {
  margin: 34px 0;
  padding: 26px 30px;
  border-radius: 18px;
  background: var(--bl-blue-tint);
  border: 1px solid var(--bl-blue-soft);
  font-size: 17px;
  color: var(--bl-ink-2);
  line-height: 1.6;
}
.art-callout strong {
  color: var(--bl-blue-ink);
}

/* ---------- table ---------- */
.art-table-scroll {
  margin: 30px 0;
  border: 1px solid var(--bl-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  overflow-x: auto;
}
.art-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}
.art-table-scroll thead th {
  background: var(--bl-ink);
  color: #fff;
  text-align: left;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  vertical-align: top;
}
.art-table-scroll thead th:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.art-table-scroll tbody td {
  padding: 16px 22px;
  border-top: 1px solid var(--bl-line);
  color: var(--bl-ink-2);
  vertical-align: top;
  line-height: 1.45;
}
.art-table-scroll tbody td:first-child {
  font-weight: 500;
  color: var(--bl-ink);
}
.art-table-scroll tbody td:not(:first-child) {
  border-left: 1px dashed var(--bl-line);
  font-family: inherit;
  font-size: 14px;
}
.art-table-scroll tbody tr:nth-child(even) {
  background: #FAFBFD;
}
.art-table-scroll tbody tr.delta td {
  background: var(--bl-blue-tint);
  font-weight: 600;
  color: var(--bl-blue-ink);
}
.art-table-scroll tbody tr.delta td:not(:first-child) {
  color: var(--bl-blue);
}

/* ---------- share bar ---------- */
.art-share-bar {
  max-width: 760px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bl-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.art-share-bar__label {
  font-family: inherit;
  font-size: 13px;
  color: var(--bl-muted);
}
.art-share-links {
  display: flex;
  gap: 10px;
}
.art-share-links a,
.art-share-links button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--bl-line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--bl-ink-2);
  transition: all .15s ease;
  cursor: pointer;
  font-family: inherit;
}
.art-share-links a:hover,
.art-share-links button:hover {
  background: var(--bl-ink);
  color: #fff;
  border-color: var(--bl-ink);
  transform: translateY(-2px);
}
.art-share-links a svg,
.art-share-links button svg {
  width: 18px;
  height: 18px;
}

/* ---------- author bio ---------- */
.art-author {
  max-width: 760px;
  margin: 48px 0 0;
  display: flex;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--bl-line);
  border-radius: 20px;
  background: #fff;
}
.art-author img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bl-blue-tint);
}
.art-author__body .role {
  font-family: inherit;
  font-size: 12px;
  color: var(--bl-blue);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
}
.art-author__body h4 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 6px 0 10px;
  color: var(--bl-ink);
  font-weight: 700;
}
.art-author__body p {
  font-size: 14.5px;
  color: var(--bl-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- related posts ---------- */
.art-related {
  padding: 64px 0 80px;
  border-top: 1px solid var(--bl-line);
  margin-top: 64px;
}
.art-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.art-related__head h2 {
  font-size: 38px;
  letter-spacing: -0.03em;
  color: var(--bl-ink);
  margin: 0;
  font-weight: 700;
}
.art-related__all {
  font-size: 15px;
  color: var(--bl-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.art-related__all svg {
  width: 15px;
  height: 15px;
}
.art-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.art-rel-card {
  background: #fff;
  border: 1px solid var(--bl-line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.art-rel-card:hover {
  transform: translateY(-3px);
  border-color: var(--bl-blue-soft);
  box-shadow: 0 22px 50px -34px rgba(56, 80, 152, .3);
}
.art-rel-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bl-blue-tint);
}
.art-rel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.art-rel-card:hover .art-rel-card__img img {
  transform: scale(1.04);
}
.art-rel-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.art-rel-card h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--bl-ink);
  font-weight: 700;
  margin: 0;
}
.art-rel-card__meta {
  font-family: inherit;
  font-size: 12px;
  color: var(--bl-muted);
  margin-top: auto;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .blog-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured__image {
    min-height: 300px;
    order: -1;
  }
  .art-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .art-toc {
    display: none;
  }
  .art-rel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .blog-post-grid {
    grid-template-columns: 1fr;
  }
  .blog-featured__text {
    padding: 32px 26px;
  }
  .blog-filter-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-feed-count {
    display: none;
  }
  .art-author {
    flex-direction: column;
    gap: 18px;
  }
  .art-rel-grid {
    grid-template-columns: 1fr;
  }
  .art-related__head h2 {
    font-size: 28px;
  }
  .art-prose {
    font-size: 17px;
  }
  .art-prose h2 {
    font-size: 26px;
  }
}

/* ==========================================================================
   SUBSCRIBE SECTION — dark redesign for blog pages
   ========================================================================== */

body.blog .section-subscribe,
body.category .section-subscribe,
body.single-post .section-subscribe {
  background: transparent;
  padding: 0;
  margin: 64px 0 80px;
}
body.blog .section-subscribe .container,
body.category .section-subscribe .container,
body.single-post .section-subscribe .container {
  padding-left: 40px;
  padding-right: 40px;
}
body.blog .section-subscribe .subscribe__wrap,
body.category .section-subscribe .subscribe__wrap,
body.single-post .section-subscribe .subscribe__wrap {
  background: var(--bl-ink);
  color: #fff;
  border-radius: 24px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
}
body.blog .section-subscribe .subscribe__wrap::before,
body.category .section-subscribe .subscribe__wrap::before,
body.single-post .section-subscribe .subscribe__wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  mask-image: radial-gradient(560px 320px at 88% 12%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(560px 320px at 88% 12%, #000, transparent 70%);
  pointer-events: none;
}
body.blog .section-subscribe .subscribe__wrap > *,
body.category .section-subscribe .subscribe__wrap > *,
body.single-post .section-subscribe .subscribe__wrap > * {
  position: relative;
  z-index: 1;
}
body.blog .section-subscribe .subscribe__title,
body.category .section-subscribe .subscribe__title,
body.single-post .section-subscribe .subscribe__title {
  font-size: 40px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #fff;
  margin: 0;
  font-weight: 700;
  max-width: 440px;
  text-align: left;
}
body.blog .section-subscribe .wpcf7,
body.category .section-subscribe .wpcf7,
body.single-post .section-subscribe .wpcf7 {
  margin: 0;
}
body.blog .section-subscribe .wpcf7-form,
body.category .section-subscribe .wpcf7-form,
body.single-post .section-subscribe .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
body.blog .section-subscribe .subscribe-form,
body.category .section-subscribe .subscribe-form,
body.single-post .section-subscribe .subscribe-form {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 8px 8px 8px 18px;
  align-items: center;
}
body.blog .section-subscribe .form-group,
body.category .section-subscribe .form-group,
body.single-post .section-subscribe .form-group {
  flex: 1;
  margin: 0;
}
body.blog .section-subscribe .info-form,
body.blog .section-subscribe input[type="email"],
body.category .section-subscribe .info-form,
body.category .section-subscribe input[type="email"],
body.single-post .section-subscribe .info-form,
body.single-post .section-subscribe input[type="email"] {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  width: 100%;
  padding: 12px 0;
  box-shadow: none;
}
body.blog .section-subscribe input[type="email"]::placeholder,
body.category .section-subscribe input[type="email"]::placeholder,
body.single-post .section-subscribe input[type="email"]::placeholder {
  color: rgba(255, 255, 255, .45);
}
body.blog .section-subscribe .contact-form__btn,
body.category .section-subscribe .contact-form__btn,
body.single-post .section-subscribe .contact-form__btn {
  margin: 0;
}
body.blog .section-subscribe .wpcf7-submit,
body.category .section-subscribe .wpcf7-submit,
body.single-post .section-subscribe .wpcf7-submit {
  background: var(--bl-blue);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  transition: background .15s ease;
  cursor: pointer;
}
body.blog .section-subscribe .wpcf7-submit:hover,
body.category .section-subscribe .wpcf7-submit:hover,
body.single-post .section-subscribe .wpcf7-submit:hover {
  background: var(--bl-blue-hover);
}
body.blog .section-subscribe .wpcf7-submit .svg-icon,
body.category .section-subscribe .wpcf7-submit .svg-icon,
body.single-post .section-subscribe .wpcf7-submit .svg-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
body.blog .section-subscribe .wpcf7-response-output,
body.category .section-subscribe .wpcf7-response-output,
body.single-post .section-subscribe .wpcf7-response-output {
  color: rgba(255, 255, 255, .7);
  border-color: rgba(255, 255, 255, .2);
  margin-top: 12px;
}

@media (max-width: 1080px) {
  body.blog .section-subscribe .subscribe__wrap,
  body.category .section-subscribe .subscribe__wrap,
  body.single-post .section-subscribe .subscribe__wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 32px;
  }
  body.blog .section-subscribe .subscribe__title,
  body.category .section-subscribe .subscribe__title,
  body.single-post .section-subscribe .subscribe__title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  body.blog .section-subscribe .container,
  body.category .section-subscribe .container,
  body.single-post .section-subscribe .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  body.blog .section-subscribe .subscribe-form,
  body.category .section-subscribe .subscribe-form,
  body.single-post .section-subscribe .subscribe-form {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }
  body.blog .section-subscribe .info-form,
  body.category .section-subscribe .info-form,
  body.single-post .section-subscribe .info-form {
    padding: 12px 10px !important;
  }
  body.blog .section-subscribe .wpcf7-submit,
  body.category .section-subscribe .wpcf7-submit,
  body.single-post .section-subscribe .wpcf7-submit {
    width: 100%;
    justify-content: center;
  }
}
