/* 4ROOMS: content pages: about, contact, blog, careers (loads after main.css) */

/* ============ Forms (contact, applications) ============ */
.form-card {
  background: var(--ivory-card);
  border: 1px solid var(--ivory-line);
  border-radius: 16px;
  padding: 34px 32px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-l)
}

.field label abbr,
.field label .req {
  color: #e63946;
  text-decoration: none;
  font-weight: 700;
  margin-left: 2px;
}

.field label .opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 11px;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ivory-line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

.field textarea {
  min-height: 140px;
  resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(140, 160, 0, .15);
}

/* Shared bootstrap-select chrome for every dropdown inside this form (phone code,
   rooms, country, pms) — one light theme regardless of which button style below applies. */
.form-card .bootstrap-select .dropdown-menu {
  background: #fff;
  /* border: 1px solid var(--ivory-line); */
  box-shadow: 0 16px 32px -12px rgba(23, 25, 23, .18)
}

.form-card .bootstrap-select .dropdown-menu .dropdown-item {
  color: var(--ink)
}

.form-card .bootstrap-select .dropdown-menu .dropdown-item:hover,
.form-card .bootstrap-select .dropdown-menu .dropdown-item.active {
  background: rgba(140, 160, 0, .12);
  color: var(--lime-deep)
}

.form-card .bootstrap-select .bs-searchbox {
  padding: 8px 8px 6px;
  width: 100%;
  box-sizing: border-box;
}

.form-card .bootstrap-select .bs-searchbox input {
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ivory-line);
  border-radius: 8px;
  padding: 8px 12px;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 38px;
}

.form-card .bootstrap-select .bs-searchbox input:focus {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(140, 160, 0, .15);
}

/* Plain full-width selects (rooms, country, pms) rendered as selectpicker */
.field .bootstrap-select {
  width: 100% !important
}

.field .bootstrap-select .btn.field-select-btn {
  width: 100%;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ivory-line);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 400;
}

.field .bootstrap-select .btn.field-select-btn:hover,
.field .bootstrap-select .btn.field-select-btn:focus {
  border-color: var(--lime-deep);
  outline: none
}

/* Phone country-code picker: compact, so the number field keeps most of the space */
.phone-field {
  display: flex
}

.phone-group {
  display: flex;
  width: 100%;
}

.phone-group.phone-with-extn {
  position: relative;
}

.phone-group .phone-ext {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}

.phone-group input[data-phone-input] {
  padding-left: 52px;
  width: 100%;
}

.phone-field .bootstrap-select {
  flex: 0 0 70px;
  max-width: 70px;
}

.phone-field .bootstrap-select .btn.phone-code-btn {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--ivory-line);
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding: 12px 4px 12px 8px;
  cursor: pointer
}

.phone-field .bootstrap-select .btn.phone-code-btn:hover,
.phone-field .bootstrap-select .btn.phone-code-btn:focus {
  border-color: var(--lime-deep);
  outline: none
}

.phone-field .bootstrap-select .dropdown-menu {
  min-width: 280px !important;
  width: max-content !important;
  max-width: 320px !important;
  border: 1px solid var(--ivory-line) !important;
}

.phone-field input {
  flex: 1 1 auto;
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0
}

.file-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ivory-line);
  border-radius: 10px;
  background: #fff;
  padding: 6px 14px 6px 6px;
  transition: border-color .15s, box-shadow .15s;
}

.file-field:focus-within {
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(140, 160, 0, .15);
}

.file-field-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field .file-field-btn {
  flex: 0 0 auto;
  background: var(--ivory-card);
  border: 1px solid var(--ivory-line);
  border-radius: 7px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.field .file-field-btn:hover {
  border-color: var(--lime-deep);
}

.file-field-name {
  font-size: 13.5px;
  color: var(--muted-l);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-field-name.has-file {
  color: var(--ink);
  font-weight: 600;
}

.form-note {
  font-size: 13px;
  color: var(--muted-l);
  margin-top: 14px
}

.field-error {
  font-size: 12.5px;
  color: #C96A4A;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}

.field-error.is-visible {
  display: block;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #C96A4A;
}

.field input.is-invalid:focus,
.field select.is-invalid:focus,
.field textarea.is-invalid:focus {
  border-color: #C96A4A;
  box-shadow: 0 0 0 3px rgba(201, 106, 74, .15);
}

.captcha-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--ivory-line);
  border-radius: 10px;
}

.captcha-group img {
  height: 46px;
  border-radius: 6px;
}

.captcha-refresh {
  background: var(--ivory-card);
  border: 1px solid var(--ivory-line);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 18px;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  line-height: 1;
  flex-shrink: 0;
}

.captcha-refresh:hover {
  border-color: var(--lime-deep);
  background: var(--ivory);
}

.captcha-group input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}

.captcha-group input:focus {
  outline: none;
}

.req {
  color: #C96A4A;
  font-weight: 700;
}

.form-banner {
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 15px;
  margin-bottom: 26px;
  border: 1px solid
}

.form-banner.ok {
  background: #F2F8D9;
  border-color: var(--lime-deep);
  color: var(--ink)
}

.form-banner.err {
  background: #FBEFEA;
  border-color: #C96A4A;
  color: var(--ink)
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden
}

/* Contact channel cards */
.chan {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--ivory-card);
  border: 1px solid var(--ivory-line);
  border-radius: 14px;
  padding: 24px 22px
}

.chan small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime-deep)
}

.chan b {
  font-size: 16px
}

.chan a {
  font-weight: 600;
  color: var(--lime-deep)
}

.chan a:hover {
  text-decoration: underline
}

.chan p {
  font-size: 13.5px;
  color: var(--muted-l)
}

/* ============ Blog cards ============ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory-card);
  border: 1px solid var(--ivory-line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(23, 25, 23, .3)
}

.post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover
}

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px
}

.post-body small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime-deep)
}

.post-body h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 9px 0 8px
}

.post-body p {
  font-size: 13.5px;
  color: var(--muted-l);
  line-height: 1.55
}

.post-meta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12.5px;
  color: var(--muted-l)
}

/* Featured post */
.post-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s
}

.post-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(23, 25, 23, .55)
}

.post-feature img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(.9)
}

.pf-body {
  padding: 40px 38px;
  display: flex;
  flex-direction: column
}

.pf-body small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime)
}

.pf-body h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 12px 0 12px
}

.pf-body p {
  font-size: 15px;
  color: var(--muted-d);
  line-height: 1.6
}

.pf-body .post-meta {
  color: var(--muted-d)
}

/* Category filter chips (light background) */
.bchips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 38px
}

.bchip {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #C9C1AC;
  color: var(--muted-l);
  cursor: pointer;
  background: transparent;
  transition: all .2s
}

.bchip:hover {
  border-color: var(--ink);
  color: var(--ink)
}

.bchip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory)
}

/* ============ Article (blog detail, job detail) ============ */
.article-hero {
  background: var(--ivory);
  color: var(--ink);
  padding: 64px 0 40px
}

/* Legal pages: country/region picker (bootstrap-select, light variant for an ivory background) */
.legal-region {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px
}

.legal-region>span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-l)
}

.legal-region .bootstrap-select .btn.region-select-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--ivory-line);
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}

.legal-region .bootstrap-select .btn.region-select-btn:hover,
.legal-region .bootstrap-select .btn.region-select-btn:focus {
  border-color: var(--lime-deep);
  color: var(--lime-deep);
  outline: none
}

.legal-region .bootstrap-select .dropdown-menu {
  background: #fff;
  /* border: 1px solid var(--ivory-line); */
  box-shadow: 0 16px 32px -12px rgba(23, 25, 23, .18)
}

.legal-region .bootstrap-select .dropdown-menu .dropdown-item {
  color: var(--ink)
}

.legal-region .bootstrap-select .dropdown-menu .dropdown-item:hover,
.legal-region .bootstrap-select .dropdown-menu .dropdown-item.active {
  background: rgba(140, 160, 0, .12);
  color: var(--lime-deep)
}

.article-hero .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime-deep)
}

.article-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 14px 0 16px;
  max-width: 820px
}

.article-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--muted-l);
  font-weight: 600
}

.article-meta .sep {
  opacity: .5
}

.article-cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--ivory-line)
}

.article {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink)
}

/* .article{max-width:720px;font-size:16.5px;line-height:1.75;color:var(--ink)} */
.article p {
  margin-bottom: 20px
}

.article h2 {
  font-size: 24px;
  margin: 38px 0 14px
}

.article h3 {
  font-size: 19px;
  margin: 30px 0 12px
}

.article h4 {
  font-size: 16px;
  margin: 22px 0 8px
}

.article ul,
.article ol {
  margin: 0 0 20px 22px
}

/* Numbered "rights" list: bold heading + paragraph stacked per item, generous spacing */
.legal-rights {
  margin: 0 0 24px 22px
}

.legal-rights li {
  margin-bottom: 22px
}

.legal-rights li:last-child {
  margin-bottom: 0
}

.legal-rights li strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--ink)
}

.legal-rights li p {
  margin: 0;
  color: var(--muted-l)
}

/* Legal callout box (GDPR-style notes) */
.legal-note {
  background: var(--ivory-card);
  border: 1px solid var(--ivory-line);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 28px 0
}

.legal-note strong {
  color: var(--ink)
}

.legal-note p {
  margin-bottom: 14px
}

.legal-note p:last-child {
  margin-bottom: 0
}

.article ul {
  list-style: disc
}

.article li {
  margin-bottom: 9px
}

.article ul li::marker {
  color: var(--lime-deep)
}

.article blockquote {
  border-left: 3px solid var(--lime-deep);
  padding: 6px 0 6px 20px;
  margin: 26px 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted-l);
  font-style: italic
}

.article .apply-box {
  background: var(--ivory-card);
  border: 1px solid var(--ivory-line);
  border-radius: 16px;
  padding: 28px 30px;
  margin: 38px 0 0
}

.article .apply-box h2 {
  margin-top: 0
}

.article .apply-box p {
  margin-bottom: 20px
}

.article strong {
  font-weight: 700
}

.article a {
  color: var(--lime-deep);
  font-weight: 600
}

.article a:hover {
  text-decoration: underline
}

.article a.btn-solid {
  color: #171917;
  text-decoration: none;
}

.article-foot {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--ivory-line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--muted-l)
}

#applyModal h3 {
  color: #171917;
  margin-bottom: 24px;
}

/* ============ Book a demo ============ */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 56px;
  align-items: start
}

.demo-form {
  position: sticky;
  top: 96px
}

.demo-points {
  display: grid;
  gap: 14px;
  margin: 30px 0 40px;
  max-width: 520px
}

.demo-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink)
}

.demo-points li svg {
  width: 20px;
  height: 20px;
  stroke: var(--lime-deep);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  margin-top: 2px
}

.demo-points li b {
  font-weight: 700
}

.demo-quote {
  border-left: 3px solid var(--lime-deep);
  padding: 4px 0 4px 20px;
  margin: 40px 0 0;
  max-width: 520px
}

.demo-quote p {
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  color: var(--ink)
}

.demo-quote footer {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-l)
}

.demo-alt {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted-l);
  text-align: center
}

.demo-alt a {
  color: var(--lime-deep);
  font-weight: 600
}

.demo-alt a:hover {
  text-decoration: underline
}

@media (max-width:1040px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .demo-form {
    position: static
  }
}

/* Job detail facts */
.job-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px
}

.job-facts .fact {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid #C9C1AC;
  color: var(--muted-l)
}

@media (max-width:1040px) {
  .post-grid {
    grid-template-columns: 1fr 1fr
  }

  .post-feature {
    grid-template-columns: 1fr
  }

  .post-feature img {
    min-height: 220px
  }
}

@media (max-width:640px) {
  .post-grid {
    grid-template-columns: 1fr
  }

  .form-grid {
    grid-template-columns: 1fr
  }
}