/**
 * Specimen Detail Page Styles (fiche.css)
 *
 * Styles specific to the specimen detail page.
 * Based on legacy herbier-prod styles for visual parity.
 */

/* Field column styling */
.colFiche {
    padding: 0;
    margin: 0;
}

/* Specimen field list */
.herbier_fiche_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.herbier_fiche_list li {
    padding: 3px 0;
    border-bottom: 1px solid #f5f5f5;
}

.herbier_fiche_list .row {
    flex-wrap: wrap;
}

.herbier_fiche_list span,
.herbier_fiche_list a {
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.herbier_fiche_list li:last-child {
    border-bottom: none;
}

.herbier_fiche_list label {
    color: #555;
    font-size: 13px;
}

.herbier_fiche_list div {
    display: inline-block;
    color: #555;
    font-size: 13px;
}

.herbier_fiche_list span {
    color: #333;
    font-weight: 600;   
}

/* Scientific names styling (italicized genus/species per AC2) */
.herbier_fiche_list span em {
    font-style: italic;
}

.specimen_title {
    color: #333;
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
.specimen_notes {
    margin: 20px 10px
}


/* Other determinations table */
.autres_det {
    margin-top: 15px;
    margin-bottom: 15px;
}

.autres_det table {
    font-size: 13px;
}

.autres_det label {
    font-weight: 600;
    color: #555;
}

/* Thumbnail styling for secondary photos */
.thumbnail {
    display: block;
    padding: 4px;
    margin-bottom: 15px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border .2s ease-in-out;
}

.thumbnail:hover {
    border-color: #570655;
}

.thumbnail img {
    max-width: 100%;
    height: auto;
}

/* Link styling for publication links */
.herbier_fiche_list a {
    color: #570655;
    word-break: break-all;
}

.herbier_fiche_list a:hover {
    color: #333;
    text-decoration: underline;
}

/* Internal comment/notes section */
.commentaire {
    margin-top: 15px;
    margin-bottom: 15px;
}

.commentaire label {
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.comment_base_herbier_container {
    padding: 3px 0;
  border-top: 1px solid #f5f5f5;
  font-weight: 600;
    /*
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px 15px;
    margin-top: 5px;
    font-size: 13px;
    color: #333;
    line-height: 1.5;*/
}

.btn-link:hover {
  border-bottom: 1px solid var(--bs-btn-hover-color);
  border-radius: 0%;
}

/* Responsive adjustments for smaller screens */
@media (min-width:400px) {
  .container,
  .container-sm {
    max-width:360px
  }
   .herbier_fiche_list div {
    width:170px;
    } 
}
@media (min-width:576px) {
  .container,
  .container-sm {
    max-width:500px
  }
   .herbier_fiche_list div {
    width:170px;
    } 
}
@media (min-width:768px) {
  .container,
  .container-md,
  .container-sm {
    max-width:96%;
  }
  .herbier_fiche_list div {
    width:170px;
    }
}
@media (min-width:992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width:96%;
  }
}
@media (min-width:1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width:1140px
  }
}
  