:root {
  --pt-page-max-width: 1200px;
  --pt-page-section-gap: 50px;
  --pt-card-gap: 18px;
  --pt-shell-padding: 34px;
}

.pt-cluster-section {
  width: min(var(--pt-page-max-width), 100%);
  margin: 56px auto;
  box-sizing: border-box;
}

.pt-cluster-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 34px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.pt-cluster-header {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  max-width: 760px;
}

.pt-cluster-header .wp-block-heading,
.pt-cluster-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.pt-cluster-header .wp-block-paragraph,
.pt-cluster-header p {
  margin: 0;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.72;
}

.pt-cluster-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
}

.pt-cluster-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pt-cluster-grid--blog {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pt-cluster-card-wrap {
  min-width: 0;
}

.pt-cluster-card {
  --pt-card-accent: #2563EB;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: auto;
  padding: 18px 18px 16px;
  border-radius: 22px;
  text-decoration: none;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.pt-cluster-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
  background: var(--pt-card-accent);
}

.pt-cluster-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.pt-cluster-card:focus,
.pt-cluster-card:focus-visible {
  outline: none;
}

.pt-cluster-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 0 0 6px color-mix(in srgb, var(--pt-card-accent) 45%, white), 0 20px 44px rgba(15, 23, 42, 0.11);
}

.pt-cluster-card-icon {
  width: 80px;
  height: 80px;
  display: block;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: auto;
}

.pt-cluster-card-icon img {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: contain;
}

.pt-cluster-card-body {
  width: 100%;
  text-align: center;
}

.pt-cluster-card-body h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.pt-cluster-card-body p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.58;
}

.pt-cluster-decoration {
  position: absolute;
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
}

.pt-cluster-decoration img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pt-cluster-decoration--top_left {
  top: -10px;
  left: -6px;
  width: 180px;
}

.pt-cluster-decoration--bottom_right {
  right: -12px;
  bottom: -8px;
  width: 220px;
}

.pt-cluster-decoration--right_side {
  top: 20px;
  right: 12px;
  width: 160px;
}

.pt-content-section-shell {
  width: min(1200px, 100%);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
  padding: 34px !important;
}

.pt-content-section-shell > .wp-block-heading,
.pt-content-section-shell > h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.pt-content-section-shell > .wp-block-paragraph,
.pt-content-section-shell > p {
  margin-top: 0;
  margin-bottom: 1.35rem;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.72;
  max-width: 760px;
}

.pt-horizontal-post-card {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.pt-horizontal-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.pt-content-section-shell > .wp-block-query,
.pt-content-section-shell > .wp-block-post-template,
.pt-content-section-shell .wp-block-query,
.pt-content-section-shell .wp-block-post-template {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pt-content-section-shell .pt-horizontal-post-card,
.pt-content-section-shell .wp-block-post-template > li {
  width: 100% !important;
  max-width: none !important;
}

.pt-horizontal-post-card .wp-block-post-featured-image,
.pt-horizontal-post-card .wp-block-post-featured-image a,
.pt-horizontal-post-card .wp-block-post-featured-image img {
  width: 100%;
}

.pt-horizontal-post-card .wp-block-post-featured-image {
  margin: 0 !important;
}

.pt-horizontal-post-card .wp-block-post-featured-image img {
  height: auto !important;
  object-fit: contain !important;
  background: #f8fafc;
  display: block;
}

.pt-horizontal-post-card .wp-block-post-title a {
  text-decoration: none;
  color: #0f172a;
}

.pt-horizontal-post-card .wp-block-post-title a:hover {
  text-decoration: underline;
}

.pt-horizontal-post-card .wp-block-post-excerpt {
  color: #475569;
}

.pt-horizontal-post-card .wp-block-columns {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.pt-horizontal-post-card .wp-block-column {
  min-width: 0;
}

.pt-latest-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pt-horizontal-post-columns {
  display: grid;
  grid-template-columns: minmax(0, 32%) minmax(0, 68%);
  gap: 1.25rem;
  align-items: center;
}

.pt-horizontal-post-media,
.pt-horizontal-post-body {
  min-width: 0;
}

.pt-horizontal-post-media a,
.pt-horizontal-post-media img {
  display: block;
  width: 100%;
}

.pt-horizontal-post-media img {
  height: auto;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 10px;
}

.pt-horizontal-post-date {
  color: #6b6b6b;
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
}

.pt-horizontal-post-title {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pt-horizontal-post-title a {
  color: #0f172a;
  text-decoration: none;
}

.pt-horizontal-post-title a:hover {
  text-decoration: underline;
}

.pt-horizontal-post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.pt-horizontal-post-cats,
.pt-horizontal-post-cats a,
.pt-horizontal-post-readtime {
  color: #475569;
}

.pt-horizontal-post-cats a {
  text-decoration: none;
}

.pt-horizontal-post-cats a:hover {
  text-decoration: underline;
}

.pt-horizontal-post-excerpt {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.68;
  margin-bottom: 0.4rem;
}

.pt-horizontal-post-more a {
  color: #0f172a;
  font-size: 0.95rem;
  text-decoration: underline;
}

.pt-home-intro-block {
  max-width: none;
}

.pt-home-intro-block .wp-block-site-title,
.pt-home-intro-block .wp-block-site-tagline,
.pt-home-intro-block .wp-block-paragraph {
  max-width: 880px;
}

.pt-home-latest-wrap {
  width: min(1200px, 100%) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.pt-cluster-section--home .pt-cluster-shell {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home .pt-content-section-shell.pt-latest-posts-shell {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-id-2195 .pt-cluster-section--blog .pt-cluster-shell,
body.page-id-2195 .pt-cluster-section--blog .pt-cluster-shell.pt-cluster-shell,
body.page-id-2195 .pt-content-section-shell.pt-all-articles-shell,
body.page-id-2195 .pt-content-section-shell.pt-all-articles-shell.has-global-padding.is-layout-constrained,
body.page-id-2195 .wp-block-group.pt-content-section-shell.pt-all-articles-shell,
body.page-id-2195 .wp-block-group.pt-content-section-shell.pt-all-articles-shell.has-global-padding.is-layout-constrained {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

body.home .pt-cluster-section--home,
body.home .pt-home-latest-wrap,
body.home .pt-home-latest-wrap.has-global-padding.is-layout-constrained,
body.home .pt-home-latest-wrap .pt-content-section-shell.pt-latest-posts-shell,
body.home .pt-home-latest-wrap .pt-content-section-shell.pt-latest-posts-shell.has-global-padding.is-layout-constrained {
  width: min(1200px, 100%) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.home .pt-home-latest-wrap.has-global-padding.is-layout-constrained,
body.home .pt-home-latest-wrap .pt-content-section-shell.pt-latest-posts-shell.has-global-padding.is-layout-constrained {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home .pt-home-latest-wrap .pt-content-section-shell.pt-latest-posts-shell {
  padding: 34px !important;
}

body.home .pt-home-latest-wrap {
  margin-top: 36px !important;
}

body.home .pt-cluster-section--home {
  margin-top: 32px;
  margin-bottom: 36px;
}

@media (max-width: 640px) {
  body.home .pt-cluster-section--home,
  body.home .pt-home-latest-wrap {
    width: calc(100% - 44px) !important;
  }
}

.pt-blog-intro-block {
  max-width: none;
}

.pt-blog-intro-block .wp-block-heading,
.pt-blog-intro-block .wp-block-paragraph {
  max-width: 880px;
}

.pt-blog-intro-block .wp-block-heading {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.pt-blog-intro-block .wp-block-paragraph {
  margin-top: 0;
}

.pt-blog-clusters-row {
  width: min(1200px, calc(100% - 68px)) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.pt-blog-clusters-row .pt-cluster-section {
  margin-top: 20px;
}

.pt-blog-clusters-row + .pt-content-section-shell {
  margin-top: 40px !important;
}

body.page-id-2195 .pt-blog-intro-block.has-global-padding.is-layout-constrained {
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--wp--style--root--padding-left) !important;
  padding-right: var(--wp--style--root--padding-right) !important;
  box-sizing: border-box;
}

body.blog .pt-blog-clusters-row,
body.blog .pt-cluster-section--blog,
body.blog .pt-content-section-shell.pt-all-articles-shell,
body.page-id-2195 .pt-blog-clusters-row,
body.page-id-2195 .pt-cluster-section--blog,
body.page-id-2195 .pt-content-section-shell.pt-all-articles-shell {
  width: min(1200px, 100%) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.page-id-2195 .wp-site-blocks > .wp-block-separator {
  display: none !important;
}

body.page-id-2195 main > .wp-block-group:first-child {
  display: none !important;
}

body.page-id-2195 .entry-content.wp-block-post-content {
  width: min(1200px, 100%) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body.page-id-2195 .pt-cluster-grid--blog {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.page-id-2195 .pt-blog-html-page,
.pt-page.pt-blog-page {
  width: min(var(--pt-page-max-width), 100%);
  max-width: var(--pt-page-max-width);
  margin: 0 auto;
  box-sizing: border-box;
}

body.page-id-2195 .pt-blog-html-intro,
.pt-page.pt-blog-page .pt-blog-html-intro {
  margin: 0 0 var(--pt-page-section-gap);
}

body.page-id-2195 .pt-blog-html-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #0f172a;
}

body.page-id-2195 .pt-blog-html-desc {
  max-width: 880px;
  margin: 0.75rem 0 0;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.7;
}

body.page-id-2195 .pt-blog-html-section-head {
  margin: 0 0 18px;
}

body.page-id-2195 .pt-blog-html-section-title {
  margin: 0 0 0.45rem;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

body.page-id-2195 .pt-blog-html-section-desc {
  margin: 0;
  max-width: 880px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.68;
}

body.page-id-2195 .pt-blog-html-clusters {
  margin: 0 0 var(--pt-page-section-gap);
}

body.page-id-2195 .pt-blog-html-articles {
  margin: 0;
}

.pt-page.pt-blog-page .pt-eyebrow,
body.page-id-2195 .pt-page.pt-blog-page .pt-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2563eb;
}

.pt-page.pt-blog-page .pt-section-header,
body.page-id-2195 .pt-page.pt-blog-page .pt-section-header {
  margin: 0 0 18px;
}

.pt-page.pt-blog-page .pt-blog-posts-list,
body.page-id-2195 .pt-blog-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pt-page.pt-blog-page .pt-blog-posts-pagination,
body.page-id-2195 .pt-blog-posts-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2rem;
}

.pt-page.pt-blog-page .pt-blog-posts-pagination .page-numbers,
body.page-id-2195 .pt-blog-posts-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.9);
  color: #0f172a;
  text-decoration: none;
}

.pt-page.pt-blog-page .pt-blog-posts-pagination .page-numbers.current,
.pt-page.pt-blog-page .pt-blog-posts-pagination .page-numbers:hover,
body.page-id-2195 .pt-blog-posts-pagination .page-numbers.current,
body.page-id-2195 .pt-blog-posts-pagination .page-numbers:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.pt-page.pt-blog-page .pt-blog-posts-empty,
body.page-id-2195 .pt-blog-posts-empty {
  color: #475569;
}

@media (max-width: 1200px) {
  .pt-cluster-grid--blog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .pt-cluster-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .pt-horizontal-post-card .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .pt-horizontal-post-card .wp-block-column {
    flex-basis: 100% !important;
  }

  .pt-horizontal-post-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pt-cluster-section {
    margin: 44px auto 56px;
  }

  body.blog .pt-blog-clusters-row,
  body.blog .pt-cluster-section--blog,
  body.blog .pt-content-section-shell.pt-all-articles-shell,
  body.page-id-2195 .pt-blog-clusters-row,
  body.page-id-2195 .pt-cluster-section--blog,
  body.page-id-2195 .pt-content-section-shell.pt-all-articles-shell {
    width: calc(100% - 44px) !important;
  }

  .pt-content-section-shell,
  .pt-cluster-shell {
    border-radius: 22px;
    padding: 22px !important;
  }

  .pt-cluster-grid--home,
  .pt-cluster-grid--blog {
    grid-template-columns: 1fr;
  }

  .pt-blog-clusters-row,
  body.page-id-2195 .pt-blog-clusters-row,
  body.page-id-2195 .pt-cluster-section--blog,
  body.page-id-2195 .pt-content-section-shell.pt-all-articles-shell {
    width: calc(100% - 44px) !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  body.page-id-2195 .pt-blog-intro-block.has-global-padding.is-layout-constrained {
    width: auto !important;
    padding-left: var(--wp--style--root--padding-left) !important;
    padding-right: var(--wp--style--root--padding-right) !important;
  }
}
