/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

h2 {
	margin-top: 20px;
}
/* 4-section cards on homepage */
.home-card {
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: #fff;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* Make cards breathe */
.home-card p {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Tighten headings a bit */
.home-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Make the link look consistent */
.home-card a {
  text-decoration: none;
  font-weight: 600;
}

/* Add spacing between columns */
.wp-block-columns {
  gap: 18px;
}

.home-card:hover {
  transform: translateY(-2px);
  transition: 0.15s ease-in-out;
}

.home-cities-list.wp-block-columns {
  max-width: 720px;     /* controls how wide the two columns can be */
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  gap: 80px;            /* space between the two columns */
}

/* Keep each column from stretching too wide */
.home-cities-list .wp-block-column {
  flex: 0 0 260px;      /* fixed column width */
}

/* Optional: cleaner list look */
.home-cities-list ul {
  margin: 0;
  padding-left: 0;
  list-style-position: inside;
}

.entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
	margin-top: 0;
}

/* Footer institutional styling */
.site-footer {
  background: #f7f8fa;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Footer widget spacing */
.footer-widgets {
  padding-top: 50px;
  padding-bottom: 40px;
}

/* Footer headings */
.footer-widgets h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

/* Footer link lists */
.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #333;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Footer text */
.footer-widgets p {
  margin-top: 0;
}

/* Custom institutional footer bar */
.custom-footer-bar {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  padding: 15px 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Footer copyright line inside footer widgets */
.custom-footer-bar {
  margin-top: 18px;
  padding-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid rgba(0,0,0,0.08);
}
/* Make footer widgets behave like a grid */
.footer-widgets .inside-footer-widgets {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 40px !important;
}

/* Force the copyright bar to span all 3 columns */
.footer-widgets .custom-footer-bar {
  grid-column: 1 / -1 !important;
  text-align: center !important;
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(0,0,0,0.08) !important;
  font-size: 0.9rem !important;
  color: #666 !important;
}

/* Force footer widgets container to wrap and allow full-width rows */
.inside-footer-widgets {
  flex-wrap: wrap !important;
}

/* Make the copyright bar a full-width row */
.custom-footer-bar {
  width: 100% !important;
  text-align: center !important;
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(0,0,0,0.08) !important;
  font-size: 0.9rem !important;
  color: #666 !important;
  display: block !important;
}

/* If the cop
 * yright is inside a widget, force that widget to full width */
.footer-widget-1:has(.custom-footer-bar) {
  width: 100% !important;
  flex: 0 0 100% !important;
}
