/* Resources hub: sticky index + material cards */

.resources-hero {
  margin-bottom: 1.5rem;
}

.resources-hero h1 {
  margin: 0 0 0.35rem;
}

.resources-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .resources-layout {
    grid-template-columns: 1fr;
  }
  .resources-toc {
    position: static !important;
  }
}

.resources-toc {
  position: sticky;
  top: 5.5rem;
  background: var(--f3-white);
  border-radius: var(--f3-radius);
  padding: 1rem 1.1rem;
  border: 1px solid rgba(26, 82, 118, 0.08);
}

.resources-toc h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--f3-muted);
  margin: 0 0 0.75rem;
}

.resources-toc ol {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
}

.resources-toc li {
  margin-bottom: 0.4rem;
}

.resources-toc a {
  color: var(--f3-navy);
  text-decoration: none;
  font-weight: 500;
}

.resources-toc a:hover,
.resources-toc a.is-active {
  color: var(--f3-teal);
}

.resources-body {
  min-width: 0;
}

.resource-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--f3-light);
  scroll-margin-top: 6rem;
}

.resource-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.resource-section h2 {
  color: var(--f3-navy);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.resource-section .resource-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--f3-teal);
  margin-bottom: 0.5rem;
}

.resource-section > p.muted {
  margin: 0 0 1.25rem;
  max-width: none;
  width: 100%;
}

.resources-hero > p.muted {
  max-width: none;
  width: 100%;
}

.resource-card-row {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--f3-white);
  border-radius: var(--f3-radius-lg);
  border: 1px solid rgba(26, 82, 118, 0.08);
  padding: 1.25rem;
}

.resource-card-row > * {
  min-width: 0;
}

.resource-actions {
  min-width: 0;
}

@media (max-width: 700px) {
  .resource-card-row {
    grid-template-columns: 1fr;
    padding: 0.85rem;
    gap: 1rem;
  }

  .resource-preview {
    padding: 0.75rem;
    min-height: 160px;
  }
}

@media (max-width: 900px) {
  .resource-card-row {
    padding: 0.65rem;
    gap: 0.75rem;
  }

  .resource-preview {
    padding: 0.55rem;
    min-height: 140px;
  }

  .resources-toc {
    padding: 0.75rem 0.8rem;
  }

  .resource-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
  }

  .resource-section h2 {
    font-size: 1.25rem;
  }
}

.resource-preview {
  background: var(--f3-pale);
  border-radius: var(--f3-radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed rgba(26, 82, 118, 0.15);
}

.resource-size-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--f3-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.resource-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.resource-actions h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--f3-navy);
  line-height: 1.25;
}

.resource-lead {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--f3-text);
  line-height: 1.45;
}

.resource-sticker-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.resource-sticker-option {
  margin: 0;
}

.resource-actions ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--f3-text);
}

.resource-actions .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

/* Sticker mockups: hierarchy mirrors print layout */
.mock-sticker {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 105 / 148;
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.45rem 0.55rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(26, 82, 118, 0.12);
  border: 2px solid rgba(26, 82, 118, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
}

.mock-sticker-logo {
  height: 22px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  margin: 0.15rem 0 0.1rem;
}

.mock-sticker-cta {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--f3-teal);
  line-height: 1.1;
}

.mock-sticker--ews .mock-sticker-cta {
  color: var(--f3-navy);
}

.mock-sticker-head {
  margin: 0;
  font-size: 0.52rem;
  font-weight: 700;
  color: var(--f3-navy);
  line-height: 1.2;
}

.mock-sticker-qr {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0.2rem auto 0;
  border: 1px solid rgba(26, 82, 118, 0.12);
  border-radius: 4px;
  padding: 2px;
  background: #fff;
}

.mock-sticker-qr-fake {
  width: 48px;
  height: 48px;
  margin: 0.2rem auto 0;
  border-radius: 4px;
  background:
    linear-gradient(90deg, #1a5276 2px, transparent 2px) 0 0 / 8px 8px,
    linear-gradient(#1a5276 2px, transparent 2px) 0 0 / 8px 8px;
  opacity: 0.35;
}

.mock-pamphlet {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 148 / 210;
  background: var(--f3-white);
  border: 2px solid rgba(26, 82, 118, 0.15);
  border-radius: 4px;
  padding: 0.65rem;
  color: var(--f3-navy);
  font-size: 0.5rem;
  line-height: 1.25;
  box-shadow: 0 6px 20px rgba(26, 82, 118, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-pamphlet strong {
  font-size: 0.58rem;
  display: block;
  margin-bottom: 0.25rem;
}

.mock-poster {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 210 / 297;
  background: var(--f3-white);
  border: 3px solid transparent;
  border-image: linear-gradient(145deg, var(--f3-navy), var(--f3-teal)) 1;
  border-radius: 4px;
  padding: 0.65rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.mock-poster img {
  height: 36px;
  width: auto;
  margin-bottom: 0.35rem;
}

.mock-poster h4 {
  margin: 0;
  font-size: 0.55rem;
  color: var(--f3-navy);
  line-height: 1.2;
}

.mock-poster p {
  margin: 0.35rem 0 0;
  font-size: 0.45rem;
  color: var(--f3-muted);
}

.mock-letter {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 210 / 297;
  background: #fff;
  border-radius: 4px;
  padding: 0.65rem;
  border: 2px solid rgba(26, 82, 118, 0.12);
  font-size: 0.45rem;
  line-height: 1.35;
  color: var(--f3-text);
  box-shadow: 0 4px 12px rgba(26, 82, 118, 0.1);
  border: 1px solid #e0e8ef;
}

.mock-letter h4 {
  margin: 0 0 0.35rem;
  font-size: 0.5rem;
  color: var(--f3-navy);
}

.mock-manual {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 210 / 297;
  background: var(--f3-white);
  border-radius: 4px;
  border: 1px solid rgba(26, 82, 118, 0.12);
  padding: 0.65rem;
  box-shadow: 0 4px 14px rgba(26, 82, 118, 0.12);
  font-size: 0.45rem;
  color: var(--f3-navy);
}

.mock-manual img {
  height: 30px;
  margin-bottom: 0.35rem;
}

.mock-tracker {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 210 / 297;
  background: #fff;
  border-radius: 4px;
  padding: 0.45rem;
  border: 2px solid rgba(26, 82, 118, 0.1);
  font-size: 0.4rem;
  border: 1px solid #dde6ed;
}

.mock-tracker table {
  width: 100%;
  border-collapse: collapse;
}

.mock-tracker th,
.mock-tracker td {
  border: 1px solid #dde6ed;
  padding: 0.15rem;
  text-align: center;
}

