/* PD Showcases - front end
 *
 * Archive, category, date and search pages reuse the News markup, so most of
 * their styling comes from pd-functionality/style.css (.archive / .search rules).
 * These rules cover what that doesn't: the "View showcase" link and the single page.
 */

/* Archive
--------------------------------------------- */

/* News has tags on the left of the footer; showcases only have the button,
   so keep it on the right where News puts it. */
.pdsc-archive .post-footer {
  justify-content: flex-end;
}

/* News shows date • categories; showcases show categories • date, so the
   gap News puts after the date goes after the categories here. */
.pdsc-archive .post-categories {
  margin-right: 5px;
}

/* Matches the News "Read More" button (pd-functionality .read-more-btn + button styles) */
.pdsc-button {
  display: inline-block;
  background-color: #27a0c5;
  border-radius: 6px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease-in-out;
}

.pdsc-button:hover,
.pdsc-button:focus {
  background-color: #0c95b4;
  color: #333;
}

.pdsc-no-results {
  font-size: 16px;
}

/* Single
--------------------------------------------- */

/* Same side padding as the News pages (full-width pages have none) */
.single-showcase .content {
  padding: 0 5%;
}

.single-showcase .entry {
  margin-bottom: 0;
}

.single-showcase .pdsc-intro {
  margin-bottom: 30px;
}

/* Same rounded corners as the intro card */
.single-showcase .pd-interactive__frame {
  border-radius: 6px;
}

/* Matches the News card (pd-functionality .single-post .post) and its breakpoint */
@media only screen and (min-width: 769px) {
  .single-showcase .content {
    padding: 0 60px;
  }

  .single-showcase .pdsc-intro {
    background-color: #222;
    padding: 27px 30px 13px;
    border-radius: 6px;
  }
}

.pdsc-back-top {
  margin-bottom: 15px;
  font-size: 16px;
}

.pdsc-back-top a {
  text-decoration: none;
}

.single-showcase .entry-title {
  font-size: 34px;
  margin-bottom: 10px;
}

.single-showcase .post-categories {
  color: #888;
  font-size: 16px;
}

.single-showcase .post-separator {
  margin: 0 5px;
}

.single-showcase .post-date {
  font-weight: bold;
  color: #555;
  font-size: 16px;
}

.single-showcase .pdsc-description {
  font-size: 18px;
  line-height: 1.5;
  max-width: 900px;
}

.single-showcase .pd-interactive {
  margin-bottom: 30px;
}

.pdsc-back-bottom {
  text-align: center;
  margin-bottom: 60px;
}
