.opener-d28b, .dismisser-9bd2 { display: none; }

.opener-d28b { background: #111827; color: #ffffff; border-radius: 4px; }
.dismisser-9bd2 { color: #111827; border: 1px solid #111827; border-radius: 4px; }

details#mgcc9b-details[open] > #mgcc9b { display: block !important; }

@media (max-width: 1024px) {
  .opener-d28b { display: inline-flex !important; align-items: center; gap: 8px; cursor: pointer; padding: 10px 14px; background: #111827; color: #ffffff; border: 0; border-radius: 4px; font-size: 14px; font-family: inherit; }
  .opener-d28b .ic { font-size: 18px; line-height: 1; }
  .dismisser-9bd2 { cursor: pointer; padding: 8px 12px; background: transparent; color: #111827; border: 1px solid #111827; border-radius: 4px; font-size: 13px; font-family: inherit; margin-bottom: 10px; display: inline-block; }
  #mgcc9b { display: none !important; padding: 16px; background: #ffffff; border: 1px solid #d1d5db; border-radius: 4px; margin-top: 10px; }
  #mgcc9b.on { display: block !important; }
  #mgcc9b > ul { list-style: none; padding: 0; margin: 0; }
  #mgcc9b > ul > li { border-bottom: 1px solid #d1d5db; position: relative; }
  #mgcc9b > ul > li:last-child { border-bottom: 0; }
  #mgcc9b > ul > li > a { display: block; padding: 14px 16px; color: #111827; text-decoration: none; font-size: 14px; }
  #mgcc9b > ul > li.has-children > a::after { content: '▾'; float: right; opacity: 0.6; transition: transform 0.2s; }
  #mgcc9b > ul > li.has-children.open > a::after { transform: rotate(180deg); }
  #mgcc9b ul.sub { list-style: none; padding: 0; margin: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: #f3f4f6; }
  #mgcc9b > ul > li.open > ul.sub { max-height: 1000px; }
  #mgcc9b ul.sub > li { border-bottom: 1px solid #d1d5db; }
  #mgcc9b ul.sub > li:last-child { border-bottom: 0; }
  #mgcc9b ul.sub > li > a { display: block; padding: 12px 20px; color: #111827; text-decoration: none; font-size: 13px; }
  #mgcc9b > ul > li.mi-logo { border-bottom: 1px solid #d1d5db; padding: 16px; display: flex; align-items: center; }
  #mgcc9b > ul > li.mi-logo a { padding: 0; display: inline-flex; align-items: center; line-height: 0; }
  #mgcc9b > ul > li.mi-logo img { display: block; height: auto; width: auto; max-width: 240px; }
  #mgcc9b > ul > li.mi-sep { border-bottom: 1px solid #d1d5db; height: 1px; padding: 0; margin: 0; }
  #mgcc9b > ul > li.mi-search { padding: 14px 16px; border-bottom: 1px solid #d1d5db; }
  #mgcc9b > ul > li.mi-search form { display: flex; gap: 6px; margin: 0; }
  #mgcc9b > ul > li.mi-search input { flex: 1; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 4px; font-size: 13px; font-family: inherit; }
  #mgcc9b > ul > li.mi-search button { padding: 8px 10px; background: #111827; color: #ffffff; border: 0; border-radius: 4px; cursor: pointer; font-size: 13px; }
}

@media (min-width: 1025px) {
  .opener-d28b, .dismisser-9bd2 { display: none !important; }
  #mgcc9b { display: block !important; padding: 0 !important; background: transparent !important; border: 0 !important; margin: 0 !important; overflow: visible !important; position: static !important; inset: auto !important; transform: none !important; width: auto !important; max-width: none !important; max-height: none !important; }
  #mgcc9b > ul { display: flex !important; flex-direction: row; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; align-items: center; }
  #mgcc9b > ul > li { border: 0 !important; position: relative; }
  #mgcc9b > ul > li > a { display: inline-block; padding: 14px 16px; color: #111827; text-decoration: none; font-size: 14px; border-radius: 4px; transition: background 0.2s; }
  #mgcc9b > ul > li > a:hover { background: #f3f4f6; }
  #mgcc9b > ul > li.has-children > a::after { content: ' ▾'; opacity: 0.55; font-size: 11px; }
  #mgcc9b ul.sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: #ffffff; border: 1px solid #d1d5db; border-radius: 4px; box-shadow: 0 6px 20px rgba(0,0,0,0.15); padding: 6px 0; margin: 0; list-style: none; z-index: 99999; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.25s; pointer-events: none; }
  #mgcc9b > ul > li.has-children:hover > ul.sub, #mgcc9b ul.sub:hover, #mgcc9b > ul > li.has-children:focus-within > ul.sub, #mgcc9b > ul > li.has-children.open > ul.sub { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s; }
  #mgcc9b ul.sub > li { border: 0 !important; width: 100%; }
  #mgcc9b ul.sub > li > a { display: block !important; padding: 12px 14px !important; color: #111827 !important; text-decoration: none; font-size: 13px; white-space: nowrap; border-radius: 0 !important; transition: background 0.15s; }
  #mgcc9b ul.sub > li > a:hover { background: #f3f4f6; }
  #mgcc9b > ul > li.mi-logo { border: 0 !important; padding: 0 16px 0 0 !important; margin-right: 6px; display: flex; align-items: center; }
  #mgcc9b > ul > li.mi-logo a { padding: 0 !important; display: inline-flex; align-items: center; line-height: 0; background: transparent !important; }
  #mgcc9b > ul > li.mi-logo a:hover { background: transparent !important; }
  #mgcc9b > ul > li.mi-logo img { display: block; max-width: 200px; height: auto; width: auto; }
  #mgcc9b > ul > li.mi-sep { width: 1px; height: 22px; background: #d1d5db; padding: 0 !important; margin: 0 6px !important; border: 0 !important; align-self: center; }
  #mgcc9b > ul > li.mi-search { border: 0 !important; padding: 0 !important; margin-left: auto; }
  #mgcc9b > ul > li.mi-search form { display: flex; gap: 4px; margin: 0; align-items: center; }
  #mgcc9b > ul > li.mi-search input { padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 4px; font-size: 13px; font-family: inherit; width: 160px; }
  #mgcc9b > ul > li.mi-search button { padding: 6px 10px; background: #111827; color: #ffffff; border: 0; border-radius: 4px; cursor: pointer; font-size: 13px; }
}
