:root {
    --primary-color: #0066cc;
    --secondary-color: #004080;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --white-link-color: #ffffff;
    --abn-nav-color: #327fba;
    --abn-header-color: #235b8b;
    --redone-nav-color: #237598;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

.navbar {
    background-color: #327fba;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand a {
    color: var(--white-link-color);
    margin: 0 10px;
    text-decoration: none;
}

.navbar-brand a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
.hero {
    background-color: var(--abn-header-color);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 160px;
    object-fit: cover;
}

.card-body {
    text-align: center;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

footer {
    background-color: white;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid #eee;
}

.footer-links a {
    color: var(--primary-color);
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.svg-color {
  fill: white;
}

.icon-mask {
  width: 200px;
  height: 200px;
  background-color: white;
  mask: url('favicon.svg') no-repeat center/contain;
  -webkit-mask: url('favicon.svg') no-repeat center/contain;
}

.icon-mask-abn {
  width: 200px;
  height: 200px;
  background-color: white;
  mask: url('ABN_Emblema_Negativo.svg') no-repeat center/contain;
  -webkit-mask: url('ABN_Emblema_Negativo.svg') no-repeat center/contain;
}

.icon-mask-small {
  width: 30px;
  height: 30px;
  background-color: white;
  mask: url('favicon.svg') no-repeat center/contain;
  -webkit-mask: url('favicon.svg') no-repeat center/contain;
}

.redone-bg-color {
  background-color:  var(--redone-nav-color);
}
.abn-nav-color {
  background-color:  var(--abn-nav-color);
}
.abn-header-color {
  background-color:  var(--abn-header-color);
}

.btn-abn-color {
  background-color:  var(--abn-header-color);
  border-color: var(--abn-header-color);
}

.btn-abn-color:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.filter-section {
  transition: all 0.3s ease;
}

.filter-section .btn-group .btn {
  border-radius: 0.25rem;
  margin: 0 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .filter-section .d-flex {
    flex-direction: column;
    width: 100%;
  }
  
  .filter-section .btn-group {
    margin-bottom: 0.5rem;
    width: 100%;
  }
  
  .filter-section .btn {
    flex: 1;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@media print {
	body {
		margin: 0 !important;
	}
}

.main-container {
	--ckeditor5-preview-height: 700px;
	font-family: 'Lato';
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.ck-content {
	font-family: 'Lato';
	line-height: 1.6;
	word-break: break-word;
}

.editor-container__editor-wrapper {
	display: flex;
	width: fit-content;
}

.editor-container_document-editor {
	border: 1px solid var(--ck-color-base-border);
}

.editor-container_document-editor .editor-container__toolbar {
	display: flex;
	position: relative;
	box-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);
}

.editor-container_document-editor .editor-container__toolbar > .ck.ck-toolbar {
	flex-grow: 1;
	width: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
}

.editor-container_document-editor .editor-container__menu-bar > .ck.ck-menu-bar {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	border-top: 0;
	border-left: 0;
	border-right: 0;
}

.editor-container_document-editor .editor-container__editor-wrapper {
	max-height: var(--ckeditor5-preview-height);
	min-height: var(--ckeditor5-preview-height);
	overflow-y: scroll;
	background: var(--ck-color-base-foreground);
}

.editor-container_document-editor .editor-container__editor {
	margin-top: 28px;
	margin-bottom: 28px;
	height: 100%;
}

.editor-container_document-editor .editor-container__editor .ck.ck-editor__editable {
	box-sizing: border-box;
	min-width: calc(210mm + 2px);
	max-width: calc(210mm + 2px);
	min-height: 297mm;
	height: fit-content;
	padding: 20mm 12mm;
	border: 1px hsl(0, 0%, 82.7%) solid;
	background: hsl(0, 0%, 100%);
	box-shadow: 0 2px 3px hsla(0, 0%, 0%, 0.078);
	flex: 1 1 auto;
	margin-left: 72px;
	margin-right: 72px;
}

.editor_container__word-count .ck-word-count {
	color: var(--ck-color-text);
	display: flex;
	height: 20px;
	gap: var(--ck-spacing-small);
	justify-content: flex-end;
	font-size: var(--ck-font-size-base);
	line-height: var(--ck-line-height-base);
	font-family: var(--ck-font-face);
	padding: var(--ck-spacing-small) var(--ck-spacing-standard);
}

.editor-container_include-word-count.editor-container_document-editor .editor_container__word-count {
	border-top: 1px solid var(--ck-color-base-border);
}

.hero-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* centralizados */
  gap: 40px; /* espaço total; a linha ficará no centro visual */
  width: 100%;
  max-width: 470px;
  margin: 0 auto 1.5rem;
  padding: 0 10px;
  position: relative; /* para o pseudo-elemento */
}
.hero-logos::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 90%;
  background: rgba(255,255,255,0.9);
  border-radius: 1px;
  pointer-events: none;
}
/* Mantém ordens solicitadas anteriormente */
.hero-logos .icon-mask { order: 1; }
.hero-logos .icon-mask-abn { order: 2; }

/* Remover linha vertical em mobile e voltar a empilhar */
@media (max-width: 576px) {
  .hero-logos {
    flex-direction: column;
    gap: 16px;
  }
  .hero-logos::before {
    display: block; /* mostrar em móvel */
    width: 40%; /* ancho da linha horizontal */
    height: 2px; /* converter em linha horizontal */
  }
  .hero-logos .icon-mask,
  .hero-logos .icon-mask-abn {
    order: initial;
    width: 140px;
    height: 140px;
  }
}