/* V129: Preview layout and brightness correction for light and dark themes. */
:is(.home-card,.category-card,.article-card){position:relative;isolation:isolate;overflow:hidden}
:is(.home-card,.category-card,.article-card)>a.category-thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#e4e9ee}
:is(.home-card,.category-card,.article-card)>a.category-thumb>img{display:block;width:100%!important;height:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;transform:none!important}
:is(.home-card,.category-card,.article-card)>a.category-thumb::before,
:is(.home-card,.category-card,.article-card)>a.category-thumb::after{content:none!important;display:none!important}
:is(.home-card,.category-card,.article-card)>a.card-body{position:relative;z-index:1;background:transparent!important;text-shadow:none!important;filter:none!important;opacity:1!important}
html[data-theme="light"] :is(.home-card,.category-card,.article-card){background:#fff!important;color:#172b3b!important;border-color:#b8c9d5!important}
html[data-theme="light"] :is(.home-card,.category-card,.article-card) :is(h2,h3,p){color:#172b3b!important}
html[data-theme="dark"] :is(.home-card,.category-card,.article-card){background:#142b3a!important;color:#f3f8fd!important;border-color:#52758a!important}
html[data-theme="dark"] :is(.home-card,.category-card,.article-card) :is(h2,h3,p){color:#f3f8fd!important}
@media (prefers-color-scheme:dark){html:not([data-theme]) :is(.home-card,.category-card,.article-card){background:#142b3a;color:#f3f8fd}}
