/* =====================================
Template Name: 	AboutMoney.
Author Name: Cassiosir
Website: http://wpthemesgrid.com/
Description: HTML Template.
Version:	1.1
========================================*/

body {
  font-family: 'Roboto Slab', serif;
  background-color: #ffffff;
  color: #111;
  line-height: 1.7;
  overflow-x: hidden;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
span {
  color: #111;
}

a:hover {
  text-decoration: none;
}

ul {
  list-style: none;
  text-align: left;
}

.logo img {
  width: 150px;
  object-fit: contain;
}

.navbar-brand {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  font-weight: bold;
  color: #111;
}

.navbar-nav .nav-link {
  font-size: 1rem;
  color: #333;
  margin-left: 20px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #111;
}

.hero {
  background: linear-gradient(to right, #fafafa, #f5f5f5);
  text-align: left;
  padding: 20px;
}

.hero h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
}

.card-img-top img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}


.cards .card {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: none;
  transition: box-shadow 0.3s ease-in-out;
}

.cards .card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: scale(1.1);
  transition: 0.5s ease-in-out;
}

.ultimas-postagens .item.card {
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 15px;
  transition: box-shadow 0.3s ease-in-out;
}

.ultimas-postagens .item.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.newsletter {
  background: #f5f5f5;
  height: 100%;
  padding: 30px;
}

.newsletter input[type="email"] {
  width: 100%;
  max-width: 400px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.newsletter button {
  padding: 12px 25px;
  border-radius: 6px;
  background-color: #000;
  color: #fff;
  border: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.newsletter button:hover {
  background-color: #222;
}

footer {
  background-color: #f9f9f9;
  text-align: center;
  padding: 40px 15px;
  margin-top: 60px;
  border-top: 1px solid #eee;
}

footer h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.owl-nav {
  justify-content: space-between;
  display: flex;
  padding: 30px 0;
  opacity: .5;
}

.owl-nav:hover {
  transition: 0.5s ease-in-out;
  opacity: 1;
}

.social {
  list-style: none;
  display: flex;
  justify-content: space-around;
}

@media (max-width: 767px) {
  .hero {
    text-align: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .cards .card,
  .ultimas-postagens .item.card {
    margin-bottom: 20px;
  }
}

.card-interno {
  position: relative;
  z-index: 1;

}

.card-out,
.bg-category {
  position: absolute;
  width: 100%;
  padding: 20px;
  z-index: 0;
  opacity: .1;
  right: -50%;
}

.bg-category {
  left: -20%;
  opacity: .3;
  top: 10%;
}

.bg-category img {
  width: 70%;
  object-fit: contain;
}

.card-out img {
  width: 100%;
  height: 100%;
}

.card:hover .card-out {
  opacity: .4;
  right: 0;
  transition: 0.5s ease-in-out;
}

.pagination {
  justify-content: center;
}

.pagination span,
.pagination a {
  padding: 8px;
  border: 1px solid #ddd;
}

.pagination span {
  font-weight: bold;
}

.el-item {
  list-style: none;
  background: #d3d1c5;
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: bold;
}

.btn-custom {
  background: #d3d1c5;
}

.btn-custom:hover {
  background: #88867e;
  color: #fff;
}

.btn-primary {
  border: none !important;
}

.thumb img {
  width: 100%;
  border-radius: 10px;
  height: 450px;
  object-fit: cover;
}

@media(min-width: 662px) {
  .social-share {
    display: flex;
  }
}

.social-share a {
  box-shadow: 0px 0px 5px #ddd;
  padding: 5px;
  border-radius: 10px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.main-sidebar {
  box-shadow: 0px 0px 5px #ddd;
  padding: 20px;
  border-radius: 10px;
}

.single-post {
  display: flex;
  margin-bottom: 30px;
}

.single-post .image img {
  border-radius: 10px;
  margin-right: 10px;
  object-fit: cover;
  width: 80px;
  height: 80px;
}

.card-body {
  padding: 1.25rem 0 !important;
}