/* Wide layout (Sagnik, 2026-11-18): on large screens the content runs nearly full width,
   leaving 2.5 inches of white space on the left and right. Smaller screens keep the theme widths. */
@media (min-width: 1240px) {
  .container {
    max-width: calc(100vw - 5in);
  }
}

/* Connected Authors embed: fixed 16:9 frame, centred. Full content width on smaller screens;
   on large screens 4 inches of white space on each side of the page. */
.ca-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 auto 0.5rem;
  border: 1px solid #dfe3e9;
  border-radius: 10px;
  overflow: hidden;
}
@media (min-width: 1240px) {
  .ca-embed {
    width: min(100%, calc(100vw - 8in));
  }
}

/* GitHub contributions chart: same frame rules as the Connected Authors embed
   centred; 6 inches of white space on each side on large screens, height follows the image. */
.gh-stats {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}
@media (min-width: 1240px) {
  .gh-stats {
    width: min(100%, calc(100vw - 12in));
  }
}
