/* Scoped layout only. Jannah owns typography, palette, backgrounds and global layout. */
.nswmin-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65em;align-items:stretch;margin-block:.75em}
.nswmin-search input[type=search]{width:100%;min-width:0;font:inherit}
.nswmin-search button{white-space:nowrap;font:inherit}
.nswmin-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6em}
.entry .nswmin-section{display:flex;align-items:center;gap:.65em;padding:.6em;border:1px solid var(--base-border-color,rgba(128,128,128,.25));border-radius:var(--tie-border-radius,6px);color:inherit;text-decoration:none;min-width:0;line-height:1.3}
.entry .nswmin-section:hover,.entry .nswmin-letters a:hover{border-color:var(--brand-color,currentColor);color:var(--brand-color,currentColor)}
.nswmin-section-img,.nswmin-section-icon{flex:0 0 3.5em;width:3.5em;height:2.8em;border-radius:.3em;overflow:hidden;display:grid;place-items:center}
.nswmin-section-img img{width:100%;height:100%;object-fit:cover;margin:0!important;display:block}
.nswmin-section-icon{color:var(--brand-color,currentColor);background:rgba(128,128,128,.08);font-size:1.2em;flex-basis:2.92em}
.nswmin-letters{display:flex;flex-wrap:wrap;gap:.35em;margin-bottom:1em}
.entry .nswmin-letters a{padding:.35em .55em;min-width:2em;text-align:center;border:1px solid var(--base-border-color,rgba(128,128,128,.25));border-radius:.3em;text-decoration:none;color:inherit}
.entry .nswmin-letters a[aria-current=true]{background:var(--brand-color);color:var(--bright-color,#fff);border-color:var(--brand-color)}
.entry .nswmin-index-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45em 1em;list-style:none;padding:0;margin:0}
.entry .nswmin-index-list li{margin:0;padding:0;list-style:none;overflow-wrap:anywhere}
.nswmin-pagination{display:flex;gap:1em;justify-content:center;margin-top:1em}
.nswmin-definition,.nswmin-toc,.nswmin-facts,.nswmin-sources{border:1px solid var(--base-border-color,rgba(128,128,128,.25));border-radius:.45em;padding:.65em .8em;margin:0 0 .9em;min-width:0}
.nswmin-definition{border-inline-start:3px solid var(--brand-color,currentColor)}
.nswmin-toc summary{cursor:pointer;font-weight:bold}
.entry .nswmin-toc ul{margin:.4em 0 0;padding-left:1.2em;columns:2}
.nswmin-toc li{margin:0;break-inside:avoid}
.nswmin-toc .nswmin-subheading{margin-inline-start:.8em}
.nswmin-facts-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:.8em;align-items:start;margin-bottom:1em}
.nswmin-facts-grid.nswmin-no-photo{grid-template-columns:minmax(0,1fr)}
.entry .nswmin-facts-grid figure{margin:0;max-width:100%}
.entry .nswmin-facts-grid img{display:block;width:100%;height:auto;max-height:28em;object-fit:contain;margin:0}
.entry .nswmin-facts-grid figcaption{font-size:.8em;line-height:1.4;margin-top:.35em;overflow-wrap:anywhere}
.entry .nswmin-facts h2,.entry .nswmin-sources h2{margin:0 0 .5em;font-size:1.12em;line-height:1.4}
.entry .nswmin-facts table{width:100%;margin:0;border-collapse:collapse;table-layout:auto;font-size:.9em;line-height:1.35}
.entry .nswmin-facts table th,.entry .nswmin-facts table td{padding:.3em .4em;text-align:start;border:0;border-bottom:1px solid var(--base-border-color,rgba(128,128,128,.25));overflow-wrap:anywhere;white-space:normal}
.entry .nswmin-facts table td{text-align:end;font-weight:600}
.entry .nswmin-facts table tr:nth-child(odd){background:rgba(128,128,128,.07)}
.entry .nswmin-article h2[id],.entry .nswmin-article h3[id]{scroll-margin-top:6em}
@media(max-width:900px){.nswmin-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.entry .nswmin-index-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.nswmin-facts-grid{grid-template-columns:minmax(0,1fr)}.entry .nswmin-toc ul{columns:1}.entry .nswmin-facts-grid img{max-height:20em}.nswmin-section-img{flex-basis:2.4em;width:2.4em;height:2.4em}.nswmin-search{gap:.4em}}
@media(max-width:360px){.nswmin-sections,.entry .nswmin-index-list{grid-template-columns:1fr}}

/* Explicit disclosure indicator: the parent reset removes the native marker. */
.nswmin-toc summary{display:flex;align-items:center;justify-content:space-between;gap:.6em;list-style:none}
.nswmin-toc summary::-webkit-details-marker{display:none}
.nswmin-toc summary::after{content:"";display:block;flex:0 0 .5em;width:.5em;height:.5em;border-inline-end:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-inline-end:.25em}
.nswmin-toc[open] summary::after{transform:rotate(225deg)}
.nswmin-toc summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.nswmin-feedback{margin-block:.8em;padding:.65em .8em;border:1px solid var(--base-border-color,rgba(128,128,128,.25));border-radius:.45em}

/* Category pages only, Classic Small only; no replacement of native Jannah templates. */
.nswmin-compact-catalog {--nswmin-catalog-thumb:104px;--nswmin-catalog-cols:2}
.nswmin-compact-catalog.nswmin-thumb-80{--nswmin-catalog-thumb:80px}
.nswmin-compact-catalog.nswmin-thumb-128{--nswmin-catalog-thumb:128px}
.nswmin-compact-catalog.nswmin-cols-1{--nswmin-catalog-cols:1}
.nswmin-compact-catalog.nswmin-cols-3{--nswmin-catalog-cols:3}
.nswmin-compact-catalog .small-wide-post-box #posts-container{display:grid;grid-template-columns:repeat(var(--nswmin-catalog-cols),minmax(0,1fr));gap:0 1em;margin:0;padding:0}
.nswmin-compact-catalog .small-wide-post-box #posts-container:before,.nswmin-compact-catalog .small-wide-post-box #posts-container:after{display:none}
.nswmin-compact-catalog .small-wide-post-box #posts-container>li.post-item{width:auto;min-width:0;float:none;margin:0;padding:.75em 0;min-height:0;flex-direction:row;align-items:flex-start;gap:.75em;border-bottom:1px solid var(--base-border-color,rgba(128,128,128,.2));box-sizing:border-box}
.nswmin-compact-catalog .small-wide-post-box #posts-container>li.post-item>.post-thumb{flex:0 0 var(--nswmin-catalog-thumb);width:var(--nswmin-catalog-thumb);max-width:var(--nswmin-catalog-thumb);height:var(--nswmin-catalog-thumb);margin:0;float:none;overflow:hidden;box-sizing:border-box;display:block}
.nswmin-compact-catalog .small-wide-post-box #posts-container>li.post-item>.post-thumb img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;display:block;margin:0}
.nswmin-compact-catalog .small-wide-post-box #posts-container>li.post-item>.post-details{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
.nswmin-compact-catalog .small-wide-post-box #posts-container>li.post-item .post-excerpt{margin-bottom:0}
@media(max-width:1000px){.nswmin-compact-catalog.nswmin-cols-3{--nswmin-catalog-cols:2}}
@media(max-width:700px){.nswmin-compact-catalog.nswmin-cols-2,.nswmin-compact-catalog.nswmin-cols-3{--nswmin-catalog-cols:1}.nswmin-compact-catalog{--nswmin-catalog-thumb:80px}.nswmin-compact-catalog.nswmin-thumb-128,.nswmin-compact-catalog.nswmin-thumb-80{--nswmin-catalog-thumb:80px}}

/* Home section links only: allow labels to shrink and wrap inside their card. */
.entry .nswmin-section > strong{flex:1 1 0;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
@media(max-width:600px){
 .entry .nswmin-section{gap:.5em;padding:.55em}
 .entry .nswmin-section .nswmin-section-img,.entry .nswmin-section .nswmin-section-icon{flex:0 0 2.4rem;width:2.4rem;height:2.4rem;box-sizing:border-box}
}
@media(max-width:480px){.nswmin-sections{grid-template-columns:minmax(0,1fr)}}

/* Existing electron-shell data, no external image and no fabricated physical picture. */
.nswmin-shell-card{border:1px solid var(--base-border-color,rgba(128,128,128,.25));border-radius:.45em;padding:.7em;min-width:0}
.entry .nswmin-shell-diagram ol{list-style:none;padding:0;margin:.65em 0}
.entry .nswmin-shell-diagram li{display:grid;grid-template-columns:3em minmax(0,1fr) 2em;align-items:center;gap:.35em;margin:.35em 0;padding:0;list-style:none}
.nswmin-shell-track{display:block;height:.7em;background:rgba(128,128,128,.15);border-radius:.25em;overflow:hidden}
.nswmin-shell-track>span{display:block;height:100%;background:var(--brand-color,currentColor);border-radius:.25em}
.nswmin-shell-diagram strong{text-align:end}.entry .nswmin-summary-source{font-size:.8em;margin:.5em 0 0}.nswmin-fact-citation{font-weight:normal;font-size:.8em}

.entry .nswmin-element-tile{border:1px solid var(--base-border-color,rgba(128,128,128,.25));border-radius:.45em;padding:.8em;min-width:0}.nswmin-element-number{font-size:1.3em;font-weight:600}.nswmin-element-symbol{font-size:4em;line-height:1.3;text-align:center;font-weight:700;color:var(--brand-color,currentColor)}

/* Optional native-builder presentation; remove custom class in the section to disable. */
.nsw-native-hero > .section-item{position:relative;isolation:isolate;border-radius:var(--tie-border-radius,8px);overflow:hidden;background-position:right center;background-repeat:no-repeat}
.nsw-native-hero > .section-item::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,23,40,.95) 0%,rgba(8,23,40,.82) 45%,rgba(8,23,40,.12) 100%);pointer-events:none}
.nsw-native-hero .entry{max-width:710px;color:#fff}
.nsw-native-hero .entry h1{color:inherit;margin:0 0 .45em;font-size:clamp(23px,2.5vw,36px);line-height:1.15}
.nsw-native-hero .nswmin-search input{background:#fff;color:#172132;border:1px solid #d7e0e8;border-radius:5px;padding:.75em}
.nsw-native-hero .nswmin-search button{border-radius:5px;padding:.65em 1.2em}
.nsw-native-categories .categories-block ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:0;padding:0;overflow:visible}
.nsw-native-categories .categories-block ul li{min-width:0;min-height:145px;margin:0;overflow:hidden;list-style:none;flex-basis:auto}
.nsw-native-categories .categories-block ul li a{min-width:0;padding:10px;justify-content:flex-end;align-items:flex-start;text-align:left;gap:3px}
.nsw-native-categories .categories-block li.has-bg:after{background:linear-gradient(180deg,transparent 15%,rgba(7,18,29,.35) 45%,rgba(7,18,29,.94) 100%)}
.nsw-native-categories .categories-block .catgeory-title{white-space:normal;line-height:1.25;font-size:inherit;overflow-wrap:anywhere}
.nsw-native-categories .categories-block .catgeory-count{min-width:0;height:auto;line-height:1.3;background:transparent;font-size:12px;border-radius:0;text-align:left}
.nsw-native-categories .categories-block .has-bg .catgeory-count{color:#fff}
.nsw-native-categories .categories-block .catgeory-icon{display:none}
.nsw-native-tools .nswmin-letters{margin-bottom:0}
.nsw-native-tools .nswmin-index-list{margin-top:12px}
.nsw-native-tools #tie-nsw_builder_periodic .entry a.button{display:inline-block;margin-top:4px}
.nsw-native-articles .big-posts-box .post-thumb{height:auto;aspect-ratio:16/10;overflow:hidden;border-radius:var(--tie-border-radius,6px)}
.nsw-native-articles .big-posts-box .post-thumb img{width:100%;height:100%;object-fit:cover}
@media(min-width:1100px){
 .nsw-native-articles .main-content:has(> #tie-nsw_builder_recommended + #tie-nsw_builder_latest){display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:14px;align-items:start}
 .nsw-native-articles .main-content:has(> #tie-nsw_builder_recommended + #tie-nsw_builder_latest) > .mag-box{min-width:0;margin:0;width:auto}
 .nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:nth-child(n){width:100%;float:none;clear:both;margin:0;padding:8px 0;border-bottom:1px solid var(--base-border-color,rgba(128,128,128,.2))}
 .nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li .post-title{margin:0 0 4px;font-size:1em}
 .nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li .post-thumb{margin-right:9px;height:auto}
 .nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li .post-thumb img{width:72px;height:50px;object-fit:cover}
}
@media(max-width:600px){.nsw-native-categories .categories-block ul{grid-template-columns:repeat(2,minmax(0,1fr))}.nsw-native-categories .categories-block ul li{min-height:120px}.nsw-native-hero .nswmin-search button{padding:.5em .7em}.nsw-native-hero > .section-item::before{background:rgba(8,23,40,.78)}}

/* 1.0.13 — compact presentation of the existing, editable native blocks. */
.nsw-native-hero > .section-item{background-size:auto 150%;background-position:right center;background-blend-mode:screen}
.nsw-native-hero > .section-item::before{background:linear-gradient(90deg,rgba(8,23,40,.98) 0%,rgba(8,23,40,.93) 43%,rgba(8,23,40,.55) 66%,rgba(8,23,40,.05) 100%)}
.nsw-native-hero .entry p{margin:0 0 .6em;line-height:1.45}
.nsw-native-hero .entry p:last-child{margin-bottom:0}
/* The photo remains the native category Brand Background, not a second image setting. */
.nsw-native-categories .categories-block ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,132px),1fr));gap:10px}
.nsw-native-categories .categories-block ul li{--nsw-photo-height:90px;min-height:0;border:1px solid rgba(128,128,128,.2);border-radius:6px;box-shadow:0 2px 5px rgba(0,0,0,.05)}
.nsw-native-categories .categories-block ul li.has-bg{background-size:0 0}
.nsw-native-categories .categories-block ul li.has-bg::before{content:"";position:absolute;inset:0 0 auto;height:var(--nsw-photo-height);background-image:inherit;background-size:cover;background-position:center;background-repeat:no-repeat;pointer-events:none}
.nsw-native-categories .categories-block ul li.has-bg::after{display:none}
.nsw-native-categories .categories-block ul li a{padding:8px 10px;justify-content:flex-start;align-items:flex-start;gap:4px;color:inherit;min-height:62px}
.nsw-native-categories .categories-block ul li.has-bg a{padding-top:calc(var(--nsw-photo-height) + 8px);min-height:calc(var(--nsw-photo-height) + 64px)}
.nsw-native-categories .categories-block ul li.has-bg .catgeory-title,.nsw-native-categories .categories-block ul li.has-bg .catgeory-count{color:inherit}
.nsw-native-categories .categories-block ul li .catgeory-title{font-size:inherit;line-height:1.3;white-space:normal}
.nsw-native-categories .categories-block ul li .catgeory-count{font-size:12px;opacity:.85}
/* Compact spacing; independent of theme colors and section images. */
#nsw-builder-sections #tie-nsw_builder_categories > .container-wrapper,
.nsw-native-tools .mag-box > .container-wrapper,
.nsw-native-articles .mag-box > .container-wrapper{padding:14px 16px}
#nsw-builder-sections #tie-nsw_builder_categories .mag-box-title,
.nsw-native-tools .mag-box-title,
.nsw-native-articles .mag-box-title{margin-bottom:12px}
.nsw-native-tools .entry p{margin-bottom:.65em}
.nsw-native-tools .entry p:last-child{margin-bottom:0}
.nsw-native-tools .nswmin-letters{gap:4px}
.nsw-native-tools .nswmin-letters a{font-size:12px;padding:.3em .45em;min-width:1.9em}
.nsw-native-articles .post-excerpt{line-height:1.45;margin-bottom:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:nth-child(n){display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto 1fr;gap:2px 9px;align-items:start;width:100%;margin:0;padding:7px 0;border-bottom:1px solid rgba(128,128,128,.2)}
.nsw-native-articles #tie-nsw_builder_latest .post-title{grid-column:2;grid-row:1;font-size:1em;margin:0;line-height:1.3}
.nsw-native-articles #tie-nsw_builder_latest .post-thumb{grid-column:1;grid-row:1/3;width:76px;float:none;margin:0;height:auto;aspect-ratio:76/52;overflow:hidden}
.nsw-native-articles #tie-nsw_builder_latest .post-thumb img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}
.nsw-native-articles #tie-nsw_builder_latest .post-details{grid-column:2;grid-row:2;min-width:0}
.nsw-native-articles #tie-nsw_builder_latest .post-excerpt{-webkit-line-clamp:2}
.nsw-native-articles #tie-nsw_builder_latest .no-small-thumbs .post-title,.nsw-native-articles #tie-nsw_builder_latest .no-small-thumbs .post-details{grid-column:1/-1}
@media(min-width:1100px){
 .nsw-native-tools .main-content:has(> #tie-nsw_builder_periodic + #tie-nsw_builder_index){display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:start;gap:12px}
 .nsw-native-tools .main-content:has(> #tie-nsw_builder_periodic + #tie-nsw_builder_index)> .mag-box{float:none;width:auto;min-width:0;margin:0}
 .nsw-native-tools .main-content:has(> #tie-nsw_builder_periodic + #tie-nsw_builder_index)> .half-box-clearfix{display:none}
}
@media(max-width:600px){
 .nsw-native-hero > .section-item{background-size:auto 112%;background-position:right center}
 .nsw-native-hero > .section-item::before{background:rgba(8,23,40,.76)}
 .nsw-native-categories .categories-block ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nsw-native-categories .categories-block ul li{--nsw-photo-height:85px}
 #nsw-builder-sections #tie-nsw_builder_categories > .container-wrapper,.nsw-native-tools .mag-box > .container-wrapper,.nsw-native-articles .mag-box > .container-wrapper{padding:12px}
}

/* 1.0.14 — layout corrections confined to the optional native homepage classes. */
/* Native section background image and color remain editable in Jannah.
   Screen blending removes the black rectangle around the original space photo. */
.nsw-native-hero > .section-item::before{background:linear-gradient(90deg,rgba(8,23,40,.97) 0%,rgba(8,23,40,.88) 44%,rgba(8,23,40,.45) 64%,transparent 100%)}
/* Use Jannah's calculated contrast color for custom backgrounds, except where
   the owner has explicitly assigned a different title color. */
.nsw-native-tools #tie-nsw_builder_periodic.has-custom-bg-color:not(.has-custom-color) .mag-box-title,
.nsw-native-tools #tie-nsw_builder_periodic.has-custom-bg-color:not(.has-custom-color) .mag-box-title .the-global-title,
.nsw-native-tools #tie-nsw_builder_periodic.has-custom-bg-color:not(.has-custom-color) .mag-box-title .the-global-title a{color:inherit}
.nsw-native-tools #tie-nsw_builder_periodic.has-custom-bg-color:not(.has-custom-color) .mag-box-title .the-global-title::after{background-color:currentColor}
/* Mini uses direct title, image and details children. Jannah adds 125px of
   padding to details after the first item; a grid already reserves that space. */
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items{margin:0;padding:0;display:block}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:nth-child(n){grid-template-columns:68px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 10px;padding:7px 0;float:none;clear:both;min-width:0}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:last-child{border-bottom:0;padding-bottom:0}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:nth-child(n)>.post-details{padding:0;margin:0;width:auto;min-width:0;float:none;clear:none;align-self:start}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:nth-child(n)>.post-title{margin:0;font-size:inherit;line-height:1.25;min-width:0}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:nth-child(n)>.post-thumb{width:68px;max-width:100%;height:46px;aspect-ratio:auto;margin:0;float:none}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:nth-child(n)>.post-thumb img{width:100%;height:100%;max-width:100%;object-fit:contain}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .post-excerpt{margin:0;line-height:1.35;overflow-wrap:anywhere;-webkit-line-clamp:2}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li.no-small-thumbs{grid-template-columns:minmax(0,1fr)}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li.no-small-thumbs>.post-title,.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li.no-small-thumbs>.post-details{grid-column:1/-1}
/* If meta is enabled in the native block editor, reserve its own row. */
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:has(>.post-meta){grid-template-rows:auto auto auto}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li>.post-meta{grid-column:2;grid-row:2;margin:0}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:has(>.post-meta)>.post-details{grid-row:3}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li:has(>.post-meta)>.post-thumb{grid-row:1/4}
.nsw-native-articles #tie-nsw_builder_latest.mini-posts-box .posts-items li.no-small-thumbs>.post-meta{grid-column:1/-1}
@media(min-width:1100px){
 .nsw-native-tools .main-content:has(> #tie-nsw_builder_periodic + #tie-nsw_builder_index){align-items:stretch}
 .nsw-native-tools .main-content:has(> #tie-nsw_builder_periodic + #tie-nsw_builder_index)> .mag-box{padding:0;min-width:0}
 .nsw-native-tools .main-content:has(> #tie-nsw_builder_periodic + #tie-nsw_builder_index)> .mag-box>.container-wrapper{height:100%;box-sizing:border-box}
}
@media(max-width:600px){
 .nsw-native-hero > .section-item::before{background:rgba(8,23,40,.78)}
 .nsw-native-hero .entry h1{font-size:clamp(21px,5.5vw,27px)}
}


/* 1.0.17: front-page category grid; preserve the native Jannah renderer/options. */
body.home .nsw-native-categories .categories-block ul{
 grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch;grid-auto-rows:1fr
}
body.home .nsw-native-categories .categories-block ul li{
 --nsw-photo-height:108px;min-width:0;min-height:0;box-shadow:none;
}
body.home .nsw-native-categories .categories-block ul li a{
 padding:calc(var(--nsw-photo-height) + 10px) 11px 10px;min-height:calc(var(--nsw-photo-height) + 70px);
 box-sizing:border-box;justify-content:flex-start;align-items:flex-start;min-width:0;width:100%;
}
body.home .nsw-native-categories .categories-block ul li:not(.has-bg)::before{
 content:"";position:absolute;inset:0 0 auto;height:var(--nsw-photo-height);background:rgba(128,128,128,.07);pointer-events:none;
}
body.home .nsw-native-categories .categories-block ul li .catgeory-title{
 font-size:15px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;
}
body.home .nsw-native-categories .categories-block ul li .catgeory-count{font-size:12px;margin-top:auto;}
.dark-skin body.home .nsw-native-categories .categories-block ul li,body.home.dark-skin .nsw-native-categories .categories-block ul li{border-color:rgba(128,128,128,.15);}
@media(max-width:1000px){
 body.home .nsw-native-categories .categories-block ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 body.home .nsw-native-categories .categories-block ul li{--nsw-photo-height:100px}
}
@media(max-width:600px){
 body.home .nsw-native-categories .categories-block ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.home .nsw-native-categories .categories-block ul li{--nsw-photo-height:84px}
 body.home .nsw-native-categories .categories-block ul li a{padding-inline:8px}
 body.home .nsw-native-categories .categories-block ul li .catgeory-title{font-size:14px}
}

/* Alphabetical index 1.0.18: isolate full catalogue styling; leave Jannah layout intact. */
#nswmin-index .nswmin-letters a[aria-current=true],
#nswmin-index .nswmin-letters a[aria-current=true]:hover,
#nswmin-index .nswmin-letters a[aria-current=true]:focus-visible{background:var(--brand-color,#086eb7);border-color:var(--brand-color,#086eb7);color:#fff!important}
.nswmin-index-full{min-width:0;scroll-margin-top:100px}
.entry .nswmin-index-full .nswmin-index-intro{margin:0 0 14px;line-height:1.5}
.nswmin-index-full .nswmin-index-nav{padding:0 0 12px;border-bottom:1px solid rgba(128,128,128,.22)}
.nswmin-index-full .nswmin-index-label{font-size:13px;font-weight:600;margin:12px 0 6px}
.entry .nswmin-index-full .nswmin-letters{gap:5px;margin:0}
.entry .nswmin-index-full .nswmin-letters a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:5px 8px;box-sizing:border-box;font-size:14px;line-height:1.2}
.nswmin-index-full .nswmin-index-filter{margin:16px 0;max-width:100%}
.nswmin-index-full .nswmin-index-filter label{display:block;font-size:13px;font-weight:600;margin:0 0 6px}
.nswmin-index-full .nswmin-index-filter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;max-width:520px}
.nswmin-index-full .nswmin-index-filter-row select{width:100%;min-width:0;max-width:100%;min-height:40px;font:inherit}
.nswmin-index-full .nswmin-index-filter-row button{min-height:40px;white-space:nowrap}
.nswmin-index-full .nswmin-index-count{font-size:14px;margin:14px 0 8px}
.entry .nswmin-index-full .nswmin-index-list{gap:0 20px;margin:0;padding:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.entry .nswmin-index-full .nswmin-index-list li{padding:8px 0;border-bottom:1px solid rgba(128,128,128,.15);line-height:1.45;min-width:0}
.entry .nswmin-index-full .nswmin-index-list a{display:block;overflow-wrap:anywhere;font-size:15px}
#nswmin-index .nswmin-index-pages{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;margin-top:20px}
#nswmin-index .nswmin-index-pages a,#nswmin-index .nswmin-index-pages span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;box-sizing:border-box;padding:5px 8px;font-size:14px;line-height:1.2;border-radius:4px;text-decoration:none}
#nswmin-index .nswmin-index-pages a{border:1px solid rgba(128,128,128,.25)}
#nswmin-index .nswmin-index-pages [aria-current=page]{background:var(--brand-color,#086eb7);color:#fff!important}
#nswmin-index a:focus-visible,#nswmin-index button:focus-visible,#nswmin-index select:focus-visible{outline:2px solid var(--brand-color,#086eb7);outline-offset:2px}
@media(max-width:900px){.entry .nswmin-index-full .nswmin-index-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.entry .nswmin-index-full .nswmin-index-list{grid-template-columns:minmax(0,1fr)}.entry .nswmin-index-full .nswmin-letters a{min-width:36px;min-height:36px}.nswmin-index-full .nswmin-index-filter-row{grid-template-columns:minmax(0,1fr)}.nswmin-index-full .nswmin-index-filter-row button{width:100%}}

/* 1.0.19: active alphabet labels must not inherit the theme link palette. */
#nswmin-index .nswmin-letters a[aria-current="true"],
#nswmin-index .nswmin-letters a[aria-current="true"] .nswmin-active-letter{
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
