/* Build 207 — premium tabs + cards refinement */
:root{
  --ed207-ink:#1f2022;
  --ed207-ink-soft:#56575a;
  --ed207-paper:#ffffff;
  --ed207-warm:#fbfaf7;
  --ed207-warm-2:#f5f2ec;
  --ed207-silver:#dedbd4;
  --ed207-silver-soft:#efede8;
  --ed207-gold:#c79a43;
  --ed207-gold-deep:#9d7428;
  --ed207-gold-soft:#e5cc95;
  --ed207-shadow:0 16px 42px rgba(31,32,34,.09);
  --ed207-shadow-hover:0 24px 56px rgba(31,32,34,.14);
}

/* Navigation + tab system: slimmer, calmer, premium */
.food-nav,.food-tabs,.food-hub-nav,.food-subnav,.collection-tabs,.hub-tabs,.category-tabs,
[class*="food-nav"],[class*="food-tabs"],.filter-tabs,.tab-list,.tabs{
  background:rgba(255,255,255,.94)!important;
  border:1px solid var(--ed207-silver)!important;
  box-shadow:0 8px 24px rgba(31,32,34,.055)!important;
  border-radius:18px!important;
  padding:7px!important;
  gap:6px!important;
}
.food-nav a,.food-tabs a,.food-hub-nav a,.food-subnav a,.collection-tabs a,.hub-tabs a,.category-tabs a,
[class*="food-nav"] a,[class*="food-tabs"] a,.filter-tabs a,.tab-list a,.tabs a,
.food-nav button,.food-tabs button,.collection-tabs button,.category-tabs button,.tab-list button,.tabs button{
  min-height:40px!important;
  padding:9px 14px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:transparent!important;
  color:var(--ed207-ink)!important;
  font-weight:750!important;
  letter-spacing:.005em!important;
  box-shadow:none!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
.food-nav a:hover,.food-tabs a:hover,.food-hub-nav a:hover,.food-subnav a:hover,.collection-tabs a:hover,.hub-tabs a:hover,.category-tabs a:hover,
[class*="food-nav"] a:hover,[class*="food-tabs"] a:hover,.filter-tabs a:hover,.tab-list a:hover,.tabs a:hover,
.food-nav button:hover,.food-tabs button:hover,.collection-tabs button:hover,.category-tabs button:hover,.tab-list button:hover,.tabs button:hover{
  background:var(--ed207-warm-2)!important;
  border-color:var(--ed207-silver)!important;
  color:var(--ed207-gold-deep)!important;
}
.food-nav a.active,.food-tabs a.active,.food-hub-nav a.active,.food-subnav a.active,.collection-tabs a.active,.hub-tabs a.active,.category-tabs a.active,
[class*="food-nav"] a.active,[class*="food-tabs"] a.active,.filter-tabs a.active,.tab-list a.active,.tabs a.active,
.food-nav button.active,.food-tabs button.active,.collection-tabs button.active,.category-tabs button.active,.tab-list button.active,.tabs button.active,
[aria-selected="true"],.is-active[data-tab],button[data-active="true"]{
  background:var(--ed207-ink)!important;
  color:#fff!important;
  border-color:var(--ed207-ink)!important;
  box-shadow:0 7px 16px rgba(31,32,34,.14)!important;
}

/* Shared premium card language */
.premium-platform-page .card,.premium-platform-page .v2-card,.premium-platform-page .resource-card,
.premium-platform-page .guide-card,.premium-platform-page .course-card,.premium-platform-page .lesson-card,
.premium-platform-page .template-card,.premium-platform-page .support-card,.premium-platform-page .info-card,
.premium-platform-page .result-card,.premium-platform-page .learning-card,
.approved-card,.premium-card,.premium-cuisine-tab,.country-card,.collection-card,.simple-meal-card,
.protein-option-card,.protein-recipe-card,.hub-cover-card,.ed206-tools a{
  border:1px solid var(--ed207-silver)!important;
  border-radius:22px!important;
  background:var(--ed207-paper)!important;
  box-shadow:var(--ed207-shadow)!important;
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
.premium-platform-page .card:hover,.premium-platform-page .v2-card:hover,.premium-platform-page .resource-card:hover,
.premium-platform-page .guide-card:hover,.premium-platform-page .course-card:hover,.premium-platform-page .lesson-card:hover,
.premium-platform-page .template-card:hover,.premium-platform-page .support-card:hover,.premium-platform-page .info-card:hover,
.premium-platform-page .result-card:hover,.premium-platform-page .learning-card:hover,
.approved-card:hover,.premium-card:hover,.premium-cuisine-tab:hover,.country-card:hover,.collection-card:hover,.simple-meal-card:hover,
.protein-option-card:hover,.protein-recipe-card:hover,.hub-cover-card:hover,.ed206-tools a:hover{
  transform:translateY(-3px)!important;
  border-color:var(--ed207-gold-soft)!important;
  box-shadow:var(--ed207-shadow-hover)!important;
}

/* Card imagery: crisp editorial crops */
.premium-card img,.approved-card img,.country-card img,.collection-card img,.hub-cover-card img,.protein-option-card img,.protein-recipe-card img,
.simple-meal-image img,.ed206-photo img{
  filter:none!important;
  transform:translateZ(0);
}
.premium-card img,.approved-card img,.country-card img,.collection-card img,.hub-cover-card img,.protein-option-card img,.protein-recipe-card img{
  object-fit:cover!important;
}

/* Remove legacy green/teal chip styling */
.card-meta span,.meta-chip,.tag,.chip,.pill,.badge:not(.urgent-badge),.filter-chip,.category-chip,
.protein-recipe-stats span,.simple-meta span{
  background:var(--ed207-warm-2)!important;
  color:var(--ed207-ink-soft)!important;
  border:1px solid var(--ed207-silver)!important;
  border-radius:999px!important;
}

/* Premium buttons / card actions */
.card-link,.gold-btn,.protein-view-btn,.simple-view-btn,.hub-card-link,.ed206-copy strong{
  color:var(--ed207-gold-deep)!important;
}
.card-link,.gold-btn,.protein-view-btn,.simple-view-btn{
  border-radius:12px!important;
  font-weight:800!important;
}
.card-link,.gold-btn{
  background:var(--ed207-ink)!important;
  color:#fff!important;
  border:1px solid var(--ed207-ink)!important;
  box-shadow:0 8px 18px rgba(31,32,34,.12)!important;
}
.card-link:hover,.gold-btn:hover,.protein-view-btn:hover,.simple-view-btn:hover{
  background:var(--ed207-gold-deep)!important;
  color:#fff!important;
  border-color:var(--ed207-gold-deep)!important;
}

/* Homepage tool cards: lighter and more refined */
.ed206-tools{gap:14px!important}
.ed206-tools a{padding:22px!important;background:#fff!important}
.ed206-tools a b{font-family:"Playfair Display",Georgia,serif!important;color:var(--ed207-ink)!important;font-size:1.15rem!important}
.ed206-tools a span{color:var(--ed207-ink-soft)!important;line-height:1.5!important}

/* Header links feel intentional rather than tab-like */
.main-nav{gap:4px!important}
.main-nav>a{padding:9px 12px!important;border-radius:10px!important;font-weight:700!important}
.main-nav>a:hover{background:var(--ed207-warm-2)!important;color:var(--ed207-gold-deep)!important}
.main-nav>a.urgent-link{background:var(--ed207-ink)!important;color:#fff!important;border:1px solid var(--ed207-ink)!important}
.main-nav>a.urgent-link:hover{background:var(--ed207-gold-deep)!important;border-color:var(--ed207-gold-deep)!important;color:#fff!important}

/* Mobile: horizontal tab strips should remain easy to use */
@media(max-width:760px){
  .food-nav,.food-tabs,.food-hub-nav,.food-subnav,.collection-tabs,.hub-tabs,.category-tabs,[class*="food-nav"],[class*="food-tabs"],.filter-tabs,.tab-list,.tabs{
    border-radius:15px!important;padding:5px!important;gap:4px!important;
  }
  .food-nav a,.food-tabs a,.food-hub-nav a,.food-subnav a,.collection-tabs a,.hub-tabs a,.category-tabs a,[class*="food-nav"] a,[class*="food-tabs"] a,
  .food-nav button,.food-tabs button,.collection-tabs button,.category-tabs button,.tab-list button,.tabs button{
    min-height:38px!important;padding:8px 11px!important;font-size:.78rem!important;border-radius:10px!important;
  }
  .premium-platform-page .card,.premium-platform-page .v2-card,.premium-card,.approved-card,.country-card,.collection-card,.simple-meal-card,.hub-cover-card,.protein-recipe-card{
    border-radius:18px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .premium-platform-page .card,.premium-platform-page .v2-card,.resource-card,.guide-card,.course-card,.lesson-card,.template-card,.support-card,.info-card,
  .approved-card,.premium-card,.country-card,.collection-card,.simple-meal-card,.protein-option-card,.protein-recipe-card,.hub-cover-card,.ed206-tools a{transition:none!important}
}
