.hero {
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
}

.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: brightness(0.7);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  width: 100%;
  padding: 2rem 1rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.3rem;
  font-family: "Libre Baskerville", serif;
  color: #f5f5f3;
}

@media (max-width: 700px) {
  .hero-wrapper {
    min-height: 180px;
  }
  .hero-img {
    height: 180px;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
.featured-categories-row {
  margin-top: 1.2rem;
}

.featured-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.featured-categories a {
  background: #f5f5f3;
  color: #b48a78;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.featured-categories a:hover {
  background: #b48a78;
  color: #fff;
}

.featured-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.98rem;
  color: #888;
  margin-bottom: 0.7rem;
  font-family: "Libre Baskerville", serif;
}

.featured-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.featured-author {
  font-weight: 600;
  color: #383838;
}

.featured-category {
  background: #f5f5f3;
  color: #b48a78;
  padding: 0.1rem 0.7rem;
  border-radius: 0.7rem;
  font-weight: 500;
}

.featured-readtime {
  color: #b48a78;
}

.featured-blog h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.featured-article {
  display: flex;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  align-items: stretch;
  min-height: 350px;
}

.featured-img {
  width: 45%;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem 0 0 0.5rem;
  min-height: 350px;
}

.featured-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.2rem 2.5rem;
}

.featured-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.featured-info h3 a {
  color: #383838;
  text-decoration: none;
}

.featured-date {
  font-size: 0.95rem;
  color: #b48a78;
}

.featured-desc {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.featured-link {
  color: #b48a78;
  text-decoration: underline;
  font-weight: bold;
  align-self: flex-start;
}

.latest-blogs h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.latest-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.latest-list li {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0.7rem 0.7rem 0.7rem 0.7rem;
}

.latest-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.latest-list h4 {
  font-size: 1.1rem;
  margin: 0 0 0.2rem 0;
}
.latest-list h4 a {
  color: #383838;
  text-decoration: none;
}

.latest-date {
  font-size: 0.9rem;
  color: #b48a78;
}

.col-3.latest-blogs {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-promotion {
  background: rgba(253, 253, 252, 0.9882352941);
  padding: 4rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.book-promotion-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding-right: 60px;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  pointer-events: none;
}
.slider-item.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.slider-item.slide-in {
  opacity: 1;
  transform: translateX(0);
}
.slider-item.slide-out {
  opacity: 0;
  transform: translateX(-20px);
}

.slider-item .book-promotion-content {
  margin: 0;
}

.book-text {
  padding-right: 2rem;
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.slider-item:not(.active) .book-text {
  opacity: 0;
  transform: translateY(15px);
}
.slider-item.active .book-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.book-image {
  position: relative;
  text-align: center;
  transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.slider-item:not(.active) .book-image {
  opacity: 0;
  transform: translateX(25px) scale(0.98);
}
.slider-item.active .book-image {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.5s;
}

.book-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.book-image:hover img {
  transform: translateY(-5px) scale(1.02);
}

.slider-dots {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 35px;
  background: rgba(180, 138, 120, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.slider-dot.active {
  background: #b48a78;
  border-color: rgba(180, 138, 120, 0.2);
  width: 12px;
  height: 18px;
  border-width: 4px;
  border-color: rgba(180, 138, 120, 0.4);
}
.slider-dot:hover {
  background: #b48a78;
  transform: scale(1.1);
}

.book-promotion h2 {
  font-size: 2.2rem;
  color: #383838;
  margin-bottom: 1rem;
  font-family: "Lobster Two", sans-serif;
  line-height: 1.2;
}

.book-promotion .book-subtitle {
  font-size: 1.1rem;
  color: #b48a78;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: "Lobster Two", sans-serif;
}

.book-promotion .book-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-family: "Libre Baskerville", serif;
}

.book-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #b48a78;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-family: "Libre Baskerville", serif;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.book-cta:hover {
  background: #a17a67;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(180, 138, 120, 0.3);
  color: #fff;
}

.book-promotion::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(180, 138, 120, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.book-promotion::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(180, 138, 120, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 968px) {
  .book-promotion-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .book-text {
    padding-right: 0;
    order: 2;
  }
  .book-image {
    order: 1;
  }
  .book-promotion h2 {
    font-size: 1.8rem;
  }
  .slider {
    padding-right: 0;
    padding-bottom: 60px;
  }
  .slider-dots {
    position: absolute;
    right: auto;
    left: 50%;
    top: auto;
    bottom: 20px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0.8rem;
  }
}
@media (max-width: 768px) {
  .book-promotion {
    padding: 3rem 0;
    margin: 2rem 0;
  }
  .book-promotion h2 {
    font-size: 1.6rem;
  }
  .book-promotion .book-subtitle {
    font-size: 1rem;
  }
  .book-promotion .book-description {
    font-size: 0.95rem;
  }
  .book-cta {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}
.page-blog-lobby .book-promotion {
  margin: 2rem 0 0;
}

.book-promotion-widget-small {
  padding: 0 2.5rem;
  margin: calc(3rem + 55px) auto 5rem;
  max-width: 800px;
  overflow: visible;
}
.book-promotion-widget-small .book-promotion-content {
  max-width: 500px;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}
.book-promotion-widget-small .book-text {
  padding-right: 1rem;
}
.book-promotion-widget-small h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.book-promotion-widget-small .book-subtitle {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.book-promotion-widget-small .book-description {
  display: none;
}
.book-promotion-widget-small .book-cta {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
}
.book-promotion-widget-small .book-image {
  position: relative;
  margin-right: -4rem;
  z-index: 5;
}
.book-promotion-widget-small .book-image img {
  max-width: 180px;
  transform: translateY(-35px) scale(1.2);
}
.book-promotion-widget-small::before, .book-promotion-widget-small::after {
  display: none;
}

@media (max-width: 968px) {
  .book-promotion-widget-small .book-promotion-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .book-promotion-widget-small .book-text {
    padding-right: 0;
    order: 2;
  }
  .book-promotion-widget-small .book-image {
    order: 1;
    margin-right: 0;
  }
  .book-promotion-widget-small .book-image img {
    transform: none;
    max-width: 160px;
  }
  .book-promotion-widget-small .book-image:hover img {
    transform: translateY(-5px) scale(1.02);
  }
}
.footer {
  background: #2c2c2c;
  color: #fff;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.footer h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: "Lobster Two", sans-serif;
}

.footer-subtitle {
  font-size: 1rem;
  color: #ccc;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: none;
}

.newsletter-form label {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.3rem;
  text-align: left;
  font-family: "Libre Baskerville", serif;
}

.newsletter-form input[type=text],
.newsletter-form input[type=email] {
  padding: 0.8rem 1rem;
  border: 1px solid #555;
  border-radius: 0.5rem;
  background: #3a3a3a;
  color: #fff;
  font-family: "Libre Baskerville", serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-form input[type=text]::placeholder,
.newsletter-form input[type=email]::placeholder {
  color: #999;
}
.newsletter-form input[type=text]:focus,
.newsletter-form input[type=email]:focus {
  border-color: #b48a78;
  box-shadow: 0 0 0 2px rgba(180, 138, 120, 0.2);
}

.newsletter-submit {
  padding: 0.9rem 2rem;
  background: #b48a78;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.newsletter-submit:hover {
  background: #a17a67;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(180, 138, 120, 0.3);
}
.newsletter-submit:active {
  transform: translateY(0);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #999;
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
  }
  .footer h2 {
    font-size: 1.5rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0.8rem;
  }
  .newsletter-form {
    gap: 0.8rem;
  }
  .newsletter-submit {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}
.featured-latest .row {
  align-items: stretch;
}
