/* KMGA — additions loaded after styles.css (styles.css itself is unchanged). */

/* ── Phone menu: page name opens the page, the arrow beside it shows its sections ── */
.nav__mobile-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--color-border);
}
.nav__mobile-row .nav__mobile-item {
  flex: 1;
  border-bottom: 0;
}
.nav__mobile-toggle {
  flex: none;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--color-grey-dark, #666);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav__mobile-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}
.nav__mobile-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav__mobile-toggle:focus-visible {
  outline: 2px solid var(--color-black, #111);
  outline-offset: -4px;
}

/* ── Content managed from the admin (cms-content.js) ── */
html.cms-wait main, html.cms-wait footer { visibility: hidden; }
[data-cms-hidden] { display: none !important; }

/* ── Blog on the Media page (only shown when posts are published) ── */
.blog-card { cursor: pointer; }
.blog-card .news-card__title { text-decoration: none; }
.blog-reader {
  position: fixed; inset: 0; z-index: 10000; display: none;
  background: rgba(0, 0, 0, .55); padding: 24px 16px; overflow-y: auto;
}
.blog-reader.open { display: block; }
.blog-reader__box {
  position: relative; max-width: 760px; margin: 40px auto; background: #fff;
  border-radius: 6px; padding: 40px 44px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.blog-reader__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0;
  background: #f3f3f3; border-radius: 50%; font-size: 22px; line-height: 40px; cursor: pointer;
}
.blog-reader__img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 4px; margin-bottom: 24px; }
.blog-reader__meta { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #999; margin-bottom: 10px; }
.blog-reader__title { font-size: 30px; line-height: 1.2; margin: 0 0 18px; }
.blog-reader__body p { font-size: 16px; line-height: 1.75; color: #333; margin: 0 0 16px; }
@media (max-width: 600px) {
  .blog-reader__box { padding: 32px 20px; margin: 20px auto; }
  .blog-reader__title { font-size: 24px; }
}

/* Membership buttons are now links: keep the button's exact size */
a.btn.kmga-btnlink{line-height:normal;font-family:var(--font-primary)}
/* "Supporter Membership" is an outline button on a white section: it was white on white (invisible) */
#s-join .btn--outline{border-color:var(--color-black,#111);color:var(--color-black,#111)}
#s-join .btn--outline:hover{background:rgba(0,0,0,.06)}
