/* DC610 brand overrides: steel-beam motif on top of terminal theme */

/* Blinking cursor on the header logo block */
.logo::after {
  content: "_";
  margin-left: 2px;
  animation: dc610-cursor-blink 1s steps(2, start) infinite;
}
@keyframes dc610-cursor-blink {
  to { visibility: hidden; }
}


/* Section dividers rendered as an I-beam silhouette (top flange, web, bottom flange) */
hr {
  border: 0;
  position: relative;
  width: 200px;
  height: 28px;
  margin: 3rem auto;
  background: linear-gradient(var(--accent), var(--accent)) center/4px 100% no-repeat;
}
hr::before,
hr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}
hr::before { top: 0; }
hr::after  { bottom: 0; }

/* Vertical brand-red accent on headings — echoes the beam's web */
.post-title,
.post.on-list h2,
article h2,
.index-content h2 {
  border-left: 4px solid var(--accent);
  padding-left: 0.6em;
}

/* Homepage post-list cards: subtle top rule between entries */
.post.on-list {
  border-top: 1px solid color-mix(in srgb, var(--foreground) 12%, transparent);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.post.on-list:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

/* Logo on homepage: cap size so it doesn't dominate the hero */
.index-content img[alt*="Logo"] {
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

/* Next-meetup block — used by the next-meetup shortcode */
.next-meetup {
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: color-mix(in srgb, var(--accent) 4%, var(--background));
}
.next-meetup p { margin: 0.25rem 0; }
.next-meetup__when { font-size: 1.15em; }
.next-meetup .button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4em 0.9em;
  background: var(--accent);
  color: var(--background);
  text-decoration: none;
  font-weight: 600;
}
.next-meetup .button:hover {
  filter: brightness(0.9);
}

/* Photo strip — used by the {{< photos >}} shortcode */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--foreground) 12%, transparent);
}
/* Placeholder cells when no images are passed yet */
.photo-strip:empty {
  min-height: 160px;
  background:
    repeating-linear-gradient(
      45deg,
      color-mix(in srgb, var(--foreground) 6%, transparent) 0 8px,
      transparent 8px 16px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed color-mix(in srgb, var(--foreground) 25%, transparent);
}
.photo-strip:empty::before {
  content: "photos from past meetups go here";
  color: color-mix(in srgb, var(--foreground) 55%, transparent);
  font-size: 0.85em;
}
