/* 
  main.css
  This is the central stylesheet.
  It imports all other CSS files to build our custom framework.
*/

@import url('variables.css');
@import url('base.css');
@import url('components/index.css');

@import url('variables.css');
@import url('base.css'); 

/* =============================================================
   Custom font definitions
   ============================================================= */
@font-face {
  font-family: 'HeadingFont';
  src: url('../fonts/HeadingFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BodyFont';
  src: url('../fonts/BodyFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Apply custom fonts */
h1, h2, h3 {
  font-family: 'HeadingFont', sans-serif;
}

body, h4 {
  font-family: 'BodyFont', sans-serif;
} 

/* About panel neutral colors */
.about-panel h2,
.about-panel h3,
.about-panel h4 {
  color: #333;
}

.about-panel p,
.about-panel li,
.about-panel a {
  color: #000;
  border-color: #000;
} 

.about-panel .intro-paragraph {
  color: #000;
}

.about-panel h4 {
  color: #000 !important;
  border-color: #000 !important;
}

#expandable-about,
#expandable-about * {
  border-color: #000 !important;
} 

/* Classy bullets inside About panel */
.about-panel .flywheel-list,
.about-panel .flywheel-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-panel .flywheel-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: var(--space-2);
}

.about-panel .flywheel-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1em;
}

.about-panel .manifesto-item h4::before {
  content: "✧ ";
} 

/* Mobile: stack flywheel list label and description */
@media (max-width: 724px) {
  .about-panel .flywheel-list li {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* right align body */
    text-align: right;
  }
  .about-panel .flywheel-list li strong {
    align-self: flex-start; /* left align label */
    display: block;
    text-align: left;
  }
} 

/* Responsive list spacing */
@media(max-width:600px){
  .panel li{display:flex;flex-direction:column;gap:4px;line-height:1.4;}
  .panel li strong{display:block;margin-bottom:2px;}
} 