@font-face {
font-family: "Roboto";
src: url(https://consortiumlibrary.org/asset/layout/fonts/Roboto/Roboto-Medium.ttf) format("truetype");
}

@font-face {
font-family: "Font Awesome 5 Free";
font-style: normal;
font-weight: 900;
font-display: block;
src: url(https://consortiumlibrary.org/asset/layout/fonts/fa5free/fa-solid-900.eot);
src: url(https://consortiumlibrary.org/asset/layout/fonts/fa5free/fa-solid-900.eot?#iefix) format("embedded-opentype"), url(https://consortiumlibrary.org/asset/layout/fonts/fa5free/fa-solid-900.woff2) format("woff2"), url(https://consortiumlibrary.org/asset/layout/fonts/fa5free/fa-solid-900.woff) format("woff"), url(https://consortiumlibrary.org/asset/layout/fonts/fa-solid-900.ttf) format("truetype"), url(https://consortiumlibrary.org/asset/layout/fonts/fa-solid-900.svg#fontawesome) format("svg");
}

.fa {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
font-family: "Font Awesome 5 Free";
font-weight: 900; 
}

/**********************************************************************************/
/* Header */
/**********************************************************************************/

/* Fills the entire screen width with black */
.amipa-top {
  background-color: #ffffff;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Inner div won't restrict background */
.amipa-top div {
  background-color: #000000;
  width: 100%;
  display: block;
  margin-bottom: 10px; /* creates white strip inside the header */
}

/*Centers logo */
.amipa-logo {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/**********************************************************************************/
/* Top Navigation */
/**********************************************************************************/

/* Adds black background color to top nav */
.top-menu {
  background-color: #000000;
  overflow: hidden;
  display: flex;
  flex-direction: row;      /* Forces horizontal */
  justify-content: center;  /* Centers horizontally */
  flex-wrap: nowrap;
  font-family: 'Roboto', sans-serif;
}

/* Styles links inside the navigation bar */
.top-menu a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Color of links on hover */
.top-menu a:hover {
  background-color: #ffffff;
  color: #000000;
  }

/* Highlight the current page in menu */
.top-menu a.active {
  background-color: #A2311A;
  color: #ffffff;
}

/**********************************************************************************/
/* Footer */
/**********************************************************************************/
footer {
  border-top: 2px solid #000000;
  margin: 0 auto; /* Centers the elements */
  margin-top: 50px;
  width: 100%;    /* Ensures they take full width up to the 1200px limit */
  font-family: 'Roboto Light', sans-serif;
  clear: both;
}

.social-icons {
float:right;
margin-top: 20px;
width: 90px;
text-align: right;
}

.bottom-links{
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  margin-bottom: 20px;
  margin-top: 20px;
  margin-right: 110px; /* Must be wider than the social-icons width to prevent overlap */
}

.bottom-links a {
    color: #A2311A; /* Changes all links inside the div to red */
    text-decoration: none; /* Removes link underline */
}

address {
  font-style: normal;
  margin-right: 110px; /* Must be wider than the social-icons width to prevent overlap */
  display: block;
}

address a {
    color: #A2311A; /* Changes all links inside the div to red */
    text-decoration: none; /* Removes underline */
}

/**********************************************************************************/
/* Body */
/**********************************************************************************/

.page {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  font-family: 'Roboto Light', sans-serif;
}

h1 {
  font-size: 30px;
  margin-top: 50px;
}

h2 {
  font-size: 24px;
}

/*For home page image grid vvv*/
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.home-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/*End home page image grid ^^^*/


.collections
{
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
/*For Collections page entry headers*/

.coll-p {
    margin: 0;
    font-weight: normal;
}
/*For Collections page entries*/

h3 {
  font-size: 20px;
  color: #333333;
}

/* added for html expander test vvv */
.bio {
  clear: both;
  padding-top: 20px;
}
/* added for html expander test ^^^ */

.content-main {
  display: block;
  width: 100%;
  overflow: visible;
}

/* remove if using board bio cards vvv */
.align-left {
  float: left;
  margin-top: 6px;
  margin-right: 20px;
  margin-bottom: 2px;
  border-radius: 16px;
  display: block;
}
/* remove if using board bio cards ^^^ */

.content-main a:link {
    color: #A2311A; /* Changes all unvisited links color */
}

.content-main a:visited {
    color: #333333; /* Changes all visited links color */
}

.content-main p {
  font-size: 18px;
  margin-bottom: 1em;
  line-height: 1.5;
  display: block;
  clear: none;
}

.linklist {
    line-height: 1.5;
    text-indent: -20px; /* Negative indent for the first line */
    margin-left: 20px;  /* Positive margin for the entire paragraph */
    margin-bottom: 10px;
}
/*For links page entries to have indent, making it clear when new links begin*/

/*Following 3 are donations page image alignment*/
#paypal {
  padding-left: 20px;
}

#pick {
  padding-left: 14px;
}

#acf {
  padding-left: 10px;
}

ul {
  list-style-type: none; /* Removes the bullet */
  font-size: 18px;
  margin-bottom: 1em;
  line-height: 2;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
}

/**********************************************************************************/
/* Board Bios */
/**********************************************************************************/
/* Grid Container */
.image-grid {
    display: grid; /* 1 column on mobile, 2 on tablets, 3 on desktops */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Card Style */
.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 225px;
    object-fit: contain; /* Keeps images uniform */
    display: block;
    margin-top: 20px;
}

.card h3 {
  margin:0;
  display: inline; /* Keeps it on the same line as the arrow */
  vertical-align: middle;
  padding:0;
  font-size: 1.1em;
}

/* Expandable Section Padding */
details {
    padding: 15px;
}

/* When ready to add bios back in, remove summary/details/comment notations around summary items, then remove first summary line in the html for each entry */

summary {
    font-weight: bold;
    cursor: pointer;
    outline: none;
    list-style: none; /* Removes default arrow in some browsers */
    text-align: center; /* Centers the text and the H3 */
    padding: 5px 5px;
}

summary::-webkit-details-marker { display: none; } /* Removes arrow in Chrome/Safari */

summary::before {
    content: "▶ "; /* Custom toggle icon */
    color: #A2311A;
    display: inline-block; /* Allows arrow to flow with centered text */ 
    margin-right: 8px;
}

details[open] summary::before {
    content: "▼ ";
}

.content {
    padding: 0 15px 15px 15px;
    font-size: 0.9em;
    line-height: 1.5;
    color: #444;
}

/**********************************************************************************/
/* Media Queries for Screen Size Changes */
/**********************************************************************************/

/* When the screen is less than 800 pixels wide, make menu vertical */
@media screen and (max-width: 800px) {
  .top-menu {
    flex-direction: column; /* Items stacked vertically */
    align-items: stretch;    /* links centered */
  }
  .top-menu a {
    display: block;  /* Link fills the container width */
    width: 100%;     /* Ensures the entire area is clickable */
    box-sizing: border-box; 
  }
}

