* {
  margin: 0;
  padding: 0;
}


.project-info p, .project-info h1, .project-info h2 {
  margin: 0;
  padding: 0;
}

html, body {
  overflow: auto;
  background-color: rgb(255, 255, 255);
}

body {
  overflow-x: hidden;
}

a, button {
  cursor: none;
}

p{
  font-size: var(--font-size);

}

a {
  font-weight: 400;
  font-size: var(--font-size);
  color: var(--text-color-light);
  text-decoration: none;
}

.media-icon svg{
  max-height: 1.2rem;
  fill: var(--text-color-light);
  padding-top: .2rem;
}

.media-icon svg:hover {
  fill: var(--link-color-light-hover);
}

/* Fix for Safari SVG sizing issue */
.media-icon {
    display: inline-block;  /* Change from inline to inline-block */
    width: 15px;           /* Set explicit width */
    height: 18px;          /* Set explicit height */
    vertical-align: middle; /* Align properly in text */
}

.media-icon svg {
    display: block;        /* Make SVG block inside container */
    width: 100%;          /* Fill container width */
    height: 100%;         /* Fill container height */
}

/* Also fix the link to prevent expansion */
a[rel="media-link"] {
    display: inline-block;
    width: fit-content;
}

/* Remove Safari's table border spacing if needed */
table {
    border-spacing: 0;
    -webkit-border-horizontal-spacing: 0;
    -webkit-border-vertical-spacing: 0;
}


.about-page {
  font-family: var(--font);
  letter-spacing: var(--letter-spacing);
  font-weight: 400;
  font-size: var(--font-size);
  color: var(--text-color-light);
  border: none;
  background: none; 
  padding: 0;
  transition: color 0.45s ease;
}

.about-page h2 {
  font-family: var(--font);
  letter-spacing: var(--letter-spacing);
  font-weight: 400;
  font-size: var(--font-size);
  color: var(--text-color-light);
  border: none;
  background: none; 
  padding: 0;
  margin-bottom: 0;
  transition: color 0.45s ease;
}


.about-page ul {
  list-style-type: none;
  padding-left: 0;
}

.about-page li {
  margin-bottom: 20px;
}



.statement-section p{
  max-width: 550px;
  align-items: center;
  padding-bottom: 1.1em;
}

.exhibition {
  display: flex;
  flex-wrap: wrap; 
  gap: 1rem; 
}

.exhibition h1, .exhibition h2 {
  margin: 0;
}

.education h1, .education h2 {
  cursor: none;
}

.exhibition h2 {
  flex-basis: 100%; /* Ensures the description starts on a new line */
  margin-top: 0.5rem;
}

a {
  color: transparent; /* Makes the text invisible */
  text-decoration: none;
  cursor: none;
}

a:hover {
  color: var(--link-color-light-hover);/
  cursor: none;
}



/* General Table Styles */
.table-unit{
  padding-top: 40px;
}



.responsive-table, .non-responsive-table {
  font-family: var(--font);
  letter-spacing: var(--letter-spacing);
  font-weight: 400;
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.responsive-table th, .responsive-table td, .non-responsive-table th, .non-responsive-table td {
  padding: 10px;
  padding-left: 0px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.responsive-table td:hover {
  color: var(--link-color-light-hover);
}


.responsive-table th, .non-responsive-table th {
  font-family: var(--font);
  font-size: var(--font-size-m);
  letter-spacing: var(--letter-spacing-m);
  color: var(--text-color-light);
  text-transform: var(--font-size-m-case);
  font-weight: 400;
  flex-wrap: nowrap;
}

.responsive-table td, .non-responsive-table td {
  white-space: normal; /* Allow wrapping */
  cursor: none;
  font-size: var(--font-size);
  color: var(--text-color-light);
  border-top: .04rem solid var(--text-color-light);
}

/* Hidden Description Row by Default */
.description-row {
  display: none; /* Keep it hidden initially */
  opacity: 0; /* Make it invisible */
}

/* When Active, Display and Fade In the Description Row */
.description-row.active {
  display: table-row; /* Show the row */
  flex-wrap: wrap;
  opacity: 1;
}

.description-row td:hover {
  color: var(--text-color-light) !important;
}

.hidden-description {
  padding: 0px;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  max-width: 550px;
}

.hidden-description:hover {
  color: var(--text-color-light);
}

/* Clickable Row Styling */
.clickable-row td {
  cursor: none; /* Ensure pointer cursor appears */
}



.about-page a{
  font-family: var(--font);
  letter-spacing: var(--letter-spacing);
  font-size: var(--font-size);
  color: var(--text-color-light);
  text-decoration: none;
}

.colophon-section{
  padding-bottom: 2rem;
  max-width: 550px;
  align-items: center;
}


/* Set specific widths for each column type */
.responsive-table th:nth-child(1), .responsive-table td:nth-child(1), 
.non-responsive-table th:nth-child(1), .non-responsive-table td:nth-child(1) {
  width: 15%; /* Year column */
}

.responsive-table th:nth-child(2), .responsive-table td:nth-child(2), 
.non-responsive-table th:nth-child(2), .non-responsive-table td:nth-child(2) {
  width: 25%; /* Title/Funding/Competition Name */
}

.responsive-table th:nth-child(3), .responsive-table td:nth-child(3), 
.non-responsive-table th:nth-child(3), .non-responsive-table td:nth-child(3) {
  width: 25%; /* Location/Institution/Publisher */
}

.responsive-table th:nth-child(4), .responsive-table td:nth-child(4), 
.non-responsive-table th:nth-child(4), .non-responsive-table td:nth-child(4) {
  width: 25%; /* City/Author */
}

.responsive-table th:nth-child(5), .responsive-table td:nth-child(5), 
.non-responsive-table th:nth-child(5), .non-responsive-table td:nth-child(5) {
  width: 10%; /* Country/Link */
}


/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
  /* Tablet: Show first three columns */
  .responsive-table th:nth-child(4),
  .responsive-table td:nth-child(4),
  .responsive-table th:nth-child(5),
  .responsive-table td:nth-child(5),
  .non-responsive-table th:nth-child(4),
  .non-responsive-table td:nth-child(4),
  .non-responsive-table th:nth-child(5),
  .non-responsive-table td:nth-child(5)  
  {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  /* Mobile: Show only first two columns */
  .responsive-table th:nth-child(4),
  .responsive-table td:nth-child(4),
  .responsive-table th:nth-child(5),
  .responsive-table td:nth-child(5),
  .non-responsive-table th:nth-child(4),
  .non-responsive-table td:nth-child(4),
  .non-responsive-table th:nth-child(5),
  .non-responsive-table td:nth-child(5)  {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  /* Mobile: Show only first two columns */
  .responsive-table th:nth-child(3),
  .responsive-table td:nth-child(3),
  .non-responsive-table th:nth-child(3),
  .non-responsive-table td:nth-child(3) {
    display: none; /* Hide third column */
  }
  
  /* Optional: Style the first two columns to prevent overlap */
  .responsive-table th:nth-child(1),
  .responsive-table td:nth-child(1),
  .non-responsive-table th:nth-child(1),
  .non-responsive-table td:nth-child(1){
    min-width: 80px; /* Set a flexible minimum width */
    width: 28%; /* Adjust width for better fit */
    white-space: normal; /* Allow wrapping if necessary */
  }

  .responsive-table th:nth-child(2),
  .responsive-table td:nth-child(2),
  .non-responsive-table th:nth-child(2),
  .non-responsive-table td:nth-child(2) {
    min-width: 80px; /* Set a flexible minimum width */
    width: 65%; /* Adjust width for better fit */
    white-space: normal; /* Allow wrapping if necessary */
  }



}



