/* Forms for Landlords — styles.css
   Traditional, plain, print-minded. Navy #00315E, warm grays, Paper #F7F2EA.
   No gradients, no shadows, no rounded corners. */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #F7F2EA;
  color: #222222;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, .wordmark, .tagline {
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  color: #00315E;
  font-weight: 700;
}

a { color: #00315E; }
a:hover { color: #1F2C5C; }

.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Masthead ---------- */
.masthead {
  background: #FFFFFF;
  border-top: 6px solid #00315E;
  border-bottom: 1px solid #A49A95;
}
.masthead-inner {
  display: table;
  width: 100%;
  padding: 22px 0 18px 0;
}
.masthead-brand { display: table-cell; vertical-align: middle; }
.masthead-brand img { float: left; width: 64px; height: 64px; margin-right: 16px; }
.wordmark { font-size: 30px; line-height: 1.15; margin: 6px 0 2px 0; }
.wordmark a { color: #00315E; text-decoration: none; }
.tagline { font-size: 14px; font-weight: 400; font-style: italic; color: #555049; margin: 0; }
.masthead-note {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  font-size: 13px;
  color: #555049;
  max-width: 260px;
}

/* ---------- Navigation ---------- */
.mainnav {
  background: #00315E;
}
.mainnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mainnav li { display: inline-block; }
.mainnav a {
  display: inline-block;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 18px 11px 0;
  margin-right: 10px;
}
.mainnav a:hover { color: #DBD0CA; text-decoration: underline; }
.mainnav a[aria-current="page"] { text-decoration: underline; }

/* ---------- Page body ---------- */
main { background: #FFFFFF; border-left: 1px solid #CCC3BD; border-right: 1px solid #CCC3BD; }
.page { padding: 34px 40px 44px 40px; }

h1.page-title { font-size: 28px; margin: 0 0 6px 0; }
p.lede { font-size: 17px; color: #333333; margin: 0 0 18px 0; max-width: 46em; }

h2 { font-size: 21px; margin: 34px 0 10px 0; padding-top: 18px; border-top: 2px solid #00315E; }
h2:first-of-type { border-top: none; padding-top: 0; }
h3 { font-size: 16px; margin: 22px 0 6px 0; }
p { margin: 0 0 12px 0; max-width: 48em; }
ul, ol { margin: 0 0 14px 0; padding-left: 22px; max-width: 48em; }
li { margin-bottom: 5px; }
hr.rule { border: none; border-top: 1px solid #CCC3BD; margin: 28px 0; }
.small { font-size: 13px; color: #555049; }
strong.price { color: #00315E; }

/* ---------- Banner strip (home) ---------- */
.banner-strip { border-bottom: 1px solid #CCC3BD; }
.banner-strip img { display: block; width: 100%; height: auto; }

/* ---------- Tables (product list, prices) ---------- */
table.listing {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px 0;
  font-size: 15px;
}
table.listing th {
  text-align: left;
  font-family: "Libre Baskerville", Georgia, serif;
  color: #00315E;
  border-bottom: 2px solid #00315E;
  padding: 8px 10px 8px 0;
}
table.listing td {
  border-bottom: 1px solid #CCC3BD;
  padding: 10px 10px 10px 0;
  vertical-align: top;
}
table.listing td.price, table.listing th.price { text-align: right; white-space: nowrap; padding-right: 0; }
table.listing td.buy { white-space: nowrap; text-align: right; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: #00315E;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  padding: 9px 18px;
  border: 1px solid #00315E;
}
.btn:hover { background: #1F2C5C; color: #FFFFFF; }
.btn-plain {
  display: inline-block;
  background: #FFFFFF;
  color: #00315E;
  text-decoration: none;
  font-size: 14px;
  padding: 9px 18px;
  border: 1px solid #00315E;
}
.btn-plain:hover { background: #F7F2EA; }
.btn-disabled {
  display: inline-block;
  background: #FFFFFF;
  color: #A49A95;
  font-size: 14px;
  padding: 9px 18px;
  border: 1px solid #CCC3BD;
}

/* ---------- Product entries (products page) ---------- */
.product { border-bottom: 1px solid #CCC3BD; padding: 20px 0 22px 0; }
.product:last-of-type { border-bottom: none; }
.product h3 { margin-top: 0; font-size: 18px; }
.product .meta { font-size: 13px; color: #555049; margin-bottom: 8px; }
.product-cover { float: right; width: 150px; margin: 0 0 12px 24px; border: 1px solid #CCC3BD; }
.product-cover img { display: block; width: 100%; height: auto; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ---------- Notice / honesty box (bordered, square, plain) ---------- */
.notice {
  border: 1px solid #00315E;
  background: #F7F2EA;
  padding: 16px 20px 8px 20px;
  margin: 22px 0;
}
.notice h3 { margin-top: 0; }
.notice p { font-size: 14.5px; }

/* ---------- Guides (articles) ---------- */
.guide-meta { font-size: 13px; color: #555049; margin: 0 0 18px 0; }
.endcard {
  border: 1px solid #00315E;
  background: #F7F2EA;
  padding: 16px 20px 10px 20px;
  margin: 28px 0 8px 0;
}
.endcard h3 { margin-top: 0; }
.endcard p { font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid #CCC3BD; padding: 14px 0 6px 0; }
.faq-item h3 { margin-top: 0; }

/* ---------- Footer ---------- */
footer {
  background: #00315E;
  color: #DBD0CA;
  margin-top: 0;
}
.footer-inner { padding: 30px 0 10px 0; }
.footer-cols { display: table; width: 100%; }
.footer-col { display: table-cell; vertical-align: top; padding-right: 30px; }
.footer-col h4 { color: #FFFFFF; font-size: 14px; margin: 0 0 10px 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 6px; font-size: 14px; }
.footer-col a { color: #DBD0CA; }
.footer-col a:hover { color: #FFFFFF; }
.footer-disclaimer {
  border-top: 1px solid #A49A95;
  margin-top: 22px;
  padding: 16px 0 6px 0;
  font-size: 12.5px;
  line-height: 1.55;
}
.footer-disclaimer p { max-width: none; margin-bottom: 8px; }
.copyright { font-size: 13px; padding-bottom: 20px; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .page { padding: 24px 18px 34px 18px; }
  .masthead-note { display: none; }
  .wordmark { font-size: 24px; }
  .footer-col { display: block; padding-right: 0; margin-bottom: 18px; }
  .product-cover { float: none; margin: 0 0 12px 0; }
  table.listing td.buy { text-align: left; }
}
