@font-face {
  font-family: 'Masada-Book';
  src: url('./fonts/Masada-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Masada-Medium';
  src: url('./fonts/Masada-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'GretaSans-Regular';
  src: url('./fonts/GretaSansH+L-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GretaSans-Semi-Bold';
  src: url('./fonts/GretaSansH+L-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GretaSans-Bold';
  src: url('./fonts/GretaSansH+L-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GretaSans-Heavy';
  src: url('./fonts/GretaSansH+L-Heavy.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aduma-Bold';
  src: url('./fonts/Aduma-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

  .timeline-events {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    width: max-content;
    overflow-x: visible;
    overflow-y: visible;
    padding-right: 40px;
    padding-left: 40px;
    height: 100vh;
    z-index: 1;
    gap: 115px;
    position: relative;
  }


  .timeline-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-x: auto;
    overflow-y: hidden;
    z-index: 1;
    background-color: #DFDCD6;
    transition: background-color 0.2s ease-in-out;
    will-change: scroll-position;
  }


  .timeline-events.centered-events {
    justify-content: center !important;
    gap: 70px !important;
    display: flex;
    width: fit-content;
    margin: 0 auto;
  }

  
  .timeline-container::-webkit-scrollbar {
    background: transparent; 
    height: 10px; 
  }
  

  .timeline-container::-webkit-scrollbar-thumb {
    background: #33322E;

  }
  
  /* Legend for timeline */
  .timeline-legend {
    position: fixed;
    top: 16px;
    left: 16px;
    bottom: unset;
    z-index: 1000;
    background: none;
    padding: 6px 16px;
    font-family: 'GretaSans-Regular', sans-serif;
    color: #33322E;
    direction: rtl;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .timeline-legend h4 {
    display: none;
  }

  .legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    gap: 6px;
  }

  .legend-color {
    width: 6px;
    height: 6px;
    border-radius: 12px;
    flex-shrink: 0;
    border: 2px solid transparent;
  }

  .legend-color.political {
    background-color: #1A61D9;
  }
  
  .legend-color.security {
    background-color: #D91A30;
  }
  
  .legend-color.cultural {
    background-color: #831AD9;
  }
  
  .legend-text {
    font-size: 0.9rem;
    font-weight: 400;
  }
 

  #main-title {
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'GretaTextH+L-Medium', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #33322E;
    display: block;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    position: absolute;
    z-index: 1000;
    line-height: 1.2;
    text-align: center;
  }
  
  #main-title:hover {
  cursor: pointer;
  opacity: 0.7;
  }
  
  #main-decade-label {
    font-family: 'GretaSans-Regular', serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #33322E;
    display: block;
    user-select: none;
    line-height: 1.2;
    text-align: center;
  }
  

  .back-to-overview-btn {
    position: absolute;
    display: flex;
    top: 16px;
    right: 12px;
    height: 48px;
    width: 48px;
    z-index: 200;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;

  }


  .back-to-overview-btn:hover {
    opacity: 0.7;
    cursor: pointer;
  }

  
  .img-texture-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  

  .event-container .cover-container .img-wrapper {
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    --stack-offset: 0px;
    --rotation: 0deg;
    transform: translateY(var(--stack-offset)) rotate(var(--rotation));
    transition: all 0.2s ease-out;
    cursor: pointer;
    opacity: 0;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    contain: layout style paint;
  }
  
  .event-container .cover-container .img-wrapper:hover {
    transform: translateY(calc(var(--stack-offset) - 12px)) translateX(32px) scale(1.1) rotate(calc(var(--rotation) - 6deg));
  }
  
  .event-container .cover-container .img-wrapper.loaded {
    opacity: 1;
  }
  
  .event-container .cover-container .img-wrapper img {
    width: 210px;
    height: 300px;
    object-fit: contain;
    display: block;
    position: relative;
  }
  

  .topic-tag {
    background: none;
    font-family: 'GretaSans-Regular', sans-serif;
    font-weight: 400;
    color: #33322E;
    font-size: 1rem;
    display: inline;
    white-space: nowrap;
    vertical-align: baseline;
  }

  .event-block {
    text-align: right;
  }
  
  .event-title {
    margin: 0;
    font-size: 1.7rem;
    line-height: 1.4;
    font-weight: bold;
    color: #DFDCD6;
    font-family: 'Masada-Medium';
    font-weight: 500;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .event-date {
    margin-top: 8px;
    font-size: 1rem;
    color: #DFDCD6;
    font-family: 'Masada-Book';
    font-weight: 400;
  }
  
  
  .event-container {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: default;
    margin-bottom: 40px;
  }
  
    
    .event-container .cover-container {
      position: relative;
      height: 210px;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 48px;
    }
  

  .event-info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 220px;
  }
  
  .timeline-horizontal-line {
    position: fixed;
    bottom: 88px;
    left: 0;
    right: 0;
    height: 1.2px;
    background: #BFBDB5; /* צבע בולט לבדיקה */
    z-index: 9999 !important;
    pointer-events: none;
}


.event-info::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1.2px;
  height: 20px;
  background-color: #BFBDB5;
  margin-bottom: 12px;
}


.event-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}


  .dot-separator {
    font-size: 0.775rem;
    color: #33322E;
    padding: 0 3px;
  }
  
  .event-info .event-title {
    font-family: 'Masada-Medium', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #33322E;
    text-align: center;
    white-space: nowrap;
    width: auto;
    min-width: min-content;
  }
  
  .event-info .event-date-timeline {
    font-family: 'GretaSans-Regular', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #33322E;
    direction: rtl;
    unicode-bidi: embed;
    text-align: right;
    display: inline;
  }
  
  .event-container .cover-container .img-wrapper:nth-child(1) { --stack-offset: 0px; z-index: 1; }
  .event-container .cover-container .img-wrapper:nth-child(2) { --stack-offset: -40px; z-index: 2; }
  .event-container .cover-container .img-wrapper:nth-child(3) { --stack-offset: -80px; z-index: 3; }
  .event-container .cover-container .img-wrapper:nth-child(4) { --stack-offset: -120px; z-index: 4; }
  .event-container .cover-container .img-wrapper:nth-child(5) { --stack-offset: -160px; z-index: 5; }
  .event-container .cover-container .img-wrapper:nth-child(6) { --stack-offset: -190px; z-index: 6; }
  .event-container .cover-container .img-wrapper:nth-child(7) { --stack-offset: -220px; z-index: 7; }
  .event-container .cover-container .img-wrapper:nth-child(8) { --stack-offset: -250px; z-index: 8; }
  .event-container .cover-container .img-wrapper:nth-child(9) { --stack-offset: -280px; z-index: 9; }
  .event-container .cover-container .img-wrapper:nth-child(10) { --stack-offset: -320px; z-index: 10; }
  

  body.filters-open .img-wrapper {
    pointer-events: none !important;
  }
  
  .newspaper-quote {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
    opacity: 0;
    font-family: 'Aduma-Bold', sans-serif;
    font-weight: 700;
    pointer-events: none;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
    min-height: 120px;
    will-change: opacity;
    contain: layout style paint;
  }
  
  .newspaper-quote .quote-text {
    font-size: 5rem;
    text-align: center;
    white-space: nowrap;
  }
  
  .newspaper-quote .newspaper-info {
    font-size: 1.125rem;
    margin-top: 8px;
    font-family: 'GretaSans-Regular', serif;
    font-weight: 400;
    text-align: center;
    z-index: 1003;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
  }
  
  .logo-wrapper {
    display: inline-flex;
    align-items: center;
  }
  
  .newspaper-quote .newspaper-info .newspaper-logo {
    height: 18px;
    width: auto;
    max-width: 100px;
    margin: 0 4px;
    opacity: 1;
  }


  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="המשקיף"] {
    height: 24px;
    max-width: 140px;
  }
  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="המליץ"] {
    height: 24px;
    max-width: 140px;
  }
  

  .newspaper-quote .newspaper-info .newspaper-logo[alt="חרות"] {
    height: 14px;
    max-width: 140px;

  }
  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="למרחב"] {
    height: 20px;
    max-width: 140px;
  }
  
   
  .newspaper-quote .newspaper-info .newspaper-logo[alt="הצפירה"] {
    height: 20px;
    max-width: 140px;
  }
  

  .newspaper-quote .newspaper-info .newspaper-logo[alt="הארץ"] {
    height: 16px;
    max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="מעריב"] {
  height: 20px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="הבוקר"] {
  height: 16px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="חדשות"] {
  height: 14px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="הד ליטא"] {
  height: 20px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="הפועל הצעיר"] {
  height: 20px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="דבר"] {
  height: 18px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="המשקיף"] {
  height: 26px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="חזית העם"] {
  height: 24px;
  max-width: 140px;
}
  
  .newspaper-quote .quote-mark {
    font-family: 'Masada-Medium', sans-serif;
    font-size: 1.125rem;
  }
  
  .newspaper-quote .newspaper-info span {
    font-size: 18px;
    color: #33322E;
    font-family: 'GretaSans-Regular', sans-serif;
    font-weight: 400;
  }
  
  .img-wrapper:hover .newspaper-quote {
    opacity: 1;
  }
  

  body.filters-open .header-container {
    z-index: 20007;
  }
  
    
  .filters-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 30000;
    transform: translateY(-100%);
    transition: transform 0.2s ease-in-out;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-y: auto;
    will-change: transform;
    visibility: visible;
    opacity: 1;
    background-color: #DFDCD6;
    pointer-events: none;
  }
  
  .filters-topbar:not(.open) {
    transform: translateY(-100%);
    transition: transform 0.2s ease-in-out;
    visibility: visible;
    opacity: 1;
    pointer-events: none;
  }
  
  .filters-topbar.open {
    transform: translateY(0);
    box-shadow: 0 7px 25px 0 rgba(112, 110, 99, 0.174);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  
  .filters-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 20px 20px;
    position: relative;
    z-index: 1005;
  }
  
  .close-filters {
    position: absolute;
    display: flex;
    right: 16px;
    height: 48px;
    width: 48px;
    z-index: 200;
    background: none;
    border: none;
    box-shadow: none;
    align-items: center;      /* מרכז אנכית */
    justify-content: center
  }
   
  .close-filters:hover {
    cursor: pointer;
    opacity: 0.7;
  }
  

  .filters-title{
    margin-top: 0;
    display: block;
    text-align: center;
    align-items: center;
    font-size: 1.1rem;
    font-family: 'GretaSans-Regular', sans-serif;
    font-weight: 400;
    color: #33322E;
  }
  
 
  .filters-content {
    display: flex;
    flex-wrap: wrap;
    direction: rtl;
    justify-content: center;
    align-items: center !important;
    gap: 24px;
    padding: 20px 16px 16px 16px;
    background: none;
    box-shadow: none;
    overflow: visible;
    z-index: 1004;
    direction: rtl;
  }
  
  
  
  .logos-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    padding: 0 8px;
    box-sizing: border-box;
    max-height: 72px;
  }
  
  .newspaper-logo {
    height: 36px;
    max-width: 120px;
  }

  .newspaper-logo[alt="למרחב"] {
    height: 44px ;
    max-width: 160px ;
  }

  .newspaper-logo[alt="על המשמר"] {
    height: 40px ;
    max-width: 160px ;
  }

  .newspaper-logo[alt="המליץ"] {
    height: 48px ;
    margin-bottom: 16px;
  }

  .newspaper-logo[alt="הפועל הצעיר"] {
    height: 52px ;
    max-width: 180px ;
  }

  .newspaper-logo[alt="הארץ"] {
    height: 28px ;
    max-width: 160px ;
  }

  .newspaper-logo[alt="דבר"] {
    height: 32px ;
    max-width: 160px;
  }

  .newspaper-logo[alt="חרות"] {
    height: 32px ;
    max-width: 160px 
  }


  .newspaper-logo-label input[type="checkbox"]:checked ~ .newspaper-logo {
    opacity: 0.4;
  }

  
  .newspaper-logo-label:hover .newspaper-logo {
    cursor: pointer;
  }
  




  /* Hide all checkboxes completely */
input[type="checkbox"] {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    visibility: hidden !important;
    pointer-events: none !important;  
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .single-filter-btn {
    position: absolute;
    display: flex;
    top: 10px;
    right: 70px;
    height: 48px;
    width: 48px;
    z-index: 200;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }


  .single-filter-btn:hover {
    opacity: 0.7;
  }
  

  .decade-navigation {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 200;
  }

  .decade-nav-btn {
    display: flex;
    height: 48px;
    width: 48px;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }
  

  .decade-nav-btn:hover {
    opacity: 0.7;
  }

  .decade-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
  }

#timeline-events.decade-1903-gap {
  gap: 300px !important;
}


body.political-hover .single-filter-btn,
body.political-hover .back-to-overview-btn,
body.political-hover .decade-nav-btn {
  filter: brightness(0) saturate(100%) invert(94%) sepia(17%) saturate(65%) hue-rotate(1deg) brightness(95%) contrast(86%);
}

body.political-hover .event-title,
body.political-hover .event-date-timeline,
body.political-hover .topic-tag,
body.political-hover .event-info .event-title,
body.political-hover .event-info .event-date-timeline {
  color: #DFDCD6 !important;
}

body.political-hover #main-title,
body.political-hover #main-decade-label,
body.political-hover .dot-separator {
  color: #DFDCD6 !important;
} 

body.political-hover .newspaper-logo {
  filter: brightness(0) saturate(100%) invert(94%) sepia(17%) saturate(65%) hue-rotate(1deg) brightness(95%) contrast(86%);
}

body.political-hover .quote-text {
  color: #DFDCD6 !important;
}

body.political-hover .newspaper-quote .newspaper-info {
  color: #DFDCD6 !important;
}

body.political-hover .newspaper-quote .quote-mark {
  color: #DFDCD6 !important;
}

body.political-hover .newspaper-quote .newspaper-info span{
  color: #DFDCD6 !important;
}

body.political-hover .timeline-horizontal-line {
  background: #4784E9 !important;
}

body.political-hover .event-info::before {
  background-color: #4784E9 !important;
}

body.political-hover .timeline-container {
  transition: background-color 0.2s ease-in-out;
  background-color: #1A61D9 !important;
}



body.political-hover .timeline-container::-webkit-scrollbar-thumb {
  background: #DFDCD6;
}



body.security-hover .single-filter-btn,
body.security-hover .back-to-overview-btn,
body.security-hover .decade-nav-btn {
  filter: brightness(0) saturate(100%) invert(94%) sepia(17%) saturate(65%) hue-rotate(1deg) brightness(95%) contrast(86%);
}

body.security-hover .event-title,
body.security-hover .event-date-timeline,
body.security-hover .topic-tag,
body.security-hover .event-info .event-title,
body.security-hover .event-info .event-date-timeline {
  color: #DFDCD6 !important;
}


body.security-hover #main-title,
body.security-hover #main-decade-label,
body.security-hover .dot-separator {
  color: #DFDCD6 !important;
} 

body.security-hover .newspaper-logo {
  filter: brightness(0) saturate(100%) invert(94%) sepia(17%) saturate(65%) hue-rotate(1deg) brightness(95%) contrast(86%);
}

body.security-hover .quote-text {
  color: #DFDCD6 !important;
}

body.security-hover .newspaper-quote .newspaper-info {
  color: #DFDCD6 !important;
}

body.security-hover .newspaper-quote .quote-mark {
  color: #DFDCD6 !important;
}

body.security-hover .newspaper-quote .newspaper-info span{
  color: #DFDCD6 !important;
}

body.security-hover .timeline-horizontal-line {
  background: #E9474D !important;
}

body.security-hover .event-info::before {
  background-color: #E9474D !important;
}

body.security-hover .timeline-container {
  transition: background-color 0.2s ease-in-out;
  background-color: #CD182D !important;
}

body.security-hover .timeline-container::-webkit-scrollbar-thumb {
  background: #DFDCD6;
}


body.cultural-hover .single-filter-btn,
body.cultural-hover .back-to-overview-btn,
body.cultural-hover .decade-nav-btn {
  filter: brightness(0) saturate(100%) invert(94%) sepia(17%) saturate(65%) hue-rotate(1deg) brightness(95%) contrast(86%);
}

body.cultural-hover .event-title,
body.cultural-hover .event-date-timeline,
body.cultural-hover .topic-tag,
body.cultural-hover .event-info .event-title,
body.cultural-hover .event-info .event-date-timeline {
  color: #DFDCD6 !important;
}

body.cultural-hover #main-title,
body.cultural-hover #main-decade-label,
body.cultural-hover .dot-separator {
  color: #DFDCD6 !important;
} 

body.cultural-hover .newspaper-logo {
  filter: brightness(0) saturate(100%) invert(94%) sepia(17%) saturate(65%) hue-rotate(1deg) brightness(95%) contrast(86%);
}

body.cultural-hover .quote-text {
  color: #DFDCD6 !important;
}

body.cultural-hover .newspaper-quote .newspaper-info {
  color: #DFDCD6 !important;
}

body.cultural-hover .newspaper-quote .quote-mark {
  color: #DFDCD6 !important;
}

body.cultural-hover .newspaper-quote .newspaper-info span{
  color: #DFDCD6 !important;
}

body.cultural-hover .timeline-horizontal-line {
  background: #9847E9 !important;
}

body.cultural-hover .event-info::before {
  background-color: #9847E9 !important;
}

body.cultural-hover .timeline-container {
  transition: background-color 0.2s ease-in-out;
  background-color: #7419BF !important;
}

body.cultural-hover .timeline-container::-webkit-scrollbar-thumb {
  background: #DFDCD6;
}

body.political-hover .timeline-legend,
body.security-hover .timeline-legend,
body.cultural-hover .timeline-legend {
  color: #DFDCD6;
}

body.political-hover .legend-text,
body.security-hover .legend-text,
body.cultural-hover .legend-text {
  color: #DFDCD6;
}

body.political-hover .legend-color.political,
body.security-hover .legend-color.security,
body.cultural-hover .legend-color.cultural {
  transition: background-color 0.2s ease-in-out;
  border: 1.5px solid #DFDCD6;
}


.empty-newspaper-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #BFBDB5;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.2s ease-in-out;
}


@media (min-width: 2048px) {


  .timeline-legend {
    top: 20px;
    left: 12px;
    padding: 8px 24px;
    gap: 28px;
  }
  
  
  .legend-color {
    width: 8px;
    height: 8px;
  }
  
  .legend-text {
    font-size: 1rem;
  }

  .newspaper-quote .quote-mark {
    font-family: 'Masada-Medium', sans-serif;
    font-size: 1.3rem;
  }
  
  .newspaper-quote .newspaper-info span {
    font-size: 1.3rem;
    color: #33322E;
    font-family: 'GretaSans-Regular', sans-serif;
    font-weight: 400;
  }

  .newspaper-quote {
    top: 130px;
  }

  .newspaper-quote .quote-text {
    font-size: 5.8rem;
    text-align: center;
    white-space: nowrap;
  }
  
  .newspaper-quote .newspaper-info {
    font-size: 1.3rem;
    margin-top: 8px;
    font-family: 'GretaSans-Regular', serif;
    font-weight: 400;
    text-align: center;
    z-index: 1003;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
  }
  

  .newspaper-quote .newspaper-info .newspaper-logo {
    height: 24px; 
  }
  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="הצפירה"] {
    height: 22px;
    max-width: 140px;
  }
  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="המשקיף"] {
    height: 32px;
    max-width: 140px;
  }
  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="המליץ"] {
    height: 32px;
    max-width: 140px;
  }
  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="הארץ"] {
    height: 18px;
    max-width: 140px;
  }
  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="חרות"] {
    height: 18px;
    max-width: 140px;
  }
  
  .newspaper-quote .newspaper-info .newspaper-logo[alt="למרחב"] {
    height: 28px;
    max-width: 140px;
  }
  

.newspaper-quote .newspaper-info .newspaper-logo[alt="מעריב"] {
  height: 26px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="הבוקר"] {
  height: 20px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="חדשות"] {
  height: 18px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="הד ליטא"] {
  height: 24px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="הפועל הצעיר"] {
  height: 24px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="דבר"] {
  height: 20px;
  max-width: 140px;
}


.newspaper-quote .newspaper-info .newspaper-logo[alt="חזית העם"] {
  height: 24px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="שערים"] {
  height: 22px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="קול העם"] {
  height: 22px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="הדואר"] {
  height: 22px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="דואר היום"] {
  height: 22px;
  max-width: 140px;
}

.newspaper-quote .newspaper-info .newspaper-logo[alt="הגה"] {
  height: 20px;
  max-width: 140px;
}


  .timeline-horizontal-line {
    margin-bottom: 10px;
    height: 2px;
  }

  #main-decade-label {
    font-size: 1.1rem;
  }
  

  .event-container {
    margin-bottom: 60px;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
  }

  .event-container .cover-container {
    height: 310px;
  }

  .event-container .cover-container .img-wrapper img {
    width: 310px;
    height: 443px;
  }

  .event-info-row {
    width: 320px;
  }

  .event-container .cover-container .img-wrapper:nth-child(1) { --stack-offset: 0px; z-index: 1; }
  .event-container .cover-container .img-wrapper:nth-child(2) { --stack-offset: -50px; z-index: 2; }
  .event-container .cover-container .img-wrapper:nth-child(3) { --stack-offset: -100px; z-index: 3; }
  .event-container .cover-container .img-wrapper:nth-child(4) { --stack-offset: -150px; z-index: 4; }
  .event-container .cover-container .img-wrapper:nth-child(5) { --stack-offset: -200px; z-index: 5; }
  .event-container .cover-container .img-wrapper:nth-child(6) { --stack-offset: -240px; z-index: 6; }
  .event-container .cover-container .img-wrapper:nth-child(7) { --stack-offset: -280px; z-index: 7; }
  .event-container .cover-container .img-wrapper:nth-child(8) { --stack-offset: -320px; z-index: 8; }
  .event-container .cover-container .img-wrapper:nth-child(9) { --stack-offset: -360px; z-index: 9; }
  .event-container .cover-container .img-wrapper:nth-child(10) { --stack-offset: -400px; z-index: 10; }



  .event-info::before {
    width: 2px;
    margin-bottom: 11px;
  }
  
  #main-title {
    font-size: 1.2rem;
  }
  

  .timeline-container::-webkit-scrollbar {
    height: 10px; 
  }
  
  body.political-hover .legend-color.political,
  body.security-hover .legend-color.security,
  body.cultural-hover .legend-color.cultural {
    transition: background-color 0.2s ease-in-out;
    border: 2px solid #DFDCD6;
  }
  
  

}

img, svg {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: auto;
}


