.blog-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.blog-carousel__track {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: height .35s ease;
}

.blog-carousel__slides {
  display: flex;
  align-items: flex-start;
  transition: transform .5s ease;
}

.blog-carousel__slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
}

.blog-carousel__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.blog-carousel__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-carousel__video-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}
.blog-carousel__video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .85;
}
.blog-carousel__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 4px;
  transition: background .2s ease, transform .2s ease;
}
.blog-carousel__video-thumb:hover .blog-carousel__play-icon {
  background: rgba(0,0,0,.75);
  transform: translate(-50%, -50%) scale(1.06);
}

.blog-carousel__slide-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-carousel__slide-body h3 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
  color: #1f2430;
}

.blog-carousel__slide-body p {
  margin: 0;
  color: #555;
  font-size: .92rem;
  line-height: 1.5;
}

.blog-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 1px 6px rgba(0,0,0,.15);
}

.blog-carousel__nav--prev { left: -14px; }
.blog-carousel__nav--next { right: -14px; }

.blog-carousel__dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 1rem;
}

.blog-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8dbe2;
  border: none;
  cursor: pointer;
  padding: 0;
}

.blog-carousel__dot.is-active {
  background: #2f6fed;
}

.blog-carousel__empty,
.blog-carousel__error {
  text-align: center;
  color: #888;
  padding: 2rem 0;
}

.blog-carousel__readmore {
  display: inline-block;
  margin-top: .9rem;
  padding: 0;
  border: 0;
  background: none;
  color: #2f6fed;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.blog-carousel__readmore:hover { text-decoration: underline; }

/* ---- Modal de leitura completa do post ---- */

body.blog-modal-open { overflow: hidden; }

.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.blog-modal.is-open { display: block; }

.blog-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, .55);
}

.blog-modal__panel {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 64px);
  margin: 32px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  overflow-y: auto;
}

.blog-modal__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.06);
  color: #333;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.blog-modal__close:hover { background: rgba(0,0,0,.12); }

.blog-modal__body {
  padding: 8px 32px 40px;
}

.blog-modal__meta {
  color: #888;
  font-size: .85rem;
  margin: 0 0 .4rem;
  text-transform: capitalize;
}

.blog-modal__body h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  line-height: 1.3;
  color: #1f2430;
}

.blog-modal__content p {
  margin: 0 0 1rem;
  color: #444;
  font-size: .98rem;
  line-height: 1.7;
}

.blog-modal__content a {
  color: #2f6fed;
  word-break: break-word;
}

.blog-post__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 .6rem;
}
.blog-post__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
