/* POLISH PARTITION: group.css
   Owner: the "Group Rates" page-Codex. Add ALL your CSS here, scoped under: .page-template-page-group-php
   This file loads AFTER cpd.css (it wins). Do NOT edit cpd.css or any other partial. */

.page-template-page-group-php {
  background: var(--paper);
  overflow-x: clip;
}

.page-template-page-group-php .site-header {
  box-shadow: 0 10px 28px rgba(18, 53, 31, 0.06);
}

.page-template-page-group-php chat-widget[data-active="false"] {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 99999999 !important;
  display: block !important;
  width: 98px !important;
  height: 82px !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
  transform: translateZ(0) !important;
}

.page-template-page-group-php .grecaptcha-badge {
  visibility: hidden !important;
  pointer-events: none !important;
}

.page-template-page-group-php section > .container {
  width: min(var(--max), calc(100% - 44px));
  max-width: none;
  padding: 22px 0 clamp(56px, 7vw, 84px);
}

.page-template-page-group-php section > .container > .row {
  margin: 0;
}

.page-template-page-group-php section > .container > .row::before,
.page-template-page-group-php section > .container > .row::after {
  display: none;
}

.page-template-page-group-php .rank-math-breadcrumb {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.page-template-page-group-php .rank-math-breadcrumb p {
  margin: 0;
}

.page-template-page-group-php .rank-math-breadcrumb a {
  color: var(--green-650);
  font-weight: 700;
  text-decoration: none;
}

.page-template-page-group-php .col-md-9,
.page-template-page-group-php .col-md-3 {
  min-width: 0;
  float: none;
  padding: 0;
}

.page-template-page-group-php .container h1 {
  margin: 0 0 16px;
  color: var(--green-950);
  font-family: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(38px, 4.8vw, 54px);
  font-weight: 700;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.page-template-page-group-php .col-md-9 p {
  max-width: 760px;
  margin: 0 0 13px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
}

.page-template-page-group-php .col-md-9 a {
  color: var(--green-650);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-template-page-group-php .col-md-9 img {
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(18, 53, 31, 0.08);
}

.page-template-page-group-php .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  box-sizing: border-box;
  max-width: 600px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 53, 31, 0.06);
}

.page-template-page-group-php .wpcf7-form p {
  margin: 0;
  line-height: 1.25;
}

.page-template-page-group-php .wpcf7-form label {
  display: block;
  margin: 0 0 5px;
  font-weight: 800;
}

.page-template-page-group-php .wpcf7-form p:has(textarea),
.page-template-page-group-php .wpcf7-form p:has(input[type="submit"]) {
  grid-column: 1 / -1;
}

.page-template-page-group-php input[type="text"],
.page-template-page-group-php input[type="email"],
.page-template-page-group-php input[type="tel"],
.page-template-page-group-php select,
.page-template-page-group-php textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: none;
}

.page-template-page-group-php input[type="text"],
.page-template-page-group-php input[type="email"],
.page-template-page-group-php input[type="tel"],
.page-template-page-group-php select {
  min-height: 38px;
  padding: 7px 10px;
}

.page-template-page-group-php textarea {
  min-height: 96px;
  padding: 10px;
  resize: vertical;
}

.page-template-page-group-php input.wpcf7-submit,
.page-template-page-group-php input.wpcf7-submit.submitf {
  width: min(220px, 100%);
  min-height: 42px;
  justify-self: end;
  border: 1px solid var(--green-950) !important;
  border-radius: 6px;
  background: var(--green-950) !important;
  color: var(--white) !important;
  font-weight: 800;
  text-transform: uppercase;
}

.page-template-page-group-php .col-md-3.text-center {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.22;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.page-template-page-group-php .col-md-3.text-center img {
  width: min(132px, 100%);
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
  box-shadow: 0 8px 22px rgba(18, 53, 31, 0.07);
}

@media (min-width: 860px) {
  .page-template-page-group-php section > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 42px;
    align-items: start;
  }
}

@media (max-width: 859px) {
  .page-template-page-group-php chat-widget[data-active="false"] {
    display: none !important;
  }

  .page-template-page-group-php .site-header {
    background: var(--paper);
    backdrop-filter: none;
  }

  .page-template-page-group-php section > .container {
    width: min(100% - 32px, var(--max));
    padding-top: 20px;
    padding-bottom: 44px;
  }

  .page-template-page-group-php .container h1 {
    margin-bottom: 14px;
    font-size: clamp(31px, 8.8vw, 39px);
  }

  .page-template-page-group-php .col-md-9 img {
    width: 100%;
    margin: 0 0 14px !important;
  }

  .page-template-page-group-php .wpcf7-form {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .page-template-page-group-php input.wpcf7-submit,
  .page-template-page-group-php input.wpcf7-submit.submitf {
    width: 100%;
    justify-self: stretch;
  }

  .page-template-page-group-php .col-md-3.text-center {
    grid-template-columns: 1fr;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 18px;
    padding-left: 0;
    font-size: 12px;
  }

  .page-template-page-group-php .col-md-3.text-center img {
    width: min(154px, 62vw);
  }
}
