/* Site-level tweaks on top of the meghna-hugo theme (loaded via params.plugins.css). */

/* The theme paints every <a> white, which is invisible inside the #ddd portfolio copy, so
   these sit at the accent colour and hover to white — the site's white→orange link hover,
   inverted, so it stays inside the palette. */
.portfolio-block .caption p a {
  color: #ff6600;
}
.portfolio-block .caption p a:hover,
.portfolio-block .caption p a:focus {
  color: #fff;
}

/* Link to the live product, rendered under the copy by layouts/partials/portfolio.html. */
.portfolio-block .caption .portfolio-link {
  margin-top: 1rem;
  font-weight: 700;
}
.portfolio-block .caption .portfolio-link i {
  font-size: 0.8em;
  margin-left: 0.2em;
}

/* "Get it" buttons on app pages and the /portfolio/ catalogue (layouts/partials/app-links.html). */
.app-links {
  margin: 1.5rem 0;
}
.app-links .btn {
  margin: 0.25rem;
}
.app-links .btn i {
  margin-right: 0.5em;
}

/* Sibling-app links at the end of an app page (layouts/partials/more-apps.html). */
.more-apps {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}
.more-apps ul {
  list-style: none;
  padding-left: 0;
}
.more-apps li {
  margin-bottom: 0.75rem;
}
.more-apps small {
  color: #777;
}

/* Detail page (layouts/portfolio/single.html): title left, "Get it" buttons right. */
.app-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.app-header h1 {
  margin: 0;
}
.app-header .app-links {
  margin: 0;
}
.app-header .app-links .btn {
  margin: 0 0 0 0.5rem;
}
.post-single-content h2 {
  color: #ddd;
}
.post-single-content::after {
  content: "";
  display: block;
  clear: both;
}

/* Row of app links above the footer copyright (layouts/partials/footer.html). */
.footer-apps {
  margin-bottom: 1rem;
}
.footer-apps .list-inline-item:not(:last-child) {
  margin-right: 1.25rem;
}
