/*
Theme Name: Praxis Cadence Theme
Theme URI: https://example.com/praxiscadence-theme
Author: Praxis Cadence
Description: Lightweight custom block theme starter for local-first development.
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.3
Version: 0.4.12
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: praxiscadence-theme
Tags: block-patterns, full-site-editing, custom-colors
*/

body {
  margin: 0;
  background: var(--wp--preset--color--background);
}

.wp-site-blocks {
  overflow-x: clip;
}

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

main.wp-block-group.is-layout-constrained > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.praxis-shell {
  border-top: 5px solid var(--wp--preset--color--primary);
  border-bottom: 1px solid #d9dee6;
  background: var(--wp--preset--color--white);
}

.praxis-header-logo {
  width: 248px;
}

.praxis-shell .wp-block-navigation {
  gap: 1.3rem;
}

.praxis-shell .wp-block-navigation-item__label {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
}

.praxis-hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  --hero-height: 500px;
}

.praxis-hero .wp-block-columns {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-items: stretch !important;
  gap: 0;
  height: var(--hero-height);
}

.praxis-hero .wp-block-columns.alignwide {
  display: flex;
  max-width: none;
  width: 100%;
}

.praxis-hero-copy {
  flex: 0 0 620px !important;
  max-width: 620px;
}

.praxis-hero-image {
  flex: 1 1 auto !important;
  min-width: 0;
}

.praxis-hero > .wp-block-group__inner-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.praxis-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: none;
  padding: 2.5rem 0 2rem max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
}

.praxis-hero-copy .wp-block-buttons {
  margin-top: 0.9rem;
}

.praxis-hero-title {
  margin: 0;
  font-size: 3.15rem;
  font-weight: 700;
  line-height: 1.08;
}

.praxis-hero-title-muted {
  font-weight: 500;
}

.praxis-hero-copy p {
  max-width: 430px;
}

.praxis-hero-lead {
  margin: 1rem 0 1.35rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.42;
}

.wp-block-heading.has-large-font-size {
  font-weight: 700;
}

.wp-block-heading.has-medium-font-size {
  font-weight: 600;
}

.praxis-hero-image img {
  width: 100%;
  height: var(--hero-height);
  object-fit: cover;
  object-position: 58% center;
  border-radius: 0;
}

.praxis-hero-image .wp-block-image {
  margin: 0;
  height: var(--hero-height);
  border: 0;
  box-shadow: none;
  background: transparent;
}

.praxis-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.praxis-value-section {
  padding-top: 3.25rem;
}

.praxis-section-divider {
  border-top: 1px solid #dbe2ea;
}

.praxis-page-intro {
  padding-top: 3.2rem;
  padding-bottom: 3rem;
}

.praxis-page-section {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.praxis-page-grid {
  gap: 0;
}

.praxis-page-card {
  border-left: 1px solid #e2e7ed;
  padding: 0.1rem 1.25rem;
}

.praxis-page-card:first-child {
  border-left: 0;
}

.praxis-page-image img {
  display: block;
  width: 100%;
  height: auto;
}

.praxis-intro-copy {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.praxis-card-grid {
  gap: 0;
}

.praxis-card {
  border-left: 1px solid #e2e7ed;
  padding: 0.1rem 1.35rem;
}

.praxis-card:first-child {
  border-left: 0;
}

.praxis-icon {
  display: block;
  margin: 0 auto 1rem;
  width: 64px;
  height: 64px;
}

.praxis-card .wp-block-image.praxis-icon {
  width: 64px;
  max-width: 64px;
  margin: 0 auto 1rem;
}

.praxis-card .wp-block-image.praxis-icon img {
  display: block;
  width: 64px;
  max-width: 64px;
  height: auto;
  margin: 0 auto;
}

.praxis-card .wp-block-heading {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.praxis-card p {
  font-size: 1rem;
  line-height: 1.45;
}

.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.62rem 1.02rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #15314d;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.wp-block-button .wp-block-button__link::after {
  content: "✓";
  color: var(--wp--preset--color--accent);
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1279px) {
  .praxis-hero {
    --hero-height: 460px;
  }

  .praxis-hero-copy {
    flex-basis: 560px !important;
    max-width: 560px;
  }

  .praxis-hero-copy {
    padding: 2.2rem 0 1.7rem 1.5rem;
  }

  .praxis-hero-title {
    font-size: 2.85rem;
  }

  .praxis-hero-lead {
    margin: 0.9rem 0 1.2rem;
    font-size: 1rem;
  }
}

@media (max-width: 1099px) {
  .praxis-hero {
    --hero-height: 410px;
  }

  .praxis-hero-copy {
    flex-basis: 470px !important;
    max-width: 470px;
  }

  .praxis-hero-copy {
    padding: 1.9rem 0 1.45rem 1.5rem;
  }

  .praxis-hero-title {
    font-size: 2.45rem;
  }

  .praxis-hero-lead {
    margin: 0.75rem 0 1.05rem;
    font-size: 0.97rem;
    line-height: 1.36;
  }
}

@media (max-width: 1000px) {
  .praxis-header-logo {
    width: 220px;
  }

  .praxis-shell .wp-block-navigation {
    gap: 1rem;
  }

  .praxis-section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .praxis-card {
    padding: 0 1rem;
  }

  .praxis-page-intro {
    padding-top: 2.5rem;
    padding-bottom: 2.4rem;
  }

  .praxis-page-section {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }
}

@media (max-width: 900px) {
  .praxis-hero {
    --hero-height: 360px;
  }

  .praxis-hero .wp-block-columns {
    gap: 0;
  }

  .praxis-hero-copy {
    flex-basis: 390px !important;
    max-width: 390px;
  }

  .praxis-hero-copy {
    padding: 1.35rem 0 1rem 1.5rem;
  }

  .praxis-hero-title {
    font-size: 2.1rem;
  }

  .praxis-hero-lead {
    margin: 0.68rem 0 0.95rem;
    font-size: 0.94rem;
  }

  .praxis-hero-copy .wp-block-buttons {
    margin-top: 0.9rem;
  }

  .praxis-hero-image .wp-block-image {
    min-height: var(--hero-height);
  }

  .praxis-hero-image img {
    height: var(--hero-height);
    object-position: 62% center;
  }

}

@media (max-width: 781px) {
  .praxis-hero .wp-block-columns {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }

  .praxis-hero-copy,
  .praxis-hero-image {
    flex-basis: auto !important;
    max-width: none;
  }

  .praxis-hero-copy {
    padding: 2rem 0 1.35rem 0;
  }

  .praxis-hero-title {
    font-size: 2.35rem;
    line-height: 1.1;
  }

  .praxis-hero-copy p {
    max-width: 100%;
  }

  .praxis-hero-lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .praxis-hero-copy .wp-block-buttons {
    margin-top: 0;
  }

  .praxis-hero-image .wp-block-image {
    height: auto;
    min-height: 320px;
  }

  .praxis-hero-image img {
    height: 320px;
    object-position: center 38%;
  }

  .praxis-card {
    border-left: 0;
    border-top: 1px solid #e2e7ed;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .praxis-card:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .praxis-page-card {
    border-left: 0;
    border-top: 1px solid #e2e7ed;
    padding-top: 1.4rem;
    padding-bottom: 0.4rem;
  }

  .praxis-page-card:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .praxis-hero-copy {
    padding-top: 1.6rem;
    padding-bottom: 1.1rem;
  }

  .praxis-hero-title {
    font-size: 2.05rem;
  }

  .praxis-hero-lead {
    margin: 0.7rem 0 1rem;
    font-size: 0.96rem;
  }

  .praxis-hero-image .wp-block-image {
    min-height: 265px;
  }

  .praxis-hero-image img {
    height: 265px;
    object-position: center 34%;
  }

}
