/* Site footer.
 *
 * Replaces the widget footer, which had real problems: roughly 150px of dead
 * space above the copyright bar, a first column so narrow the guarantee text
 * wrapped every three or four words across eleven lines, two of the four
 * columns with no heading at all, columns sitting on different baselines, and
 * no phone number anywhere - in a footer for a business whose customers call.
 *
 * Same tokens as before, sampled from the original: background rgb(30,24,16),
 * headings in brand orange, Montserrat for headings and Lato for body. Only the
 * footer changes; page content and structure are untouched because the URLs and
 * page structure are indexed.
 */

.rsdr-footer {
  background: #1e1810;
  color: rgba(255, 255, 255, .76);
  font-family: Lato, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.rsdr-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  /* the first column is wider so the guarantee reads as a paragraph rather
     than a column of three-word lines */
  grid-template-columns: 1.35fr .85fr 1.15fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.rsdr-footer h3 {
  margin: 0 0 18px;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #ff7a3d;
  line-height: 1.3;
}

.rsdr-footer ul { list-style: none; margin: 0; padding: 0; }
.rsdr-footer li { margin: 0 0 9px; }
.rsdr-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.rsdr-footer a:hover, .rsdr-footer a:focus-visible { color: #ff7a3d; }

.rsdr-footer-logo { display: inline-block; line-height: 0; margin-bottom: 18px; }
.rsdr-footer-logo img { width: 190px; height: auto; max-width: 100%; }
.rsdr-footer-blurb { margin: 0 0 22px; max-width: 42ch; }

.rsdr-footer-contact { margin-bottom: 18px; }
.rsdr-footer-tel {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.25;
}
.rsdr-footer-tel:hover { color: #ff7a3d; }
.rsdr-footer-tel small {
  display: block;
  margin-bottom: 2px;
  font-family: Lato, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.rsdr-footer-mail { font-size: 14px; }

.rsdr-footer-cta {
  display: inline-block;
  background: #ff7a3d;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 5px;
  text-decoration: none;
  line-height: 1;
}
.rsdr-footer-cta:hover { background: #e8642a; color: #fff; }

.rsdr-footer-social { display: flex; gap: 10px; margin-top: 22px; }
.rsdr-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 6px;
  color: rgba(255, 255, 255, .9);
}
/* must stay after the base rule - same specificity, so source order decides */
.rsdr-footer-social a:hover { border-color: #ff7a3d; color: #ff7a3d; }
.rsdr-footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* two tidy columns for the long service-area list instead of one tall stack */
.rsdr-footer-areas ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  align-items: start;
}

.rsdr-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 20px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .7);
}
.rsdr-footer-bottom a { color: rgba(255, 255, 255, .7); }
.rsdr-footer-bottom a:hover { color: #ff7a3d; }

/* the original widget footer is hidden rather than deleted, so the change is
   one stylesheet line to undo */
#colophon { display: none !important; }

@media (max-width: 1024px) {
  .rsdr-footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; padding: 44px 20px 32px; }
}

@media (max-width: 600px) {
  .rsdr-footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 36px 18px 26px; }
  .rsdr-footer-areas ul { columns: 2; }
  .rsdr-footer-blurb { max-width: none; }
}

/* The floating call button is fixed bottom-right on phones and sat on top of the
   copyright line. Reserve room for it rather than moving the button, which is a
   deliberate conversion element. */
@media (max-width: 767px) {
  .rsdr-footer-bottom { padding-bottom: 84px; }
}

/* Blog prev/next titles rendered at 10.9px, under the 12px floor. */
.post-navigation__prev--title,
.post-navigation__next--title { font-size: 12px !important; }


/* --- Blog index title ------------------------------------------------------
 * /blog/ had no <h1> and no title block at all, so it opened straight into the
 * card grid while the category, tag and search archives next to it all get a
 * title. That is both an abrupt read and a missing H1 for search engines.
 * Styled to match the archive title those siblings already use.
 */
.rsdr-blog-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 20px 10px;
}
.rsdr-blog-title h1 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #1e1810;
  line-height: 1.2;
}
.rsdr-blog-title p {
  margin: 10px 0 0;
  font-family: Lato, sans-serif;
  font-size: 17px;
  color: #575250;
  max-width: 60ch;
}
@media (max-width: 767px) {
  .rsdr-blog-title { padding: 30px 18px 6px; }
  .rsdr-blog-title h1 { font-size: 30px; }
}
