@import url("https://fonts.googleapis.com/css2?family=Yuji+Mai&display=swap");
html{
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar{
  display: none;
}


.focus-toggle {
  position: fixed !important;
  top: 18px !important;
  right: 26px !important;
  transform: none  !important;

  z-index: 999999 !important;

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  background: transparent !important;
  border: none !important;
  padding: 0 !important;

  cursor: pointer !important;
  line-height: 1 !important;
}

.focus-toggle img {
  display: none !important;
}

.focus-toggle {
  width: 21px !important;
  height: 16px !important;
  background-color: rgba(20, 20, 20, 0.68) !important;
  -webkit-mask-image: url('waytosee-clef.png') !important;
  mask-image: url('waytosee-clef.png') !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  transition: background-color 0.8s ease, transform 0.3s ease !important;
}

body.learning-mode .focus-toggle {
  background-color: rgba(240, 240, 240, 0.88) !important;
}

.focus-toggle:hover {
  transform: scale(1.08) !important;
}
body{
  font-family: Arial, sans-serif;
  background:#e8e8e8;
  color:rgba(82,68,54,0.96);
  transition:background 1.2s ease, color 1.2s ease;
}
body.learning-mode{
  background:
    radial-gradient(circle at top, rgba(180,180,180,0.08), transparent 44%),
    linear-gradient(180deg,#060708 0%, #050608 40%, #000 100%);
  color:rgba(240,240,240,0.92);
}



/* כפתור דו – חזרה לדף הבית */

#homeBtn {
  position: fixed;
  top: 14px;
  left: 26px;
  right: auto;

  display: block;
  color: rgba(20, 20, 20, 0.68);
  transition: color 0.8s ease, transform 0.3s ease;

  text-decoration: none;

  z-index: 1000;
  cursor: pointer;
}

#homeBtn:hover {
  transform: scale(1.08);
}
/* כפתור כללי – כניסה לתחנת חשיבה */

.thinking-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(20, 20, 20, 0.68);
  text-decoration: none;
  font-size: 17px;
  transition: color 0.8s ease, transform 0.3s ease;
  cursor: pointer;
}

.thinking-btn:hover {
  transform: scale(1.06);
}

body.learning-mode .thinking-btn {
  color: rgba(240, 240, 240, 0.88);
}

.thinking-btn svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  stroke: currentColor;
}
body.learning-mode #homeBtn {
  color: rgba(240, 240, 240, 0.88);
}


/* ========================================
   פריסת עיתון רספונסיבית
======================================== */

.newspaper-page {
  position: relative;
  z-index: 5;
  max-width: 1450px;
  margin: 0 auto;
  padding: 80px 48px 70px;
}

.newspaper-page > h1 {
  margin: 0 0 46px;
  text-align: center;
  font-size: 42px;
  font-weight: 300;
}

.newspaper-content {
  column-width: 340px;
  column-gap: 54px;
  column-rule: 1px solid rgba(82, 68, 54, 0.22);
  text-align: justify;
  line-height: 1.8;
}

body.learning-mode .newspaper-content {
  column-rule-color: rgba(255, 255, 255, 0.16);
}

.newspaper-content .section {
  margin: 0 0 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(82, 68, 54, 0.18);
}

body.learning-mode .newspaper-content .section {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.newspaper-content .section:first-child {
  padding-top: 0;
  border-top: none;
}

.newspaper-content h2 {
  break-after: avoid;
  margin: 28px 0 14px;
  font-size: 23px;
}

.newspaper-content p {
  break-inside: avoid;
  margin: 10px 0;
  font-size: 17px;
}

.newspaper-content .term {
  font-weight: bold;
}

/* טאבלט */

@media (min-width: 601px) and (max-width: 1050px) {
  .newspaper-page {
    padding-inline: 34px;
  }
  .newspaper-content {
    column-gap: 42px;
  }
}

/* טלפון */

@media (max-width: 600px) {
  .newspaper-page {
    max-width: 760px;
    padding: 80px 24px 70px;
  }

  .newspaper-page > h1 {
    font-size: 34px;
  }

  .newspaper-content {
    column-count: 1;
    text-align: center;
  }

  .newspaper-content p {
    font-size: 18px;
  }
}
/* פריסת טורים בסגנון עיתון - לדפי תוכן/מאמר בלבד */
.article-columns {
  column-width: 340px;
  column-gap: 60px;
}

.article-columns > h1,
.article-columns > h2 {
  column-span: all;
}

@media (max-width: 700px) {
  .article-columns {
    column-width: auto;
    column-count: 1;
  }
}

p {
  margin: 0 0 0.3em;
}

.section {
  margin-bottom: 24px;
  padding-top: 18px;
}



body.learning-mode .container {
  animation: turquoise-flicker 6s steps(1, end) infinite;
}

@keyframes turquoise-flicker {
  0%, 40%, 100% {
    color: inherit;
    text-shadow: none;
  }
  41%, 43%, 45%, 47%, 49%, 51%, 53%, 55%, 57%, 59%, 61%, 63%, 65%, 67%, 69%, 71%, 73%, 75% {
    color: #40e0d0;
    text-shadow: 0 0 6px rgba(64, 224, 208, 0.8), 0 0 14px rgba(64, 224, 208, 0.4);
  }
  42%, 44%, 46%, 48%, 50%, 52%, 54%, 56%, 58%, 60%, 62%, 64%, 66%, 68%, 70%, 72%, 74%, 76% {
    color: inherit;
    text-shadow: none;
  }
}