/* ─────────────────────────────────────────────
   Product Labels – Category Pages Styles
   ───────────────────────────────────────────── */

/* Page wrapper */
.avy-label-page {
  max-width: var(--avy-container, 1350px);
  margin: 0 auto;
  padding: 0 24px;
}

/* Sidebar + Content grid (only wraps the middle section) */
.avy-label-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 64px;
}

/* ── Breadcrumb ── */
.avy-label-breadcrumb {
  margin-bottom: 16px;
}
.avy-label-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--avy-gray-600, #6c757d);
}
.avy-label-breadcrumb__list a {
  color: var(--avy-gray-600, #6c757d);
  text-decoration: none;
  transition: color 0.2s;
}
.avy-label-breadcrumb__list a:hover {
  color: var(--avy-blue, #0033a0);
}
.avy-label-breadcrumb__sep {
  color: var(--avy-gray-400, #ced4da);
}
.avy-label-breadcrumb__current {
  color: var(--avy-gray-900, #212529);
  font-weight: 600;
}

/* ── Hero Banner (Full Width) ── */
.avy-label-hero {
  position: relative;
  background: linear-gradient(135deg, #1450a0 0%, #0b1d3a 100%);
  color: #fff;
  padding: 64px 48px;
  border-radius: var(--avy-radius-lg, 12px);
  margin-bottom: 32px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.avy-label-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.avy-label-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.avy-label-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.avy-label-hero__title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.2;
}
.avy-label-hero__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}
.avy-label-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.avy-label-hero__actions .avy-btn {
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.avy-label-hero__actions .avy-btn--white {
  background: #fff;
  color: #0b1d3a;
}
.avy-label-hero__actions .avy-btn--white:hover {
  background: #e8eef8;
}
.avy-label-hero__actions .avy-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.avy-label-hero__actions .avy-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Custom ACF Content (Full Width) ── */
.avy-label-custom-content {
  margin-bottom: 32px;
}
.avy-label-custom-content__inner {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--avy-gray-700, #495057);
}
.avy-label-custom-content__inner h2,
.avy-label-custom-content__inner h3 {
  color: var(--avy-gray-900, #212529);
  margin: 24px 0 12px;
}
.avy-label-custom-content__inner p {
  margin-bottom: 16px;
}

/* ── Sidebar ── */
.avy-label-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
}

.avy-label-sidebar__mobile-toggle {
  display: none;
  width: 100%;
  padding: 12px 16px;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-300, #dee2e6);
  border-radius: var(--avy-radius, 8px);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
}

.avy-label-sidebar__body {
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-300, #dee2e6);
  border-radius: var(--avy-radius-lg, 12px);
  overflow: hidden;
}

/* Group */
.avy-label-sidebar__group {
  border-bottom: 1px solid var(--avy-gray-200, #e9ecef);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.avy-label-sidebar__group:last-child {
  border-bottom: none;
}

.avy-label-sidebar__group-title,
.avy-label-sidebar__group-toggle {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.avy-label-sidebar__group-title {
  flex: 1;
  min-width: 0;
  text-decoration: none;
}
.avy-label-sidebar__group-title:hover {
  background: var(--avy-gray-100, #f8f9fa);
}
.avy-label-sidebar__group-title.is-current {
  color: var(--avy-blue, #0033a0);
  background: var(--avy-blue-light, #e8eef8);
}
.avy-label-sidebar__group-toggle {
  flex-shrink: 0;
  padding-left: 8px;
  padding-right: 18px;
}
.avy-label-sidebar__group-toggle:hover {
  background: var(--avy-gray-100, #f8f9fa);
}

.avy-label-sidebar__chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.avy-label-sidebar__group.is-active .avy-label-sidebar__chevron,
.avy-label-sidebar__group-toggle[aria-expanded="true"]
  .avy-label-sidebar__chevron {
  transform: rotate(180deg);
}

/* List */
.avy-label-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.avy-label-sidebar__group.is-active .avy-label-sidebar__list,
.avy-label-sidebar__group-toggle[aria-expanded="true"]
  + .avy-label-sidebar__list {
  max-height: 2000px;
}

/* Item */
.avy-label-sidebar__item {
  border-top: 1px solid var(--avy-gray-100, #f8f9fa);
}

.avy-label-sidebar__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 10px 24px;
  font-size: 0.875rem;
  color: var(--avy-gray-700, #495057);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.avy-label-sidebar__link:hover {
  color: var(--avy-blue, #0033a0);
  background: var(--avy-blue-light, #e8eef8);
  text-decoration: none;
}
.avy-label-sidebar__item.is-current > .avy-label-sidebar__link {
  color: var(--avy-blue, #0033a0);
  font-weight: 600;
  background: var(--avy-blue-light, #e8eef8);
  border-left-color: var(--avy-blue, #0033a0);
}

.avy-label-sidebar__arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.avy-label-sidebar__item.is-parent
  > .avy-label-sidebar__link
  .avy-label-sidebar__arrow {
  transform: rotate(90deg);
}

/* Sub-list */
.avy-label-sidebar__sublist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  background: var(--avy-gray-100, #f8f9fa);
}
.avy-label-sidebar__sublink {
  display: block;
  padding: 8px 18px 8px 36px;
  font-size: 0.82rem;
  color: var(--avy-gray-600, #6c757d);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.avy-label-sidebar__sublink:hover {
  color: var(--avy-blue, #0033a0);
  background: var(--avy-blue-light, #e8eef8);
  text-decoration: none;
}
.avy-label-sidebar__subitem.is-current > .avy-label-sidebar__sublink {
  color: var(--avy-blue, #0033a0);
  font-weight: 600;
  border-left-color: var(--avy-blue, #0033a0);
  background: var(--avy-blue-light, #e8eef8);
}

/* ── Content Area (right of sidebar) ── */
.avy-label-content {
  min-width: 0;
}

/* ── Category Cards Grid (with images) ── */
.avy-label-cards {
  margin-bottom: 0;
}
.avy-label-cards__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-label-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Card — text only */
.avy-label-card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-300, #dee2e6);
  border-radius: var(--avy-radius, 8px);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-label-card:hover {
  border-color: var(--avy-blue, #0033a0);
  box-shadow: 0 4px 16px rgba(0, 51, 160, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-label-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 6px;
}
.avy-label-card__count {
  font-size: 0.82rem;
  color: var(--avy-gray-600, #6c757d);
}

/* Card — with image thumbnail */
.avy-label-card--image {
  padding: 0;
  overflow: hidden;
}
.avy-label-card__thumb {
  width: 100%;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: var(--avy-gray-100, #f8f9fa);
}
.avy-label-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.avy-label-card--image:hover .avy-label-card__thumb img {
  transform: scale(1.05);
}
.avy-label-card__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.avy-label-card--image .avy-label-card__name {
  padding: 10px;
  margin-bottom: 0;
  text-align: center;
}

/* ── Detail: Info Sections ── */
.avy-label-info {
  margin-bottom: 48px;
}
.avy-label-info__hero-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--avy-radius-lg, 12px);
  margin-bottom: 32px;
}
.avy-label-info__desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--avy-gray-700, #495057);
  max-width: 860px;
  margin-bottom: 32px;
}

/* Section titles */
.avy-label-section {
  margin-bottom: 40px;
}
.avy-label-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 20px;
}
.avy-label-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* Link cards */
.avy-label-link-card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-300, #dee2e6);
  border-radius: var(--avy-radius, 8px);
  padding: 24px 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-label-link-card:hover {
  border-color: var(--avy-blue, #0033a0);
  box-shadow: 0 4px 16px rgba(0, 51, 160, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-label-link-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 8px;
}
.avy-label-link-card p {
  font-size: 0.9rem;
  color: var(--avy-gray-600, #6c757d);
  line-height: 1.6;
  margin: 0;
}

/* ── FAQs (Full Width) ── */
.avy-label-faq {
  margin-top: 48px;
  margin-bottom: 48px;
}
.avy-label-faq__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 20px;
}
.avy-label-faq-item {
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  margin-bottom: 8px;
  overflow: hidden;
}
.avy-label-faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  background: var(--avy-gray-100, #f8f9fa);
  list-style: none;
}
.avy-label-faq-item__icon {
  font-size: 1.2rem;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.avy-label-faq-item[open] .avy-label-faq-item__icon {
  transform: rotate(45deg);
}
.avy-label-faq-item__answer {
  padding: 16px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--avy-gray-700, #495057);
}

/* ── Product Reviews (Full Width) ── */
.avy-label-reviews {
  margin-bottom: 48px;
}
.avy-label-reviews__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-label-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.avy-label-reviews__card {
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 20px;
}
.avy-label-reviews__stars {
  margin-bottom: 10px;
  display: flex;
  gap: 2px;
}
.avy-label-reviews__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--avy-gray-700, #495057);
  margin-bottom: 12px;
}
.avy-label-reviews__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 4px;
}
.avy-label-reviews__product {
  font-size: 0.82rem;
  color: var(--avy-gray-600, #6c757d);
  margin: 0;
}

/* ── Product Grid ── */
.avy-label-products {
  margin-bottom: 48px;
}
.avy-label-products__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 20px;
}
.avy-label-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.avy-label-products__grid .product {
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 16px;
  transition: box-shadow 0.25s;
}
.avy-label-products__grid .product:hover {
  box-shadow: var(--avy-shadow-lg, 0 4px 24px rgba(0, 0, 0, 0.12));
}

/* ── CTA (Full Width) ── */
.avy-label-cta {
  background: linear-gradient(135deg, #1450a0 0%, #0b1d3a 100%);
  color: #fff;
  padding: 56px 40px;
  border-radius: var(--avy-radius-lg, 12px);
  text-align: center;
  margin-bottom: 48px;
}
.avy-label-cta h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}
.avy-label-cta p {
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}
.avy-label-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.avy-label-cta__actions .avy-btn {
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.avy-label-cta__actions .avy-btn--white {
  background: #fff;
  color: #0b1d3a;
}
.avy-label-cta__actions .avy-btn--white:hover {
  background: #e8eef8;
}
.avy-label-cta__actions .avy-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.avy-label-cta__actions .avy-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .avy-label-layout {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .avy-label-sidebar {
    position: static;
    margin-bottom: 24px;
  }

  .avy-label-sidebar__mobile-toggle {
    display: flex;
  }

  .avy-label-sidebar__body {
    display: none;
    max-height: 70vh;
    overflow-y: auto;
  }
  .avy-label-sidebar__body.is-open {
    display: block;
  }

  .avy-label-layout {
    grid-template-columns: 1fr;
  }

  .avy-label-hero {
    padding: 36px 24px;
  }
  .avy-label-hero__title {
    font-size: 1.7rem;
  }
  .avy-label-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .avy-label-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .avy-label-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .avy-label-card {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .avy-label-reviews__grid {
    grid-template-columns: 1fr;
  }
  .avy-label-hero__actions,
  .avy-label-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ─────────────────────────────────────────────
   Material Guide Page Styles
   ───────────────────────────────────────────── */

.avy-material-specs {
  margin: 40px 0;
}
.avy-material-specs h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 20px;
}
.avy-material-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  overflow: hidden;
}
.avy-material-specs-table th,
.avy-material-specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--avy-gray-200, #e9ecef);
  font-size: 0.9rem;
}
.avy-material-specs-table th {
  background: var(--avy-gray-100, #f8f9fa);
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  width: 35%;
}
.avy-material-specs-table td {
  color: var(--avy-gray-700, #495057);
}
.avy-material-specs-table tr:last-child th,
.avy-material-specs-table tr:last-child td {
  border-bottom: none;
}

.avy-material-bestfor {
  margin: 40px 0;
  padding: 40px 0;
  background: #f6faff;
}
.avy-material-bestfor h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-material-bestfor__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.avy-material-bestfor__card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-material-bestfor__card:hover {
  border-color: var(--avy-blue, #0033a0);
  box-shadow: 0 4px 16px rgba(0, 51, 160, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-material-bestfor__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 8px;
}
.avy-material-bestfor__card p {
  font-size: 0.88rem;
  color: var(--avy-gray-600, #6c757d);
  line-height: 1.6;
  margin: 0;
}

.avy-material-formats {
  margin: 40px 0;
}
.avy-material-formats h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-material-formats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.avy-material-formats__card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-material-formats__card:hover {
  border-color: var(--avy-blue, #0033a0);
  box-shadow: 0 4px 16px rgba(0, 51, 160, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-material-formats__card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 12px;
}
.avy-material-formats__card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  margin: 0;
}

.avy-material-products {
  margin: 40px 0;
}
.avy-material-products h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-material-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.avy-material-products__card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-material-products__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-material-products__thumb {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--avy-gray-100, #f8f9fa);
}
.avy-material-products__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avy-material-products__card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  padding: 12px 14px 4px;
  margin: 0;
}
.avy-material-products__price {
  display: block;
  font-size: 0.85rem;
  color: var(--avy-blue, #0033a0);
  font-weight: 600;
  padding: 0 14px 14px;
}

/* ─────────────────────────────────────────────
   Format Guide Page Styles
   ───────────────────────────────────────────── */

.avy-format-overview {
  margin: 32px 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--avy-gray-700, #495057);
}

.avy-format-steps {
  margin: 40px 0;
  padding: 40px 0;
  background: #f6faff;
}
.avy-format-steps h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 28px;
}
.avy-format-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.avy-format-step {
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 28px 24px;
  position: relative;
}
.avy-format-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--avy-blue, #0033a0);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.avy-format-step__image {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 6px;
}
.avy-format-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 8px;
}
.avy-format-step p {
  font-size: 0.88rem;
  color: var(--avy-gray-600, #6c757d);
  line-height: 1.6;
  margin: 0;
}

.avy-format-sizes {
  margin: 40px 0;
}
.avy-format-sizes h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-format-sizes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.avy-format-size {
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 20px;
  text-align: center;
}
.avy-format-size img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}
.avy-format-size h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 4px;
}
.avy-format-size p {
  font-size: 0.82rem;
  color: var(--avy-gray-600, #6c757d);
  margin: 0;
}

.avy-format-materials {
  margin: 40px 0;
}
.avy-format-materials h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-format-materials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.avy-format-materials__card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-format-materials__card:hover {
  border-color: var(--avy-blue, #0033a0);
  box-shadow: 0 4px 16px rgba(0, 51, 160, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-format-materials__card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 10px;
}
.avy-format-materials__card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  margin: 0;
}

/* ─────────────────────────────────────────────
   Use Case Page Styles
   ───────────────────────────────────────────── */

.avy-use-case-challenge {
  margin: 40px 0;
  padding: 48px 0;
  background: #f6faff;
}
.avy-use-case-challenge h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 16px;
}
.avy-use-case-challenge__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.avy-use-case-challenge__col {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--avy-gray-700, #495057);
}
.avy-use-case-challenge__col p:last-child {
  margin-bottom: 0;
}

.avy-use-case-products {
  margin: 40px 0;
}
.avy-use-case-products h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-use-case-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.avy-use-case-products__card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-use-case-products__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-use-case-products__card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.avy-use-case-products__card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  padding: 14px 16px 6px;
  margin: 0;
}
.avy-use-case-products__card p {
  font-size: 0.85rem;
  color: var(--avy-gray-600, #6c757d);
  padding: 0 16px 16px;
  margin: 0;
  line-height: 1.5;
}

.avy-use-case-industries {
  margin: 40px 0;
  padding: 40px 0;
  background: #f6faff;
}
.avy-use-case-industries h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-use-case-industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.avy-use-case-industries__card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-use-case-industries__card:hover {
  border-color: var(--avy-blue, #0033a0);
  box-shadow: 0 4px 16px rgba(0, 51, 160, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-use-case-industries__card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.avy-use-case-industries__card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  padding: 12px 14px;
  margin: 0;
  text-align: center;
}

/* ─────────────────────────────────────────────
   Resource / Comparison Table Styles
   ───────────────────────────────────────────── */

.avy-comparison {
  margin: 40px 0;
  overflow-x: auto;
}
.avy-comparison-table-wrap {
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  overflow: hidden;
}
.avy-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.avy-comparison-table th {
  background: var(--avy-blue, #0033a0);
  color: #fff;
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
}
.avy-comparison-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--avy-gray-200, #e9ecef);
  color: var(--avy-gray-700, #495057);
}
.avy-comparison-table td strong {
  color: var(--avy-gray-900, #212529);
}
.avy-comparison-table tr:last-child td {
  border-bottom: none;
}
.avy-comparison-table tbody tr:hover {
  background: var(--avy-gray-100, #f8f9fa);
}

/* ─────────────────────────────────────────────
   Related Guides Sidebar
   ───────────────────────────────────────────── */

.avy-related-guides {
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 20px;
  margin-top: 32px;
}
.avy-related-guides h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.avy-related-guides ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.avy-related-guides li {
  border-top: 1px solid var(--avy-gray-100, #f8f9fa);
  padding: 10px 0;
}
.avy-related-guides li:first-child {
  border-top: none;
}
.avy-related-guides a {
  font-size: 0.88rem;
  color: var(--avy-blue, #0033a0);
  text-decoration: none;
  transition: color 0.2s;
}
.avy-related-guides a:hover {
  color: var(--avy-gray-900, #212529);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   Related Products Section
   ───────────────────────────────────────────── */

.avy-related-products-section {
  margin: 48px 0;
}
.avy-related-products-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 24px;
}
.avy-related-products-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.avy-related-products-section__card {
  display: block;
  background: var(--avy-white, #fff);
  border: 1px solid var(--avy-gray-200, #e9ecef);
  border-radius: var(--avy-radius, 8px);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.avy-related-products-section__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.avy-related-products-section__card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}
.avy-related-products-section__card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--avy-gray-900, #212529);
  margin: 0 0 6px;
}
.avy-related-products-section__card .price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--avy-blue, #0033a0);
}

/* ─────────────────────────────────────────────
   Blog FAQ Section (single post)
   ───────────────────────────────────────────── */

.avy-blog-faq {
  margin: 40px 0;
  padding: 36px 0;
  border-top: 2px solid var(--avy-gray-200, #e9ecef);
}
.avy-blog-faq h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--avy-gray-900, #212529);
  margin-bottom: 20px;
}

/* ─────────────────────────────────────────────
   Responsive — new templates
   ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .avy-use-case-challenge__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .avy-format-steps__grid {
    grid-template-columns: 1fr;
  }
  .avy-format-sizes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .avy-material-bestfor__grid,
  .avy-use-case-products__grid,
  .avy-use-case-industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .avy-related-products-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .avy-format-sizes__grid,
  .avy-material-bestfor__grid,
  .avy-use-case-products__grid,
  .avy-use-case-industries__grid,
  .avy-related-products-section__grid {
    grid-template-columns: 1fr;
  }
}
