
/* ========================================
   SINGULAR Single Page ~ Post HERO SECTION - Parallax com Overlay
======================================== */

body{ background-color: var(--bg-white);}

.hero-singular {
    background-size: cover;
    background-position: top center;
    background-attachment: scroll;
    position: relative;
    display: flex;
    align-items: center;
 padding-top: 5rem;
  padding-bottom: 4rem;
}

/* Overlay com gradiente - CORRIGIDO */
.hero-singular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 16, 45, 0.95) 15%, rgba(7, 16, 45, 0.80) 65%, rgba(7, 16, 45,0.35) 100%);
    z-index: 1;
}

/* Garantir que o conteúdo fique acima do overlay */
.hero-singular > .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(1.875rem, 5vw, 3.75rem);
    text-shadow: 3px 3px 12px rgba(0,0,0,0.5);
    line-height: 1.2;
}


.breadcrumb-hero span.current-item {
    font-weight: 600;
    color: #fff;
}
.breadcrumb-hero {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 0.4rem 0.8rem;
    margin-top: 75px;
    display: inline-block;
    font-size: 0.9rem;
}

.breadcrumb-hero a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.breadcrumb-hero a:hover {
    color: #fff;
}

.breadcrumb-hero span.current-item {
    font-weight: 600;
    color: #fff;
    margin-left: 10px;
}

.hero-meta-line {
  font-size: 0.98rem;
  line-height: 1.5;
}

.hero-meta-item {
  font-size: 0.98rem;
}

.hero-image-link {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 0;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-image-link:hover,
.hero-image-link:focus-visible {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-image-modal .modal-dialog {
  max-width: min(1100px, 94vw);
}

.hero-image-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}

.hero-image-modal-frame {
  max-height: 82vh;
}

.hero-image-modal-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .hero-meta-line {
    gap: 0.85rem 1rem;
  }

  .hero-image-link {
    margin-left: 0;
  }

  .hero-image-modal-frame {
    max-height: 70vh;
  }

  .hero-image-modal-img {
    max-height: 70vh;
  }
}

@media screen and (max-width: 768px) {


}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  font-size: 14px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 500;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #635551;
  content: "/";
}

/*--------------------------------------------------------------
# Singular Content Polish
--------------------------------------------------------------*/
 .singular-page .content-article {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.singular-page .article-title {
  letter-spacing: -0.5px;
}

.singular-page .article-meta {
  border-top: 1px dashed rgba(12, 28, 56, 0.15);
  border-bottom: 1px dashed rgba(12, 28, 56, 0.15);
  padding: 10px 0;
}

.singular-page .meta-link:hover {
  text-decoration: underline;
}

.singular-page .article-excerpt {
  background: linear-gradient(135deg, rgba(12, 28, 56, 0.05), rgba(12, 28, 56, 0.02));
  border: 1px solid rgba(12, 28, 56, 0.08);
}

.singular-page .social-proof {
  background: #fff8f0;
  border: 1px solid #ffd7b5;
}

.singular-page .article-body p {
  font-size: 1.2rem;
  line-height: 2;
}

.singular-page .article-body h2,
.singular-page .article-body h3,
.singular-page .article-body h4 {
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.singular-page .article-body img {
  border-radius: 12px;
  max-width: 100%;
}

.singular-page .article-body ul,
.singular-page .article-body ol {
  padding-left: 1.5rem;
}

.singular-page .article-body blockquote {
  background: #f6f8fb;
  border-left: 4px solid #0c1c38;
  padding: 18px 22px;
  border-radius: 12px;
}

.singular-page .tags-section .tag-link {
  border: 1px solid rgba(12, 28, 56, 0.12);
}



.singular-sidebar .widget-box {
  border: 1px solid rgba(12, 28, 56, 0.08);
}

.singular-sidebar .recent-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.singular-sidebar .widget-box {
  border: 0;
  box-shadow: 0 10px 30px rgba(12, 28, 56, 0.08);
}

.singular-sidebar .widget-box--accent {
  position: relative;
  overflow: hidden;
}

.singular-sidebar .widget-title-divider {
  display: block;
  width: 72px;
  height: 5px;
  margin: -0.35rem 0 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1f67c8 0%, #29a7ff 100%);
}

.singular-sidebar .widget-title-icon {
  color: #2d7fe4;
}

.singular-sidebar .recent-post-item:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.singular-sidebar .recent-post-item {
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border-radius: 10px;
}

.singular-sidebar .recent-post-item:hover {
  transform: translateX(4px);
  background-color: #f8fbff;
  border-color: #dce8fa !important;
}

.singular-sidebar .sidebar-categories-list li + li {
  margin-top: 0.45rem;
}

.singular-sidebar .sidebar-category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  padding: 0.52rem 0.65rem;
  border: 1px solid #e4e9f3;
  border-radius: 10px;
  color: #0f274d;
  transition: all 0.2s ease;
}

.singular-sidebar .sidebar-category-link:hover,
.singular-sidebar .sidebar-category-link.is-active {
  border-color: #bed5f6;
  background: #f4f9ff;
  color: #0a3470;
}

.singular-sidebar .sidebar-category-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.singular-sidebar .sidebar-category-count {
  min-width: 28px;
  height: 24px;
  padding: 0 0.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.73rem;
  font-weight: 700;
  background: #e9f2ff;
  color: #1f5fae;
}

.singular-sidebar .widget-box--contact {
  color: #f3f8ff;
  background: linear-gradient(145deg, #103a74 0%, #1f5fae 100%);
  border: 0 !important;
}

.singular-sidebar .widget-box--contact .widget-title,
.singular-sidebar .widget-box--contact p,
.singular-sidebar .widget-box--contact a {
  color: #f3f8ff;
}

.singular-sidebar .widget-box--contact .widget-title-icon {
  color: #9ed0ff;
}

.singular-sidebar .widget-box--contact a {
  text-decoration: none;
}

.singular-sidebar .widget-box--contact a:hover {
  color: #ffffff;
}

/* Related Posts (vertical list) */
.related-posts .related-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-posts .related-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(12, 28, 56, 0.12);
}

.related-posts .related-thumb {
  height: 160px;
  background: #f1f3f5;
}

.related-posts .related-title:hover {
  color: var(--cor-pri-3) !important;
}

/* Responsive embeds (YouTube/Vimeo) inside post content */
.singular-page .article-body .wp-block-embed,
.singular-page .article-body .wp-block-video,
.singular-page .article-body .wp-block-embed__wrapper,
.singular-page .article-body .wp-video {
  width: 100%;
  max-width: 100%;
}

.singular-page .article-body iframe[src*="youtube.com"],
.singular-page .article-body iframe[src*="youtu.be"],
.singular-page .article-body iframe[src*="vimeo.com"] {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 1.25rem auto;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 767.98px) {
  .related-posts .related-thumb {
    height: 200px;
  }
}

@media (max-width: 991.98px) {
  .singular-page .article-meta {
    padding: 8px 0;
  }
  .singular-sidebar {
    position: static;
  }
}
