/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

/* Site-wide typography settings */
/* Apply Roboto to all headings */
h1, h2, h3, h4, h5, h6,
.row-title,
.detail-header h2,
.spread-item h3 {
  font-family: "Roboto", sans-serif !important;
  font-weight: 500 !important;
}

/* Apply 1.2em to all non-heading text with 90% black color */
body,
p,
.row-intro,
.item-description,
.explore-link,
.summary-row {
  font-size: 1.2em !important;
  line-height: 1.5 !important;
  color: rgba(0, 0, 0, 0.9) !important;
}

/* Specific adjustments to maintain layout */
.row-title {
  font-size: 1.5rem !important; /* Combined from multiple rules */
  color: #2c5530 !important;
  letter-spacing: -0.5px !important;
}

.row-intro {
  font-size: 0.8em !important;
  opacity: 0.8 !important;
  color: #000000 !important;
}

.explore-link {
  font-size: 0.65em !important;
  color: rgba(0, 0, 0, 0.9) !important;
}

/* Ensure detail panel text remains readable */
.spread-item-content,
.spread-item .item-description {
  color: rgba(255, 255, 255, 0.95) !important;
}

.detail-header {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Element hiding rules */
.page-header {
  display: none !important;
}

#summary-identity {
  display: none !important;
}

/* MOBILE: Adjust summary rows for better text wrapping */
@media (max-width:768px){
  .summary-row {
    align-items: flex-start !important;
    padding: 12px 0 !important;
    gap: 16px !important;
  }
  
  .row-title {
    font-size: 1.5rem !important; /* Fixed from 3.5rem to 1.5rem */
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
  }
  
  .row-intro {
    font-size: 1.1rem !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    max-width: none !important;
    line-height: 1.4 !important;
  }
  
  .explore-link {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
    margin-top: 4px !important;
  }
  
  .summary-row > div {
    flex: 1 !important;
    min-width: 0 !important;
  }
  
  /* MOBILE: Adjust column heading size */
  .spread-item h3 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }
}
a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}