body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: white;
    color: #111;
}

.custom-icon {
    width: 24px;
    height: 24px;
    margin: 0 0px;
    vertical-align: middle;
}


/* header {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* This creates equal spacing between children
} 
*/

.header-wrapper {
    width: 100%;
    background: white;
}

header {
    text-align: center;
    padding-top: 20px;
}

.site-title {
    margin-bottom: 6px;
    margin-bottom: 20px;
    font-size: 47px;
    font-family: "Code Bold", sans-serif !important;
}

.info-links {
    font-size: 0.9rem;
    margin: 2px 0 10px 0;
    margin-bottom: 20px;
    text-align: center;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body,
h1,
p,
a,
.btn,
nav,
.info-links,
.bio-section {
    font-family: "Code Bold", sans-serif;
}

nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

nav button {
    margin: 0 10px;
    padding: 8px 16px;
    background: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
}

.bio-link {
    font-size: 0.9rem;
    margin: 2px 0 0 0;
}

.bio-link a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

.bio-link a:hover {
    opacity: 1;
    color: #000;
}

.bio-links {
    margin-top: 20px;
    padding-left: 20px;
    list-style: disc;
}

.bio-links li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.bio-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.bio-links a:hover {
    color: #000;
    text-decoration: underline;
}


/* Shared button style */


/* .btn {
    padding: 8px 14px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #ddd;
} */

.btn {
    padding: 8px 16px;
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn:hover {
    background-color: black;
    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.entry {
    border: 1px solid #ddd;
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.entry:hover {
    background: #f9f9f9;
}

.entry.collapsed {
    display: none;
}

.entry-title {
    font-weight: bold;
    font-style: italic;
    margin-bottom: 5px;
    font-size: 24px;
}

.entry-tagline {
    /* font-style: italic; */
    color: black;
}

.entry img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    outline: 1px solid white;
}


/* .social-icons a {
    color: #333;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: 20px;
} */

.social-icons {
    /* margin-bottom: 20px; */
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    color: black;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #0077b5;
    /* LinkedIn Blue or adjust for effect */
}

h1 {
    margin-bottom: 2px;
}

.social-icons {
    margin-top: 20px;
    margin-bottom: 20px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    h1,
    .social-icons,
    nav {
        margin-bottom: 20px;
    }
    nav {
        margin-bottom: 20px;
    }
}

.resume-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.resume-link {
    padding: 8px 14px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    transition: background 0.3s;
}

.resume-link:hover {
    background: #ddd;
}

.info-links {
    font-size: 0.9rem;
    margin: 2px 0 0 0;
    text-align: center;
}

.info-links a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.75;
    margin: 0 6px;
    transition: opacity 0.2s, color 0.2s;
}

.info-links a:hover {
    opacity: 1;
    color: #000;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-title a:hover {
    text-decoration: underline;
}

.bio-section {
    padding: 40px 0;
}

.bio-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.bio-text h1 {
    font-size: 25px;
}

.bio-text p {
    font-size: 18px;
}

.bio-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.bio-photo {
    width: 100%;
}

.bio-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.bio-grid {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 40px;
    padding: 20px;
    margin-bottom: 80px; */
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

*/
/* .bio-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
} */

.bio-text {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .bio-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .bio-text {
        margin-top: 20px;
    }
}

@font-face {
    font-family: "Code Bold";
    src: url("fonts/CodeBold.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.site-footer {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    padding: 40px 0 20px;
}

#site-title {
    transition: opacity 1s ease;
}

.cv-toc {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.cv-toc h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

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

.cv-toc li {
  margin-bottom: 10px;
}

.cv-toc a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.2s;
}

.cv-toc a:hover {
  color: #000;
}

.cv-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.cv-section h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.cv-section ul {
  list-style: disc;
  padding-left: 20px;
}


.cv-entry h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.role-entry h2 {
  font-size: 1.25rem;
  margin: 8px 0;
}

.role-entry p {
  margin: 4px 0;
  line-height: 1.5;
}

.cv-entry {
  border-top: 1px solid #ccc;
  padding: 30px 0;
}

.cv-entry:first-of-type {
  border-top: none;
}

.page-heading {
  text-align: center;
  font-family: "Code Bold", sans-serif;
  font-size: 2.2rem;
  margin: 40px 0 20px;
}

.cv-heading {
  text-align: center;
  font-family: "Code Bold", sans-serif;
  font-size: 2.2rem;
  margin: 40px 0 20px;
}
/* 
.cv-subheading {
  font-family: "Code Bold", sans-serif;
  font-size: 1.6rem;
  margin: 30px 0 10px;
} */

.toc-list li a {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: #111;
}

.toc-list li {
  margin-bottom: 6px;
}
