/* css styles */
/*-- scss:defaults --*/
$primary: #003366;   /* Deep Navy - Trustworthy, Financial */
$secondary: #6c757d;
$link-color: #003366;
$navbar-bg: #ffffff;
$navbar-fg: #003366;

/*-- scss:rules --*/
.navbar {
  border-bottom: 1px solid #eaeaea;
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 80px; /* Merged from below */
}

.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
  
  h1 {
    font-weight: 700;
    color: $primary;
  }
}

.btn-primary {
  background-color: $primary;
  border-color: $primary;
}
/* Target the specific navbar link with href="#contact" */
/* Standard CSS version (No nesting) - Safer */
.navbar-nav .nav-link[href="#contact"] {
  background-color: #003366;       /* Hardcoded Navy Blue */
  color: white !important;
  border-radius: 5px;
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link[href="#contact"]:hover {
  background-color: #004488;       /* Lighter Blue */
  color: white !important;
}

/* Increase Navbar Logo Size */
.navbar-brand img {
  max-height: 40px; /* Default is usually 30px. Adjust this number as needed. */
  width: auto;      /* Keeps the aspect ratio correct */
}



.risx-feature {
  background-color: #f0f7ff; /* Very light blue highlight */
  border-left: 5px solid $primary !important;
}

.feature-card {
  transition: transform 0.2s;
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: $primary !important;
  }
}

/* Limit all content images to 80% width and center them */
#quarto-content img {
  max-width: 60%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Constrain the main text width */
#quarto-document-content {
  max-width: 750px; /* Adjust this value (e.g., 700px or 800px) */
  margin-left: auto;
  margin-right: auto;
}

/* Optional: Ensure images take full advantage of this new narrower width */
/* Since the column is now narrow, we might want images to be 100% of it, 
   rather than the 80% we set earlier. */
#quarto-content img {
  max-width: 100%; 
}

.text-icmr {
  color: #5D9CEC !important;
}
/* Color specific headers in the Feature Grid */
.risx-feature h3, 
.feature-card h4, 
.g-col-12 h3 {
  color: #51087E !important;
  
}

/* Color specific headers in the Login Grid */
.login-grid h4 {
  color: #51087E !important;
}

/* FORCE ALL METADATA (Labels and Values) TO BE INLINE */


/* Hide Author in the listing/grid view */
.quarto-listing-default .listing-author {
  display: none !important;
}

/* 1. The Main Wrapper: Puts Date Group next to Keyword Group */
.quarto-title-meta {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  column-gap: 2rem; /* Space between the Date section and Keyword section */
  row-gap: 0.5rem;
}

/* 2. The Individual Groups: Puts "Label" next to "Value" */
.quarto-title-meta > div {
  display: flex !important;
  flex-direction: row !important; /* <--- This forces Keywords to sit NEXT to the label */
  align-items: baseline !important;
}

/* Add a colon after the word 'Published' */
.quarto-title-meta-heading::after {
  content: ":";
}

/* 3. The Labels (e.g., "Published", "Keywords") */
.quarto-title-meta-heading {
  margin-top: 0 !important;
  margin-bottom: 0 !important; /* Removes the space underneath the label */
  margin-right: 8px !important; /* Adds space between label and the actual tags */
  white-space: nowrap;          /* Prevents label from breaking lines */
  font-weight: bold;
  color: #6c757d;
}

/* 4. The Values (e.g., "Jan 2024", "Tag1, Tag2") */
.quarto-title-meta-contents {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 1. Force the 'Keywords' container to lay out horizontally */
.keywords {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important; /* Aligns text cleanly */
  gap: 8px !important;             /* Space between the word "Keywords" and the tags */
}

/* 2. Fix the Title ("Keywords") */
.keywords .block-title {
  font-weight: bold;
  white-space: nowrap;
  color: #6c757d;     /* Optional: matches the 'Published' grey color */
  margin: 0 !important;
}

/* 3. OPTIONAL: Add a colon after "Keywords" if you want one */
.keywords .block-title::after {
  content: ":";
  margin-right: 0px;
}

/* 4. Fix the Paragraph (The actual tags) */
.keywords p {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

/* Hide the active (current) page from the breadcrumb trail */
/* This leaves only the parent folders, e.g., "Home > Insights" */
.breadcrumb-item:last-child,
.breadcrumb-item.active {
  display: none !important;
}



