/* ==========================================================================
   Single post (blog) - conteúdo Gutenberg
   ========================================================================== */

#page-single-post {
  position: relative;
  width: 100%;
  background: #fff;
  padding-bottom: 0;
  padding-top: 120px;
}

#page-single-post .container-narrow {
  max-width: 1000rem;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Garante que o breadcrumb não saia do layout (mesmo alinhamento do título) */
#page-single-post .container-narrow > .single-post-breadcrumb {
  margin-left: 0;
  margin-right: 0;
}


/* Breadcrumb (alinhado ao layout padrão do conteúdo) */
#page-single-post .single-post-breadcrumb {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 40rem;
  margin-left: 0;
  margin-right: 0;
  padding-top: 24rem;
  padding-left: 0;
  padding-right: 0;
  visibility: visible;
  box-sizing: border-box;
}

#page-single-post .single-post-breadcrumb a {
  color: #9900FF;
  text-decoration: none;
}

#page-single-post .single-post-breadcrumb a:hover {
  text-decoration: underline;
}

#page-single-post .breadcrumb-sep {
  margin: 0 8rem;
  color: #9ca3af;
}

#page-single-post .breadcrumb-current {
  color: #1d1434;
}

/* Header: título, intro, meta */
#page-single-post .single-post-header {
  margin-bottom: 0;
}

#page-single-post .single-post-title {
  color: #1d1434;
  font-size: 38rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 24rem;
}

@media (max-width: 1023px) {
  #page-single-post .single-post-title {
    font-size: 28rem;
  }
}

#page-single-post .single-post-intro {
  color: #6b7280;
  font-size: 18rem;
  line-height: 1.5;
  margin: 0 0 24rem;
}

#page-single-post .single-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16rem;
  padding: 24rem 0;
}

#page-single-post .meta-author {
  display: flex;
  align-items: center;
  gap: 12rem;
}

#page-single-post .author-avatar {
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  object-fit: cover;
}

#page-single-post .meta-text {
  font-size: 14rem;
  color: #6b7280;
}

#page-single-post .author-link {
  color: #9900FF;
  font-weight: 600;
  text-decoration: none;
}

#page-single-post .author-link:hover {
  text-decoration: underline;
}

#page-single-post .meta-date {
  display: block;
  margin-top: 2rem;
  color: #9ca3af;
  font-size: 13rem;
}

#page-single-post .meta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12rem;
}

#page-single-post .meta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8rem;
  padding: 10rem 18rem;
  border: 1px solid #e0e7ec;
  border-radius: 100px;
  background: #fff;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

#page-single-post .meta-btn:hover {
  border-color: #9900FF;
  color: #9900FF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#page-single-post .meta-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Toast de feedback (ações dos botões) */
.single-post-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  background: #1d1434;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.single-post-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Featured image */
#page-single-post .single-post-featured-image {
  margin: 40rem 0;
  overflow: hidden;
}

#page-single-post .single-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  border-radius: 8px;
}

/* Conteúdo Gutenberg */
#page-single-post .single-post-content {
  margin: 32rem 0 48rem;
  font-size: 16rem;
  line-height: 1.7;
  color: #1d1434;
}

#page-single-post .single-post-content p {
  margin: 0 0 24rem;
}

#page-single-post .single-post-content a {
  color: #9900FF;
  text-decoration: underline;
}

#page-single-post .single-post-content a:hover {
  text-decoration: none;
}

#page-single-post .single-post-content h2,
#page-single-post .single-post-content h3,
#page-single-post .single-post-content h4 {
  margin: 32rem 0 16rem;
  color: #1d1434;
  font-weight: 600;
}

#page-single-post .single-post-content h2 {
  font-size: 26rem;
}

#page-single-post .single-post-content h3 {
  font-size: 22rem;
}

#page-single-post .single-post-content ul,
#page-single-post .single-post-content ol {
  margin: 0 0 24rem;
  padding-left: 28rem;
  list-style-position: outside;
}

ul li, ol li {
    list-style-position: outside;
    list-style-type: disc;
}

#page-single-post .single-post-content ul {
  list-style-type: disc;
}

#page-single-post .single-post-content ol {
  list-style-type: decimal;
}

#page-single-post .single-post-content li {
  display: list-item;
  margin-bottom: 8rem;
  padding-left: 8rem;
  color: #1d1434;
}

#page-single-post .single-post-content blockquote {
  margin: 24rem 0;
  padding: 16rem 24rem;
  border-left: 4px solid #9900FF;
  background: #f9f5ff;
  font-style: italic;
  color: #1d1434;
}

#page-single-post .single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

#page-single-post .single-post-content .wp-block-image {
  margin: 24rem 0;
}

#page-single-post .single-post-content .alignwide {
  max-width: 100%;
}

#page-single-post .single-post-content .alignfull {
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Mais lidas (Figma: linha topo, lista vertical, card horizontal 1:1) */
#page-single-post .section-most-read {
  padding: 0 0 80rem;
  background: #fff;
  border-top: 1px solid #e0e7ec;
  max-width: 1000rem ;
  margin: 0 auto;
}

#page-single-post .section-most-read .container {
  max-width: 1000rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 48rem;
  box-sizing: border-box;
}

#page-single-post .section-most-read .most-read-title {
  display: flex;
  align-items: center;
  gap: 0;
  color: #333333;
  font-size: 28rem;
  font-weight: 400;
  margin: 0 0 40rem;
}

#page-single-post .section-most-read .most-read-icon {
  display: inline-block;
  width: 24rem;
  height: 24rem;
  max-width: 24px;
  max-height: 24px;
  margin-left: 32px;
  vertical-align: middle;
  object-fit: contain;
}

#page-single-post .most-read-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32rem;
}

#page-single-post .most-read-item {
  margin: 0;
  padding: 0;
}

#page-single-post .post-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
}

#page-single-post .post-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

#page-single-post .post-card-image {
  flex-shrink: 0;
  width: 288px;
  height: 174px;
  overflow: hidden;
  background: #e0e7ec;
  border-radius: 8px;
}

#page-single-post .post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page-single-post .post-card-body {
  flex: 1;
  min-width: 0;
  padding: 0 16rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8rem;
}

#page-single-post .post-card-tag {
  display: inline-block;
  padding: 6rem 12rem;
  background: #F6EBFF;
  color: #9900FF;
  font-size: 12rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
}

#page-single-post .post-card-title {
  color: #333333;
  font-size: 18rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

