/* ============================================
   ICGS Research Library - Combined Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

/* ---- TYPOGRAPHY ---- */

body, p, li, td, input, select, textarea {
  font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.icgs-featured-heading,
.icgs-section-label {
  font-family: 'Poppins', sans-serif !important;
}

/* ---- BROWSE GRID ---- */

.resource-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 1rem 0 !important;
  list-style: none !important;
}

.resource-list .resource {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  border: 1px solid #d8e8ef !important;
  border-radius: 8px !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  background: #fff !important;
  overflow: hidden !important;
  min-height: 90px !important;
  transition: box-shadow 0.2s ease !important;
}

.resource-list .resource:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.10) !important;
}

/* Thumbnail */
[class*="resource__thumbnail"] {
  display: block !important;
  flex-shrink: 0 !important;
  width: 90px !important;
  min-width: 90px !important;
  height: 90px !important;
  overflow: hidden !important;
}

[class*="resource__thumbnail"] img {
  width: 90px !important;
  height: 90px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Content area */
.resource__content {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.resource__meta {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 12px 16px !important;
}

.resource__meta a {
  color: #1a1a1a !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  display: block !important;
  margin-bottom: 0 !important;
}

.resource__meta a:hover {
  color: #0077A3 !important;
}

.resource__meta a:visited {
  color: #1a1a1a !important;
}

/* Hide description */
.resource-list .resource .description,
.resource-list .resource .property-description,
.resource__meta .description {
  display: none !important;
}

.resource-list [class*="resource__thumbnail"] {
  display: none !important;
}

/* ---- HOME PAGE ---- */

.icgs-home {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.icgs-welcome {
  border-left: 5px solid #FFD46B;
  padding: 1.5rem 2rem;
  background: #f7fbfd;
  margin-bottom: 2.5rem;
  border-radius: 0 4px 4px 0;
}

.icgs-welcome h2 {
  font-family: 'Poppins', sans-serif;
  color: #0077A3;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.icgs-welcome p {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.7;
}

.icgs-featured-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #57585A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

/* Photo card grid */
.icgs-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.icgs-card {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.icgs-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

.icgs-card-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: #0077A3;
}

.icgs-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.icgs-card-category {
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #537B3A;
  margin-bottom: 0.4rem;
}

.icgs-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.icgs-card-title a {
  color: #1a1a1a !important;
  text-decoration: none !important;
}

.icgs-card:hover .icgs-card-title a {
  color: #D53812 !important;
}

.icgs-card-title a:visited {
  color: #1a1a1a !important;
}

.icgs-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #57585A;
  margin-top: auto;
}

/* Browse all button */
.icgs-browse-all {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.icgs-browse-all a {
  display: inline-block;
  background: #0077A3;
  color: #fff !important;
  padding: 0.65rem 1.75rem;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.icgs-browse-all a:hover {
  background: #005a7a;
}


/* Category card icons */
.icgs-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  opacity: 0.9;
  color: #fff;
}

@media (max-width: 900px) {
  .icgs-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .icgs-card-grid { grid-template-columns: 1fr; }
}

/* ---- BROWSE PAGES ---- */

.icgs-categories {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

/* Page title */
.icgs-page-title {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 4px solid #e0e0e0;
}

.icgs-page-title h1 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.icgs-page-title p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #57585A;
  margin: 0;
}

.title-blue  { border-bottom-color: #0077A3 !important; }
.title-blue h1 { color: #0077A3 !important; }

.title-green { border-bottom-color: #537B3A !important; }
.title-green h1 { color: #537B3A !important; }

.title-red   { border-bottom-color: #D53812 !important; }
.title-red h1 { color: #D53812 !important; }

.title-gray  { border-bottom-color: #57585A !important; }
.title-gray h1 { color: #57585A !important; }

/* Shared card base */
.icgs-category-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-radius: 6px;
  text-decoration: none !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  min-height: 80px;
}

.icgs-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  opacity: 0.92;
  color: #fff !important;
  text-decoration: none !important;
}

.icgs-category-card:visited {
  color: #fff !important;
}

.icgs-category-card span {
  flex: 1;
}

.icgs-category-card .arrow {
  font-size: 1.5rem;
  opacity: 0.7;
  font-style: normal;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.icgs-category-card:hover .arrow {
  opacity: 1;
}

/* Section colors */
.icgs-category-card.special { background-color: #537B3A; }
.icgs-category-card.topic   { background-color: #0077A3; }
.icgs-category-card.grade   { background-color: #57585A; }

/* Grids */
.icgs-category-grid,
.icgs-special-grid,
.icgs-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Section label */
.icgs-section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #57585A;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

@media (max-width: 900px) {
  .icgs-category-grid,
  .icgs-special-grid,
  .icgs-grade-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .icgs-category-grid,
  .icgs-special-grid,
  .icgs-grade-grid { grid-template-columns: 1fr; }
  .icgs-categories { padding: 0 1rem 2rem; }
}

/* ---- GARC PAGE ---- */

.title-garc { border-bottom-color: #7FAD65 !important; }
.title-garc h1 { color: #537B3A !important; }

.icgs-browse-all-btn {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.icgs-browse-all-btn:hover {
  opacity: 0.85;
  color: #fff !important;
  text-decoration: none !important;
}

.garc-btn { background-color: #7FAD65; }

.icgs-garc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.icgs-garc-card {
  background-color: #7FAD65;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  overflow: hidden;
}

.icgs-garc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.16);
  opacity: 0.92;
}

.icgs-garc-card a {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  text-decoration: none !important;
  height: 100%;
}

.icgs-garc-card-year {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.icgs-garc-card-theme {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: #fff !important;
  line-height: 1.5;
}

.icgs-garc-card a,
.icgs-garc-card a:link,
.icgs-garc-card a:visited,
.icgs-garc-card a:hover,
.icgs-garc-card a div,
.icgs-garc-card a .icgs-garc-card-year,
.icgs-garc-card a .icgs-garc-card-theme {
  color: #fff !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .icgs-garc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .icgs-garc-grid { grid-template-columns: 1fr; }
}

/* ---- HOME PAGE FEATURED ---- */

.icgs-home-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.icgs-welcome {
  border-left: 4px solid #FFD46B;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  background: #fafafa;
  border-radius: 0 4px 4px 0;
}

.icgs-welcome p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.icgs-featured-header {
  margin-bottom: 1.25rem;
}

.icgs-featured-header h2 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #0077A3 !important;
}

.icgs-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.icgs-featured-loading {
  grid-column: 1 / -1;
  color: #888;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.icgs-feat-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  border-top: 3px solid #0077A3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icgs-feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}

.icgs-feat-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  height: 100%;
}

.icgs-feat-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #e8f4f8;
}

.icgs-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icgs-feat-no-img {
  background: linear-gradient(135deg, #e8f4f8 0%, #cce5ef 100%);
}

.icgs-feat-body {
  padding: 1rem;
  flex: 1;
}

.icgs-feat-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #0077A3 !important;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.icgs-feat-creator {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.8rem !important;
  color: #57585A !important;
}

@media (max-width: 900px) {
  .icgs-featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .icgs-featured-grid { grid-template-columns: 1fr; }
  .icgs-home-wrap { padding: 0 1rem 2rem; }
}
/* ================================================
   ICGS — Faceted Browse Sidebar Font Fix
   + Sitewide WIP Banner
   Add to CSS Editor (icgs-combined-v2.css)
   ================================================ */

/* ---- FACETED BROWSE SIDEBAR ---- */

/* ---- FACETED BROWSE SIDEBAR FONT FIX (replace previous sidebar block) ---- */

/* Facet group headings */
.facet legend {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #57585A !important;
  margin-bottom: 0.4rem !important;
}

/* Select dropdowns */
.facet select {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  color: #1a1a1a !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 4px !important;
  padding: 6px 10px !important;
}

/* Text inputs */
.facet input[type="text"] {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  color: #1a1a1a !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 4px !important;
  padding: 6px 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
/* ---- SITEWIDE WIP BANNER ---- */

body::before {
  content: "🚧 A limited number of items are available for viewing in the ICGS Research Library while we finish building. If you need help accessing research, please contact Laura Blankenship at lblankenship@girlsschools.org.";
  display: block !important;
  width: 100% !important;
  background: #FFF8E1 !important;
  border-bottom: 2px solid #FFD46B !important;
  color: #57585A !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  text-align: center !important;
  padding: 8px 1rem !important;
  box-sizing: border-box !important;
  z-index: 9999 !important;
}

/* ---- ITEM SET PAGE ---- */

.item-set #content > h1 {
  font-size: 1.6rem !important;
}

.item-set-items h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-family: 'Poppins', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #57585A !important;
  margin-bottom: 0.5rem !important;
}

.item-set-items {
  margin-top: 1rem !important;
}

.item-set .browse-controls {
  margin-bottom: 0.5rem !important;
}

.item-set #content > h1 {
  margin-bottom: 0.5rem !important;
}

#content > h1 > span.title {
  font-size: 1.6rem !important;
}