/* P244: Astra's existing search loop, scoped to the opt-in help results only. */
body.ucg-help-results { background:#fff; }
body.ucg-help-results #content > .ast-container { display:block; width:100%; max-width:1200px; margin:0 auto; padding:0 20px; }
body.ucg-help-results #primary { float:none; width:100%; margin:32px 0 64px; padding:0; }
body.ucg-help-results .ucg-help-search-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px 32px; margin:0 0 48px; }
body.ucg-help-results .ucg-help-search-controls > nav { margin:0; font-size:14px; line-height:24px; }
body.ucg-help-results .ucg-help-search-controls a { display:inline-block; padding:8px 0; }
body.ucg-help-results .ucg-help-search { width:300px; max-width:100%; flex:0 1 300px; margin:0; }
body.ucg-help-results .ucg-help-search .wp-block-search__label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
body.ucg-help-results .wp-block-search__inside-wrapper { gap:0; padding:0; border:1px solid #d4d7d4; border-radius:24px; background:#fff; }
body.ucg-help-results .wp-block-search__input { min-width:0; width:100%; height:42px; padding:9px 14px; border:0; border-radius:24px 0 0 24px; background:transparent; font:inherit; font-size:14px; line-height:22px; }
body.ucg-help-results .wp-block-search__button { margin:0; min-height:42px; padding:9px 16px!important; border:0; border-radius:0 24px 24px 0!important; font:inherit; font-size:14px; line-height:22px; }
body.ucg-help-results .wp-block-search__inside-wrapper:focus-within { outline:2px solid #165314; outline-offset:2px; }
body.ucg-help-results #primary .ast-archive-description { background:none; padding:0 0 18px; margin:0 0 24px; border-bottom:1px solid #e5e7eb; text-align:left; }
body.ucg-help-results .ast-breadcrumbs-wrapper { display:none; }
body.ucg-help-results #primary .ast-archive-title,
body.ucg-help-results #primary .page-title { margin:0; font-family:"DM Sans",system-ui,sans-serif; font-size:18px; font-weight:600; line-height:26px; letter-spacing:normal; overflow-wrap:anywhere; }
body.ucg-help-results #main .ast-row { display:block; margin:0; }
body.ucg-help-results #main .ast-article-post { float:none; width:100%; padding:0; margin:0 0 36px; border:0; box-shadow:none; background:none; }
body.ucg-help-results #main .ast-article-inner,
body.ucg-help-results #main .post-content { display:block; float:none; width:100%; padding:0; margin:0; border:0; }
body.ucg-help-results #main .entry-title { margin:0 0 8px; font-family:"DM Sans",system-ui,sans-serif; font-size:16px; font-weight:700; line-height:24px; letter-spacing:normal; overflow-wrap:anywhere; }
body.ucg-help-results #main .entry-title a { color:#165314; font:inherit; letter-spacing:inherit; }
body.ucg-help-results #main .entry-header { margin:0 0 10px; }
body.ucg-help-results #main .entry-meta { color:#475569; font-size:13px; line-height:20px; }
body.ucg-help-results #main .ast-excerpt-container { margin:0; font-size:15px; line-height:24px; }
body.ucg-help-results #main .ast-excerpt-container p { margin:0; }
body.ucg-help-results #main .entry-content:empty,
body.ucg-help-results #main .ast-no-thumb .post-thumb { display:none; }
body.ucg-help-results #main .no-results { padding:32px 0 64px; text-align:center; }
body.ucg-help-results #main .no-results .page-header { margin:0 0 16px; }
body.ucg-help-results #main .no-results .page-content { margin:0; font-size:15px; line-height:24px; }
body.ucg-help-results .ucg-site-register-card { display:none!important; }
/* P245: the same native footer on help articles, results and support. */
body.ucg-help-shell #ucgf:has(.cmplz-show-banner) { padding:20px 24px!important; border-top:1px solid #e5e7eb; background:#fff!important; color:#475569!important; }
body.ucg-help-shell #ucgf:has(.cmplz-show-banner) > .wp-block-columns { display:block!important; width:100%; max-width:1160px; margin:0 auto!important; }
body.ucg-help-shell #ucgf:has(.cmplz-show-banner) > .wp-block-columns > .wp-block-column:not(:has(.cmplz-show-banner)) { display:none!important; }
body.ucg-help-shell #ucgf .wp-block-column:has(.cmplz-show-banner) { display:flex!important; flex-wrap:wrap; align-items:center; gap:0 24px!important; margin:0!important; padding:0!important; }
body.ucg-help-shell #ucgf .wp-block-column:has(.cmplz-show-banner) > p:not(:has(a[href="/soegeordstjek/"])):not(:has(a[href="/privatlivspolitik/"])):not(:has(a[href*="?ucg_help=1"])):not(:has(a[href^="/hjaelp/"])):not(:has(.cmplz-show-banner)) { display:none!important; }
body.ucg-help-shell #ucgf .wp-block-column:has(.cmplz-show-banner) > p { height:auto!important; margin:0!important; font-size:14px!important; line-height:22px!important; }
body.ucg-help-shell #ucgf .wp-block-column:has(.cmplz-show-banner) > p > a { display:inline-flex!important; align-items:center; height:auto!important; min-height:44px; padding:10px 0!important; color:#475569!important; font-size:14px!important; line-height:22px!important; }
/* Astra owns the header, menu walker, toggle and keyboard interaction. */
body.ucg-help-shell #masthead { position:relative!important; top:auto!important; background:#fff; border-bottom:1px solid #ededed; }
body.ucg-help-shell #masthead .ast-primary-header-bar,
body.ucg-help-shell #masthead .ast-primary-header-bar .site-primary-header-wrap,
body.ucg-help-shell #masthead .ast-primary-header-bar .ast-builder-grid-row { min-height:71px!important; background:#fff!important; border:0!important; box-shadow:none; }
body.ucg-help-shell #masthead .ast-primary-header-bar > .site-primary-header-wrap { box-sizing:border-box; max-width:1200px; padding:0 20px; margin:0 auto; }
body.ucg-help-shell #ast-desktop-header .ast-builder-grid-row { grid-template-columns:auto minmax(0,1fr) auto; }
body.ucg-help-shell #ast-desktop-header .site-header-primary-section-center { justify-content:flex-end; }
body.ucg-help-shell #masthead .site-header-primary-section-left { padding:0; }
body.ucg-help-shell #masthead .site-header-primary-section-right { margin-left:auto; }
body.ucg-help-shell #masthead .site-branding { padding:0; }
body.ucg-help-shell #masthead .custom-logo-link::after { color:#165314!important; }
body.ucg-help-shell #masthead .main-header-menu > .menu-item > .menu-link { min-height:44px; height:auto!important; padding:10px 12px; font-size:14px; font-weight:400; line-height:24px!important; color:#202028!important; }
body.ucg-help-shell #masthead .main-header-menu > .menu-item > .menu-link:focus-visible,
body.ucg-help-shell #masthead .menu-toggle:focus-visible { outline:2px solid #165314; outline-offset:2px; }
body.ucg-help-shell #masthead .main-header-menu > .menu-item > .menu-link:hover { color:#165314; text-decoration:underline; }
body.ucg-help-shell .ucg-site-register-card { display:none!important; }
@media(max-width:1279.98px) {
 body.ucg-help-shell #masthead .ast-mobile-header-wrap .ast-primary-header-bar { min-height:71px!important; padding-left:16px; padding-right:16px; }
 body.ucg-help-shell #masthead .menu-toggle { width:44px!important; height:44px!important; min-width:44px!important; min-height:44px!important; padding:10px!important; transform:none!important; border:0; border-radius:50%; background:transparent!important; color:#475569!important; }
 body.ucg-help-shell #masthead .menu-toggle::before { content:none; }
 body.ucg-help-shell #masthead .menu-toggle svg { fill:#475569!important; }
 body.ucg-help-shell #masthead .ast-mobile-header-content { position:absolute; left:0; right:0; top:100%; z-index:100; background:#fff; border-top:1px solid #e5e7eb; box-shadow:0 8px 12px #0002; }
 body.ucg-help-shell #masthead #ast-hf-mobile-menu,
 body.ucg-help-shell #masthead #ast-hf-mobile-menu > .menu-item { background:#fff!important; }
 body.ucg-help-shell #masthead .ast-mobile-header-content .main-header-menu > .menu-item > .menu-link { box-sizing:border-box; min-height:47px; padding:12px 24px!important; font-size:15px!important; line-height:23px!important; border-bottom:1px solid #eee; }
}
@media(max-width:767px) {
 body.ucg-help-results #primary { margin-top:24px; margin-bottom:48px; }
 body.ucg-help-results .ucg-help-search-controls { display:block; margin-bottom:32px; }
 body.ucg-help-results .ucg-help-search-controls > nav { margin-bottom:20px; }
 body.ucg-help-results .ucg-help-search { width:100%; max-width:360px; }
 body.ucg-help-results #main .ast-article-post { margin-bottom:32px; }
 body.ucg-help-shell #ucgf:has(.cmplz-show-banner) { padding:20px!important; }
 /* Reserve the existing chat launcher corner without disabling help or consent. */
 body.ucg-help-shell #ucgf .wp-block-column:has(.cmplz-show-banner) { padding-right:64px!important; }
}
@media(forced-colors:active) {
 body.ucg-help-results .wp-block-search__inside-wrapper { border-color:CanvasText; }
 body.ucg-help-results .wp-block-search__inside-wrapper:focus-within { outline-color:Highlight; }
}
/* P246: ordinary WordPress pages and Core blocks; never the app or old guides. */
body.ucg-help-catalog-page { background:#fff; color:#202028; }
body.ucg-help-catalog-page #content > .ast-container { display:block; max-width:none; width:100%; padding:0; }
body.ucg-help-catalog-page #primary { float:none; width:100%; margin:0; padding:0; }
body.ucg-help-catalog-page #main .ast-article-single { margin:0; padding:0; border:0; background:#fff; }
body.ucg-help-catalog-page #main .entry-header,body.ucg-help-catalog-page .ast-breadcrumbs-wrapper { display:none; }
body.ucg-help-catalog-page #main .entry-content { font-family:"DM Sans",system-ui,sans-serif; font-size:15px; line-height:1.5; overflow-wrap:anywhere; }
body.ucg-help-catalog-page #main .entry-content h1,body.ucg-help-catalog-page #main .entry-content h2 { font-family:inherit; letter-spacing:normal; padding-left:0; padding-right:0; }
body.ucg-help-catalog-page #main .entry-content h1 { font-size:32px; line-height:1.5; font-weight:700; margin:0 0 18px; }
body.ucg-help-catalog-page #main .entry-content h2 { font-size:22px; line-height:1.4; margin:32px 0 16px; }
body.ucg-help-catalog-page #main .entry-content p { margin:0 0 24px; padding-left:0; padding-right:0; }
body.ucg-help-catalog-page #main a { color:#165314; }
body.ucg-help-catalog-page #main a:focus-visible { outline:2px solid #165314; outline-offset:4px; }
body.ucg-help-catalog-page .ucg-help-search { margin:0; width:300px; max-width:100%; }
/* Core's full-width label must not expand the document when its label is hidden. */
body.ucg-help-catalog-page .ucg-help-search .wp-block-search__label.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
body.ucg-help-catalog-page .ucg-help-search .wp-block-search__inside-wrapper { border:1px solid #a9afb7; border-radius:24px; padding:0 8px; background:#fff; height:42px; flex-direction:row-reverse; outline:none; }
body.ucg-help-catalog-page .wp-block-search__input { min-width:0; border:0; box-shadow:none; background:transparent; padding:8px 10px; font:inherit; font-size:14px; line-height:24px; }
body.ucg-help-catalog-page .wp-block-search__button { border:0!important; background:transparent!important; color:#596169!important; padding:6px!important; margin:0; min-width:32px; height:40px; border-radius:22px!important; font-size:14px; }
body.ucg-help-catalog-page .ucg-help-search .wp-block-search__inside-wrapper:focus-within { outline:2px solid #165314; outline-offset:2px; }
body.ucg-help-index #main .ucg-help-hero { width:100%; max-width:none; height:300px; display:flex; align-items:center; justify-content:center; padding:0 20px; margin:0!important; background:radial-gradient(ellipse at 22% 60%,#ddeddb 0,transparent 38%),radial-gradient(ellipse at 78% 25%,#eaf3e7 0,transparent 42%),#f7faf5; }
body.ucg-help-index .ucg-help-hero .ucg-help-search { width:610px; max-width:100%; }
body.ucg-help-index #main .ucg-help-catalog { width:calc(100% - 40px); max-width:1160px; margin:0 auto!important; padding:60px 0 96px; }
body.ucg-help-index #main .ucg-help-cards { max-width:none; width:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; margin:0 0 40px; }
body.ucg-help-index #main .ucg-help-card { max-width:none; width:auto; position:relative; display:flex; flex-direction:column; justify-content:center; min-width:0; padding:20px 30px; border:1px solid #38753b; border-radius:4px; text-align:center; margin:0!important; }
body.ucg-help-index .ucg-help-card:last-child { grid-column:1/-1; }
body.ucg-help-index #main .ucg-help-card h2 { font-size:16px; font-weight:500; line-height:24px; margin:0 0 8px; }
body.ucg-help-index #main .ucg-help-card p { font-size:15px; line-height:22.5px; margin:0; }
body.ucg-help-index .ucg-help-card a { text-decoration:none; }
body.ucg-help-index .ucg-help-card a::after { content:""; position:absolute; inset:0; }
body.ucg-help-index .ucg-help-card:hover { background:#f3f8f1; }
body.ucg-help-index .ucg-help-card:focus-within { outline:2px solid #165314; outline-offset:3px; }
body.ucg-help-index #main .ucg-help-promoted-title { font-size:18px; font-weight:600; margin:0 0 24px; }
body.ucg-help-index .ucg-help-promoted { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 30px; margin:0!important; padding:0; list-style:none; }
body.ucg-help-index .ucg-help-promoted li { margin:0; border-bottom:1px solid #e5e7eb; }
body.ucg-help-index .ucg-help-promoted a { display:block; padding:15px 0; color:#202028!important; text-decoration:none; }
body.ucg-help-catalog-page .ucg-help-search-controls { display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:1160px; padding:24px 0; margin:0 auto 48px; font-size:13px; }
body.ucg-help-catalog-page .ucg-help-breadcrumb { min-width:0; }
body.ucg-help-catalog-page .ucg-help-breadcrumb ol { display:flex; flex-wrap:wrap; gap:4px 0; margin:0; padding:0; list-style:none; }
body.ucg-help-catalog-page .ucg-help-breadcrumb li { max-width:100%; margin:0; padding:0; overflow-wrap:anywhere; }
body.ucg-help-catalog-page .ucg-help-breadcrumb li + li::before { content:">"; margin:0 6px; }
body.ucg-help-section #main .entry-content,body.ucg-help-article #main .entry-content { box-sizing:border-box; width:100%; max-width:1160px; margin:0 auto; padding:0 0 80px 240px; min-height:430px; }
body.ucg-help-section .ucg-help-description { font-style:italic; }
body.ucg-help-section .ucg-help-articles { padding:20px 0 0; margin:0!important; list-style:none; }
body.ucg-help-section .ucg-help-articles li { margin:0; }
body.ucg-help-section .ucg-help-articles a { display:block; padding:15px 0; font-size:16px; line-height:24px; color:#202028!important; text-decoration:none; }
body.ucg-help-section .ucg-help-articles a:hover,body.ucg-help-index .ucg-help-promoted a:hover { text-decoration:underline; }
body.ucg-help-article #main .entry-content > p,body.ucg-help-article #main .entry-content > ol { max-width:760px; }
body.ucg-help-article #main .entry-content li { margin-bottom:12px; }
@media(max-width:1199px) {
 body.ucg-help-catalog-page .ucg-help-search-controls { margin-left:20px; margin-right:20px; }
 body.ucg-help-section #main .entry-content,body.ucg-help-article #main .entry-content { padding-left:20%; padding-right:20px; }
}
@media(max-width:767px) {
 body.ucg-help-index #main .ucg-help-catalog { width:calc(100% - 32px); padding-top:40px; padding-bottom:60px; }
 body.ucg-help-index #main .ucg-help-cards { grid-template-columns:minmax(0,1fr); gap:32px; margin-bottom:48px; }
 body.ucg-help-index #main .ucg-help-card { padding:20px 30px; }
 body.ucg-help-index .ucg-help-promoted { display:block; }
 body.ucg-help-catalog-page .ucg-help-search-controls { display:block; margin-bottom:48px; padding-top:24px; }
 body.ucg-help-catalog-page .ucg-help-search-controls nav { margin-bottom:16px; line-height:22px; }
 body.ucg-help-section #main .entry-content,body.ucg-help-article #main .entry-content { padding:0 20px 64px; min-height:400px; }
 body.ucg-help-section #main .entry-content h1,body.ucg-help-article #main .entry-content h1 { font-size:30px; line-height:1.5; }
}
@media(forced-colors:active) { body.ucg-help-catalog-page .ucg-help-card { border-color:CanvasText; } }
