html {
    font-size: 112.5%; /* Base font size 18px for readability */
}
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #fff;
}
.container {
    max-width: 1100px; /* Slightly wider container */
}
/* Typography consistency */
h1, h2, h3, h4, p, li, a, div, span {
    font-family: 'Inter', sans-serif;
}
h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000;
    margin: 40px 0 20px 0;
}
h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px 0;
}
p, li {
    font-size: 1rem;
    margin-bottom: 20px;
}
/* Header */
header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
header .logo a {
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}
header .logo a span {
    color: #FF7A00;
}
header nav {
    text-align: right;
}
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}
header nav li {
    margin-left: 30px;
}
header nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
/* Hero Section */
.hero {
    background-color: #fff;
    padding: 60px 0;
}
.book-cover {
    width: 100%;
    max-width: 280px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Enhanced shadow */
    display: block;
}
.book-info h1 {
    color: #000;
    margin: 0 0 10px 0;
}
.author {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}
.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 15px 0;
    font-weight: 500;
    font-style: italic;
}
.book-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}
.book-meta div {
    margin-right: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.book-meta svg {
    margin-right: 6px;
}
.stats {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.stats span {
    margin-right: 15px;
    margin-bottom: 5px;
}
/* Content Section */
.content {
    padding: 60px 0;
    background-color: #f9f9f9;
}
.content-text {
    max-width: 800px; /* Wider content column */
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.sector-table {
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 0.9rem;
    width: 100%;
}
.sector-table th, .sector-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #E1E1E1;
}
.sector-table th {
    background-color: #f7f7f7;
    font-weight: 600;
}
.winner-loser .winners h3 {
    color: #36b37e;
}
.winner-loser .losers h3 {
    color: #ff5630;
}
.winner-loser ul {
    padding-left: 20px;
}
.winner-loser li {
    margin-bottom: 10px;
}
blockquote {
    margin: 20px 0;
    padding: 10px 15px;
    border-left: 4px solid #0066cc;
    background-color: #f7f7f7;
    font-style: italic;
    font-size: 0.9rem;
}
/* Footer */
footer {
    background-color: #fff;
    padding: 60px 0 40px;
    margin-top: 0;
    border-top: 1px solid #eee;
}
footer h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer li {
    margin-bottom: 10px;
}
footer a {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
}
footer a:hover {
    color: #004c99;
    text-decoration: underline;
}
.copyright {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.survey-note {
    background-color: #f8f9fa;
    border-left: 3px solid #FF7A00;
    padding: 15px;
    margin: 25px 0;
    font-size: 0.85rem;
}

.survey-note h4 {
    margin-top: 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.sources {
    margin: 40px 0 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.sources h2 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.sources ul {
    padding-left: 20px;
}

.sources li {
    margin-bottom: 8px;
}

.sources a {
    color: #0066cc;
    text-decoration: none;
}

.sources a:hover {
    text-decoration: underline;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
    margin: 25px 0;
    padding: 10px 20px;
    border-left: 4px solid #0066cc;
    background-color: #f7f7f7;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }
    header .logo, header nav {
        text-align: center;
    }
    header nav ul {
        flex-direction: column;
        margin-top: 20px;
    }
    header nav li {
        margin: 8px 0;
    }
    .book-cover {
        margin: 0 auto 30px auto;
        max-width: 220px;
    }
    .book-meta {
        flex-direction: column;
    }
    .book-meta div {
        margin-bottom: 8px;
    }
    .stats span {
        display: block;
        margin: 5px 0;
    }
    .content-text {
        padding: 25px;
    }
    .winner-loser .six.columns {
        width: 100%;
        margin-left: 0;
    }
    .losers {
        margin-top: 30px;
    }
}


/* front-page.css */

/* Secondary Navigation for Categories */
#secondary-nav {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
  }
  #secondary-nav .categories-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
  }
  #secondary-nav .categories-list li {
    margin: 0 15px;
  }
  #secondary-nav .categories-list li a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
  }
  #secondary-nav .categories-list li a:hover {
    color: #004c99;
    text-decoration: underline;
  }
  
  /* Books Grid Layout */
  .books-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }
  .book-item {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    flex: 1 1 calc(25% - 20px); /* Four items per row */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
  }
  .book-item img.book-cover-small {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
  }
  .book-item h3 {
    font-size: 1.2rem;
    margin: 10px 0 5px;
    color: #333;
  }
  .book-item p {
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Concept and Author List Styles */
  .concept-list,
  .author-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
  }
  .concept-list li,
  .author-list li {
    margin: 0 15px 10px 0;
  }
  .concept-list li a,
  .author-list li a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
  }
  .concept-list li a:hover,
  .author-list li a:hover {
    color: #004c99;
    text-decoration: underline;
  }
  

/*******************************
 * Secondary Navigation (Dark)
 *******************************/
#secondary-nav {
  background-color: #474f6c; /* Dark background color */
  border-bottom: 1px solid #3a4160; /* Slightly darker border for a subtle separation */
  padding: 15px 0;
}

#secondary-nav .categories-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#secondary-nav .categories-list li a {
    display: inline-flex;
    align-items: center;
    padding: 5px 16px;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid #6e7490;
    border-radius: 8px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin-top: 5px;
    margin-bottom: 5px;
}


#secondary-nav .categories-list li a i {
  margin-right: 8px; /* Space between the icon and text */
}

/* Hover and focus states - invert the colors for emphasis */
#secondary-nav .categories-list li a:hover,
#secondary-nav .categories-list li a:focus {
  background-color: #fff;
  color: #474f6c;
}

/* If you want an active/selected state for a clicked category */
#secondary-nav .categories-list li a.active {
  background-color: #fff;
  color: #474f6c;
  border-color: #fff;
}

