/* =========================================================
   CCLodging.com Lodging Stories styles
   File: /assets/css/lodging-stories.css
   Add this file and link it from submit-comment.html and comments.html.
   ========================================================= */

.hero-banner.interior-hero-banner {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.25rem auto 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(61, 42, 28, 0.18);
}

.hero-banner.interior-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.content-page {
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

.content-card {
  background: #fffaf1;
  border: 1px solid rgba(122, 90, 50, 0.18);
  border-radius: 22px;
  padding: clamp(1rem, 3vw, 1.55rem);
  margin: 1.25rem 0;
  box-shadow: 0 10px 28px rgba(60, 40, 20, 0.08);
}

.eyebrow {
  margin: 0 0 0.45rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.78rem;
  color: #8a611f;
}

.category-heading,
.section-title {
  margin-top: 0;
  color: #4a321c;
}

.muted-text,
.form-help,
.form-note,
.loading-message {
  color: #6b5a47;
}

.site-form {
  background: #fffaf1;
  border: 1px solid rgba(122, 90, 50, 0.18);
  border-radius: 22px;
  padding: clamp(1rem, 3vw, 1.55rem);
  margin: 1.25rem 0;
  box-shadow: 0 10px 28px rgba(60, 40, 20, 0.08);
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-weight: 800;
  color: #4a321c;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(94, 66, 34, 0.28);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: #2f241a;
  box-sizing: border-box;
}

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

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(201, 161, 90, 0.38);
  border-color: #8d652f;
}

.optional-label {
  font-weight: 600;
  color: #6b5a47;
}

.story-guidelines-box {
  background: #fff;
  border: 1px dashed rgba(122, 90, 50, 0.35);
  border-radius: 18px;
  padding: 1rem;
  margin: 1rem 0;
}

.story-guidelines-box h3 {
  margin-top: 0;
  color: #4a321c;
}

.story-guidelines-box ul {
  margin-bottom: 0;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.primary-submit-button,
.cta-button,
.btn-ghost {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
}

.primary-submit-button,
.cta-button {
  background: #6f4f28;
  color: #fff;
  box-shadow: 0 8px 18px rgba(60, 40, 20, 0.18);
}

.primary-submit-button:hover,
.cta-button:hover {
  background: #4f371d;
}

.btn-ghost {
  background: #fff;
  color: #6f4f28;
  border: 1px solid rgba(111, 79, 40, 0.3);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.center-buttons {
  justify-content: center;
  margin-top: 1rem;
}

.form-message {
  min-height: 1.4rem;
  font-weight: 800;
  margin-top: 0.85rem;
  color: #4a321c;
}

.form-message.success {
  color: #246b36;
}

.form-message.error {
  color: #9f2b21;
}

.comments-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.comment-card {
  background: #fff;
  border: 1px solid rgba(122, 90, 50, 0.16);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(60, 40, 20, 0.06);
}

.comment-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  margin-bottom: 0.45rem;
}

.comment-author {
  font-weight: 900;
  color: #3d2815;
}

.comment-meta {
  color: #705f4b;
  font-size: 0.92rem;
}

.comment-property {
  margin: 0.35rem 0;
  font-weight: 800;
  color: #5a3c1f;
}

.comment-title {
  margin: 0.55rem 0 0.25rem;
  color: #4a321c;
  font-size: 1.15rem;
}

.comment-text {
  margin: 0.6rem 0 0;
  color: #332820;
  line-height: 1.55;
  white-space: pre-wrap;
}

@media (max-width: 720px) {
  .hero-banner.interior-hero-banner {
    width: min(100% - 1rem, 1120px);
  }

  .button-row,
  .primary-submit-button,
  .cta-button,
  .btn-ghost {
    width: 100%;
  }
}
