/* =========================================================
   Página de álbuns
   Somente estilos não fornecidos pelo Bootstrap 3.3.7
   ========================================================= */

.photo-albums {
  padding-bottom: 40px;
}

/* Título
   --------------------------------------------------------- */

.album-page-header {
  margin-bottom: 25px;
}

.album-page-header h1 {
  margin-top: 0;
  font-weight: 300;
}

/* Destaque
   --------------------------------------------------------- */

.featured-album {
  margin-bottom: 30px;
  background-color: #f5f5f5;
}

.featured-album__link,
.featured-album__link:hover,
.featured-album__link:focus {
  color: inherit;
  text-decoration: none;
}

.featured-album__image-wrapper {
  overflow: hidden;
}

#content-core .featured-album__image {
  box-sizing: border-box;
  width: 100%;
  height: 280px;
  padding: 20px;
  object-fit: cover;
}

.featured-album__content {
  position: relative;

  display: flex;
  min-height: 280px;

  align-items: center;
  justify-content: flex-end;

  padding: 45px 35px;
}

.featured-album__title {
  margin: 0;

  color: #777;
  font-size: 58px;
  font-weight: 300;
  line-height: 1.1;

  text-align: right;
}

.featured-album__icons {
  position: absolute;

  top: 15px;
  right: 32px;

  display: flex;

  align-items: center;
  gap: 5px;
}

.featured-album__flickr,
.featured-album__external {
  display: block;
  flex: none;
}

.featured-album__flickr {
  width: 32px;
  height: 24px;
}

.featured-album__external {
  width: 23px;
  height: 16px;
}

/* Grade
   --------------------------------------------------------- */

.album-grid > .row {
  margin-right: -6px;
  margin-left: -6px;
}

.album-grid .album-grid__item {
  margin-bottom: 12px;
  padding-right: 6px;
  padding-left: 6px;
}

/* Card
   --------------------------------------------------------- */

.album-card {
  margin: 0;
}

.album-card__link {
  position: relative;

  display: block;
  overflow: hidden;

  height: 205px;

  color: #fff;
  background-color: #ddd;
}

.album-card__link:hover,
.album-card__link:focus {
  color: #fff;
  text-decoration: none;
}

#content-core .album-card__link .album-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-card__overlay {
  position: absolute;

  right: 0;
  bottom: 0;

  width: 106px;
  height: 43px;

  background: linear-gradient(
    to top left,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0) 100%
  );
}

.album-card__year {
  position: absolute;

  right: 5px;
  bottom: 0px;

  margin: 0;

  color: #fff;
  font-size: 43px;
  font-weight: 300;
  line-height: 1;

  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.album-card__external {
  position: absolute;

  top: 2px;
  right: 2px;

  display: block;
  width: 23px;
  height: 16px;

  filter: invert(1);
}

/* Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {
  #content-core .featured-album__image {
    height: 230px;
  }

  .featured-album__content {
    min-height: auto;

    justify-content: flex-start;

    padding: 45px 20px 25px;
  }

  .featured-album__title {
    font-size: 40px;
    text-align: left;
  }

  .album-card__link {
    height: 240px;
  }
}
