.wp-site-blocks>footer,.wp-site-blocks>header,.wp-site-blocks>main{margin-block-end:0!important;margin-block-start:0!important}

.wds-applications-grid > [hidden],
.wds-projects-grid > [hidden] {
  display: none !important;
}

.wds-archive-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: var(--wp--preset--spacing--48);
}

.wds-archive-pagination .page-numbers {
  align-items: center;
  background: transparent;
  border: 1px solid var(--wp--preset--color--secondary-200);
  border-radius: 6px;
  color: var(--wp--preset--color--secondary);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 34px;
  min-width: 34px;
  padding: 5px 10px;
  text-decoration: none;
}

.wds-archive-pagination .page-numbers.current,
.wds-archive-pagination .page-numbers:hover {
  background: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: #fff;
}

.wds-feature-card,
.wds-newsroom-card {
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
  will-change: transform, box-shadow;
}

.wds-feature-card:hover,
.wds-newsroom-card:hover {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14), 0 8px 18px rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
}

.wds-feature-card::after,
.wds-newsroom-card::after {
  border-radius: inherit;
  box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: box-shadow 220ms ease, opacity 220ms ease;
}

.wds-feature-card:hover::after,
.wds-newsroom-card:hover::after {
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.wds-feature-card > * + * {
  margin-block-start: var(--wp--preset--spacing--16) !important;
}

.wds-feature-card > .wp-block-group:first-child figure,
.wds-feature-card > .wp-block-group:first-child img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.wds-feature-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--wp--preset--spacing--16);
  margin-block-start: var(--wp--preset--spacing--16) !important;
}

.wds-feature-card__body > * {
  margin-block-start: 0 !important;
}

.wds-feature-card__actions {
  margin-top: auto;
  padding-top: var(--wp--preset--spacing--16);
}

.wds-capsule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.wds-capsule {
  align-items: center;
  background: #f5f7ff;
  border: 1px solid #c7d3f8;
  border-left-color: #3f63d8;
  border-left-width: 2px;
  border-radius: 4px;
  color: #101840;
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 800;
  gap: 5px;
  line-height: 1;
  min-height: 18px;
  padding: 2px 6px 2px 5px;
  position: relative;
  text-decoration: none;
}

.wds-capsule::before {
  background: #3f63d8;
  border-radius: 50%;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 4px;
  width: 4px;
}

.wds-capsule-list .wds-capsule:nth-child(2n) {
  border-left-color: #d14343;
}

.wds-capsule-list .wds-capsule:nth-child(2n)::before {
  background: #d14343;
}

.wds-capsule-list .wds-capsule:nth-child(3n) {
  border-left-color: #008f7a;
}

.wds-capsule-list .wds-capsule:nth-child(3n)::before {
  background: #008f7a;
}

.wds-capsule--tag {
  background: #ffffff;
  border-color: #d8def1;
  border-left-color: #9fa3b3;
  box-shadow: none;
  color: var(--wp--preset--color--secondary-800);
  font-size: 0.62rem;
  min-height: 18px;
  padding: 2px 6px 2px 5px;
}

.wds-capsule--tag::before {
  background: #9fa3b3;
  height: 4px;
  width: 4px;
}

.wds-capsule--tag:hover {
  background: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: #fff;
}

.wds-newsroom-section--youtube-short .wds-newsroom-card {
  background-color: var(--wp--preset--color--light) !important;
  border: 1px solid var(--wp--preset--color--secondary-100);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.wds-newsroom-section--youtube-short .wds-newsroom-card > .wp-block-group:first-child > .wp-block-group {
  background-color: #fff !important;
}

.wds-newsroom-section--youtube-short .wds-capsule--tag {
  background: #fff;
}

.wds-footer-ad-section {
  display: flex;
  min-height: 180px;
}

.wds-footer-ad-section > .wp-block-group {
  display: flex;
  flex: 1;
}

.wds-footer-ad-block {
  max-width: none;
  min-height: 180px;
  width: 100%;
}

.wds-ad-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #f7f5f5 0%, #eef4ff 100%);
  border: 1px dashed #9db7ff;
  border-radius: 8px;
  color: #18356f;
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 180px;
  padding: 12px 16px;
  box-sizing: border-box;
  width: 100%;
}

.wds-ad-placeholder span {
  background: #fff;
  border: 1px solid #c5d3ff;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  padding: 5px 8px;
  text-transform: uppercase;
}

.wds-ad-placeholder strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.wds-ad-placeholder small {
  color: var(--wp--preset--color--secondary-700);
  font-size: 0.72rem;
  line-height: 1.3;
}

.wds-footer-social-row {
  padding-bottom: var(--wp--preset--spacing--32) !important;
  padding-top: var(--wp--preset--spacing--32) !important;
}

@media (max-width: 699px) {
  .wds-archive-pagination {
    gap: 6px;
  }

  .wds-archive-pagination .page-numbers {
    min-height: 30px;
    min-width: 30px;
    padding: 4px 8px;
  }

  .wds-ad-placeholder {
    align-items: flex-start;
    flex-direction: column;
  }
}
