/* The writing box inside the homepage's "Post a job" tab (signed-in visitors only).
 *
 * The homepage is otherwise untouched. Every rule here starts with
 *   body.community-landing .landing-post-panel
 * so it can only affect that one panel, and a test enforces it.
 */
body.community-landing .landing-post-panel {
  padding: 0;
  overflow: hidden;
}
body.community-landing .landing-post-panel .composer {
  padding: 0;
}
body.community-landing .landing-post-panel .composer .composer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 0;
}
body.community-landing .landing-post-panel .composer .composer-head strong {
  display: block;
  font-size: 15px;
}
body.community-landing .landing-post-panel .composer .composer-head small {
  color: #4a566e;
  font-size: 13px;
}
body.community-landing .landing-post-panel .composer .composer-form {
  padding: 8px 20px 0;
}
body.community-landing .landing-post-panel .composer .composer-form input.composer-title {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #e0e5ef;
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 650;
}
body.community-landing .landing-post-panel .composer .composer-form textarea.composer-body {
  display: block;
  width: 100%;
  min-height: 132px;
  max-height: 50vh;
  padding: 12px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.5;
  resize: none;
}
body.community-landing .landing-post-panel .composer .composer-form :is(input.composer-title, textarea.composer-body):focus {
  outline: 0;
  border-color: #2448c6;
  box-shadow: 0 2px 0 0 #2448c6;
}
body.community-landing .landing-post-panel .composer .composer-count {
  display: block;
  color: #4a566e;
  font-size: 12px;
  text-align: right;
}
body.community-landing .landing-post-panel .composer .composer-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
body.community-landing .landing-post-panel .composer .composer-extras > label {
  flex: 1 1 220px;
  min-width: 0;
}
body.community-landing .landing-post-panel .composer .composer-extras select {
  border-color: transparent;
  border-radius: 999px;
  background-color: #edf0fb;
  color: #233f85;
  font-weight: 650;
}
body.community-landing .landing-post-panel .composer [data-selected-places] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
body.community-landing .landing-post-panel .composer [data-selected-places] li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  border: 1px solid #d3dbf6;
  border-radius: 999px;
  background: #edf0fb;
  color: #233f85;
  font-weight: 650;
}
body.community-landing .landing-post-panel .composer [data-selected-places] li button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}
body.community-landing .landing-post-panel .composer [data-selected-places]:empty {
  display: none;
}
body.community-landing .landing-post-panel .composer form[data-action='lookup-location'] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  margin: 16px 20px 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #e0e5ef;
  border-radius: 0;
  background: transparent;
}
body.community-landing .landing-post-panel .composer form[data-action='lookup-location'] > :not(label):not(button) {
  grid-column: 1 / -1;
}
body.community-landing .landing-post-panel .composer form[data-action='lookup-location'] button[type='submit'] {
  margin-top: 0;
}
body.community-landing .landing-post-panel .composer [data-place-options] ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
body.community-landing .landing-post-panel .composer .composer-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding: 12px 20px;
  border-top: 1px solid #e0e5ef;
  background: #fafbfd;
}
body.community-landing .landing-post-panel .composer .composer-foot button {
  min-width: 120px;
  border-radius: 999px;
}
body.community-landing .landing-post-panel .composer .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 520px) {
  body.community-landing .landing-post-panel .composer form[data-action='lookup-location'] {
    grid-template-columns: 1fr;
  }
  body.community-landing .landing-post-panel .composer .composer-foot button {
    width: 100%;
  }
}
