  /* google fonts */
  /* body font mulish */
   /* font-family: "Mulish", sans-serif; */
  @import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
  /* title font */
   /* font-family: "Literata", serif; */
  @import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap');
  /* arabic */
   /* font-family: "Noto Sans Arabic", sans-serif; */
  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100..900&display=swap');

body{
 font-family: "Mulish", sans-serif;
}
.arabic{font-family: "Noto Sans Arabic", sans-serif;}
.arabic-name{font-family: "Noto Sans Arabic", sans-serif; font-size:1.3rem}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  text-decoration: none;
  color:inherit;
}




/* section 1 */

/***************************************************
   SCROLL DOWN ARROWS ON TIMELINE PAGE
****************************************************/
.scroll-down{
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}

.scroll-down span{
	display: block;
	width: 40px;
	height: 40px;
	border-bottom: 5px solid BLACK;
	border-right: 5px solid BLACK;
	transform: rotate(45deg);
	margin: -10px;
	animation: animate 2s infinite;
}

.scroll-down span:nth-child(2){animation-delay: -0.2s;}
.scroll-down span:nth-child(3){animation-delay: -0.4s;}

@keyframes animate{
	0%{opacity: 0; transform: rotate(45deg) translate(-20px, -20px);}
	50%{opacity: 1;}
	100%{opacity: 0;transform: rotate(45deg) translate(20px, 20px);}
}


/* section 2 */
.vert-move1{animation: mover 3s infinite}
.vert-move2{animation: mover 2s infinite}
.vert-move3{animation: mover 2.5s infinite}
@keyframes mover {
0% { transform: translateY(0); }
50% { transform: translateY(-7px); }
100% { transform: translateY(0px); }
}


/***************************************************
   timeline jump to menu BUTTON ON TIMELINE PAGE
****************************************************/

#tl-menu-btn {
  position: fixed;
  /* background-color: #54ada1; */
  /* background-color: #49e2b7;
  border: #49e2b7;
  font-weight: bold;
  line-height: 0.9rem; */
height:40px;
  bottom: 20px;
  left: 20px;
  /* font-size:0.9rem; */
  transition: background-color .1s, 
    opacity .3s, visibility .3s;
  opacity: 0; 
  visibility: hidden;
  z-index: 3;
}

#tl-menu-btn.show {
  opacity: 1;
  visibility: visible;
}

/* === Timeline Offcanvas (White + Turquoise) === */
.tl-offcanvas {
  --bs-offcanvas-width: 360px;
  background-color: #ffffff;
}

/* Header */
.tl-offcanvas-header {
  border-bottom: 1px solid #99f6e4;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
}

.tl-offcanvas-header .offcanvas-title {
  color: #0f766e;
}

/* Accordion */
.tl-accordion .accordion-item {
  border: none;
}

.tl-accordion-btn {
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  color: #0f766e;
}

.tl-accordion-btn:not(.collapsed) {
  background-color: #ffffff;
  color: #0d9488;
}

/* Subtle separator under open accordion header */
.tl-accordion-btn:not(.collapsed)::after {
  filter: hue-rotate(110deg);
}

/* Accordion body */
.tl-accordion-body {
  padding: 0.5rem 1.25rem 1rem;
  background-color: #ffffff;
}

/* Menu list */
/* === Timeline Offcanvas (White, Black Text, Turquoise Accents) === */
.tl-offcanvas {
  --bs-offcanvas-width: 360px;
  background-color: #ffffff;
  color: #000000;
}

/* Header */
.tl-offcanvas-header {
  border-bottom: 1px solid #99f6e4;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
}

.tl-offcanvas-header .offcanvas-title {
  color: #000000;
}

/* Accordion */
.tl-accordion .accordion-item {
  border: none;
}

.tl-accordion-btn {
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  color: #000000;
}

.tl-accordion-btn:not(.collapsed) {
  background-color: #ffffff;
  color: #000000;
}

/* Subtle turquoise indicator for open section */
.tl-accordion-btn:not(.collapsed) {
  box-shadow: inset 4px 0 0 #14b8a6;
}

/* Accordion body */
.tl-accordion-body {
  padding: 0.5rem 1.25rem 1rem;
  background-color: #ffffff;
  color: #000000;
}

/* Menu list */
.tl-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tl-menu-list li {
  border-bottom: 1px solid #99f6e4;
}

.tl-menu-list li:last-child {
  border-bottom: none;
}

.tl-menu-list a {
  display: block;
  padding: 0.65rem 0;
  text-decoration: none;
  color: #000000;
  font-size: 0.95rem;
}

.tl-menu-list a:hover {
  text-decoration: underline;
}

/* Active item (optional) */
.tl-menu-list a.is-active {
  font-weight: 600;
  box-shadow: inset 3px 0 0 #14b8a6;
  padding-left: 0.5rem;
}


/* Remove Bootstrap blue focus styles */
.tl-accordion-btn:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Also remove active outline */
.tl-accordion-btn:active {
  box-shadow: none;
}



/* Improve tap targets on mobile */
@media (max-width: 768px) {
  .tl-accordion-btn {
    padding: 1.1rem 1.25rem;
  }
}


.tl-accordion-btn:not(.collapsed) {
  box-shadow: inset 4px 0 0 #14b8a6;
}


/***************************************************
****************************************************/

/* main timeline */
/* sticky features on timeline: up-icon, tl menu, and tl-date */
/***************************************************
   BACK TO TOP BUTTON ON TIMELINE PAGE
****************************************************/
#top-btn {
  display: inline-block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0; 
  visibility: hidden;
  z-index: 1000;
}
#top-btn:hover {animation: shake 0.5s; animation-iteration-count: 2;}
#top-btn.show {opacity: 1; visibility: visible;}

/* generic styles for what is apparent on tl: styles for titles, text for tl entrys, card design and styles, icon design, media queries  */
.line{width: 50px; background: linear-gradient( #181818,  #181818) no-repeat center/4px 100%;}
.time-stamp{display: block; margin:auto; width:25px;}
.tl-circle{
  height: 22px;
  width: 22px;
  background-color: white;
  border:solid #000 2px;
  border-radius: 50%;
    margin:auto;
  /* display: inline-block; */
  z-index: 2;

}
.tl-circle-sm{
  height: 20px;
  width: 20px;
  background-color: #181818;
  border-radius: 50%;
margin:auto;
  z-index: 2;
}


.box{position: relative; opacity: 0;}
.bounce {opacity: 1; animation-duration: 1.5s; animation-name: bounce; animation-timing-function: ease-out;}
@keyframes bounce {
  0%   { transform: translateY(400px); }
  65%  { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.empty{display:block;}

.float-right{float:right; text-align: right; padding-bottom: 0;}

.tl-spacer{height:50px}
.bible-name{font-size:1rem}
.tl-deco{z-index:-1}

.tl-title{font-size:1rem; margin-bottom: 10px; line-height: 1.5rem; color:#181818; max-width:25rem}
.tl-title.prophet{font-family: "Literata", serif; font-size:1.5rem;}
.quran-hadith-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#485067}
.prophet-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#6aabd2}
.scholar-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:rgb(94, 23, 94)}
.science-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#00b1b0}
.politics-and-war-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#955670}
.economy-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#ba0f30}
.population-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#3a6a59}
.civilisation-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#ff8370}
.invention-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#385e72}
.migration-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#37c080}
.agriculture-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#cc7722;}
.trade-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#536878}
.technology-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#10987f}
.culture-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#81277e}
.environment-tag{text-transform: uppercase;   font-family: "Lato", sans-serif; font-weight: 300; font-style: normal; font-size:0.8rem; color:#007f5f;}
.religion-tag{text-transform: uppercase;font-family: "Lato", sans-serif;font-weight: 300;font-style: normal;font-size: 0.8rem;color:#e7625f}
.islamic-world-tag{text-transform: uppercase;font-family: "Lato", sans-serif;font-weight: 300; font-style: normal;font-size: 0.8rem; color:#c99700;}
.world-war-tag{text-transform: uppercase; font-family: "Lato", sans-serif; font-weight: 300;font-style: normal; font-size: 0.8rem; color: #7d4e57;}
.nation-formation-tag {text-transform: uppercase; font-family: "Lato", sans-serif; font-weight: 300;  font-style: normal; font-size: 0.8rem;  color: #37c080;}
/* .tl-title.quran{color:#181818}
.tl-title.islamic{color: rgb(143, 60, 60);}
.tl-title.europe{color: rgb(#083d56);}
.tl-title.asia{color: #2f5233;}
.tl-title.africa{color: #d48c70;}
.tl-title.america{color: rgb(103, 81, 133);}
.tl-title.australia{color: rgb(50, 50, 147);}
.tl-title.normal{color: #181818} */
.tl-card>.card-body>.card-title{font-size:1.2rem;}


.tl-card{background:transparent; border:1; width:18rem; text-align:center; box-shadow:rgba(0, 0,0 ,0, 0.15);}
.tl-card.card-transparent{border:0;}
.card-transparent>.card-body{padding:0; margin:0}
.tl-card .card-img{display: block; margin-left: auto; margin-right: auto; padding-top:10px; padding-bottom:0; margin-bottom:0}
.tl-card .card-img.img-50{width: 50%;}
.tl-card .card-img.img-30{width: 30%;}
.tl-card .card-img.img-70{width: 70%;}
.tl-card .card-img.img-90{width: 90%;}
.tl-card .card-img.img-100{width: 100%;}
.tl-card .card-title{font-family: "Literata", serif; font-size:1.5rem; color: #181818}
.tl-card .card-text{color:#282828;}
.tl-card .card-link-text{color:#282828; font-size:0.9rem; padding-bottom:0; margin-bottom:0; text-align:left}
.tl-card .card-link-text:hover{color:#181818;}
.tl-card.arrow-top {margin-top:15px;}
/* .tl-explore-link{ font-family: "Mulish", sans-serif; font-size:1rem; color:#282828;} */
/* .tl-explore-link:hover{color:#282828} */


/* .tl-card.explore-card{width:22rem;margin-top:30px; margin-bottom:30px} */

.tl-card.arrow-top:after {
  content: " ";
  position: absolute;
  left: 10px;
  top: -15px;
  border-top: none;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-bottom: 15px solid #282828;
}

.tl-card.arrow-right:after {
  content: " ";
  position: absolute;
  right: -14px;
  top: 1px;
  border-top: 15px solid transparent;
  border-right: none;
  border-left: 15px solid #282828;
  border-bottom: 15px solid transparent;
}

.tl-card.arrow-bottom:after {
  content: " ";
  position: absolute;
  right: 30px;
  bottom: -15px;
  border-top: 15px solid #282828;
  border-right: 15px solid transparent;
  border-left: 15px solid transparent;
  border-bottom: none;
}

.tl-card.arrow-left:after {
  content: " ";
  position: absolute;
  left: -15px;
  top: 1px;
  border-top: 15px solid transparent;
  border-right: 15px solid #282828;
  border-left: none;
  border-bottom: 15px solid transparent;
}

.image-tooltip{color:#181818; font-size:1.5rem;}

.explore-icon{height:50px}
.explore-icon:hover {
  animation: shake-explore-icon 0.5s;
  animation-iteration-count: 2;
}
@keyframes shake-explore-icon {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-2px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-1px, 1px) rotate(0deg); }
  70% { transform: translate(2px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.btn4{
  /* background-image: linear-gradient(to top, rgb(167, 232, 250) 60%, transparent 0); */
  margin: 5px;
  margin-left:0px;
  color: #25bec8;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  text-decoration: none;
  display:inline-block;
}

.btn4::before {
  content: '';
  position: absolute;
  bottom: 0%;
  left: 0px;
  width: 100%;
  height: 2px;
  background: #000;
  display: block;
  transform: scale(0, 1);
  transition: transform 0.3s cubic-bezier(1, 0, 0, 1)
}

.btn4:hover::before {transform-origin: left top; transform: scale(1, 1)}

.playbtn {
  position: relative;
  display: block;
  padding: 6px;
  text-align: center;
  /* margin: 40px 0; */
  color: #181818;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.5s;
  /* font-weight: 600; */
  /* letter-spacing: 4px; */
  overflow: hidden;
}
.playbtn:hover {
  background: #181818;
  color: #fff;
  /* box-shadow: 0 0 5px #c2a7c0, 0 0 25px #c2a7c0, 0 0 50px #c2a7c0, 0 0 200px #c2a7c0; */
}

.playbtn span {
  position: absolute;
  display: block;
}

.playbtn span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #000);
  animation: animate1 3s linear infinite;
}



@keyframes animate1 {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

.playbtn span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #977a95);
  animation: animate2 3s linear infinite;
  animation-delay: 0.75s;
}

@keyframes animate2 {
  0% {
    top: -100%;
  }
  50%,
  100% {
    top: 100%;
  }
}

.playbtn span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #977a95);
  animation: animate3 3s linear infinite;
  animation-delay: 1.4s;
}

@keyframes animate3 {
  0% {
    right: -100%;
  }
  50%,
  100% {
    right: 100%;
  }
}

.playbtn span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #977a95);
  animation: animate4 3s linear infinite;
  animation-delay: 2s;
}

@keyframes animate4 {
  0% {
    bottom: -100%;
  }
  50%,
  100% {
    bottom: 100%;
  }
}

/* ************************************
datemarkers on the timeline
************************************* */
/* https://codepen.io/MarkBoots/pen/yLPwvda */
.line-filler-for-date-gap{
  position: absolute;
  top:50%;
  left: 50%; 
  transform: translate(-24.75px, -50px);
  height: 4rem;
  width: 50px;
  background: linear-gradient( black,  black) no-repeat center/4px 100%;
}

.sticky-date {
  position: sticky;
  z-index: 1;
  top: 10px;
}

.sticky-date-flag {
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.sticky-date-title{
  padding:0.3rem;
  color: white;
  /* font-size: 1rem;
  font-weight: 700; */
}

.sticky-date-flag li {
  display: grid;
  grid-template:
    "role"
    "icon"
    "title"
    "descr";
  align-items: flex-start;
  text-align: center;
  background: #6BD2C3;
  width:12rem;
}




/* //when screen is small */
@media screen and (max-width:768px) {
  .float-right{float:left; text-align: left;}
  .show-md-hide-sm{display:none}
  .tl-spacer{height:40px}
  .empty{display:none;}
  .sticky-date-flag {position: relative;}
.sticky-date-flag li {position:absolute; left:-4px;}
/* .tl-card{width:95%;} */
}

@media screen and (min-width:768px) {
.hide-md-show-sm{display:none}
}

.flag{  
  display: inline-flex;
  position: relative;
  /* margin-top: 20px; */
  padding: 5px 25px;
  color: white;
  left:-25px;
  top:10px;
  border-radius: 0px 45px;
  text-align: center;
  font-size: 0.9rem;
  background-color: rgb(228, 48, 48);
}



#myDIV {
  position: sticky;
  /* position:relative;  */
  align-content: center;
text-align: center;
  margin: auto;
  top: 200px;
  width: 500px;
  height: 100px;
  z-index:1000;
  background-color: rgb(252, 213, 220);
  border-radius: 15px;
  font-size: 2rem;
}


.line-filler-for-cover{
  position: absolute;
  top:0px;
  left: 50%; 
  transform: translate(-24.75px, -50px);
  height: 150px;
  width: 50px;
  background: linear-gradient( rgb(0, 0, 0),  rgb(0, 0, 0)) no-repeat center/4px 100%;
}



/* scholors inner text styles */
.modal-scholor .btn-scholor-modal-close {
  background-color: #40c4c4;  
  border: #40c4c4; ;
}
.modal-scholor .btn-scholor-modal-close:hover {
  background-color: #34a6a6;  
}
.quran-quote{
  font-family: "Inconsolata", monospace;
  /* font-optical-sizing: auto; */
  font-weight: 900;
  font-style: normal;
  font-variation-settings:
    "wdth" 50;
    font-size:1.2rem;
}





/* https://codepen.io/bogdansandu/pen/bNGrzKV */


/* grid layer */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;

  background-size:40px 40px;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);

  transform: translateY(var(--gridShift, 0px));
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse 75% 15% at left 90%,
      rgba(255,140,180,0.35) 0%,
      rgba(133,159,253,0.35) 60%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 75% 15% at right 90%,
      rgba(255,140,180,0.35) 0%,
      rgba(133,159,253,0.35) 60%,
      transparent 70%
    );

  filter: blur(50px);
  transform: translateY(0px);
  will-change: transform;
}





/* explore sections modals */
  /* Mini timeline: always show a vertical scrollbar + allow scrolling */
/* Default (desktop) */
/* =========================
   MINI TIMELINE MODALS ONLY
   Scope everything to .mini-timeline
   No box-shadows / no transforms
   ========================= */

.mini-timeline {
  --mt-border: rgba(0, 0, 0, .08);
  --mt-border-soft: rgba(103, 157, 169, 0.2);
  --mt-text: #000;
  --mt-bg: rgba(255, 255, 255, .88);
  --mt-bg-soft: rgba(248, 249, 250, .85);
  --mt-hover: rgba(103, 157, 169, 0.15);
  --mt-active-bg: rgba(103, 157, 169, 0.2);
}

/* Modal shell */
.mini-timeline .modal-content {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: none; /* explicitly none */
}

.mini-timeline .modal-header {
  border: 0;
  padding: 1rem;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(13,110,253,.18), transparent 60%),
    radial-gradient(900px 450px at 80% 10%, rgba(32,201,151,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.88));
  backdrop-filter: blur(8px);
}

.mini-timeline .modal-body {
  padding: 1rem;
  background:
    radial-gradient(900px 400px at 10% 10%, rgba(13,110,253,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,249,250,.95));
}

/* Panels */
.mini-timeline .explore-panel {
  border: 1px solid var(--mt-border-soft);
  border-radius: 1rem;
  background: var(--mt-bg);
  box-shadow: none;
}

.mini-timeline .panel-title {
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .75rem;
}

/* Mini timeline scroll (scroll happens on this wrapper) */
.mini-timeline .ww1-mini-scroll {
  height: 60vh;
  overflow-y: scroll;        /* always shows scrollbar */
  overflow-x: hidden;
  scrollbar-gutter: stable;
  padding-right: .25rem;
}

/* Responsive timeline height */
@media (max-width: 991.98px) {
  .mini-timeline .ww1-mini-scroll { height: 40vh; }
}
@media (max-width: 575.98px) {
  .mini-timeline .ww1-mini-scroll { height: 30vh; }
}

/* Timeline pills: text-only rows; only ACTIVE is “boxed” */
.mini-timeline .nav-pills {
  gap: .35rem;
}

.mini-timeline .nav-pills .nav-link {
  color: var(--mt-text);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: .6rem .75rem;
  border-radius: .6rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .12s ease; /* no transform/box-shadow transitions */
}

.mini-timeline .nav-pills .nav-link:hover,
.mini-timeline .nav-pills .nav-link:focus {
  color: var(--mt-text);
  background: var(--mt-hover);
}

.mini-timeline .nav-pills .nav-link.active,
.mini-timeline .nav-pills .show > .nav-link {
  color: var(--mt-text);
  background: var(--mt-active-bg);
  border: 1px solid var(--mt-border);
  font-weight: 600;
}

/* Right-pane visual */
.mini-timeline .explore-visual {
  border-radius: 1rem;
  /* border: 1px solid var(--mt-border-soft); */
  /* background:
    radial-gradient(900px 350px at 30% 20%, rgba(13,110,253,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(248,249,250,.9)); */
  box-shadow: none;
}


/* =========================
   Image info toggle (neutral)
   ========================= */

.explore-image-toggle {
  color: #14b8a6;           
  text-decoration: none;      /* no underline */
}

.explore-image-toggle:hover,
.explore-image-toggle:focus,
.explore-image-toggle:active,
.explore-image-toggle:focus-visible{
  color: #72ecde;                /* slightly darker on hover */
  text-decoration: none;
}

.explore-image-toggle span {
  line-height: 1;
}

/* =========================
   Explore panel images
   ========================= */

.explore-visual {
  max-height: 300px;          /* hard cap for the image area */
  overflow: hidden;           /* prevents spillover */
}

.explore-image {
  max-height: 300px;          /* limits image height */
  width: auto;                /* allow narrower images */
  max-width: 100%;
  object-fit: contain;        /* never crop */
  display: block;
}


