@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600");

/* Custom for writing entries */
.writing-entry {
  margin: 2em 0;
  border-left: 4px solid #ccc;
  padding-left: 1em;
}

/* Custom for render gallery */
.render-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}

.render-gallery .render img {
  cursor: pointer;
  width: 200px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}
.render-gallery .render img:hover {
  transform: scale(1.05);
}

#news {
  color: #ffffff !important;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  
  
  p {
    font-size: 1em;
    line-height: 1.75em;
    border-top: 3px solid;
    border-image: linear-gradient(to right, #743ad5 0%, #d53a9d 100%);
    border-image-slice: 1;
    border-width: 3px;
    margin: 0;
    padding: 50px;
    counter-increment: section;
    position: relative;
    color: #ffffff;
    
    &:before {
      content: attr(data-date);
      position: absolute;
      top: 1em;
      left: -2em;
      border-radius: 50%;
      padding: 10px;
      width: 4em;
      height: 4em;
      background-color: #34435E;
      color: white;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      line-height: 1.25em;
      color: #ffffff;
      font-size: 1em;
    }
  }
  
  p:nth-child(odd) {
    border-right: 3px solid;
    padding-left: 0;
    
    &:before {
      left: 100%;
      margin-left: -40px;
    }
  }
  
  p:nth-child(even) {
    border-left: 3px solid;
    padding-right: 0;
    
    &:before {
      right: 100%;
      margin-right: -20px;
    }
  }
  
  p:first-child {
    border-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
  
  p:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
}

/* Contact inquiry type layout fix */
.inquiry-type {
  margin-bottom: 1.5em;
}

.inquiry-type label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5em;
}

.inquiry-type .toggle-btn {
  margin-right: 1em;
  padding: 0.5em 1.2em;
  font-size: 0.95em;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #eee;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.inquiry-type .toggle-btn:hover {
  background-color: #ddd;
}

.clickable-title {
  cursor: pointer;
  color: #fff;
  margin: 0.5em 0;
  transition: color 0.2s ease;
}

.clickable-title:hover {
  color: #d53a9d;
  text-decoration: underline;
}


}
