body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wp-site-blocks {
  min-height: 100vh;
}

.visene-hero {
  min-height: min(760px, 88vh);
}

.visene-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visene-feature-grid {
  align-items: stretch;
}

.visene-feature-card {
  height: 100%;
}

.visene-services-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
  gap: 28px;
  align-items: center;
}

.visene-services-heading h2 {
  max-width: 320px;
}

.visene-services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.visene-service-tile {
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 118px;
  padding: 18px 12px;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}

.visene-service-tile:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow-sm);
  color: var(--primary-green);
  transform: translateY(-2px);
}

.visene-service-tile i {
  align-items: center;
  background: var(--green-light);
  border-radius: 999px;
  color: var(--primary-green);
  display: inline-flex;
  font-size: 22px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.visene-service-tile span {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

@media (max-width: 720px) {
  .visene-hero {
    min-height: auto;
  }
}

@media (max-width: 1199px) {
  .visene-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .visene-services-strip {
    grid-template-columns: 1fr;
  }

  .visene-services-heading h2 {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .visene-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visene-service-tile {
    min-height: 112px;
  }
}

.visene-doc-guide .visene-doc-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.visene-doc-guide .visene-doc-content p:has(b) {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.35;
  margin-top: 1.5rem;
}

.visene-doc-guide .visene-doc-content p:first-child {
  display: none;
}

.visene-doc-guide .visene-doc-content p:nth-child(2) {
  font-size: 28px;
}

.visene-doc-guide .visene-doc-content p:nth-child(3) {
  color: var(--text-tertiary);
  font-size: 15px;
}

.visene-doc-guide .visene-doc-content table {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
}

.visene-doc-guide .visene-doc-content td,
.visene-doc-guide .visene-doc-content th {
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 1rem;
  vertical-align: top;
}

.visene-doc-guide .visene-doc-content ul,
.visene-doc-guide .visene-doc-content ol {
  margin: 1rem 0 1.25rem;
  padding-left: 1.5rem;
}

.visene-doc-guide .visene-doc-content li {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.visene-doc-guide > .container,
.visene-guide-hero > .container {
  max-width: 1140px;
}

.visene-doc-guide article > .card-custom {
  border-radius: var(--radius-card);
}

.guide-document .guide-article {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.guide-document .guide-article h2 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 3rem 0 1rem;
}

.guide-document .guide-article h2:first-child {
  margin-top: 0;
}

.guide-document .guide-article h3 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}

.guide-document .guide-article p {
  margin: 0 0 1rem;
}

.guide-document .guide-article ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
}

.guide-document .guide-article li {
  margin-bottom: 0.55rem;
}

.guide-document .guide-table {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-collapse: separate;
  border-radius: var(--radius-card);
  border-spacing: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.guide-document .guide-table th,
.guide-document .guide-table td {
  border-color: var(--border-color);
  color: var(--text-secondary);
  padding: 0.95rem 1rem;
  vertical-align: top;
}

.guide-document .guide-table th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 700;
}

.guide-checklist-card {
  border-radius: var(--radius-card);
}

.guide-hub-card-img {
  aspect-ratio: 16 / 10;
  height: 260px;
  object-fit: cover;
  background: var(--bg-secondary);
}
