/* GGG Affiliate-System – zentrale, wiederverwendbare Komponenten */
.ggg-affiliate-box{
  --ggg-paper:#F5F0E6;
  --ggg-ink:#1E2220;
  --ggg-red:#B84E2D;
  --ggg-green:#33483D;
  --ggg-blue:#53636A;
  --ggg-wood:#8A6A4A;
  box-sizing:border-box;
  width:100%;
  margin:32px auto 38px;
  padding:28px 30px;
  border:1px solid rgba(184,78,45,.34);
  border-radius:14px;
  background:linear-gradient(145deg,#F8F3E9 0%,var(--ggg-paper) 100%);
  color:var(--ggg-ink);
  box-shadow:0 8px 24px rgba(30,34,32,.045);
  text-align:left;
}
.ggg-affiliate-box .wp-block-group__inner-container{width:100%;}
.ggg-affiliate-box h2,.ggg-affiliate-box h3,.ggg-affiliate-box p{max-width:none;}
.ggg-affiliate-box p{margin-top:0;margin-bottom:14px;line-height:1.68;}
.ggg-affiliate-box a{color:var(--ggg-red);font-weight:700;text-decoration-thickness:1px;text-underline-offset:3px;}
.ggg-affiliate-box a:hover{color:var(--ggg-green);}
.ggg-affiliate-title,.ggg-affiliate-partners,.ggg-affiliate-closing{
  font-family:Kaushan,"Kaushan Script",cursive;
  font-weight:400;
  line-height:1.25;
}
.ggg-affiliate-title{
  margin:0 0 18px !important;
  color:var(--ggg-red) !important;
  font-size:clamp(2rem,4vw,2.55rem);
  letter-spacing:.005em;
}
.ggg-affiliate-partners{
  position:relative;
  margin:26px 0 16px !important;
  padding-top:22px;
  color:var(--ggg-green) !important;
  font-size:clamp(1.55rem,3vw,1.9rem);
}
.ggg-affiliate-partners:before{
  content:"";
  position:absolute;
  top:0;left:0;
  width:100%;height:1px;
  background:linear-gradient(90deg,rgba(184,78,45,.42),rgba(51,72,61,.16),transparent);
}
.ggg-affiliate-closing{
  position:relative;
  margin:24px 0 0 !important;
  padding:18px 0 0;
  color:var(--ggg-red);
  font-size:clamp(1.35rem,2.7vw,1.7rem);
}
.ggg-affiliate-closing:before{
  content:"";
  position:absolute;
  top:0;left:0;
  width:72px;height:1px;
  background:rgba(184,78,45,.55);
}

/* GANZ GROSS – zentrale Packlisten und große Guides */
.ggg-affiliate-box--xl{
  max-width:none;
  border-color:rgba(184,78,45,.38);
  box-shadow:inset 4px 0 0 rgba(184,78,45,.48),0 8px 24px rgba(30,34,32,.045);
}
.ggg-affiliate-box--xl:before{
  content:"♡  ♡  ♡";
  display:block;
  margin:0 0 9px;
  color:var(--ggg-red);
  font-size:.82rem;
  letter-spacing:.32em;
  opacity:.82;
}
/* In der XL-Box arbeiten Abstand und Typografie als Trenner – keine Zusatzlinien. */
.ggg-affiliate-box--xl .ggg-affiliate-partners{
  padding-top:0;
  margin-top:30px !important;
}
.ggg-affiliate-box--xl .ggg-affiliate-partners:before,
.ggg-affiliate-box--xl .ggg-affiliate-closing:before{
  display:none;
}
.ggg-affiliate-box--xl .ggg-affiliate-closing{
  padding-top:0;
  margin-top:28px !important;
}

/* GROSS – normale Ausrüstungsartikel */
.ggg-affiliate-box--large{
  max-width:none;
  padding:25px 28px;
  border-color:rgba(51,72,61,.34);
  box-shadow:inset 4px 0 0 rgba(51,72,61,.42),0 6px 20px rgba(30,34,32,.038);
}
.ggg-affiliate-box--large .ggg-affiliate-title{font-size:clamp(1.8rem,3.5vw,2.25rem);}

/* MITTEL – wenige Empfehlungen */
.ggg-affiliate-box--medium{
  max-width:760px;
  padding:21px 24px;
  border-color:rgba(83,99,106,.36);
  background:#F7F2E8;
  box-shadow:inset 3px 0 0 rgba(83,99,106,.42);
}
.ggg-affiliate-box--medium .ggg-affiliate-title{font-size:clamp(1.6rem,3.2vw,2rem);margin-bottom:12px !important;}

/* MINI – unmittelbarer Sternchen-Hinweis beim Produktlink */
.ggg-affiliate-box--mini{
  max-width:none;
  width:100%;
  margin:16px auto 20px;
  padding:11px 14px;
  border:1px solid rgba(184,78,45,.36);
  border-radius:10px;
  background:#F8F3E9;
  box-shadow:none;
  font-size:.92em;
}
.ggg-affiliate-box--mini p{margin:0;line-height:1.5;}

/* Produkt-Empfehlungen bleiben eigenständige redaktionelle Komponenten. */
.ggg-product-recommendation{box-sizing:border-box;margin:2rem auto;padding:1.35rem 1.5rem;max-width:800px;border:1px solid rgba(83,99,106,.25);border-radius:14px;background:#fffdf8;}
.ggg-product-label{font-weight:700;color:var(--ggg-green);margin-bottom:.4rem;}
.ggg-product-recommendation h3{margin:.25rem 0 .6rem;}
.ggg-product-cta{display:inline-block;margin-top:.5rem;color:var(--ggg-red);font-weight:700;text-decoration:none;}
.ggg-product-cta:hover{text-decoration:underline;}

/* Post 656: ausschließlich Layout/Spacing der vorhandenen Packlistenboxen. */
.postid-656 .entry-content>div[style*="background:#E5ECEF"],
.postid-656 .entry-content>div[style*="background:#E8EEE9"]{
  text-align:left !important;
}
.postid-656 .entry-content>div[style*="background:#E5ECEF"]>h2,
.postid-656 .entry-content>div[style*="background:#E8EEE9"]>h2{
  margin:0 0 14px !important;
  line-height:1.28;
}
.postid-656 .entry-content>div[style*="background:#E5ECEF"]>p,
.postid-656 .entry-content>div[style*="background:#E8EEE9"]>p{
  margin-top:0;
  margin-bottom:14px;
}
.postid-656 .entry-content>div[style*="background:#E5ECEF"]>div[style*="background:#F3DDD5"],
.postid-656 .entry-content>div[style*="background:#E8EEE9"]>div[style*="background:#F3DDD5"]{
  margin-top:18px !important;
  margin-bottom:16px !important;
  text-align:left !important;
}
.postid-656 .entry-content>div[style*="background:#E5ECEF"]>*:last-child,
.postid-656 .entry-content>div[style*="background:#E8EEE9"]>*:last-child{margin-bottom:0 !important;}

@media(max-width:600px){
  .ggg-affiliate-box{margin:24px auto 30px;padding:21px 20px;border-radius:12px;}
  .ggg-affiliate-box--xl{box-shadow:inset 3px 0 0 rgba(184,78,45,.48),0 6px 18px rgba(30,34,32,.04);}
  .ggg-affiliate-box--large{padding:20px 19px;box-shadow:inset 3px 0 0 rgba(51,72,61,.42);}
  .ggg-affiliate-box--medium{padding:18px 17px;}
  .ggg-affiliate-box--mini{margin:13px 0 17px;padding:10px 12px;border-radius:9px;}
  .ggg-affiliate-title{font-size:1.85rem;}
  .ggg-affiliate-partners{font-size:1.5rem;margin-top:22px !important;padding-top:18px;}
}
