.ah-comu {
  padding-bottom: 64px;
}

.ah-comu .ah-ficha__grid {
  margin-bottom: 48px;
}

.ah-comu__h {
  font-family: Fraunces, serif;
  color: var(--ah-brand, #546142);
  margin: 48px 0 20px;
}

.ah-comu__warn {
  background: var(--ah-accent, #e8d3c5);
  color: var(--ah-ink, #3b382b);
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.ah-comu__cta {
  background: #fff;
  border: 1px solid var(--ah-sage, #aab4a6);
  border-radius: 20px;
  padding: 28px 24px;
  margin: 40px 0 56px;
  text-align: center;
}

.ah-comu__cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.ah-comu__cta-btns .ah-buscador__submit,
.ah-comu__cta-btns .ah-comu__ghost {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  min-width: 168px;
  margin: 0;
  padding: 0 28px;
  border-radius: 999px;
  border-width: 2px;
  border-style: solid;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ah-comu__cta-btns .ah-buscador__submit {
  border-color: transparent;
  background: var(--ah-accent, #e8d3c5);
  color: var(--ah-ink, #3b382b);
}

.ah-comu__profile,
.ah-comu__composer,
.ah-comu__post {
  background: #fff;
  border: 1px solid var(--ah-sage, #aab4a6);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
}

.ah-comu__ghost {
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  min-width: 168px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid var(--ah-brand, #546142);
  background: transparent;
  color: var(--ah-brand, #546142);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ah-modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(420px, calc(100% - 32px));
  max-width: 420px;
  box-sizing: border-box;
}

.ah-modal::backdrop {
  background: rgba(59, 56, 43, 0.45);
}

.ah-modal__box {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: 0 16px 40px rgba(59, 56, 43, 0.18);
}

.ah-modal__box h2 {
  font-family: Fraunces, serif;
  color: var(--ah-brand, #546142);
  margin: 0 0 16px;
}

.ah-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ah-ink, #3b382b);
}

.ah-modal,
.ah-modal p,
.ah-modal label {
  text-align: left;
}

.ah-modal .login-username,
.ah-modal .login-password,
.ah-modal .login-remember,
.ah-modal .login-submit,
.ah-modal .ah-comu__reg p {
  margin: 0 0 14px;
}

.ah-modal .ah-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ah-modal label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.ah-modal input[type="text"],
.ah-modal input[type="email"],
.ah-modal input[type="password"],
.ah-modal input:not([type]) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--ah-sage, #aab4a6);
  padding: 0 14px;
  background: var(--ah-bg, #f9f8f6);
  font-size: 16px;
}

.ah-comu__check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 400 !important;
  line-height: 1.45;
  text-align: left !important;
}

.ah-comu__check input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
}

.ah-comu__check span {
  text-align: left;
  text-wrap: pretty;
}

.ah-modal .ah-buscador__submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ah-modal__switch {
  margin: 16px 0 0;
  font-size: 0.95rem;
}

.ah-modal__link {
  background: none;
  border: 0;
  color: var(--ah-brand, #546142);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.ah-comu__composer,
.ah-comu__post {
  background: #fff;
  border: 1px solid var(--ah-sage, #aab4a6);
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
}

.ah-comu input[type="text"],
.ah-comu input[type="email"],
.ah-comu input[type="password"],
.ah-comu input[type="search"],
.ah-comu select,
.ah-comu textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--ah-sage, #aab4a6);
  padding: 8px 12px;
}

.ah-comu__tools {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.ah-comu__tools button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--ah-sage, #aab4a6);
  background: var(--ah-bg, #f9f8f6);
}

.ah-comu__editor {
  min-height: 120px;
  border: 1px solid var(--ah-sage, #aab4a6);
  border-radius: 12px;
  padding: 12px;
  background: var(--ah-bg, #f9f8f6);
}

.ah-comu__count,
.ah-comu__photos {
  font-size: 0.9rem;
}

.ah-comu__imgs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.ah-comu__imgs img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ah-comu__report button,
.ah-comu form[name] button {
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}
