.modulo-encontre-sua-viagem, .modulo-mais-procurados{
    border-color: #35b4b6 !important;
    border-radius: 15px !important;
    padding: 15px !important;
}

#edocman-category-page-default{
  padding:revert-layer;
}

#edocman-documents .documents-container-blog .document-info {
    padding: 5px;
}

.pagination{
  margin: 30px auto 0px auto;
}

/* =========================================================
   CUSTOMIZAÇÕES EDOCMAN - TURISMO SEBRAE (UX/UI Otimizado)
   ========================================================= */

/* 1. Módulo: Categorias em Árvore (Encontre sua Viagem Ideal) */
.edocman-modern-tree { margin: 0; padding: 0; list-style: none; }
.edocman-modern-tree li { position: relative; }
.edocman-modern-tree > li > .tree-item-wrapper { display: flex; align-items: center; padding: 12px 16px; border-radius: 8px; background: #ffffff; border: 1px solid #e2e8f0; margin-bottom: 8px; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.edocman-modern-tree > li > .tree-item-wrapper:hover { background: #f8fafc; border-color: #cbd5e1; cursor: pointer; }
.edocman-modern-tree > li.jqtree-selected > .tree-item-wrapper { background: #f0f7ff; border-color: #0056b3; box-shadow: 0 2px 4px rgba(0, 86, 179, 0.1); }
.edocman-modern-tree > li.jqtree-selected > .tree-item-wrapper > .jqtree-title > a { font-weight: 700; color: #0056b3; }
.edocman-modern-tree ul.jqtree_common { margin-left: 24px; padding-left: 12px; border-left: 1px dashed #cbd5e1; list-style: none; margin-bottom: 8px; }
.edocman-modern-tree ul.jqtree_common > li > .tree-item-wrapper { display: flex; align-items: center; padding: 8px 12px; border-radius: 6px; background: transparent; border: none; transition: all 0.2s ease; position: relative; }
.edocman-modern-tree ul.jqtree_common > li > .tree-item-wrapper::before { content: ""; position: absolute; left: -12px; top: 50%; width: 10px; border-top: 1px dashed #cbd5e1; }
.edocman-modern-tree ul.jqtree_common > li > .tree-item-wrapper:hover { background: #f1f5f9; }
.edocman-modern-tree ul.jqtree_common > li.jqtree-selected > .tree-item-wrapper > .jqtree-title > a { font-weight: 700; color: #0056b3; }
.edocman-modern-tree .custom-toggler { cursor: pointer; padding: 6px; margin-right: 12px; color: #64748b; background: #f1f5f9; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; text-decoration: none; width: 32px; height: 32px; flex-shrink: 0; z-index: 2; position: relative; }
.edocman-modern-tree .custom-toggler:hover { background: #e2e8f0; color: #0f172a; }
.edocman-modern-tree .jqtree-icon { color: #0056b3; font-size: 1.2em; margin-right: 10px; flex-shrink: 0; }
.edocman-modern-tree li.jqtree-selected > .tree-item-wrapper > .jqtree-icon { color: #004494; }
.edocman-modern-tree a.category-link { text-decoration: none; color: #334155; flex-grow: 1; font-size: 14px; display: block; line-height: 1.4; word-break: break-word; z-index: 2; position: relative; }
.edocman-modern-tree > li > .tree-item-wrapper > .jqtree-title > a.category-link { font-size: 15px; } 
.edocman-modern-tree a.category-link:hover { color: #0056b3; text-decoration: underline; }

/* 2. Módulo: Os Mais Procurados */
.edocman-top-list { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }
.edocman-top-item { display: flex; align-items: center; padding: 12px 16px; border-radius: 8px; background: #ffffff; border: 1px solid #e2e8f0; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.edocman-top-item:hover { background: #f8fafc; border-color: #cbd5e1; cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.04); transform: translateY(-1px); }
.edocman-top-link { display: flex; align-items: center; width: 100%; text-decoration: none !important; color: inherit; }
.edocman-top-link:hover, .edocman-top-link:focus { text-decoration: none; }
.edocman-top-icon { font-size: 1.2em; color: #0056b3; margin-right: 12px; flex-shrink: 0; transition: color 0.2s ease; }
.edocman-top-title { font-size: 14px; font-weight: 600; color: #334155; line-height: 1.4; word-break: break-word; flex-grow: 1; transition: color 0.2s ease; }
.edocman-top-item:hover .edocman-top-title { color: #0056b3; }

/* 3. View: Listagem de Documentos (Blog Cards) */
.documents-container-blog .blog-document-card { text-align: left; display: flex; flex-direction: column; height: 100%; position: relative; border-radius: 8px; border: 3px solid #2d5990; }
.documents-container-blog .document-info { text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
.documents-container-blog .document-desc, .documents-container-blog .meta-info, .documents-container-blog .document-stats { text-align: left; justify-content: flex-start; }
.documents-container-blog .document-title { margin-top: 15px; font-size: 15px !important; font-weight: 600 !important; color: #334155; line-height: 1.3; }
.documents-container-blog .document-desc { flex-grow: 1; margin-top: 8px; }

/* REGRAS ATUALIZADAS: Ajuste de Altura e Remoção de Bordas no Thumbnail */
#edocman-documents .documents-container-blog .thumbnail { position: relative; overflow: hidden; height: auto !important; }
#edocman-documents .documents-container-blog .thumbnail.pdf { border: none !important; }

.documents-container-blog .blog-badges { position: absolute; top: 1px; right: 1px; z-index: 10; display: flex; flex-direction: row; gap: 2px; align-items: flex-start; }
.documents-container-blog .blog-badge { margin: 0; box-shadow: 0 1px 2px rgba(0,0,0,0.05); padding: 4px 8px; font-size: 11px; font-weight: 600; border-radius: 0 0 4px 4px; }
.documents-container-blog .blog-badge:last-child { border-top-right-radius: 8px; }
.documents-container-blog .blog-badge.new { background-color: #dcfce7; color: #166534; }
.documents-container-blog .blog-badge.featured { background-color: #e0e7ff; color: #3730a3; }
.documents-container-blog .blog-badge.hot { background-color: #ffedd5; color: #9a3412; }
.documents-container-blog .blog-badge.published { background-color: #f1f5f9; color: #475569; }
.documents-container-blog .primary-actions { display: flex; gap: 1px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #f1f5f9; }
.documents-container-blog .primary-actions a.btn { flex: 1; text-align: center; padding: 10px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: all 0.2s ease; white-space: nowrap; border: 1px solid transparent; box-shadow: none; text-shadow: none; background-image: none; }
.documents-container-blog .primary-actions a.download-btn { background-color: #35b4b6 !important; color: #ffffff !important; border-color: #35b4b6 !important; }
.documents-container-blog .primary-actions a.download-btn:hover { background-color: #3696aa !important; border-color: #3696aa !important; box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important; }
.documents-container-blog .primary-actions a.details-btn, .documents-container-blog .primary-actions a.view-btn { background-color: #2d5990 !important; color: #ffffff !important; border-color: #2d5990 !important; }
.documents-container-blog .primary-actions a.details-btn:hover, .documents-container-blog .primary-actions a.view-btn:hover { background-color: #2d5990ba !important; color: #cbd5e1 !important; }

/* 4. View: Detalhes do Documento (Single) */
.ecd-top-bar { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-family: inherit; flex-wrap: wrap; }
.ecd-back-btn { display: inline-flex; align-items: center; gap: 8px; color: #0f3d81; background: #f1f5f9; padding: 8px 18px; border-radius: 20px; font-weight: 600; text-decoration: none !important; font-size: 14px; transition: all 0.2s ease; }
.ecd-back-btn:hover { background: #e2e8f0; color: #002d7a; }
.ecd-top-category { color: #e53935; font-size: 14px; font-weight: 700; text-transform: uppercase; display: flex; align-items: center; gap: 8px; letter-spacing: 0.5px; }
.ecd-top-bar-divider { width: 1px; height: 24px; background-color: #cbd5e1; }
.edocman-custom-details { background: #ffffff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); padding: 30px; margin-bottom: 30px; display: block; font-family: inherit; }
.edocman-custom-details::after { content: ""; display: table; clear: both; }
.ecd-left { float: left; width: 170px; margin: 0 25px 15px 0; }
.ecd-image-box { width: 100%; height: auto; background-color: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; display: block; overflow: hidden; padding: 0; box-sizing: border-box; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.ecd-image-box img { width: 100%; height: auto; display: block; }
.ecd-right { display: block; }
.ecd-title { font-weight: 800; color: #0044b3; margin: 0 0 20px 0; line-height: 1.3; } 
.ecd-description { font-size: 16px; color: #475569; line-height: 1.6; margin-bottom: 30px; }
.ecd-action-bar { display: flex; align-items: center; justify-content: space-between; padding-top: 25px; border-top: 1px solid #e2e8f0; flex-wrap: wrap; gap: 20px; clear: both; margin-top: 20px; }
.ecd-socials { display: flex; align-items: center; gap: 10px; }
.ecd-socials span { font-size: 14px; color: #64748b; font-weight: 600; margin-right: 5px; }
.ecd-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #fff !important; text-decoration: none !important; transition: opacity 0.3s; font-size: 16px; }
.ecd-social-icon:hover { opacity: 0.8; }
.esi-facebook { background-color: #1877f2; }
.esi-twitter { background-color: #1da1f2; }
.esi-linkedin { background-color: #0a66c2; }
@media(max-width: 768px) {
    .edocman-custom-details { padding: 20px; }
    .ecd-left { float: none; width: 100%; max-width: 200px; margin: 0 auto 20px auto; }
    .ecd-image-box { aspect-ratio: auto; }
    .ecd-action-bar { flex-direction: column; align-items: flex-start; }
    .ecd-btn-download { width: 100%; justify-content: center; }
    .ecd-top-bar-divider { display: none; }
    .blog-document-card .blog-document-header .thumbnail img {max-width: none;}
}

/* 5. View: Documentos Relacionados (Grid na View Details) */
.rel-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .rel-grid { grid-template-columns: repeat(2, 1fr); } }
.rel-card { display: flex; flex-direction: column; position: relative; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.rel-card:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.1); }
.rel-badges { position: absolute; top: 0; right: 0; z-index: 10; display: flex; flex-direction: row; gap: 2px; }
.rel-badge { padding: 4px 8px; font-size: 11px; font-weight: 700; border-radius: 0 0 4px 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.rel-badge:last-child { border-top-right-radius: 8px; }
.rel-badge.new { background-color: #15803d; color: #ffffff; } 
.rel-badge.featured { background-color: #92400e; color: #ffffff; } 
.rel-content-wrap { display: flex; padding: 16px; flex-grow: 1; gap: 16px; }
.rel-image { flex: 0 0 110px; width: 110px; border-radius: 6px; border: 1px solid #b91c1c; overflow: hidden; aspect-ratio: 3/4; }
.rel-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rel-info { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.rel-title { font-size: 16px; font-weight: 700; color: #334155; margin: 0 0 12px 0; line-height: 1.3; }
.rel-desc { font-size: 13px; color: #475569; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rel-actions { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid #f1f5f9; background: #ffffff; border-radius: 0 0 8px 8px; }
.rel-btn { flex: 1; text-align: center; padding: 10px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: background 0.2s ease, color 0.2s ease; }
.rel-btn-primary { background: #0056b3; color: #ffffff !important; border: 1px solid #0056b3; }
.rel-btn-primary:hover { background: #004494; border-color: #004494; }
.rel-btn-secondary { background: #f8fafc; color: #475569 !important; border: 1px solid #e2e8f0; }
.rel-btn-secondary:hover { background: #cbd5e1; color: #0f172a !important; }
@media (max-width: 576px) {
    .rel-content-wrap { flex-direction: column; align-items: center; text-align: center; }
    .rel-actions { flex-direction: column; }
}

/* =========================================================
6. CUSTOMIZAÇÃO DE BOTÕES E MÓDULOS SOLICITADA
========================================================= */
.ecd-btn-bookmark { background-color: #35b4b6; color: #ffffff !important; padding: 12px 35px; border-radius: 6px; font-size: 16px; font-weight: bold; text-decoration: none !important; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; border: none; cursor: pointer; box-shadow: 0 4px 6px rgba(0, 86, 179, 0.15); }
.ecd-btn-bookmark:hover { background-color: #004494; color:#fff !important; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 86, 179, 0.2); }
.ecd-btn-bookmark.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none; }

.ecd-btn-download { background-color: #2d5990; color: #ffffff !important; padding: 12px 35px; border-radius: 6px; font-size: 16px; font-weight: bold; text-decoration: none !important; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; border: none; cursor: pointer; box-shadow: 0 4px 6px rgba(0, 86, 179, 0.15); }
.ecd-btn-download:hover { background-color: #004494; color:#fff !important; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 86, 179, 0.2); }
.ecd-btn-download.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none; }

.ecd-btn-copylink { background-color: #2d5990; color: #ffffff !important; padding: 12px 35px; border-radius: 6px; font-size: 16px; font-weight: bold; text-decoration: none !important; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; border: none; cursor: pointer; box-shadow: 0 4px 6px rgba(0, 86, 179, 0.15); }
.ecd-btn-copylink:hover { background-color: #2d5990; color:#fff !important; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 86, 179, 0.2); }
.ecd-btn-copylink.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none; }

.emr-btn-avaliar { background-color: #35b4b6 !important; color: #ffffff !important; padding: 12px 35px; border-radius: 6px; font-size: 16px; font-weight: bold; text-decoration: none !important; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; border: none; cursor: pointer; box-shadow: 0 4px 6px rgba(0, 86, 179, 0.15); }
.emr-btn-avaliar:hover { background-color: #004494 !important; color:#fff !important; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 86, 179, 0.2); }
.emr-btn-avaliar.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: none; }

.modulo-encontre-sua-viagem,
.modulo-mais-procurados {
border: 2px solid #35b4b6 !important;
border-radius: 6px !important;
padding: 12px 35px !important;
}