/* Base Styles */
html {
  font: 400 18px/1.55em 'Libre Franklin', -apple-system, BlinkMacSystemFont, "Roboto", Helvetica, sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

a {
  color: #410a5c;
}

figure {
  margin: 0;
}

h1 {
  font-family: Cochin, Georgia, serif;
}

/* Layout System */
.l-body,
.l-body-outset,
.l-page,
.l-page-outset,
.l-middle,
.l-middle-outset,
wp-article > div,
wp-article > p,
wp-article > h1,
wp-article > h2,
wp-article > h3,
wp-article > h4,
wp-article > figure,
wp-article > table,
wp-article > ol,
wp-article > ul,
wp-article > wp-byline,
wp-article > wp-math,
wp-article > wp-code,
wp-article section > div,
wp-article section > p,
wp-article section > h1,
wp-article section > h2,
wp-article section > h3,
wp-article section > h4,
wp-article section > figure,
wp-article section > table,
wp-article section > ol,
wp-article section > ul,
wp-article section > wp-byline,
wp-article section > wp-code {
  width: auto;
  margin-left: 24px;
  margin-right: 24px;
  box-sizing: border-box;
}

@media(min-width: 768px) {
  .l-body,
  .l-body-outset,
  .l-page,
  .l-page-outset,
  .l-middle,
  .l-middle-outset,
  wp-article > div,
  wp-article > p,
  wp-article > h1,
  wp-article > h2,
  wp-article > h3,
  wp-article > h4,
  wp-article > figure,
  wp-article > table,
  wp-article > ol,
  wp-article > ul,
  wp-article > wp-byline,
  wp-article > wp-math,
  wp-article > wp-code,
  wp-article section > div,
  wp-article section > p,
  wp-article section > h1,
  wp-article section > h2,
  wp-article section > h3,
  wp-article section > h4,
  wp-article section > figure,
  wp-article section > table,
  wp-article section > ol,
  wp-article section > ul,
  wp-article section > wp-byline,
  wp-article section > wp-code {
    margin-left: 72px;
    margin-right: 72px;
  }
}

@media(min-width: 1080px) {
  .l-body,
  wp-article > div,
  wp-article > p,
  wp-article > h2,
  wp-article > h3,
  wp-article > h4,
  wp-article > figure,
  wp-article > table,
  wp-article > ol,
  wp-article > ul,
  wp-article > wp-byline,
  wp-article > wp-math,
  wp-article > wp-code,
  wp-article section > div,
  wp-article section > p,
  wp-article section > h2,
  wp-article section > h3,
  wp-article section > h4,
  wp-article section > figure,
  wp-article section > table,
  wp-article section > ol,
  wp-article section > ul,
  wp-article section > wp-byline,
  wp-article section > wp-code {
    margin-left: calc(50% - 984px / 2);
    width: 648px;
  }

  .l-body-outset,
  wp-article .l-body-outset {
    margin-left: calc(50% - 984px / 2 - 96px/2);
    width: calc(648px + 96px);
  }

  .l-middle,
  wp-article .l-middle {
    width: 816px;
    margin-left: calc(50% - 984px / 2);
    margin-right: auto;
  }

  .l-middle-outset,
  wp-article .l-middle-outset {
    width: calc(816px + 96px);
    margin-left: calc(50% - 984px / 2 - 48px);
    margin-right: auto;
  }

  wp-article > h1,
  wp-article section > h1,
  .l-page,
  wp-article .l-page,
  wp-article.centered .l-page {
    width: 984px;
    margin-left: auto;
    margin-right: auto;
  }

  .l-page-outset,
  wp-article .l-page-outset,
  wp-article.centered .l-page-outset {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }

  .l-screen,
  wp-article .l-screen,
  wp-article.centered .l-screen {
    margin-left: auto;
    margin-right: auto;
    width: auto;
  }

  .l-screen-inset,
  wp-article .l-screen-inset,
  wp-article.centered .l-screen-inset {
    margin-left: 24px;
    margin-right: 24px;
    width: auto;
  }

  .l-gutter,
  wp-article .l-gutter {
    clear: both;
    float: right;
    margin-top: 0;
    margin-left: 24px;
    margin-right: calc((100vw - 984px) / 2 + 168px);
    width: calc((984px - 648px) / 2 - 24px);
  }

  /* Side */
  .side.l-body,
  wp-article .side.l-body {
    clear: both;
    float: right;
    margin-top: 0;
    margin-left: 48px;
    margin-right: calc((100vw - 984px + 648px) / 2);
    width: calc(648px / 2 - 24px - 84px);
  }

  .side.l-body-outset,
  wp-article .side.l-body-outset {
    clear: both;
    float: right;
    margin-top: 0;
    margin-left: 48px;
    margin-right: calc((100vw - 984px + 648px - 48px) / 2);
    width: calc(648px / 2 - 48px + 24px);
  }

  .side.l-middle,
  wp-article .side.l-middle {
    clear: both;
    float: right;
    width: calc(456px - 84px);
    margin-left: 48px;
    margin-right: calc((100vw - 984px) / 2 + 168px);
  }

  .side.l-middle-outset,
  wp-article .side.l-middle-outset {
    clear: both;
    float: right;
    width: 456px;
    margin-left: 48px;
    margin-right: calc((100vw - 984px) / 2 + 168px);
  }

  .side.l-page,
  wp-article .side.l-page {
    clear: both;
    float: right;
    margin-left: 48px;
    width: calc(624px - 84px);
    margin-right: calc((100vw - 984px) / 2);
  }

  .side.l-page-outset,
  wp-article .side.l-page-outset {
    clear: both;
    float: right;
    width: 624px;
    margin-right: calc((100vw - 984px) / 2);
  }
}

/* Centered */
@media(min-width: 1080px) {
  .centered .l-body,
  .centered.l-body,
  wp-article.centered > div,
  wp-article.centered > p,
  wp-article.centered > h2,
  wp-article.centered > h3,
  wp-article.centered > h4,
  wp-article.centered > figure,
  wp-article.centered > table,
  wp-article.centered > ol,
  wp-article.centered > ul,
  wp-article.centered > wp-byline,
  wp-article.centered > wp-code,
  wp-article.centered section > div,
  wp-article.centered section > p,
  wp-article.centered section > h2,
  wp-article.centered section > h3,
  wp-article.centered section > h4,
  wp-article.centered section > figure,
  wp-article.centered section > table,
  wp-article.centered section > ol,
  wp-article.centered section > ul,
  wp-article.centered section > wp-byline,
  wp-article.centered section > wp-code,
  wp-article section.centered > div,
  wp-article section.centered > p,
  wp-article section.centered > h2,
  wp-article section.centered > h3,
  wp-article section.centered > h4,
  wp-article section.centered > figure,
  wp-article section.centered > table,
  wp-article section.centered > ol,
  wp-article section.centered > ul,
  wp-article section.centered > wp-byline,
  wp-article section.centered > wp-code {
    margin-left: auto;
    margin-right: auto;
    width: 648px;
  }

  .centered .l-body-outset,
  .centered.l-body-outset,
  wp-article.centered .l-body-outset {
    margin-left: auto;
    margin-right: auto;
    width: calc(648px + 96px);
  }

  wp-article.centered > h1,
  wp-article.centered section > h1,
  wp-article section.centered > h1,
  .centered .l-middle,
  .centered.l-middle,
  wp-article.centered .l-middle {
    width: 816px;
    margin-left: auto;
    margin-right: auto;
  }

  .centered .l-middle-outset,
  .centered.l-middle-outset,
  wp-article.centered .l-middle-outset {
    width: calc(816px + 96px);
    margin-left: auto;
    margin-right: auto;
  }

  /* Side */
  .centered .side.l-body,
  .centered wp-article .side.l-body {
    clear: both;
    float: right;
    margin-top: 0;
    margin-left: 48px;
    margin-right: calc((100vw - 648px) / 2);
    width: calc(4 * 60px + 3 * 24px);
  }

  .centered .side.l-body-outset,
  .centered wp-article .side.l-body-outset {
    clear: both;
    float: right;
    margin-top: 0;
    margin-left: 48px;
    margin-right: calc((100vw - 648px) / 2);
    width: calc(4 * 60px + 3 * 24px);
  }

  .centered .side.l-middle,
  .centered wp-article .side.l-middle {
    clear: both;
    float: right;
    width: 396px;
    margin-left: 48px;
    margin-right: calc((100vw - 984px) / 2 + 168px / 2);
  }

  .centered .side.l-middle-outset,
  .centered wp-article .side.l-middle-outset {
    clear: both;
    float: right;
    width: 456px;
    margin-left: 48px;
    margin-right: calc((100vw - 984px) / 2 + 168px);
  }

  .centered .side.l-page,
  .centered wp-article .side.l-page {
    clear: both;
    float: right;
    width: 480px;
    margin-right: calc((100vw - 984px) / 2);
  }

  .centered .side.l-page-outset,
  .centered wp-article .side.l-page-outset {
    clear: both;
    float: right;
    width: 480px;
    margin-right: calc((100vw - 984px) / 2);
  }

  .centered .l-gutter,
  .centered.l-gutter,
  wp-article.centered .l-gutter {
    clear: both;
    float: right;
    margin-top: 0;
    margin-left: 24px;
    margin-right: calc((100vw - 984px) / 2);
    width: calc((984px - 648px) / 2 - 24px);
  }
}

/* Rows and Columns */
.row {
  display: flex;
}

.column {
  flex: 1;
  box-sizing: border-box;
  margin-right: 24px;
  margin-left: 24px;
}

.row > .column:first-of-type {
  margin-left: 0;
}

.row > .column:last-of-type {
  margin-right: 0;
}

wp-include {
  width: auto;
  display: block;
}

/* Section */
section {
  position: relative;
  font-family: "Libre Franklin";
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #f4f4f4;
}

@media(min-width: 768px) {
  section {
    padding: 80px 0;
  }
}

section figure {
  display: block;
  margin-bottom: 36px;
}

section figcaption {
  font-size: 13px;
  line-height: 1.5em;
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.5);
}

section figure img {
  box-sizing: border-box;
  width: 100%;
}

section figure .content {
  border: 1px solid #dfdfdf;
  border-radius: 8px;
}

section h2 {
  font-size: 26px;
  line-height: 1.3em;
  margin: 0;
  font-weight: 400;
}

@media(min-width: 375px) {
  section h2 {
    font-size: 30px;
  }
}

@media(min-width: 768px) {
  section h2 {
    font-size: 32px;
  }
  section p {
    margin-bottom: 0;
  }
  section figure {
    margin-bottom: 0;
  }
  section > .columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  section:nth-of-type(2n) > .columns {
    flex-direction: row-reverse;
  }
  section figure {
    width: 55%;
  }
  section .description {
    width: 37%;
  }
}

/* Header Styles */
wp-header {
  display: block;
  position: relative;
  height: 70px;
  background-color: hsl(280, 80%, 20%);
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
  color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

wp-header .content {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

wp-header a {
  font-size: 16px;
  height: 70px;
  line-height: 70px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 0;
  transition: color 0.2s ease;
}

wp-header a:hover {
  color: rgba(255, 255, 255, 1);
}

wp-header .logo {
  font-size: 17px;
  font-weight: 200;
  display: flex;
  align-items: center;
}

wp-header .nav {
  display: flex;
  align-items: center;
  font-weight: 300;
  height: 100%;
}

wp-header .nav a {
  font-size: 14px;
  margin-left: 24px;
  text-transform: lowercase;
  font-family: "Sumana", serif;
  display: flex;
  align-items: center;
}

/* Add responsive navigation styles */
@media (max-width: 767px) {
  wp-header .nav a[href="pim.html"],
  wp-header .nav a[href="agent.html"] {
    display: none;
  }
  
  wp-header .nav a {
    margin-left: 16px;
  }
}

/* Footer Styles */
wp-footer {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: hsl(280, 80%, 25%);
  text-align: center;
  flex-shrink: 0;
  margin-top: auto;
}

wp-footer .logo svg {
  width: 24px;
  position: relative;
  top: 4px;
  margin-right: 2px;
}

wp-footer .logo svg path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 3px;
}

wp-footer .logo {
  font-size: 17px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-right: 6px;
}

wp-footer .nav {
  margin-top: 12px;
}

wp-footer .nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-right: 6px;
}

/* H1 */

wp-article h1 {
margin-top: 18px;
font-weight: 400;
font-size: 40px;
line-height: 1em;
font-family: HoeflerText-Regular, Cochin, Georgia, serif;
}
@media(min-width: 768px) {
wp-article h1 {
    font-size: 46px;
    margin-top: 48px;
    margin-bottom: 12px;
}
}

@media(min-width: 1080px) {
.centered h1 {
    text-align: center;
}

wp-article h1 {
    font-size: 50px;
    letter-spacing: -0.02em;
}

wp-article > h1:first-of-type,
wp-article section > h1:first-of-type {
    margin-top: 80px;
}
}


@media(min-width: 1200px) {
wp-article h1 {
    font-size: 56px;
}

wp-article > h1:first-of-type {
    margin-top: 100px;
}
}

/* H2 */

wp-article h2 {
font-family: HoeflerText-Regular, Cochin, Georgia, serif;
font-weight: 400;
font-size: 26px;
line-height: 1.25em;
margin-top: 36px;
margin-bottom: 24px;
}

@media(min-width: 1024px) {
wp-article h2 {
    margin-top: 48px;
    font-size: 30px;
}
}

wp-article h1 + h2 {
font-weight: 300;
font-size: 20px;
line-height: 1.4em;
margin-top: 8px;
font-style: normal;
}


@media(min-width: 1080px) {
.centered h1 + h2 {
    text-align: center;
}
wp-article h1 + h2 {
    margin-top: 12px;
    font-size: 24px;
}
}

/* H3 */

wp-article h3 {
font-family: HoeflerText-Regular, Georgia, serif;
font-weight: 400;
font-size: 20px;
line-height: 1.4em;
margin-top: 36px;
margin-bottom: 18px;
font-style: italic;
}

wp-article h1 + h3 {
margin-top: 48px;
}

@media(min-width: 1024px) {
wp-article h3 {
    font-size: 26px;
}
}

/* H4 */

wp-article h4 {
font-weight: 600;
text-transform: uppercase;
font-size: 14px;
line-height: 1.4em;
}

wp-article a {
color: inherit;
}

wp-article p,
wp-article ul,
wp-article ol {
margin-bottom: 24px;
font-family: 'Libre Franklin', sans-serif;
font-size: 18px;
line-height: 1.6;
}

wp-article p b,
wp-article ul b,
wp-article ol b {
-webkit-font-smoothing: antialiased;
}

wp-article a {
border-bottom: 1px solid rgba(0, 0, 0, 0.4);
text-decoration: none;
}

wp-article a:hover {
border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

wp-article .link {
text-decoration: underline;
cursor: pointer;
}

wp-article ul,
wp-article ol {
padding-left: 24px;
}

wp-article li {
margin-bottom: 24px;
margin-left: 0;
padding-left: 0;
font-family: 'Libre Franklin', sans-serif;
font-size: 18px;
}

wp-article pre {
font-size: 14px;
margin-bottom: 20px;
}


wp-article hr {
border: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
margin-top: 60px;
margin-bottom: 60px;
}

wp-article section {
margin-top: 60px;
margin-bottom: 60px;
}

/* Tables */

wp-article table {
border-collapse: collapse;
}

wp-article table th {
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

wp-article table td {
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

wp-article table th,
wp-article table td {
font-size: 15px;
padding: 2px 0;
}

/* Figure */

wp-article figure {
position: relative;
margin-top: 30px;
margin-bottom: 30px;
}

@media(min-width: 1024px) {
wp-article figure {
    margin-top: 48px;
    margin-bottom: 48px;
}
}

wp-article figure img {
width: 100%;
}

wp-article figure svg text,
wp-article figure svg tspan {
}

wp-article figure figcaption {
color: rgba(0, 0, 0, 0.6);
font-size: 12px;
line-height: 1.5em;
}
@media(min-width: 1024px) {
wp-article figure figcaption {
    font-size: 13px;
}
}

wp-article figure.external img {
background: white;
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
padding: 18px;
box-sizing: border-box;
}

wp-article figure figcaption a {
color: rgba(0, 0, 0, 0.6);
}

wp-article span.equation-mimic {
font-family: georgia;
font-size: 115%;
font-style: italic;
}

wp-article figure figcaption b {
font-weight: 600;
color: rgba(0, 0, 0, 1.0);
}

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

/* Team Member Styling */
.team-section {
  padding: 40px 0;
  background: white;
  flex: 1 0 auto;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-member {
  width: 100%;
  margin-bottom: 0;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

@media(min-width: 768px) {
  .team-member {
    width: calc(50% - 15px);
    max-width: 500px;
  }
}

.photo-container {
  position: relative;
  overflow: hidden;
  background-color: #f2f2f2;
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
}

.team-member-photo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 30%;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.team-member:hover .team-member-photo {
  transform: scale(1.05);
}


.team-member-info {
  padding: 20px;
}

.team-member-name {
  font-family: "Libre Franklin", sans-serif;
  font-size: 24px;
  margin: 0 0 5px;
  color: hsl(280, 80%, 20%);
}

.team-member-role {
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px;
  color: hsl(280, 70%, 40%);
}

.team-member-bio {
  font-family: "Libre Franklin", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.7);
}

/* Individual team member photo adjustments */
.team-member-1 .team-member-photo {
  object-position: center 20%;
}

.team-member-2 .team-member-photo {
  object-position: center 30%;
}

.team-member-3 .team-member-photo {
  object-position: center 20%;
}

.team-member-4 .team-member-photo {
  object-position: center 30%;
}

/* Team Page Heading */
.team-section + wp-article h1 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: hsl(280, 80%, 20%);
  text-align: center;
  margin: 80px 0 60px;
}

@media (max-width: 768px) {
  .team-section + wp-article h1 {
    font-size: 32px;
    margin: 40px 0 30px;
  }
}

