/* Genesis / Lifestyle Pro parity tweaks for Hugo build */
body.custom-background {
  background-image: url('../images/bg.webp');
  background-position: left top;
  background-repeat: repeat;
  background-attachment: scroll;
}

.nav-primary {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.nav-primary .wrap {
  max-width: 1140px;
}

/* Current page in primary nav — beat Lifestyle Pro gray overrides */
.lifestyle-pro-blue .nav-primary .genesis-nav-menu .current-menu-item > a,
.nav-primary .genesis-nav-menu .current-menu-item > a,
.nav-primary .menu-primary .current-menu-item > a {
  color: #222 !important;
  font-weight: 700;
  background-color: #e8f8fc !important;
  box-shadow: inset 0 -3px 0 #4cc4e0;
}

.lifestyle-pro-blue .nav-primary .genesis-nav-menu .current-menu-item > a:hover,
.nav-primary .genesis-nav-menu .current-menu-item > a:hover {
  color: #222 !important;
  background-color: #d6f2f9 !important;
}

/* Recent posts widget (from archive inline styles) */
.rpwe-block ul {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.rpwe-block li {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  padding-bottom: 10px;
  list-style-type: none;
}

.rpwe-block a {
  display: inline !important;
  text-decoration: none;
}

.rpwe-block h3 {
  background: none !important;
  clear: none;
  margin: 0 !important;
  font-weight: 400;
  font-size: 12px !important;
  line-height: 1.5em;
}

.rpwe-title a {
  color: #222;
}

.rpwe-title a:hover {
  color: #4cc4e0;
}

/* Share buttons (AddToAny-style) */
.addtoany_share_save_container {
  margin: 1.5em 0;
  clear: both;
}

.a2a_kit a {
  display: inline-block;
  margin-right: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #555 !important;
  text-decoration: none !important;
}

.a2a_kit a:hover {
  background: #4cc4e0;
  border-color: #4cc4e0;
  color: #fff !important;
}

.related-posts {
  margin: 2em 0;
  padding: 1em 0;
  border-top: 1px solid #eee;
}

.related-posts-title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.1rem;
  margin: 0 0 0.75em;
}

.related-posts ul {
  margin: 0;
  padding-left: 1.2em;
}

.related-posts li {
  margin-bottom: 0.4em;
}

.footer-links {
  margin: 0.5em 0 0;
  font-size: 13px;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: #fff;
}

.footer-disclaimer {
  margin: 0.75em auto 0;
  max-width: 720px;
  font-size: 12px;
  line-height: 1.45;
  color: #999;
}

.author-bio,
.category-intro {
  margin-bottom: 2em;
}

.post-summary {
  margin-bottom: 2.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #eee;
}

.post-summary-media {
  display: block;
  margin: 0 0 1em;
}

.post-summary-media img,
.entry-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.entry-image {
  margin: 0 0 1.25em;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}

.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
