
/* TCM FOOD HOME */
:root{
  --mag-navy:#3b3559;
  --mag-navy-2:#17333a;
  --mag-cream:#f3eadc;
  --mag-cream-2:#fbf6ee;
  --mag-blue:#c0c0c0;
  --mag-blue-soft:#dff0f1;
  --mag-ink:#15110d;
  --mag-muted:rgba(33,25,17,.72);
  --mag-border:rgba(85,58,35,.16);
  --mag-white:#ffffff;
  --tf-clay:#6b4b32;
  --tf-bronze:#9a6b32;
  --tf-gold:#c59a46;
  --tf-dark:#11100f;
}

.tcm-food-home{
  padding-top:72px;
  background:
    radial-gradient(circle at 78% 12%, rgba(142,197,204,.22), transparent 34%),
    radial-gradient(circle at 8% 32%, rgba(197,154,70,.12), transparent 28%),
    var(--mag-cream);
}

.tf-hero{
  padding:clamp(1rem,3vw,3rem);
}

.tf-hero-inner{
  max-width:1480px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  background:var(--tf-dark);
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 28px 70px rgba(20,12,6,.22);
}

.tf-hero-copy{
  padding:clamp(2.4rem,5vw,5.4rem);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(135deg, #3d375f, rgba(36,26,18,.94)),
    var(--tf-dark);
}

.tf-hero-copy .section-kicker{
  color:var(--tf-gold);
}

.tf-hero-copy h1{
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 3.6vw, 3.6rem) !important;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.tf-hero-copy p{
  max-width:56ch;
  color:rgba(255,248,236,.76);
  font-size:1.05rem;
}

.tf-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  margin-top:1.2rem;
}

.tf-hero-actions .btn{
  background:var(--mag-blue);
  border-color:var(--mag-blue);
  color:#102226;
}

.tf-hero-actions .btn:hover{
  background:#b7dbe0;
  border-color:#b7dbe0;
}

.tf-hero-actions .btn.light{
  background:transparent;
  color:#fff8ec;
  border-color:rgba(255,248,236,.35);
}

.tf-hero-media{
  min-height:620px;
  background:#0f0f0f;
}

.tf-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.tf-intro{
  padding-top:6rem;
}

.tf-principles-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1.25rem;
}

.tf-principle-card{
  background:rgba(255,255,255,.74);
  border:1px solid var(--mag-border);
  border-radius:22px;
  padding:1.5rem;
  box-shadow:0 14px 34px rgba(40,24,12,.06);
}

.tf-principle-card span{
  display:block;
  color:var(--mag-navy);
  font-size:2.4rem;
  line-height:1;
  margin-bottom:1rem;
  font-family:"Cormorant Garamond", Georgia, serif;
}

.tf-principle-card h3{
  font-size:1.55rem;
}

.tf-principle-card p{
  font-size:.96rem;
}

.tf-dark-band{
  background:
    linear-gradient(135deg, #3d375f, rgba(39,28,18,.96)),
    var(--tf-dark);
  color:#fff;
  margin:2rem 0;
}

.tf-dark-band-inner{
  max-width:980px;
  margin:0 auto;
  padding:5rem 2rem;
  text-align:center;
}

.tf-dark-band h2{
  color:#fff8ec;
  font-size:clamp(2.25rem,4vw,4rem);
}

.tf-dark-band p{
  color:rgba(255,248,236,.75);
  max-width:820px;
  margin:0 auto;
}

.tf-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.4rem;
}

.tf-food-card{
  min-height:320px;
  display:flex;
  align-items:flex-end;
  border-radius:24px;
  overflow:hidden;
  background: #5c5580;
  box-shadow:0 16px 38px rgba(40,24,12,.12);
}

.tf-food-card-body{
  padding:1.55rem;
}

.tf-food-card .card-label{
  color:var(--tf-gold);
}

.tf-food-card h3{
  color:#fff8ec;
  font-size:1.85rem;
}

.tf-food-card p{
  color:rgba(255,248,236,.78);
  margin-bottom:0;
}

.tf-two-col{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.75fr);
  gap:3rem;
  align-items:start;
}

.tf-two-col h2{
  font-size:clamp(2.1rem,4vw,3.5rem);
}

.tf-ingredient-list{
  display:grid;
  gap:.8rem;
}

.tf-ingredient-list div{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1.1rem;
  background:#fff;
  border:1px solid var(--mag-border);
  border-radius:16px;
  box-shadow:0 10px 26px rgba(40,24,12,.05);
}

.tf-ingredient-list strong{
  color:var(--mag-ink);
}

.tf-ingredient-list span{
  color:var(--mag-muted);
  text-align:right;
}

.tf-season-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1.25rem;
}

.tf-season-grid article{
  background:#fff;
  border:1px solid var(--mag-border);
  border-radius:22px;
  padding:1.5rem;
  box-shadow:0 14px 34px rgba(40,24,12,.06);
}

.tf-season-grid span{
  display:block;
  color:var(--mag-navy);
  font-size:2.6rem;
  line-height:1;
  margin-bottom:.8rem;
}

.tf-season-grid h3{
  font-size:1.55rem;
}

@media (max-width:980px){
  .tcm-food-home{
    padding-top:66px;
  }

  .tf-hero-inner,
  .tf-two-col{
    grid-template-columns:1fr;
  }

  .tf-hero-media{
    min-height:auto;
  }

  .tf-principles-grid,
  .tf-season-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .tf-card-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .tf-hero{
    padding:0;
  }

  .tf-hero-inner{
    border-radius:0;
  }

  .tf-hero-copy{
    padding:2.2rem 1.15rem;
  }

  .tf-hero-copy h1{
    font-size:2.55rem;
    max-width:none;
  }

  .tf-principles-grid,
  .tf-season-grid{
    grid-template-columns:1fr;
  }
}
*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--mag-cream);
  color:var(--mag-ink);
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

p{
  color:var(--mag-muted);
  line-height:1.75;
  margin:0 0 1rem;
}

h1,h2,h3,h4,h5,h6{
  margin:0 0 1rem;
  line-height:1.08;
  color:var(--mag-ink);
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:600;
}

main{
  display:block;
}

.section{
  max-width:var(--mag-max);
  margin:0 auto;
  padding:5rem 2rem;
}

.section-head{
  max-width:780px;
  margin-bottom:2rem;
}

.section-kicker{
  display:inline-block;
  margin-bottom:.75rem;
  font-size:.74rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--tf-gold);
  font-weight:700;
}

.section-kicker-light{
  color:rgba(255,255,255,.76);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  background:var(--mag-navy);
  color:var(--mag-white);
  border:1px solid var(--mag-navy);
  transition:all .2s ease;
  cursor:pointer;
  font-weight:600;
}

.btn:hover{
  background:var(--mag-navy-2);
  border-color:var(--mag-navy-2);
}

.btn.light{
  background:var(--mag-white);
  color:var(--mag-navy);
  border-color:var(--mag-white);
}

.btn.light:hover{
  background:var(--mag-blue-soft);
  color:var(--mag-navy);
  border-color:var(--mag-blue-soft);
}

/* NAV */
.site-nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:72px;
  display:flex;
  align-items:center;
  z-index:300;
  background:#3b3559;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.nav-inner{
  width:100%;
  max-width:var(--mag-max);
  margin:0 auto;
  padding:0 2rem;
  display:flex;
  align-items:center;
  gap:1rem;
  position:relative;
}

.nav-logo{
  display:flex;
  align-items:center;
  gap:.8rem;
  min-width:0;
}

.nav-logo img{
  width:57px;
  height:57px;
  object-fit:contain;
  border-radius:50%;
  flex:0 0 auto;
}

.nav-logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.02;
}

.nav-logo-text strong{
  color:var(--mag-white);
  font-size:1rem;
  letter-spacing:.08em;
  font-family:"Inter",system-ui,sans-serif;
}

.nav-logo-text small{
  color:rgba(255,255,255,.72);
  font-size:.66rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.nav-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:.75rem;
}

.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 16px;
  border-radius:4px;
  background:var(--mag-blue);
  color:var(--mag-navy);
  font-weight:700;
  transition:all .2s ease;
}

.nav-cta:hover{
  background:var(--mag-blue-soft);
  transform:translateY(-1px);
}

.hamburger{
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  cursor:pointer;
  padding:0;
}

.hamburger span{
  width:22px;
  height:2px;
  border-radius:2px;
  background:var(--mag-white);
  transition:transform .2s ease, opacity .2s ease;
}

.hamburger.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2){
  opacity:0;
}

.hamburger.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.nav-links{
  display:none;
  position:absolute;
  top:72px;
  right:2rem;
  width:min(320px, calc(100vw - 32px));
  padding:1rem;
  background:var(--mag-navy);
  border-radius:0 0 18px 18px;
  box-shadow:0 18px 40px rgba(0,0,0,.2);
}

.nav-links.open{
  display:flex;
  flex-direction:column;
  gap:.35rem;
}

.nav-links a{
  color:rgba(255,255,255,.92);
  padding:.75rem 1rem;
  border-radius:12px;
  font-weight:500;
}

.nav-links a:hover{
  background:rgba(255,255,255,.12);
}

/* HERO */
.mag-home{
  padding-top:72px;
}

.home-hero {
  padding: clamp(1.25rem, 3vw, 3rem);
  background: #f7f2ea;
}

.home-hero-inner {
  display: grid;
  /*grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);*/
  align-items: stretch;
  max-width: 1480px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
}

.home-hero-copy {
  min-width: 0;
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero-copy h1 {
  /*max-width: 12ch;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);*/
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.home-hero-copy p {
  max-width: 58ch;
}

.home-hero-media,
.hero-media-link {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media-link {
  width: 100%;
  height: 100%;
  background: #182e48;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (max-width: 1100px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    padding: 2.4rem 1.5rem 1.75rem;
  }

  .home-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 3.8rem);
  }

  .home-hero-media img {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 0;
  }

  .home-hero-inner {
    border-radius: 0;
  }

  .home-hero-copy {
    padding: 2rem 1.15rem 1.4rem;
  }

  .home-hero-copy h1 {
    font-size: clamp(1.85rem, 10vw, 2.65rem);
    line-height: 1.1;
  }
}

/* CARDS */
.section-cards{
  padding-top:3rem;
}

.cta-card-grid{
  display:grid;
  gap:1.6rem;
}

.cta-card-grid-4{
  grid-template-columns:repeat(4, minmax(0,1fr));
}

.cta-card-grid-3{
  grid-template-columns:repeat(3, minmax(0,1fr));
}

.cta-card{
  background:var(--mag-white);
  border-radius:var(--mag-radius);
  overflow:hidden;
  box-shadow:0 12px 32px rgba(15,39,66,.06);
  border:1px solid var(--mag-border);
  transition:transform .2s ease, box-shadow .2s ease;
}

.cta-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 38px rgba(15,39,66,.10);
}

.cta-card-image{
  display:block;
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#d8e4ef;
}

.cta-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.cta-card:hover .cta-card-image img{
  transform:scale(1.03);
}

.cta-card-body{
  padding:1.35rem 1.35rem 1.5rem;
}

.card-label{
  display:inline-block;
  margin-bottom:.7rem;
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--mag-navy-2);
}

.cta-card-body h3{
  font-size:1.75rem;
  margin-bottom:.75rem;
}

.cta-card-body p{
  font-size:.96rem;
  margin-bottom:1rem;
}

.card-text-link{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-size:.95rem;
  font-weight:700;
  color:var(--mag-navy);
}

.card-text-link::after{
  content:"→";
}

/* EDITORIAL ROWS */
.editorial-row-wrap{
  padding-top:1rem;
  padding-bottom:1rem;
	background-color:#fff;
}

.editorial-row{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);
  align-items:center;
  gap:4.5rem;
}

.editorial-row.is-reverse .editorial-copy{
  order:2;
}

.editorial-row.is-reverse .editorial-media{
  order:1;
}

.editorial-copy{
  max-width:560px;
}

.editorial-copy h2{
  font-size:clamp(2.1rem,4.2vw,3.4rem);
  margin-bottom:1rem;
}

.editorial-copy p{
  font-size:1rem;
  margin-bottom:1.35rem;
}

.editorial-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
}

.editorial-media{
  padding:2.25rem;
}

.editorial-media a{
  display:block;
  background:var(--mag-white);
  border-radius:26px;
  overflow:hidden;
  box-shadow:var(--mag-shadow);
}

.editorial-media img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
}

/* BLUE BAND */
.home-band{
  margin-top:3rem;
  margin-bottom:2rem;
  background:var(--mag-navy);
  color:var(--mag-white);
}

.home-band-inner{
  max-width:980px;
  margin:0 auto;
  padding:4.75rem 2rem;
  text-align:center;
}

.home-band h2{
  color:var(--mag-white);
  font-size:clamp(2.3rem,4vw,3.8rem);
  margin-bottom:1rem;
}

.home-band p{
  max-width:820px;
  margin:0 auto;
  color:rgba(255,255,255,.86);
  font-size:1rem;
}

.section-bottom-grid{
  padding-top:3rem;
  padding-bottom:6rem;
}

.cta-card-small .cta-card-body h3{
  font-size:1.45rem;
}

.cta-card-image-small{
  aspect-ratio:16 / 10;
}

/* FOOTER */
.footer{
  background:#3b3559;
  color:var(--mag-white);
  padding:3rem 2rem 1.4rem;
}

.footer-inner{
  max-width:var(--mag-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:2rem;
  padding-bottom:2rem;
  border-bottom:1px solid rgba(255,255,255,.14);
}

.footer-brand h4,
.footer-col h5{
  color:var(--mag-white);
  margin-bottom:.9rem;
  font-family:"Inter",system-ui,sans-serif;
  font-size:1rem;
}

.footer-brand p{
  max-width:360px;
  color:rgba(255,255,255,.72);
  margin:0;
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:.65rem;
}

.footer-col a{
  color:rgba(255,255,255,.72);
}

.footer-col a:hover{
  color:var(--mag-white);
}

.footer-bottom{
  max-width:var(--mag-max);
  margin:1.1rem auto 0;
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  color:rgba(255,255,255,.65);
  font-size:.9rem;
}

/* RESPONSIVE */
@media (max-width: 1180px){
  .cta-card-grid-4{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .home-hero-copy{
    padding:3.5rem 3rem;
  }

  .editorial-row{
    gap:2.5rem;
  }
}

@media (max-width: 980px){
  .nav-cta{
    display:none;
  }

  .home-hero{
    padding:1rem;
  }

  .home-hero-inner{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .home-hero-copy{
    padding:2.5rem 1.5rem;
  }

  .home-hero-media{
    /*min-height:340px;*/
  }

  .editorial-row,
  .editorial-row.is-reverse{
    grid-template-columns:1fr;
  }

  .editorial-row.is-reverse .editorial-copy,
  .editorial-row.is-reverse .editorial-media{
    order:initial;
  }

  .editorial-media{
    padding:0;
  }

  .cta-card-grid-3{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .footer-inner{
    grid-template-columns:1fr 1fr;
  }
}


@media (max-width: 640px){
  .site-nav{
    height:66px;
  }

  .nav-inner{
    padding:0 1rem;
  }

  .nav-links{
    top:66px;
    right:1rem;
    width:min(320px, calc(100vw - 24px));
  }

  .mag-home{
    padding-top:66px;
  }

  .section{
    padding:3.25rem 1rem;
  }

  .home-hero-copy h1{
    font-size:2.45rem;
  }

  .cta-card-grid-4,
  .cta-card-grid-3,
  .footer-inner{
    grid-template-columns:1fr;
  }

  .home-band-inner{
    padding:3.5rem 1rem;
  }

  .footer{
    padding:2.5rem 1rem 1.2rem;
  }

  .footer-bottom{
    flex-direction:column;
  }
}


/* ARTICLE DETAIL */
.mag-article{
  padding-top:72px;
}

.article-hero{
  padding:2rem;
}

.article-hero-inner{
  max-width:var(--mag-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);
  gap:0;
  background:var(--mag-cream-2);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--mag-shadow);
}

.article-hero-copy{
  padding:4rem 4.5rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.article-back-link{
  display:inline-flex;
  margin-bottom:1.4rem;
  font-size:.9rem;
  font-weight:700;
  color:var(--mag-navy);
}

.article-back-link::before{
  content:"←";
  margin-right:.45rem;
}

.article-hero-copy h1{
  font-size:clamp(2.6rem,5vw,4.7rem);
  max-width:760px;
}

.article-lead{
  max-width:680px;
  font-size:1.08rem;
}

.article-meta{
  margin-top:.6rem;
  font-size:.9rem;
  color:rgba(19,32,44,.55);
}

.article-hero-media{
  min-height:420px;
  background:var(--mag-navy);
}

.article-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.article-content-section{
  max-width:var(--mag-max);
  margin:0 auto;
  padding:4rem 2rem 5rem;
}

.article-layout{
  display:grid;
  grid-template-columns:minmax(0,820px) 280px;
  gap:4rem;
  align-items:start;
}

.article-content{
  background:var(--mag-white);
  border:1px solid var(--mag-border);
  border-radius:var(--mag-radius);
  box-shadow:0 12px 32px rgba(15,39,66,.05);
  padding:3rem;
}

.article-content h2{
  font-size:clamp(2rem,3.3vw,3rem);
  margin-top:2.8rem;
  margin-bottom:1rem;
}

.article-content h2:first-child{
  margin-top:0;
}

.article-content h3{
  font-size:1.75rem;
  margin-top:2rem;
}

.article-content p{
  font-size:1.04rem;
  line-height:1.85;
}

.article-content ul,
.article-content ol{
  color:var(--mag-muted);
  line-height:1.8;
  padding-left:1.4rem;
}

.article-content li{
  margin-bottom:.55rem;
}

.article-sidebar{
  position:sticky;
  top:100px;
}

.article-side-card{
  background:var(--mag-white);
  border:1px solid var(--mag-border);
  border-radius:var(--mag-radius);
  box-shadow:0 12px 32px rgba(15,39,66,.05);
  padding:1.5rem;
}

.article-side-card h2{
  font-family:"Inter",system-ui,sans-serif;
  font-size:1rem;
  margin-bottom:1rem;
}

.article-language-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}

.article-language-list a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:46px;
  height:36px;
  padding:0 .75rem;
  border-radius:999px;
  background:var(--mag-cream);
  border:1px solid var(--mag-border);
  color:var(--mag-navy);
  font-weight:700;
  font-size:.82rem;
}

.article-language-list a:hover,
.article-language-list a.is-active{
  background:var(--mag-navy);
  color:var(--mag-white);
}

/* RTL */
.mag-article[dir="rtl"] .article-back-link::before{
  content:"";
  margin:0;
}

.mag-article[dir="rtl"] .article-back-link::after{
  content:"←";
  margin-left:.45rem;
}

.mag-article[dir="rtl"] .article-content ul,
.mag-article[dir="rtl"] .article-content ol{
  padding-left:0;
  padding-right:1.4rem;
}

/* ARTICLE RESPONSIVE */
@media (max-width: 980px){
  .article-hero{
    padding:1rem;
  }

  .article-hero-inner{
    grid-template-columns:1fr;
  }

  .article-hero-copy{
    padding:2.5rem 1.5rem;
  }

  .article-hero-media{
    min-height:340px;
  }

  .article-layout{
    grid-template-columns:1fr;
    gap:2rem;
  }

  .article-sidebar{
    position:static;
  }

  .article-content{
    padding:2rem;
  }
}

@media (max-width: 640px){
  .mag-article{
    padding-top:66px;
  }

  .article-content-section{
    padding:3rem 1rem 4rem;
  }

  .article-content{
    padding:1.4rem;
  }

  .article-hero-copy h1{
    font-size:2.35rem;
  }

  .article-lead,
  .article-content p{
    font-size:1rem;
  }
}

.nav-lang {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  height: 38px;
  padding: 0 2.4rem 0 1rem;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 4px;

  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #0f172a 50%),
    linear-gradient(135deg, #0f172a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 16px,
    calc(100% - 12px) 16px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;

  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.nav-lang:hover {
  border-color: rgba(15, 23, 42, 0.32);
  background-color: #f8fafc;
}

.nav-lang:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.nav-lang option {
  color: #0f172a;
  background: #ffffff;
  font-weight: 500;
}

/* ARTICLES OVERVIEW */
.mag-articles{
  padding-top:72px;
}

.articles-hero{
  padding:2rem 2rem 0;
}

.articles-hero-inner{
  max-width:var(--mag-max);
  margin:0 auto;
  padding:5rem 4rem;
  text-align:center;
  background:var(--mag-cream-2);
  border-radius:30px;
  box-shadow:var(--mag-shadow);
}

.articles-hero-inner h1{
  font-size:clamp(2.7rem,5vw,5.2rem);
}

.articles-hero-inner p{
  max-width:760px;
  margin:0 auto;
  font-size:1.08rem;
}

.articles-list-section{
  padding-top:4rem;
}

.articles-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:1.6rem;
}

.article-list-card{
  background:var(--mag-white);
  border:1px solid var(--mag-border);
  border-radius:var(--mag-radius);
  overflow:hidden;
  box-shadow:0 12px 32px rgba(15,39,66,.06);
  transition:transform .2s ease, box-shadow .2s ease;
}

.article-list-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 38px rgba(15,39,66,.10);
}

.article-list-image{
  display:block;
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#d8e4ef;
}

.article-list-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.article-list-card:hover .article-list-image img{
  transform:scale(1.03);
}

.article-list-body{
  padding:1.45rem 1.45rem 1.6rem;
}

.article-list-body h2{
  font-size:1.65rem;
  margin-bottom:.7rem;
}

.article-list-body p{
  font-size:.96rem;
}

.article-list-meta{
  margin-bottom:.75rem;
  font-size:.86rem;
  color:rgba(19,32,44,.55);
}

.articles-empty{
  max-width:720px;
  margin:0 auto;
  padding:3rem;
  text-align:center;
  background:var(--mag-white);
  border-radius:var(--mag-radius);
  border:1px solid var(--mag-border);
  box-shadow:0 12px 32px rgba(15,39,66,.05);
}

.articles-pagination{
  margin-top:3rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.75rem;
}

.pagination-link,
.pagination-pages a,
.pagination-pages span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 .9rem;
  border-radius:999px;
  background:var(--mag-white);
  border:1px solid var(--mag-border);
  color:var(--mag-navy);
  font-weight:700;
  font-size:.92rem;
}

.pagination-pages{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.45rem;
}

.pagination-pages .is-current{
  background:var(--mag-navy);
  color:var(--mag-white);
  border-color:var(--mag-navy);
}

.pagination-link.is-disabled{
  opacity:.4;
  cursor:not-allowed;
}

.pagination-status{
  flex-basis:100%;
  text-align:center;
  margin-top:.5rem;
  color:var(--mag-muted);
  font-size:.9rem;
}

.mag-articles[dir="rtl"] .article-list-body{
  text-align:right;
}

@media (max-width: 980px){
  .mag-articles{
    padding-top:66px;
  }

  .articles-hero{
    padding:1rem 1rem 0;
  }

  .articles-hero-inner{
    padding:3.5rem 1.5rem;
  }

  .articles-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 640px){
  .articles-list-section{
    padding-top:3rem;
  }

  .articles-grid{
    grid-template-columns:1fr;
  }

  .articles-hero-inner h1{
    font-size:2.45rem;
  }

  .pagination-link,
  .pagination-pages a,
  .pagination-pages span{
    min-width:38px;
    height:38px;
    padding:0 .75rem;
    font-size:.86rem;
  }
}

:root{
  --tf-ease:cubic-bezier(.25,.46,.45,.94);
  --tf-shadow-soft:0 10px 30px rgba(40,24,12,.06);
  --tf-shadow-card:0 16px 38px rgba(40,24,12,.10);
  --tf-shadow-hover:0 24px 60px rgba(40,24,12,.16);
  --tf-radius:22px;
  --tf-radius-lg:30px;
}

/* algemene flow */

.tcm-food-home{
  overflow:hidden;
}

.section{
  max-width:var(--mag-max,1200px);
  padding:6rem 2rem;
}

.section-alt{
  max-width:none;
  background:var(--mag-cream-2);
}

.section-alt > .section-head,
.section-alt > .tf-card-grid,
.section-alt > .tf-principles-grid,
.section-alt > .tf-elements-grid{
  max-width:var(--mag-max,1200px);
  margin-left:auto;
  margin-right:auto;
}

.section-head{
  max-width:760px;
  margin-bottom:3rem;
}

.section-head h2,
.tf-two-col h2,
.tf-dark-band h2{
  letter-spacing:-.03em;
  line-height:1.04;
}

.section-head p,
.tf-two-col p{
  font-size:1.02rem;
  line-height:1.85;
}

/* hero zoals Chimedics-flow */

.tf-hero{
  padding:clamp(1rem,2.5vw,2.5rem);
}

.tf-hero-inner{
  border-radius:32px;
  box-shadow:0 30px 80px rgba(20,12,6,.20);
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
}

.tf-hero-copy{
  position:relative;
  overflow:hidden;
}

.tf-hero-copy::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:28px 28px;
  pointer-events:none;
}

.tf-hero-copy > *{
  position:relative;
  z-index:1;
}

.tf-hero-copy h1{
  letter-spacing:-.04em;
  line-height:1.02;
}

.tf-hero-copy p{
  line-height:1.85;
}

.tf-hero-media img{
  transition:transform .7s var(--tf-ease);
}

.tf-hero-inner:hover .tf-hero-media img{
  transform:scale(1.035);
}

/* knoppen */

.btn,
.card-link,
.element-link,
.season-link{
  transition:all .24s var(--tf-ease);
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(20,12,6,.14);
}

.card-link,
.element-link,
.season-link{
  display:inline-flex;
  margin-top:1rem;
  font-weight:700;
  color:var(--tf-gold);
}

.card-link:hover,
.element-link:hover,
.season-link:hover{
  transform:translateX(5px);
}

/* cards algemeen */

.tf-principle-card,
.tf-info-card,
.tf-element-card,
.tf-season-card,
.tf-food-card{
  position:relative;
  overflow:hidden;
  border-radius:var(--tf-radius);
  box-shadow:var(--tf-shadow-soft);
  transition:
    transform .28s var(--tf-ease),
    box-shadow .28s var(--tf-ease),
    border-color .28s var(--tf-ease),
    background .28s var(--tf-ease);
}

.tf-principle-card:hover,
.tf-info-card:hover,
.tf-element-card:hover,
.tf-season-card:hover,
.tf-food-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--tf-shadow-hover);
}

/* subtiele glans op cards */

.tf-principle-card::after,
.tf-info-card::after,
.tf-element-card::after,
.tf-season-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.35),transparent 42%);
  opacity:0;
  transition:opacity .28s var(--tf-ease);
  pointer-events:none;
}

.tf-principle-card:hover::after,
.tf-info-card:hover::after,
.tf-element-card:hover::after,
.tf-season-card:hover::after{
  opacity:1;
}

/* principe cards */

.tf-principle-card{
  background:rgba(255,255,255,.82);
  border:1px solid var(--mag-border);
}

.tf-principle-card span{
  color:var(--mag-navy);
  transition:transform .28s var(--tf-ease), color .28s var(--tf-ease);
}

.tf-principle-card:hover span{
  transform:translateY(-3px);
  color:var(--tf-gold);
}

/* elementen */

.tf-elements-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:1.25rem;
}

.tf-element-card{
  background:#fff;
  border:1px solid var(--mag-border);
  padding:1.6rem;
  min-height:220px;
  display:flex;
  flex-direction:column;
}

.element-symbol{
  display:block;
  color:var(--mag-navy);
  font-size:2.7rem;
  line-height:1;
  margin-bottom:1rem;
  font-family:"Cormorant Garamond",Georgia,serif;
}

.tf-element-card h3{
  font-size:1.55rem;
}

.tf-element-card p{
  font-size:.94rem;
  margin-bottom:auto;
}

/* info cards */

.tf-info-card{
  background:#fff;
  border:1px solid var(--mag-border);
  padding:1.7rem;
}

.tf-info-card h3{
  color:var(--mag-navy);
  font-size:1.65rem;
}

.tf-info-card p{
  font-size:.96rem;
  line-height:1.75;
}

/* donkere statement band */

.tf-dark-band{
  position:relative;
  overflow:hidden;
  margin:2rem 0;
}

.tf-dark-band::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:30px 30px;
}

.tf-dark-band::after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  right:-160px;
  top:-160px;
  border-radius:50%;
  background:rgba(197,154,70,.13);
  filter:blur(10px);
}

.tf-dark-band-inner{
  position:relative;
  z-index:1;
}

/* seizoenen */

.tf-season-grid{
  gap:1.35rem;
}

.tf-season-card{
  background:#fff;
  border:1px solid var(--mag-border);
  padding:1.6rem;
  display:block;
}

.tf-season-card span:first-child{
  display:block;
  color:var(--mag-navy);
  font-size:2.7rem;
  line-height:1;
  margin-bottom:.85rem;
  font-family:"Cormorant Garamond",Georgia,serif;
}

.tf-season-card h3{
  font-size:1.55rem;
}

/* receptkaarten */

.tf-food-card{
  min-height:340px;
  background:
    linear-gradient(145deg,rgba(59,53,89,.94),rgba(17,16,15,.94));
  border:1px solid rgba(255,255,255,.08);
}

.tf-food-card::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:24px 24px;
  opacity:.7;
}

.tf-food-card-body{
  position:relative;
  z-index:1;
  padding:1.8rem;
}

.tf-food-card h3{
  font-size:2rem;
}

/* ingrediëntenlijst */

.tf-ingredient-list div{
  transition:all .24s var(--tf-ease);
}

.tf-ingredient-list div:hover{
  transform:translateX(5px);
  box-shadow:var(--tf-shadow-card);
  border-color:rgba(197,154,70,.35);
}

/* twee kolommen */

.tf-two-col{
  align-items:center;
  gap:4.5rem;
}

/* animatie bij laden */

.tf-hero,
.section,
.tf-dark-band{
  animation:tfFadeUp .65s var(--tf-ease) both;
}

@keyframes tfFadeUp{
  from{
    opacity:0;
    transform:translateY(24px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* nav iets premiumer */

.site-nav{
  box-shadow:0 12px 32px rgba(0,0,0,.16);
}

.nav-links{
  border:1px solid rgba(255,255,255,.08);
}

.nav-links a{
  transition:all .22s var(--tf-ease);
}

.nav-links a:hover{
  transform:translateX(5px);
}

/* footer premium */

.footer{
  position:relative;
  overflow:hidden;
}

.footer::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:26px 26px;
}

.footer-inner,
.footer-bottom{
  position:relative;
  z-index:1;
}

/* responsive */

@media (max-width:1180px){
  .tf-elements-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:980px){
  .section{
    padding:4.5rem 1.5rem;
  }

  .tf-hero-inner,
  .tf-two-col{
    grid-template-columns:1fr;
  }

  .tf-elements-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .tf-hero-media{
    min-height:360px;
  }
}

@media (max-width:640px){
  .section{
    padding:3.5rem 1rem;
  }

  .tf-hero{
    padding:0;
  }

  .tf-hero-inner{
    border-radius:0;
  }

  .tf-elements-grid{
    grid-template-columns:1fr;
  }

  .tf-food-card{
    min-height:300px;
  }

  .tf-two-col{
    gap:2rem;
  }
}

/* =====================================================
   CATEGORIES.PHP & RECIPES.PHP
   ===================================================== */

/* Categories Hero */
.categories-hero,
.recipes-hero {
    padding: 2rem;
    background: linear-gradient(135deg, #3d375f 0%, #27233c 100%);
    color: white;
}

.categories-hero-inner,
.recipes-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.categories-hero h1,
.recipes-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: white;
    margin-bottom: 1rem;
}

.categories-hero p,
.recipes-hero p {
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* Category Block */
.category-block {
    margin-bottom: 3rem;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: #f8f6f2;
    border-left: 6px solid;
}

.category-icon {
    font-size: 3rem;
}

.category-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.category-header p {
    margin: 0;
    color: #666;
}

/* Syndromes Grid */
.syndromes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.syndrome-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #fefefe;
    border: 1px solid #e0ddd8;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.syndrome-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #c59a46;
}

.syndrome-code {
    font-family: monospace;
    font-weight: 700;
    color: #3b3559;
}

.syndrome-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: #f0ede7;
    color: #8b7355;
}

.syndrome-card.has-recipe .syndrome-status {
    background: #c59a46;
    color: white;
}

.no-syndromes {
    padding: 2rem;
    text-align: center;
    color: #999;
    grid-column: 1 / -1;
}

/* Progress Bar */
.progress-bar-container {
    background: #e0ddd8;
    border-radius: 30px;
    height: 12px;
    overflow: hidden;
    max-width: 600px;
    margin: 1rem auto 0;
}

.progress-bar {
    background: #c59a46;
    height: 100%;
    width: 0%;
    border-radius: 30px;
    transition: width 0.5s ease;
}

/* Recipes Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.recipe-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recipe-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.recipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-card-image img {
    transform: scale(1.03);
}

.recipe-card-body {
    padding: 1.5rem;
}

.recipe-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #8b7355;
}

.recipe-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.tcm-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c59a46;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.indications-preview {
    font-size: 0.9rem;
    color: #5c5a55;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.recipe-read-more {
    display: inline-block;
    font-weight: 700;
    color: #3b3559;
}

.recipe-read-more::after {
    content: " →";
}

.recipes-back-link {
    margin-top: 3rem;
    text-align: center;
}

.recipes-empty {
    text-align: center;
    padding: 4rem;
    background: white;
    border-radius: 24px;
}

/* Recipe Detail Page */
.recipe-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
	margin-top: 70px;
}

.recipe-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.recipe-detail-media {
    overflow: hidden;
}

.recipe-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-detail-info {
    padding: 2rem;
}

.recipe-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #8b7355;
}

.recipe-detail-info h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.tcm-badge {
    display: inline-block;
    background: #c59a46;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.recipe-indications {
    background: #f8f6f2;
    padding: 1rem 1.25rem;
    border-radius: 16px;
}

.recipe-indications strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #3b3559;
}

.recipe-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.recipe-ingredients h2,
.recipe-preparation h2,
.recipe-usage h2,
.recipe-contraindications h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0ede7;
}

.recipe-usage,
.recipe-contraindications {
    grid-column: span 2;
}

.recipe-back-link {
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .recipe-detail-header {
        grid-template-columns: 1fr;
    }
    
    .recipe-detail-content {
        grid-template-columns: 1fr;
    }
    
    .recipe-usage,
    .recipe-contraindications {
        grid-column: span 1;
    }
    
    .syndromes-grid {
        grid-template-columns: 1fr;
    }
}

.syndrome-status.has-recipe {
    color: #2e7d32;
    font-weight: 500;
}

.syndrome-status:not(.has-recipe) {
    color: #999;
    font-style: italic;
}

.syndrome-card.has-recipe {
    border-left-color: #2e7d32;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.pagination a {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background: #2e7d32;
    color: white;
}

.pagination-info {
    color: #666;
}

.tf-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b58b2a;
  margin-bottom: 14px;
}

.tf-icon svg {
  width: 42px;
  height: 42px;
  fill: currentColor;
  display: block;
}

/* =====================================================
   TCM FOOD FOOTER
   ===================================================== */

.tf-footer{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(197,154,70,.16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(192,192,192,.10), transparent 30%),
    #3b3559;
  color:#ffffff;
  padding:4rem 2rem 1.5rem;
}

.tf-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:26px 26px;
  pointer-events:none;
}

.tf-footer-inner{
  position:relative;
  z-index:1;
  max-width:var(--mag-max, 1200px);
  margin:0 auto;
}

.tf-footer-brand{
  max-width:680px;
  margin-bottom:2.8rem;
}

.tf-footer-brand h2{
  color:#fff8ec;
  font-size:clamp(2.1rem, 4vw, 3.4rem);
  margin-bottom:.8rem;
}

.tf-footer-brand p{
  max-width:560px;
  color:rgba(255,255,255,.74);
  font-size:1rem;
  line-height:1.75;
  margin:0;
}

.tf-footer-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr 1fr;
  gap:2rem;
  padding-bottom:2.5rem;
  border-bottom:1px solid rgba(255,255,255,.14);
}

.tf-footer-col h3{
  color:#fff8ec;
  font-family:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size:.95rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin:0 0 1rem;
}

.tf-footer-col ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:.7rem;
}

.tf-footer-col a{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  color:rgba(255,255,255,.72);
  font-size:.96rem;
  line-height:1.45;
  transition:color .22s ease, transform .22s ease;
}

.tf-footer-col a:hover{
  color:#fff8ec;
  transform:translateX(5px);
}

.tf-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  padding-top:1.2rem;
  color:rgba(255,255,255,.62);
  font-size:.9rem;
}

.tf-footer-bottom p{
  color:rgba(255,255,255,.62);
  margin:0;
}

/* Optioneel: betere focus voor toetsenbordnavigatie */
.tf-footer a:focus-visible{
  outline:2px solid var(--tf-gold, #c59a46);
  outline-offset:4px;
  border-radius:6px;
}

/* Responsive footer */
@media (max-width:980px){
  .tf-footer{
    padding:3.5rem 1.5rem 1.4rem;
  }

  .tf-footer-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:2rem 1.5rem;
  }
}

@media (max-width:640px){
  .tf-footer{
    padding:3rem 1rem 1.2rem;
  }

  .tf-footer-brand{
    margin-bottom:2rem;
  }

  .tf-footer-grid{
    grid-template-columns:1fr;
    gap:1.8rem;
  }

  .tf-footer-col a{
    width:100%;
  }

  .tf-footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* =====================================================
   NIEUWE SYNDROME CARDS LAYOUT
   ===================================================== */

.syndromes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.25rem;
    padding: 1.5rem;
}

/* CARD BASIS */

.syndrome-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 170px;
    padding: 1.35rem 1.35rem 1.2rem;

    background: #ffffff;
    border: 1px solid #e5dfd7;
    border-radius: 22px;

    text-decoration: none;
    overflow: hidden;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.04);
}

.syndrome-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 38px rgba(0,0,0,0.10);

    border-color: #c59a46;
}

/* SUBTIELE GLOW */

.syndrome-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.55),
            transparent 42%
        );

    pointer-events: none;
}

/* BOVENSTE RIJ */

.syndrome-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;

    margin-bottom: 1rem;
}

/* NAAM */

.syndrome-name {
    display: block;

    font-size: 1.2rem;
    line-height: 1.45;
    font-weight: 700;

    color: #241f38;

    overflow-wrap: anywhere;
    word-break: break-word;

    flex: 1;
}

/* CODE */

.syndrome-code {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 92px;
    height: 34px;

    padding: 0 .85rem;

    border-radius: 999px;

    background: #f4f1ec;
    border: 1px solid #e6ddd1;

    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .04em;

    color: #3b3559;
}

/* STATUS */

.syndrome-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-height: 36px;

    padding: .55rem 1rem;

    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;

    margin-top: auto;
}

/* HAS RECIPE */

.syndrome-card.has-recipe {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfaf6 100%
        );

    border-color: rgba(197,154,70,0.30);
}

.syndrome-card.has-recipe .syndrome-status {
    background: #c59a46;
    color: #ffffff;
}

.syndrome-card.has-recipe .syndrome-code {
    background: rgba(197,154,70,0.10);
    border-color: rgba(197,154,70,0.22);
    color: #8a6424;
}

/* NO RECIPE */

.syndrome-card.no-recipe {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8f8f8 100%
        );
}

.syndrome-card.no-recipe .syndrome-status {
    background: #ece9e4;
    color: #85796b;
}

.syndrome-card.no-recipe .syndrome-code {
    background: #f5f5f5;
    color: #777;
}

/* MOBILE */

@media (max-width: 768px) {

    .syndromes-grid {
        grid-template-columns: 1fr;
    }

    .syndrome-card {
        min-height: 150px;
        padding: 1.2rem;
    }

    .syndrome-card-top {
        flex-direction: column;
        align-items: flex-start;
        gap: .8rem;
    }

    .syndrome-code {
        min-width: auto;
    }

    .syndrome-name {
        font-size: 1.08rem;
    }
}

.footer-offices {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 34px 20px;
  color: #fff;
}

.footer-offices-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  color: #fff;
}

.footer-office,
.footer-office h5,
.footer-office p,
.footer-office a {
  color: #fff;
}

.footer-office h5 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.footer-office p {
  margin: 0 0 12px;
  line-height: 1.65;
  font-size: 14px;
}

.footer-office a {
  text-decoration: none;
}

.footer-office a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .footer-offices-inner {
    grid-template-columns: 1fr;
  }
}

.contact-page .contact-office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-office-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.contact-office-card h3 {
  margin: 0 0 14px;
}

.contact-office-card p {
  margin: 0 0 14px;
  line-height: 1.65;
}

.contact-office-card a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.contact-office-card a:hover {
  text-decoration: underline;
}

.contact-map {
  width: 100%;
  height: 520px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .contact-page .contact-office-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 420px;
  }
}

/* Footer offices (adressen) */
.footer-offices {
  max-width: var(--max, 1200px);
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-offices-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-office h5 {
  color: var(--white, #ffffff);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-office p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-office a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-office a:hover {
  color: var(--china-gold-light, #aaaaaa);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Responsive */
@media (max-width: 1100px) {
  .footer-offices-inner {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer-offices-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Footer sites - logo links */
.footer-sites {
  max-width: 1320px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
}

.footer-site-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: 16px;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.footer-site-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-site-card img {
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.footer-site-card span {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

.footer-site-card:hover span {
  color: #ffffff;
}

/* Tablet */
@media (max-width: 1100px) {
  .footer-sites {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mobiel */
@media (max-width: 768px) {
  .footer-sites {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Kleine mobiel */
@media (max-width: 480px) {
  .footer-sites {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
