/* 
 * Adrian Stöhr Latest Updates Widget Styles 
 */

.blogs-section {
  background: #050302;
  padding: 6rem 2rem;
  color: #f7eed7;
}

.blogs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.blogs-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blogs-title {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e2c179;
  margin-bottom: 1rem;
}

.blogs-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 150px;
}

.b-line {
  flex: 1;
  height: 1px;
  background: #b89661;
}

.b-diamond {
  width: 6px;
  height: 6px;
  background: #b89661;
  transform: rotate(45deg);
}

.blogs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.blog-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(226, 193, 121, 0.1);
}

.featured-blog {
  height: 480px;
}

.blog-side-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 480px;
}

.side-blog {
  flex: 1;
  height: 100%;
}

.blog-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(5, 3, 2, 0.95) 0%, rgba(5, 3, 2, 0.5) 40%, rgba(5, 3, 2, 0) 100%);
  transition: opacity 0.4s ease;
}

.blog-card:hover .blog-overlay {
  background: linear-gradient(to top, rgba(5, 3, 2, 0.95) 0%, rgba(5, 3, 2, 0.6) 50%, rgba(5, 3, 2, 0.1) 100%);
}

.blog-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.2rem;
  z-index: 2;
}

.side-blog .blog-content {
  padding: 1.5rem 2.2rem;
}

.blog-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #b89661;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.blog-post-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f7eed7;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.side-blog .blog-post-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.blog-card:hover .blog-post-title {
  color: #e2c179;
}

.blog-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d4cfc5;
  margin-bottom: 1.2rem;
}

.read-more {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #e2c179;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.rm-arrow {
  transition: transform 0.3s ease;
}

.blog-card:hover .rm-arrow {
  transform: translateX(5px);
}

.blogs-footer {
  margin-top: 4rem;
  text-align: center;
}

.view-all-btn {
  display: inline-block;
  padding: 1rem 3rem;
  border: 1px solid #e2c179;
  color: #e2c179;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: #e2c179;
  color: #110e0c;
}

@media (max-width: 900px) {
  .blogs-grid {
    grid-template-columns: 1fr;
  }
}
