/* Solutions dropdown, laid out like Cloudflare's: three themed columns split by hairlines,
   each item an icon + title row with the description indented beneath. Floating panel on desktop
   and tablet, inline list inside the phone menu. */
.gt-solutions-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.gt-solutions-trigger svg {
  flex: 0 0 auto;
  opacity: 0.55;
}

.gt-solutions-trigger[aria-expanded="true"] {
  color: #11131d;
}

.gt-solutions-trigger[aria-expanded="true"] svg {
  opacity: 0.9;
}

.gt-solutions-panel {
  position: fixed;
  z-index: 10050;
  box-sizing: border-box;
  padding: 8px 0;
  border: 1px solid rgba(17, 19, 29, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(40, 44, 80, 0.14), 0 2px 6px rgba(40, 44, 80, 0.05);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  animation: gt-solutions-in 0.16s ease-out;
}

.gt-solutions-panel[hidden] {
  display: none !important;
}

@keyframes gt-solutions-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.gt-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gt-solutions-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
}

.gt-solutions-col + .gt-solutions-col {
  border-left: 1px solid rgba(17, 19, 29, 0.08);
}

.gt-solutions-item {
  display: block;
  padding: 16px 18px;
  border-radius: 12px;
  color: #11131d;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.gt-solutions-item:hover,
.gt-solutions-item:focus-visible {
  background: #f4f3fc;
  outline: none;
}

.gt-solutions-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gt-solutions-icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: #6b6e80;
}

.gt-solutions-item:hover .gt-solutions-icon,
.gt-solutions-item:focus-visible .gt-solutions-icon {
  color: #5e54e8;
}

.gt-solutions-item strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.gt-solutions-text {
  display: block;
  margin-top: 6px;
  padding-left: 24px;
  color: #6b6e80;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .gt-solutions-col {
    padding: 0 4px;
  }

  .gt-solutions-item {
    padding: 14px 14px;
  }
}

@media (max-width: 600px) {
  .gt-solutions-panel {
    position: static;
    grid-column: 1 / -1;
    flex: 1 0 100%;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: none;
  }

  /* One list on phones: the columns stack and the hairlines become row dividers. */
  .gt-solutions-grid {
    grid-template-columns: 1fr;
    border: 1px solid rgba(17, 19, 29, 0.07);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
  }

  .gt-solutions-col {
    gap: 0;
    padding: 0;
  }

  .gt-solutions-col + .gt-solutions-col {
    border-left: 0;
    border-top: 1px solid rgba(17, 19, 29, 0.07);
  }

  /* The phone menu styles every nav link as a centred pill (some with !important); undo that here. */
  .topbar nav .gt-solutions-panel .gt-solutions-item {
    display: block !important;
    flex: none !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #11131d;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: left;
    white-space: normal !important;
    transform: none !important;
  }

  .topbar nav .gt-solutions-panel .gt-solutions-item + .gt-solutions-item {
    box-shadow: inset 0 1px 0 rgba(17, 19, 29, 0.07);
  }

  .topbar nav .gt-solutions-panel .gt-solutions-item:hover,
  .topbar nav .gt-solutions-panel .gt-solutions-item:focus-visible {
    background: #f6f5fd !important;
  }

  .gt-solutions-item strong {
    font-size: 14px;
  }

  .gt-solutions-text {
    margin-top: 3px;
    font-size: 12.5px;
  }
}
