/*
Theme Name: Your Neighbour — Contact Updates
Description: Contact-section refinements for the Your Neighbour WordPress theme.
Version: 1.5.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: your-neighbour-contact-updates
Template: your-neighbour-refined
*/

/* Load the current Your Neighbour theme's full design system, then apply the contact-specific changes. */
@import url("../your-neighbour-refined/style.css");

/* CONTACT PAGE — deliberately simple, spacious and white */
.yn-contact-simple {
  background: #fff;
  color: var(--yn-ink, #263443);
  padding: clamp(54px, 7vw, 92px) 0 clamp(72px, 8vw, 110px);
  min-height: 46vh;
}
.yn-contact-simple__inner {
  width: min(calc(100% - 48px), 1000px);
  margin-inline: auto;
}
.yn-contact-simple__eyebrow {
  margin: 0 0 12px;
  color: var(--yn-terra, #c8755b);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.yn-contact-simple h1 {
  margin: 0 0 42px;
  color: var(--yn-navy, #172c45);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -.035em;
}
.yn-contact-simple__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  max-width: 860px;
}
.yn-contact-simple__item {
  padding: 0 0 4px;
  min-width: 0;
}
.yn-contact-simple__label {
  margin: 0 0 9px;
  color: var(--yn-terra, #c8755b);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
}
.yn-contact-simple__item h2 {
  margin: 0 0 17px;
  color: var(--yn-navy, #172c45);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.02em;
}
.yn-contact-simple__detail {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--yn-navy, #172c45);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.yn-contact-simple__detail:hover { color: var(--yn-terra, #c8755b); }
.yn-contact-simple__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 3px;
  color: var(--yn-terra, #c8755b);
}

/* Footer contact details requested by Vanessa */
.site-footer .footer-contact .footer-heading { font-size: 14px; }
.site-footer .footer-contact__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer a.footer-contact__row:hover { color: #efb19a; }
.site-footer .footer-contact__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: #efb19a;
}

@media (max-width: 820px) {
  .yn-contact-simple__grid { gap: 30px; }
  .yn-contact-simple h1 { margin-bottom: 32px; }
}
@media (max-width: 560px) {
  .yn-contact-simple { padding: 46px 0 64px; }
  .yn-contact-simple__inner { width: calc(100% - 32px); }
  .yn-contact-simple__grid { grid-template-columns: 1fr; gap: 30px; }
  .yn-contact-simple h1 { font-size: 36px; margin-bottom: 28px; }
  .yn-contact-simple__detail { font-size: 16px; }
}


/* FINAL BUYER TWEAKS — October 2026 */
/* Match the Explore column typography to the Contact Info column. */
.site-footer .footer-main > div:nth-child(2) .footer-heading {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 17px;
}
.site-footer .footer-main > div:nth-child(2) .footer-links a {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  text-decoration: none;
}
.site-footer .footer-main > div:nth-child(2) .footer-links a:hover {
  color: #efb19a;
}
@media (max-width: 820px) {
  .site-footer .footer-main > div:nth-child(2) .footer-links a {
    font-size: 14px;
  }
}

/* VERSION 1.5.4 — final page CTA and Guides & Resources content changes */
/* Remove the duplicated upper CTA from the six pages named by the buyer.
   The single bottom footer band is retained and replaced with LOSS OF LIGHT ADVICE. */
.yn-page-home .yn-inline-section--blush,
.yn-page-rights-of-light .yn-page-cta,
.yn-page-daylight-sunlight-planning .yn-page-cta,
.yn-page-groups-of-neighbours .yn-page-cta,
.yn-page-guides-resources .yn-page-cta,
.yn-page-about-your-neighbour .yn-page-cta {
  display: none !important;
}

.yn-loss-light-cta {
  background: var(--yn-blush, #f8eee9);
  padding-top: clamp(42px, 5vw, 62px);
  padding-bottom: clamp(42px, 5vw, 62px);
}
.yn-loss-light-cta .cta-inner {
  align-items: center;
  gap: 30px;
}
.yn-loss-light-cta__copy {
  max-width: 790px;
}
.yn-loss-light-cta .eyebrow {
  margin: 0 0 10px;
  color: var(--yn-terra, #c8755b);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .12em;
}
.yn-loss-light-cta h2 {
  margin: 0 0 10px;
  color: var(--yn-navy, #172c45);
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.16;
  letter-spacing: -.03em;
}
.yn-loss-light-cta p:not(.eyebrow) {
  margin: 0;
  color: var(--yn-muted, #687786);
  font-size: 16px;
  line-height: 1.65;
}
.yn-loss-light-cta .yn-button {
  flex: 0 0 auto;
  min-width: 154px;
  justify-content: center;
  white-space: nowrap;
}

/* Replace the Guides & Resources placeholder/More Information row with the requested FAQs. */
.yn-page-guides-resources .yn-resource-bottom {
  display: none !important;
}
.yn-fao-section {
  margin: 38px 0 8px;
  padding-top: 28px;
  border-top: 1px solid var(--yn-line, #dce2e7);
}
.yn-fao-section > .eyebrow {
  margin: 0 0 20px;
  color: var(--yn-terra, #c8755b);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .12em;
}
.yn-fao-item {
  max-width: 900px;
  margin: 0 0 26px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--yn-line, #dce2e7);
}
.yn-fao-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.yn-fao-item h2 {
  margin: 0 0 10px;
  color: var(--yn-navy, #172c45);
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.3;
}
.yn-fao-item p {
  margin: 0;
  color: var(--yn-ink, #263443);
  font-size: 16px;
  line-height: 1.75;
  text-wrap: pretty;
}

@media (max-width: 820px) {
  .yn-loss-light-cta .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .yn-loss-light-cta .yn-button {
    min-width: 150px;
  }
}
@media (max-width: 560px) {
  .yn-loss-light-cta h2 {
    font-size: 27px;
  }
  .yn-loss-light-cta p:not(.eyebrow) {
    font-size: 15px;
  }
  .yn-fao-section {
    margin-top: 30px;
    padding-top: 22px;
  }
  .yn-fao-item h2 {
    font-size: 20px;
  }
  .yn-fao-item p {
    font-size: 15px;
  }
}
