/* ===================================
   Single Post Content Styles
   =================================== */

.parana-single-post-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* Breadcrumbs */
.parana-single-breadcrumbs {
  display: none;
}

.parana-single-breadcrumbs a {
  color: var(--color-text);
  text-decoration: none;
}

.parana-single-breadcrumbs a:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

.parana-breadcrumb-separator {
  margin: 0 8px;
  color: #ccc;
}

/* Header */
.parana-single-header {
  margin-bottom: 24px;
  text-align: left;
}

.parana-single-meta {
  font-size: 14px;
  color: var(--color-text-mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.parana-single-category {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.parana-single-date,
.parana-single-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.parana-single-title {
  font-family: var(--font-heading);
  font-size: 35px;
  font-weight: 400;
  color: var(--color-text);
  margin: 24px 0 8px 0;
  line-height: 1.3;
}

/* Featured Image */
.parana-single-featured-image {
  margin-bottom: 28px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.06);
  width: 100%;
  height: 400px;
  position: relative;
}

.parana-featured-bg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Single Post Gallery */
.parana-single-gallery {
  margin-bottom: 28px;
  position: relative;
}

.parana-single-gallery-viewport {
  overflow: hidden;
  border-radius: 14px;
}

.parana-single-gallery-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
  will-change: transform;
  touch-action: pan-y;
}

.parana-single-gallery-item {
  flex: 0 0 calc((100% - 48px) / 4);
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #f1f1f1;
}

.parana-single-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.parana-single-gallery-link {
  width: 100%;
  height: 100%;
  display: block;
  cursor: zoom-in;
}

.parana-single-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.parana-single-gallery-arrow i {
  font-size: 16px;
}

.parana-single-gallery-arrow:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.92);
  transform: translateY(-50%) scale(1.03);
}

.parana-single-gallery-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.parana-single-gallery-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.parana-single-gallery-prev {
  left: 12px;
}

.parana-single-gallery-next {
  right: 12px;
}

.parana-single-gallery-hint {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #3d3d3d;
}

.parana-single-gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.parana-single-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #c6c6c6;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.parana-single-gallery-dot.is-active {
  background: #111;
  transform: scale(1.2);
}

.parana-single-gallery.is-static .parana-single-gallery-arrow,
.parana-single-gallery.is-static .parana-single-gallery-dots {
  display: none;
}

.parana-single-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.parana-single-lightbox.is-open {
  display: flex;
}

.parana-single-lightbox-inner {
  position: relative;
  max-width: min(1220px, 100%);
  width: 100%;
  text-align: center;
}

.parana-single-lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 14px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.4);
}

.parana-single-lightbox-caption {
  margin: 10px 0 0;
  color: #fff;
  font-size: 14px;
}

.parana-single-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.parana-single-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .parana-single-gallery-item {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 767px) {
  .parana-single-gallery-item {
    flex: 0 0 100%;
  }

  .parana-single-gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .parana-single-lightbox-close {
    top: -8px;
    right: -8px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .parana-single-gallery-prev {
    left: 8px;
  }

  .parana-single-gallery-next {
    right: 8px;
  }
}

/* Content */
.parana-single-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 32px;
}

.parana-single-content p {
  margin-bottom: 18px;
}

.parana-single-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: #1a1a1a;
}

.parana-single-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: #1a1a1a;
}

.parana-single-content ul,
.parana-single-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.parana-single-content li {
  margin-bottom: 10px;
}

.parana-single-content blockquote {
  border-left: 4px solid #e74c3c;
  padding: 20px 30px;
  margin: 30px 0;
  background: #f9f9f9;
  font-style: italic;
  color: #555;
}

.parana-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Share Buttons */
.parana-share-section {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.parana-share-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.parana-share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.parana-share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.parana-share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: #fff;
}

.share-facebook {
  background-color: #1877f2;
}

.share-twitter {
  background-color: #000000;
}

.share-whatsapp {
  background-color: #25d366;
}

.share-linkedin {
  background-color: #0077b5;
}

.share-copy {
  background-color: #666;
  cursor: pointer;
}

/* Tags */
.parana-single-tags {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.parana-tag-label {
  font-weight: 700;
  color: #333;
  font-size: 14px;
}

.parana-tag-link {
  display: inline-block;
  padding: 6px 12px;
  background: #f0f0f0;
  color: #666;
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.2s;
}

.parana-tag-link:hover {
  background: #e74c3c;
  color: #fff;
}

/* Share Section */
.parana-single-share {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.parana-share-label {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  text-transform: uppercase;
}

.parana-share-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.parana-share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #e5e5e5;
  color: #333;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.2s ease;
}

.parana-share-icon:hover {
  background: var(--color-dark);
  color: #fff;
}

/* Products Section */
.parana-single-products {
  margin-top: 48px;
  padding-top: 40px;
}

.parana-products-title {
  font-size: 28px;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.parana-products-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: #000;
  margin: 0 0 32px 0;
}

.parana-single-products .products-carousel-wrapper {
  margin-top: 24px;
}

/* Carrossel: 4 produtos no desktop */
.parana-single-products .products-carousel-track .product-card {
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
}

/* Carrossel: 3 produtos no tablet */
@media (max-width: 1024px) {
  .parana-single-products .products-carousel-track .product-card {
    width: 260px;
    min-width: 260px;
  }
}

/* Carrossel: 1 produto no mobile */
@media (max-width: 767px) {
  .parana-single-products .products-carousel-track .product-card {
    width: 100%;
    min-width: 100%;
  }
}

/* Comments Section */
.parana-comments-wrapper {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.parana-comments-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-body {
  margin-bottom: 30px;
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 30px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.comment-author .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.comment-author .fn {
  font-weight: 700;
  font-style: normal;
  color: #333;
  margin-left: 10px;
}

.comment-metadata {
  font-size: 12px;
  color: #999;
}

.comment-metadata a {
  color: inherit;
  text-decoration: none;
}

.comment-content {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.reply {
  font-size: 12px;
}

.comment-reply-link {
  color: #e74c3c;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #e74c3c;
  padding: 4px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.comment-reply-link:hover {
  background: #e74c3c;
  color: #fff;
}

/* Comment Form */
.comment-respond {
  margin-top: 40px;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}

.comment-reply-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.comment-form {
  display: grid;
  gap: 20px;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 13px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.comment-form textarea {
  height: 150px;
  resize: vertical;
}

.form-submit .submit,
#submit.bricks-button {
  background: #ffb808;
  color: #000000;
  border: none;
  padding: 12px 30px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit .submit:hover,
#submit.bricks-button:hover {
  background: #e5a500;
  color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
  .parana-single-post-container {
    padding: 32px 16px;
  }

  .parana-single-featured-image {
    width: 100%;
    height: 280px;
  }

  .parana-single-title {
    font-size: 28px;
    font-weight: 600;
  }

  .parana-single-content {
    font-size: 16px;
  }

  .parana-single-share {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .parana-share-label {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .parana-single-featured-image {
    width: 100%;
    height: 200px;
  }

  .parana-single-title {
    font-size: 24px;
    font-weight: 600;
  }
}

/* seletor div do post single */
#brxe-xhpepf {
  width: 90% !important;
}
