/* Discovery uses the programme directory and detail templates. */
.discovery-card{display:flex;flex-direction:column;padding:24px;gap:16px}.discovery-card .cardtop{align-items:center;gap:16px}.discovery-card .cardtop h3{margin:0}.discovery-card h3 a{color:inherit;text-decoration:none}.discovery-card>p{margin:0;line-height:1.65;flex:1}.result-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.result-actions .btn{white-space:normal;text-align:center}.discovery-card .result-actions{margin-top:auto;padding-top:8px}.brand-detail .prose{max-width:800px}.brand-lines{display:grid;grid-template-columns:1fr 1fr;gap:18px 28px}.brand-lines h3{margin:0 0 8px}.brand-lines p{margin:0;line-height:1.65}.brand-program-list{border-top:1px solid var(--line,#d9dfe8)}.brand-program-list article{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:24px 0;border-bottom:1px solid var(--line,#d9dfe8)}.brand-program-list article>div:first-child{max-width:720px}.brand-program-list h3{margin:0 0 8px}.brand-program-list h3 a{color:inherit;text-decoration:none}.brand-program-list p{margin:0;line-height:1.65}.detailtitle .result-actions{margin-top:22px}.joinbox .btn{margin-top:10px}#filters{scroll-margin-top:105px}a:focus-visible,input:focus-visible,select:focus-visible,button:focus-visible{outline:3px solid #987347;outline-offset:3px}@media(max-width:760px){.discovery-card{padding:20px}.brand-lines{grid-template-columns:1fr}.brand-program-list article{align-items:flex-start;flex-direction:column;gap:16px}.brand-program-list .result-actions{width:100%}.brand-program-list .result-actions .btn{flex:1}.discovery-card .result-actions .btn{flex:1}.detailtitle .result-actions{margin-top:16px}}

/* Brand results are horizontal rows within the common search results list. */
.discovery-card[data-result-type="brand"]{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 28px;padding:26px 28px}.discovery-card[data-result-type="brand"] .cardtop{grid-column:1;grid-row:1}.discovery-card[data-result-type="brand"]>p{grid-column:1;grid-row:2;max-width:760px}.discovery-card[data-result-type="brand"] .result-actions{grid-column:2;grid-row:1/span 2;align-self:center;margin:0;padding:0}.join-actions{display:flex;flex-direction:column;gap:18px;margin-top:24px}.joinbox .join-actions .btn{margin:0}.brand-detail .joinbox>.btn{display:flex;margin-top:18px}@media(max-width:760px){.discovery-card[data-result-type="brand"]{grid-template-columns:1fr;padding:22px}.discovery-card[data-result-type="brand"] .result-actions{grid-column:1;grid-row:3;margin-top:10px}.join-actions{gap:16px}}

/* Brand rows must not inherit the 286px campaign-card minimum. */
.discovery-card[data-result-type="brand"]{min-height:0;padding:14px 18px;gap:4px 18px;align-content:center}.discovery-card[data-result-type="brand"]>p{font-size:14px;line-height:1.45;margin:0}.discovery-card[data-result-type="brand"] h3{font-size:17px;line-height:1.3}.discovery-card[data-result-type="brand"] .btn{padding:9px 13px;min-height:38px;font-size:13px}.discovery-card[data-result-type="brand"] .result-actions{gap:8px}.cards:has(>.discovery-card[data-result-type="brand"]){row-gap:10px}@media(max-width:760px){.discovery-card[data-result-type="brand"]{padding:14px 16px;gap:5px}.discovery-card[data-result-type="brand"] .result-actions{margin-top:5px}}

.campaign-title-actions{margin-top:20px;gap:12px;flex-wrap:wrap}.detailtitle .campaign-title-actions .btn{font-size:14px}

/* A dedicated brand directory with shared compact cards and global search. */
.brand-overview-copy{max-width:820px}.brand-overview-copy h2{max-width:760px}.brand-overview-copy p{line-height:1.7;color:var(--muted)}.brand-topic-nav{gap:8px;margin-top:24px}.brand-overview-search{padding-top:24px;padding-bottom:0}.brand-overview-search>p{font-size:14px;color:var(--muted);margin:12px 0 0}.brand-overview-group{scroll-margin-top:110px}.brand-overview-group .sectionlead{max-width:800px;margin-bottom:0}.brand-overview-list{margin-top:24px;grid-template-columns:1fr;gap:10px}.brand-overview-guide .guidecard{display:block}.brand-overview-guide .guidecard:hover{transform:none}.brand-overview-note{max-width:850px;margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}.brand-overview-note p{color:var(--muted);line-height:1.7}@media(max-width:760px){.brand-overview-group{scroll-margin-top:80px}.brand-overview-guide .guidegrid{grid-template-columns:1fr}}

.program-note{display:block;margin-top:.4rem;font-size:.8rem;font-weight:400;line-height:1.5;overflow-wrap:anywhere;color:var(--muted,#64748b)}

.header-stats .brand-inspiration-label{white-space:normal}

.brand-editorial .brand-campaign-facts>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px;padding:12px 0}.brand-editorial .brand-campaign-facts dt,.brand-editorial .brand-campaign-facts dd{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.brand-editorial .brand-campaign-facts dd{margin:0}

/* The LEGO editorial pilot uses the existing detail layout and type scale. */
.brand-editorial .brand-toc{margin:0 0 32px}.brand-editorial .prose :is(section,h2[id]){scroll-margin-top:100px}.brand-editorial .prose h3{font-size:19px;line-height:1.4;margin:24px 0 10px}.brand-editorial .brand-lines{margin:24px 0}.brand-editorial .brand-lines h3{margin:0 0 8px}.brand-program-group{margin-top:32px}.brand-program-group>h3{font-size:23px;margin:0 0 12px}.brand-program-group>p{max-width:800px;line-height:1.75;color:var(--muted);margin:0 0 24px}.brand-editorial-programmes .brand-program-list h4{font-size:19px;margin:0 0 8px}.brand-program-list h4 a{color:inherit;text-decoration:none}#merk-faq,#programmas{scroll-margin-top:100px}@media(max-width:760px){.brand-editorial .brand-lines{gap:24px}.brand-editorial .prose :is(section,h2[id]),#merk-faq,#programmas{scroll-margin-top:80px}}

.brand-sidebar-programmes{padding:0;margin:0 0 20px;list-style:none}.brand-sidebar-programmes li{margin:0 0 10px;line-height:1.5}.brand-sidebar-programmes a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
