/* 0.1.100 – original 0.1.97 R3 header restored; only detail body uses this stylesheet. */
.hbdp-detail-category{padding:21px 0 76px;min-width:0;color:#263831}
.hbdp-detail-category>.hbdp-crumb{margin:0 0 22px!important}
.hbdp-detail-heading{display:flex;align-items:center;justify-content:center;gap:19px;margin:0 auto 23px;max-width:1050px}
.hbdp-detail-head-icon{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;border:1px solid #e5d5cb;background:#faf8f4;border-radius:18px;color:#aa593e}
.hbdp-detail-head-icon svg{width:38px;height:38px}
.hbdp-detail-heading>div{min-width:0}
.hbdp-detail-kicker{display:block;color:#a45c46;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.hbdp-detail-heading h1{font-family:Georgia,serif;font-size:clamp(30px,4.4vw,48px);line-height:1.12;color:#2b392f;font-weight:600;margin:4px 0 0}
.hbdp-detail-intro{max-width:1000px;margin:0 auto 31px;border:1px solid #e8ded6;border-left:3px solid #b35c40;border-radius:4px;background:#faf8f4;overflow:hidden}
.hbdp-detail-intro p{font-size:16px;line-height:1.74;color:#34483e}
.hbdp-detail-intro .hbdp-detail-lead{padding:19px 25px 15px;margin:0}
.hbdp-detail-accordion{border-top:1px solid #e8ded6}
.hbdp-detail-accordion summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 20px 14px;color:#aa593e;font-size:13px;font-weight:700;cursor:pointer;user-select:none}
.hbdp-detail-accordion summary::-webkit-details-marker{display:none}
.hbdp-detail-accordion summary:hover,.hbdp-detail-accordion summary:focus-visible{text-decoration:underline}
.hbdp-detail-chevron{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .18s;margin-top:-4px}
.hbdp-detail-accordion[open] .hbdp-detail-chevron{transform:rotate(225deg);margin-top:5px}
.hbdp-detail-expansion{padding:2px 25px 20px}.hbdp-detail-expansion p{margin:12px 0 0}
.hbdp-detail-section{margin:33px 0 0}.hbdp-detail-section h2{font-family:Georgia,serif;color:#2f4135;font-size:clamp(22px,3vw,28px);font-weight:600;margin:0 0 18px}
.hbdp-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.hbdp-detail-tile{display:flex;flex-direction:column;gap:10px;align-items:flex-start;min-height:161px;border:1px solid #e7ddd6;background:#fff;border-radius:9px;padding:19px;box-shadow:0 4px 18px rgba(55,43,33,.035);transition:background .15s,border-color .15s,transform .15s;text-decoration:none!important;color:#304338!important}
.hbdp-detail-tile:hover,.hbdp-detail-tile:focus-visible{background:#faf8f4;border-color:#b35c40;transform:translateY(-2px)}
.hbdp-detail-tile-icon{color:#b35c40;height:39px;display:grid;place-items:center}.hbdp-detail-tile-icon svg{width:35px;height:35px}
.hbdp-detail-tile strong{font-family:Georgia,serif;font-size:17px;font-weight:600;line-height:1.25}
.hbdp-detail-tile-arrow{color:#a85f49;margin-top:auto;align-self:flex-end;font-size:18px}
.hbdp-detail-banner,.hbdp-detail-sponsor{margin:22px 0;border:1px solid #e6d9cf;border-radius:5px;padding:13px 19px;min-width:0;overflow-wrap:anywhere}
.hbdp-detail-banner small,.hbdp-detail-sponsor small{display:block;font-size:10px;letter-spacing:.1em;color:#9c6c54;font-weight:700;margin-bottom:10px}
.hbdp-detail-banner p,.hbdp-detail-admin-placeholder{font-size:13px;color:#657069;margin:0}
.hbdp-detail-products-feed{min-width:0}.hbdp-detail-products-feed img,.hbdp-detail-banner img{max-width:100%;height:auto}
.hbdp-detail-products-feed>*{max-width:100%}
.hbdp-detail-guides-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.hbdp-detail-guide{border:1px solid #e9dfd7;border-radius:8px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0;text-decoration:none!important;color:#34483e!important}
.hbdp-detail-guide img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.hbdp-detail-guide>span{display:flex;flex-direction:column;gap:9px;padding:17px}
.hbdp-detail-guide small{font-size:11px;color:#9b674e}.hbdp-detail-guide strong{font-size:15px;line-height:1.3}.hbdp-detail-guide em{font-style:normal;color:#b35c40;font-size:12px;font-weight:700;margin-top:auto}
.hbdp-detail-sponsor{display:flex;flex-direction:column;gap:8px;margin-top:35px;background:#faf8f4}
.hbdp-detail-sponsor a{color:#b35c40}
@media(max-width:900px){.hbdp-detail-grid,.hbdp-detail-guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.hbdp-detail-category{padding-top:15px}.hbdp-detail-heading{justify-content:flex-start;gap:12px}.hbdp-detail-head-icon{width:54px;height:54px;flex-basis:54px}.hbdp-detail-head-icon svg{width:30px;height:30px}.hbdp-detail-heading h1{font-size:clamp(29px,8vw,38px)}.hbdp-detail-intro .hbdp-detail-lead{padding:15px 16px}.hbdp-detail-expansion{padding:2px 16px 17px}.hbdp-detail-grid,.hbdp-detail-guides-grid{grid-template-columns:1fr}.hbdp-detail-tile{min-height:118px}}

/* The restored R3 header owns its exact dimensions/typography via area-prototype.css. */
.hbdp-r3-page .hbdp-detail-category{padding-top:0;padding-bottom:0}

/* HBDP R3 DESIGN FIX 0.1.104 – visual only, no content or hero changes */
/* Only detail categories at the same level as Blitzschutz & Geräte. */
.hbdp-r3-page .hbdp-area-demo-inner.hbdp-detail-category {
    padding-top:36px !important;
    background:#fff !important;
}
.hbdp-r3-page .hbdp-detail-intro {
    border:0 !important;
    border-left:0 !important;
    border-right:0 !important;
    border-top:0 !important;
    border-bottom:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    background:#fff !important;
}
.hbdp-r3-page .hbdp-detail-intro .hbdp-detail-lead {
    background:#FAF8F4 !important;
    margin:0 !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
}
.hbdp-r3-page .hbdp-detail-intro .hbdp-detail-accordion,
.hbdp-r3-page .hbdp-detail-intro .hbdp-detail-accordion > summary,
.hbdp-r3-page .hbdp-detail-intro .hbdp-detail-expansion,
.hbdp-r3-page .hbdp-detail-intro .hbdp-detail-expansion p {
    background:#fff !important;
    border:0 !important;
    border-left:0 !important;
    border-top:0 !important;
    border-bottom:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}
.hbdp-r3-page .hbdp-detail-intro .hbdp-detail-accordion > summary {
    text-decoration:none !important;
}
@media (max-width:600px) {
    .hbdp-r3-page .hbdp-area-demo-inner.hbdp-detail-category {
        padding-top:24px !important;
    }
}


/* 0.1.106 – scoped product-tile pilot; only Schaufenster vor Sachbeschädigung. */
.hbdp-detail-grid.hbdp-detail-grid-product-pilot{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.hbdp-detail-grid-product-pilot>.hbdp-detail-tile{box-sizing:border-box;width:100%;height:100%;min-width:0;min-height:161px}
.hbdp-detail-grid-product-pilot .hbdp-detail-inline-product{background:#FAF8F4;display:flex;flex-direction:column;gap:6px}
.hbdp-detail-inline-heading{color:#a66048;font:700 10px/1.25 Arial,Helvetica,sans-serif;letter-spacing:.045em;text-transform:uppercase}
.hbdp-detail-inline-product .hbdp-detail-tile-icon{height:29px}
.hbdp-detail-inline-product .hbdp-detail-tile-icon svg{width:27px;height:27px}
.hbdp-detail-inline-product .hbdp-detail-tile strong{font-size:16px}
.hbdp-detail-inline-product strong{font-size:16px;line-height:1.25}
.hbdp-detail-inline-meta{font-size:12px;line-height:1.35;color:#526259;overflow-wrap:anywhere}
.hbdp-detail-inline-image{display:block;max-height:33px;max-width:76px;width:auto;height:auto;object-fit:contain}
.hbdp-detail-inline-demo{border-style:dashed;cursor:default}
.hbdp-detail-inline-demo:hover{border-color:#e7ddd6;transform:none}
@media(max-width:900px){.hbdp-detail-grid.hbdp-detail-grid-product-pilot{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
 .hbdp-detail-grid.hbdp-detail-grid-product-pilot{grid-template-columns:1fr}
 .hbdp-detail-grid-product-pilot>.hbdp-detail-tile{min-height:104px;padding:12px 15px;gap:4px}
 .hbdp-detail-grid-product-pilot>.hbdp-detail-inline-product{min-height:104px;display:grid;grid-template-columns:40px 1fr auto;grid-template-rows:auto auto 1fr;column-gap:8px;row-gap:1px;align-content:center;align-items:center}
 .hbdp-detail-inline-product .hbdp-detail-inline-heading{grid-column:2/4;grid-row:1}
 .hbdp-detail-inline-product .hbdp-detail-tile-icon{grid-column:1;grid-row:1/4;align-self:center}
 .hbdp-detail-inline-product strong{grid-column:2/4;grid-row:2;font-size:15px}
 .hbdp-detail-inline-product .hbdp-detail-inline-meta{grid-column:2/4;grid-row:3;font-size:11px}
 .hbdp-detail-inline-product .hbdp-detail-tile-arrow{display:none}
}

/* 0.1.107 – three distinct affiliate tiles interleaved after two topic cards; no duplicate rows. */
.hbdp-detail-grid-product-pilot .hbdp-detail-inline-product{border-color:#ead8cc}
.hbdp-detail-grid-product-pilot .hbdp-detail-inline-demo{border-style:dashed}


/* RC18 - native, portal-scoped ad tiles. No new banner engine. */
.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile{align-self:stretch!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border:0!important;border-radius:2px!important;padding:0!important;margin:0!important;box-shadow:none!important;background:transparent!important;box-sizing:border-box!important;position:relative!important}
body :is(.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile) :is(.hbdp-world-ad-tile,.hbdp-world-ad-media,.ppar-affiliate-slot.ppar-hb-amazon-house,.ppar-hb-amazon-house-link){width:100%!important;height:100%!important;min-height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:hidden!important;border-radius:2px!important;display:block!important;position:relative!important}
body :is(.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile) :is(.ppar-affiliate-label,.hbdp-world-ad-tile>small){display:none!important}
body :is(.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile) .ppar-hb-amazon-house-photo:after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(249,245,237,.93) 0%,rgba(249,245,237,.64) 27%,rgba(249,245,237,.07) 72%,transparent 100%)!important;pointer-events:none!important}
body :is(.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile) .ppar-hb-amazon-house-content{display:flex!important;position:relative!important;z-index:2!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:4px!important;width:100%!important;height:100%!important;padding:clamp(9px,1.7vw,14px)!important;box-sizing:border-box!important;background:none!important}
body :is(.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile) .ppar-hb-amazon-house-title{font-size:clamp(14px,1.65vw,21px)!important;line-height:1.12!important;max-width:100%!important}
body :is(.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile) .ppar-hb-amazon-house-cta{margin-top:auto!important;padding:7px 10px!important;min-height:33px!important;align-self:flex-start!important;border-radius:2px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;background:#ff9c16!important}
body :is(.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile) .ppar-hb-amazon-house-official{width:clamp(115px,15vw,160px)!important;max-height:27px!important;object-fit:contain!important}
.hbdp-world-page .hbdp-world-free-tile-span-4{grid-column:span 4!important;aspect-ratio:6/1!important}
.hbdp-area-page .hbdp-area-inline-desktop-3{grid-column:span 3!important;aspect-ratio:5.1/1!important}
.hbdp-detail-category .hbdp-detail-inline-ad-tile{grid-column:span 1;aspect-ratio:1.7/1;min-height:150px!important}
.hbdp-detail-category .hbdp-detail-inline-span-2{grid-column:span 2;aspect-ratio:3.4/1}
.hbdp-detail-category .hbdp-detail-inline-span-3{grid-column:span 3;aspect-ratio:5.1/1}
.hbdp-detail-category .hbdp-detail-inline-span-4{grid-column:span 4;aspect-ratio:6/1}
.hbdp-detail-category .hbdp-detail-inline-ad-tile .ppar-hb-amazon-house-photo,.hbdp-detail-category .hbdp-detail-inline-ad-tile .ppar-hb-amazon-house-photo img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}
/* Existing article preview components gain the same restrained hover affordance as topic cards. */
.hbdp-area-page .hbdp-area-demo-article,.hbdp-world-page .hbdp-world-article,.hbdp-detail-category .hbdp-detail-guide{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;will-change:transform}
.hbdp-area-page .hbdp-area-demo-article:hover,.hbdp-area-page .hbdp-area-demo-article:focus-within,.hbdp-world-page .hbdp-world-article:hover,.hbdp-world-page .hbdp-world-article:focus-within,.hbdp-detail-category .hbdp-detail-guide:hover,.hbdp-detail-category .hbdp-detail-guide:focus-visible{transform:translateY(-3px)!important;box-shadow:0 10px 23px rgba(22,46,34,.17)!important;border-color:#a3b29f!important}
@media(max-width:900px){
 .hbdp-world-page .hbdp-world-free-tile-span-4{grid-column:span 2!important;aspect-ratio:4.2/1!important}
 .hbdp-area-page .hbdp-area-inline-desktop-3{grid-column:span 1!important;aspect-ratio:1.7/1!important}
 .hbdp-area-page .hbdp-area-inline-tablet-2{grid-column:span 2!important;aspect-ratio:3.4/1!important}
 .hbdp-detail-category .hbdp-detail-inline-ad-tile{grid-column:span 1!important;aspect-ratio:1.7/1!important}
 .hbdp-detail-category .hbdp-detail-inline-span-2,.hbdp-detail-category .hbdp-detail-inline-span-3,.hbdp-detail-category .hbdp-detail-inline-span-4{grid-column:span 2!important;aspect-ratio:3.4/1!important}
}
@media(max-width:600px){
 .hbdp-world-page .hbdp-world-free-tile-span-4{grid-column:span 2!important;aspect-ratio:3.4/1!important}
 .hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-area-page .hbdp-area-inline-desktop-3,.hbdp-area-page .hbdp-area-inline-tablet-2{grid-column:span 1!important;aspect-ratio:1.7/1!important}
 .hbdp-detail-category .hbdp-detail-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-span-2,.hbdp-detail-category .hbdp-detail-inline-span-3,.hbdp-detail-category .hbdp-detail-inline-span-4{grid-column:span 1!important;aspect-ratio:1.7/1!important}
 body :is(.hbdp-world-page .hbdp-world-free-tile,.hbdp-area-page .hbdp-area-inline-ad-tile,.hbdp-detail-category .hbdp-detail-inline-ad-tile) .ppar-hb-amazon-house-cta{padding:6px 8px!important;min-height:31px!important}
}
@media(prefers-reduced-motion:reduce){.hbdp-area-page .hbdp-area-demo-article,.hbdp-world-page .hbdp-world-article,.hbdp-detail-category .hbdp-detail-guide{transition:none!important;will-change:auto}}

/* RC18 final original grid: finish partial tablet rows without dummy tiles. */
.hbdp-area-page .hbdp-area-demo-topics,.hbdp-detail-category .hbdp-detail-grid{grid-auto-flow:row dense!important}
@media(max-width:900px){.hbdp-detail-category .hbdp-detail-inline-tablet-1{grid-column:span 1!important;aspect-ratio:1.7/1!important}.hbdp-detail-category .hbdp-detail-inline-tablet-2{grid-column:span 2!important;aspect-ratio:3.4/1!important}}
@media(max-width:560px){.hbdp-detail-category .hbdp-detail-inline-tablet-2,.hbdp-detail-category .hbdp-detail-inline-tablet-1{grid-column:span 1!important;aspect-ratio:1.7/1!important}}

/* RC19: one actual text size for the visible and expanded top introductions.
 * Applies to every WordPress leaf category and R3, only on phones. */
@media (max-width:760px){
 .hbdp-detail-category .hbdp-detail-intro .hbdp-detail-lead,
 .hbdp-detail-category .hbdp-detail-intro .hbdp-detail-expansion,
 .hbdp-detail-category .hbdp-detail-intro .hbdp-detail-expansion p{
   font-size:16px!important;
   line-height:1.72!important;
   font-weight:400;
   letter-spacing:normal;
 }
}
