/* Custom styles to move navigation to the right */

.greedy-nav {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

.greedy-nav .visible-links {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

.greedy-nav .visible-links li {
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

/* Keep the site title (Austin Pollok) on the left */
.greedy-nav .visible-links .masthead__menu-item--lg {
  margin-right: auto !important;
  flex-shrink: 0 !important;
  min-width: auto !important;
}

/* Move all other navigation items to the right */
.greedy-nav .visible-links .masthead__menu-item:not(.masthead__menu-item--lg) {
  margin-left: 0.8rem !important;
  flex-shrink: 0 !important;
}

/* Hide the hamburger button */
.greedy-nav button {
  display: none !important;
}

/* Force all navigation items to stay visible */
.greedy-nav .hidden-links {
  display: none !important;
}

/* Ensure all navigation items are always visible */
.greedy-nav .visible-links .masthead__menu-item {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Override any greedy navigation hiding */
.greedy-nav .visible-links .masthead__menu-item.hidden {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .greedy-nav {
    justify-content: space-between !important;
  }
  
  .greedy-nav .visible-links {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }
  
  .greedy-nav .visible-links .masthead__menu-item:not(.masthead__menu-item--lg) {
    margin-left: 0.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .greedy-nav .visible-links .masthead__menu-item--lg {
    font-size: 1rem !important;
  }
} 

/* Professional intro styles (USC accent) */
.intro {
  max-width: 720px;
  margin: 2rem 0;
}

.intro--accent {
  border-left: 3px solid #990000; /* USC cardinal */
  padding-left: 1rem;
}

.intro__text {
  color: #2c3e50;
  line-height: 1.65;
  margin: 0;
}

/* Typography and spacing utilities */
.lead { font-size: 1rem; }
.stack-sm > * + * { margin-top: 0.5rem; }
.stack-md > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }

/* Constrain main content width for readability when used explicitly */
.content-narrow { max-width: 720px; }

/* Ensure consistent spacing in author sidebar links (Follow area) */
.author__urls .social-icons li a { gap: 0.35rem; } 

/* Equal spacing for author sidebar items */
.author__urls.social-icons li { margin: 0.35rem 0; }
.author__urls.social-icons li.author__desktop { margin: 0.35rem 0; }

/* Header spacing: add a touch of space between name and tabs */
.greedy-nav .visible-links .masthead__menu-item--lg a { padding-right: 1rem; }
.greedy-nav .visible-links .masthead__menu-item:not(.masthead__menu-item--lg) a { padding-left: 0.6rem; }

/* Unify page title rhythm */
.page__title { font-size: 1.8rem; margin: 0 0 0.75rem 0; font-weight: 600; } 

/* Allow wrapping for long sidebar items (e.g., employer name) */
.author__urls li,
.author__urls li a {
  white-space: normal !important;
  line-height: 1.4;
  word-break: normal;
  overflow-wrap: anywhere;
} 