.elementor-11 .elementor-element.elementor-element-1ba889f{--display:flex;border-style:solid;--border-style:solid;border-width:0px 0px 1px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:1px;--border-left-width:0px;border-color:#DDDDDD;--border-color:#DDDDDD;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-1ba889f:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-1ba889f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F8F9FA;}.elementor-11 .elementor-element.elementor-element-abb185b{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-226aa16 */.mk-custom-header {
  font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  box-sizing: border-box;
}
.mk-custom-header * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
  padding: 8px 0;
}
.ticker-scroll {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: ticker-move 25s linear infinite;/
}

.ticker-wrapper:hover .ticker-scroll {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-block;
  padding: 0 20px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}
.stock-name {
  color: #666;
  margin-right: 5px;
}
.stock-down {
  color: #3162c7; /* สีน้ำเงินตามรูปขาลง */
  margin-left: 5px;
}
@keyframes ticker-move {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}


.main-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.header-left, .sub-left {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #000;
}
.logo-badge {
  background-color: #f4623a;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  margin-left: 5px;
}
.main-nav a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  margin-right: 20px;
}
.main-nav a.active-orange {
  color: #ff6b00; 
}
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #666;
  font-size: 14px;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.sub-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-top: 1px solid #eee;
  max-width: 1200px;
  margin: 0 auto;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  width: 20px;
}
.hamburger-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #333;
}
.sub-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  margin-right: 15px;
}
.sub-nav a.active-black {
  font-weight: bold;
}

.search-box-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  padding: 4px 10px;
  background-color: #fff;
  width: 300px;
}
.search-box-wrap input {
  border: none;
  outline: none;
  font-size: 12px;
  width: 100%;
  color: #666;
}
.search-submit-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #ff6b00;
  font-size: 16px;
}

@media (max-width: 768px) {
  .main-nav, .sub-nav, .header-right {
    display: none;
  }
  .search-box-wrap {
    width: 150px;
  }
}/* End custom CSS */