﻿/* PresentTool™ Storytelling — section: bottom-branding (v3.7.0)
   ──────────────────────────────────────────────────────────────
   Slim 60-px dark bar at the absolute bottom of the page.
   _mark.png is rendered DIRECTLY at 22×22 — no gradient wrapper,
   no border-radius — using a white filter for legibility on the
   dark surface. */

.story-bottom-branding {
  background: #14120E;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
  width: 100%;
}

.story-bottom-branding__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--pt-page-max, 1200px);
  margin: 0 auto;
  padding: 0 28px;
  gap: 16px;
}

/* ── Left: brand-mark + made-with link ──────────────────────── */

.story-bottom-branding__left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pt-sans);
  font-size: 14px;
  color: #fff;
  min-width: 0;
}

.story-bottom-branding__mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* NO gradient wrapper, NO border-radius — bare PNG. */
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.story-bottom-branding__mark img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  /* White-render the transparent PNG so it stays legible on the
     dark bar without needing a gradient circle behind it. */
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.story-bottom-branding__link {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.story-bottom-branding__link b {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.story-bottom-branding__link sup {
  font-size: 9px;
  font-weight: 500;
  margin-left: 1px;
  color: rgba(255, 255, 255, 0.7);
  vertical-align: super;
}

.story-bottom-branding__link:hover,
.story-bottom-branding__link:focus-visible {
  color: #fff;
  text-decoration: underline;
  outline: none;
}

.story-bottom-branding__link:focus-visible {
  text-decoration: underline;
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Right: tagline + version ───────────────────────────────── */

.story-bottom-branding__right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--pt-sans);
  font-size: 12px;
  min-width: 0;
}

.story-bottom-branding__tagline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-bottom-branding__version {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.36);
  letter-spacing: 0.02em;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 560px) {
  .story-bottom-branding__inner {
    padding: 0 16px;
    gap: 10px;
  }
  .story-bottom-branding__tagline {
    display: none;
  }
}

@media (max-width: 380px) {
  .story-bottom-branding__link sup { display: none; }
}
