/* mAind — תיקוני עמוד מאמר. 19.9.2026 */

/* 1. תוכן העניינים נצמד לגלילה מימין למאמר.
   article.css כבר הגדיר sticky, אבל template-e.css נטען אחריו ודרס ל-relative. */
@media (min-width: 981px) {
  .reading-page .article-toc {
    position: sticky !important;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .reading-page .article-toc::-webkit-scrollbar { width: 4px; }
  .reading-page .article-toc::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); }
}

/* 2. כפתור ההרשמה: אותו סטנדרט ככל כפתור באתר */
.article-subscribe .sub-btn,
button.sub-btn {
  background: transparent !important;
  background-image: none !important;
  color: #ff8116 !important;
  -webkit-text-fill-color: #ff8116 !important;
  border: 2px solid #ff8116 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  font-weight: 700; font-size: 15px; line-height: 36px; min-height: 40px;
  padding: 0 28px; cursor: pointer; text-decoration: none !important;
  transition: background .15s ease;
}
.article-subscribe .sub-btn:hover, button.sub-btn:hover {
  background: rgba(255,129,22,.12) !important;
}
.article-subscribe .sub-btn:focus-visible, button.sub-btn:focus-visible {
  outline: 2px solid #ff8116; outline-offset: 3px;
}

/* 3. שדות הטופס בשפת העיצוב של האתר */
.article-subscribe .sub-field input[type="text"],
.article-subscribe .sub-field input[type="email"] {
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
  color: #f4f4f1;
  font-family: inherit;
  font-size: 15px;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
  transition: border-color .15s ease;
}
.article-subscribe .sub-field input:focus {
  outline: none;
  border-color: #ff8116;
}
.article-subscribe .sub-field input:focus-visible {
  outline: 2px solid #ff8116; outline-offset: 2px;
}
.article-subscribe .sub-field > span {
  font-size: 14px; color: #a6a6a0; display: block; margin-bottom: 6px;
}
.article-subscribe .sub-consent input[type="checkbox"] { min-width: 18px; min-height: 18px; }
