/* ==========================================================================
   Resources Page — resources.css
   BEM naming: .scc-resources, .scc-resources__[element]
   ========================================================================== */

/* ---------- Page Wrapper ---------- */
.scc-resources {
  min-height: 100vh;
  background: var(--scc-background);
  font-family: var(--scc-font-sans);
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.scc-resources__main {
  flex-grow: 1;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .scc-resources__main {
    padding-top: 8rem;
  }
}

/* ---------- Hero ---------- */
.scc-resources__hero {
  padding: 3rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .scc-resources__hero {
    padding: 5rem 2rem;
  }
}

.scc-resources__hero-content {
  max-width: 48rem;
}

.scc-resources__hero-title {
  font-size: var(--scc-text-4xl);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 1.5rem;
  line-height: var(--scc-leading-tight);
}

@media (min-width: 768px) {
  .scc-resources__hero-title {
    font-size: var(--scc-text-5xl);
  }
}

@media (min-width: 992px) {
  .scc-resources__hero-title {
    font-size: var(--scc-text-6xl);
  }
}

.scc-resources__hero-highlight {
  color: var(--scc-accent);
}

.scc-resources__hero-desc {
  font-size: var(--scc-text-lg);
  color: var(--scc-foreground);
  font-family: var(--scc-font-sans);
  margin-bottom: 2.5rem;
  line-height: var(--scc-leading-relaxed);
  max-width: 42rem;
}

@media (min-width: 768px) {
  .scc-resources__hero-desc {
    font-size: var(--scc-text-xl);
  }
}

/* ---------- Quick Links ---------- */
.scc-resources__quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .scc-resources__quick-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.scc-resources__quick-link {
  background: white;
  border: 1px solid var(--scc-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.scc-resources__quick-link:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.scc-resources__quick-link-icon-wrapper {
  background: rgba(26, 87, 119, 0.05);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.2s;
}

.scc-resources__quick-link:hover .scc-resources__quick-link-icon-wrapper {
  background: rgba(26, 87, 119, 0.1);
}

.scc-resources__quick-link-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--scc-primary);
}

.scc-resources__quick-link-title {
  font-size: var(--scc-text-xl);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.scc-resources__quick-link:hover .scc-resources__quick-link-title {
  color: var(--scc-accent);
}

.scc-resources__quick-link-desc {
  color: var(--scc-muted-foreground);
  font-size: var(--scc-text-sm);
  font-family: var(--scc-font-sans);
  margin-top: auto;
}

/* ---------- Annual Reports Section ---------- */
.scc-resources__reports {
  background: rgba(244, 246, 248, 0.5);
  padding: 4rem 1rem;
  border-top: 1px solid var(--scc-border);
  border-bottom: 1px solid var(--scc-border);
}

@media (min-width: 768px) {
  .scc-resources__reports {
    padding: 6rem 2rem;
  }
}

.scc-resources__reports-container {
  max-width: 1280px;
  margin: 0 auto;
}

.scc-resources__reports-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .scc-resources__reports-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.scc-resources__reports-title-wrapper {
  max-width: 42rem;
}

.scc-resources__reports-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.scc-resources__reports-badge-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--scc-accent);
}

.scc-resources__reports-badge-text {
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--scc-accent);
}

.scc-resources__reports-title {
  font-size: var(--scc-text-3xl);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .scc-resources__reports-title {
    font-size: var(--scc-text-4xl);
  }
}

.scc-resources__reports-desc {
  color: var(--scc-muted-foreground);
  font-family: var(--scc-font-sans);
}

/* ---------- Featured Report ---------- */
.scc-resources__featured-report {
  display: none;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--scc-border);
  overflow: hidden;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .scc-resources__featured-report {
    display: flex;
  }
}

.scc-resources__featured-report-image-col {
  width: 33.333%;
  background: rgba(26, 87, 119, 0.05);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scc-resources__featured-report-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  border: 1px solid rgba(229, 231, 235, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scc-resources__featured-report-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: var(--scc-accent);
}

.scc-resources__featured-report-year {
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  font-size: var(--scc-text-2xl);
  margin-bottom: 0.5rem;
}

.scc-resources__featured-report-label {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-sm);
  color: var(--scc-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scc-resources__featured-report-icon-bg {
  margin-top: 2rem;
  background: rgba(26, 87, 119, 0.1);
  padding: 1rem;
  border-radius: 9999px;
  transition: background-color 0.3s, color 0.3s;
}

.scc-resources__featured-report:hover .scc-resources__featured-report-icon-bg {
  background: var(--scc-primary);
  color: white;
}

.scc-resources__featured-report-fi {
  width: 2rem;
  height: 2rem;
}

.scc-resources__featured-report-content {
  width: 66.666%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scc-resources__featured-report-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(162, 92, 47, 0.1);
  color: var(--scc-accent);
  font-size: var(--scc-text-xs);
  font-weight: var(--scc-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.scc-resources__featured-report-title {
  font-size: var(--scc-text-3xl);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 1rem;
}

.scc-resources__featured-report-desc {
  color: var(--scc-muted-foreground);
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-lg);
  margin-bottom: 2rem;
  max-width: 36rem;
  line-height: var(--scc-leading-relaxed);
}

.scc-resources__featured-report-actions {
  display: flex;
  gap: 1rem;
}

.scc-resources__report-download-btn {
  background: var(--scc-primary);
  color: white;
  font-weight: var(--scc-weight-medium);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.scc-resources__report-download-btn:hover {
  background: rgba(26, 87, 119, 0.9);
}

.scc-resources__report-download-icon {
  width: 1rem;
  height: 1rem;
}

.scc-resources__report-view-btn {
  background: white;
  color: var(--scc-primary);
  border: 1px solid var(--scc-border);
  font-weight: var(--scc-weight-medium);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.2s;
  cursor: pointer;
}

.scc-resources__report-view-btn:hover {
  background: var(--scc-muted);
}

/* ---------- Reports Grid ---------- */
.scc-resources__reports-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 577px) {
  .scc-resources__reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .scc-resources__reports-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Report Card ---------- */
.scc-resources__report-card {
  background: white;
  border: 1px solid var(--scc-border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.scc-resources__report-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.scc-resources__report-card--mobile-only {
  display: flex;
}

@media (min-width: 992px) {
  .scc-resources__report-card--mobile-only {
    display: none;
  }
}

.scc-resources__report-card-image-wrapper {
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--scc-border);
}

/* Report card cover color variants */
.scc-resources__report-card-image-wrapper--primary {
  background: rgba(26, 87, 119, 0.1);
  color: var(--scc-primary);
}

.scc-resources__report-card-image-wrapper--secondary {
  background: rgba(148, 211, 234, 0.1);
  color: var(--scc-primary);
}

.scc-resources__report-card-image-wrapper--accent {
  background: rgba(162, 92, 47, 0.1);
  color: var(--scc-accent);
}

.scc-resources__report-card-image-wrapper--muted {
  background: var(--scc-muted);
  color: var(--scc-muted-foreground);
}

.scc-resources__report-card-image {
  width: 6rem;
  aspect-ratio: 3 / 4;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 0.25rem;
  border: 1px solid rgba(229, 231, 235, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  text-align: center;
  position: relative;
}

.scc-resources__report-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: var(--scc-accent);
}

.scc-resources__report-card-year {
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: inherit;
  font-size: var(--scc-text-sm);
}

.scc-resources__report-card-fi {
  width: 1rem;
  height: 1rem;
  opacity: 0.5;
  margin-top: 0.5rem;
}

/* With accent line in featured mobile card */
.scc-resources__report-card-fi--muted {
  color: var(--scc-muted-foreground);
}

.scc-resources__report-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scc-resources__report-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--scc-accent);
  font-size: var(--scc-text-xs);
  font-weight: var(--scc-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.scc-resources__report-card-title {
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  font-size: var(--scc-text-lg);
  margin-bottom: 0.25rem;
}

.scc-resources__report-card-meta {
  font-size: var(--scc-text-sm);
  color: var(--scc-muted-foreground);
  margin-bottom: 1.5rem;
}

.scc-resources__report-card-download {
  width: 100%;
  border: 1px solid var(--scc-border);
  color: var(--scc-primary);
  font-weight: var(--scc-weight-medium);
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
  margin-top: auto;
  background: white;
  cursor: pointer;
}

.scc-resources__report-card-download:hover {
  background: var(--scc-muted);
}

.scc-resources__report-card-download-icon {
  width: 1rem;
  height: 1rem;
}

/* ---------- Media & Archives Section ---------- */
.scc-resources__media-archives {
  padding: 4rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .scc-resources__media-archives {
    padding: 6rem 2rem;
  }
}

.scc-resources__media-archives-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 992px) {
  .scc-resources__media-archives-layout {
    flex-direction: row;
    gap: 5rem;
  }
}

/* ---------- Media Mentions ---------- */
.scc-resources__media-col {
  width: 100%;
}

@media (min-width: 992px) {
  .scc-resources__media-col {
    width: 66.666%;
  }
}

.scc-resources__media-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.scc-resources__media-badge-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--scc-primary);
}

.scc-resources__media-badge-text {
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--scc-primary);
}

.scc-resources__media-title {
  font-size: var(--scc-text-3xl);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .scc-resources__media-title {
    font-size: var(--scc-text-4xl);
  }
}

.scc-resources__media-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---------- Media Card ---------- */
.scc-resources__media-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--scc-border);
  transition: all 0.2s;
  background: white;
}

@media (min-width: 577px) {
  .scc-resources__media-card {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .scc-resources__media-card {
    padding: 2rem;
  }
}

.scc-resources__media-card:hover {
  border-color: rgba(148, 211, 234, 0.3);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.scc-resources__media-card-meta {
  flex-shrink: 0;
}

@media (min-width: 577px) {
  .scc-resources__media-card-meta {
    width: 25%;
  }
}

.scc-resources__media-card-source {
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 0.25rem;
}

.scc-resources__media-card-date {
  font-size: var(--scc-text-xs);
  color: var(--scc-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scc-resources__media-card-content {
  width: 100%;
}

@media (min-width: 577px) {
  .scc-resources__media-card-content {
    width: 75%;
  }
}

.scc-resources__media-card-title {
  font-size: var(--scc-text-xl);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.scc-resources__media-card:hover .scc-resources__media-card-title {
  color: var(--scc-accent);
}

.scc-resources__media-card-excerpt {
  color: var(--scc-muted-foreground);
  font-family: var(--scc-font-sans);
  margin-bottom: 1rem;
}

.scc-resources__media-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  transition: color 0.2s;
  text-decoration: none;
}

.scc-resources__media-card-link:hover {
  color: var(--scc-accent);
}

.scc-resources__media-card-link-icon {
  width: 1rem;
  height: 1rem;
}

.scc-resources__media-view-all {
  margin-top: 2rem;
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.scc-resources__media-view-all:hover {
  color: var(--scc-accent);
}

.scc-resources__media-view-all-icon {
  width: 1rem;
  height: 1rem;
}

/* ---------- Archives Sidebar ---------- */
.scc-resources__archives-col {
  width: 100%;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .scc-resources__archives-col {
    width: 33.333%;
    margin-top: 0;
  }
}

.scc-resources__archives-card {
  background: rgba(26, 87, 119, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(26, 87, 119, 0.1);
}

@media (min-width: 768px) {
  .scc-resources__archives-card {
    padding: 2rem;
  }
}

.scc-resources__archives-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.scc-resources__archives-badge-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--scc-primary);
}

.scc-resources__archives-badge-text {
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--scc-primary);
}

.scc-resources__archives-title {
  font-size: var(--scc-text-2xl);
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 2rem;
}

.scc-resources__archives-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------- Archive Item ---------- */
.scc-resources__archive-item {
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: 0.5rem;
  overflow: hidden;
  background: white;
}

.scc-resources__archive-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.scc-resources__archive-trigger:hover {
  background: rgba(244, 246, 248, 0.5);
}

.scc-resources__archive-year {
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  font-size: var(--scc-text-lg);
}

.scc-resources__archive-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--scc-muted-foreground);
  transition: transform 0.3s;
}

.scc-resources__archive-arrow--open {
  transform: rotate(180deg);
}

.scc-resources__archive-content {
  overflow: hidden;
  transition: max-height 0.3s;
  max-height: 0;
}

.scc-resources__archive-content--open {
  max-height: 24rem;
}

.scc-resources__archive-docs {
  padding: 1rem;
  padding-top: 0;
  border-top: 1px solid rgba(229, 231, 235, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.scc-resources__archive-doc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  font-size: var(--scc-text-sm);
  color: var(--scc-foreground);
  transition: all 0.2s;
  text-decoration: none;
}

.scc-resources__archive-doc-link:hover {
  background: rgba(26, 87, 119, 0.05);
  color: var(--scc-primary);
}

.scc-resources__archive-doc-icon {
  width: 1rem;
  height: 1rem;
  color: var(--scc-muted-foreground);
  transition: color 0.2s;
}

.scc-resources__archive-doc-link:hover .scc-resources__archive-doc-icon {
  color: var(--scc-primary);
}

/* ---------- Archives Footer ---------- */
.scc-resources__archives-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(229, 231, 235, 0.5);
}

.scc-resources__archives-footer-title {
  font-family: var(--scc-font-heading);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin-bottom: 0.5rem;
}

.scc-resources__archives-footer-desc {
  font-size: var(--scc-text-sm);
  color: var(--scc-muted-foreground);
  margin-bottom: 1rem;
}

.scc-resources__archives-footer-link {
  font-size: var(--scc-text-sm);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-accent);
  transition: color 0.2s;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.scc-resources__archives-footer-link:hover {
  color: rgba(162, 92, 47, 0.8);
}


/* ========================================================
   Empty states (used when ACF repeaters are empty)
   ======================================================== */
.scc-resources__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  background: var(--scc-muted);
  border: 1px dashed var(--scc-border);
  border-radius: 12px;
  color: var(--scc-foreground);
}

.scc-resources__empty--compact {
  padding: clamp(1.5rem, 4vw, 2.5rem) 1rem;
  border-radius: 8px;
}

.scc-resources__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--scc-background);
  border: 1px solid var(--scc-border);
  color: var(--scc-muted-foreground);
  margin-bottom: 1rem;
}

.scc-resources__empty-icon svg {
  width: 22px;
  height: 22px;
}

.scc-resources__empty-title {
  font-family: var(--scc-font-heading);
  font-size: var(--scc-text-lg);
  font-weight: var(--scc-weight-bold);
  color: var(--scc-primary);
  margin: 0 0 0.5rem;
  line-height: var(--scc-leading-tight);
}

.scc-resources__empty-desc {
  font-family: var(--scc-font-sans);
  font-size: var(--scc-text-sm);
  line-height: var(--scc-leading-relaxed);
  color: var(--scc-muted-foreground);
  margin: 0;
  max-width: 38ch;
}
