/* Darkenz Finanse — KOLORY i tylko kolory, v1.2.0.
 * Bez font-size, padding, margin, border-width, width, height, display,
 * position, transform, line-height, layout lub efektow powiekszania.
 * Dotyczy wylacznie glownej, nigdy ?dfh2_topic=... ani Akademii.
 */
body.dfhc-home {
 --dfhc-navy:#19374B;
 --dfhc-teal:#176D71;
 --dfhc-gold:#A36C28;
 --dfhc-plum:#714D92;
 --dfhc-terracotta:#9D563B;
 --dfhc-item-accent:#196B60;
 --dfhc-item-tint:#E9F5EE;
}
body.dfhc-home.dfhc-palette-vivid {
 --dfhc-navy:#0D2D4C;
 --dfhc-teal:#007D8C;
 --dfhc-gold:#AD690D;
 --dfhc-plum:#7035A0;
 --dfhc-terracotta:#AD492F;
}
body.dfhc-home.dfhc-palette-pastel {
 --dfhc-navy:#3C5F76;
 --dfhc-teal:#3A8C88;
 --dfhc-gold:#A78750;
 --dfhc-plum:#8974A5;
 --dfhc-terracotta:#B38070;
}
/* Gorny naglowek — wyłącznie tło i barwy liter. */
body.dfhc-home.dfhc-header-colored #masthead :is(.main-header-bar,.ast-primary-header-bar,.ast-builder-grid-row-container) {
 background:linear-gradient(100deg,var(--dfhc-navy),#1C6667)!important;
 border-color:#D3A857!important;
}
body.dfhc-home.dfhc-header-colored #masthead :is(.site-title a,.site-description,.main-header-menu > .menu-item > .menu-link,.ast-builder-menu-1 .menu-link) {
 color:#F7FCFA!important;
}
body.dfhc-home.dfhc-header-colored #masthead :is(.main-header-menu > .menu-item > .menu-link:hover,.main-header-menu > .current-menu-item > .menu-link,.ast-builder-menu-1 .menu-link:hover) {
 background:#F5E0B4!important;
 color:#17374C!important;
}
body.dfhc-home.dfhc-header-colored #masthead :is(.ast-mobile-menu-trigger-minimal,.ast-button-wrap .menu-toggle,.menu-toggle) {color:#FFF!important}
body.dfhc-home.dfhc-header-colored #masthead :is(.ast-mobile-menu-trigger-minimal svg,.ast-button-wrap svg){fill:#FFF!important}
/* Naglowki dzialow — pas kolorystyczny jest wewnetrznym cieniem, bez obramowania zmieniajacego szerokosc. */
body.dfhc-home .dfhc-section-title {
 color:var(--dfhc-item-accent)!important;
 background:linear-gradient(100deg,color-mix(in srgb,var(--dfhc-item-accent) 21%,white),#fff 96%)!important;
 border-color:color-mix(in srgb,var(--dfhc-item-accent) 30%,white)!important;
 box-shadow:inset 5px 0 var(--dfhc-item-accent)!important;
}
body.dfhc-home .dfhc-section-title a {color:inherit!important}
body.dfhc-home .dfhc-section-title[data-dfhc-section="featured"] {background:linear-gradient(100deg,#F8EDCB,#FFF 94%)!important}
/* Boczne drzewo tematyczne: odrebny kolor kazdego dzialu, ten sam rozmiar/konstrukcja. */
body.dfhc-home .dfhc-category {
 color:var(--dfhc-item-accent)!important;
 background:linear-gradient(100deg,var(--dfhc-item-tint),#FFF 95%)!important;
 border-color:color-mix(in srgb,var(--dfhc-item-accent) 35%,white)!important;
 box-shadow:inset 5px 0 var(--dfhc-item-accent)!important;
}
body.dfhc-home .dfhc-category :is(a,b,strong,span) {color:var(--dfhc-item-accent)!important}
body.dfhc-home .dfhc-category:hover {
 background:linear-gradient(100deg,color-mix(in srgb,var(--dfhc-item-accent) 21%,white),#FFF 94%)!important;
}
body.dfhc-home .dfhc-category :is([class*="count"],[class*="licz"],.badge) {
 background:color-mix(in srgb,var(--dfhc-item-accent) 12%,white)!important;
 color:var(--dfhc-item-accent)!important;
}
/* Male kafelki mapy wiedzy i skroty do Akademii. */
body.dfhc-home a.dfhc-topic-card,
body.dfhc-home a.dfhc-shortcut {
 color:var(--dfhc-item-accent)!important;
 background:linear-gradient(105deg,var(--dfhc-item-tint),#FFF 95%)!important;
 border-color:color-mix(in srgb,var(--dfhc-item-accent) 33%,white)!important;
 box-shadow:inset 4px 0 var(--dfhc-item-accent)!important;
}
body.dfhc-home a.dfhc-topic-card :is(strong,b,span,h3,h4),
body.dfhc-home a.dfhc-shortcut :is(strong,b,span) {color:inherit!important}
body.dfhc-home a.dfhc-topic-card:hover,
body.dfhc-home a.dfhc-shortcut:hover {
 background:linear-gradient(105deg,color-mix(in srgb,var(--dfhc-item-accent) 23%,white),#FFF 94%)!important;
}
/* Wiadomosci gospodarcze — tylko powloka, bez ingerencji we wnetrze iframe. */
body.dfhc-home .dfwg-home-news {
 background:linear-gradient(155deg,#FFF2E9,#FFF 38%)!important;
 border-color:#D8B39E!important;
 box-shadow:inset 0 5px var(--dfhc-terracotta)!important;
}
body.dfhc-home .dfwg-home-news__top {
 background:linear-gradient(100deg,#F9E5D9,#FFF 96%)!important;
 box-shadow:inset 5px 0 var(--dfhc-terracotta)!important;
}
body.dfhc-home .dfwg-home-news__top h2 {color:#80442F!important}
body.dfhc-home .dfwg-home-news__top p {color:#554C49!important}
body.dfhc-home .dfwg-home-news__eyebrow {color:#875138!important}
body.dfhc-home .dfwg-home-news__open {background:#234C64!important;color:#FFF!important}
body.dfhc-home .dfwg-home-news__open:hover {background:#16384F!important}
body.dfhc-home .dfwg-home-news__body {border-color:#E4D3C6!important}
/* Widgety rynku i tabele — bez dotykania wykresow ani wartosci. */
body.dfhc-home .tradingview-widget-container {border-color:#CFDFE6!important}
body.dfhc-home :is(.wp-block-table,.entry-content table) thead th {background:#244C67!important;color:#FFF!important}
body.dfhc-home :is(.wp-block-table,.entry-content table) tbody tr:nth-child(even) {background:#EDF5F7!important}
/* Wybrane palety rowniez zmieniaja tylko barwy. */
body.dfhc-home.dfhc-palette-vivid .dfhc-category,
body.dfhc-home.dfhc-palette-vivid .dfhc-section-title,
body.dfhc-home.dfhc-palette-vivid a.dfhc-shortcut,
body.dfhc-home.dfhc-palette-vivid a.dfhc-topic-card {
 background:linear-gradient(100deg,color-mix(in srgb,var(--dfhc-item-accent) 26%,white),#FFF 95%)!important;
}
body.dfhc-home.dfhc-palette-pastel .dfhc-category,
body.dfhc-home.dfhc-palette-pastel .dfhc-section-title,
body.dfhc-home.dfhc-palette-pastel a.dfhc-shortcut,
body.dfhc-home.dfhc-palette-pastel a.dfhc-topic-card {
 background:linear-gradient(100deg,color-mix(in srgb,var(--dfhc-item-accent) 10%,white),#FFF 95%)!important;
}
