/* ==================================================
    AMDigital - Catalogs
================================================== */

body {
  margin: 0;
  padding: 0;
  background: #181b1f;
  color: #fff;
  font-family: "Manrope",sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==================================================
    HERO
================================================== */

.catalog-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  background: #000;
  overflow: hidden;
}

.hero-books {
  max-width: 82%;
  float: right;
  margin-top: 40px;
  margin-right: 30px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient( 90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 100% );
  pointer-events: none;
}

.catalog-hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
}

.hero-category {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: .90rem;
  letter-spacing: .30em;
  text-transform: uppercase;
}

.hero-line {
  width: 78px;
  height: 2px;
  margin-bottom: 28px;
  background: #ff8c2b;
}

.hero-content h1 {
  margin: 0 0 24px;
  font-size: 4.3rem;
  font-weight: 300;
  line-height: .95;
}

.hero-content p {
  margin: 0;
  max-width: 520px;
  color: #cfcfcf;
  font-size: 1.08rem;
  line-height: 1.9;
}

/* ==================================================
    SECTION
================================================== */

.catalog-section {
  padding: 90px 0;
  background: #181b1f;
}

.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 300;
}

.section-line {
  width: 70px;
  height: 2px;
  margin: 18px auto 0;
  background: #ff8c2b;
}

/* ==================================================
    CARDS
================================================== */

.catalog-card {
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #181818;
  border: 1px solid rgba(255,255,255,.06);
  transition: .35s;
}

.catalog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,140,43,.40);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

.catalog-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform .45s;
}

.catalog-card:hover img {
  transform: scale(1.04);
}

.catalog-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px;
}

.catalog-info > div {
  flex: 1;
}

.catalog-info h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.catalog-info p {
  margin: 0;
  color: #b7b7b7;
  font-size: .95rem;
}

.catalog-arrow {
  margin-left: 20px;
  color: #ff8c2b;
  font-size: 1.45rem;
  transition: .30s;
}

.catalog-card:hover .catalog-arrow {
  transform: translateX(6px);
}

/* ==================================================
    TABLET
================================================== */

@media (max-width:991px) {
  .catalog-hero {
    min-height: 360px;
  }
}

@media (max-width:991px) {
  .hero-content h1 {
    font-size: 3.4rem;
  }
}

@media (max-width:991px) {
  .catalog-card img {
    height: 300px;
  }
}

/* ==================================================
    MOBILE
================================================== */

@media (max-width:767px) {
  .catalog-hero {
    min-height: 300px;
  }
}

@media (max-width:767px) {
  .hero-content {
    max-width: 100%;
  }
}

@media (max-width:767px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }
}

@media (max-width:767px) {
  .hero-content p {
    font-size: .95rem;
  }
}

@media (max-width:767px) {
  .catalog-section {
    padding: 60px 0;
  }
}

@media (max-width:767px) {
  .catalog-card img {
    height: 260px;
  }
}

@media (max-width:767px) {
  .catalog-info {
    padding: 18px;
  }
}

@media (max-width:767px) {
  .catalog-info h3 {
    font-size: 1.25rem;
  }
}

@media (max-width:767px) {
  .catalog-info p {
    font-size: .90rem;
  }
}

