/* =========================================================
   Block 1 — Hero (Figma 2944:53888 / 53889 / 53922 / 54010)
   ========================================================= */

/* Hero under fixed header (theme .main has pt for header height) */
.p-tkw-update .main {
  padding-top: 0 !important;
  overflow-x: clip;
}

/* invest / invest-wrap: visible — rotated .decor frames must not be clipped */
.p-tkw-update .invest-img,
.p-tkw-update .create {
  overflow-x: clip;
}

/*
 * Keep theme header position:fixed (do NOT force absolute — breaks sticky).
 * Transparent only at top of page; restore normal header on .is-fixed.
 * Never paint mega-menu / .child text white.
 */
.p-tkw-update .header:not(.is-fixed) {
  background: transparent !important;
  box-shadow: none !important;
}

.p-tkw-update .header:not(.is-fixed) .header-menu {
  background: transparent !important;
}

.p-tkw-update .header:not(.is-fixed) .header-nav > .menu > .menu-item > .menu-link,
.p-tkw-update .header:not(.is-fixed) .header-nav > .menu > .menu-item > a,
.p-tkw-update .header:not(.is-fixed) .js-menu-search .search,
.p-tkw-update .header:not(.is-fixed) .menu-bar,
.p-tkw-update .header:not(.is-fixed) .js-bar {
  color: #fff !important;
}

.p-tkw-update .header:not(.is-fixed) .header-logo img,
.p-tkw-update .header:not(.is-fixed) .header-logo svg,
.p-tkw-update .header:not(.is-fixed) .header-logo .custom-logo {
  filter: brightness(0) invert(1);
}

/* Mega menu / dropdown: keep readable dark text (never inherit hero white). */
.p-tkw-update .header .child,
.p-tkw-update .header .child-cate,
.p-tkw-update .header .child1,
.p-tkw-update .header .search-menu,
.p-tkw-update .header .blog-megamenu {
  color: #1c2933;
}

.p-tkw-update .header .child a,
.p-tkw-update .header .child .menu-link,
.p-tkw-update .header .child-cate a,
.p-tkw-update .header .child-cate .menu-link,
.p-tkw-update .header .child-cate_item,
.p-tkw-update .header .blog-megamenu a,
.p-tkw-update .header .blog-megamenu .menu-link {
  color: #1c2933;
}

/* Scrolled: theme white sticky header */
.p-tkw-update .header.is-fixed {
  background-color: #fff !important;
  box-shadow: var(--box-shadow-1, 0 8px 24px rgba(0, 0, 0, 0.1));
}

.p-tkw-update .header.is-fixed .header-logo img,
.p-tkw-update .header.is-fixed .header-logo svg,
.p-tkw-update .header.is-fixed .header-logo .custom-logo {
  filter: none;
}

