:root {
  --arn-hm-ink: #172033;
  --arn-hm-muted: #667085;
  --arn-hm-red: #e31e2f;
  --arn-hm-red-dark: #c91929;
  --arn-hm-soft: #f7f8fb;
  --arn-hm-line: #e8ebf1;
  --arn-hm-shadow: 0 24px 60px rgba(20, 29, 50, .14);
}

.arn-hm-nav { gap: 2px; }
.arn-hm-node { position: static !important; }
.arn-hm-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--arn-hm-ink);
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  padding: .72rem .7rem !important;
  white-space: nowrap;
}
.arn-hm-trigger:hover,
.arn-hm-trigger:focus,
.arn-hm-node.show > .arn-hm-trigger { color: var(--arn-hm-red) !important; }
.arn-hm-trigger:focus-visible,
.arn-hm-link:focus-visible,
.arn-hm-card:focus-visible,
.arn-hm-country:focus-visible {
  outline: 3px solid rgba(227, 30, 47, .2);
  outline-offset: 2px;
}
.arn-hm-caret {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  display: inline-block;
  height: 7px;
  margin-top: -3px;
  transform: rotate(45deg);
  transition: transform .18s ease;
  width: 7px;
}
.arn-hm-node.show > .arn-hm-trigger .arn-hm-caret { transform: rotate(225deg) translate(-2px, -2px); }

.arn-hm-menu {
  background: #fff;
  border: 1px solid var(--arn-hm-line) !important;
  border-radius: 0 0 18px 18px !important;
  box-shadow: var(--arn-hm-shadow);
  display: block !important;
  left: 50% !important;
  margin: 0 !important;
  opacity: 0;
  padding: 0 !important;
  pointer-events: none;
  right: auto !important;
  top: calc(100% + 1px) !important;
  transform: translate(-50%, 10px) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  visibility: hidden;
  width: min(1180px, calc(100vw - 32px)) !important;
  z-index: 1055;
}
.arn-hm-node.show > .arn-hm-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) !important;
  visibility: visible;
}
.arn-hm-shell { max-height: min(72vh, 720px); overflow: auto; padding: 24px; }
.arn-hm-shell::-webkit-scrollbar,
.arn-hm-country-results::-webkit-scrollbar { height: 7px; width: 7px; }
.arn-hm-shell::-webkit-scrollbar-thumb,
.arn-hm-country-results::-webkit-scrollbar-thumb { background: #c9ced8; border-radius: 8px; }
.arn-hm-head { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 18px; }
.arn-hm-kicker { color: var(--arn-hm-red); font-size: 11px; font-weight: 800; letter-spacing: .11em; margin: 0 0 4px; text-transform: uppercase; }
.arn-hm-title { color: var(--arn-hm-ink); font-size: 20px; font-weight: 800; line-height: 1.2; margin: 0; }
.arn-hm-subtitle { color: var(--arn-hm-muted); font-size: 13px; line-height: 1.55; margin: 5px 0 0; max-width: 620px; }

.arn-hm-products { display: grid; gap: 24px; grid-template-columns: minmax(0, 2fr) minmax(260px, .82fr); }
.arn-hm-product-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.arn-hm-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--arn-hm-line);
  border-radius: 12px;
  color: var(--arn-hm-ink) !important;
  display: flex;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  text-decoration: none !important;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.arn-hm-card:hover { background: #fffafb; border-color: rgba(227, 30, 47, .32); box-shadow: 0 8px 24px rgba(25, 33, 50, .07); }
.arn-hm-icon {
  align-items: center;
  background: #fff1f3;
  border-radius: 10px;
  color: var(--arn-hm-red);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 17px;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.arn-hm-card-copy { min-width: 0; }
.arn-hm-card-title { align-items: center; display: flex; flex-wrap: wrap; font-size: 14px; font-weight: 800; gap: 7px; line-height: 1.25; }
.arn-hm-card-desc { color: var(--arn-hm-muted); display: block; font-size: 12px; line-height: 1.45; margin-top: 4px; }
.arn-hm-badge { background: #fff1f3; border: 1px solid #ffd4da; border-radius: 999px; color: var(--arn-hm-red-dark); font-size: 9px; font-weight: 800; letter-spacing: .02em; padding: 3px 6px; }
.arn-hm-badge.is-dark { background: #20283a; border-color: #20283a; color: #fff; }
.arn-hm-badge.is-green { background: #ecfdf3; border-color: #c5f1d7; color: #087443; }
.arn-hm-tools { background: var(--arn-hm-soft); border: 1px solid var(--arn-hm-line); border-radius: 14px; padding: 16px; }
.arn-hm-side-title { color: var(--arn-hm-ink); font-size: 13px; font-weight: 800; margin: 0 0 10px; }
.arn-hm-tool-list { display: grid; gap: 8px; }
.arn-hm-tool { align-items: center; background: #fff; border: 1px solid transparent; border-radius: 10px; color: var(--arn-hm-ink) !important; display: flex; gap: 10px; min-height: 52px; padding: 9px 10px; text-decoration: none !important; }
.arn-hm-tool:hover { border-color: #dfe3ea; }
.arn-hm-tool .arn-hm-icon { flex-basis: 34px; font-size: 14px; height: 34px; width: 34px; }

.arn-hm-country-toolbar { align-items: center; display: flex; gap: 14px; justify-content: space-between; margin-bottom: 15px; }
.arn-hm-search-wrap { max-width: 410px; position: relative; width: 100%; }
.arn-hm-search-wrap i { color: #8b93a3; left: 14px; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); }
.arn-hm-country-search { background: var(--arn-hm-soft); border: 1px solid var(--arn-hm-line); border-radius: 11px; color: var(--arn-hm-ink); font-size: 13px; height: 44px; outline: 0; padding: 0 14px 0 40px; width: 100%; }
.arn-hm-country-search:focus { background: #fff; border-color: rgba(227, 30, 47, .5); box-shadow: 0 0 0 3px rgba(227, 30, 47, .08); }
.arn-hm-country-grid { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.arn-hm-country {
  align-items: center;
  border: 1px solid var(--arn-hm-line);
  border-radius: 10px;
  color: var(--arn-hm-ink) !important;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
  min-height: 46px;
  padding: 9px 11px;
  text-decoration: none !important;
}
.arn-hm-country:hover { background: #fffafb; border-color: rgba(227, 30, 47, .28); }
.arn-hm-country[hidden] { display: none !important; }
.arn-hm-country img { border-radius: 3px; height: 16px; object-fit: cover; width: 23px; }
.arn-hm-country-results { display: none; max-height: 320px; overflow: auto; padding-right: 4px; }
.arn-hm-country-results.is-active { display: grid; }
.arn-hm-country-featured.is-hidden { display: none; }
.arn-hm-empty { color: var(--arn-hm-muted); display: none; font-size: 13px; padding: 18px 2px; }
.arn-hm-empty.is-visible { display: block; }
.arn-hm-footer { align-items: center; border-top: 1px solid var(--arn-hm-line); display: flex; justify-content: space-between; margin-top: 18px; padding-top: 15px; }
.arn-hm-footer-note { color: var(--arn-hm-muted); font-size: 12px; }
.arn-hm-cta { align-items: center; background: var(--arn-hm-red); border-radius: 9px; color: #fff !important; display: inline-flex; font-size: 12px; font-weight: 800; gap: 8px; min-height: 40px; padding: 0 14px; text-decoration: none !important; }
.arn-hm-cta:hover { background: var(--arn-hm-red-dark); }

.arn-hm-purpose-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.arn-hm-purpose { background: var(--arn-hm-soft); border: 1px solid var(--arn-hm-line); border-radius: 13px; min-width: 0; padding: 14px; }
.arn-hm-purpose-title { align-items: center; color: var(--arn-hm-ink); display: flex; font-size: 13px; font-weight: 800; gap: 8px; margin: 0 0 8px; }
.arn-hm-purpose-title i { color: var(--arn-hm-red); width: 17px; }
.arn-hm-purpose-list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.arn-hm-purpose-link { border-radius: 7px; color: #4e586b !important; display: block; font-size: 12px; font-weight: 600; overflow: hidden; padding: 6px 8px; text-decoration: none !important; text-overflow: ellipsis; white-space: nowrap; }
.arn-hm-purpose-link:hover { background: #fff; color: var(--arn-hm-red) !important; }

.arn-hm-resource-grid { display: grid; gap: 11px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.arn-hm-resource-grid .arn-hm-card { align-items: flex-start; min-height: 112px; }
.arn-hm-resource-grid .arn-hm-icon { margin-top: 1px; }

.arn-hm-link { color: var(--arn-hm-ink) !important; font-weight: 600; min-height: 44px; padding: .72rem .7rem !important; white-space: nowrap; }
.arn-hm-link:hover { color: var(--arn-hm-red) !important; }

@media (min-width: 1200px) {
  .main-header.navbar-expand-xl .navbar-collapse { display: flex !important; }
  .main-header.navbar-expand-xl .navbar-toggler { display: none; }
}

@media (max-width: 1199.98px) {
  body.mobile-menu-open { overflow: hidden !important; }
  .main-header.navbar-expand-xl { flex-wrap: wrap; }
  .main-header.navbar-expand-xl .navbar-toggler { display: block; }
  .main-header.navbar-expand-xl #mainHeaderContent {
    align-items: stretch !important;
    background: #fff;
    bottom: 0;
    display: none !important;
    flex-basis: auto;
    flex-direction: column;
    height: calc(100vh - var(--arn-mobile-header-height, 72px));
    left: 0;
    max-height: calc(100vh - var(--arn-mobile-header-height, 72px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px 16px 24px;
    position: fixed;
    right: 0;
    top: var(--arn-mobile-header-height, 72px);
    width: 100%;
    z-index: 1052;
  }
  .main-header.navbar-expand-xl #mainHeaderContent.show { display: flex !important; }
  .arn-hm-nav { align-items: stretch !important; display: block; width: 100%; }
  .arn-hm-node { border-bottom: 1px solid #eef0f4; }
  .arn-hm-trigger,
  .arn-hm-link { justify-content: space-between; min-height: 52px; padding: 0 5px !important; width: 100%; }
  .arn-hm-menu {
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none;
    display: none !important;
    left: auto !important;
    opacity: 1;
    position: static !important;
    transform: none !important;
    visibility: visible;
    width: 100% !important;
  }
  .arn-hm-node.show > .arn-hm-menu { display: block !important; pointer-events: auto; }
  .arn-hm-shell { background: #fafbfc; border: 1px solid var(--arn-hm-line); border-radius: 12px; max-height: none; overflow: visible; padding: 14px; }
  .arn-hm-head { margin-bottom: 13px; }
  .arn-hm-title { font-size: 17px; }
  .arn-hm-subtitle { font-size: 12px; }
  .arn-hm-products { grid-template-columns: 1fr; }
  .arn-hm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arn-hm-country-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .arn-hm-purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arn-hm-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-right { align-items: stretch !important; flex-wrap: wrap; margin-top: 14px; width: 100%; }
  .header-right > * { max-width: 100%; }
}

@media (max-width: 767.98px) {
  .arn-hm-product-grid,
  .arn-hm-country-grid,
  .arn-hm-purpose-grid,
  .arn-hm-resource-grid { grid-template-columns: 1fr 1fr; }
  .arn-hm-country-toolbar { align-items: stretch; flex-direction: column; }
  .arn-hm-search-wrap { max-width: none; }
  .arn-hm-footer { align-items: stretch; flex-direction: column; gap: 10px; }
  .arn-hm-cta { justify-content: center; }
}

@media (max-width: 520px) {
  .main-header.navbar-expand-xl #mainHeaderContent { padding-left: 11px; padding-right: 11px; }
  .arn-hm-shell { padding: 11px; }
  .arn-hm-product-grid,
  .arn-hm-country-grid,
  .arn-hm-purpose-grid,
  .arn-hm-resource-grid { grid-template-columns: 1fr; }
  .arn-hm-card { min-height: 68px; }
  .arn-hm-head { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .arn-hm-menu,
  .arn-hm-card,
  .arn-hm-caret { transition: none !important; }
}

/* 2026-08-25: eski kullanım amaçları düzeni + tam genişlik mega menüler */
.arn-hm-caret {
  margin-top: 0;
  position: relative;
  top: -2px;
}
.arn-hm-node.show > .arn-hm-trigger .arn-hm-caret {
  top: 2px;
  transform: rotate(225deg);
}

.arn-hm-purpose-menu-title {
  color: #2f3f51;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.arn-hm-purpose-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.arn-hm-purpose {
  background: #fff;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, .08);
  border-radius: 0;
  min-width: 0;
  padding: 14px 18px 18px;
}
.arn-hm-purpose:nth-child(3n) { border-right: 0; }
.arn-hm-purpose:nth-child(n+4) {
  border-top: 1px solid rgba(0, 0, 0, .07);
  padding-top: 22px;
}
.arn-hm-purpose-title {
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  color: #2f3f51;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  margin: 0 0 8px;
  padding-bottom: 7px;
}
.arn-hm-purpose-title i {
  color: var(--arn-hm-red);
  flex: 0 0 18px;
  text-align: center;
  width: 18px;
}
.arn-hm-purpose-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.arn-hm-purpose-list li {
  min-width: 0;
  width: calc(50% - 4px);
}
.arn-hm-purpose-link {
  align-items: center;
  border-radius: 8px;
  color: #212529 !important;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
  min-height: 40px;
  overflow: hidden;
  padding: 8px 9px;
  text-decoration: none !important;
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.arn-hm-purpose-link > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arn-hm-purpose-link:hover {
  background: rgba(189, 0, 0, .05);
  color: var(--arn-hm-red) !important;
}
.arn-hm-purpose-brand-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 20px;
  height: 20px;
  justify-content: center;
  width: 20px;
}
.arn-hm-purpose-brand-icon img {
  height: 20px;
  max-width: 20px;
  object-fit: contain;
  width: 20px;
}
.arn-hm-purpose-brand-icon i {
  color: var(--arn-hm-red);
  font-size: 14px;
}
.arn-hm-purpose-all {
  background: #f4f5f7;
  border-radius: 8px;
  color: #111 !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  margin-top: 13px;
  min-height: 32px;
  padding: 7px 11px;
  text-decoration: none !important;
}
.arn-hm-purpose-all:hover {
  background: rgba(189, 0, 0, .06);
  color: var(--arn-hm-red) !important;
}

@media (min-width: 1200px) {
  .arn-hm-menu {
    left: 0 !important;
    right: 0 !important;
    transform: translateY(10px) !important;
    width: 100% !important;
  }
  .arn-hm-node.show > .arn-hm-menu {
    transform: translateY(0) !important;
  }
  .arn-hm-shell {
    margin: 0 auto;
    max-width: 1180px;
    width: calc(100% - 32px);
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .arn-hm-purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arn-hm-purpose { border-right: 1px solid rgba(0, 0, 0, .08); }
  .arn-hm-purpose:nth-child(3n) { border-right: 1px solid rgba(0, 0, 0, .08); }
  .arn-hm-purpose:nth-child(2n) { border-right: 0; }
  .arn-hm-purpose:nth-child(n+3) {
    border-top: 1px solid rgba(0, 0, 0, .07);
    padding-top: 22px;
  }
}

@media (max-width: 767.98px) {
  .arn-hm-purpose-grid { grid-template-columns: 1fr; }
  .arn-hm-purpose,
  .arn-hm-purpose:nth-child(2n),
  .arn-hm-purpose:nth-child(3n) {
    border-right: 0;
  }
  .arn-hm-purpose:nth-child(n+2) {
    border-top: 1px solid rgba(0, 0, 0, .07);
    padding-top: 20px;
  }
  .arn-hm-purpose-list li { width: 100%; }
}