/* Views (Growth Stories, News) */

.view-block .views-element-container{
  width: 100%;
}

.view-search{
  padding-top:1rem;
}

.view-block .views-field-field-image{
  padding-bottom: 1rem;
}

.view-block .views-field-title h4,
.view-block .views-field-title h2,
.view-block .views-field-title h3,
.view-growth-stories-small .views-field-title h4,
.view-growth-stories-small .views-field-title h2,
.view-growth-stories-small .views-field-title h3,
.view-news-small .views-field-title h4,
.view-news-small .views-field-title h2,
.view-news-small .views-field-title h3,
.view-news-small-french .views-field-title h4,
.view-news-small-french .views-field-title h3,
.view-news-small-french .views-field-title h2
{
  font-size: 21px !important;
  letter-spacing: 2px;
  line-height: normal;
  margin: 10px 0;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
}

.view-block .view-content,
.view-news-small .view-content,
.view-growth-stories-small .view-content,
.view-news-small-french .view-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  color: #707070 !important;
}

.view-block .views-row {
  position: relative;
}
.view-block .views-field-created {
  margin-bottom: 10px;
  font-size: 12px;
}

.view-block .views-field-title h2:hover,
.view-block .views-field-title h3:hover,
.view-block .views-field-title h4:hover {
  color: black !important;
}

.views-row {
  width: 30%;
  margin: 25px 0;
}

.views-row .views-field .field-content img.image-style-large{
  max-height: 202px;
  object-fit: cover;
}

.view-block .views-field-body {
  margin-bottom: 30px;
}
.view-block .views-field-body,
.view-block .views-field-body h3,
.view-block .views-field-body h2 {
  font-weight: 500 !important;
  font-size: 15px !important;
  font-family: "Montserrat", sans-serif;
  letter-spacing: normal;
  line-height: normal;
}

.view-block .views-field-view-node {
  position: absolute;
  bottom: 0;
  font-size: 13px !important;
  display: flex;
  align-items: center;
}

.view-block .views-field-view-node a::after {
  padding-left: 5px;
  content: ">";
}

/* View Search */
.view-block .js-form-item-combine input {
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #b9975b;
  margin-right: 10px;
  background-image: url(/themes/custom/esj/images/magnifying-glass-solid.svg);
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: 97% 50%;
}

.view-block .js-form-item-combine input:focus{
    outline: none;
}

.view-block #edit-submit-articles--2,
.view-block #edit-submit-news--2{
    padding: 10px 15px;
    background-color: #b9975b;
    color: white;
}

.view-block #edit-submit-articles--2:hover{
    background-color: #72541f;
}

.view-block .form--inline{
  display: flex;
  align-items: center;
}

.view-news .views-field-body .field-content p strong {
  font-weight: 500 !important;
}

@media  (max-width: 500px) {
  .view-block .form--inline{
    display: block;
    margin-top: 2rem;
  }
  .view-block .form-text{
    width: 100%;
  }
}

.view-block .form--inline .form-item,
.view-block .form-actions{
  margin: 0;
}

/* Articles */

.article a {
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}

.article a:hover {
  color: #cf2e2e;
}

.article em {
  font-size: smaller;
  color: rgb(112, 112, 112);
  font-weight: 300;
}

.article tr{
  display: flex;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .article tr{
    display: flex;
    flex-direction: column;
  }
  .article tr td img{
    width: 100%;
  }
}

.article table{
  margin-bottom: 1rem;
}

.article table td p {
  margin-bottom: 1rem;
}

.article table tbody tr td.text-align-center,
.article p.text-align-center {
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.article tr td img{
  min-width: 350px;
}

@media screen and (max-width: 1024px) {
  .view-block .views-row,
  .view-news-small .views-row,
  .view-growth-stories-small .views-row {
    width: 100%;
  }
  .views-row {
    margin: 0;
  }
}
