/* =========================================
   Svea Guide Tabs — v1.0
   ========================================= */

.sgt-guide {
  font-family: "IBM Plex Sans", sans-serif;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
  background: #1e4352;
  padding-top: 40px;
  padding-bottom: 40px;
}

.sgt-guide *,
.sgt-guide *::before,
.sgt-guide *::after {
  box-sizing: inherit;
}

/* ---- Nav ---- */
.sgt-nav {
  flex: 0 0 280px;
  background: #163440;
  border: 0.5px solid #f2ece11f;
  border-radius: 14px;
  padding: 24px;
}

.sgt-nav-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase;
  color: #f9b000 !important;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(242, 236, 225, 0.14);
}

.sgt-nav-eyebrow-icon {
  width: 16px;
  height: 16px;
  color: #f9b000;
  flex-shrink: 0;
}

.sgt-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sgt-nav-item,
.sgt-nav-item:hover,
.sgt-nav-item:focus,
.sgt-nav-item:active {
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: rgba(242, 236, 225, 0.65) !important;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.sgt-nav-item:hover,
.sgt-nav-item:focus {
  color: rgba(242, 236, 225, 0.9) !important;
}

.sgt-nav-item--active,
.sgt-nav-item--active:hover,
.sgt-nav-item--active:focus {
  background: rgba(249, 176, 0, 0.1) !important;
  background-color: rgba(249, 176, 0, 0.1) !important;
  border-color: rgba(249, 176, 0, 0.5) !important;
  color: #f9b000 !important;
  font-weight: 600 !important;
}

/* ---- Content ---- */
.sgt-content {
  flex: 1 1 auto;
  min-width: 0;
}

.sgt-panel {
  display: none;
}

.sgt-panel--active {
  display: block;
}

.sgt-panel-title {
  font-family: "IBM Plex Serif", serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  color: #f2ece1 !important;
  line-height: 1.25 !important;
  margin: 0 0 16px 0 !important;
}

.sgt-panel-body {
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: rgba(242, 236, 225, 0.8) !important;
}

.sgt-panel-body p {
  margin: 0 0 16px 0;
}

.sgt-panel-body ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

.sgt-panel-body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.sgt-panel-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f9b000;
}

.sgt-panel-body img {
  max-width: 100%;
  border-radius: 14px;
  margin: 8px 0 16px 0;
}

.sgt-panel-body a {
  color: #f9b000 !important;
}

/* Optional callout boxes — add via the WYSIWYG field's "Text" (raw HTML) tab:
   <div class="sgt-callout"><span class="sgt-callout-icon">!</span><p>...</p></div>
   <div class="sgt-callout sgt-callout--info">...</div> for the green variant. */
.sgt-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(249, 176, 0, 0.1);
  border: 1px solid rgba(249, 176, 0, 0.35);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 16px 0;
}

.sgt-callout--info {
  background: rgba(140, 153, 123, 0.16);
  border-color: rgba(140, 153, 123, 0.45);
}

.sgt-callout p {
  margin: 0 !important;
  color: #f2ece1 !important;
}

.sgt-callout-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f9b000;
  color: #0d2029;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sgt-callout--info .sgt-callout-icon {
  background: #8c997b;
  color: #0d2029;
}

/* ---- Mobile: stack nav above content ---- */
@media (max-width: 700px) {
  .sgt-guide {
    flex-direction: column;
    gap: 24px;
  }

  .sgt-nav {
    flex: 1 1 auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(242, 236, 225, 0.14);
    padding-right: 0;
    padding-bottom: 24px;
  }

  .sgt-panel-title {
    font-size: 24px !important;
  }
}
