/* new stuff for grid */
/* to use a grid layout for classifier/search results, set
<gsf:option name="resultsLayout" value="grid"/> in the top level format
element of the collectionConfig.xml.
Note, this is currently only implemented for querying, and is a very basic 
start for this */

.resultsList  {

}
.resultItem {
  display: grid;
  /* 
    Column 1: 40px (First Icon)
    Column 2: 40px (Second Icon)
    Column 3: 1fr  (Main Text Area - takes up all remaining room)
  */
  grid-template-columns: 30px 30px 1fr;
  column-gap: 2px;
  align-items: start; /* Aligns icons to the top so they match the title line */
  
  padding: 2px;
  border: none; /*1px solid #e2e8f0;*/
  border-radius: 8px;
}


.documentFavouriteIcon {
    grid-column:1;
    grid-row:1;
    vertical-align: top;

}
.documentSourceIcon {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: top;
    
}

.documentContainer {
    grid-column: 3;
    grid-row: 1;
    vertical-align: top;
}

.documentIcon {
}
/* Structural elements inside the Main Content Area */
.documentTitle {
    margin: 0;
    font-size: 1.1rem;
    /*line-height: 24px; /* Keeps line height predictable for icon alignment */
}

.documentExtra {
    padding-left: 5px;
    font-size: 0.9rem;
}
.documentSnippets {
  grid-column: 3;
  grid-row: 2;
  margin: 8px 0 0 0; /* Creates clean spatial separation below the title */
/*  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;*/
}

/* Layout rules for the list itself */
.snippetList {
  margin: 0;
  padding-left: 20px; /* Indents the bullets slightly from the title text line */
  list-style-type: none;
}

.snippetList li {
  font-size: 0.7rem;
}


.snippetText{
    background-color: yellow;
    font-style:italic;
}
