/*
Theme Name: New Office Solutions Astra Child
Theme URI: https://newoffice.au/
Description: Child theme for New Office Solutions, built on Astra.
Author: New Office Solutions
Template: astra
Version: 1.1.1
Text Domain: newoffice-astra-child
*/

:root {
  --nos-ink: #24313d;
  --nos-eucalyptus: #237a6b;
  --nos-blue: #2f80ed;
  --nos-coral: #f05d4f;
  --nos-paper: #f7f6f1;
  --nos-concrete: #e4e8ec;
  --nos-muted: #5d6974;
}

body {
  color: var(--nos-ink);
}

a {
  color: var(--nos-blue);
}

.nos-page {
  color: var(--nos-ink);
  font-family: inherit;
}

body .site-content > .ast-container,
body.ast-plain-container .site-content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

body .content-area.primary,
body .site-main,
body .entry-content,
body .entry-content > .nos-page,
body .nos-page {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.nos-page * {
  box-sizing: border-box;
}

.nos-section {
  padding: clamp(42px, 7vw, 86px) 0;
}

.nos-section--paper {
  background: var(--nos-paper);
}

.nos-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nos-hero {
  padding: clamp(54px, 8vw, 104px) 0 clamp(36px, 6vw, 72px);
  background: var(--nos-paper);
}

.nos-eyebrow {
  margin: 0 0 14px;
  color: var(--nos-eucalyptus);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nos-h1 {
  max-width: 920px;
  margin: 0;
  color: var(--nos-ink);
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.nos-lede {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--nos-muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.nos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nos-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  border: 2px solid var(--nos-eucalyptus);
  background: var(--nos-eucalyptus);
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.nos-button:visited {
  color: #fff;
}

.nos-button:hover,
.nos-button:focus {
  color: #fff;
  background: #1e6a5d;
  border-color: #1e6a5d;
}

.nos-button--secondary {
  background: transparent;
  color: var(--nos-eucalyptus);
}

.nos-button--secondary:visited {
  color: var(--nos-eucalyptus);
}

.nos-button--secondary:hover,
.nos-button--secondary:focus {
  color: #fff;
}

.nos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nos-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nos-card {
  border: 1px solid var(--nos-concrete);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.nos-card h3,
.nos-card h2 {
  margin-top: 0;
}

.nos-card p:last-child,
.nos-card ul:last-child {
  margin-bottom: 0;
}

.nos-kicker {
  color: var(--nos-eucalyptus);
  font-weight: 800;
}

.nos-list {
  padding-left: 1.2em;
}

.nos-list li {
  margin: 0.4em 0;
}

.nos-callout {
  border-left: 5px solid var(--nos-coral);
  background: #fff;
  padding: 22px 24px;
}

.nos-answer {
  border: 1px solid var(--nos-concrete);
  border-left: 5px solid var(--nos-eucalyptus);
  border-radius: 8px;
  background: #fff;
  padding: 22px 24px;
}

.nos-answer p:last-child {
  margin-bottom: 0;
}

.nos-process {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.nos-step {
  position: relative;
  border: 1px solid var(--nos-concrete);
  border-radius: 8px;
  background: #fff;
  padding: 22px 22px 22px 68px;
}

.nos-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nos-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.nos-note {
  color: var(--nos-muted);
  font-size: 0.95rem;
}

.nos-page a,
.ast-related-posts-wrapper p,
.ast-related-posts-wrapper a,
.ast-related-post-content,
.ast-related-post-content p,
.ast-related-post-content a,
.ast-single-related-posts-container p,
.ast-single-related-posts-container a,
.navigation a,
.post-navigation a,
.nav-links a {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.navigation.post-navigation .nav-links p,
.post-navigation .nav-links a p {
  max-width: 100%;
  white-space: normal !important;
}

@media (max-width: 820px) {
  .nos-grid,
  .nos-grid--two {
    grid-template-columns: 1fr;
  }

  .nos-button {
    width: 100%;
  }
}
