/**
 * CUSTOM CSS
 */

/* =====================================================
   Container: expand to fill wider screens
   Small outer padding ensures a sliver of margin at
   all viewport sizes.
   ===================================================== */
.o-container {
  max-width: 1600px;
  box-sizing: border-box;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* =====================================================
   Sidebar layout: 15%/85% split for content sections
   Reduce the large default inner padding so columns
   use space efficiently on wide screens.
   Sidebar gets the same #fbfbfb grey as the header
   photo column, creating a continuous left accent strip.
   ===================================================== */
@media (min-width: 1024px) {
  .o-section__header  { width: 15%; }
  .o-section__content { width: 85%; }

  .o-section__header,
  .o-section__content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .o-section:not(.o-section--header):not(.o-section--footer) .o-section__header {
    background: #fbfbfb;
  }
}

/* =====================================================
   Remove all section background colors — full white
   ===================================================== */
.t-section,
.t-section:nth-child(even) {
  background: #fff;
}

@media (min-width: 1024px) {
  .t-section__header,
  .t-section:nth-child(even) .t-section__header,
  .t-section__content,
  .t-section:nth-child(even) .t-section__content {
    background: #fff;
  }
}

/* =====================================================
   Avatar: flush left, percentage-width column matching
   the content section sidebars (15%).
   Photo scaled to 180px to fit comfortably within the
   column at all viewport sizes.
   ===================================================== */
@media (min-width: 1024px) {
  .o-section--header .o-section__header {
    text-align: left;
    width: 15%;
    flex-shrink: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .o-section--header .o-section__content {
    width: auto;
    flex: 1;
  }
  .c-avatar {
    width:  180px;
    height: 180px;
  }
  .c-avatar__img {
    width:  180px;
    height: 180px;
  }
}

/* =====================================================
   Image overlay: hide hover text on paper figures
   ===================================================== */
.c-image-overlay__content {
  display: none;
}

/* =====================================================
   Paper title: spans full content width above columns
   ===================================================== */
.c-work__heading--full {
  margin-bottom: 0.75rem;
}

/* =====================================================
   Audio: stack link above player
   ===================================================== */
.c-timeline__item a.c-audio-link {
  display: block;
  margin-top: 0.5rem;
}

.c-timeline__item audio {
  display: block;
  margin-top: 0.25rem;
  width: 100%;
  max-width: 20rem;
}

/* =====================================================
   Abstract toggle button
   ===================================================== */
.c-abstract-toggle {
  display: block;
  margin-top: 0.875rem;
  padding: 0.25rem 0.75rem;
  background: transparent;
  border: 1px solid #F8BB10;
  color: #939393;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.2s, color 0.2s;
}

.c-abstract-toggle:hover,
.c-abstract-toggle.is-active {
  background: #F8BB10;
  color: #fff;
}

/* =====================================================
   Abstract panel (hidden by default, shown via JS)
   ===================================================== */
.c-abstract-panel {
  display: none;
  margin-top: 1rem;
  padding: 0.875rem 1.25rem;
  border-left: 3px solid #F8BB10;
  font-size: 0.9em;
  line-height: 1.75;
  color: #939393;
}

/* =====================================================
   Nav links in header: gold like other links
   ===================================================== */
.c-header__contact a h4 {
  color: #F8BB10;
  transition: color 0.15s linear;
}

.c-header__contact a:hover h4,
.c-header__contact a:focus h4 {
  color: #e0a707;
}
