.elementor-13 .elementor-element.elementor-element-67922a2{--display:grid;--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-13 .elementor-element.elementor-element-9ce2cec{--display:flex;}.elementor-13 .elementor-element.elementor-element-9ce2cec:not(.elementor-motion-effects-element-type-background), .elementor-13 .elementor-element.elementor-element-9ce2cec > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1024px){.elementor-13 .elementor-element.elementor-element-67922a2{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-13 .elementor-element.elementor-element-67922a2{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for html, class: .elementor-element-0c2a13f *//* --- Base Reset & Variable --- */
.kabutan-header {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.4;
}
.kabutan-header * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.kabutan-header a {
  text-decoration: none;
  color: inherit;
}
.kabutan-header ul {
  list-style: none;
}
.kabutan-header .container-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
}

/* --- 1. Top Utility Bar --- */
.header-top-bar {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-size: 12px;
  padding: 6px 0;
}
.header-top-bar .container-inner {
  justify-content: flex-end;
}
.top-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}
.top-menu li a {
  color: #555;
}
.top-menu li a:hover {
  text-decoration: underline;
}
.top-menu .btn-premium {
  background: linear-gradient(to right, #ff9f1a, #ff761a);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: bold;
}

/* --- 2. Main Header (Logo & Tickers) --- */
.header-main-row {
  padding: 15px 0;
}
.header-main-row .container-inner {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
/* Logo */
.header-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon {
  font-size: 32px;
  color: #d92121;
}
.brand-main {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #0b3c5d;
  line-height: 1;
}
.brand-sub {
  font-size: 10px;
  color: #777;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Ticker Blocks */
.market-tickers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ticker-box {
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 160px;
  background-color: #fff;
  overflow: hidden;
  font-size: 12px;
}
.ticker-title {
  background-color: #4a4a4a;
  color: #fff;
  padding: 3px 8px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}
.ticker-title .time {
  color: #ffeb3b;
}
.ticker-body {
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ticker-price {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.ticker-change {
  text-align: right;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
}
/* Color Schemes for Stock Up/Down */
.standard-down .ticker-title { background: linear-gradient(#555, #333); }
.standard-down .ticker-change { color: #1e70bf; } /* Blue for Down in Japan Market */
.standard-up .ticker-title { background: linear-gradient(#666, #444); }
.standard-up .ticker-change { color: #da2121; } /* Red for Up in Japan Market */

/* --- 3. Navigation Bar (Gradient Tabs) --- */
.header-nav-bar {
  background-color: #f0f0f0;
  padding-top: 5px;
}
.nav-menu {
  display: flex;
  width: 100%;
  gap: 2px;
}
.nav-menu li {
  flex: 1;
  text-align: center;
}
.nav-menu li a {
  display: block;
  background: linear-gradient(to bottom, #1d4477, #0d2342);
  color: #fff;
  padding: 10px 4px;
  font-size: 13px;
  font-weight: bold;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border: 1px solid #0d2342;
  transition: all 0.2s ease;
}
.nav-menu li a:hover, 
.nav-menu li.active a {
  background: linear-gradient(to bottom, #ffffff, #e6e6e6);
  color: #0d2342;
  border-bottom: none;
}

/* --- 4. Search & PR Bar --- */
.header-search-bar {
  background-color: #e6e6e6;
  padding: 8px 0;
  border-bottom: 2px solid #ccc;
}
.search-flex {
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
}
.search-box-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}
.search-label {
  font-weight: bold;
  font-size: 14px;
  color: #c00;
  margin-right: 5px;
}
.search-input {
  padding: 6px 10px;
  width: 320px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 13px;
}
.btn-search, .btn-search-sub, .btn-search-blue {
  padding: 6px 12px;
  border: 1px solid #999;
  border-radius: 4px;
  background-color: #f0f0f0;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
}
.btn-search-blue {
  background-color: #005bac;
  color: #fff;
  border-color: #004b8d;
}
.pr-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
}
.pr-tag {
  background-color: #bbb;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 10px;
}
.pr-wrapper a {
  color: #005bac;
  font-weight: bold;
}
.pr-wrapper a:hover {
  text-decoration: underline;
}

/* --- Responsive Menu สำหรับจอเล็ก --- */
@media (max-width: 992px) {
  .market-tickers { justify-content: center; width: 100%; }
  .nav-menu { flex-wrap: wrap; }
  .nav-menu li { flex: none; width: 25%; }
  .search-flex { flex-direction: column; align-items: flex-start; }
  .search-input { width: 100%; }
}/* End custom CSS */