* {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.font-philo {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1em;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
}


html {
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

:root {
  --white: #fff;
  --color-1: #0f1016;
  --text-color: #000000;
  --blue: #3366cc;
  --blue-light: #e6e6fa;
  --blue-very-light: #f8f9fa;
  --grey: #eaecf0;
  --dark-grey: #72777d;
  --links-color: #3366cc;
  --background-color: #fff;
  --card-background: #fff;
  --border-color: #eaecf0;
  --hover-background: #f8f9fa;
  --shadow-color: rgba(0, 0, 0, 0.15);
  --outer-background: #ffffff;
}

/* Dark mode variables */
[data-theme="dark"] {
  --white: #1a1a1a;
  --color-1: #e8e6e3;
  --text-color: #e8e6e3;
  --blue: #6c9bd1;
  --blue-light: #2a2a2a;
  --blue-very-light: #2a2a2a;
  --grey: #404040;
  --dark-grey: #8a8a8a;
  --links-color: #6c9bd1;
  --background-color: #1a1a1a;
  --card-background: #2a2a2a;
  --border-color: #404040;
  --hover-background: #333333;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --outer-background: #ffffff;
}


/* HEADER */
header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: var(--background-color);
  transition: background-color 0.3s ease;

  height: 70px;

  margin-top: 40px;
}

.left-header {
  display: flex;
  justify-content: left;
  gap: 20px;
  align-items: center;
  background-color: inherit;
  padding-left: 10px;
  /* border-bottom: 1px solid #a2a9b1; */
}

.right-header {
  display: flex;
  gap: 10px;

  justify-content: right;
  align-items: center;
  background-color: inherit;
  /* padding: 10px 10px; */
  /* border-bottom: 1px solid #a2a9b1; */
}
/* HEADER */

/* RIGHT LINKS */
.right-links {
  margin-right: 3px;
}

.right-links a {
  text-decoration: none;

  font-family: sans-serif, "Helvetica Neue", Helvetica, Arial;
  font-weight: 400;
  font-style: normal;
  font-size: 0.875em; /* roughly 14px */
  
  color: var(--blue);
  margin-left: 10px;

}
/* RIGHT LINKS */


/* LOGO */
.logo-area {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.wikipedia-text .Encyclopedia-text {
  display: block;
  margin-left: 10px;
}
/* LOGO */


/* Search Container */
.search-container {
  display: flex;
  width: 500px;
  border: 1px solid var(--dark-grey);
  border-radius: 2px;
  overflow: hidden;
  font-family: sans-serif;
}

.search-container input[type="text"] {
  flex: 1;
  padding: 8px 8px 8px 40px;
  border: none;
  outline: none;
  font-size: 0.875em; /* roughly 14px */
  background: url('Images/search.svg') no-repeat 8px center;
  background-size: 24px 24px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.search-container button {
  padding: 4px 8px;
  margin-left: 4px;
  border: none;
  background-color: var(--hover-background);
  font-weight: bold;
  cursor: pointer;
  font-size: 0.875em; /* roughly 14px */
  border-left: 1px solid var(--dark-grey);
  color: var(--text-color);
}

.search-container button:hover {
  background-color: var(--grey);
}

/* Search Container */




.main-menu ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.main-menu a {
  text-decoration: none;
  color: #000;
}


body {
  margin-top: -40px;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Large screen layout - fixed width with grey background */
@media (min-width: 1701px) {
  body {
    background-color: var(--outer-background);
  }
  
  .page-container {
    max-width: 1700px;
    background-color: var(--background-color);
    border-radius: 8px;
    padding: 20px;
    margin: 100px auto 0 auto;
  }
  
  header {
    max-width: 1700px;
    margin: 40px auto 0 auto;
    background-color: var(--background-color);
    border-radius: 8px 8px 0 0;
    padding: 0 20px;
  }
  
  .wiki-footer {
    max-width: 1700px;
    margin: 40px auto 0 auto;
    border-radius: 0 0 8px 8px;
  }
  
  .footer-content {
    max-width: 1660px; /* Adjusted to account for footer padding */
  }
}

/* LEFT NAV */
.left-nav {
  height: 30px;
  background-color: inherit;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.links-container-left {
  height: 400px;
  width: 250px;
  display: none;


  background-color: var(--card-background);
  box-shadow: -5px 0 5px var(--shadow-color);
}

#sidebar-active-left:checked~.links-container-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  position: fixed;
  top: 40px;
  left: -100%;
  z-index: 10;
  top: 40px;
  left: 40px;
}

.left-nav a {
  box-sizing: border-box;
  height: auto;
  width: 100%;
  padding: 20px 30px;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.left-nav .home-link {
  margin-right: auto;
}

.open-sidebar-button-left {
  padding: 15px;
  display: block;
}

.left-nav svg {
  fill: var(--text-color);
  background-color: inherit;
}

#sidebar-active-left {
  display: none;
}

/* Overlay Craziness for deactivation on outside click */
#sidebar-active-left:checked~#overlay-left {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
}

/* LEFT NAV */


/* RIGHT NAV */
.right-nav {
  height: 30px;
  background-color: inherit;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.links-container-right {
  height: 70px;
  width: 150px;
  background-color: var(--card-background);
  box-shadow: -5px 0 5px var(--shadow-color);
  display: none;

}

#sidebar-active-right:checked~.links-container-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  position: fixed;
  top: 60px;
  left: 1350px;
  z-index: 10;
}

.right-nav a {
  box-sizing: border-box;
  height: auto;
  width: 100%;
  padding: 20px 30px;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.right-nav .home-link {
  margin-right: auto;
}

.open-sidebar-button-right {
  padding: 20px;
  margin-top: 5px;
  display: block;
}

.right-nav svg {
  fill: var(--text-color);
  background-color: inherit;
}

#sidebar-active-right {
  display: none;
}

/* Overlay Craziness for deactivation on outside click */
#sidebar-active-right:checked~#overlay-right {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
}

/* LEFT NAV */






.page-container {
  display: flex;
  justify-content: center;
  /* gap: 10px; */
  width: 95%;
  margin: 100px auto 0 auto;
  transition: all 0.3s ease;
}





/*  TOCs */
.sidebar {
  margin-top: -20px;
  /* background-color: #9a4141; */
  flex: 0 0 200px;
  
  /* Fixed width sidebar */
  /* Don't add position relative here - it would break sticky */
}
.toc {
  padding: 10px;
  width: 170px;
  font-size: 0.9em;
  position: sticky;
  align-self: flex-start;
  top: 40px;
}

.toc-title {
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.toc-controls {
  float: right;
  font-size: 0.8em;
}

.toc-toggle {
  background-color: var(--grey);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-family: sans-serif;
  color: var(--text-color);
  cursor: pointer;
  transition: background-color 0.2s;
}

.toc-toggle:hover {
  background-color: var(--hover-background);
}

.active-toc-li {
  font-weight: bold;
}

.toc-list a.active-link {
  font-weight: bold;
  color: #000000 !important;
}

/* Dark mode active link */
[data-theme="dark"] .toc-list a.active-link {
  color: #ffffff !important;
}


.toc-controls a {
  color: #0645ad;
  text-decoration: none;
  margin-left: 5px;
}

.toc-controls a:hover {
  text-decoration: underline;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin: 10px 0;
  position: relative;
}

.toc-list li.expandable::before {
  content: url('icons/right.svg');
  position: absolute;
  left: -25px;
  top: -3px;
  cursor: pointer;
}

.toc-list li.expanded::before {
  content: url('icons/down.svg');
}

.toc-list li:not(.expanded) .toc-sublist {
  display: none;
}

.toc-list a {
  color: var(--links-color);
  text-decoration: none;
}

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

.toc-sublist {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 20px;
}

.toc-sublist li {
  margin: 3px 0;
}

.toc-number {
  margin-right: 5px;
}
/* TOCs */

/* Main Content */
.main-content {
  flex: 1;
  /* background: #9a4141; */

  padding: 20px;
  margin-top: -80px;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.name{
  font-family: 'Linux Libertine', Georgia, Times, serif;
  font-size: 2em;
}


.top-header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  align-items: center;

  border-bottom: 1px solid var(--border-color);
}
.top-header-secondary  {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  /* font-size: 0.9em; */
  font-weight: 400;
  
  border-bottom: 1px solid #a2a9b1;

}
.top-header-secondary-left {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 5px;
}
.top-header-secondary-right {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.underline {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.blue-text {
  color: var(--blue);
}
.tools {
  display: flex;
  gap: 2px;
}



.languages-dropdown {
  position: relative;
  display: inline-block;
}

.languages-button {
  padding-left: 30px;
  padding-right: 15px;
  font-weight: bold;
  font-size: 1em;
  border: none;
  color: var(--blue);
  background: url(https://upload.wikimedia.org/wikipedia/commons/e/e0/OOjs_UI_icon_language-ltr-progressive.svg) no-repeat left center;
  background-color: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
}

.languages-button::after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 5px;
  opacity: 0.7;
}

.languages-button:hover {
  color: var(--links-color);
  text-decoration: underline;
}

.languages-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--card-background);
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0px 8px 16px var(--shadow-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  z-index: 1000;
  margin-top: 5px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.languages-dropdown-content a {
  color: var(--text-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
  font-size: 0.9em;
}

.languages-dropdown-content a:hover {
  background-color: var(--hover-background);
}

.languages-dropdown-content hr {
  margin: 8px 0;
  border: none;
  border-top: 1px solid var(--border-color);
}

.languages-dropdown-content .view-all {
  font-weight: bold;
  color: var(--blue);
}

.languages-dropdown.show .languages-dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.top-header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 10px;
  min-height: 40px;
}

.icon-link {
  display: flex;
  align-items: center;
  padding: 0 2px;
}

.icon-link img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  transition: box-shadow 0.2s;
}

.icon-link img:hover {
  box-shadow: 0 0 4px #3366cc;
  border-radius: 4px;
}

/* Main Content */

/* MIDDLE */

/* New section-row layout for each section */
.section-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  /* margin-bottom: 10px; */
}

/* Merged section specific styling */
.merged-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin-bottom: 30px;
}

.merged-text {
  flex: 1 1 0;
  padding: 0 10px 10px 10px;
  font-size: 1.1em;
  line-height: 1.6em;
  order: 1; /* Text comes first (left side) */
}

.merged-images {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  order: 2; /* Images come second (right side) */
}

.section-text {
  flex: 1 1 0;
  padding: 0 10px 10px 10px;
  font-size: 1.1em;
  line-height: 1.5em;
}
/* Remove old early-life margin since it's now merged */
/* .education {
  margin-top: -20px;
} */

.section-images {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.image_container {
  width: 300px;
  margin: 30px 20px 10px 0px;

  border: 1px solid #a2a9b1;
  background: var(--blue-very-light);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}


/* .image_container {
  flex: 0.3; 
  display: flex;
  flex-direction: column;

  justify-content: flex-start;
  margin: 30px 20px 10px 20px;
  border: 1px solid #a2a9b1;
  background: var(--blue-very-light);
  box-sizing: border-box; 
} */


.image_caption_top_1 {
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 10px;

  display: flex;
  justify-content: center;
}
.image_caption_top_2{
  color: var(--links-color);
  display: flex;
  justify-content: center;
}
.profile-image {
  max-width: 270px;
  /* width: 285px; */
  height: auto;
  margin: 15px 15px 0px 15px;
}

.personal-details-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
}

.blue-block {
  
  background-color: var(--blue-light);
  color: var(--text-color);
  /* margin-left: 15px;
  margin-right: 15px; */
  margin-left: 10px;
  padding-bottom: 3px;
  width: 90%;

  display: flex;
  justify-content: center;
}

/* Remove old .long-content, use .section-text instead */
.disambiguation {
  margin-left: 30px;
  font-size: 0.9em;
  margin-bottom: 10px;
}
.section_profile {
  margin: 0px 10px 15px 10px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  
  
  
  /* gap: 60px; */
}
.signature{
  margin-top: 10px;
  margin-bottom: -0px;
}
.signature img{
    margin-top: -6px;
}


.section_profile > div:first-child {
  width: 120px; 
}
.audio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: -5px;

} 

.links {
  color: var(--links-color);
  text-decoration: none;
}
.section_title {
  font-family: 'Linux Libertine', Georgia, Times, serif;
  font-size: 1.5em;
  color: var(--text-color);
}

/* MIDDLE */
.appearance-form {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Lato, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

.appearance-form fieldset {
    border: none;
    margin: 0 0 1.5em 0;
    padding: 0;
}

.appearance-form legend {
    font-weight: bold;
    font-size: 14px;
    color: var(--text-color);
    margin: 0 0 0.5em 0;
    padding: 0;
}

.appearance-form label {
    display: block;
    margin: 0 0 0.125em 0;
    padding: 0;
    cursor: pointer;
    color: var(--text-color);
}

.appearance-form input[type="radio"] {
    margin: 0 0.125em 0 0;
    padding: 0;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--background-color);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    vertical-align: text-top;
    cursor: pointer;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    flex-shrink: 0;
}

.appearance-form input[type="radio"]:checked {
    border-color: var(--blue);
    background: var(--blue);
}

.appearance-form input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--background-color);
    transform: translate(-50%, -50%);
}





.wikipedia-source {
  font-family: sans-serif, "Helvetica Neue", Helvetica, Arial;
  font-weight: 400;
  font-style: normal;
  font-size: 0.875em; /* roughly 14px */

  color: #222;
  margin: 8px 0 0 0;
  padding-left: 2px;

}

.wikipedia-header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0 10px 10px 10px;
  margin: 2px 0 0 0;
  min-height: 40px;
}

.wikipedia-header-row .wikipedia-source {
  
  font-size: 0.95em;
  color: #222;
  /* font-family: 'Linux Libertine', Georgia, Times, serif; */
  margin-right: 10px;
  padding-left: 2px;
}

.wikipedia-header-row .top-header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.wikipedia-header-row .icon-link img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  transition: box-shadow 0.2s;
}

.wikipedia-header-row .icon-link img:hover {
  box-shadow: 0 0 4px #3366cc;
  border-radius: 4px;
}

@media (max-width: 1200px) {
  header {
    background-color: var(--grey);
  }

  .wikipedia-logo {
    display: none;
  }

  .encyclopedia-text {
    display: none;
  }

  .search-container button {
    display: none;
  }

  .search-container {
    width: 300px;
  }

  .right-header {
    display: none;
  }

  .section-row {
    flex-direction: column;
    max-width: 350px;
    /* margin: 0 auto 20px auto; */
    /* gap: 0; */
  }

  .merged-section {
    flex-direction: column;
    max-width: 350px;
    /* margin: 0 auto 20px auto;
    gap: 10px; */
  }

  .merged-text {
    order: 1;
  }

  .merged-images {
    order: 2;
    width: 100%;
    align-items: center;
    gap: 10px;
  }

  .section-images {
    width: 100%;
    align-items: center;
    gap: 10px;
  }

  .image_container {
    width: 100%;
    margin: 10px auto;
  }
}

@media (max-width: 850px) {
  .main-content {
    padding: 8px;
  }
  .image_container{
    width: 325px;
  }
  .profile-image{
    max-width: 270px;
    height: auto;
  }
   .disambiguation {
    margin-left: 0;
    font-size: 0.8em;

  }

  .languages-button {
    display: none;
  }
  .merged-section .early-life {
  margin-top: 0px;
}
.education {
  margin-top: -10px;
}
  .section_row #rap-career-section {
    margin-top: -500px;
  }

  .section-images {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
  }

  .sidebar {
    display: none;
  }
  .top-header-secondary-right {
    display: none;
  }


  .search-container {
    display: none;
  }


}

/* FOOTER STYLES */
.wiki-footer {
  background-color: var(--blue-very-light);
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  padding: 20px 0;
  font-size: 0.875em;
  line-height: 1.6;
  color: var(--text-color);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.footer-section h3 {
  font-size: 0.9em;
  font-weight: normal;
  margin: 0 0 8px 0;
  color: #222;
}

.category-links {
  line-height: 1.8;
}

.category-links a {
  color: var(--links-color);
  text-decoration: none;
  font-size: 0.875em;
}

.category-links a:hover {
  text-decoration: underline;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.footer-group li {
  margin: 0 0 5px 0;
}

.footer-group a {
  color: var(--links-color);
  text-decoration: none;
  font-size: 0.875em;
}

.footer-group a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #eaecf0;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logos {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-logo-link img {
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-logo-link:hover img {
  opacity: 1;
}

.footer-text {
  color: #54595d;
  font-size: 0.8em;
  line-height: 1.6;
}

.footer-text p {
  margin: 0 0 8px 0;
}

.footer-text a {
  color: var(--links-color);
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

/* Footer responsive */
@media (max-width: 850px) {
  .footer-links-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-group ul {
    flex-direction: column;
    gap: 8px 0;
  }

  
  .footer-logos {
    justify-content: center;
  }
  
  .category-links {
    text-align: center;
  }

}

/* Mobile collapsible sections */
.collapsible-section {
  margin-bottom: 30px;
}

@media (max-width: 850px) {
  .collapsible-section {
    margin-bottom: 25px;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 5px 0;
  user-select: none;
  
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 5px;
}

.section-header .section_title {
  margin-bottom: 0;
}

.section-header:hover {
  background-color: var(--hover-background);
}

.section-toggle {
  width: 26px;
  height: 26px;
  background-image: url('icons/right.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.section-toggle.expanded {
  background-image: url('icons/down.svg');
}

.section-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.section-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.section-content.expanded {
  max-height: 2000px;
  opacity: 1;
}

/* Desktop: sections always expanded, no toggle visible */
@media (min-width: 851px) {
  .section-header {
    cursor: default;
    pointer-events: none;
  }
  
  .section-toggle {
    display: none;
  }
  
  .section-content {
    max-height: unset !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
}

/* Mobile: sections collapsible, closed by default */
@media (max-width: 850px) {
  .section-content {
    max-height: 0;
    opacity: 0;
  }
  
  .section-content.expanded {
    max-height: 2000px;
    opacity: 1;
    padding-top: 10px;
  }
}

/* Faris styling and tooltip */
.faris {
  color: #276ccc; /* Dark purple color */
  position: relative;
  cursor: help;
  font-weight: 500;
}

.faris::after {
  content: "this person is not famous yet";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: normal;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.faris::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  border: 6px solid transparent;
  border-top-color: #333;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}

.faris:hover::after,
.faris:hover::before {
  opacity: 1;
  visibility: visible;
}

