/* ============================================================
   ROCK HOUSE TYPOGRAPHY
   ============================================================ */

h1 {
  font-family: "proxima-nova", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 50.4px;
  color: rgb(0, 98, 117);
  margin-bottom: 24px;
}

h2 {
  font-family: "proxima-nova", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 38.4px;
  letter-spacing: 1.6px;
  color: rgba(26, 26, 26, 0.7);
  text-transform: capitalize;
  margin-bottom: 20px;
}

h3 {
  font-family: "proxima-nova", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 24.2px;
  letter-spacing: 0.65px;
  color: rgb(0, 149, 179);
  margin-bottom: 16px;
}

p {
  font-family: "proxima-nova", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 33.6px;
  color: rgba(26, 26, 26, 0.7);
  margin-bottom: 24px;
}

a {
  color: #006275;
  font-family: "proxima-nova", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 33.6px;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}


/* ============================================================
   ROCK HOUSE BUTTON SYSTEM — SAFE + SCOPED
   ============================================================ */

.button--large,
a.button--large,
button.button--large,
input[type="submit"].button--large {
  display: inline-block;
  background-color: rgb(0, 149, 179);
  color: #ffffff;
  font-family: "proxima-nova", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  padding: 28px 52px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.button--large:hover,
a.button--large:hover,
button.button--large:hover,
input[type="submit"].button--large:hover {
  background-color: rgb(0, 130, 156);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.button--medium,
a.button--medium,
button.button--medium {
  display: inline-block;
  background-color: rgb(65, 146, 175);
  color: #ffffff;
  font-family: "proxima-nova", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  text-align: center;
  padding: 18px 38px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.button--medium:hover,
a.button--medium:hover,
button.button--medium:hover {
  background-color: rgb(50, 125, 155);
  transform: translateY(-1px);
}

.button--large:disabled,
.button--medium:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* ============================================================
   LIST STYLING
   ============================================================ */

.post-content ul,
.kg-card-markdown ul {
  list-style-position: outside;
  padding-left: 1.4rem;
  margin-left: 0;
  margin-bottom: 1.2rem;
}

.post-content ul li,
.kg-card-markdown ul li {
  margin-bottom: 0.6rem;
  padding-left: 0.2rem;
  line-height: 1.6;
}


/* ============================================================
   ROCK HOUSE FOOTER — ENHANCED + CLEAN
   ============================================================ */

footer.rockhouse-footer {
  background: #f0f5f6;
  padding: 5rem 0 3rem;
  border-top: 4px solid #006275;
}

footer.rockhouse-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3.5rem;
}

footer.rockhouse-footer h3,
footer.rockhouse-footer h4 {
  color: #006275;
  margin-bottom: 1rem;
  font-weight: 700;
}

footer.rockhouse-footer p {
  color: rgba(26, 26, 26, 0.75);
  margin-bottom: 1rem;
  font-size: 18px;
  line-height: 1.5;
}

footer.rockhouse-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.rockhouse-footer ul li {
  margin-bottom: 0.5rem;
}

footer.rockhouse-footer input[data-members-email] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c8d4d6;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  font-size: 16px;
}

footer.rockhouse-footer .footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #cfd8da;
}

footer.rockhouse-footer .footer-bottom p {
  color: rgba(26, 26, 26, 0.6);
  font-size: 16px;
}


/* ============================================================
   FOOTER LINK OVERRIDE (SAFE + SCOPED)
   ============================================================ */

footer.rockhouse-footer a {
  color: #006275 !important;
}

footer.rockhouse-footer a:hover {
  color: #004d5e !important;
}


/* ============================================================
   RESTORE EDITION HEADER ICONS
   ============================================================ */

.gh-head .gh-icon-btn,
.gh-head .gh-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
}

.gh-head .gh-icon-btn svg,
.gh-head .gh-burger svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.gh-head .gh-head-logo {
  flex-shrink: 1;
  min-width: 0;
}


/* ============================================================
   FOOTER FORM ALIGNMENT
   ============================================================ */

footer.rockhouse-footer form {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
}

footer.rockhouse-footer input[data-members-email] {
  height: 48px;
  padding: 12px 14px;
}

footer.rockhouse-footer button,
footer.rockhouse-footer .button--medium {
  height: 48px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ============================================================
   FOOTER FORM — MAKE INPUT WIDER THAN BUTTON
   ============================================================ */

footer.rockhouse-footer input[data-members-email] {
  flex: 1;
  max-width: 420px; /* adjust as needed */
}

footer.rockhouse-footer button,
footer.rockhouse-footer .button--medium {
  flex: 0 0 auto;
}